Skip to content

Commit 1e1926e

Browse files
committed
Cleanup
1 parent c952668 commit 1e1926e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

errbit_github_plugin.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ Gem::Specification.new do |spec|
2020
# Specify which files should be added to the gem when it is released.
2121
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
2222
gemspec = File.basename(__FILE__)
23-
spec.files = IO.popen(%w[git ls-files -z], chdir: __dir__, err: IO::NULL) do |ls|
23+
spec.files = IO.popen(["git", "ls-files", "-z"], chdir: __dir__, err: IO::NULL) do |ls|
2424
ls.readlines("\x0", chomp: true).reject do |f|
2525
(f == gemspec) ||
26-
f.start_with?(*%w[bin/ test/ spec/ features/ .git .github appveyor Gemfile])
26+
f.start_with?(*['bin/', 'test/', 'spec/', 'features/', '.git', '.github', 'appveyor', 'Gemfile'])
2727
end
2828
end
2929
spec.require_paths = ["lib"]

0 commit comments

Comments
 (0)