Skip to content

Commit 7fff33e

Browse files
committed
Make generated netbox-client-ruby.gem file smaller
Actually we don't need all these (other) files to run the gem in a Docker image
1 parent df672d6 commit 7fff33e

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

netbox-client-ruby.gemspec

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ Gem::Specification.new do |spec|
2121
spec.metadata['bug_tracker_uri'] = 'https://github.com/ninech/netbox-client-ruby/issues'
2222
end
2323

24-
spec.files = `git ls-files -z`.split("\x0").reject do |f|
25-
f.match(%r{^(test|spec|features)/})
26-
end
24+
spec.files = Dir['README.md', 'LICENSE.txt', 'VERSION', 'lib/**/*.rb']
2725

2826
spec.required_ruby_version = '>= 2.7.0'
2927

0 commit comments

Comments
 (0)