appsignal 3.0.4-java → 3.0.5-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 92f1142f5a7b5bfc882e6429f72b9162d5596d462e4624eeb06b5e0355a4b218
4
- data.tar.gz: 9eb6f73987c6430543a3456d3931e861d9959a24ea2416c51a6a64004926dbd5
3
+ metadata.gz: '09c5ce0f8854cb5d1ad22ab9e47fddfe0e8d381be43237638919d0322d0fd76c'
4
+ data.tar.gz: 7df48cb0e05e402266198605774661d3ab62dd3952e8770ec7ab4295ab9bed5a
5
5
  SHA512:
6
- metadata.gz: 122e0c72af8eb6a9064cf865039150401ad8f256f395380a2b01f0f18cc6145f26396ac949d459e4a42578683f37df8e6363e39d816297b67b5dcd02738d20aa
7
- data.tar.gz: 19c4e6886eae5303d0a34736ca22b1fed49e5b20e959b321eb4205d59f27b8c38150c484d58817c67652603495ab76aec51ac710e1de82026c257e4fabc98325
6
+ metadata.gz: 4ed67f33ca42879f55229c6c56cc14facbef594a8b5571eb050b0d22f958c9fa8189a816a47ff7e38e9d57ed0a8858ffa9f64a0450382662fd8962028ae901e0
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: java
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