capistrano 3.3.5 → 3.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,11 @@
1
+ task :am_i_root do
2
+ on roles(:all) do |host|
3
+ host.user = 'root'
4
+ ident = capture :id, '-a'
5
+ info "I am #{ident}"
6
+ end
7
+ on roles(:all) do |host|
8
+ ident = capture :id, '-a'
9
+ info "I am #{ident}"
10
+ end
11
+ end
@@ -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.3.5
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: 2014-12-12 00:00:00.000000000 Z
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.2.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