highlight_io 0.5.0 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c3efa0af1bc68bbe32f441a34004f6c8091c45ac39cdb29eab0c8e998ec81b83
4
- data.tar.gz: c7a0b835e16dc117987dd5907aa296ce43b8d63712f78a0c10eeb187aff719ca
3
+ metadata.gz: a97a116ab2f537f0c01a8b9513a6c2a8c5633396bd9764db6c2f5b94da6f6e6d
4
+ data.tar.gz: 5b45bdd1b8d84cf7ef162c51a4a4034b6736d738b29237909ea2351090a7f8dc
5
5
  SHA512:
6
- metadata.gz: c252eedb2907918abb3baa9101ddde61a76ca73ccdc95a0c7fb9dfb58b6c097ca599f23b6ef2130b888456fb6227db7e38284efd1a5a91ef1a54edf14c0c0f1f
7
- data.tar.gz: 756d3dd965066c45329269fcaf185bb2dc80f3df90bbc35f90175ba3ebee227811d29550c5f03507728446422ecd9c3b1d6c09814fef0eb618506ae6b1f22b04
6
+ metadata.gz: a1a095355c2aed477b6d79a682c0c37c8ec0a9aed809541ad16eb4a8b86e02c6b849c30282362e88e37c2ea0ee8d6a114be60c741d6faa7efdda16f4fda814c7
7
+ data.tar.gz: d7d010a7dfbf98c1744e0c2c19c2ac8d889ed6d5271aa6821feadd2cb742b3cda9b7e8259b10a9ad84109b9387082a02ac36e96bedaacf7d8861b49540a2a156
data/.rubocop.yml CHANGED
@@ -35,6 +35,9 @@ Style/InlineComment:
35
35
  Style/MissingElse:
36
36
  Enabled: false
37
37
 
38
+ Style/OpenStructUse:
39
+ Enabled: false
40
+
38
41
  Style/StringHashKeys:
39
42
  Enabled: false
40
43
 
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 0.5.2
2
+
3
+ - Update dependencies with security vulnerabilities
4
+
5
+ ## 0.5.1
6
+
7
+ - Fix bug with SDK controller instrumentation
8
+ - Fix `Highlight::VERSION` error
9
+
1
10
  ## 0.5.0
2
11
 
3
12
  - Fix bug with SDK initialization
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- highlight_io (0.5.0)
4
+ highlight_io (0.5.2)
5
5
  grpc (~> 1.66)
6
6
  opentelemetry-exporter-otlp (~> 0.28.1)
7
7
  opentelemetry-instrumentation-all (~> 0.62.1)
@@ -12,9 +12,9 @@ GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
14
  ast (2.4.2)
15
- google-protobuf (3.25.4-arm64-darwin)
16
- google-protobuf (3.25.4-x86_64-linux)
17
- googleapis-common-protos-types (1.15.0)
15
+ google-protobuf (3.25.5-arm64-darwin)
16
+ google-protobuf (3.25.5-x86_64-linux)
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)
@@ -38,7 +38,7 @@ GEM
38
38
  opentelemetry-helpers-mysql (0.1.1)
39
39
  opentelemetry-api (~> 1.0)
40
40
  opentelemetry-common (~> 0.21)
41
- opentelemetry-helpers-sql-obfuscation (0.1.1)
41
+ opentelemetry-helpers-sql-obfuscation (0.2.0)
42
42
  opentelemetry-common (~> 0.21)
43
43
  opentelemetry-instrumentation-action_mailer (0.1.0)
44
44
  opentelemetry-api (~> 1.0)
@@ -233,8 +233,7 @@ GEM
233
233
  rainbow (3.1.1)
234
234
  rake (12.3.3)
235
235
  regexp_parser (2.8.1)
236
- rexml (3.2.8)
237
- strscan (>= 3.0.9)
236
+ rexml (3.3.7)
238
237
  rubocop (1.55.1)
239
238
  json (~> 2.3)
240
239
  language_server-protocol (>= 3.17.0)
@@ -249,7 +248,6 @@ GEM
249
248
  rubocop-ast (1.29.0)
250
249
  parser (>= 3.2.1.0)
251
250
  ruby-progressbar (1.13.0)
252
- strscan (3.1.0)
253
251
  unicode-display_width (2.4.2)
254
252
 
255
253
  PLATFORMS
@@ -1,3 +1,3 @@
1
1
  module Highlight
2
- VERSION = '0.5.0'.freeze
2
+ VERSION = '0.5.2'.freeze
3
3
  end
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.0
4
+ version: 0.5.2
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-05 00:00:00.000000000 Z
11
+ date: 2024-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc