le1t0-capistrano 2.5.18.018 → 2.5.18.019

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.018
1
+ 2.5.18.019
@@ -1,15 +1,15 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{le1t0-capistrano}
8
- s.version = "2.5.18.018"
8
+ s.version = "2.5.18.019"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Le1t0"]
12
- s.date = %q{2010-08-20}
12
+ s.date = %q{2010-12-07}
13
13
  s.description = %q{Capistrano is a utility and framework for executing commands in parallel on multiple remote machines, via SSH.}
14
14
  s.email = ["dev@ewout.to"]
15
15
  s.executables = ["capify", "cap"]
@@ -17,170 +17,168 @@ Gem::Specification.new do |s|
17
17
  "README"
18
18
  ]
19
19
  s.files = [
20
- ".gitignore",
21
- "CHANGELOG",
22
- "README",
23
- "Rakefile",
24
- "VERSION",
25
- "bin/cap",
26
- "bin/capify",
27
- "le1t0-capistrano.gemspec",
28
- "lib/capistrano.rb",
29
- "lib/capistrano/callback.rb",
30
- "lib/capistrano/cli.rb",
31
- "lib/capistrano/cli/execute.rb",
32
- "lib/capistrano/cli/help.rb",
33
- "lib/capistrano/cli/help.txt",
34
- "lib/capistrano/cli/options.rb",
35
- "lib/capistrano/cli/tee_io.rb",
36
- "lib/capistrano/cli/ui.rb",
37
- "lib/capistrano/command.rb",
38
- "lib/capistrano/configuration.rb",
39
- "lib/capistrano/configuration/actions/file_transfer.rb",
40
- "lib/capistrano/configuration/actions/inspect.rb",
41
- "lib/capistrano/configuration/actions/invocation.rb",
42
- "lib/capistrano/configuration/callbacks.rb",
43
- "lib/capistrano/configuration/connections.rb",
44
- "lib/capistrano/configuration/execution.rb",
45
- "lib/capistrano/configuration/loading.rb",
46
- "lib/capistrano/configuration/namespaces.rb",
47
- "lib/capistrano/configuration/roles.rb",
48
- "lib/capistrano/configuration/servers.rb",
49
- "lib/capistrano/configuration/variables.rb",
50
- "lib/capistrano/errors.rb",
51
- "lib/capistrano/extensions.rb",
52
- "lib/capistrano/logger.rb",
53
- "lib/capistrano/multistage.rb",
54
- "lib/capistrano/processable.rb",
55
- "lib/capistrano/recipes/compat.rb",
56
- "lib/capistrano/recipes/deploy.rb",
57
- "lib/capistrano/recipes/deploy/dependencies.rb",
58
- "lib/capistrano/recipes/deploy/local_dependency.rb",
59
- "lib/capistrano/recipes/deploy/remote_dependency.rb",
60
- "lib/capistrano/recipes/deploy/scm.rb",
61
- "lib/capistrano/recipes/deploy/scm/accurev.rb",
62
- "lib/capistrano/recipes/deploy/scm/base.rb",
63
- "lib/capistrano/recipes/deploy/scm/bzr.rb",
64
- "lib/capistrano/recipes/deploy/scm/cvs.rb",
65
- "lib/capistrano/recipes/deploy/scm/darcs.rb",
66
- "lib/capistrano/recipes/deploy/scm/git.rb",
67
- "lib/capistrano/recipes/deploy/scm/mercurial.rb",
68
- "lib/capistrano/recipes/deploy/scm/none.rb",
69
- "lib/capistrano/recipes/deploy/scm/perforce.rb",
70
- "lib/capistrano/recipes/deploy/scm/subversion.rb",
71
- "lib/capistrano/recipes/deploy/strategy.rb",
72
- "lib/capistrano/recipes/deploy/strategy/base.rb",
73
- "lib/capistrano/recipes/deploy/strategy/checkout.rb",
74
- "lib/capistrano/recipes/deploy/strategy/copy.rb",
75
- "lib/capistrano/recipes/deploy/strategy/export.rb",
76
- "lib/capistrano/recipes/deploy/strategy/remote.rb",
77
- "lib/capistrano/recipes/deploy/strategy/remote_cache.rb",
78
- "lib/capistrano/recipes/deploy/templates/maintenance.rhtml",
79
- "lib/capistrano/recipes/standard.rb",
80
- "lib/capistrano/recipes/templates/maintenance.rhtml",
81
- "lib/capistrano/role.rb",
82
- "lib/capistrano/server_definition.rb",
83
- "lib/capistrano/shell.rb",
84
- "lib/capistrano/ssh.rb",
85
- "lib/capistrano/task_definition.rb",
86
- "lib/capistrano/transfer.rb",
87
- "lib/capistrano/version.rb",
88
- "test/cli/execute_test.rb",
89
- "test/cli/help_test.rb",
90
- "test/cli/options_test.rb",
91
- "test/cli/ui_test.rb",
92
- "test/cli_test.rb",
93
- "test/command_test.rb",
94
- "test/configuration/actions/file_transfer_test.rb",
95
- "test/configuration/actions/inspect_test.rb",
96
- "test/configuration/actions/invocation_test.rb",
97
- "test/configuration/callbacks_test.rb",
98
- "test/configuration/connections_test.rb",
99
- "test/configuration/execution_test.rb",
100
- "test/configuration/loading_test.rb",
101
- "test/configuration/namespace_dsl_test.rb",
102
- "test/configuration/roles_test.rb",
103
- "test/configuration/servers_test.rb",
104
- "test/configuration/variables_test.rb",
105
- "test/configuration_test.rb",
106
- "test/deploy/local_dependency_test.rb",
107
- "test/deploy/remote_dependency_test.rb",
108
- "test/deploy/scm/accurev_test.rb",
109
- "test/deploy/scm/base_test.rb",
110
- "test/deploy/scm/bzr_test.rb",
111
- "test/deploy/scm/darcs_test.rb",
112
- "test/deploy/scm/git_test.rb",
113
- "test/deploy/scm/mercurial_test.rb",
114
- "test/deploy/scm/none_test.rb",
115
- "test/deploy/scm/subversion_test.rb",
116
- "test/deploy/strategy/copy_test.rb",
117
- "test/extensions_test.rb",
118
- "test/fixtures/cli_integration.rb",
119
- "test/fixtures/config.rb",
120
- "test/fixtures/custom.rb",
121
- "test/logger_test.rb",
122
- "test/role_test.rb",
123
- "test/server_definition_test.rb",
124
- "test/shell_test.rb",
125
- "test/ssh_test.rb",
126
- "test/task_definition_test.rb",
127
- "test/transfer_test.rb",
128
- "test/utils.rb"
20
+ "CHANGELOG",
21
+ "README",
22
+ "Rakefile",
23
+ "VERSION",
24
+ "bin/cap",
25
+ "bin/capify",
26
+ "le1t0-capistrano.gemspec",
27
+ "lib/capistrano.rb",
28
+ "lib/capistrano/callback.rb",
29
+ "lib/capistrano/cli.rb",
30
+ "lib/capistrano/cli/execute.rb",
31
+ "lib/capistrano/cli/help.rb",
32
+ "lib/capistrano/cli/help.txt",
33
+ "lib/capistrano/cli/options.rb",
34
+ "lib/capistrano/cli/tee_io.rb",
35
+ "lib/capistrano/cli/ui.rb",
36
+ "lib/capistrano/command.rb",
37
+ "lib/capistrano/configuration.rb",
38
+ "lib/capistrano/configuration/actions/file_transfer.rb",
39
+ "lib/capistrano/configuration/actions/inspect.rb",
40
+ "lib/capistrano/configuration/actions/invocation.rb",
41
+ "lib/capistrano/configuration/callbacks.rb",
42
+ "lib/capistrano/configuration/connections.rb",
43
+ "lib/capistrano/configuration/execution.rb",
44
+ "lib/capistrano/configuration/loading.rb",
45
+ "lib/capistrano/configuration/namespaces.rb",
46
+ "lib/capistrano/configuration/roles.rb",
47
+ "lib/capistrano/configuration/servers.rb",
48
+ "lib/capistrano/configuration/variables.rb",
49
+ "lib/capistrano/errors.rb",
50
+ "lib/capistrano/extensions.rb",
51
+ "lib/capistrano/logger.rb",
52
+ "lib/capistrano/multistage.rb",
53
+ "lib/capistrano/processable.rb",
54
+ "lib/capistrano/recipes/compat.rb",
55
+ "lib/capistrano/recipes/deploy.rb",
56
+ "lib/capistrano/recipes/deploy/dependencies.rb",
57
+ "lib/capistrano/recipes/deploy/local_dependency.rb",
58
+ "lib/capistrano/recipes/deploy/remote_dependency.rb",
59
+ "lib/capistrano/recipes/deploy/scm.rb",
60
+ "lib/capistrano/recipes/deploy/scm/accurev.rb",
61
+ "lib/capistrano/recipes/deploy/scm/base.rb",
62
+ "lib/capistrano/recipes/deploy/scm/bzr.rb",
63
+ "lib/capistrano/recipes/deploy/scm/cvs.rb",
64
+ "lib/capistrano/recipes/deploy/scm/darcs.rb",
65
+ "lib/capistrano/recipes/deploy/scm/git.rb",
66
+ "lib/capistrano/recipes/deploy/scm/mercurial.rb",
67
+ "lib/capistrano/recipes/deploy/scm/none.rb",
68
+ "lib/capistrano/recipes/deploy/scm/perforce.rb",
69
+ "lib/capistrano/recipes/deploy/scm/subversion.rb",
70
+ "lib/capistrano/recipes/deploy/strategy.rb",
71
+ "lib/capistrano/recipes/deploy/strategy/base.rb",
72
+ "lib/capistrano/recipes/deploy/strategy/checkout.rb",
73
+ "lib/capistrano/recipes/deploy/strategy/copy.rb",
74
+ "lib/capistrano/recipes/deploy/strategy/export.rb",
75
+ "lib/capistrano/recipes/deploy/strategy/remote.rb",
76
+ "lib/capistrano/recipes/deploy/strategy/remote_cache.rb",
77
+ "lib/capistrano/recipes/deploy/templates/maintenance.rhtml",
78
+ "lib/capistrano/recipes/standard.rb",
79
+ "lib/capistrano/recipes/templates/maintenance.rhtml",
80
+ "lib/capistrano/role.rb",
81
+ "lib/capistrano/server_definition.rb",
82
+ "lib/capistrano/shell.rb",
83
+ "lib/capistrano/ssh.rb",
84
+ "lib/capistrano/task_definition.rb",
85
+ "lib/capistrano/transfer.rb",
86
+ "lib/capistrano/version.rb",
87
+ "test/cli/execute_test.rb",
88
+ "test/cli/help_test.rb",
89
+ "test/cli/options_test.rb",
90
+ "test/cli/ui_test.rb",
91
+ "test/cli_test.rb",
92
+ "test/command_test.rb",
93
+ "test/configuration/actions/file_transfer_test.rb",
94
+ "test/configuration/actions/inspect_test.rb",
95
+ "test/configuration/actions/invocation_test.rb",
96
+ "test/configuration/callbacks_test.rb",
97
+ "test/configuration/connections_test.rb",
98
+ "test/configuration/execution_test.rb",
99
+ "test/configuration/loading_test.rb",
100
+ "test/configuration/namespace_dsl_test.rb",
101
+ "test/configuration/roles_test.rb",
102
+ "test/configuration/servers_test.rb",
103
+ "test/configuration/variables_test.rb",
104
+ "test/configuration_test.rb",
105
+ "test/deploy/local_dependency_test.rb",
106
+ "test/deploy/remote_dependency_test.rb",
107
+ "test/deploy/scm/accurev_test.rb",
108
+ "test/deploy/scm/base_test.rb",
109
+ "test/deploy/scm/bzr_test.rb",
110
+ "test/deploy/scm/darcs_test.rb",
111
+ "test/deploy/scm/git_test.rb",
112
+ "test/deploy/scm/mercurial_test.rb",
113
+ "test/deploy/scm/none_test.rb",
114
+ "test/deploy/scm/subversion_test.rb",
115
+ "test/deploy/strategy/copy_test.rb",
116
+ "test/extensions_test.rb",
117
+ "test/fixtures/cli_integration.rb",
118
+ "test/fixtures/config.rb",
119
+ "test/fixtures/custom.rb",
120
+ "test/logger_test.rb",
121
+ "test/role_test.rb",
122
+ "test/server_definition_test.rb",
123
+ "test/shell_test.rb",
124
+ "test/ssh_test.rb",
125
+ "test/task_definition_test.rb",
126
+ "test/transfer_test.rb",
127
+ "test/utils.rb"
129
128
  ]
130
129
  s.homepage = %q{http://github.com/le1t0/capistrano}
131
- s.rdoc_options = ["--charset=UTF-8"]
132
130
  s.require_paths = ["lib"]
133
- s.rubygems_version = %q{1.3.6}
131
+ s.rubygems_version = %q{1.3.7}
134
132
  s.summary = %q{Capistrano – Welcome to easy deployment with Ruby over SSH}
135
133
  s.test_files = [
136
134
  "test/cli/execute_test.rb",
137
- "test/cli/help_test.rb",
138
- "test/cli/options_test.rb",
139
- "test/cli/ui_test.rb",
140
- "test/cli_test.rb",
141
- "test/command_test.rb",
142
- "test/configuration/actions/file_transfer_test.rb",
143
- "test/configuration/actions/inspect_test.rb",
144
- "test/configuration/actions/invocation_test.rb",
145
- "test/configuration/callbacks_test.rb",
146
- "test/configuration/connections_test.rb",
147
- "test/configuration/execution_test.rb",
148
- "test/configuration/loading_test.rb",
149
- "test/configuration/namespace_dsl_test.rb",
150
- "test/configuration/roles_test.rb",
151
- "test/configuration/servers_test.rb",
152
- "test/configuration/variables_test.rb",
153
- "test/configuration_test.rb",
154
- "test/deploy/local_dependency_test.rb",
155
- "test/deploy/remote_dependency_test.rb",
156
- "test/deploy/scm/accurev_test.rb",
157
- "test/deploy/scm/base_test.rb",
158
- "test/deploy/scm/bzr_test.rb",
159
- "test/deploy/scm/darcs_test.rb",
160
- "test/deploy/scm/git_test.rb",
161
- "test/deploy/scm/mercurial_test.rb",
162
- "test/deploy/scm/none_test.rb",
163
- "test/deploy/scm/subversion_test.rb",
164
- "test/deploy/strategy/copy_test.rb",
165
- "test/extensions_test.rb",
166
- "test/fixtures/cli_integration.rb",
167
- "test/fixtures/config.rb",
168
- "test/fixtures/custom.rb",
169
- "test/logger_test.rb",
170
- "test/role_test.rb",
171
- "test/server_definition_test.rb",
172
- "test/shell_test.rb",
173
- "test/ssh_test.rb",
174
- "test/task_definition_test.rb",
175
- "test/transfer_test.rb",
176
- "test/utils.rb"
135
+ "test/cli/help_test.rb",
136
+ "test/cli/options_test.rb",
137
+ "test/cli/ui_test.rb",
138
+ "test/cli_test.rb",
139
+ "test/command_test.rb",
140
+ "test/configuration/actions/file_transfer_test.rb",
141
+ "test/configuration/actions/inspect_test.rb",
142
+ "test/configuration/actions/invocation_test.rb",
143
+ "test/configuration/callbacks_test.rb",
144
+ "test/configuration/connections_test.rb",
145
+ "test/configuration/execution_test.rb",
146
+ "test/configuration/loading_test.rb",
147
+ "test/configuration/namespace_dsl_test.rb",
148
+ "test/configuration/roles_test.rb",
149
+ "test/configuration/servers_test.rb",
150
+ "test/configuration/variables_test.rb",
151
+ "test/configuration_test.rb",
152
+ "test/deploy/local_dependency_test.rb",
153
+ "test/deploy/remote_dependency_test.rb",
154
+ "test/deploy/scm/accurev_test.rb",
155
+ "test/deploy/scm/base_test.rb",
156
+ "test/deploy/scm/bzr_test.rb",
157
+ "test/deploy/scm/darcs_test.rb",
158
+ "test/deploy/scm/git_test.rb",
159
+ "test/deploy/scm/mercurial_test.rb",
160
+ "test/deploy/scm/none_test.rb",
161
+ "test/deploy/scm/subversion_test.rb",
162
+ "test/deploy/strategy/copy_test.rb",
163
+ "test/extensions_test.rb",
164
+ "test/fixtures/cli_integration.rb",
165
+ "test/fixtures/config.rb",
166
+ "test/fixtures/custom.rb",
167
+ "test/logger_test.rb",
168
+ "test/role_test.rb",
169
+ "test/server_definition_test.rb",
170
+ "test/shell_test.rb",
171
+ "test/ssh_test.rb",
172
+ "test/task_definition_test.rb",
173
+ "test/transfer_test.rb",
174
+ "test/utils.rb"
177
175
  ]
178
176
 
179
177
  if s.respond_to? :specification_version then
180
178
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
181
179
  s.specification_version = 3
182
180
 
183
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
181
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
184
182
  s.add_runtime_dependency(%q<net-ssh>, [">= 2.0.14"])
185
183
  s.add_runtime_dependency(%q<net-sftp>, [">= 2.0.0"])
186
184
  s.add_runtime_dependency(%q<net-scp>, [">= 1.0.0"])
@@ -190,7 +190,7 @@ module Capistrano
190
190
  if proc.is_a?(Proc)
191
191
  from_string = proc.call(from.is_a?(StringIO) ? from.string : from, session.xserver.host)
192
192
  from = File.exist?(from_string) || from_string.is_a?(StringIO) ? from_string : StringIO.new(from_string.to_s)
193
- elsif direction == :up && from.is_a?(StringIO) && from.string =~ /%\{host\}/
193
+ elsif direction == :up && from.is_a?(StringIO) && (from.string.respond_to(:force_encoding) ? from.string.force_encoding('binary') =~ /%\{host\}/ : from.string =~ /%\{host\}/)
194
194
  from_string = from.string.gsub(/%\{host\}/, session.xserver.host)
195
195
  from = File.exist?(from_string) || from_string.is_a?(StringIO) ? from_string : StringIO.new(from_string.to_s)
196
196
  end
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: le1t0-capistrano
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 41
4
5
  prerelease: false
5
6
  segments:
6
7
  - 2
7
8
  - 5
8
9
  - 18
9
- - 18
10
- version: 2.5.18.018
10
+ - 19
11
+ version: 2.5.18.019
11
12
  platform: ruby
12
13
  authors:
13
14
  - Le1t0
@@ -15,16 +16,18 @@ autorequire:
15
16
  bindir: bin
16
17
  cert_chain: []
17
18
 
18
- date: 2010-08-20 00:00:00 +02:00
19
+ date: 2010-12-07 00:00:00 +01:00
19
20
  default_executable:
20
21
  dependencies:
21
22
  - !ruby/object:Gem::Dependency
22
23
  name: net-ssh
23
24
  prerelease: false
24
25
  requirement: &id001 !ruby/object:Gem::Requirement
26
+ none: false
25
27
  requirements:
26
28
  - - ">="
27
29
  - !ruby/object:Gem::Version
30
+ hash: 19
28
31
  segments:
29
32
  - 2
30
33
  - 0
@@ -36,9 +39,11 @@ dependencies:
36
39
  name: net-sftp
37
40
  prerelease: false
38
41
  requirement: &id002 !ruby/object:Gem::Requirement
42
+ none: false
39
43
  requirements:
40
44
  - - ">="
41
45
  - !ruby/object:Gem::Version
46
+ hash: 15
42
47
  segments:
43
48
  - 2
44
49
  - 0
@@ -50,9 +55,11 @@ dependencies:
50
55
  name: net-scp
51
56
  prerelease: false
52
57
  requirement: &id003 !ruby/object:Gem::Requirement
58
+ none: false
53
59
  requirements:
54
60
  - - ">="
55
61
  - !ruby/object:Gem::Version
62
+ hash: 23
56
63
  segments:
57
64
  - 1
58
65
  - 0
@@ -64,9 +71,11 @@ dependencies:
64
71
  name: net-ssh-gateway
65
72
  prerelease: false
66
73
  requirement: &id004 !ruby/object:Gem::Requirement
74
+ none: false
67
75
  requirements:
68
76
  - - ">="
69
77
  - !ruby/object:Gem::Version
78
+ hash: 23
70
79
  segments:
71
80
  - 1
72
81
  - 0
@@ -78,9 +87,11 @@ dependencies:
78
87
  name: highline
79
88
  prerelease: false
80
89
  requirement: &id005 !ruby/object:Gem::Requirement
90
+ none: false
81
91
  requirements:
82
92
  - - ">="
83
93
  - !ruby/object:Gem::Version
94
+ hash: 3
84
95
  segments:
85
96
  - 0
86
97
  version: "0"
@@ -90,9 +101,11 @@ dependencies:
90
101
  name: mocha
91
102
  prerelease: false
92
103
  requirement: &id006 !ruby/object:Gem::Requirement
104
+ none: false
93
105
  requirements:
94
106
  - - ">="
95
107
  - !ruby/object:Gem::Version
108
+ hash: 3
96
109
  segments:
97
110
  - 0
98
111
  version: "0"
@@ -109,7 +122,6 @@ extensions: []
109
122
  extra_rdoc_files:
110
123
  - README
111
124
  files:
112
- - .gitignore
113
125
  - CHANGELOG
114
126
  - README
115
127
  - Rakefile
@@ -223,28 +235,32 @@ homepage: http://github.com/le1t0/capistrano
223
235
  licenses: []
224
236
 
225
237
  post_install_message:
226
- rdoc_options:
227
- - --charset=UTF-8
238
+ rdoc_options: []
239
+
228
240
  require_paths:
229
241
  - lib
230
242
  required_ruby_version: !ruby/object:Gem::Requirement
243
+ none: false
231
244
  requirements:
232
245
  - - ">="
233
246
  - !ruby/object:Gem::Version
247
+ hash: 3
234
248
  segments:
235
249
  - 0
236
250
  version: "0"
237
251
  required_rubygems_version: !ruby/object:Gem::Requirement
252
+ none: false
238
253
  requirements:
239
254
  - - ">="
240
255
  - !ruby/object:Gem::Version
256
+ hash: 3
241
257
  segments:
242
258
  - 0
243
259
  version: "0"
244
260
  requirements: []
245
261
 
246
262
  rubyforge_project:
247
- rubygems_version: 1.3.6
263
+ rubygems_version: 1.3.7
248
264
  signing_key:
249
265
  specification_version: 3
250
266
  summary: "Capistrano \xE2\x80\x93 Welcome to easy deployment with Ruby over SSH"
data/.gitignore DELETED
@@ -1,11 +0,0 @@
1
- coverage
2
- doc
3
- pkg
4
- *.swp
5
- *.patch
6
- *.gem
7
- *.sh
8
- .DS_Store
9
- capistrano.gemspec
10
- le1t0-capistrano.gemspec
11
- pkg/*