aws-xray 0.21.1 → 0.21.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: a70cc56a3f1ef62528f19cbc02163bfdcdbddf60
4
- data.tar.gz: e19299db3d72e8ab7079d5bbfbab55df9cad0e9f
3
+ metadata.gz: 864f4ffd40e72b608675fbab21d6a44ea79a9519
4
+ data.tar.gz: 62f19470f559af8e8ca06b4a534a56da9f47f2e4
5
5
  SHA512:
6
- metadata.gz: 45add7d52f5739bdf7d1005effffc1d715a66a7fdffe48211ea689ae3e289aad3c4603f57c5b6b153d6afd286640c0a5a6c35ab6061b6404002766d3c6ed4ab1
7
- data.tar.gz: '08335f52809b4f289571c18f00556a49fdc9d95a30da7107b568de140f7765eb7b7d6b0a1415100efb36f05bfe5283e6ba6bacb7112d30fc2d33d6a5945c6e07'
6
+ metadata.gz: 88af2310e259d5de79c94829c783dcc9f2010e02f6573a7a8023e835d4d875e377a45be2d3cf8a694b3d611ed89220c0fb0460b1c062d73244fe43249160eb10
7
+ data.tar.gz: 3ee7ab7b9d9cad3a5dc360e16ee5b74d552c26ab04a66ffa0466c823465e62335807ea5e44cdf4e48f8c84f1f0fb6723df5ca6e679ef741f6d5df47bc6270f40
@@ -7,7 +7,7 @@ module Aws
7
7
  class Trace
8
8
  class << self
9
9
  def generate(now = Time.now)
10
- new(root: generate_root(now))
10
+ new(root: generate_root(now), sampled: decide_sampling(nil))
11
11
  end
12
12
 
13
13
  def build_from_header_value(header_value, now = Time.now)
@@ -41,7 +41,7 @@ module Aws
41
41
 
42
42
  attr_reader :root, :parent
43
43
 
44
- def initialize(root:, sampled: true, parent: nil)
44
+ def initialize(root:, sampled:, parent: nil)
45
45
  @root = root
46
46
  @sampled = sampled
47
47
  @parent = parent
@@ -1,5 +1,5 @@
1
1
  module Aws
2
2
  module Xray
3
- VERSION = '0.21.1'
3
+ VERSION = '0.21.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.21.1
4
+ version: 0.21.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-06-22 00:00:00.000000000 Z
11
+ date: 2017-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -251,7 +251,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
251
251
  version: '0'
252
252
  requirements: []
253
253
  rubyforge_project:
254
- rubygems_version: 2.6.11
254
+ rubygems_version: 2.5.2
255
255
  signing_key:
256
256
  specification_version: 4
257
257
  summary: The unofficial X-Ray Tracing SDK for Ruby.