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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 47b64e941acdb97bad57bc0abb35186f9ce5610637c8a9fc147e6d93c5c6dab5
4
- data.tar.gz: befbc7775e674cd682e8090c5f638fddeddef0eb6b2bac6ca35acc212cadea94
3
+ metadata.gz: a5be928ff6008a98a5927b4af5b1aff886fa614c977bd0c15949d5058812271f
4
+ data.tar.gz: 281d028e86f29716f4686ed4bb24ee6ee980796501f7884d812244ba3b5bc26b
5
5
  SHA512:
6
- metadata.gz: 27b85fa10d26fac6adb1580938309918ae7076c3f10f383056175f99a68ff25f18d2d35ee1d51866f1a3bd96ba12e3f72a2efe1526c5d013ea751dcc91e3e05d
7
- data.tar.gz: 36aa97a5d728eaeb4269a94766f3ca7a2917bb6ef90dd55ad7704ce6b753c702036613c910db07c8d43f0c9463067ab5672886f4b3e50526ecc078efba526743
6
+ metadata.gz: fd2e0585cdb1b54d8b517fcacb3580d17bee2836c0c387ee13b9c345d17ea8f75a3a1c5b4279e58938ec2f53d9ccf309a84047de3088a0e239663b6e07b1c968
7
+ data.tar.gz: cebe9bd028f453e4febcb4db07eef315b1b4e13353a412d9134e040f3cda8912247f566a275436e6798e5f49eea0f0424e5d1dfeb0a811cd37c213ab55d69f24
@@ -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
@@ -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 APPSIGNAL_CA_FILE_PATH APP_REVISION].each do |var|
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Appsignal
4
- VERSION = "2.10.11".freeze
4
+ VERSION = "2.10.12".freeze
5
5
  end
@@ -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.11
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-21 00:00:00.000000000 Z
13
+ date: 2020-07-28 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rack