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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 864f4ffd40e72b608675fbab21d6a44ea79a9519
4
- data.tar.gz: 62f19470f559af8e8ca06b4a534a56da9f47f2e4
3
+ metadata.gz: 2b703f29421269426947732cec5a1fe448ea03bd
4
+ data.tar.gz: dcdd062b0ff030eddfddd5428d08cdaf6ea9e1d7
5
5
  SHA512:
6
- metadata.gz: 88af2310e259d5de79c94829c783dcc9f2010e02f6573a7a8023e835d4d875e377a45be2d3cf8a694b3d611ed89220c0fb0460b1c062d73244fe43249160eb10
7
- data.tar.gz: 3ee7ab7b9d9cad3a5dc360e16ee5b74d552c26ab04a66ffa0466c823465e62335807ea5e44cdf4e48f8c84f1f0fb6723df5ca6e679ef741f6d5df47bc6270f40
6
+ metadata.gz: 42da3f80baf762b6b522c45f39733dbf439aa15ad0955e4e9f720dc80e86e9fa70294a1c02cbc8ab7567543171bf0ba9936de3256b640d8ec542d3d2cf17c6d9
7
+ data.tar.gz: 15aef896225eb44eb2f7c57f0300279b8648f2dd491fc8b240b130ec587e1ec9397228de670a9e9ed4568c2f0059ac3e91a54016ca6d2702ef6bfbd2b403d100
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ # CHANGELOG
2
+ Only breaking or notable changes.
3
+
4
+ ## v0.30.0
5
+ - Drop faraday dependency. Users who want to use Faraday middleware must require `aws/xray/faraday`.
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'
@@ -1,6 +1,7 @@
1
1
  require 'pry'
2
2
  require 'faraday'
3
3
  require 'aws-xray'
4
+ require 'aws/xray/faraday'
4
5
 
5
6
  recipe_app = ENV.fetch('RECIPE_APP') # host:port
6
7
 
@@ -4,6 +4,7 @@ require 'net/http'
4
4
 
5
5
  require 'faraday'
6
6
  require 'aws-xray'
7
+ require 'aws/xray/faraday'
7
8
  require 'aws/xray/hooks/net_http'
8
9
 
9
10
  user_app = ENV.fetch('USER_APP') # host:port
data/lib/aws/xray.rb CHANGED
@@ -11,7 +11,6 @@ require 'aws/xray/configuration'
11
11
  require 'aws/xray/sockets'
12
12
 
13
13
  require 'aws/xray/rack'
14
- require 'aws/xray/faraday'
15
14
 
16
15
  module Aws
17
16
  module Xray
@@ -1,4 +1,5 @@
1
1
  require 'faraday'
2
+ require 'aws/xray'
2
3
 
3
4
  module Aws
4
5
  module Xray
@@ -1,5 +1,5 @@
1
1
  module Aws
2
2
  module Xray
3
- VERSION = '0.21.2'
3
+ VERSION = '0.30.0'
4
4
  end
5
5
  end
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.21.2
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-23 00:00:00.000000000 Z
11
+ date: 2017-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: faraday
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: rack
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: :runtime
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: bundler
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: coveralls
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