Skip to content

Commit 93213be

Browse files
committed
Modify gemspec for safer, non-English option.
1 parent a0f9842 commit 93213be

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

capistrano.gemspec

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ lib = File.expand_path("../lib", __FILE__)
33
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
44
require "capistrano/version"
55

6-
require "English"
7-
86
Gem::Specification.new do |gem|
97
gem.name = "capistrano"
108
gem.version = Capistrano::VERSION
@@ -14,7 +12,7 @@ Gem::Specification.new do |gem|
1412
gem.summary = "Capistrano - Welcome to easy deployment with Ruby over SSH"
1513
gem.homepage = "http://capistranorb.com/"
1614

17-
gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
15+
gem.files = `git ls-files -z`.split("\x0")
1816
gem.executables = %w(cap capify)
1917
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
2018
gem.require_paths = ["lib"]

0 commit comments

Comments
 (0)