production_toolkit 0.2.0.pre.alpha.1 → 0.2.0.pre.alpha.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -10
- data/lib/production_toolkit/railtie.rb +0 -1
- data/lib/production_toolkit/version.rb +1 -1
- data/lib/production_toolkit.rb +0 -1
- metadata +2 -3
- data/lib/production_toolkit/initializers/logging.rb +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8b35c0ab79e8d8cc1d11c0a0cc5e982cd043b68
|
4
|
+
data.tar.gz: 511980952cdd98b8732d3613e783f7f114fdc6c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b88addacb9240c97e4c321c9fe0fec5170da050b07630ae40ff3d29cda25c36b8a463a31477019ac4e5442f2fad501cd7f81ed945ce363ddc5fb241a6fc2ae86
|
7
|
+
data.tar.gz: 492fd60b253415cac7d11fab8a16a6040d43ffbab13a8aebe37908b427adde90e82cdb995b54fae363c04895ce7aad8afb2f80ac0c8ab75cb6973111f4c47821
|
data/CHANGELOG.md
CHANGED
@@ -1,23 +1,17 @@
|
|
1
|
-
## Production Toolkit
|
2
|
-
|
3
|
-
## Unreleased
|
4
|
-
|
5
|
-
* [DO-117] Disable the tag option of the Logentries integration
|
6
|
-
|
7
|
-
## 0.1.6
|
1
|
+
## Production Toolkit 0.1.6 ##
|
8
2
|
|
9
3
|
* Fix lograge railtie
|
10
4
|
|
11
|
-
## 0.1.5
|
5
|
+
## Production Toolkit 0.1.5 ##
|
12
6
|
|
13
7
|
* Fix require in 0.1.4
|
14
8
|
* Fix log level
|
15
9
|
|
16
|
-
## 0.1.4
|
10
|
+
## Production Toolkit 0.1.4 ##
|
17
11
|
|
18
12
|
* Fix typo in 0.1.3
|
19
13
|
|
20
|
-
## 0.1.3
|
14
|
+
## Production Toolkit 0.1.3 ##
|
21
15
|
|
22
16
|
* Ignore ActionController::RoutingError in rollbar
|
23
17
|
* Read the log_level from Rails or default to info
|
data/lib/production_toolkit.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: production_toolkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.0.pre.alpha.
|
4
|
+
version: 0.2.0.pre.alpha.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Noack
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rollbar
|
@@ -233,7 +233,6 @@ files:
|
|
233
233
|
- README.md
|
234
234
|
- Rakefile
|
235
235
|
- lib/production_toolkit.rb
|
236
|
-
- lib/production_toolkit/initializers/logging.rb
|
237
236
|
- lib/production_toolkit/initializers/lograge.rb
|
238
237
|
- lib/production_toolkit/initializers/rollbar.rb
|
239
238
|
- lib/production_toolkit/lograge.rb
|
@@ -1,9 +0,0 @@
|
|
1
|
-
if defined?(Rails)
|
2
|
-
if Rails.env.production?
|
3
|
-
require 'le'
|
4
|
-
log_entries_key = Rails.application.secrets.log_entries_key
|
5
|
-
log_level_symbol = Rails.application.config.log_level || :info
|
6
|
-
log_level = Logger.const_get(log_level_symbol.to_s.upcase)
|
7
|
-
Rails.logger = Le.new(log_entries_key, ssl: true, log_level: log_level)
|
8
|
-
end
|
9
|
-
end
|