rack-colorized_logger 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rack-colorized_logger.rb +1 -1
- metadata +3 -4
@@ -81,7 +81,7 @@ module Rack
|
|
81
81
|
end
|
82
82
|
|
83
83
|
def pretty_colors_a(array, color)
|
84
|
-
"[" + array.map {|e|
|
84
|
+
"[" + array.map {|e| [Array,Hash].include?(e.class) ? e.inspect.bold.send(color) : e.bold.send(color)}.join(",") + "]"
|
85
85
|
end
|
86
86
|
end
|
87
87
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-colorized_logger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-06-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: term-ansicolor
|
@@ -55,9 +55,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
55
55
|
version: 1.4.2
|
56
56
|
requirements: []
|
57
57
|
rubyforge_project:
|
58
|
-
rubygems_version: 1.8.
|
58
|
+
rubygems_version: 1.8.23
|
59
59
|
signing_key:
|
60
60
|
specification_version: 3
|
61
61
|
summary: simple logger that outputs params, session, and cookies in fancy colors.
|
62
62
|
test_files: []
|
63
|
-
has_rdoc:
|