HeSYINUvSBZfxqA-capistrano 2.5.27 → 2.5.28

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- HeSYINUvSBZfxqA-capistrano (2.5.27)
4
+ HeSYINUvSBZfxqA-capistrano (2.5.28)
5
5
  highline
6
6
  net-scp (>= 1.0.0)
7
7
  net-sftp (>= 2.0.0)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.5.27
1
+ 2.5.28
@@ -151,7 +151,7 @@ module Capistrano
151
151
  end
152
152
 
153
153
  servers = [servers.first] if options[:once]
154
- logger.debug "* * * on: #{servers.map { |s| s.host }.sort.join(", ")}"
154
+ logger.debugx "on #{servers.map { |s| s.host }.sort.join(" ")}"
155
155
 
156
156
  max_hosts = (options[:max_hosts] || (task && task.max_hosts) || servers.size).to_i
157
157
  is_subset = max_hosts < servers.size
@@ -5,10 +5,11 @@ module Capistrano
5
5
 
6
6
  IMPORTANT = 0
7
7
  INFO = 1
8
- DEBUG = 2
9
- TRACE = 3
8
+ DEBUG1 = 2
9
+ DEBUG = 3
10
+ TRACE = 4
10
11
 
11
- MAX_LEVEL = 3
12
+ MAX_LEVEL = 4
12
13
 
13
14
  def initialize(options={})
14
15
  output = options[:output] || $stderr
@@ -49,6 +50,10 @@ module Capistrano
49
50
  end
50
51
 
51
52
  def debug(message, line_prefix=nil)
53
+ log(DEBUG1, message, line_prefix)
54
+ end
55
+
56
+ def debugx(message, line_prefix=nil)
52
57
  log(DEBUG, message, line_prefix)
53
58
  end
54
59
 
@@ -98,7 +98,7 @@ end
98
98
  # logs the command then executes it locally.
99
99
  # returns the command output as a string
100
100
  def run_locally(cmd)
101
- logger.debug "executing locally: #{cmd.inspect}" if logger
101
+ logger.debugx "executing locally: #{cmd.inspect}" if logger
102
102
  output_on_stdout = nil
103
103
  elapsed = Benchmark.realtime do
104
104
  output_on_stdout = `#{cmd}`
@@ -55,12 +55,12 @@ module Capistrano
55
55
  cmd = cmd.split(/\s+/).collect {|w| w.match(/^[\w+]+:\/\//) ? w : w.gsub('/', '\\') }.join(' ') # Split command by spaces, change / by \\ unless element is a some+thing://
56
56
  cmd.gsub!(/^cd /,'cd /D ') # Replace cd with cd /D
57
57
  cmd.gsub!(/&& cd /,'&& cd /D ') # Replace cd with cd /D
58
- logger.debug "executing locally: #{cmd}"
58
+ logger.debugx "executing locally: #{cmd}"
59
59
  elapsed = Benchmark.realtime do
60
60
  result = super(cmd)
61
61
  end
62
62
  else
63
- logger.debug "executing locally: #{cmd}"
63
+ logger.debugx "executing locally: #{cmd}"
64
64
  elapsed = Benchmark.realtime do
65
65
  result = super
66
66
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: HeSYINUvSBZfxqA-capistrano
3
3
  version: !ruby/object:Gem::Version
4
- hash: 45
4
+ hash: 35
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 5
9
- - 27
10
- version: 2.5.27
9
+ - 28
10
+ version: 2.5.28
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jamis Buck
@@ -16,8 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-03-22 00:00:00 +00:00
20
- default_executable:
19
+ date: 2011-03-22 00:00:00 Z
21
20
  dependencies:
22
21
  - !ruby/object:Gem::Dependency
23
22
  name: highline
@@ -253,7 +252,6 @@ files:
253
252
  - vendor/cache/net-sftp-2.0.5.gem
254
253
  - vendor/cache/net-ssh-2.3.0.gem
255
254
  - vendor/cache/net-ssh-gateway-1.1.0.gem
256
- has_rdoc: true
257
255
  homepage: http://github.com/capistrano/capistrano
258
256
  licenses: []
259
257
 
@@ -283,9 +281,49 @@ required_rubygems_version: !ruby/object:Gem::Requirement
283
281
  requirements: []
284
282
 
285
283
  rubyforge_project:
286
- rubygems_version: 1.5.3
284
+ rubygems_version: 1.8.21
287
285
  signing_key:
288
286
  specification_version: 3
289
287
  summary: Capistrano - Welcome to easy deployment with Ruby over SSH
290
- test_files: []
291
-
288
+ test_files:
289
+ - test/cli/execute_test.rb
290
+ - test/cli/help_test.rb
291
+ - test/cli/options_test.rb
292
+ - test/cli/ui_test.rb
293
+ - test/cli_test.rb
294
+ - test/command_test.rb
295
+ - test/configuration/actions/file_transfer_test.rb
296
+ - test/configuration/actions/inspect_test.rb
297
+ - test/configuration/actions/invocation_test.rb
298
+ - test/configuration/callbacks_test.rb
299
+ - test/configuration/connections_test.rb
300
+ - test/configuration/execution_test.rb
301
+ - test/configuration/loading_test.rb
302
+ - test/configuration/namespace_dsl_test.rb
303
+ - test/configuration/roles_test.rb
304
+ - test/configuration/servers_test.rb
305
+ - test/configuration/variables_test.rb
306
+ - test/configuration_test.rb
307
+ - test/deploy/local_dependency_test.rb
308
+ - test/deploy/remote_dependency_test.rb
309
+ - test/deploy/scm/accurev_test.rb
310
+ - test/deploy/scm/base_test.rb
311
+ - test/deploy/scm/bzr_test.rb
312
+ - test/deploy/scm/darcs_test.rb
313
+ - test/deploy/scm/git_test.rb
314
+ - test/deploy/scm/mercurial_test.rb
315
+ - test/deploy/scm/none_test.rb
316
+ - test/deploy/scm/subversion_test.rb
317
+ - test/deploy/strategy/copy_test.rb
318
+ - test/extensions_test.rb
319
+ - test/fixtures/cli_integration.rb
320
+ - test/fixtures/config.rb
321
+ - test/fixtures/custom.rb
322
+ - test/logger_test.rb
323
+ - test/role_test.rb
324
+ - test/server_definition_test.rb
325
+ - test/shell_test.rb
326
+ - test/ssh_test.rb
327
+ - test/task_definition_test.rb
328
+ - test/transfer_test.rb
329
+ - test/utils.rb