ddtrace 1.6.0 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -2
- data/lib/datadog/tracing/contrib/redis/integration.rb +2 -1
- data/lib/datadog/tracing/contrib/redis/patcher.rb +2 -3
- data/lib/ddtrace/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a13232b0a3e34d8c05f4e9cd14083d3da7899e4cd4a8a52a95495193dce81b4
|
4
|
+
data.tar.gz: '0975d24547f318e657422c35ef54f8f68cff797436594d30514d163b55170220'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
25
|
-
|
26
|
-
super(options)
|
25
|
+
super(options.merge(redis_instance: self))
|
27
26
|
end
|
28
27
|
end
|
29
28
|
end
|
data/lib/ddtrace/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2022-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: msgpack
|