appsignal 3.6.4 → 3.6.5
Sign up to get free protection for your applications and to get access to all the features.
- 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: 7e49b3ec10a26021ffd8c443f281cbf4d74618ba2aa9c20b8690c7ab96b1b976
|
4
|
+
data.tar.gz: a3ce7b25084fc17e7c17c7fb54ecc9f954a1a3849594bf21b5777a37f559620d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61347869e731de4bc86818535ddb295e977d1774f04cd27cf8255f506c9516b9b8a9ecb68e8e7df0c1b2bc57cd7f6b1cd9a1eab1fa6852b95b11c9c3750c4bfc
|
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: ruby
|
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
|