appsignal 2.3.2 → 2.3.3.beta.1

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
  SHA1:
3
- metadata.gz: d5aa85a93e18c0f2eaea8092efacae7a033f139b
4
- data.tar.gz: 6cffdf6eacf9c4a7e25ec324b9e24e8638b05341
3
+ metadata.gz: 8c81c8fca61d2e1b863cfd7a0f7ef76ffaf1ece7
4
+ data.tar.gz: c5c8afff62d786d175a749a277b2353ab0221559
5
5
  SHA512:
6
- metadata.gz: f53eb19a35f673c2f6b79e8e9a20ccc20f09c9d604c1c4221284fa166b41fba0b1b55787ae8888092672a9fd5ffc822a8c2fb672ed385de345f90ba1ecf00072
7
- data.tar.gz: 4813fbced178b4deded50623519c96e87b8d8382b1c8e8ba1bcf396758546999ba6c2e6ce35944f04e476725fad37b039b4c398b6c67e701ea8aa31c5c775514
6
+ metadata.gz: 88a02cb602057052b92b148390437eda089f1c7499062957a9c53e1d3adccffc6b9f1da85726b150bd9378f5e4806541c916e517313d3a553325a0793fb3fb1f
7
+ data.tar.gz: f27550ecb0f924f5a59e92c40618e1ff434b28af6beba5a7cf1ad82c09eb62dbd1e48960eb4364d4c199faaed0dc5f412fd0a431d735055832ebd860c2b23852
@@ -1,3 +1,8 @@
1
+ # Unreleased version
2
+ * Accept mixed case env variable values for the `true` value. PR #333
3
+ * Don't record sensitive HTTP_X_AUTH_TOKEN header. PR #334
4
+ * Agent and extension update. Commit e75d2f9b520d46f6cd0266b484b2c26c3bdc8882
5
+
1
6
  # 2.3.2
2
7
  * Improve Rake argument handling. Allow for more detailed view of which
3
8
  arguments a tasks receives. PR #328
@@ -1,18 +1,18 @@
1
1
  ---
2
- version: 0ad5573
2
+ version: 1e9d96e
3
3
  triples:
4
4
  x86_64-linux:
5
- checksum: 1e0701414c6777116e0c300b424f612fa13eb8e2f86587622e92c3249ca1f7cf
6
- download_url: https://appsignal-agent-releases.global.ssl.fastly.net/0ad5573/appsignal-x86_64-linux-all-static.tar.gz
5
+ checksum: eb9101280bd1c8bbe7b91404fd64db04f854549557cf131d14be5dc25e905820
6
+ download_url: https://appsignal-agent-releases.global.ssl.fastly.net/1e9d96e/appsignal-x86_64-linux-all-static.tar.gz
7
7
  i686-linux:
8
- checksum: 6913c60616479c759ed592e9977e4370b10f9992d55e09624c2c59422feadbf3
9
- download_url: https://appsignal-agent-releases.global.ssl.fastly.net/0ad5573/appsignal-i686-linux-all-static.tar.gz
8
+ checksum: cfb64011566530469d0a80dce252bcbb30549cecfe08eee7c7abafc917758c12
9
+ download_url: https://appsignal-agent-releases.global.ssl.fastly.net/1e9d96e/appsignal-i686-linux-all-static.tar.gz
10
10
  x86-linux:
11
- checksum: 6913c60616479c759ed592e9977e4370b10f9992d55e09624c2c59422feadbf3
12
- download_url: https://appsignal-agent-releases.global.ssl.fastly.net/0ad5573/appsignal-i686-linux-all-static.tar.gz
11
+ checksum: cfb64011566530469d0a80dce252bcbb30549cecfe08eee7c7abafc917758c12
12
+ download_url: https://appsignal-agent-releases.global.ssl.fastly.net/1e9d96e/appsignal-i686-linux-all-static.tar.gz
13
13
  x86_64-darwin:
14
- checksum: 0a08981be4b864756275d9c780f637571aa1bea957776db1aad30013e5f155f9
15
- download_url: https://appsignal-agent-releases.global.ssl.fastly.net/0ad5573/appsignal-x86_64-darwin-all-static.tar.gz
14
+ checksum: '038e71a9ebb348250e7f46c3884cdb79b3526e2eaa2a0e2189294c21099c2dcc'
15
+ download_url: https://appsignal-agent-releases.global.ssl.fastly.net/1e9d96e/appsignal-x86_64-darwin-all-static.tar.gz
16
16
  universal-darwin:
17
- checksum: 0a08981be4b864756275d9c780f637571aa1bea957776db1aad30013e5f155f9
18
- download_url: https://appsignal-agent-releases.global.ssl.fastly.net/0ad5573/appsignal-x86_64-darwin-all-static.tar.gz
17
+ checksum: '038e71a9ebb348250e7f46c3884cdb79b3526e2eaa2a0e2189294c21099c2dcc'
18
+ download_url: https://appsignal-agent-releases.global.ssl.fastly.net/1e9d96e/appsignal-x86_64-darwin-all-static.tar.gz
@@ -219,7 +219,7 @@ module Appsignal
219
219
  APPSIGNAL_SEND_PARAMS APPSIGNAL_ENABLE_MINUTELY_PROBES).each do |var|
220
220
  env_var = ENV[var]
221
221
  next unless env_var
222
- config[ENV_TO_KEY_MAPPING[var]] = env_var == "true"
222
+ config[ENV_TO_KEY_MAPPING[var]] = env_var.casecmp("true").zero?
223
223
  end
224
224
 
225
225
  # Configuration with array of strings type
@@ -20,7 +20,7 @@ module Appsignal
20
20
  HTTP_ACCEPT HTTP_ACCEPT_CHARSET HTTP_ACCEPT_ENCODING HTTP_ACCEPT_LANGUAGE
21
21
  HTTP_CACHE_CONTROL HTTP_CONNECTION HTTP_USER_AGENT HTTP_FROM
22
22
  HTTP_NEGOTIATE HTTP_PRAGMA HTTP_REFERER HTTP_X_FORWARDED_FOR
23
- HTTP_CLIENT_IP HTTP_RANGE HTTP_X_AUTH_TOKEN
23
+ HTTP_CLIENT_IP HTTP_RANGE
24
24
  ).freeze
25
25
 
26
26
  class << self
@@ -1,5 +1,5 @@
1
1
  require "yaml"
2
2
 
3
3
  module Appsignal
4
- VERSION = "2.3.2".freeze
4
+ VERSION = "2.3.3.beta.1".freeze
5
5
  end
@@ -293,15 +293,27 @@ describe Appsignal::Config do
293
293
 
294
294
  expect(config[:running_in_container]).to be_truthy
295
295
  expect(config[:push_api_key]).to eq "aaa-bbb-ccc"
296
- expect(config[:active]).to be_truthy
296
+ expect(config[:active]).to eq(true)
297
297
  expect(config[:name]).to eq "App name"
298
- expect(config[:debug]).to be_truthy
298
+ expect(config[:debug]).to eq(true)
299
299
  expect(config[:ignore_actions]).to eq %w(action1 action2)
300
300
  expect(config[:ignore_errors]).to eq %w(VerySpecificError AnotherError)
301
301
  expect(config[:ignore_namespaces]).to eq %w(admin private_namespace)
302
- expect(config[:instrument_net_http]).to be_falsey
303
- expect(config[:instrument_redis]).to be_falsey
304
- expect(config[:instrument_sequel]).to be_falsey
302
+ expect(config[:instrument_net_http]).to eq(false)
303
+ expect(config[:instrument_redis]).to eq(false)
304
+ expect(config[:instrument_sequel]).to eq(false)
305
+ end
306
+
307
+ context "with mixed case `true` env variables values" do
308
+ before do
309
+ ENV["APPSIGNAL_DEBUG"] = "TRUE"
310
+ ENV["APPSIGNAL_INSTRUMENT_SEQUEL"] = "True"
311
+ end
312
+
313
+ it "accepts mixed case `true` values" do
314
+ expect(config[:debug]).to eq(true)
315
+ expect(config[:instrument_sequel]).to eq(true)
316
+ end
305
317
  end
306
318
  end
307
319
 
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.3.2
4
+ version: 2.3.3.beta.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Beekman
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-08-14 00:00:00.000000000 Z
12
+ date: 2017-08-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack
@@ -347,9 +347,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
347
347
  version: '1.9'
348
348
  required_rubygems_version: !ruby/object:Gem::Requirement
349
349
  requirements:
350
- - - ">="
350
+ - - ">"
351
351
  - !ruby/object:Gem::Version
352
- version: '0'
352
+ version: 1.3.1
353
353
  requirements: []
354
354
  rubyforge_project:
355
355
  rubygems_version: 2.6.12