Skip to content

Commit

Permalink
Refactor gemspec files to include just the necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
ericproulx committed Oct 22, 2023
1 parent a56b56a commit c7ba342
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions grape-swagger.gemspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# frozen_string_literal: true

$LOAD_PATH.push File.expand_path('lib', __dir__)
require 'grape-swagger/version'
require 'lib/grape-swagger/version'

Gem::Specification.new do |s|
s.name = 'grape-swagger'
Expand All @@ -18,6 +17,6 @@ Gem::Specification.new do |s|
s.required_ruby_version = '>= 2.7'
s.add_runtime_dependency 'grape', '~> 1.3'

s.files = `git ls-files`.split("\n")
s.files = Dir['lib/**/*', 'CHANGELOG.md', 'CONTRIBUTING.md', 'README.md', 'RELEASING.md', 'UPGRADING.md', 'LICENSE.txt', 'grape-swagger.gemspec']
s.require_paths = ['lib']
end

0 comments on commit c7ba342

Please sign in to comment.