appsignal 3.0.4 → 3.0.5

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: adfc426b4de03866b5598de0917060befa98d748ef29ca3ddf91ce2c2038550a
4
- data.tar.gz: 9eb6f73987c6430543a3456d3931e861d9959a24ea2416c51a6a64004926dbd5
3
+ metadata.gz: f73ddc957c9f0fd0fd13008f5ef1caea0a9248b70fc6b21a929e607b815dedb1
4
+ data.tar.gz: 7df48cb0e05e402266198605774661d3ab62dd3952e8770ec7ab4295ab9bed5a
5
5
  SHA512:
6
- metadata.gz: e9242f6fb0b269ddfcf90bccea590573c2f4bca81790723c3fa198caa4a2eca9311daea2da37eb091440578f4d98771f25d96123286ffa48a54d9d640c7652a0
7
- data.tar.gz: 19c4e6886eae5303d0a34736ca22b1fed49e5b20e959b321eb4205d59f27b8c38150c484d58817c67652603495ab76aec51ac710e1de82026c257e4fabc98325
6
+ metadata.gz: 69dafc14fccd8c5c1ed793563ea0e2c19ce4f58404a1b1dd9d185f83ae1c5996105102e13619612d210c86742ac437c217a66f623f1bb138389df4c8483d9f9d
7
+ data.tar.gz: 2e3c70b487c91c73d61e5d876cf053d4c6477505ec1d47f3766b7dd4afd9196b78f817def8440c3668609f16d09e468ef1fb7f8712a923bf6034def75dd5c0a2
data/CHANGELOG.md CHANGED
@@ -1,4 +1,10 @@
1
- # Changelog
1
+ # AppSignal for Ruby gem Changelog
2
+
3
+ ## 3.0.5
4
+
5
+ - [4bddac36](https://github.com/appsignal/appsignal-ruby/commit/4bddac3618ccea03c165eec53cee90e222b68cd6) patch - Skip empty HTTP proxy config. When any of the HTTP proxy config returns an
6
+ empty string, skip this config. This fixes installation issues where an empty
7
+ String is used as a HTTP proxy, causing a RuntimeError upon installation.
2
8
 
3
9
  ## 3.0.4
4
10
 
@@ -6,22 +12,22 @@
6
12
  these messages in debug mode. This should reduce the noise for users running
7
13
  AppSignal with the STDOUT logger, such as is the default on Heroku.
8
14
 
9
- # 3.0.3
15
+ ## 3.0.3
10
16
  - Fix deprecation message for set_error namespace argument. PR #712
11
17
  - Fix example code for Transaction#set_namespace method. PR #713
12
18
  - Fix extension fallbacks on extension installation failure, that caused
13
19
  - NoMethodErrors. PR #720
14
20
  - Bump agent to v-75e76ad. PR #721
15
21
 
16
- # 3.0.2
22
+ ## 3.0.2
17
23
  - Fix error on Rails boot when `enable_frontend_error_catching` is `true`.
18
24
  PR #711
19
25
 
20
- # 3.0.1
26
+ ## 3.0.1
21
27
  - Fix error occurring on APPSIGNAL_DNS_SERVER environment variable option
22
28
  parsing. PR #709
23
29
 
24
- # 3.0.0
30
+ ## 3.0.0
25
31
 
26
32
  Please read our [upgrade from version 2 to 3 guide][upgrade3] before upgrading.
27
33
 
@@ -37,46 +43,46 @@ Please read our [upgrade from version 2 to 3 guide][upgrade3] before upgrading.
37
43
  - Add Sidekiq error handler. Report more Sidekiq errors that happen around job
38
44
  execution. PR #699
39
45
 
40
- # 2.11.9
46
+ ## 2.11.9
41
47
  - Fix and simplify Ruby method delegation for object method instrumentation in
42
48
  the different Ruby versions. PR #706
43
49
 
44
- # 2.11.8
50
+ ## 2.11.8
45
51
  - Mark minutely probe thread as fork-safe by @pixeltrix. PR #704
46
52
 
47
- # 2.11.7
53
+ ## 2.11.7
48
54
  - Fix ActionCable integration in test environment using `stub_connection`.
49
55
  PR #705
50
56
 
51
- # 2.11.6
57
+ ## 2.11.6
52
58
  - Prepend Sidekiq middleware to wrap all Sidekiq middleware. Catches more
53
59
  errors and provide more complete performance measurements. PR #698
54
60
 
55
- # 2.11.5
61
+ ## 2.11.5
56
62
  - Add more detailed logging to finish_event calls when the event is unknown, so
57
63
  we know what event is being tried to finish. Commit
58
64
  c888a04d1b9ac947652b29c111c650fb5a5cf71c
59
65
 
60
- # 2.11.4
66
+ ## 2.11.4
61
67
  - Support Ruby 3.0 for Object method instrumentation with keyword arguments
62
68
  (https://docs.appsignal.com/ruby/instrumentation/method-instrumentation.html)
63
69
  PR #693
64
70
 
65
- # 2.11.3
71
+ ## 2.11.3
66
72
  - Support Shoryuken batch workers. PR #687
67
73
 
68
- # 2.11.2
74
+ ## 2.11.2
69
75
  - Support Ruby 3.0. PR #681
70
76
  - Support breadcrumbs. PR #666
71
77
  - Log Ruby errors on extension download. PR #679
72
78
  - Fix Ruby 1.9 build. PR #680
73
79
 
74
- # 2.11.1
80
+ ## 2.11.1
75
81
  - Support AS notifications instrumenters that use `start` and `finish`.
76
82
  - Updated agent with better logging and an IO stats fix.
77
83
  - ActionMailer magic dashboard
78
84
 
79
- # 2.11.0
85
+ ## 2.11.0
80
86
  - Track queue time regardless of namespace. Support custom namespaces. PR #602
81
87
  - Improve deprecation message from frontend error middleware. PR #620
82
88
  - Report Ruby environment metadata. PR #621, #627, #619, #618
@@ -103,20 +109,20 @@ Please read our [upgrade from version 2 to 3 guide][upgrade3] before upgrading.
103
109
  - Update AuthCheck class to use DeprecationMessage helper. PR #649
104
110
  - Print extension load error when AppSignal is loaded. PR #651
105
111
 
106
- # 2.10.12
112
+ ## 2.10.12
107
113
  - Fix `working_directory_path` config option loaded from environment variables.
108
114
  PR #653
109
115
 
110
- # 2.10.11
116
+ ## 2.10.11
111
117
  - Fix extension install report status output in `appsignal diagnose`. PR #636
112
118
  - Support setting a specific configuration file to load with the
113
119
  `Appsignal::Config` initializer. PR #638
114
120
 
115
- # 2.10.10
121
+ ## 2.10.10
116
122
  - Bump agent to v-4548c88. PR #634
117
123
  - Fix issue with host metrics values being reported as "Infinity".
118
124
 
119
- # 2.10.9
125
+ ## 2.10.9
120
126
  - Use http proxy if configured when downloading agent. PR #606
121
127
  - Clear event details cache every 48 hours.
122
128
  Commit eb5e899db69fcd7cfa221567bfd6ac04f2654c9c
data/ext/base.rb CHANGED
@@ -184,7 +184,18 @@ def store_download_version_on_report
184
184
  end
185
185
 
186
186
  def http_proxy
187
- Gem.configuration[:http_proxy] || ENV["http_proxy"] || ENV["HTTP_PROXY"]
187
+ proxy = try_http_proxy_value(Gem.configuration[:http_proxy])
188
+ return proxy if proxy
189
+
190
+ proxy = try_http_proxy_value(ENV["http_proxy"])
191
+ return proxy if proxy
192
+
193
+ proxy = try_http_proxy_value(ENV["HTTP_PROXY"])
194
+ return proxy if proxy
195
+ end
196
+
197
+ def try_http_proxy_value(value)
198
+ value if value.respond_to?(:empty?) && !value.strip.empty?
188
199
  end
189
200
 
190
201
  # Fail the installation on purpose in a specific test environment.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Appsignal
4
- VERSION = "3.0.4".freeze
4
+ VERSION = "3.0.5".freeze
5
5
  end
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.0.4
4
+ version: 3.0.5
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: 2021-05-10 00:00:00.000000000 Z
13
+ date: 2021-05-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rack