capistrano 3.3.5 → 3.4.0
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.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +36 -2
- data/README.md +30 -287
- data/capistrano.gemspec +0 -1
- data/features/sshconnect.feature +11 -0
- data/features/step_definitions/assertions.rb +6 -2
- data/features/step_definitions/setup.rb +4 -0
- data/lib/capistrano/configuration.rb +5 -1
- data/lib/capistrano/configuration/filter.rb +2 -2
- data/lib/capistrano/configuration/server.rb +15 -53
- data/lib/capistrano/configuration/servers.rb +26 -7
- data/lib/capistrano/deploy.rb +0 -1
- data/lib/capistrano/dsl.rb +2 -2
- data/lib/capistrano/dsl/env.rb +9 -1
- data/lib/capistrano/dsl/paths.rb +1 -1
- data/lib/capistrano/git.rb +1 -1
- data/lib/capistrano/tasks/deploy.rake +0 -1
- data/lib/capistrano/templates/Capfile +1 -1
- data/lib/capistrano/templates/deploy.rb.erb +3 -3
- data/lib/capistrano/templates/stage.rb.erb +31 -15
- data/lib/capistrano/version.rb +1 -1
- data/spec/integration/dsl_spec.rb +86 -113
- data/spec/lib/capistrano/configuration/filter_spec.rb +9 -3
- data/spec/lib/capistrano/configuration/server_spec.rb +34 -3
- data/spec/lib/capistrano/configuration/servers_spec.rb +37 -1
- data/spec/lib/capistrano/configuration_spec.rb +11 -0
- data/spec/lib/capistrano/dsl/paths_spec.rb +162 -41
- data/spec/support/Vagrantfile +17 -6
- data/spec/support/tasks/root.rake +11 -0
- data/spec/support/test_app.rb +1 -1
- metadata +7 -17
data/spec/support/test_app.rb
CHANGED
@@ -13,7 +13,7 @@ module TestApp
|
|
13
13
|
set :deploy_to, '#{deploy_to}'
|
14
14
|
set :repo_url, 'git://github.com/capistrano/capistrano.git'
|
15
15
|
set :branch, 'master'
|
16
|
-
set :ssh_options, { keys: "\#{ENV['HOME']}/.vagrant.d/insecure_private_key" }
|
16
|
+
set :ssh_options, { keys: "\#{ENV['HOME']}/.vagrant.d/insecure_private_key", auth_methods: ['publickey'] }
|
17
17
|
server 'vagrant@localhost:2220', roles: %w{web app}
|
18
18
|
set :linked_files, #{linked_files}
|
19
19
|
set :linked_dirs, #{linked_dirs}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Clements
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2015-03-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sshkit
|
@@ -25,20 +25,6 @@ dependencies:
|
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '1.3'
|
28
|
-
- !ruby/object:Gem::Dependency
|
29
|
-
name: capistrano-stats
|
30
|
-
requirement: !ruby/object:Gem::Requirement
|
31
|
-
requirements:
|
32
|
-
- - "~>"
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: 1.1.0
|
35
|
-
type: :runtime
|
36
|
-
prerelease: false
|
37
|
-
version_requirements: !ruby/object:Gem::Requirement
|
38
|
-
requirements:
|
39
|
-
- - "~>"
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
version: 1.1.0
|
42
28
|
- !ruby/object:Gem::Dependency
|
43
29
|
name: rake
|
44
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,6 +108,7 @@ files:
|
|
122
108
|
- features/deploy_failure.feature
|
123
109
|
- features/installation.feature
|
124
110
|
- features/remote_file_task.feature
|
111
|
+
- features/sshconnect.feature
|
125
112
|
- features/step_definitions/assertions.rb
|
126
113
|
- features/step_definitions/cap_commands.rb
|
127
114
|
- features/step_definitions/setup.rb
|
@@ -192,6 +179,7 @@ files:
|
|
192
179
|
- spec/support/tasks/database.rake
|
193
180
|
- spec/support/tasks/fail.rake
|
194
181
|
- spec/support/tasks/failed.rake
|
182
|
+
- spec/support/tasks/root.rake
|
195
183
|
- spec/support/test_app.rb
|
196
184
|
homepage: http://capistranorb.com/
|
197
185
|
licenses:
|
@@ -218,7 +206,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
218
206
|
version: '0'
|
219
207
|
requirements: []
|
220
208
|
rubyforge_project:
|
221
|
-
rubygems_version: 2.
|
209
|
+
rubygems_version: 2.4.3
|
222
210
|
signing_key:
|
223
211
|
specification_version: 4
|
224
212
|
summary: Capistrano - Welcome to easy deployment with Ruby over SSH
|
@@ -228,6 +216,7 @@ test_files:
|
|
228
216
|
- features/deploy_failure.feature
|
229
217
|
- features/installation.feature
|
230
218
|
- features/remote_file_task.feature
|
219
|
+
- features/sshconnect.feature
|
231
220
|
- features/step_definitions/assertions.rb
|
232
221
|
- features/step_definitions/cap_commands.rb
|
233
222
|
- features/step_definitions/setup.rb
|
@@ -259,4 +248,5 @@ test_files:
|
|
259
248
|
- spec/support/tasks/database.rake
|
260
249
|
- spec/support/tasks/fail.rake
|
261
250
|
- spec/support/tasks/failed.rake
|
251
|
+
- spec/support/tasks/root.rake
|
262
252
|
- spec/support/test_app.rb
|