hubstep 2.0.1 → 2.0.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
2
  SHA1:
3
- metadata.gz: bd5a919a2a80cacf937dabb7bd9e46d94e9efc25
4
- data.tar.gz: 27e8408a86399d2167523c980d692d059be481e8
3
+ metadata.gz: dc17b38d966a4da5374adfab2125bc135ef15225
4
+ data.tar.gz: 662ab0a4133f25505b3d36c0cde44f477d5a295a
5
5
  SHA512:
6
- metadata.gz: 172b74c025a9c7ee224f7545a348dca9d20a47ae43a35cfeabf438b2b98f83cebaa387489edc3af4ff984e8b50445fa5941d3883ce492eb2471e24c71a0bee05
7
- data.tar.gz: 8814fdbdf360cc62c46cf973e9ca11143a44e46f7acd7bc28966ab7bc1826a3dc209c267d2f5db1a0fac9b92b9a54aa137998810d4aa313f2c8483656d33d238
6
+ metadata.gz: 1ca97eae3e8cd18851412eff541da7de95105eea3de4965428a6a07062fcac5b3d72ca09a1bb9d738b22b6da5273b3dfdd824509a114f887ce79a51224f1de6a
7
+ data.tar.gz: 0f6ed9ff5fb3e1e738eef2875481d5b0e646d4fa531ae59daf1290664345e8a816089e46f4015591a15a56a2c2fb17363d9053ce6738559f5b8a2397596a143e
data/README.md CHANGED
@@ -78,7 +78,7 @@ end
78
78
 
79
79
  ### Faraday
80
80
 
81
- [`HubStep::Faraday::Middlware`][fm] is a [Faraday][] middleware that wraps each
81
+ [`HubStep::Faraday::Middleware`][fm] is a [Faraday][] middleware that wraps each
82
82
  request in a span.
83
83
 
84
84
  ```ruby
@@ -5,7 +5,7 @@ require "faraday"
5
5
 
6
6
  module HubStep
7
7
  module Faraday
8
- # Faraday middlware for wrapping a request in a span.
8
+ # Faraday middleware for wrapping a request in a span.
9
9
  #
10
10
  # tracer = HubStep::Tracer.new
11
11
  # Faraday.new do |b|
@@ -120,12 +120,14 @@ module HubStep
120
120
  host = ENV["LIGHTSTEP_COLLECTOR_HOST"]
121
121
  port = ENV["LIGHTSTEP_COLLECTOR_PORT"]
122
122
  encryption = ENV["LIGHTSTEP_COLLECTOR_ENCRYPTION"]
123
+ verbosity = Integer(ENV.fetch("LIGHTSTEP_TRANSPORT_VERBOSITY", 0))
123
124
  access_token = ENV["LIGHTSTEP_ACCESS_TOKEN"]
124
125
 
125
126
  if host && port && encryption && access_token
126
127
  LightStep::Transport::HTTPJSON.new(host: host,
127
128
  port: port.to_i,
128
129
  encryption: encryption,
130
+ verbose: verbosity,
129
131
  access_token: access_token)
130
132
  else
131
133
  LightStep::Transport::Nil.new
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module HubStep
3
- VERSION = "2.0.1"
3
+ VERSION = "2.0.2"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hubstep
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-04-24 00:00:00.000000000 Z
11
+ date: 2017-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lightstep