honeycomb-beeline 2.10.0 → 2.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -0
- data/CHANGELOG.md +7 -1
- data/bin/console +1 -1
- data/lib/honeycomb/beeline/version.rb +1 -1
- data/lib/honeycomb/integrations/rake.rb +7 -1
- data/lib/honeycomb-beeline.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: fb1cdd573575f99c826f6c98a20184dca3585ca9725f78373086c4b6dbac9a8a
|
4
|
+
data.tar.gz: 84d8b9c5e0d3e98a86f469245b8981c74861b92c591a1b399ebbcb786f18749e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d9700b19010094ec5c130af68cf6d07b91d493e60b560b48ec89012680d9102c82249a16e131adec06db3463cec5113dc68977bc0b8a1dccf8a1171f412674a
|
7
|
+
data.tar.gz: 25f56bc53a4debe90efb86dbc00152129fc7fe80a1e682a9d3efc33294b2d8fe87139fb87aa3e5cca0f03f76c238a41e5508208f3df0246792f841e0c265013e
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,14 @@
|
|
1
1
|
# beeline-ruby changelog
|
2
2
|
|
3
|
+
## 2.11.0 2022-06-01
|
4
|
+
|
5
|
+
### Improvements
|
6
|
+
|
7
|
+
- Let Rake spans be disabled programmatically (#200) | [ajvondrak](https://github.com/ajvondrak)
|
8
|
+
|
3
9
|
## 2.10.0 2022-04-08
|
4
10
|
|
5
|
-
###
|
11
|
+
### Improvements
|
6
12
|
|
7
13
|
- Add HTTP referer to rack integration (#197) | [@bgitt](https://github.com/bgitt)
|
8
14
|
|
data/bin/console
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
require "bundler/setup"
|
5
|
-
|
5
|
+
require_relative "../lib/honeycomb-beeline"
|
6
6
|
|
7
7
|
# You can add fixtures and/or initialization code here to make experimenting
|
8
8
|
# with your gem easier. You can also use a different console, if you like.
|
@@ -22,7 +22,11 @@ module Honeycomb
|
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
25
|
+
attr_writer :honeycomb_client
|
26
|
+
|
25
27
|
def honeycomb_client
|
28
|
+
return @honeycomb_client if defined?(@honeycomb_client)
|
29
|
+
|
26
30
|
application.honeycomb_client
|
27
31
|
end
|
28
32
|
end
|
@@ -35,7 +39,9 @@ module Honeycomb
|
|
35
39
|
attr_writer :honeycomb_client
|
36
40
|
|
37
41
|
def honeycomb_client
|
38
|
-
@honeycomb_client
|
42
|
+
return @honeycomb_client if defined?(@honeycomb_client)
|
43
|
+
|
44
|
+
Honeycomb.client
|
39
45
|
end
|
40
46
|
end
|
41
47
|
end
|
data/lib/honeycomb-beeline.rb
CHANGED
@@ -25,7 +25,7 @@ module Honeycomb
|
|
25
25
|
extend Forwardable
|
26
26
|
attr_reader :client
|
27
27
|
|
28
|
-
def_delegators
|
28
|
+
def_delegators :client, :libhoney, :start_span, :add_field,
|
29
29
|
:add_field_to_trace, :current_span, :current_trace,
|
30
30
|
:with_field, :with_trace_field
|
31
31
|
|
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.
|
4
|
+
version: 2.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Holman
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: libhoney
|