honeycomb-beeline 2.8.0 → 2.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/re-triage.yml +12 -0
- data/CHANGELOG.md +11 -0
- data/honeycomb-beeline.gemspec +1 -1
- data/lib/honeycomb/beeline/version.rb +1 -1
- data/lib/honeycomb/configuration.rb +22 -9
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce57f1fcfd4e116392e16f4296760b7a707f780bab641149d148ddc31dda7ff2
|
4
|
+
data.tar.gz: 4d1013f4036fd56923f725a745a0e9387835775b7fd53d671fa270840b737047
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d236e51b6cc86afbfa22f85c24f9633186b99b0e33cdbf6c842936ec060a24735e11bb8a778c55fe6bae82c461ffbf75e72e99ce190b2c2f2a6cb0f419b4074
|
7
|
+
data.tar.gz: c33e5df57ebb42e47915006c2cf62259c13743c9419a76f04b89ca8bbf58d2cc500106217e32b1863432d937686aea32637f8bde0f7824ea2bd6453a60b65268
|
@@ -0,0 +1,12 @@
|
|
1
|
+
name: Re-triage issues with new comments
|
2
|
+
on:
|
3
|
+
issue_comment:
|
4
|
+
types: [created]
|
5
|
+
jobs:
|
6
|
+
re-triage:
|
7
|
+
runs-on: ubuntu-latest
|
8
|
+
name: Re-triage issues with new comments
|
9
|
+
steps:
|
10
|
+
- uses: honeycombio/oss-management-actions/re-triage@v1
|
11
|
+
with:
|
12
|
+
ghprojects-token: ${{ secrets.GHPROJECTS_TOKEN }}
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,16 @@
|
|
1
1
|
# beeline-ruby changelog
|
2
2
|
|
3
|
+
## 2.8.1 2022-01-12
|
4
|
+
|
5
|
+
### Fixed
|
6
|
+
|
7
|
+
- fix Beeline user-agent addition when creating a Libhoney client (#189) | [@robbkidd](https://github.com/robbkidd)
|
8
|
+
|
9
|
+
### Maintenance
|
10
|
+
|
11
|
+
- gh: add re-triage workflow (#185) | [@vreynolds](https://github.com/vreynolds)
|
12
|
+
- set minimum version of rspec_junit_formatter (#188) | [@robbkidd](https://github.com/robbkidd)
|
13
|
+
|
3
14
|
## 2.8.0 2021-12-22
|
4
15
|
|
5
16
|
### Improvements
|
data/honeycomb-beeline.gemspec
CHANGED
@@ -47,7 +47,7 @@ Gem::Specification.new do |spec|
|
|
47
47
|
spec.add_development_dependency "pry-byebug", "~> 3.6.0"
|
48
48
|
spec.add_development_dependency "rake"
|
49
49
|
spec.add_development_dependency "rspec", "~> 3.0"
|
50
|
-
spec.add_development_dependency "rspec_junit_formatter"
|
50
|
+
spec.add_development_dependency "rspec_junit_formatter", ">= 0.5.1"
|
51
51
|
spec.add_development_dependency "rubocop", "< 0.69"
|
52
52
|
spec.add_development_dependency "rubocop-performance", "< 1.3.0"
|
53
53
|
spec.add_development_dependency "simplecov"
|
@@ -32,15 +32,15 @@ module Honeycomb
|
|
32
32
|
end
|
33
33
|
|
34
34
|
def client
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
35
|
+
# memoized:
|
36
|
+
# either the user has supplied a pre-configured Libhoney client
|
37
|
+
@client ||=
|
38
|
+
# or we'll create one and return it from here on
|
39
|
+
if debug
|
40
|
+
Libhoney::LogClient.new
|
41
|
+
else
|
42
|
+
Libhoney::Client.new(**libhoney_client_options)
|
43
|
+
end
|
44
44
|
end
|
45
45
|
|
46
46
|
def after_initialize(client)
|
@@ -89,5 +89,18 @@ module Honeycomb
|
|
89
89
|
HoneycombPropagation::MarshalTraceContext.method(:parse_faraday_env)
|
90
90
|
end
|
91
91
|
end
|
92
|
+
|
93
|
+
private
|
94
|
+
|
95
|
+
def libhoney_client_options
|
96
|
+
{
|
97
|
+
writekey: write_key,
|
98
|
+
dataset: dataset,
|
99
|
+
user_agent_addition: Honeycomb::Beeline::USER_AGENT_SUFFIX,
|
100
|
+
}.tap do |options|
|
101
|
+
# only set the API host for the client if one has been given
|
102
|
+
options[:api_host] = api_host if api_host
|
103
|
+
end
|
104
|
+
end
|
92
105
|
end
|
93
106
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: honeycomb-beeline
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.8.
|
4
|
+
version: 2.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Holman
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: libhoney
|
@@ -148,14 +148,14 @@ dependencies:
|
|
148
148
|
requirements:
|
149
149
|
- - ">="
|
150
150
|
- !ruby/object:Gem::Version
|
151
|
-
version:
|
151
|
+
version: 0.5.1
|
152
152
|
type: :development
|
153
153
|
prerelease: false
|
154
154
|
version_requirements: !ruby/object:Gem::Requirement
|
155
155
|
requirements:
|
156
156
|
- - ">="
|
157
157
|
- !ruby/object:Gem::Version
|
158
|
-
version:
|
158
|
+
version: 0.5.1
|
159
159
|
- !ruby/object:Gem::Dependency
|
160
160
|
name: rubocop
|
161
161
|
requirement: !ruby/object:Gem::Requirement
|
@@ -246,6 +246,7 @@ files:
|
|
246
246
|
- ".github/dependabot.yml"
|
247
247
|
- ".github/workflows/add-to-project.yml"
|
248
248
|
- ".github/workflows/apply-labels.yml"
|
249
|
+
- ".github/workflows/re-triage.yml"
|
249
250
|
- ".github/workflows/stale.yml"
|
250
251
|
- ".gitignore"
|
251
252
|
- ".overcommit.yml"
|