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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 31679ca4a009a070423a0f3931fc5fe83c0281f5
4
- data.tar.gz: 52463364d0ebc91f141c36ffa9ad0361a7dc44ce
3
+ metadata.gz: 6e7959556a3d25cd4a1993a176c47329498fce48
4
+ data.tar.gz: 8511d14bc627c8bc6caf6fbb82738a56d840df51
5
5
  SHA512:
6
- metadata.gz: 8dc9fce8b3828e701d08dcfab8748bd6eb92711d3a841e939857d2e8a45a3e5eefea391e0a760561aa9fd296c867f0e2bc057c46e832893490a684ad2c6b39c4
7
- data.tar.gz: b02266f7be32c3cc329fec7e26fb823f341ecdd98d2a4166468344dfc7089918d55649751b9e8c6f86d5fa13169eeae1ae85bea548037fcc90d1cb35eadbde2e
6
+ metadata.gz: 1530030ec4f2414d4bdfaa746338b7686178896b81c72c239004087851c35b0fbbeaf639b822eaed686e74c712bae973a3dd7a2671720b2f217055816d5c0cc6
7
+ data.tar.gz: 4106660a3c749107b84241daf2d93799c15b9e26237af8f3e818549327af2266b9246881220e9f942d9297be1f409897ed89b8e29e27fa20f59140bd1a042b2a
@@ -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
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2015 thomas morgan
3
+ Copyright (c) 2015-2018 thomas morgan
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
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
@@ -6,12 +6,5 @@ module MongoLogsOnRoids
6
6
  include MongoLogsOnRoids::ControllerRuntime
7
7
  end
8
8
 
9
- console do |app|
10
- Mongo::Logger.logger = Logger.new($stdout)
11
- if defined?(Mongoid)
12
- config.mongoid.logger = Mongo::Logger.logger
13
- end
14
- end
15
-
16
9
  end
17
10
  end
@@ -1,3 +1,3 @@
1
1
  module MongoLogsOnRoids
2
- VERSION = '1.0.1'
2
+ VERSION = '1.1.0'
3
3
  end
@@ -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, Rails, etc.}
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", "~> 5.0"
26
- spec.add_development_dependency "rails", ">= 4.2", "< 5.1"
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.1
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: 2016-02-13 00:00:00.000000000 Z
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: '5.0'
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: '5.0'
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: '5.1'
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: '5.1'
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.4.8
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, Rails, etc.
154
+ summary: Better logging for mongodb. Compatible w/Mongoid 5+, Rails, etc.
148
155
  test_files: []