File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -61,8 +61,6 @@ Style/Not:
61
61
Enabled : false
62
62
Style/RescueModifier :
63
63
Enabled : false
64
- Style/SpecialGlobalVars :
65
- Enabled : false
66
64
Style/ModuleFunction :
67
65
Enabled : false
68
66
Style/BlockEndNewline :
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ Gem::Specification.new do |gem|
12
12
gem . summary = "Capistrano - Welcome to easy deployment with Ruby over SSH"
13
13
gem . homepage = "http://capistranorb.com/"
14
14
15
- gem . files = `git ls-files` . split ( $/ )
15
+ gem . files = `git ls-files -z ` . split ( " \x0 " )
16
16
gem . executables = %w( cap capify )
17
17
gem . test_files = gem . files . grep ( %r{^(test|spec|features)/} )
18
18
gem . require_paths = [ "lib" ]
Original file line number Diff line number Diff line change
1
+ require "English"
2
+
1
3
module VagrantHelpers
2
4
extend self
3
5
@@ -19,7 +21,7 @@ def vagrant_cli_command(command)
19
21
puts "[vagrant] #{ line } "
20
22
end
21
23
end
22
- $?
24
+ $CHILD_STATUS
23
25
end
24
26
25
27
def run_vagrant_command ( command )
Original file line number Diff line number Diff line change
1
+ require "English"
1
2
require "fileutils"
2
3
require "pathname"
3
4
@@ -91,7 +92,7 @@ def run(command)
91
92
Dir . chdir ( test_app_path ) do
92
93
output = %x[#{ command } ]
93
94
end
94
- [ $? . success? , output ]
95
+ [ $CHILD_STATUS . success? , output ]
95
96
end
96
97
97
98
def stage
You can’t perform that action at this time.
0 commit comments