bc-lightstep-ruby 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/bigcommerce/lightstep/interceptors/env.rb +6 -0
- data/lib/bigcommerce/lightstep/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58c01708c8b34494f5d5f4ddc5a5cb8b6b581b9b1dd3f9f7297ea1e4e9abb1c2
|
4
|
+
data.tar.gz: c19459c44193e5693691ce9c005c64cca1d8df2c2076147913d856fcf7fe17d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e7699221456ddab9993f18d304275df2e11331bba58f9fe09f98794d1747e39fc65bba412d253cc379788969961babd433facfad7646da3c86956290c3b677f
|
7
|
+
data.tar.gz: 9a7507f2afd324b38ffed8c62a2fc71cff6cc12a8d5a56bcb880c2f0e478840a995c22fd095aca39979f1aa0b153e24ebaba7d6ce7448b29c4e593fa164d98a6
|
data/CHANGELOG.md
CHANGED
@@ -31,6 +31,10 @@ module Bigcommerce
|
|
31
31
|
'provider.datacenter': 'NOMAD_DC'
|
32
32
|
}.freeze
|
33
33
|
|
34
|
+
PRESET_HOSTNAME = {
|
35
|
+
'hostname': 'HOSTNAME',
|
36
|
+
}.freeze
|
37
|
+
|
34
38
|
##
|
35
39
|
# @param [Hash] keys A hash of span->env key mappings
|
36
40
|
# @param [ENV] env The ENV class to get variables from
|
@@ -63,6 +67,8 @@ module Bigcommerce
|
|
63
67
|
def augment_keys_with_presets!
|
64
68
|
@presets.each do |preset|
|
65
69
|
case preset
|
70
|
+
when :hostname
|
71
|
+
@keys.merge!(PRESET_HOSTNAME)
|
66
72
|
when :nomad
|
67
73
|
@keys.merge!(PRESET_NOMAD)
|
68
74
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bc-lightstep-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shaun McCormick
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|