timber 2.2.1 → 2.2.2
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.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +8 -1
- data/README.md +4 -4
- data/lib/timber/frameworks/rails.rb +2 -11
- data/lib/timber/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 62c1e9bd7a4079eb4ed1a4eb32a7ab86fb778aff
|
|
4
|
+
data.tar.gz: 3b691205541b0b4ee5167b4de97f140d564c0488
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 623d729db1e9877541ceef08dce3539f6035730b26b9a99fd8369baa01b5caaa71c311a202066bddcd312fd2b73312c285dfc4fe957fdf2d5aa9130115a10c98
|
|
7
|
+
data.tar.gz: 68520ef4be2813478114db8554543a938f801a782ffafc19c4ffb8cde032532200bb2e169f222e751b042fad86a314765ec16e1165965740faf70ba6dba10e67
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [2.2.2] - 2017-09-14
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- Remove Railtie ordering clause based on devise omniauth initializer. This is no longer
|
|
14
|
+
necessary since we do not integrate with Omniauth anymore.
|
|
15
|
+
|
|
10
16
|
## [2.2.1] - 2017-09-13
|
|
11
17
|
### Changed
|
|
12
18
|
|
|
@@ -23,6 +29,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
23
29
|
instead of applying back pressure.
|
|
24
30
|
|
|
25
31
|
|
|
26
|
-
[Unreleased]: https://github.com/timberio/timber-ruby/compare/v2.2.
|
|
32
|
+
[Unreleased]: https://github.com/timberio/timber-ruby/compare/v2.2.2...HEAD
|
|
33
|
+
[2.2.2]: https://github.com/timberio/timber-ruby/compare/v2.2.0...v2.2.2
|
|
27
34
|
[2.2.1]: https://github.com/timberio/timber-ruby/compare/v2.2.0...v2.2.1
|
|
28
35
|
[2.2.0]: https://github.com/timberio/timber-ruby/compare/v2.1.10...v2.2.0
|
data/README.md
CHANGED
|
@@ -50,7 +50,7 @@ logger.fatal("Fatal message")
|
|
|
50
50
|
|
|
51
51
|
1. [Search it](https://timber.io/docs/app/console/searching) with queries like: `error message`
|
|
52
52
|
2. [Alert on it](https://timber.io/docs/app/console/alerts) with threshold based alerts
|
|
53
|
-
3. [View this event's metadata and context](https://timber.io/docs/app/console/view-
|
|
53
|
+
3. [View this event's metadata and context](https://timber.io/docs/app/console/view-metadata-and-context)
|
|
54
54
|
|
|
55
55
|
[...read more in our docs](https://timber.io/docs/languages/ruby/usage/basic-logging)
|
|
56
56
|
|
|
@@ -68,7 +68,7 @@ logger.warn "Payment rejected", payment_rejected: {customer_id: "abcd1234", amou
|
|
|
68
68
|
|
|
69
69
|
1. [Search it](https://timber.io/docs/app/console/searching) with queries like: `type:payment_rejected` or `payment_rejected.amount:>100`
|
|
70
70
|
2. [Alert on it](https://timber.io/docs/app/console/alerts) with threshold based alerts
|
|
71
|
-
4. [View this event's data and context](https://timber.io/docs/app/console/view-
|
|
71
|
+
4. [View this event's data and context](https://timber.io/docs/app/console/view-metadata-and-context)
|
|
72
72
|
|
|
73
73
|
...[read more in our docs](https://timber.io/docs/languages/ruby/usage/custom-events)
|
|
74
74
|
|
|
@@ -89,7 +89,7 @@ end
|
|
|
89
89
|
```
|
|
90
90
|
|
|
91
91
|
1. [Search it](https://timber.io/docs/app/console/searching) with queries like: `job.id:123`
|
|
92
|
-
2. [View this context when viewing a log's metadata](https://timber.io/docs/app/console/view-
|
|
92
|
+
2. [View this context when viewing a log's metadata](https://timber.io/docs/app/console/view-metadata-and-context)
|
|
93
93
|
|
|
94
94
|
...[read more in our docs](https://timber.io/docs/languages/ruby/usage/custom-context)
|
|
95
95
|
|
|
@@ -115,7 +115,7 @@ logger.info("Credit card charged", credit_card_charge: {amount: 123.23})
|
|
|
115
115
|
|
|
116
116
|
1. [Search it](https://timber.io/docs/app/console/searching) with queries like: `background_job.time_ms:>500`
|
|
117
117
|
2. [Alert on it](https://timber.io/docs/app/console/alerts) with threshold based alerts
|
|
118
|
-
3. [View this log's metadata in the console](https://timber.io/docs/app/console/view-
|
|
118
|
+
3. [View this log's metadata in the console](https://timber.io/docs/app/console/view-metadata-and-context)
|
|
119
119
|
|
|
120
120
|
...[read more in our docs](https://timber.io/docs/languages/ruby/usage/metrics-and-timings)
|
|
121
121
|
|
|
@@ -11,17 +11,8 @@ module Timber
|
|
|
11
11
|
Timber::Config.instance.logger = Proc.new { ::Rails.logger }
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
after
|
|
15
|
-
|
|
16
|
-
require 'devise'
|
|
17
|
-
'devise.omniauth'
|
|
18
|
-
rescue LoadError
|
|
19
|
-
:load_config_initializers
|
|
20
|
-
end
|
|
21
|
-
|
|
22
|
-
# Must be loaded after initializers so that we respect any Timber configuration
|
|
23
|
-
# set
|
|
24
|
-
initializer(:timber, before: :build_middleware_stack, after: after) do
|
|
14
|
+
# Must be loaded after initializers so that we respect any Timber configuration set
|
|
15
|
+
initializer(:timber, before: :build_middleware_stack, after: :load_config_initializers) do
|
|
25
16
|
Integrations.integrate!
|
|
26
17
|
|
|
27
18
|
# Install the Rack middlewares so that we capture structured data instead of
|
data/lib/timber/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: timber
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.2.
|
|
4
|
+
version: 2.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Timber Technologies, Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-09-
|
|
11
|
+
date: 2017-09-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: msgpack
|