mongoid_colored_logger 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/mongoid_colored_logger/logger_decorator.rb +1 -1
- data/mongoid_colored_logger.gemspec +3 -4
- metadata +4 -5
- data/Gemfile.lock +0 -40
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.3
|
|
@@ -57,7 +57,7 @@ module MongoidColoredLogger
|
|
|
57
57
|
sub(%r{(?<=\]\.)\w+}) {|m| color(m, YELLOW)}
|
|
58
58
|
message.sub('MOPED:', color('MOPED:', odd? ? CYAN : MAGENTA)).
|
|
59
59
|
sub(/\{.+?\}\s/) { |m| color(m, BLUE) }.
|
|
60
|
-
sub(/COMMAND|QUERY|KILL_CURSORS/) { |m| color(m, YELLOW) }.
|
|
60
|
+
sub(/COMMAND|QUERY|KILL_CURSORS|INSERT|DELETE|UPDATE|GET_MORE/) { |m| color(m, YELLOW) }.
|
|
61
61
|
sub(/[\d\.]+ms/) { |m| color(m, GREEN) }
|
|
62
62
|
end
|
|
63
63
|
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "mongoid_colored_logger"
|
|
8
|
-
s.version = "0.2.
|
|
8
|
+
s.version = "0.2.3"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Roman Shterenzon"]
|
|
12
|
-
s.date = "
|
|
12
|
+
s.date = "2013-03-12"
|
|
13
13
|
s.description = "Beautiful logging for Mongoid"
|
|
14
14
|
s.email = "romanbsd@yahoo.com"
|
|
15
15
|
s.extra_rdoc_files = [
|
|
@@ -18,7 +18,6 @@ Gem::Specification.new do |s|
|
|
|
18
18
|
]
|
|
19
19
|
s.files = [
|
|
20
20
|
"Gemfile",
|
|
21
|
-
"Gemfile.lock",
|
|
22
21
|
"LICENSE.txt",
|
|
23
22
|
"README.md",
|
|
24
23
|
"Rakefile",
|
|
@@ -33,7 +32,7 @@ Gem::Specification.new do |s|
|
|
|
33
32
|
s.homepage = "http://github.com/romanbsd/mongoid_colored_logger"
|
|
34
33
|
s.licenses = ["MIT"]
|
|
35
34
|
s.require_paths = ["lib"]
|
|
36
|
-
s.rubygems_version = "1.8.
|
|
35
|
+
s.rubygems_version = "1.8.23"
|
|
37
36
|
s.summary = "Beautiful logging for Mongoid"
|
|
38
37
|
|
|
39
38
|
if s.respond_to? :specification_version then
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mongoid_colored_logger
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.3
|
|
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:
|
|
12
|
+
date: 2013-03-12 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: mongoid
|
|
@@ -100,7 +100,6 @@ extra_rdoc_files:
|
|
|
100
100
|
- README.md
|
|
101
101
|
files:
|
|
102
102
|
- Gemfile
|
|
103
|
-
- Gemfile.lock
|
|
104
103
|
- LICENSE.txt
|
|
105
104
|
- README.md
|
|
106
105
|
- Rakefile
|
|
@@ -126,7 +125,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
126
125
|
version: '0'
|
|
127
126
|
segments:
|
|
128
127
|
- 0
|
|
129
|
-
hash:
|
|
128
|
+
hash: -1528451611667830721
|
|
130
129
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
131
130
|
none: false
|
|
132
131
|
requirements:
|
|
@@ -135,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
135
134
|
version: '0'
|
|
136
135
|
requirements: []
|
|
137
136
|
rubyforge_project:
|
|
138
|
-
rubygems_version: 1.8.
|
|
137
|
+
rubygems_version: 1.8.23
|
|
139
138
|
signing_key:
|
|
140
139
|
specification_version: 3
|
|
141
140
|
summary: Beautiful logging for Mongoid
|
data/Gemfile.lock
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
GEM
|
|
2
|
-
remote: http://rubygems.org/
|
|
3
|
-
specs:
|
|
4
|
-
activemodel (3.2.8)
|
|
5
|
-
activesupport (= 3.2.8)
|
|
6
|
-
builder (~> 3.0.0)
|
|
7
|
-
activesupport (3.2.8)
|
|
8
|
-
i18n (~> 0.6)
|
|
9
|
-
multi_json (~> 1.0)
|
|
10
|
-
bson (1.7.0)
|
|
11
|
-
builder (3.0.4)
|
|
12
|
-
git (1.2.5)
|
|
13
|
-
i18n (0.6.1)
|
|
14
|
-
jeweler (1.8.4)
|
|
15
|
-
bundler (~> 1.0)
|
|
16
|
-
git (>= 1.2.5)
|
|
17
|
-
rake
|
|
18
|
-
rdoc
|
|
19
|
-
json (1.7.5)
|
|
20
|
-
mongo (1.7.0)
|
|
21
|
-
bson (~> 1.7.0)
|
|
22
|
-
mongoid (2.5.0)
|
|
23
|
-
activemodel (~> 3.1)
|
|
24
|
-
mongo (~> 1.7)
|
|
25
|
-
tzinfo (~> 0.3.22)
|
|
26
|
-
multi_json (1.3.6)
|
|
27
|
-
rake (0.9.2.2)
|
|
28
|
-
rdoc (3.12)
|
|
29
|
-
json (~> 1.4)
|
|
30
|
-
tzinfo (0.3.34)
|
|
31
|
-
|
|
32
|
-
PLATFORMS
|
|
33
|
-
ruby
|
|
34
|
-
|
|
35
|
-
DEPENDENCIES
|
|
36
|
-
bundler (~> 1.0)
|
|
37
|
-
jeweler (~> 1.8.0)
|
|
38
|
-
mongo (~> 1.6)
|
|
39
|
-
mongoid
|
|
40
|
-
rdoc (~> 3.12)
|