Skip to content

Commit

Permalink
🧹 Exclude specs and bin/rails from gem files
Browse files Browse the repository at this point in the history
There's no need to include the spec files in the gemfile list.  And
including `bin/rails` can wreck havoc on the downstream application.

Related to:

- samvera/hyrax#6146
  • Loading branch information
jeremyf committed Dec 19, 2023
1 parent 4bc4af3 commit 66a9405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hyrax-iiif_av.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Gem::Specification.new do |s|
s.license = 'Apache-2.0'

s.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
f.match(%r{^(test|spec|features)/}) || f == 'bin/rails'
end

s.add_dependency "rails", ">= 5.1", "< 8.0"
Expand Down

0 comments on commit 66a9405

Please sign in to comment.