aws-xray 0.37.1 → 0.37.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: af7b77e24f5f52985838b57d93790ac4e070ef16
4
- data.tar.gz: 3698224665b0676507b3e6c60e2bd09ab99b5cb5
2
+ SHA256:
3
+ metadata.gz: d36fd97ace078801e2a508c9015101cd4af6e8bf57e9560d3a08428fc264a03d
4
+ data.tar.gz: b2dfcd39e4b0354d81a964390bfe46f3ec86235662c4999d306847963dc9dbde
5
5
  SHA512:
6
- metadata.gz: 0e49d7f911912787e94dfba13a260a64ec2bfc31bdbb4f4fd50de666871dec086affdf43936694e774f716437670d42e98fad89fcfb1bf281c10dffd052a844f
7
- data.tar.gz: dfd2ae23e980676923521a0049ce7e49e6d78bda17aa1e11cf2dac2d33fbd939bf8eb7c942323e745532afff632d6e1f0a821acb959b8600db216294d784d13e
6
+ metadata.gz: 3643b6f45ab12c7d856000cc2304ce318628ac88706d0fb3db4dcb1027797800a5bea61e5b59d23a5f8f4d90195a31d04ac1104cceb76862ee10f35cc483eeae
7
+ data.tar.gz: 6639268cc73905177b287ca208968b32434301c9b8eef4185e59b17a92bcb6ca28ed646b972967628ae6db0110ca929da424e527b4cc9052c5473d03d2c1fc10
@@ -4,6 +4,6 @@ branches:
4
4
  only:
5
5
  - master
6
6
  rvm:
7
- - 2.2.7
8
- - 2.3
9
7
  - 2.4
8
+ - 2.5
9
+ - 2.6
data/README.md CHANGED
@@ -127,7 +127,7 @@ Aws::Xray.config.segment_sending_error_handler = Aws::Xray::ErrorHandlerWithSent
127
127
  ```
128
128
 
129
129
  ### Recording caller of HTTP requests
130
- Set `Aws::Xray.config.record_caller_of_http_requests = true` if you want investigate the caller of specific HTTP requests.
130
+ Set `Aws::Xray.config.record_caller_of_http_requests = true` if you want to investigate the caller of specific HTTP requests.
131
131
  It records caller of net/http and Faraday middleware.
132
132
 
133
133
  ## Usage
@@ -5,7 +5,13 @@ module Aws
5
5
  class Railtie < ::Rails::Railtie
6
6
  initializer 'aws-xray.set_name' do |app|
7
7
  unless Aws::Xray.config.name
8
- app_name = app.class.parent_name.underscore.gsub(/(\/|_)/, '-')
8
+ klass = app.class
9
+ parent_name = if klass.respond_to?(:module_parent_name)
10
+ klass.module_parent_name
11
+ else
12
+ klass.parent_name
13
+ end
14
+ app_name = parent_name.underscore.gsub(/(\/|_)/, '-')
9
15
 
10
16
  if Rails.env.production?
11
17
  Aws::Xray.config.name = app_name
@@ -1,5 +1,5 @@
1
1
  module Aws
2
2
  module Xray
3
- VERSION = '0.37.1'.freeze
3
+ VERSION = '0.37.2'.freeze
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.37.1
4
+ version: 0.37.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-11-14 00:00:00.000000000 Z
11
+ date: 2019-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -311,8 +311,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
311
311
  - !ruby/object:Gem::Version
312
312
  version: '0'
313
313
  requirements: []
314
- rubyforge_project:
315
- rubygems_version: 2.5.2.1
314
+ rubygems_version: 3.0.3
316
315
  signing_key:
317
316
  specification_version: 4
318
317
  summary: The unofficial X-Ray Tracing SDK for Ruby.