instrument_all_the_things 5.0.0 → 5.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/instrument_all_the_things/version.rb +1 -1
- data/lib/instrument_all_the_things.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b00334c391218796442db8b018a217b2b748b78fbec258fe74de022f99404d73
|
4
|
+
data.tar.gz: '08bf1168df3633431aebe265810f7b305266d941aadfd80ae7bba021be830168'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0686251e5d4219382dc01054e98ad4f29eaee73f8d0b714e549a2082670fae9de0b452a86cd1db1825145de71578dc796a47403a3508d9e72705843f9bbfbdc6'
|
7
|
+
data.tar.gz: c2a8a81fc8e4844898a7d23a3e243cdddad3e84b131e2d8e58c78798a14d3e2bb424391ed969717114e783f106cbbaa8189f92ee12f6603ade2c3ce1a92d9787
|
@@ -18,7 +18,7 @@ module InstrumentAllTheThings
|
|
18
18
|
def logger
|
19
19
|
return @logger if defined?(@logger)
|
20
20
|
|
21
|
-
@logger ||= if defined?(Rails)
|
21
|
+
@logger ||= if defined?(Rails) && Rails.respond_to?(:logger)
|
22
22
|
Rails.logger
|
23
23
|
elsif defined?(App) && App.respond_to?(:logger)
|
24
24
|
App.logger
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: instrument_all_the_things
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.
|
4
|
+
version: 5.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Malinconico
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: datadog
|