capistrano 2.15.11 → 3.0.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +17 -8
- data/Gemfile +1 -12
- data/LICENSE.txt +18 -0
- data/README.md +65 -68
- data/Rakefile +4 -10
- data/bin/cap +2 -3
- data/bin/capify +7 -91
- data/capistrano.gemspec +20 -34
- data/lib/Capfile +2 -0
- data/lib/capistrano/application.rb +28 -0
- data/lib/capistrano/bundler.rb +1 -0
- data/lib/capistrano/configuration/question.rb +42 -0
- data/lib/capistrano/configuration/server.rb +24 -0
- data/lib/capistrano/configuration/servers.rb +43 -95
- data/lib/capistrano/configuration.rb +81 -44
- data/lib/capistrano/console.rb +1 -0
- data/lib/capistrano/defaults.rb +11 -0
- data/lib/capistrano/deploy.rb +3 -0
- data/lib/capistrano/dotfile.rb +3 -0
- data/lib/capistrano/dsl/env.rb +57 -0
- data/lib/capistrano/dsl/paths.rb +74 -0
- data/lib/capistrano/dsl/stages.rb +15 -0
- data/lib/capistrano/dsl/task_enhancements.rb +15 -0
- data/lib/capistrano/dsl.rb +38 -0
- data/lib/capistrano/git.rb +1 -0
- data/lib/capistrano/i18n.rb +33 -0
- data/lib/capistrano/install.rb +1 -0
- data/lib/capistrano/setup.rb +17 -0
- data/lib/capistrano/tasks/bundler.rake +13 -0
- data/lib/capistrano/tasks/console.rake +21 -0
- data/lib/capistrano/tasks/deploy.rake +153 -0
- data/lib/capistrano/tasks/framework.rake +45 -0
- data/lib/capistrano/tasks/git.rake +65 -0
- data/lib/capistrano/tasks/install.rake +39 -0
- data/lib/capistrano/templates/Capfile +43 -0
- data/lib/capistrano/templates/deploy.rb.erb +17 -0
- data/lib/capistrano/templates/stage.rb.erb +20 -0
- data/lib/capistrano/version.rb +1 -11
- data/lib/capistrano.rb +9 -3
- data/spec/lib/capistrano/configuration/question_spec.rb +54 -0
- data/spec/lib/capistrano/configuration/server_spec.rb +48 -0
- data/spec/lib/capistrano/configuration/servers_spec.rb +79 -0
- data/spec/lib/capistrano/configuration_spec.rb +80 -0
- data/spec/lib/capistrano/dsl/env_spec.rb +83 -0
- data/spec/lib/capistrano/dsl/paths_spec.rb +69 -0
- data/spec/lib/capistrano/dsl_spec.rb +51 -0
- data/spec/lib/capistrano_spec.rb +8 -0
- data/spec/spec_helper.rb +14 -0
- metadata +89 -215
- data/.travis.yml +0 -9
- data/CHANGELOG +0 -1203
- data/lib/capistrano/callback.rb +0 -45
- data/lib/capistrano/cli/execute.rb +0 -85
- data/lib/capistrano/cli/help.rb +0 -125
- data/lib/capistrano/cli/help.txt +0 -81
- data/lib/capistrano/cli/options.rb +0 -243
- data/lib/capistrano/cli/ui.rb +0 -40
- data/lib/capistrano/cli.rb +0 -47
- data/lib/capistrano/command.rb +0 -303
- data/lib/capistrano/configuration/actions/file_transfer.rb +0 -50
- data/lib/capistrano/configuration/actions/inspect.rb +0 -46
- data/lib/capistrano/configuration/actions/invocation.rb +0 -329
- data/lib/capistrano/configuration/alias_task.rb +0 -26
- data/lib/capistrano/configuration/callbacks.rb +0 -147
- data/lib/capistrano/configuration/connections.rb +0 -237
- data/lib/capistrano/configuration/execution.rb +0 -142
- data/lib/capistrano/configuration/loading.rb +0 -205
- data/lib/capistrano/configuration/log_formatters.rb +0 -75
- data/lib/capistrano/configuration/namespaces.rb +0 -223
- data/lib/capistrano/configuration/roles.rb +0 -83
- data/lib/capistrano/configuration/variables.rb +0 -127
- data/lib/capistrano/errors.rb +0 -19
- data/lib/capistrano/ext/multistage.rb +0 -67
- data/lib/capistrano/ext/string.rb +0 -5
- data/lib/capistrano/extensions.rb +0 -57
- data/lib/capistrano/fix_rake_deprecated_dsl.rb +0 -8
- data/lib/capistrano/logger.rb +0 -166
- data/lib/capistrano/processable.rb +0 -55
- data/lib/capistrano/recipes/compat.rb +0 -32
- data/lib/capistrano/recipes/deploy/assets.rb +0 -202
- data/lib/capistrano/recipes/deploy/dependencies.rb +0 -44
- data/lib/capistrano/recipes/deploy/local_dependency.rb +0 -54
- data/lib/capistrano/recipes/deploy/remote_dependency.rb +0 -117
- data/lib/capistrano/recipes/deploy/scm/accurev.rb +0 -169
- data/lib/capistrano/recipes/deploy/scm/base.rb +0 -200
- data/lib/capistrano/recipes/deploy/scm/bzr.rb +0 -86
- data/lib/capistrano/recipes/deploy/scm/cvs.rb +0 -153
- data/lib/capistrano/recipes/deploy/scm/darcs.rb +0 -96
- data/lib/capistrano/recipes/deploy/scm/git.rb +0 -299
- data/lib/capistrano/recipes/deploy/scm/mercurial.rb +0 -137
- data/lib/capistrano/recipes/deploy/scm/none.rb +0 -55
- data/lib/capistrano/recipes/deploy/scm/perforce.rb +0 -152
- data/lib/capistrano/recipes/deploy/scm/subversion.rb +0 -121
- data/lib/capistrano/recipes/deploy/scm.rb +0 -19
- data/lib/capistrano/recipes/deploy/strategy/base.rb +0 -92
- data/lib/capistrano/recipes/deploy/strategy/checkout.rb +0 -20
- data/lib/capistrano/recipes/deploy/strategy/copy.rb +0 -338
- data/lib/capistrano/recipes/deploy/strategy/export.rb +0 -20
- data/lib/capistrano/recipes/deploy/strategy/remote.rb +0 -52
- data/lib/capistrano/recipes/deploy/strategy/remote_cache.rb +0 -57
- data/lib/capistrano/recipes/deploy/strategy/unshared_remote_cache.rb +0 -21
- data/lib/capistrano/recipes/deploy/strategy.rb +0 -20
- data/lib/capistrano/recipes/deploy.rb +0 -625
- data/lib/capistrano/recipes/standard.rb +0 -37
- data/lib/capistrano/recipes/templates/maintenance.rhtml +0 -53
- data/lib/capistrano/role.rb +0 -102
- data/lib/capistrano/server_definition.rb +0 -56
- data/lib/capistrano/shell.rb +0 -265
- data/lib/capistrano/ssh.rb +0 -95
- data/lib/capistrano/task_definition.rb +0 -77
- data/lib/capistrano/transfer.rb +0 -218
- data/test/cli/execute_test.rb +0 -132
- data/test/cli/help_test.rb +0 -165
- data/test/cli/options_test.rb +0 -329
- data/test/cli/ui_test.rb +0 -28
- data/test/cli_test.rb +0 -17
- data/test/command_test.rb +0 -322
- data/test/configuration/actions/file_transfer_test.rb +0 -61
- data/test/configuration/actions/inspect_test.rb +0 -76
- data/test/configuration/actions/invocation_test.rb +0 -306
- data/test/configuration/alias_task_test.rb +0 -118
- data/test/configuration/callbacks_test.rb +0 -201
- data/test/configuration/connections_test.rb +0 -439
- data/test/configuration/execution_test.rb +0 -175
- data/test/configuration/loading_test.rb +0 -148
- data/test/configuration/namespace_dsl_test.rb +0 -332
- data/test/configuration/roles_test.rb +0 -157
- data/test/configuration/servers_test.rb +0 -183
- data/test/configuration/variables_test.rb +0 -190
- data/test/configuration_test.rb +0 -77
- data/test/deploy/local_dependency_test.rb +0 -76
- data/test/deploy/remote_dependency_test.rb +0 -146
- data/test/deploy/scm/accurev_test.rb +0 -23
- data/test/deploy/scm/base_test.rb +0 -55
- data/test/deploy/scm/bzr_test.rb +0 -51
- data/test/deploy/scm/darcs_test.rb +0 -37
- data/test/deploy/scm/git_test.rb +0 -274
- data/test/deploy/scm/mercurial_test.rb +0 -134
- data/test/deploy/scm/none_test.rb +0 -35
- data/test/deploy/scm/perforce_test.rb +0 -23
- data/test/deploy/scm/subversion_test.rb +0 -68
- data/test/deploy/strategy/copy_test.rb +0 -360
- data/test/extensions_test.rb +0 -69
- data/test/fixtures/cli_integration.rb +0 -5
- data/test/fixtures/config.rb +0 -5
- data/test/fixtures/custom.rb +0 -3
- data/test/logger_formatting_test.rb +0 -149
- data/test/logger_test.rb +0 -134
- data/test/recipes_test.rb +0 -25
- data/test/role_test.rb +0 -11
- data/test/server_definition_test.rb +0 -121
- data/test/shell_test.rb +0 -96
- data/test/ssh_test.rb +0 -113
- data/test/task_definition_test.rb +0 -117
- data/test/transfer_test.rb +0 -168
- data/test/utils.rb +0 -37
- data/test/version_test.rb +0 -11
@@ -0,0 +1,83 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
module Capistrano
|
4
|
+
module DSL
|
5
|
+
|
6
|
+
describe Env do
|
7
|
+
|
8
|
+
let(:env) { Configuration.new }
|
9
|
+
|
10
|
+
describe '#role' do
|
11
|
+
|
12
|
+
it 'can add a role, with hosts' do
|
13
|
+
env.role(:app, %w{example.com})
|
14
|
+
env.roles_for(:app).first.hostname.should == "example.com"
|
15
|
+
end
|
16
|
+
|
17
|
+
it 'handles de-duplification within roles' do
|
18
|
+
env.role(:app, %w{example.com})
|
19
|
+
env.role(:app, %w{example.com})
|
20
|
+
env.roles_for(:app).length.should == 1
|
21
|
+
end
|
22
|
+
|
23
|
+
it 'accepts instances of server objects' do
|
24
|
+
pending
|
25
|
+
env.role(:app, [Capistrano::Configuration::Server.new('example.net'), 'example.com'])
|
26
|
+
env.roles_for(:app).length.should == 2
|
27
|
+
end
|
28
|
+
|
29
|
+
it 'accepts non-enumerable types' do
|
30
|
+
env.role(:app, 'example.com')
|
31
|
+
env.roles_for(:app).length.should == 1
|
32
|
+
end
|
33
|
+
|
34
|
+
end
|
35
|
+
|
36
|
+
describe '#server' do
|
37
|
+
|
38
|
+
it "can create a server with properties" do
|
39
|
+
env.server('example.com', roles: [:app, "web"], my: :value)
|
40
|
+
env.roles_for(:app).first.hostname.should == 'example.com'
|
41
|
+
env.roles_for(:web).first.hostname.should == 'example.com'
|
42
|
+
env.roles_for(:all).first.properties.my.should == :value
|
43
|
+
end
|
44
|
+
|
45
|
+
end
|
46
|
+
|
47
|
+
describe '#roles' do
|
48
|
+
|
49
|
+
before do
|
50
|
+
env.server('example.com', roles: :app, active: true)
|
51
|
+
env.server('example.org', roles: :app)
|
52
|
+
end
|
53
|
+
|
54
|
+
it 'raises if the filter would remove all matching hosts' do
|
55
|
+
pending
|
56
|
+
env.server('example.org', active: true)
|
57
|
+
lambda do
|
58
|
+
env.roles_for(:app, filter: lambda { |s| !s.properties.active })
|
59
|
+
end.should raise_error
|
60
|
+
end
|
61
|
+
|
62
|
+
it 'can filter hosts by properties on the host object using symbol as shorthand' do
|
63
|
+
env.roles_for(:app, filter: :active).length.should == 1
|
64
|
+
end
|
65
|
+
|
66
|
+
it 'can select hosts by properties on the host object using symbol as shorthand' do
|
67
|
+
env.roles_for(:app, select: :active).length.should == 1
|
68
|
+
end
|
69
|
+
|
70
|
+
it 'can filter hosts by properties on the host using a regular proc' do
|
71
|
+
env.roles_for(:app, filter: lambda { |h| h.properties.active } ).length.should == 1
|
72
|
+
end
|
73
|
+
|
74
|
+
it 'can select hosts by properties on the host using a regular proc' do
|
75
|
+
env.roles_for(:app, select: lambda { |h| h.properties.active } ).length.should == 1
|
76
|
+
end
|
77
|
+
|
78
|
+
end
|
79
|
+
|
80
|
+
end
|
81
|
+
|
82
|
+
end
|
83
|
+
end
|
@@ -0,0 +1,69 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
module Capistrano
|
4
|
+
module DSL
|
5
|
+
|
6
|
+
class DummyPaths
|
7
|
+
include Paths
|
8
|
+
end
|
9
|
+
|
10
|
+
describe Paths do
|
11
|
+
let(:paths) { DummyPaths.new }
|
12
|
+
let(:parent) { Pathname.new('/var/shared') }
|
13
|
+
|
14
|
+
let(:linked_dirs) { %w{log public/system} }
|
15
|
+
let(:linked_files) { %w{config/database.yml log/my.log} }
|
16
|
+
|
17
|
+
|
18
|
+
describe '#linked_dirs' do
|
19
|
+
subject { paths.linked_dirs(parent) }
|
20
|
+
|
21
|
+
before do
|
22
|
+
paths.expects(:fetch).with(:linked_dirs).returns(linked_dirs)
|
23
|
+
end
|
24
|
+
|
25
|
+
it 'returns the full pathnames' do
|
26
|
+
expect(subject).to eq [Pathname.new('/var/shared/log'), Pathname.new('/var/shared/public/system')]
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
|
31
|
+
describe '#linked_files' do
|
32
|
+
subject { paths.linked_files(parent) }
|
33
|
+
|
34
|
+
before do
|
35
|
+
paths.expects(:fetch).with(:linked_files).returns(linked_files)
|
36
|
+
end
|
37
|
+
|
38
|
+
it 'returns the full pathnames' do
|
39
|
+
expect(subject).to eq [Pathname.new('/var/shared/config/database.yml'), Pathname.new('/var/shared/log/my.log')]
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
describe '#linked_file_dirs' do
|
44
|
+
subject { paths.linked_file_dirs(parent) }
|
45
|
+
|
46
|
+
before do
|
47
|
+
paths.expects(:fetch).with(:linked_files).returns(linked_files)
|
48
|
+
end
|
49
|
+
|
50
|
+
it 'returns the full paths names of the parent dirs' do
|
51
|
+
expect(subject).to eq [Pathname.new('/var/shared/config'), Pathname.new('/var/shared/log')]
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
describe '#linked_dir_parents' do
|
56
|
+
subject { paths.linked_dir_parents(parent) }
|
57
|
+
|
58
|
+
before do
|
59
|
+
paths.expects(:fetch).with(:linked_dirs).returns(linked_dirs)
|
60
|
+
end
|
61
|
+
|
62
|
+
it 'returns the full paths names of the parent dirs' do
|
63
|
+
expect(subject).to eq [Pathname.new('/var/shared'), Pathname.new('/var/shared/public')]
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
module Capistrano
|
4
|
+
|
5
|
+
class DummyDSL
|
6
|
+
include DSL
|
7
|
+
end
|
8
|
+
|
9
|
+
describe DSL do
|
10
|
+
let(:dsl) { DummyDSL.new }
|
11
|
+
|
12
|
+
describe '#t' do
|
13
|
+
before do
|
14
|
+
I18n.expects(:t).with(:phrase, {count: 2, scope: :capistrano})
|
15
|
+
end
|
16
|
+
|
17
|
+
it 'delegates to I18n' do
|
18
|
+
dsl.t(:phrase, count: 2)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
describe '#stages' do
|
23
|
+
before do
|
24
|
+
Dir.expects(:[]).with('config/deploy/*.rb').
|
25
|
+
returns(['config/deploy/staging.rb', 'config/deploy/production.rb'])
|
26
|
+
end
|
27
|
+
|
28
|
+
it 'returns a list of defined stages' do
|
29
|
+
expect(dsl.stages).to eq %w{staging production}
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
describe '#stage_set?' do
|
34
|
+
subject { dsl.stage_set? }
|
35
|
+
|
36
|
+
context 'stage is set' do
|
37
|
+
before do
|
38
|
+
dsl.set(:stage, :sandbox)
|
39
|
+
end
|
40
|
+
it { should be_true }
|
41
|
+
end
|
42
|
+
|
43
|
+
context 'stage is not set' do
|
44
|
+
before do
|
45
|
+
dsl.set(:stage, nil)
|
46
|
+
end
|
47
|
+
it { should be_false }
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
2
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
3
|
+
require 'rspec'
|
4
|
+
require 'capistrano'
|
5
|
+
require 'mocha/api'
|
6
|
+
|
7
|
+
# Requires supporting files with custom matchers and macros, etc,
|
8
|
+
# in ./support/ and its subdirectories.
|
9
|
+
Dir['#{File.dirname(__FILE__)}/support/**/*.rb'].each {|f| require f}
|
10
|
+
|
11
|
+
RSpec.configure do |config|
|
12
|
+
config.mock_framework = :mocha
|
13
|
+
config.order = 'random'
|
14
|
+
end
|
metadata
CHANGED
@@ -1,297 +1,171 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
8
|
-
|
9
|
-
autorequire:
|
7
|
+
- Tom Clements
|
8
|
+
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2013-05-28 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
14
|
+
name: sshkit
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
16
|
requirements:
|
18
|
-
- -
|
17
|
+
- - '>='
|
19
18
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
21
|
-
type: :runtime
|
22
|
-
prerelease: false
|
23
|
-
version_requirements: !ruby/object:Gem::Requirement
|
24
|
-
requirements:
|
25
|
-
- - ">="
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
version: '0'
|
28
|
-
- !ruby/object:Gem::Dependency
|
29
|
-
name: net-ssh
|
30
|
-
requirement: !ruby/object:Gem::Requirement
|
31
|
-
requirements:
|
32
|
-
- - ">="
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: 2.0.14
|
19
|
+
version: 0.0.23
|
35
20
|
type: :runtime
|
36
21
|
prerelease: false
|
37
22
|
version_requirements: !ruby/object:Gem::Requirement
|
38
23
|
requirements:
|
39
|
-
- -
|
24
|
+
- - '>='
|
40
25
|
- !ruby/object:Gem::Version
|
41
|
-
version:
|
26
|
+
version: 0.0.23
|
42
27
|
- !ruby/object:Gem::Dependency
|
43
|
-
name:
|
28
|
+
name: rake
|
44
29
|
requirement: !ruby/object:Gem::Requirement
|
45
30
|
requirements:
|
46
|
-
- -
|
31
|
+
- - '>='
|
47
32
|
- !ruby/object:Gem::Version
|
48
|
-
version:
|
33
|
+
version: 10.0.0
|
49
34
|
type: :runtime
|
50
35
|
prerelease: false
|
51
36
|
version_requirements: !ruby/object:Gem::Requirement
|
52
37
|
requirements:
|
53
|
-
- -
|
38
|
+
- - '>='
|
54
39
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
40
|
+
version: 10.0.0
|
56
41
|
- !ruby/object:Gem::Dependency
|
57
|
-
name:
|
42
|
+
name: i18n
|
58
43
|
requirement: !ruby/object:Gem::Requirement
|
59
44
|
requirements:
|
60
|
-
- -
|
45
|
+
- - '>='
|
61
46
|
- !ruby/object:Gem::Version
|
62
|
-
version:
|
47
|
+
version: '0'
|
63
48
|
type: :runtime
|
64
49
|
prerelease: false
|
65
50
|
version_requirements: !ruby/object:Gem::Requirement
|
66
51
|
requirements:
|
67
|
-
- -
|
52
|
+
- - '>='
|
68
53
|
- !ruby/object:Gem::Version
|
69
|
-
version:
|
54
|
+
version: '0'
|
70
55
|
- !ruby/object:Gem::Dependency
|
71
|
-
name:
|
56
|
+
name: rspec
|
72
57
|
requirement: !ruby/object:Gem::Requirement
|
73
58
|
requirements:
|
74
|
-
- -
|
59
|
+
- - '>='
|
75
60
|
- !ruby/object:Gem::Version
|
76
|
-
version:
|
77
|
-
type: :
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
78
63
|
prerelease: false
|
79
64
|
version_requirements: !ruby/object:Gem::Requirement
|
80
65
|
requirements:
|
81
|
-
- -
|
66
|
+
- - '>='
|
82
67
|
- !ruby/object:Gem::Version
|
83
|
-
version:
|
68
|
+
version: '0'
|
84
69
|
- !ruby/object:Gem::Dependency
|
85
70
|
name: mocha
|
86
71
|
requirement: !ruby/object:Gem::Requirement
|
87
72
|
requirements:
|
88
|
-
- - '
|
73
|
+
- - '>='
|
89
74
|
- !ruby/object:Gem::Version
|
90
|
-
version: 0
|
75
|
+
version: '0'
|
91
76
|
type: :development
|
92
77
|
prerelease: false
|
93
78
|
version_requirements: !ruby/object:Gem::Requirement
|
94
79
|
requirements:
|
95
|
-
- - '
|
80
|
+
- - '>='
|
96
81
|
- !ruby/object:Gem::Version
|
97
|
-
version: 0
|
98
|
-
description:
|
99
|
-
on multiple remote machines, via SSH.
|
82
|
+
version: '0'
|
83
|
+
description: 'PENDING: Write a gem description'
|
100
84
|
email:
|
101
|
-
-
|
102
|
-
- lee.hambley@gmail.com
|
85
|
+
- seenmyfate@gmail.com
|
103
86
|
executables:
|
104
87
|
- cap
|
105
|
-
- capify
|
106
88
|
extensions: []
|
107
|
-
extra_rdoc_files:
|
108
|
-
- README.md
|
89
|
+
extra_rdoc_files: []
|
109
90
|
files:
|
110
|
-
-
|
111
|
-
- ".travis.yml"
|
112
|
-
- CHANGELOG
|
91
|
+
- .gitignore
|
113
92
|
- Gemfile
|
93
|
+
- LICENSE.txt
|
114
94
|
- README.md
|
115
95
|
- Rakefile
|
116
96
|
- bin/cap
|
117
97
|
- bin/capify
|
118
98
|
- capistrano.gemspec
|
99
|
+
- lib/Capfile
|
119
100
|
- lib/capistrano.rb
|
120
|
-
- lib/capistrano/
|
121
|
-
- lib/capistrano/
|
122
|
-
- lib/capistrano/cli/execute.rb
|
123
|
-
- lib/capistrano/cli/help.rb
|
124
|
-
- lib/capistrano/cli/help.txt
|
125
|
-
- lib/capistrano/cli/options.rb
|
126
|
-
- lib/capistrano/cli/ui.rb
|
127
|
-
- lib/capistrano/command.rb
|
101
|
+
- lib/capistrano/application.rb
|
102
|
+
- lib/capistrano/bundler.rb
|
128
103
|
- lib/capistrano/configuration.rb
|
129
|
-
- lib/capistrano/configuration/
|
130
|
-
- lib/capistrano/configuration/
|
131
|
-
- lib/capistrano/configuration/actions/invocation.rb
|
132
|
-
- lib/capistrano/configuration/alias_task.rb
|
133
|
-
- lib/capistrano/configuration/callbacks.rb
|
134
|
-
- lib/capistrano/configuration/connections.rb
|
135
|
-
- lib/capistrano/configuration/execution.rb
|
136
|
-
- lib/capistrano/configuration/loading.rb
|
137
|
-
- lib/capistrano/configuration/log_formatters.rb
|
138
|
-
- lib/capistrano/configuration/namespaces.rb
|
139
|
-
- lib/capistrano/configuration/roles.rb
|
104
|
+
- lib/capistrano/configuration/question.rb
|
105
|
+
- lib/capistrano/configuration/server.rb
|
140
106
|
- lib/capistrano/configuration/servers.rb
|
141
|
-
- lib/capistrano/
|
142
|
-
- lib/capistrano/
|
143
|
-
- lib/capistrano/
|
144
|
-
- lib/capistrano/
|
145
|
-
- lib/capistrano/
|
146
|
-
- lib/capistrano/
|
147
|
-
- lib/capistrano/
|
148
|
-
- lib/capistrano/
|
149
|
-
- lib/capistrano/
|
150
|
-
- lib/capistrano/
|
151
|
-
- lib/capistrano/
|
152
|
-
- lib/capistrano/
|
153
|
-
- lib/capistrano/
|
154
|
-
- lib/capistrano/
|
155
|
-
- lib/capistrano/
|
156
|
-
- lib/capistrano/
|
157
|
-
- lib/capistrano/
|
158
|
-
- lib/capistrano/
|
159
|
-
- lib/capistrano/
|
160
|
-
- lib/capistrano/
|
161
|
-
- lib/capistrano/
|
162
|
-
- lib/capistrano/
|
163
|
-
- lib/capistrano/recipes/deploy/scm/none.rb
|
164
|
-
- lib/capistrano/recipes/deploy/scm/perforce.rb
|
165
|
-
- lib/capistrano/recipes/deploy/scm/subversion.rb
|
166
|
-
- lib/capistrano/recipes/deploy/strategy.rb
|
167
|
-
- lib/capistrano/recipes/deploy/strategy/base.rb
|
168
|
-
- lib/capistrano/recipes/deploy/strategy/checkout.rb
|
169
|
-
- lib/capistrano/recipes/deploy/strategy/copy.rb
|
170
|
-
- lib/capistrano/recipes/deploy/strategy/export.rb
|
171
|
-
- lib/capistrano/recipes/deploy/strategy/remote.rb
|
172
|
-
- lib/capistrano/recipes/deploy/strategy/remote_cache.rb
|
173
|
-
- lib/capistrano/recipes/deploy/strategy/unshared_remote_cache.rb
|
174
|
-
- lib/capistrano/recipes/standard.rb
|
175
|
-
- lib/capistrano/recipes/templates/maintenance.rhtml
|
176
|
-
- lib/capistrano/role.rb
|
177
|
-
- lib/capistrano/server_definition.rb
|
178
|
-
- lib/capistrano/shell.rb
|
179
|
-
- lib/capistrano/ssh.rb
|
180
|
-
- lib/capistrano/task_definition.rb
|
181
|
-
- lib/capistrano/transfer.rb
|
107
|
+
- lib/capistrano/console.rb
|
108
|
+
- lib/capistrano/defaults.rb
|
109
|
+
- lib/capistrano/deploy.rb
|
110
|
+
- lib/capistrano/dotfile.rb
|
111
|
+
- lib/capistrano/dsl.rb
|
112
|
+
- lib/capistrano/dsl/env.rb
|
113
|
+
- lib/capistrano/dsl/paths.rb
|
114
|
+
- lib/capistrano/dsl/stages.rb
|
115
|
+
- lib/capistrano/dsl/task_enhancements.rb
|
116
|
+
- lib/capistrano/git.rb
|
117
|
+
- lib/capistrano/i18n.rb
|
118
|
+
- lib/capistrano/install.rb
|
119
|
+
- lib/capistrano/setup.rb
|
120
|
+
- lib/capistrano/tasks/bundler.rake
|
121
|
+
- lib/capistrano/tasks/console.rake
|
122
|
+
- lib/capistrano/tasks/deploy.rake
|
123
|
+
- lib/capistrano/tasks/framework.rake
|
124
|
+
- lib/capistrano/tasks/git.rake
|
125
|
+
- lib/capistrano/tasks/install.rake
|
126
|
+
- lib/capistrano/templates/Capfile
|
127
|
+
- lib/capistrano/templates/deploy.rb.erb
|
128
|
+
- lib/capistrano/templates/stage.rb.erb
|
182
129
|
- lib/capistrano/version.rb
|
183
|
-
-
|
184
|
-
-
|
185
|
-
-
|
186
|
-
-
|
187
|
-
-
|
188
|
-
-
|
189
|
-
-
|
190
|
-
-
|
191
|
-
-
|
192
|
-
|
193
|
-
- test/configuration/callbacks_test.rb
|
194
|
-
- test/configuration/connections_test.rb
|
195
|
-
- test/configuration/execution_test.rb
|
196
|
-
- test/configuration/loading_test.rb
|
197
|
-
- test/configuration/namespace_dsl_test.rb
|
198
|
-
- test/configuration/roles_test.rb
|
199
|
-
- test/configuration/servers_test.rb
|
200
|
-
- test/configuration/variables_test.rb
|
201
|
-
- test/configuration_test.rb
|
202
|
-
- test/deploy/local_dependency_test.rb
|
203
|
-
- test/deploy/remote_dependency_test.rb
|
204
|
-
- test/deploy/scm/accurev_test.rb
|
205
|
-
- test/deploy/scm/base_test.rb
|
206
|
-
- test/deploy/scm/bzr_test.rb
|
207
|
-
- test/deploy/scm/darcs_test.rb
|
208
|
-
- test/deploy/scm/git_test.rb
|
209
|
-
- test/deploy/scm/mercurial_test.rb
|
210
|
-
- test/deploy/scm/none_test.rb
|
211
|
-
- test/deploy/scm/perforce_test.rb
|
212
|
-
- test/deploy/scm/subversion_test.rb
|
213
|
-
- test/deploy/strategy/copy_test.rb
|
214
|
-
- test/extensions_test.rb
|
215
|
-
- test/fixtures/cli_integration.rb
|
216
|
-
- test/fixtures/config.rb
|
217
|
-
- test/fixtures/custom.rb
|
218
|
-
- test/logger_formatting_test.rb
|
219
|
-
- test/logger_test.rb
|
220
|
-
- test/recipes_test.rb
|
221
|
-
- test/role_test.rb
|
222
|
-
- test/server_definition_test.rb
|
223
|
-
- test/shell_test.rb
|
224
|
-
- test/ssh_test.rb
|
225
|
-
- test/task_definition_test.rb
|
226
|
-
- test/transfer_test.rb
|
227
|
-
- test/utils.rb
|
228
|
-
- test/version_test.rb
|
229
|
-
homepage: http://github.com/capistrano/capistrano
|
130
|
+
- spec/lib/capistrano/configuration/question_spec.rb
|
131
|
+
- spec/lib/capistrano/configuration/server_spec.rb
|
132
|
+
- spec/lib/capistrano/configuration/servers_spec.rb
|
133
|
+
- spec/lib/capistrano/configuration_spec.rb
|
134
|
+
- spec/lib/capistrano/dsl/env_spec.rb
|
135
|
+
- spec/lib/capistrano/dsl/paths_spec.rb
|
136
|
+
- spec/lib/capistrano/dsl_spec.rb
|
137
|
+
- spec/lib/capistrano_spec.rb
|
138
|
+
- spec/spec_helper.rb
|
139
|
+
homepage: ''
|
230
140
|
licenses: []
|
231
141
|
metadata: {}
|
232
|
-
post_install_message:
|
142
|
+
post_install_message:
|
233
143
|
rdoc_options: []
|
234
144
|
require_paths:
|
235
145
|
- lib
|
236
146
|
required_ruby_version: !ruby/object:Gem::Requirement
|
237
147
|
requirements:
|
238
|
-
- -
|
148
|
+
- - '>='
|
239
149
|
- !ruby/object:Gem::Version
|
240
150
|
version: '0'
|
241
151
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
242
152
|
requirements:
|
243
|
-
- -
|
153
|
+
- - '>'
|
244
154
|
- !ruby/object:Gem::Version
|
245
|
-
version:
|
155
|
+
version: 1.3.1
|
246
156
|
requirements: []
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
157
|
+
rubyforge_project:
|
158
|
+
rubygems_version: 2.0.2
|
159
|
+
signing_key:
|
160
|
+
specification_version: 4
|
161
|
+
summary: 'PENDING: Write a gem summary'
|
251
162
|
test_files:
|
252
|
-
-
|
253
|
-
-
|
254
|
-
-
|
255
|
-
-
|
256
|
-
-
|
257
|
-
-
|
258
|
-
-
|
259
|
-
-
|
260
|
-
-
|
261
|
-
- test/configuration/alias_task_test.rb
|
262
|
-
- test/configuration/callbacks_test.rb
|
263
|
-
- test/configuration/connections_test.rb
|
264
|
-
- test/configuration/execution_test.rb
|
265
|
-
- test/configuration/loading_test.rb
|
266
|
-
- test/configuration/namespace_dsl_test.rb
|
267
|
-
- test/configuration/roles_test.rb
|
268
|
-
- test/configuration/servers_test.rb
|
269
|
-
- test/configuration/variables_test.rb
|
270
|
-
- test/configuration_test.rb
|
271
|
-
- test/deploy/local_dependency_test.rb
|
272
|
-
- test/deploy/remote_dependency_test.rb
|
273
|
-
- test/deploy/scm/accurev_test.rb
|
274
|
-
- test/deploy/scm/base_test.rb
|
275
|
-
- test/deploy/scm/bzr_test.rb
|
276
|
-
- test/deploy/scm/darcs_test.rb
|
277
|
-
- test/deploy/scm/git_test.rb
|
278
|
-
- test/deploy/scm/mercurial_test.rb
|
279
|
-
- test/deploy/scm/none_test.rb
|
280
|
-
- test/deploy/scm/perforce_test.rb
|
281
|
-
- test/deploy/scm/subversion_test.rb
|
282
|
-
- test/deploy/strategy/copy_test.rb
|
283
|
-
- test/extensions_test.rb
|
284
|
-
- test/fixtures/cli_integration.rb
|
285
|
-
- test/fixtures/config.rb
|
286
|
-
- test/fixtures/custom.rb
|
287
|
-
- test/logger_formatting_test.rb
|
288
|
-
- test/logger_test.rb
|
289
|
-
- test/recipes_test.rb
|
290
|
-
- test/role_test.rb
|
291
|
-
- test/server_definition_test.rb
|
292
|
-
- test/shell_test.rb
|
293
|
-
- test/ssh_test.rb
|
294
|
-
- test/task_definition_test.rb
|
295
|
-
- test/transfer_test.rb
|
296
|
-
- test/utils.rb
|
297
|
-
- test/version_test.rb
|
163
|
+
- spec/lib/capistrano/configuration/question_spec.rb
|
164
|
+
- spec/lib/capistrano/configuration/server_spec.rb
|
165
|
+
- spec/lib/capistrano/configuration/servers_spec.rb
|
166
|
+
- spec/lib/capistrano/configuration_spec.rb
|
167
|
+
- spec/lib/capistrano/dsl/env_spec.rb
|
168
|
+
- spec/lib/capistrano/dsl/paths_spec.rb
|
169
|
+
- spec/lib/capistrano/dsl_spec.rb
|
170
|
+
- spec/lib/capistrano_spec.rb
|
171
|
+
- spec/spec_helper.rb
|