appsignal 3.12.2-java → 3.12.3-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 +9 -0
- data/lib/appsignal/config.rb +2 -0
- data/lib/appsignal/version.rb +1 -1
- data/lib/appsignal.rb +1 -1
- data/spec/lib/appsignal/config_spec.rb +4 -0
- data/spec/lib/appsignal_spec.rb +22 -0
- 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: 751ad4a4320323d8c24373ac2c5900f1c901145416e2445b8b6c445c9f9525c9
|
4
|
+
data.tar.gz: 71e823be2cdc7aa5cd3f92eb07819134d74d7d214d85bc18af76ba10526f9eb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fd78385cd1e814ed7f13f38d62ba25453d43fcea1cdd8778d94938dc056d0c7ffa8c8408ebc4abcc45271b47c306d25e81997a27c84b48a70d6b36827bb502d
|
7
|
+
data.tar.gz: f73268ac9b4101426569e81593cf25913cafeaac362493f52c4fe8325af8f1adfba4a4c7bfd6b3a5ca5e3c5c3f21f68cf15e7b3529eacdb7284ef895d18b1539
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# AppSignal for Ruby gem Changelog
|
2
2
|
|
3
|
+
## 3.12.3
|
4
|
+
|
5
|
+
_Published on 2024-07-30._
|
6
|
+
|
7
|
+
### Fixed
|
8
|
+
|
9
|
+
- Fix the application environment being reported as "[]" when no valid environment could be found. (patch [cf081253](https://github.com/appsignal/appsignal-ruby/commit/cf0812536e0651ee5b62427847a4244d4640e22b))
|
10
|
+
- Fix `Appsignal.configure` call without `env` argument not reusing the previously configured configuration. (patch [65d5428c](https://github.com/appsignal/appsignal-ruby/commit/65d5428c4d41f683a796b67b0ae339a0d213c802))
|
11
|
+
|
3
12
|
## 3.12.2
|
4
13
|
|
5
14
|
_Published on 2024-07-25._
|
data/lib/appsignal/config.rb
CHANGED
data/lib/appsignal/version.rb
CHANGED
data/lib/appsignal.rb
CHANGED
data/spec/lib/appsignal_spec.rb
CHANGED
@@ -61,6 +61,28 @@ describe Appsignal do
|
|
61
61
|
end
|
62
62
|
|
63
63
|
context "with config but not started" do
|
64
|
+
it "reuses the already loaded config if no env arg is given" do
|
65
|
+
Appsignal._config = Appsignal::Config.new(
|
66
|
+
project_fixture_path,
|
67
|
+
:my_env,
|
68
|
+
:ignore_actions => ["My action"]
|
69
|
+
)
|
70
|
+
|
71
|
+
Appsignal.configure do |config|
|
72
|
+
expect(config.env).to eq("my_env")
|
73
|
+
expect(config.ignore_actions).to eq(["My action"])
|
74
|
+
|
75
|
+
config.active = true
|
76
|
+
config.name = "My app"
|
77
|
+
config.push_api_key = "key"
|
78
|
+
end
|
79
|
+
expect(Appsignal.config.valid?).to be(true)
|
80
|
+
expect(Appsignal.config.env).to eq("my_env")
|
81
|
+
expect(Appsignal.config[:name]).to eq("My app")
|
82
|
+
expect(Appsignal.config[:push_api_key]).to eq("key")
|
83
|
+
expect(Appsignal.config[:ignore_actions]).to eq(["My action"])
|
84
|
+
end
|
85
|
+
|
64
86
|
it "reuses the already loaded config if the env is the same" do
|
65
87
|
Appsignal._config = Appsignal::Config.new(
|
66
88
|
project_fixture_path,
|
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.12.
|
4
|
+
version: 3.12.3
|
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-07-
|
13
|
+
date: 2024-07-30 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rack
|