1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

Enable SpecialGlobalVars cop

This commit is contained in:
William Johnston 2016-03-01 09:36:05 -06:00
parent deb7a87603
commit 5f8e7c2cc9
4 changed files with 3 additions and 5 deletions

View file

@ -61,8 +61,6 @@ Style/WhileUntilModifier:
Enabled: false Enabled: false
Style/RescueModifier: Style/RescueModifier:
Enabled: false Enabled: false
Style/SpecialGlobalVars:
Enabled: false
Style/ModuleFunction: Style/ModuleFunction:
Enabled: false Enabled: false
Style/DotPosition: Style/DotPosition:

View file

@ -12,7 +12,7 @@ Gem::Specification.new do |gem|
gem.summary = "Capistrano - Welcome to easy deployment with Ruby over SSH" gem.summary = "Capistrano - Welcome to easy deployment with Ruby over SSH"
gem.homepage = "http://capistranorb.com/" 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.executables = %w(cap capify)
gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"] gem.require_paths = ["lib"]

View file

@ -19,7 +19,7 @@ module VagrantHelpers
puts "[vagrant] #{line}" puts "[vagrant] #{line}"
end end
end end
$? $CHILD_STATUS
end end
def run_vagrant_command(command) def run_vagrant_command(command)

View file

@ -91,7 +91,7 @@ module TestApp
Dir.chdir(test_app_path) do Dir.chdir(test_app_path) do
output = %x[#{command}] output = %x[#{command}]
end end
[$?.success?, output] [$CHILD_STATUS.success?, output]
end end
def stage def stage