opentelemetry-helpers-sql-processor 0.1.0 → 0.2.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d08a401f9073ed578f063eb9d3d68d6b29b2c6338415460e06e4e62b4eec2a91
4
- data.tar.gz: 34367c78f8223a4bf01f4d722fc7b145937b691e71632a7f5c2f83263cc27241
3
+ metadata.gz: 36fee7896b9bec8c2b1fe195f00f9b6e17924f2b529239e55a17010bb865c352
4
+ data.tar.gz: bb514412e9b65738b6e995af29fff19deb973b1335bebadfc6529a52b1aeb467
5
5
  SHA512:
6
- metadata.gz: 78a07983ccc3dc1aa8f68a7ebbb4366ca1cb8e6d11aec96f3e9ca40fb2108fe90cd42550d2558e3448e699f4692d7b917ab887ccf2b099f6091ebcae6c721e2c
7
- data.tar.gz: 5c9951beecc805c26d65f2aa0ae478af632c71c87b56e76c2f28a320df26adfe7325225740af066592e027c2e17adda60d60844766037ec0721f4983fc09354c
6
+ metadata.gz: 3f5a2e3d73403c9c6225b9955742166cab719d01f5c91e39523129f9817f0c0b56472d05d1d5a91ab951b93d8435f3445221ea0065e60beb0e41022429f4807c
7
+ data.tar.gz: 4f9eb29336df22cd38910049eb4cbbcbf7e1c3849335193ddfd2576a746675f914fa352b51c1cc95311cb67c49628e8e88e8bd3ad53283aa934a60f8643c724d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Release History: opentelemetry-helpers-sql-processor
2
2
 
3
+ ### v0.2.0 / 2025-10-22
4
+
5
+ * BREAKING CHANGE: Min Ruby Version 3.2
6
+
7
+ * ADDED: Min Ruby Version 3.2
8
+
3
9
  ### v0.1.0 / 2025-10-08
4
10
 
5
11
  Initial release.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # OpenTelemetry Instrumentation Helpers: SQL Processor
2
2
 
3
- This Ruby gem contains logic to process SQL, including obfuscation. It's intended for use by by gem authors instrumenting SQL adapter libraries, such as mysql2, pg, and trilogy.
3
+ This Ruby gem contains logic to process SQL, including obfuscation. It's intended for use by gem authors instrumenting SQL adapter libraries, such as mysql2, pg, and trilogy.
4
4
 
5
5
  Obfuscation logic is largely drawn from the [New Relic Ruby agent's SQL Obfuscation Helpers module][new-relic-obfuscation-helpers].
6
6
 
@@ -96,8 +96,8 @@ module OpenTelemetry
96
96
  # @param sql [String] The SQL to obfuscate.
97
97
  # @param obfuscation_limit [optional Integer] the length at which the SQL string will not be obfuscated
98
98
  # @param adapter [optional Symbol] the type of database adapter calling the method. `:default`, `:mysql` and `:postgres` are supported.
99
- # @return [String] The SQL query string where the values are replaced with "?". When the sql statement exceeds the obufscation limit
100
- # the first matched pair from the SQL statement will be returned, with an appended truncation message. If trunaction is unsuccessful,
99
+ # @return [String] The SQL query string where the values are replaced with "?". When the sql statement exceeds the obfuscation limit
100
+ # the first matched pair from the SQL statement will be returned, with an appended truncation message. If truncation is unsuccessful,
101
101
  # a string describing the error will be returned.
102
102
  #
103
103
  # @api public
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Helpers
9
9
  module SqlProcessor
10
- VERSION = '0.1.0'
10
+ VERSION = '0.2.0'
11
11
  end
12
12
  end
13
13
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-helpers-sql-processor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTelemetry Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-10-08 00:00:00.000000000 Z
11
+ date: 2025-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-common
@@ -43,10 +43,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
43
43
  licenses:
44
44
  - Apache-2.0
45
45
  metadata:
46
- changelog_uri: https://rubydoc.info/gems/opentelemetry-helpers-sql-processor/0.1.0/file/CHANGELOG.md
46
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-helpers-sql-processor/0.2.0/file/CHANGELOG.md
47
47
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/helpers/sql-processor
48
48
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
49
- documentation_uri: https://rubydoc.info/gems/opentelemetry-helpers-sql-processor/0.1.0
49
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-helpers-sql-processor/0.2.0
50
50
  post_install_message: ''
51
51
  rdoc_options: []
52
52
  require_paths:
@@ -55,14 +55,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
55
55
  requirements:
56
56
  - - ">="
57
57
  - !ruby/object:Gem::Version
58
- version: '3.1'
58
+ version: '3.2'
59
59
  required_rubygems_version: !ruby/object:Gem::Requirement
60
60
  requirements:
61
61
  - - ">="
62
62
  - !ruby/object:Gem::Version
63
63
  version: '0'
64
64
  requirements: []
65
- rubygems_version: 3.3.27
65
+ rubygems_version: 3.4.19
66
66
  signing_key:
67
67
  specification_version: 4
68
68
  summary: SQL Processing Instrumentation Helpers for the OpenTelemetry framework