ddtrace 1.6.0 → 1.6.1

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: 583531c81dd828631484d4d0d312b77fda75ee12b2a6a4e60c1d235a2743394d
4
- data.tar.gz: c398e707e66269cc1857d0da25932ec89b943d14202206d5e540c0b9d449f1b8
3
+ metadata.gz: 7a13232b0a3e34d8c05f4e9cd14083d3da7899e4cd4a8a52a95495193dce81b4
4
+ data.tar.gz: '0975d24547f318e657422c35ef54f8f68cff797436594d30514d163b55170220'
5
5
  SHA512:
6
- metadata.gz: ef70965d60a3bd97e474b74a59e3d88eeea026a2cc8c843ca96f2aa2e137d4a5a6dcf9a9bc1b1ba282cabf9fa73bc54038b698c06ec2769ffe50e767802cb0eb
7
- data.tar.gz: b3c24f7d7322a1a3b080b2decc8262f8cf62ba9ccd59629345696c3b3285f8404ad6a42b3dad6c359d37623ce2a30b392c720d70164605162487ee5cf2a5e483
6
+ metadata.gz: da8917c06511999a28152037efa177fceba67d0329534bc8a462d17ffb151bfad0f360318262be095fc73ce42990051e6856b2cc3663317091b552d76730116c
7
+ data.tar.gz: 44a8062936ae2f20fdca4d524d6390825b87092d58ebb934d2e4b715f442b595be020752b3a2c0fd432d4dc3901ad611725adf4d70139c095d78e7b2b127fdd1
data/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [1.6.1] - 2022-11-16
6
+
7
+ ### Changed
8
+
9
+ * Limit `redis` version support to less than 5
10
+
11
+ ### Fixed
12
+
13
+ * [redis]: Fix frozen input for `Redis.new(...)`
14
+
5
15
  ## [1.6.0] - 2022-11-15
6
16
 
7
17
  ### Added
@@ -2188,7 +2198,8 @@ Release notes: https://github.com/DataDog/dd-trace-rb/releases/tag/v0.3.1
2188
2198
 
2189
2199
  Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.3.0...v0.3.1
2190
2200
 
2191
- [Unreleased]: https://github.com/DataDog/dd-trace-rb/compare/v1.6.0...master
2201
+ [Unreleased]: https://github.com/DataDog/dd-trace-rb/compare/v1.6.1...master
2202
+ [1.6.1]: https://github.com/DataDog/dd-trace-rb/compare/v1.6.0...v1.6.1
2192
2203
  [1.6.0]: https://github.com/DataDog/dd-trace-rb/compare/v1.5.2...v1.6.0
2193
2204
  [1.5.2]: https://github.com/DataDog/dd-trace-rb/compare/v1.5.1...v1.5.2
2194
2205
  [1.5.1]: https://github.com/DataDog/dd-trace-rb/compare/v1.5.0...v1.5.1
@@ -3257,4 +3268,4 @@ Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.3.0...v0.3.1
3257
3268
  [@y-yagi]: https://github.com/y-yagi
3258
3269
  [@yujideveloper]: https://github.com/yujideveloper
3259
3270
  [@yukimurasawa]: https://github.com/yukimurasawa
3260
- [@zachmccormick]: https://github.com/zachmccormick
3271
+ [@zachmccormick]: https://github.com/zachmccormick
@@ -13,6 +13,7 @@ module Datadog
13
13
  include Contrib::Integration
14
14
 
15
15
  MINIMUM_VERSION = Gem::Version.new('3.2')
16
+ MAX_VERSION = Gem::Version.new('5')
16
17
 
17
18
  # @public_api Changing the integration name or integration options can cause breaking changes
18
19
  register_as :redis, auto_patch: true
@@ -26,7 +27,7 @@ module Datadog
26
27
  end
27
28
 
28
29
  def self.compatible?
29
- super && version >= MINIMUM_VERSION
30
+ super && version >= MINIMUM_VERSION && version < MAX_VERSION
30
31
  end
31
32
 
32
33
  def new_configuration
@@ -20,10 +20,9 @@ module Datadog
20
20
 
21
21
  # Instance method patch for redis instance
22
22
  module InstanceMethods
23
+ # `options` could be frozen
23
24
  def initialize(options = {})
24
- options[:redis_instance] = self
25
-
26
- super(options)
25
+ super(options.merge(redis_instance: self))
27
26
  end
28
27
  end
29
28
  end
@@ -4,7 +4,7 @@ module DDTrace
4
4
  module VERSION
5
5
  MAJOR = 1
6
6
  MINOR = 6
7
- PATCH = 0
7
+ PATCH = 1
8
8
  PRE = nil
9
9
 
10
10
  STRING = [MAJOR, MINOR, PATCH, PRE].compact.join('.')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ddtrace
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Datadog, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-15 00:00:00.000000000 Z
11
+ date: 2022-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: msgpack