opentelemetry-instrumentation-mongo 0.18.4 → 0.19.0

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: f44fe083e72ab40c586477c07982466d7d290fbfaac66da20bc0c3520248cd52
4
- data.tar.gz: e4d06551813fe6b84b96e8ab3fe27c0d0606177a51f4d712c2b6c519187a6df5
3
+ metadata.gz: fc3e1428187bce93f85109cba8c79ec5db55f164be41553f11643a68bbaeefca
4
+ data.tar.gz: 3306dcde5f4d54a60bada3ee7a9be014591d39fa52c583a38268e233ca40c7c4
5
5
  SHA512:
6
- metadata.gz: edfd4e5a11b8fe8c9bc676fadc28d0b612aae445f069dad6e1ab66a52f0c49bd12e21d324bc2cd2e6bbd0f83366f9486eca485e0f742cdb0a249aa4fa4b378f6
7
- data.tar.gz: 42eab1ab30e08aa58b3108640158e304376e1a6882fcdf5238565bf2f4cb5d6a6e51d3f170d19c764ace4350c66cbcc216c7003e847d9b271c0c6c00ce533ff0
6
+ metadata.gz: a9dbd6eb6e7657e0862cbd14a10fba8ee7205689a4479235ee33fcc95e16c2c2bbb9f138df816026bc003090fe17631e4e1f706e932e0eb77a07677d1ac64841
7
+ data.tar.gz: 66ddbdedcdd57119384251278a3796f65e5b618a9f9645794c790c7045d084d77ba477c157ebfbaf3369375c47230a3e2f316166027e81d64ed1e89059a7fc95
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release History: opentelemetry-instrumentation-mongo
2
2
 
3
+ ### v0.19.0 / 2022-05-02
4
+
5
+ * ADDED: Validate Using Enums
6
+ * FIXED: RubyGems Fallback
7
+
3
8
  ### v0.18.4 / 2021-12-02
4
9
 
5
10
  * (No significant changes)
@@ -25,12 +25,12 @@ module OpenTelemetry
25
25
  end
26
26
 
27
27
  option :peer_service, default: nil, validate: :string
28
- option :db_statement, default: :include, validate: ->(opt) { %I[omit include].include?(opt) }
28
+ option :db_statement, default: :include, validate: %I[omit include]
29
29
 
30
30
  private
31
31
 
32
32
  def gem_version
33
- Gem.loaded_specs['mongo']&.version
33
+ Gem::Version.new(::Mongo::VERSION)
34
34
  end
35
35
 
36
36
  def require_dependencies
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module Mongo
10
- VERSION = '0.18.4'
10
+ VERSION = '0.19.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-instrumentation-mongo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.4
4
+ version: 0.19.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: 2021-12-02 00:00:00.000000000 Z
11
+ date: 2022-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.19.0
33
+ version: 0.20.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.19.0
40
+ version: 0.20.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: appraisal
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -242,10 +242,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
242
242
  licenses:
243
243
  - Apache-2.0
244
244
  metadata:
245
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-mongo/v0.18.4/file.CHANGELOG.html
245
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-mongo/v0.19.0/file.CHANGELOG.html
246
246
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/mongo
247
247
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
248
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-mongo/v0.18.4
248
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-mongo/v0.19.0
249
249
  post_install_message:
250
250
  rdoc_options: []
251
251
  require_paths: