mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Enable SpecialGlobalVars cop
This commit is contained in:
parent
deb7a87603
commit
5f8e7c2cc9
4 changed files with 3 additions and 5 deletions
|
@ -61,8 +61,6 @@ Style/WhileUntilModifier:
|
|||
Enabled: false
|
||||
Style/RescueModifier:
|
||||
Enabled: false
|
||||
Style/SpecialGlobalVars:
|
||||
Enabled: false
|
||||
Style/ModuleFunction:
|
||||
Enabled: false
|
||||
Style/DotPosition:
|
||||
|
|
|
@ -12,7 +12,7 @@ Gem::Specification.new do |gem|
|
|||
gem.summary = "Capistrano - Welcome to easy deployment with Ruby over SSH"
|
||||
gem.homepage = "http://capistranorb.com/"
|
||||
|
||||
gem.files = `git ls-files`.split($/)
|
||||
gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
|
||||
gem.executables = %w(cap capify)
|
||||
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
||||
gem.require_paths = ["lib"]
|
||||
|
|
|
@ -19,7 +19,7 @@ module VagrantHelpers
|
|||
puts "[vagrant] #{line}"
|
||||
end
|
||||
end
|
||||
$?
|
||||
$CHILD_STATUS
|
||||
end
|
||||
|
||||
def run_vagrant_command(command)
|
||||
|
|
|
@ -91,7 +91,7 @@ module TestApp
|
|||
Dir.chdir(test_app_path) do
|
||||
output = %x[#{command}]
|
||||
end
|
||||
[$?.success?, output]
|
||||
[$CHILD_STATUS.success?, output]
|
||||
end
|
||||
|
||||
def stage
|
||||
|
|
Loading…
Reference in a new issue