capistrano 2.15.11 → 3.0.0.pre

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +17 -8
  3. data/Gemfile +1 -12
  4. data/LICENSE.txt +18 -0
  5. data/README.md +65 -68
  6. data/Rakefile +4 -10
  7. data/bin/cap +2 -3
  8. data/bin/capify +7 -91
  9. data/capistrano.gemspec +20 -34
  10. data/lib/Capfile +2 -0
  11. data/lib/capistrano/application.rb +28 -0
  12. data/lib/capistrano/bundler.rb +1 -0
  13. data/lib/capistrano/configuration/question.rb +42 -0
  14. data/lib/capistrano/configuration/server.rb +24 -0
  15. data/lib/capistrano/configuration/servers.rb +43 -95
  16. data/lib/capistrano/configuration.rb +81 -44
  17. data/lib/capistrano/console.rb +1 -0
  18. data/lib/capistrano/defaults.rb +11 -0
  19. data/lib/capistrano/deploy.rb +3 -0
  20. data/lib/capistrano/dotfile.rb +3 -0
  21. data/lib/capistrano/dsl/env.rb +57 -0
  22. data/lib/capistrano/dsl/paths.rb +74 -0
  23. data/lib/capistrano/dsl/stages.rb +15 -0
  24. data/lib/capistrano/dsl/task_enhancements.rb +15 -0
  25. data/lib/capistrano/dsl.rb +38 -0
  26. data/lib/capistrano/git.rb +1 -0
  27. data/lib/capistrano/i18n.rb +33 -0
  28. data/lib/capistrano/install.rb +1 -0
  29. data/lib/capistrano/setup.rb +17 -0
  30. data/lib/capistrano/tasks/bundler.rake +13 -0
  31. data/lib/capistrano/tasks/console.rake +21 -0
  32. data/lib/capistrano/tasks/deploy.rake +153 -0
  33. data/lib/capistrano/tasks/framework.rake +45 -0
  34. data/lib/capistrano/tasks/git.rake +65 -0
  35. data/lib/capistrano/tasks/install.rake +39 -0
  36. data/lib/capistrano/templates/Capfile +43 -0
  37. data/lib/capistrano/templates/deploy.rb.erb +17 -0
  38. data/lib/capistrano/templates/stage.rb.erb +20 -0
  39. data/lib/capistrano/version.rb +1 -11
  40. data/lib/capistrano.rb +9 -3
  41. data/spec/lib/capistrano/configuration/question_spec.rb +54 -0
  42. data/spec/lib/capistrano/configuration/server_spec.rb +48 -0
  43. data/spec/lib/capistrano/configuration/servers_spec.rb +79 -0
  44. data/spec/lib/capistrano/configuration_spec.rb +80 -0
  45. data/spec/lib/capistrano/dsl/env_spec.rb +83 -0
  46. data/spec/lib/capistrano/dsl/paths_spec.rb +69 -0
  47. data/spec/lib/capistrano/dsl_spec.rb +51 -0
  48. data/spec/lib/capistrano_spec.rb +8 -0
  49. data/spec/spec_helper.rb +14 -0
  50. metadata +89 -215
  51. data/.travis.yml +0 -9
  52. data/CHANGELOG +0 -1203
  53. data/lib/capistrano/callback.rb +0 -45
  54. data/lib/capistrano/cli/execute.rb +0 -85
  55. data/lib/capistrano/cli/help.rb +0 -125
  56. data/lib/capistrano/cli/help.txt +0 -81
  57. data/lib/capistrano/cli/options.rb +0 -243
  58. data/lib/capistrano/cli/ui.rb +0 -40
  59. data/lib/capistrano/cli.rb +0 -47
  60. data/lib/capistrano/command.rb +0 -303
  61. data/lib/capistrano/configuration/actions/file_transfer.rb +0 -50
  62. data/lib/capistrano/configuration/actions/inspect.rb +0 -46
  63. data/lib/capistrano/configuration/actions/invocation.rb +0 -329
  64. data/lib/capistrano/configuration/alias_task.rb +0 -26
  65. data/lib/capistrano/configuration/callbacks.rb +0 -147
  66. data/lib/capistrano/configuration/connections.rb +0 -237
  67. data/lib/capistrano/configuration/execution.rb +0 -142
  68. data/lib/capistrano/configuration/loading.rb +0 -205
  69. data/lib/capistrano/configuration/log_formatters.rb +0 -75
  70. data/lib/capistrano/configuration/namespaces.rb +0 -223
  71. data/lib/capistrano/configuration/roles.rb +0 -83
  72. data/lib/capistrano/configuration/variables.rb +0 -127
  73. data/lib/capistrano/errors.rb +0 -19
  74. data/lib/capistrano/ext/multistage.rb +0 -67
  75. data/lib/capistrano/ext/string.rb +0 -5
  76. data/lib/capistrano/extensions.rb +0 -57
  77. data/lib/capistrano/fix_rake_deprecated_dsl.rb +0 -8
  78. data/lib/capistrano/logger.rb +0 -166
  79. data/lib/capistrano/processable.rb +0 -55
  80. data/lib/capistrano/recipes/compat.rb +0 -32
  81. data/lib/capistrano/recipes/deploy/assets.rb +0 -202
  82. data/lib/capistrano/recipes/deploy/dependencies.rb +0 -44
  83. data/lib/capistrano/recipes/deploy/local_dependency.rb +0 -54
  84. data/lib/capistrano/recipes/deploy/remote_dependency.rb +0 -117
  85. data/lib/capistrano/recipes/deploy/scm/accurev.rb +0 -169
  86. data/lib/capistrano/recipes/deploy/scm/base.rb +0 -200
  87. data/lib/capistrano/recipes/deploy/scm/bzr.rb +0 -86
  88. data/lib/capistrano/recipes/deploy/scm/cvs.rb +0 -153
  89. data/lib/capistrano/recipes/deploy/scm/darcs.rb +0 -96
  90. data/lib/capistrano/recipes/deploy/scm/git.rb +0 -299
  91. data/lib/capistrano/recipes/deploy/scm/mercurial.rb +0 -137
  92. data/lib/capistrano/recipes/deploy/scm/none.rb +0 -55
  93. data/lib/capistrano/recipes/deploy/scm/perforce.rb +0 -152
  94. data/lib/capistrano/recipes/deploy/scm/subversion.rb +0 -121
  95. data/lib/capistrano/recipes/deploy/scm.rb +0 -19
  96. data/lib/capistrano/recipes/deploy/strategy/base.rb +0 -92
  97. data/lib/capistrano/recipes/deploy/strategy/checkout.rb +0 -20
  98. data/lib/capistrano/recipes/deploy/strategy/copy.rb +0 -338
  99. data/lib/capistrano/recipes/deploy/strategy/export.rb +0 -20
  100. data/lib/capistrano/recipes/deploy/strategy/remote.rb +0 -52
  101. data/lib/capistrano/recipes/deploy/strategy/remote_cache.rb +0 -57
  102. data/lib/capistrano/recipes/deploy/strategy/unshared_remote_cache.rb +0 -21
  103. data/lib/capistrano/recipes/deploy/strategy.rb +0 -20
  104. data/lib/capistrano/recipes/deploy.rb +0 -625
  105. data/lib/capistrano/recipes/standard.rb +0 -37
  106. data/lib/capistrano/recipes/templates/maintenance.rhtml +0 -53
  107. data/lib/capistrano/role.rb +0 -102
  108. data/lib/capistrano/server_definition.rb +0 -56
  109. data/lib/capistrano/shell.rb +0 -265
  110. data/lib/capistrano/ssh.rb +0 -95
  111. data/lib/capistrano/task_definition.rb +0 -77
  112. data/lib/capistrano/transfer.rb +0 -218
  113. data/test/cli/execute_test.rb +0 -132
  114. data/test/cli/help_test.rb +0 -165
  115. data/test/cli/options_test.rb +0 -329
  116. data/test/cli/ui_test.rb +0 -28
  117. data/test/cli_test.rb +0 -17
  118. data/test/command_test.rb +0 -322
  119. data/test/configuration/actions/file_transfer_test.rb +0 -61
  120. data/test/configuration/actions/inspect_test.rb +0 -76
  121. data/test/configuration/actions/invocation_test.rb +0 -306
  122. data/test/configuration/alias_task_test.rb +0 -118
  123. data/test/configuration/callbacks_test.rb +0 -201
  124. data/test/configuration/connections_test.rb +0 -439
  125. data/test/configuration/execution_test.rb +0 -175
  126. data/test/configuration/loading_test.rb +0 -148
  127. data/test/configuration/namespace_dsl_test.rb +0 -332
  128. data/test/configuration/roles_test.rb +0 -157
  129. data/test/configuration/servers_test.rb +0 -183
  130. data/test/configuration/variables_test.rb +0 -190
  131. data/test/configuration_test.rb +0 -77
  132. data/test/deploy/local_dependency_test.rb +0 -76
  133. data/test/deploy/remote_dependency_test.rb +0 -146
  134. data/test/deploy/scm/accurev_test.rb +0 -23
  135. data/test/deploy/scm/base_test.rb +0 -55
  136. data/test/deploy/scm/bzr_test.rb +0 -51
  137. data/test/deploy/scm/darcs_test.rb +0 -37
  138. data/test/deploy/scm/git_test.rb +0 -274
  139. data/test/deploy/scm/mercurial_test.rb +0 -134
  140. data/test/deploy/scm/none_test.rb +0 -35
  141. data/test/deploy/scm/perforce_test.rb +0 -23
  142. data/test/deploy/scm/subversion_test.rb +0 -68
  143. data/test/deploy/strategy/copy_test.rb +0 -360
  144. data/test/extensions_test.rb +0 -69
  145. data/test/fixtures/cli_integration.rb +0 -5
  146. data/test/fixtures/config.rb +0 -5
  147. data/test/fixtures/custom.rb +0 -3
  148. data/test/logger_formatting_test.rb +0 -149
  149. data/test/logger_test.rb +0 -134
  150. data/test/recipes_test.rb +0 -25
  151. data/test/role_test.rb +0 -11
  152. data/test/server_definition_test.rb +0 -121
  153. data/test/shell_test.rb +0 -96
  154. data/test/ssh_test.rb +0 -113
  155. data/test/task_definition_test.rb +0 -117
  156. data/test/transfer_test.rb +0 -168
  157. data/test/utils.rb +0 -37
  158. 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
@@ -0,0 +1,8 @@
1
+ require 'spec_helper'
2
+
3
+ module Capistrano
4
+
5
+ describe Application do
6
+ let(:app) { Application.new }
7
+ end
8
+ end
@@ -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: 2.15.11
4
+ version: 3.0.0.pre
5
5
  platform: ruby
6
6
  authors:
7
- - Jamis Buck
8
- - Lee Hambley
9
- autorequire:
7
+ - Tom Clements
8
+ autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2023-06-17 00:00:00.000000000 Z
11
+ date: 2013-05-28 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
- name: highline
14
+ name: sshkit
16
15
  requirement: !ruby/object:Gem::Requirement
17
16
  requirements:
18
- - - ">="
17
+ - - '>='
19
18
  - !ruby/object:Gem::Version
20
- version: '0'
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: 2.0.14
26
+ version: 0.0.23
42
27
  - !ruby/object:Gem::Dependency
43
- name: net-sftp
28
+ name: rake
44
29
  requirement: !ruby/object:Gem::Requirement
45
30
  requirements:
46
- - - ">="
31
+ - - '>='
47
32
  - !ruby/object:Gem::Version
48
- version: 2.0.0
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: 2.0.0
40
+ version: 10.0.0
56
41
  - !ruby/object:Gem::Dependency
57
- name: net-scp
42
+ name: i18n
58
43
  requirement: !ruby/object:Gem::Requirement
59
44
  requirements:
60
- - - ">="
45
+ - - '>='
61
46
  - !ruby/object:Gem::Version
62
- version: 1.0.0
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: 1.0.0
54
+ version: '0'
70
55
  - !ruby/object:Gem::Dependency
71
- name: net-ssh-gateway
56
+ name: rspec
72
57
  requirement: !ruby/object:Gem::Requirement
73
58
  requirements:
74
- - - ">="
59
+ - - '>='
75
60
  - !ruby/object:Gem::Version
76
- version: 1.1.0
77
- type: :runtime
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: 1.1.0
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.9.12
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.9.12
98
- description: Capistrano is a utility and framework for executing commands in parallel
99
- on multiple remote machines, via SSH.
82
+ version: '0'
83
+ description: 'PENDING: Write a gem description'
100
84
  email:
101
- - jamis@jamisbuck.org
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
- - ".gitignore"
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/callback.rb
121
- - lib/capistrano/cli.rb
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/actions/file_transfer.rb
130
- - lib/capistrano/configuration/actions/inspect.rb
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/configuration/variables.rb
142
- - lib/capistrano/errors.rb
143
- - lib/capistrano/ext/multistage.rb
144
- - lib/capistrano/ext/string.rb
145
- - lib/capistrano/extensions.rb
146
- - lib/capistrano/fix_rake_deprecated_dsl.rb
147
- - lib/capistrano/logger.rb
148
- - lib/capistrano/processable.rb
149
- - lib/capistrano/recipes/compat.rb
150
- - lib/capistrano/recipes/deploy.rb
151
- - lib/capistrano/recipes/deploy/assets.rb
152
- - lib/capistrano/recipes/deploy/dependencies.rb
153
- - lib/capistrano/recipes/deploy/local_dependency.rb
154
- - lib/capistrano/recipes/deploy/remote_dependency.rb
155
- - lib/capistrano/recipes/deploy/scm.rb
156
- - lib/capistrano/recipes/deploy/scm/accurev.rb
157
- - lib/capistrano/recipes/deploy/scm/base.rb
158
- - lib/capistrano/recipes/deploy/scm/bzr.rb
159
- - lib/capistrano/recipes/deploy/scm/cvs.rb
160
- - lib/capistrano/recipes/deploy/scm/darcs.rb
161
- - lib/capistrano/recipes/deploy/scm/git.rb
162
- - lib/capistrano/recipes/deploy/scm/mercurial.rb
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
- - test/cli/execute_test.rb
184
- - test/cli/help_test.rb
185
- - test/cli/options_test.rb
186
- - test/cli/ui_test.rb
187
- - test/cli_test.rb
188
- - test/command_test.rb
189
- - test/configuration/actions/file_transfer_test.rb
190
- - test/configuration/actions/inspect_test.rb
191
- - test/configuration/actions/invocation_test.rb
192
- - test/configuration/alias_task_test.rb
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: '0'
155
+ version: 1.3.1
246
156
  requirements: []
247
- rubygems_version: 3.4.13
248
- signing_key:
249
- specification_version: 3
250
- summary: Capistrano - Welcome to easy deployment with Ruby over SSH
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
- - test/cli/execute_test.rb
253
- - test/cli/help_test.rb
254
- - test/cli/options_test.rb
255
- - test/cli/ui_test.rb
256
- - test/cli_test.rb
257
- - test/command_test.rb
258
- - test/configuration/actions/file_transfer_test.rb
259
- - test/configuration/actions/inspect_test.rb
260
- - test/configuration/actions/invocation_test.rb
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
data/.travis.yml DELETED
@@ -1,9 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 1.9.3
4
- - 2.0.0
5
- - 2.1.1
6
- cache: bundler
7
- branches:
8
- except:
9
- - legacy-v2