appsignal 3.6.4-java → 3.6.5-java
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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/appsignal/hooks/redis_client.rb +1 -0
- data/lib/appsignal/version.rb +1 -1
- data/spec/lib/appsignal/hooks/redis_client_spec.rb +19 -3
- 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: 7f2e80f755b49c967d0a62e318f1f9f13b876c5cfe5304c2bce935f32ecbb77c
|
|
4
|
+
data.tar.gz: a3ce7b25084fc17e7c17c7fb54ecc9f954a1a3849594bf21b5777a37f559620d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7d7e02293f950009a596ad6fcb365b481f7d10171193d0204ffa28b7cbd923ebb9b2387d47f186e295e2537cf72e1e4988d56525b3b59592bdc228ec26e5b3ce
|
|
7
|
+
data.tar.gz: c88ddfc0c2127f750ceaa82961a287893668462265326a52bf81a66e012c3ec89f3fd82a9b61ed0b3c9000170d04e907a9e0a42079eac48b2dda9f3c7f91d85b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# AppSignal for Ruby gem Changelog
|
|
2
2
|
|
|
3
|
+
## 3.6.5
|
|
4
|
+
|
|
5
|
+
_Published on 2024-04-17._
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- [83004ae5](https://github.com/appsignal/appsignal-ruby/commit/83004ae597e55a70673d6589c8b4457960d7b1ba) patch - Check the redis-client gem version before installing instrumentation. This prevents errors from being raised on redis-client gem versions older than 0.14.0.
|
|
10
|
+
|
|
3
11
|
## 3.6.4
|
|
4
12
|
|
|
5
13
|
_Published on 2024-03-25._
|
data/lib/appsignal/version.rb
CHANGED
|
@@ -4,12 +4,28 @@ describe Appsignal::Hooks::RedisClientHook do
|
|
|
4
4
|
end
|
|
5
5
|
|
|
6
6
|
if DependencyHelper.redis_client_present?
|
|
7
|
-
context "with
|
|
7
|
+
context "with redis-client" do
|
|
8
8
|
context "with instrumentation enabled" do
|
|
9
9
|
describe "#dependencies_present?" do
|
|
10
10
|
subject { described_class.new.dependencies_present? }
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
context "with gem version new than 0.14.0" do
|
|
13
|
+
before { stub_const("RedisClient::VERSION", "1.2.3") }
|
|
14
|
+
|
|
15
|
+
it { is_expected.to be_truthy }
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
context "with gem version 0.14.0" do
|
|
19
|
+
before { stub_const("RedisClient::VERSION", "0.14.0") }
|
|
20
|
+
|
|
21
|
+
it { is_expected.to be_truthy }
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
context "with gem version older than 0.14.0" do
|
|
25
|
+
before { stub_const("RedisClient::VERSION", "0.13.9") }
|
|
26
|
+
|
|
27
|
+
it { is_expected.to be_falsy }
|
|
28
|
+
end
|
|
13
29
|
end
|
|
14
30
|
|
|
15
31
|
context "with rest-client gem" do
|
|
@@ -211,7 +227,7 @@ describe Appsignal::Hooks::RedisClientHook do
|
|
|
211
227
|
end
|
|
212
228
|
end
|
|
213
229
|
else
|
|
214
|
-
context "without redis" do
|
|
230
|
+
context "without redis-client" do
|
|
215
231
|
describe "#dependencies_present?" do
|
|
216
232
|
subject { described_class.new.dependencies_present? }
|
|
217
233
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: appsignal
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.6.
|
|
4
|
+
version: 3.6.5
|
|
5
5
|
platform: java
|
|
6
6
|
authors:
|
|
7
7
|
- Robert Beekman
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2024-
|
|
13
|
+
date: 2024-04-17 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: rack
|