mongo_logs_on_roids 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/LICENSE.txt +1 -1
- data/README.md +1 -2
- data/lib/mongo_logs_on_roids/railtie.rb +0 -7
- data/lib/mongo_logs_on_roids/version.rb +1 -1
- data/mongo_logs_on_roids.gemspec +4 -4
- metadata +18 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e7959556a3d25cd4a1993a176c47329498fce48
|
4
|
+
data.tar.gz: 8511d14bc627c8bc6caf6fbb82738a56d840df51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1530030ec4f2414d4bdfaa746338b7686178896b81c72c239004087851c35b0fbbeaf639b822eaed686e74c712bae973a3dd7a2671720b2f217055816d5c0cc6
|
7
|
+
data.tar.gz: 4106660a3c749107b84241daf2d93799c15b9e26237af8f3e818549327af2266b9246881220e9f942d9297be1f409897ed89b8e29e27fa20f59140bd1a042b2a
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#### 1.1.0
|
2
|
+
|
3
|
+
- Remove resetting of loggers when using Rails console
|
4
|
+
Current versions of mongoid now configure both mongoid and mongo to use the
|
5
|
+
Rails logger, making this unnecessary.
|
6
|
+
- Update dev dependencies
|
7
|
+
|
8
|
+
#### 1.0.1
|
9
|
+
|
10
|
+
- Update dev dependencies for Rails 5
|
11
|
+
|
12
|
+
#### 1.0.0
|
13
|
+
|
14
|
+
- Initial commit
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -2,14 +2,13 @@
|
|
2
2
|
|
3
3
|
Better logging for mongodb on Ruby.
|
4
4
|
|
5
|
-
Compatible with just the `mongo` gem (v2.1+). Auto-detects Mongoid 5 and Rails and enables appropriate features.
|
5
|
+
Compatible with just the `mongo` gem (v2.1+). Auto-detects Mongoid 5-7 and Rails and enables appropriate features.
|
6
6
|
|
7
7
|
Makes mongo logs more awesome with:
|
8
8
|
|
9
9
|
* Colorized logging
|
10
10
|
* Calculating and displaying total time in mongo (Rails):
|
11
11
|
`Completed 200 OK in 13ms (Views: 0.2ms | Mongo: 3.2ms)`
|
12
|
-
* Showing mongo logs in console, for faster debugging
|
13
12
|
|
14
13
|
|
15
14
|
## Installation
|
data/mongo_logs_on_roids.gemspec
CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["thomas morgan"]
|
10
10
|
spec.email = ["tm@iprog.com"]
|
11
11
|
|
12
|
-
spec.summary = %q{Better logging for mongodb. Compatible w/Mongoid 5
|
13
|
-
spec.description = %q{Add color, DB time (Rails), etc to your mongo logs. Requires just mongo gem; compatible with Mongoid 5, Rails, etc.}
|
12
|
+
spec.summary = %q{Better logging for mongodb. Compatible w/Mongoid 5+, Rails, etc.}
|
13
|
+
spec.description = %q{Add color, DB time (Rails), etc to your mongo logs. Requires just mongo gem; compatible with Mongoid 5-7, Rails, etc.}
|
14
14
|
spec.homepage = "https://github.com/zarqman/mongo_logs_on_roids"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_development_dependency "bundler", "~> 1.10"
|
23
23
|
spec.add_development_dependency "rake", "~> 10.0"
|
24
24
|
spec.add_development_dependency "minitest"
|
25
|
-
spec.add_development_dependency "mongoid", "
|
26
|
-
spec.add_development_dependency "rails", ">= 4.2", "<
|
25
|
+
spec.add_development_dependency "mongoid", ">= 5.1.1", "< 8"
|
26
|
+
spec.add_development_dependency "rails", ">= 4.2", "< 6"
|
27
27
|
spec.add_dependency "mongo", "~> 2.1"
|
28
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongo_logs_on_roids
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- thomas morgan
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -56,16 +56,22 @@ dependencies:
|
|
56
56
|
name: mongoid
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 5.1.1
|
62
|
+
- - "<"
|
60
63
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
64
|
+
version: '8'
|
62
65
|
type: :development
|
63
66
|
prerelease: false
|
64
67
|
version_requirements: !ruby/object:Gem::Requirement
|
65
68
|
requirements:
|
66
|
-
- - "
|
69
|
+
- - ">="
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: 5.1.1
|
72
|
+
- - "<"
|
67
73
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
74
|
+
version: '8'
|
69
75
|
- !ruby/object:Gem::Dependency
|
70
76
|
name: rails
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -75,7 +81,7 @@ dependencies:
|
|
75
81
|
version: '4.2'
|
76
82
|
- - "<"
|
77
83
|
- !ruby/object:Gem::Version
|
78
|
-
version: '
|
84
|
+
version: '6'
|
79
85
|
type: :development
|
80
86
|
prerelease: false
|
81
87
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -85,7 +91,7 @@ dependencies:
|
|
85
91
|
version: '4.2'
|
86
92
|
- - "<"
|
87
93
|
- !ruby/object:Gem::Version
|
88
|
-
version: '
|
94
|
+
version: '6'
|
89
95
|
- !ruby/object:Gem::Dependency
|
90
96
|
name: mongo
|
91
97
|
requirement: !ruby/object:Gem::Requirement
|
@@ -101,7 +107,7 @@ dependencies:
|
|
101
107
|
- !ruby/object:Gem::Version
|
102
108
|
version: '2.1'
|
103
109
|
description: Add color, DB time (Rails), etc to your mongo logs. Requires just mongo
|
104
|
-
gem; compatible with Mongoid 5, Rails, etc.
|
110
|
+
gem; compatible with Mongoid 5-7, Rails, etc.
|
105
111
|
email:
|
106
112
|
- tm@iprog.com
|
107
113
|
executables: []
|
@@ -109,6 +115,7 @@ extensions: []
|
|
109
115
|
extra_rdoc_files: []
|
110
116
|
files:
|
111
117
|
- ".gitignore"
|
118
|
+
- CHANGELOG.md
|
112
119
|
- Gemfile
|
113
120
|
- LICENSE.txt
|
114
121
|
- README.md
|
@@ -141,8 +148,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
148
|
version: '0'
|
142
149
|
requirements: []
|
143
150
|
rubyforge_project:
|
144
|
-
rubygems_version: 2.
|
151
|
+
rubygems_version: 2.6.13
|
145
152
|
signing_key:
|
146
153
|
specification_version: 4
|
147
|
-
summary: Better logging for mongodb. Compatible w/Mongoid 5
|
154
|
+
summary: Better logging for mongodb. Compatible w/Mongoid 5+, Rails, etc.
|
148
155
|
test_files: []
|