aws-xray 0.21.2 → 0.30.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +2 -0
- data/aws-xray.gemspec +1 -1
- data/example/fron_app_config.ru +1 -0
- data/example/recipe_app_config.ru +1 -0
- data/lib/aws/xray.rb +0 -1
- data/lib/aws/xray/faraday.rb +1 -0
- data/lib/aws/xray/version.rb +1 -1
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b703f29421269426947732cec5a1fe448ea03bd
|
4
|
+
data.tar.gz: dcdd062b0ff030eddfddd5428d08cdaf6ea9e1d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42da3f80baf762b6b522c45f39733dbf439aa15ad0955e4e9f720dc80e86e9fa70294a1c02cbc8ab7567543171bf0ba9936de3256b640d8ec542d3d2cf17c6d9
|
7
|
+
data.tar.gz: 15aef896225eb44eb2f7c57f0300279b8648f2dd491fc8b240b130ec587e1ec9397228de670a9e9ed4568c2f0059ac3e91a54016ca6d2702ef6bfbd2b403d100
|
data/CHANGELOG.md
ADDED
data/README.md
CHANGED
@@ -55,6 +55,7 @@ This allow your app to trace in-coming HTTP requests.
|
|
55
55
|
To trace out-going HTTP requests, use Faraday middleware.
|
56
56
|
|
57
57
|
```ruby
|
58
|
+
require 'aws/xray/faraday'
|
58
59
|
Faraday.new('...', headers: { 'Host' => 'down-stream-app-id' } ) do |builder|
|
59
60
|
builder.use Aws::Xray::Faraday
|
60
61
|
# ...
|
@@ -64,6 +65,7 @@ end
|
|
64
65
|
If you don't use any Service Discovery tools, pass the down stream app name to the Faraday middleware:
|
65
66
|
|
66
67
|
```ruby
|
68
|
+
require 'aws/xray/faraday'
|
67
69
|
Faraday.new('...') do |builder|
|
68
70
|
builder.use Aws::Xray::Faraday, 'down-stream-app-id'
|
69
71
|
# ...
|
data/aws-xray.gemspec
CHANGED
@@ -21,10 +21,10 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
22
|
spec.require_paths = ['lib']
|
23
23
|
|
24
|
-
spec.add_dependency 'faraday'
|
25
24
|
spec.add_dependency 'rack'
|
26
25
|
spec.add_development_dependency 'bundler'
|
27
26
|
spec.add_development_dependency 'coveralls'
|
27
|
+
spec.add_development_dependency 'faraday'
|
28
28
|
spec.add_development_dependency 'json-schema'
|
29
29
|
spec.add_development_dependency 'pry-byebug'
|
30
30
|
spec.add_development_dependency 'rack-test'
|
data/example/fron_app_config.ru
CHANGED
data/lib/aws/xray.rb
CHANGED
data/lib/aws/xray/faraday.rb
CHANGED
data/lib/aws/xray/version.rb
CHANGED
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-xray
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.30.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Taiki Ono
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: rack
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
@@ -25,13 +25,13 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
|
-
type: :
|
34
|
+
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: coveralls
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
@@ -53,7 +53,7 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: faraday
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
@@ -188,6 +188,7 @@ files:
|
|
188
188
|
- ".gitignore"
|
189
189
|
- ".rspec"
|
190
190
|
- ".travis.yml"
|
191
|
+
- CHANGELOG.md
|
191
192
|
- Gemfile
|
192
193
|
- LICENSE.txt
|
193
194
|
- README.md
|