opentelemetry-instrumentation-mongo 0.22.1 → 0.22.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: bac827d03b5015c89e9ee9677ad3a22ca0bfcd83135a796dad0ca9c12505ea03
4
- data.tar.gz: a2366cb7c8753dbc9e1fbc61a46e3dcc8c2e10c8ffd219702cb35a568d4f60e0
3
+ metadata.gz: fe6631fb3c42a2aec5b54d5ad0d0a9339303c763b63eefbc91c35dc86de51d9b
4
+ data.tar.gz: 9540451f04a834c6c8100af971df283cfdc40f11867503033bd232a9823052cd
5
5
  SHA512:
6
- metadata.gz: 9c593f5b61671de44ed61b4703cbd7868aebae1d9a3f2301352bbe5dc46f9b685beb1dd7a5f10544843e723afdea69336c054b046317d419d38a46eaaf9f7521
7
- data.tar.gz: 3c52a965a40e6824961b5257d435bf4df853c25d2ad7762ed4107d833c903b000f7f9bdfe155309bcba1c820e4511af3c0be17b5dc9c7827f6f582e9623c3c0a
6
+ metadata.gz: 79d9ef0426d6a7515f9956031bc856032d5f24b1ab4f5f6cc83baf9b75c677c43f396edc256e0746e69e5f4f774f0a081e17b43630bebecfa60457706d46ee1e
7
+ data.tar.gz: 4a233a9bd7d0eae5b417ff7f19bf4b60eb7347aceff1f6debc812e1993b0fc4ec09caae0336e9dc60f647dcd90de3a780c8e7c74492e3c372b08f2d74391585b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release History: opentelemetry-instrumentation-mongo
2
2
 
3
+ ### v0.22.2 / 2023-11-23
4
+
5
+ * CHANGED: Applied Rubocop Performance Recommendations [#727](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/727)
6
+
3
7
  ### v0.22.1 / 2023-06-05
4
8
 
5
9
  * FIXED: Base config options
@@ -75,7 +75,7 @@ module OpenTelemetry
75
75
  pipeline = command['pipeline']
76
76
  return unless pipeline
77
77
 
78
- payload['pipeline'] = pipeline.map(&method(:mask))
78
+ payload['pipeline'] = pipeline.map { |x| mask(x) }
79
79
  end
80
80
 
81
81
  def add_val(payload, command, key)
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module Mongo
10
- VERSION = '0.22.1'
10
+ VERSION = '0.22.2'
11
11
  end
12
12
  end
13
13
  end
@@ -15,5 +15,5 @@ module OpenTelemetry
15
15
  end
16
16
  end
17
17
 
18
- require_relative './mongo/instrumentation'
19
- require_relative './mongo/version'
18
+ require_relative 'mongo/instrumentation'
19
+ require_relative 'mongo/version'
@@ -19,4 +19,4 @@ module OpenTelemetry
19
19
  end
20
20
  end
21
21
 
22
- require_relative './instrumentation/mongo'
22
+ require_relative 'instrumentation/mongo'
@@ -4,4 +4,4 @@
4
4
  #
5
5
  # SPDX-License-Identifier: Apache-2.0
6
6
 
7
- require_relative './opentelemetry/instrumentation'
7
+ require_relative 'opentelemetry/instrumentation'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-instrumentation-mongo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.1
4
+ version: 0.22.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTelemetry Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-05 00:00:00.000000000 Z
11
+ date: 2023-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 2.2.0
47
+ version: '2.5'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 2.2.0
54
+ version: '2.5'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -170,70 +170,70 @@ dependencies:
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: 1.50.2
173
+ version: 1.56.1
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: 1.50.2
180
+ version: 1.56.1
181
181
  - !ruby/object:Gem::Dependency
182
- name: simplecov
182
+ name: rubocop-performance
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: 0.17.1
187
+ version: 1.19.1
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: 0.17.1
194
+ version: 1.19.1
195
195
  - !ruby/object:Gem::Dependency
196
- name: webmock
196
+ name: simplecov
197
197
  requirement: !ruby/object:Gem::Requirement
198
198
  requirements:
199
199
  - - "~>"
200
200
  - !ruby/object:Gem::Version
201
- version: 3.7.6
201
+ version: 0.17.1
202
202
  type: :development
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - "~>"
207
207
  - !ruby/object:Gem::Version
208
- version: 3.7.6
208
+ version: 0.17.1
209
209
  - !ruby/object:Gem::Dependency
210
- name: yard
210
+ name: webmock
211
211
  requirement: !ruby/object:Gem::Requirement
212
212
  requirements:
213
213
  - - "~>"
214
214
  - !ruby/object:Gem::Version
215
- version: '0.9'
215
+ version: '3.19'
216
216
  type: :development
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - "~>"
221
221
  - !ruby/object:Gem::Version
222
- version: '0.9'
222
+ version: '3.19'
223
223
  - !ruby/object:Gem::Dependency
224
- name: yard-doctest
224
+ name: yard
225
225
  requirement: !ruby/object:Gem::Requirement
226
226
  requirements:
227
227
  - - "~>"
228
228
  - !ruby/object:Gem::Version
229
- version: 0.1.6
229
+ version: '0.9'
230
230
  type: :development
231
231
  prerelease: false
232
232
  version_requirements: !ruby/object:Gem::Requirement
233
233
  requirements:
234
234
  - - "~>"
235
235
  - !ruby/object:Gem::Version
236
- version: 0.1.6
236
+ version: '0.9'
237
237
  description: Mongo instrumentation for the OpenTelemetry framework
238
238
  email:
239
239
  - cncf-opentelemetry-contributors@lists.cncf.io
@@ -256,10 +256,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
256
256
  licenses:
257
257
  - Apache-2.0
258
258
  metadata:
259
- changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-mongo/0.22.1/file/CHANGELOG.md
259
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-mongo/0.22.2/file/CHANGELOG.md
260
260
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/mongo
261
261
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
262
- documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-mongo/0.22.1
262
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-mongo/0.22.2
263
263
  post_install_message:
264
264
  rdoc_options: []
265
265
  require_paths: