Skip to content

Commit 3e816c7

Browse files
n-rodriguezthde
authored andcommitted
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 d7b3b90 commit 3e816c7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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)