capistrano 2.5.18 → 2.5.19

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.5.18
1
+ 2.5.19
@@ -26,7 +26,7 @@ module Capistrano
26
26
  transfer(:up, from, to, options, &block)
27
27
  if mode
28
28
  mode = mode.is_a?(Numeric) ? mode.to_s(8) : mode.to_s
29
- run "chmod #{mode} #{to}"
29
+ run "chmod #{mode} #{to}", options
30
30
  end
31
31
  end
32
32
 
@@ -37,13 +37,13 @@ class ConfigurationActionsFileTransferTest < Test::Unit::TestCase
37
37
 
38
38
  def test_upload_with_mode_should_try_to_chmod
39
39
  @config.expects(:transfer).with(:up, "testl.txt", "testr.txt", :foo => "bar")
40
- @config.expects(:run).with("chmod 775 testr.txt")
40
+ @config.expects(:run).with("chmod 775 testr.txt", {:foo => "bar"})
41
41
  @config.upload("testl.txt", "testr.txt", :mode => 0775, :foo => "bar")
42
42
  end
43
43
 
44
44
  def test_upload_with_symbolic_mode_should_try_to_chmod
45
45
  @config.expects(:transfer).with(:up, "testl.txt", "testr.txt", :foo => "bar")
46
- @config.expects(:run).with("chmod g+w testr.txt")
46
+ @config.expects(:run).with("chmod g+w testr.txt", {:foo => "bar"})
47
47
  @config.upload("testl.txt", "testr.txt", :mode => "g+w", :foo => "bar")
48
48
  end
49
49
 
@@ -58,4 +58,4 @@ class ConfigurationActionsFileTransferTest < Test::Unit::TestCase
58
58
  Capistrano::Transfer.expects(:process).with(:up, "testl.txt", "testr.txt", [1,2,3], {:foo => "bar", :logger => @config.logger})
59
59
  @config.transfer(:up, "testl.txt", "testr.txt", :foo => "bar")
60
60
  end
61
- end
61
+ end
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.18
4
+ prerelease: false
5
+ segments:
6
+ - 2
7
+ - 5
8
+ - 19
9
+ version: 2.5.19
5
10
  platform: ruby
6
11
  authors:
7
12
  - Jamis Buck
@@ -10,69 +15,89 @@ autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
17
 
13
- date: 2010-03-14 00:00:00 +01:00
18
+ date: 2010-06-22 00:00:00 +02:00
14
19
  default_executable:
15
20
  dependencies:
16
21
  - !ruby/object:Gem::Dependency
17
22
  name: net-ssh
18
- type: :runtime
19
- version_requirement:
20
- version_requirements: !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
21
25
  requirements:
22
26
  - - ">="
23
27
  - !ruby/object:Gem::Version
28
+ segments:
29
+ - 2
30
+ - 0
31
+ - 14
24
32
  version: 2.0.14
25
- version:
33
+ type: :runtime
34
+ version_requirements: *id001
26
35
  - !ruby/object:Gem::Dependency
27
36
  name: net-sftp
28
- type: :runtime
29
- version_requirement:
30
- version_requirements: !ruby/object:Gem::Requirement
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
31
39
  requirements:
32
40
  - - ">="
33
41
  - !ruby/object:Gem::Version
42
+ segments:
43
+ - 2
44
+ - 0
45
+ - 0
34
46
  version: 2.0.0
35
- version:
47
+ type: :runtime
48
+ version_requirements: *id002
36
49
  - !ruby/object:Gem::Dependency
37
50
  name: net-scp
38
- type: :runtime
39
- version_requirement:
40
- version_requirements: !ruby/object:Gem::Requirement
51
+ prerelease: false
52
+ requirement: &id003 !ruby/object:Gem::Requirement
41
53
  requirements:
42
54
  - - ">="
43
55
  - !ruby/object:Gem::Version
56
+ segments:
57
+ - 1
58
+ - 0
59
+ - 0
44
60
  version: 1.0.0
45
- version:
61
+ type: :runtime
62
+ version_requirements: *id003
46
63
  - !ruby/object:Gem::Dependency
47
64
  name: net-ssh-gateway
48
- type: :runtime
49
- version_requirement:
50
- version_requirements: !ruby/object:Gem::Requirement
65
+ prerelease: false
66
+ requirement: &id004 !ruby/object:Gem::Requirement
51
67
  requirements:
52
68
  - - ">="
53
69
  - !ruby/object:Gem::Version
70
+ segments:
71
+ - 1
72
+ - 0
73
+ - 0
54
74
  version: 1.0.0
55
- version:
75
+ type: :runtime
76
+ version_requirements: *id004
56
77
  - !ruby/object:Gem::Dependency
57
78
  name: highline
58
- type: :runtime
59
- version_requirement:
60
- version_requirements: !ruby/object:Gem::Requirement
79
+ prerelease: false
80
+ requirement: &id005 !ruby/object:Gem::Requirement
61
81
  requirements:
62
82
  - - ">="
63
83
  - !ruby/object:Gem::Version
84
+ segments:
85
+ - 0
64
86
  version: "0"
65
- version:
87
+ type: :runtime
88
+ version_requirements: *id005
66
89
  - !ruby/object:Gem::Dependency
67
90
  name: mocha
68
- type: :development
69
- version_requirement:
70
- version_requirements: !ruby/object:Gem::Requirement
91
+ prerelease: false
92
+ requirement: &id006 !ruby/object:Gem::Requirement
71
93
  requirements:
72
94
  - - ">="
73
95
  - !ruby/object:Gem::Version
96
+ segments:
97
+ - 0
74
98
  version: "0"
75
- version:
99
+ type: :development
100
+ version_requirements: *id006
76
101
  description: Capistrano is a utility and framework for executing commands in parallel on multiple remote machines, via SSH.
77
102
  email:
78
103
  - jamis@jamisbuck.org
@@ -204,18 +229,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
204
229
  requirements:
205
230
  - - ">="
206
231
  - !ruby/object:Gem::Version
232
+ segments:
233
+ - 0
207
234
  version: "0"
208
- version:
209
235
  required_rubygems_version: !ruby/object:Gem::Requirement
210
236
  requirements:
211
237
  - - ">="
212
238
  - !ruby/object:Gem::Version
239
+ segments:
240
+ - 0
213
241
  version: "0"
214
- version:
215
242
  requirements: []
216
243
 
217
244
  rubyforge_project:
218
- rubygems_version: 1.3.5
245
+ rubygems_version: 1.3.6
219
246
  signing_key:
220
247
  specification_version: 3
221
248
  summary: "Capistrano \xE2\x80\x93 Welcome to easy deployment with Ruby over SSH"