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
|
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:
|
||||||
|
|
|
@ -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"]
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue