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 +4 -4
- data/CHANGELOG.md +5 -0
- data/ext/agent.yml +11 -11
- data/lib/appsignal/config.rb +1 -1
- data/lib/appsignal/transaction.rb +1 -1
- data/lib/appsignal/version.rb +1 -1
- data/spec/lib/appsignal/config_spec.rb +17 -5
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c81c8fca61d2e1b863cfd7a0f7ef76ffaf1ece7
|
4
|
+
data.tar.gz: c5c8afff62d786d175a749a277b2353ab0221559
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88a02cb602057052b92b148390437eda089f1c7499062957a9c53e1d3adccffc6b9f1da85726b150bd9378f5e4806541c916e517313d3a553325a0793fb3fb1f
|
7
|
+
data.tar.gz: f27550ecb0f924f5a59e92c40618e1ff434b28af6beba5a7cf1ad82c09eb62dbd1e48960eb4364d4c199faaed0dc5f412fd0a431d735055832ebd860c2b23852
|
data/CHANGELOG.md
CHANGED
@@ -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
|
data/ext/agent.yml
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
---
|
2
|
-
version:
|
2
|
+
version: 1e9d96e
|
3
3
|
triples:
|
4
4
|
x86_64-linux:
|
5
|
-
checksum:
|
6
|
-
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/
|
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:
|
9
|
-
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/
|
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:
|
12
|
-
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/
|
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:
|
15
|
-
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/
|
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:
|
18
|
-
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/
|
17
|
+
checksum: '038e71a9ebb348250e7f46c3884cdb79b3526e2eaa2a0e2189294c21099c2dcc'
|
18
|
+
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/1e9d96e/appsignal-x86_64-darwin-all-static.tar.gz
|
data/lib/appsignal/config.rb
CHANGED
@@ -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
|
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
|
23
|
+
HTTP_CLIENT_IP HTTP_RANGE
|
24
24
|
).freeze
|
25
25
|
|
26
26
|
class << self
|
data/lib/appsignal/version.rb
CHANGED
@@ -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
|
296
|
+
expect(config[:active]).to eq(true)
|
297
297
|
expect(config[:name]).to eq "App name"
|
298
|
-
expect(config[:debug]).to
|
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
|
303
|
-
expect(config[:instrument_redis]).to
|
304
|
-
expect(config[:instrument_sequel]).to
|
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.
|
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-
|
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:
|
352
|
+
version: 1.3.1
|
353
353
|
requirements: []
|
354
354
|
rubyforge_project:
|
355
355
|
rubygems_version: 2.6.12
|