File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,14 @@ Gem::Specification.new do |spec|
1717 'for reading zip files compressed with bzip2 compression'
1818 spec . homepage = 'http://github.com/rubyzip/rubyzip-bzip2'
1919 spec . license = 'BSD 2-Clause'
20+ spec . require_paths = [ 'lib' ]
2021
2122 spec . required_ruby_version = '>= 2.4'
2223
24+ spec . files = `git ls-files -z` . split ( "\x0 " ) . reject do |f |
25+ f . match ( %r{^(test|spec|features)/} )
26+ end
27+
2328 spec . metadata = {
2429 'bug_tracker_uri' => 'https://github.com/rubyzip/rubyzip-bzip2/issues' ,
2530 'changelog_uri' => "https://github.com/rubyzip/rubyzip-bzip2/blob/v#{ spec . version } /Changelog.md" ,
@@ -29,8 +34,6 @@ Gem::Specification.new do |spec|
2934 'rubygems_mfa_required' => 'true'
3035 }
3136
32- spec . files = Dir . glob ( '{lib}/**/*.rb' ) + %w[ README.md LICENSE ]
33-
3437 spec . add_dependency 'ffi' , '~> 1.0'
3538 spec . add_dependency 'rubyzip' , '~> 2.4' , '< 3.0'
3639
You can’t perform that action at this time.
0 commit comments