the_garage 2.4.0 → 2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/garage/tracer.rb +5 -1
- data/lib/garage/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: 40c843f3541b358a20f20fce55a9e09913d75722
|
4
|
+
data.tar.gz: 17d0231446753d51c7bbebd42bcf9c5f348e49e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f46a8245d7e9df31072d13b3607df7bdcf9e7a91b03b3e3e67460f9d2240f00086d366acf126cc580520d7073365b28a7e9e73012093eaa0b56783129c920dfb
|
7
|
+
data.tar.gz: 93e345d15e4d1126e761be0e379e7346f3607d7675b77e41ff46363e5e70a0aa8a7c0f20a26595caea2510cde2a6e29d8f2488de466ea99f48c825345bac533c
|
data/lib/garage/tracer.rb
CHANGED
@@ -47,7 +47,11 @@ module Garage
|
|
47
47
|
def self.start(&block)
|
48
48
|
if Aws::Xray::Context.started?
|
49
49
|
Aws::Xray::Context.current.child_trace(remote: true, name: service) do |sub|
|
50
|
-
|
50
|
+
if Aws::Xray::Context.current.respond_to?(:disable_trace)
|
51
|
+
Aws::Xray::Context.current.disable_trace(:net_http) { yield new(sub) }
|
52
|
+
else
|
53
|
+
yield new(sub)
|
54
|
+
end
|
51
55
|
end
|
52
56
|
else
|
53
57
|
yield NullTracer.new
|
data/lib/garage/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: the_garage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tatsuhiko Miyagawa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|