appsignal 2.10.11 → 2.10.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/appsignal/config.rb +2 -1
- data/lib/appsignal/version.rb +1 -1
- data/spec/lib/appsignal/config_spec.rb +4 -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: a5be928ff6008a98a5927b4af5b1aff886fa614c977bd0c15949d5058812271f
|
4
|
+
data.tar.gz: 281d028e86f29716f4686ed4bb24ee6ee980796501f7884d812244ba3b5bc26b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd2e0585cdb1b54d8b517fcacb3580d17bee2836c0c387ee13b9c345d17ea8f75a3a1c5b4279e58938ec2f53d9ccf309a84047de3088a0e239663b6e07b1c968
|
7
|
+
data.tar.gz: cebe9bd028f453e4febcb4db07eef315b1b4e13353a412d9134e040f3cda8912247f566a275436e6798e5f49eea0f0424e5d1dfeb0a811cd37c213ab55d69f24
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
# 2.10.12
|
4
|
+
- Fix `working_directory_path` config option loaded from environment variables.
|
5
|
+
PR #653
|
6
|
+
|
3
7
|
# 2.10.11
|
4
8
|
- Fix extension install report status output in `appsignal diagnose`. PR #636
|
5
9
|
- Support setting a specific configuration file to load with the
|
data/lib/appsignal/config.rb
CHANGED
@@ -358,7 +358,8 @@ module Appsignal
|
|
358
358
|
%w[APPSIGNAL_PUSH_API_KEY APPSIGNAL_APP_NAME APPSIGNAL_PUSH_API_ENDPOINT
|
359
359
|
APPSIGNAL_FRONTEND_ERROR_CATCHING_PATH APPSIGNAL_HTTP_PROXY
|
360
360
|
APPSIGNAL_LOG APPSIGNAL_LOG_PATH APPSIGNAL_WORKING_DIR_PATH
|
361
|
-
APPSIGNAL_HOSTNAME
|
361
|
+
APPSIGNAL_WORKING_DIRECTORY_PATH APPSIGNAL_HOSTNAME
|
362
|
+
APPSIGNAL_CA_FILE_PATH APP_REVISION].each do |var|
|
362
363
|
env_var = ENV[var]
|
363
364
|
next unless env_var
|
364
365
|
config[ENV_TO_KEY_MAPPING[var]] = env_var
|
data/lib/appsignal/version.rb
CHANGED
@@ -417,6 +417,7 @@ describe Appsignal::Config do
|
|
417
417
|
:debug => true
|
418
418
|
)
|
419
419
|
end
|
420
|
+
let(:working_directory_path) { File.join(tmp_dir, "test_working_directory_path") }
|
420
421
|
let(:env_config) do
|
421
422
|
{
|
422
423
|
:running_in_container => true,
|
@@ -432,7 +433,8 @@ describe Appsignal::Config do
|
|
432
433
|
:instrument_sequel => false,
|
433
434
|
:files_world_accessible => false,
|
434
435
|
:request_headers => %w[accept accept-charset],
|
435
|
-
:revision => "v2.5.1"
|
436
|
+
:revision => "v2.5.1",
|
437
|
+
:working_directory_path => working_directory_path
|
436
438
|
}
|
437
439
|
end
|
438
440
|
before do
|
@@ -449,6 +451,7 @@ describe Appsignal::Config do
|
|
449
451
|
ENV["APPSIGNAL_INSTRUMENT_SEQUEL"] = "false"
|
450
452
|
ENV["APPSIGNAL_FILES_WORLD_ACCESSIBLE"] = "false"
|
451
453
|
ENV["APPSIGNAL_REQUEST_HEADERS"] = "accept,accept-charset"
|
454
|
+
ENV["APPSIGNAL_WORKING_DIRECTORY_PATH"] = working_directory_path
|
452
455
|
ENV["APP_REVISION"] = "v2.5.1"
|
453
456
|
end
|
454
457
|
|
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: 2.10.
|
4
|
+
version: 2.10.12
|
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: 2020-07-
|
13
|
+
date: 2020-07-28 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rack
|