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|
2525
2626 spec . metadata [ 'rubygems_mfa_required' ] = 'true'
2727
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' ]
3530 spec . require_paths = [ 'lib' ]
3631
3732 # Runtime dependencies
You can’t perform that action at this time.
0 commit comments