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|
17
17
'for reading zip files compressed with bzip2 compression'
18
18
spec . homepage = 'http://github.com/rubyzip/rubyzip-bzip2'
19
19
spec . license = 'BSD 2-Clause'
20
+ spec . require_paths = [ 'lib' ]
20
21
21
22
spec . required_ruby_version = '>= 2.4'
22
23
24
+ spec . files = `git ls-files -z` . split ( "\x0 " ) . reject do |f |
25
+ f . match ( %r{^(test|spec|features)/} )
26
+ end
27
+
23
28
spec . metadata = {
24
29
'bug_tracker_uri' => 'https://github.com/rubyzip/rubyzip-bzip2/issues' ,
25
30
'changelog_uri' => "https://github.com/rubyzip/rubyzip-bzip2/blob/v#{ spec . version } /Changelog.md" ,
@@ -29,8 +34,6 @@ Gem::Specification.new do |spec|
29
34
'rubygems_mfa_required' => 'true'
30
35
}
31
36
32
- spec . files = Dir . glob ( '{lib}/**/*.rb' ) + %w[ README.md LICENSE ]
33
-
34
37
spec . add_dependency 'ffi' , '~> 1.0'
35
38
spec . add_dependency 'rubyzip' , '~> 2.4' , '< 3.0'
36
39
You can’t perform that action at this time.
0 commit comments