highlight_io 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +3 -0
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +2 -2
- data/lib/highlight/version.rb +1 -1
- data/lib/highlight.rb +3 -0
- 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: 3ad24593b8967d78ebfde045dfa62cc8cec035d749d0a8ac6519235ba93dca48
|
4
|
+
data.tar.gz: 99812349e8cf1768432f03eeee493c44897a257e71a19295845f1607ed29e128
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b95ccd4ac96b1e247b83471cfbcfe72b94404ad96150998503f3062aaa7decdfe2af702912e22fce9addaf864d48bf9a355e3bc7899fb77e80d764a7febee4a5
|
7
|
+
data.tar.gz: bfc55d53ba492eab3b5298f6629ff2c5a5f6ddd79de3954f57454c20ae1e8cd05593284ec40b65674fc01183919fe4d4fa5daf86e00ec688bb4181b2dea444f8
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
highlight_io (0.5.
|
4
|
+
highlight_io (0.5.1)
|
5
5
|
grpc (~> 1.66)
|
6
6
|
opentelemetry-exporter-otlp (~> 0.28.1)
|
7
7
|
opentelemetry-instrumentation-all (~> 0.62.1)
|
@@ -14,7 +14,7 @@ GEM
|
|
14
14
|
ast (2.4.2)
|
15
15
|
google-protobuf (3.25.4-arm64-darwin)
|
16
16
|
google-protobuf (3.25.4-x86_64-linux)
|
17
|
-
googleapis-common-protos-types (1.
|
17
|
+
googleapis-common-protos-types (1.16.0)
|
18
18
|
google-protobuf (>= 3.18, < 5.a)
|
19
19
|
grpc (1.66.0-arm64-darwin)
|
20
20
|
google-protobuf (>= 3.25, < 5.0)
|
data/lib/highlight/version.rb
CHANGED
data/lib/highlight.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'date'
|
2
|
+
require 'highlight/version'
|
2
3
|
require 'json'
|
3
4
|
require 'logger'
|
4
5
|
require 'opentelemetry/exporter/otlp'
|
@@ -256,6 +257,8 @@ module Highlight
|
|
256
257
|
end
|
257
258
|
|
258
259
|
def with_highlight_context(&block)
|
260
|
+
return yield unless H.initialized?
|
261
|
+
|
259
262
|
set_highlight_headers
|
260
263
|
H.instance.trace(
|
261
264
|
highlight_headers.session_id,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: highlight_io
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Highlight
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|