aws-xray 0.7.1 → 0.7.2

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: 821d1d49ef47f929f690f9cb848b1467e312c02c
4
- data.tar.gz: 451a5a8fcacd234e67482b61affd18ef48949bd8
3
+ metadata.gz: 362df5eec453be15bad6af5cc1a2a05af277df70
4
+ data.tar.gz: 2280694a354290e4234ba9bbe5928e0f4408e548
5
5
  SHA512:
6
- metadata.gz: 7fe0e8f66e815bd52ea37fac55282aafa65f0de6ab6904dfdc62dae5f13a40b086ff42958724635c52b1175c754769b176634ae1d0195df7dc7fa381dfff1b94
7
- data.tar.gz: e347a6f4aab51f02f8243bbf4a6d8ba003c55788d861471f52d6d1e2ea50e9d74879dd0fb8daddb3909ca46a58ea3cf3a01f5360f7830ff1e3bd3db42d18425c
6
+ metadata.gz: e3a379f1e26dbb83a339c2bba8cf4831933bbd13a0884c80a49a709d1606317d0f69755fc9dad5a191bfe6bb01e5f4cb51b243b57242ba254d26fc797525f015
7
+ data.tar.gz: e8d77430640aafae31301975d193f1cf22853856376cb3999efe44d3844c9fbc96a4ca3abe73756f35d30bcd3c488705752a7c63907f22e9c60468bc325b9e5e
data/README.md CHANGED
@@ -78,7 +78,6 @@ end
78
78
  ### non-Rack app (like background jobs)
79
79
  ```ruby
80
80
  require 'aws-xray'
81
- Aws::Xray.config.name = 'my-app'
82
81
 
83
82
  # Build HTTP client with Faraday builder.
84
83
  # You can set the down stream app id to Host header as well.
@@ -88,7 +87,7 @@ client = Faraday.new('...') do |builder|
88
87
  end
89
88
 
90
89
  # Start new tracing context then perform arbitrary actions in the block.
91
- Aws::Xray.trace do |seg|
90
+ Aws::Xray.trace(name: 'my-app-batch') do |seg|
92
91
  client.get('/foo')
93
92
 
94
93
  Aws::Xray::Context.current.child_trace do |sub|
@@ -55,7 +55,7 @@ module Aws
55
55
  # @param [Hash] annotation Keys must consist of only alphabets and underscore.
56
56
  # Values must be one of String or Integer or Boolean values.
57
57
  def set_annotation(annotation)
58
- AnnotationValidator.call(h)
58
+ AnnotationValidator.call(annotation)
59
59
  @annotation = @annotation.merge(annotation)
60
60
  end
61
61
 
@@ -1,5 +1,5 @@
1
1
  module Aws
2
2
  module Xray
3
- VERSION = '0.7.1'
3
+ VERSION = '0.7.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-xray
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
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-05-29 00:00:00.000000000 Z
11
+ date: 2017-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday