highlight_io 0.5.2 → 0.5.4
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 +4 -4
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +5 -5
- data/lib/highlight/version.rb +1 -1
- data/lib/highlight.rb +7 -3
- 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: 43534b4ac1e3bd3ec6c1e180316d9b3ba114062d10170a766cf4bd8b796ad659
|
4
|
+
data.tar.gz: 67eb09e090d710c42e4d5eb2b32a871d359419bd970cc16d69ba75787684cf76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4cbf268f9b307bc0c6a4738b92544b8762962291bd6d5c3e9ddbbd369f16009fd44785008b1f716d622ffbbc790f86772d13101d187eaf22b4e3741ba6f65fe
|
7
|
+
data.tar.gz: 03ebe8c0c821f6c7e2494cb39cfd9be967dfb3501771e312e4298eabbafabee3528027c2965a3391494e1e87f0215ed6b2a1af8c386191f85436f32911b93542
|
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.4)
|
5
5
|
grpc (~> 1.66)
|
6
6
|
opentelemetry-exporter-otlp (~> 0.28.1)
|
7
7
|
opentelemetry-instrumentation-all (~> 0.62.1)
|
@@ -16,10 +16,10 @@ GEM
|
|
16
16
|
google-protobuf (3.25.5-x86_64-linux)
|
17
17
|
googleapis-common-protos-types (1.16.0)
|
18
18
|
google-protobuf (>= 3.18, < 5.a)
|
19
|
-
grpc (1.
|
19
|
+
grpc (1.67.0-arm64-darwin)
|
20
20
|
google-protobuf (>= 3.25, < 5.0)
|
21
21
|
googleapis-common-protos-types (~> 1.0)
|
22
|
-
grpc (1.
|
22
|
+
grpc (1.67.0-x86_64-linux)
|
23
23
|
google-protobuf (>= 3.25, < 5.0)
|
24
24
|
googleapis-common-protos-types (~> 1.0)
|
25
25
|
json (2.6.3)
|
@@ -52,7 +52,7 @@ GEM
|
|
52
52
|
opentelemetry-api (~> 1.0)
|
53
53
|
opentelemetry-instrumentation-active_support (~> 0.6)
|
54
54
|
opentelemetry-instrumentation-base (~> 0.22.1)
|
55
|
-
opentelemetry-instrumentation-active_job (0.7.
|
55
|
+
opentelemetry-instrumentation-active_job (0.7.8)
|
56
56
|
opentelemetry-api (~> 1.0)
|
57
57
|
opentelemetry-instrumentation-base (~> 0.22.1)
|
58
58
|
opentelemetry-instrumentation-active_model_serializers (0.20.2)
|
@@ -167,7 +167,7 @@ GEM
|
|
167
167
|
opentelemetry-api (~> 1.0)
|
168
168
|
opentelemetry-helpers-sql-obfuscation
|
169
169
|
opentelemetry-instrumentation-base (~> 0.22.1)
|
170
|
-
opentelemetry-instrumentation-que (0.8.
|
170
|
+
opentelemetry-instrumentation-que (0.8.4)
|
171
171
|
opentelemetry-api (~> 1.0)
|
172
172
|
opentelemetry-instrumentation-base (~> 0.22.1)
|
173
173
|
opentelemetry-instrumentation-racecar (0.3.4)
|
data/lib/highlight/version.rb
CHANGED
data/lib/highlight.rb
CHANGED
@@ -20,7 +20,7 @@ module Highlight
|
|
20
20
|
end
|
21
21
|
|
22
22
|
def self.init(project_id, environment: '', otlp_endpoint: H::OTLP_HTTP, &block)
|
23
|
-
H.new(project_id, environment: environment, otlp_endpoint: otlp_endpoint, &block)
|
23
|
+
H.new(project_id, environment: environment.to_s, otlp_endpoint: otlp_endpoint, &block)
|
24
24
|
end
|
25
25
|
|
26
26
|
def self.start_span(name, attrs = {}, &block)
|
@@ -251,9 +251,13 @@ module Highlight
|
|
251
251
|
module Rails
|
252
252
|
def self.included(base)
|
253
253
|
base.extend(ClassMethods)
|
254
|
-
|
254
|
+
|
255
|
+
if base.respond_to?(:helper_method)
|
256
|
+
base.helper_method(:highlight_headers)
|
257
|
+
base.helper(ViewHelpers)
|
258
|
+
end
|
259
|
+
|
255
260
|
base.around_action(:with_highlight_context)
|
256
|
-
base.helper(ViewHelpers)
|
257
261
|
end
|
258
262
|
|
259
263
|
def with_highlight_context(&block)
|
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.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Highlight
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|