capistrano_colors 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest +2 -2
- data/Rakefile +1 -1
- data/capistrano_colors.gemspec +4 -6
- data/lib/capistrano/logger.rb +4 -3
- metadata +6 -27
- data.tar.gz.sig +0 -2
- metadata.gz.sig +0 -1
data/Manifest
CHANGED
data/Rakefile
CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
|
|
2
2
|
require 'rake'
|
3
3
|
require 'echoe'
|
4
4
|
|
5
|
-
Echoe.new('capistrano_colors', '0.5.
|
5
|
+
Echoe.new('capistrano_colors', '0.5.2') do |p|
|
6
6
|
p.description = "Simple gem to display colors in capistrano output."
|
7
7
|
p.url = "http://github.com/stjernstrom/capistrano_colors"
|
8
8
|
p.author = "Mathias Stjernstrom"
|
data/capistrano_colors.gemspec
CHANGED
@@ -2,22 +2,20 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{capistrano_colors}
|
5
|
-
s.version = "0.5.
|
5
|
+
s.version = "0.5.2"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Mathias Stjernstrom"]
|
9
|
-
s.
|
10
|
-
s.date = %q{2009-08-10}
|
9
|
+
s.date = %q{2010-03-09}
|
11
10
|
s.description = %q{Simple gem to display colors in capistrano output.}
|
12
11
|
s.email = %q{mathias@globalinn.com}
|
13
|
-
s.extra_rdoc_files = ["lib/capistrano/configuration.rb", "lib/capistrano/logger.rb", "lib/capistrano_colors.rb"
|
14
|
-
s.files = ["lib/capistrano/configuration.rb", "lib/capistrano/logger.rb", "lib/capistrano_colors.rb", "
|
12
|
+
s.extra_rdoc_files = ["README.rdoc", "lib/capistrano/configuration.rb", "lib/capistrano/logger.rb", "lib/capistrano_colors.rb"]
|
13
|
+
s.files = ["README.rdoc", "Rakefile", "lib/capistrano/configuration.rb", "lib/capistrano/logger.rb", "lib/capistrano_colors.rb", "Manifest", "capistrano_colors.gemspec"]
|
15
14
|
s.homepage = %q{http://github.com/stjernstrom/capistrano_colors}
|
16
15
|
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Capistrano_colors", "--main", "README.rdoc"]
|
17
16
|
s.require_paths = ["lib"]
|
18
17
|
s.rubyforge_project = %q{capistranocolor}
|
19
18
|
s.rubygems_version = %q{1.3.5}
|
20
|
-
s.signing_key = %q{/Users/mathias/.ssh/gem-private_key.pem}
|
21
19
|
s.summary = %q{Simple gem to display colors in capistrano output.}
|
22
20
|
|
23
21
|
if s.respond_to? :specification_version then
|
data/lib/capistrano/logger.rb
CHANGED
@@ -50,8 +50,9 @@ module Capistrano
|
|
50
50
|
if color != :hide
|
51
51
|
current_color = CAP_COLORS[color]
|
52
52
|
current_attribute = CAP_ATTRIBUTES[attribute]
|
53
|
-
|
54
|
-
|
53
|
+
|
54
|
+
line_prefix = colorize(line_prefix.to_s, current_color, current_attribute, nil) unless line_prefix.nil?
|
55
|
+
org_log(level, colorize(message, current_color, current_attribute), line_prefix)
|
55
56
|
end
|
56
57
|
|
57
58
|
end
|
@@ -67,4 +68,4 @@ module Capistrano
|
|
67
68
|
|
68
69
|
end
|
69
70
|
|
70
|
-
end
|
71
|
+
end
|
metadata
CHANGED
@@ -1,36 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano_colors
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mathias Stjernstrom
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
- |
|
12
|
-
-----BEGIN CERTIFICATE-----
|
13
|
-
MIIDODCCAiCgAwIBAgIBADANBgkqhkiG9w0BAQUFADBCMRAwDgYDVQQDDAdtYXRo
|
14
|
-
aWFzMRkwFwYKCZImiZPyLGQBGRYJZ2xvYmFsaW5u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l7mMoi3gw9k2LpQiJLrBrMA7KDgwefuPc46/J4uwcK18Byg
|
30
|
-
snErBd/zMF/MOW0s
|
31
|
-
-----END CERTIFICATE-----
|
10
|
+
cert_chain: []
|
32
11
|
|
33
|
-
date:
|
12
|
+
date: 2010-03-09 00:00:00 +01:00
|
34
13
|
default_executable:
|
35
14
|
dependencies:
|
36
15
|
- !ruby/object:Gem::Dependency
|
@@ -50,16 +29,16 @@ executables: []
|
|
50
29
|
extensions: []
|
51
30
|
|
52
31
|
extra_rdoc_files:
|
32
|
+
- README.rdoc
|
53
33
|
- lib/capistrano/configuration.rb
|
54
34
|
- lib/capistrano/logger.rb
|
55
35
|
- lib/capistrano_colors.rb
|
56
|
-
- README.rdoc
|
57
36
|
files:
|
37
|
+
- README.rdoc
|
38
|
+
- Rakefile
|
58
39
|
- lib/capistrano/configuration.rb
|
59
40
|
- lib/capistrano/logger.rb
|
60
41
|
- lib/capistrano_colors.rb
|
61
|
-
- Rakefile
|
62
|
-
- README.rdoc
|
63
42
|
- Manifest
|
64
43
|
- capistrano_colors.gemspec
|
65
44
|
has_rdoc: true
|
data.tar.gz.sig
DELETED
metadata.gz.sig
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
+A�O9�O1������duw݅9;ȏ���!��ZսU�~ȡ�t��]I�FVغ���;J#��xn����CZ Ó��A��8�+��r���"8�=Ս^��_��`�:�O�L l�M:�� �(�� J�IÑ��H�O�Ll�li�e
|