garage_client 2.4.1 → 2.4.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/CHANGELOG.md +3 -0
- data/README.md +1 -1
- data/garage_client.gemspec +1 -1
- data/lib/garage_client/client.rb +1 -0
- data/lib/garage_client/version.rb +1 -1
- data/spec/features/tracing_spec.rb +1 -0
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2a623a933bc13f4e6f553104fc28d763da78645e
|
|
4
|
+
data.tar.gz: cf8145338c54db7abc2edd21afbe9e58fc38e8a0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c02237c7096e98477fda1b478ee0fa7c49350d0759cb21af75a122398e5328560f16d70cc5b454885d70cf684e1e7ec18999cebdfbe5fa4b2f1e5f306f8bd778
|
|
7
|
+
data.tar.gz: 7f18c93b54d51a151c51e5a3f492a421f97b35768502b5ee6d5fdf0567e565b83c806bf5254d6d8ed3bf773a4a2dbd0a6f9073684486719ef706b4f85c9462f7
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -209,7 +209,7 @@ Choose one of supported tracers from below. If you want to add new tracer, pleas
|
|
|
209
209
|
Bundle [aws-xray](https://github.com/taiki45/aws-xray) gem in your `Gemfile`, then configure `GarageClient::Client` instance with `tracing.service` option:
|
|
210
210
|
|
|
211
211
|
```ruby
|
|
212
|
-
require 'aws/xray'
|
|
212
|
+
require 'aws/xray/faraday'
|
|
213
213
|
GarageClient::Client.new(..., tracing: { tracer: 'aws-xray', service: 'user' })
|
|
214
214
|
```
|
|
215
215
|
|
data/garage_client.gemspec
CHANGED
|
@@ -32,5 +32,5 @@ Gem::Specification.new do |s|
|
|
|
32
32
|
s.add_development_dependency "pry"
|
|
33
33
|
# Until bug fixed: https://github.com/colszowka/simplecov/issues/281
|
|
34
34
|
s.add_development_dependency "simplecov", "~> 0.7.1"
|
|
35
|
-
s.add_development_dependency "aws-xray"
|
|
35
|
+
s.add_development_dependency "aws-xray", ">= 0.30.0"
|
|
36
36
|
end
|
data/lib/garage_client/client.rb
CHANGED
|
@@ -76,6 +76,7 @@ module GarageClient
|
|
|
76
76
|
when 'aws-xray'
|
|
77
77
|
service = options[:tracing][:service]
|
|
78
78
|
raise 'Configure target service name with `tracing.service`' unless service
|
|
79
|
+
require 'aws/xray/faraday'
|
|
79
80
|
builder.use Aws::Xray::Faraday, service
|
|
80
81
|
else
|
|
81
82
|
raise "`tracing` option specified but GarageClient does not support the tracer: #{options[:tracing][:tracer]}"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: garage_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.4.
|
|
4
|
+
version: 2.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Cookpad Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-06-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -184,14 +184,14 @@ dependencies:
|
|
|
184
184
|
requirements:
|
|
185
185
|
- - ">="
|
|
186
186
|
- !ruby/object:Gem::Version
|
|
187
|
-
version:
|
|
187
|
+
version: 0.30.0
|
|
188
188
|
type: :development
|
|
189
189
|
prerelease: false
|
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
|
191
191
|
requirements:
|
|
192
192
|
- - ">="
|
|
193
193
|
- !ruby/object:Gem::Version
|
|
194
|
-
version:
|
|
194
|
+
version: 0.30.0
|
|
195
195
|
description: Ruby client library for the Garage API
|
|
196
196
|
email:
|
|
197
197
|
- kaihatsu@cookpad.com
|
|
@@ -261,7 +261,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
261
261
|
version: '0'
|
|
262
262
|
requirements: []
|
|
263
263
|
rubyforge_project:
|
|
264
|
-
rubygems_version: 2.
|
|
264
|
+
rubygems_version: 2.5.2
|
|
265
265
|
signing_key:
|
|
266
266
|
specification_version: 4
|
|
267
267
|
summary: Ruby client library for the Garage API
|