opentelemetry-helpers-sql-obfuscation 0.4.0 → 0.5.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: 8649058f942a11ae9c9b3dd69d1f858b92cee15497acb4a9a5fdb3fb8712a23d
4
- data.tar.gz: a6f27657bfbaaef87fe10b8e0bab0e324ba98e51ab4a75c7f29fb5f6e7d3bac9
3
+ metadata.gz: 5a72f3fc9e038b07ab4b107949bc0dbe0fc427b335a8014872f77a23f3fc07aa
4
+ data.tar.gz: ce94524d998ed39f0e3e0d068a3af45e9be3cc2e2a80f79d3b47d3504c21993f
5
5
  SHA512:
6
- metadata.gz: 7bf44dda9c8e3a4d8592d8b57ce516960b21ff770ceef290ec2aa2af1c39f9140aa42eb1749b4fe259a631fe1795eefc07ba4aa3dbe278973d78d5b3cc10d80d
7
- data.tar.gz: 12936c15f9ab572d22ca539421f347573480606d9ce9af69c2022e38117b68860ca3beaa6822cf40bb19ce062061045a1e245ae6f126a212c13ecc92b1fcbc1f
6
+ metadata.gz: d82a71d7d753b7e5d6efacb6fa4b17e9c9d80acf1309abab0be9078e64dce7b86b748cbe7534079e5956e34a772bec917493fde8f36571c236723b8702636ff4
7
+ data.tar.gz: cedbf5db344c4dc5aaca0d8e0151a1b3d38e544d50e8e61375ebbe39af58ebc870e8ee135dbb03e424a25dad0651efa9249951d6ca8282d9829852a6b0e0584f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Release History: opentelemetry-helpers-sql-obfuscation
2
2
 
3
+ ### v0.5.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.4.0 / 2025-10-08
4
10
 
5
11
  ## Deprecation Notice
data/README.md CHANGED
@@ -8,7 +8,7 @@ All future development, bug fixes, and feature releases will occur in the new ge
8
8
 
9
9
  ## OpenTelemetry Instrumentation Helpers: SQL Obfuscation
10
10
 
11
- This Ruby gem contains logic to obfuscate SQL. It's intended for use by by gem authors instrumenting SQL adapter libraries, such as mysql2, pg, and trilogy.
11
+ This Ruby gem contains logic to obfuscate SQL. It's intended for use by gem authors instrumenting SQL adapter libraries, such as mysql2, pg, and trilogy.
12
12
 
13
13
  The logic is largely drawn from the [New Relic Ruby agent's SQL Obfuscation Helpers module][new-relic-obfuscation-helpers].
14
14
 
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Helpers
9
9
  module SqlObfuscation
10
- VERSION = '0.4.0'
10
+ VERSION = '0.5.0'
11
11
  end
12
12
  end
13
13
  end
@@ -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
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-helpers-sql-obfuscation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.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
@@ -44,10 +44,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
44
44
  licenses:
45
45
  - Apache-2.0
46
46
  metadata:
47
- changelog_uri: https://rubydoc.info/gems/opentelemetry-helpers-sql-obfuscation/0.4.0/file/CHANGELOG.md
47
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-helpers-sql-obfuscation/0.5.0/file/CHANGELOG.md
48
48
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/helpers/sql-obfuscation
49
49
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
50
- documentation_uri: https://rubydoc.info/gems/opentelemetry-helpers-sql-obfuscation/0.4.0
50
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-helpers-sql-obfuscation/0.5.0
51
51
  post_install_message: ''
52
52
  rdoc_options: []
53
53
  require_paths:
@@ -56,14 +56,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
56
56
  requirements:
57
57
  - - ">="
58
58
  - !ruby/object:Gem::Version
59
- version: '3.1'
59
+ version: '3.2'
60
60
  required_rubygems_version: !ruby/object:Gem::Requirement
61
61
  requirements:
62
62
  - - ">="
63
63
  - !ruby/object:Gem::Version
64
64
  version: '0'
65
65
  requirements: []
66
- rubygems_version: 3.3.27
66
+ rubygems_version: 3.4.19
67
67
  signing_key:
68
68
  specification_version: 4
69
69
  summary: This gem is deprecated and no longer maintained. It has been replaced by