File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,8 @@ Gem::Specification.new do |spec|
25
25
26
26
spec . metadata [ 'rubygems_mfa_required' ] = 'true'
27
27
28
- # Specify which files should be added to the gem when it is released.
29
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
30
- spec . files = Dir . chdir ( File . expand_path ( __dir__ ) ) do
31
- `git ls-files -z` . split ( "\x0 " ) . reject { |f | f . match ( %r{^(test|spec|features|docs)/} ) }
32
- end
33
- spec . bindir = 'exe'
34
- spec . executables = spec . files . grep ( %r{^exe/} ) { |f | File . basename ( f ) }
28
+ # Use Dir.glob to list all files within the lib directory
29
+ spec . files = Dir . glob ( 'lib/**/*' ) + [ 'README.md' , 'LICENSE' ]
35
30
spec . require_paths = [ 'lib' ]
36
31
37
32
# Runtime dependencies
You can’t perform that action at this time.
0 commit comments