trailer 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +8 -0
- data/lib/trailer/concern.rb +1 -1
- data/lib/trailer/version.rb +1 -1
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b0ae441aa41c8305d13c0ead5ac8ec7ce96b0381c4814c3409ef0f33a0e1776
|
4
|
+
data.tar.gz: a55c47ba75a922636ee8e00ba5ee12decf66d7dfa01c707aa1c010d161d53ed1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bec56ba139e3bb691f1f60ffa9ceaa2e4d6b1b00366614734ac1a310c3541872ac418eb904e3674b94ae29c3cd5e49cb08427ae62ef557de558968ddc81f4421
|
7
|
+
data.tar.gz: 2e0c54cb831933b7626323989df418072d70fc4bc16efd6091863db642849fc42734f80d85fbb4213b9c3d137c539ac0fadb165e0f8658818dc31d4e3221ffd2
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
data/lib/trailer/concern.rb
CHANGED
@@ -12,7 +12,7 @@ module Trailer
|
|
12
12
|
# instance, query, etc (eg. current_user, 'Article#submit', 'http://example.com/articles').
|
13
13
|
# @param tags Hash - Extra tags which should be tracked (eg. { method: 'GET' }).
|
14
14
|
def trace_event(event, resource = nil, **tags, &block) # rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
|
15
|
-
unless Trailer.enabled?
|
15
|
+
unless Trailer.enabled? && !RequestStore.store[:trailer].nil?
|
16
16
|
return yield block if block_given?
|
17
17
|
|
18
18
|
return
|
data/lib/trailer/version.rb
CHANGED
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|