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

Fix Style/EmptyLinesAroundModuleBody

This commit is contained in:
William Johnston 2016-02-28 17:30:49 -06:00
parent 970819166b
commit dc2cbace0b
12 changed files with 0 additions and 14 deletions

View file

@ -29,7 +29,6 @@ module VagrantHelpers
fail VagrantSSHCommandError, status
end
end
end
World(VagrantHelpers)

View file

@ -13,5 +13,4 @@ require "capistrano/application"
require "capistrano/configuration"
module Capistrano
end

View file

@ -147,5 +147,4 @@ module Capistrano
]
end
end
end

View file

@ -57,7 +57,6 @@ module Capistrano
def run_locally(&block)
SSHKit::Backend::Local.new(&block).run
end
end
end
self.extend Capistrano::DSL

View file

@ -2,7 +2,6 @@ require "pathname"
module Capistrano
module DSL
module Paths
def deploy_to
fetch(:deploy_to)
end

View file

@ -1,7 +1,6 @@
module Capistrano
module DSL
module Stages
def stages
Dir[stage_definitions].map { |f| File.basename(f, ".rb") }
end
@ -13,7 +12,6 @@ module Capistrano
def stage_set?
!!fetch(:stage, false)
end
end
end
end

View file

@ -61,6 +61,5 @@ module Capistrano
def deploying?
fetch(:deploying, false)
end
end
end

View file

@ -1,5 +1,4 @@
module Capistrano
# Base class for SCM strategy providers.
#
# @abstract

View file

@ -1,7 +1,6 @@
require "spec_helper"
module Capistrano
class DummyDSL
include DSL
end

View file

@ -1,7 +1,6 @@
require "spec_helper"
module Capistrano
describe VersionValidator do
let(:validator) { VersionValidator.new(version) }
let(:version) { stub }
@ -97,5 +96,4 @@ module Capistrano
end
end
end

View file

@ -1,7 +1,6 @@
require "spec_helper"
module Capistrano
describe Application do
let(:app) { Application.new }
end

View file

@ -174,5 +174,4 @@ module TestApp
FileUtils.mkdir_p(location)
FileUtils.mv(config_path, location)
end
end