bugsnag 5.4.1 → 5.5.0

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
  SHA1:
3
- metadata.gz: 9da42b7546a03c6cd356b7f59398441fe8e308e7
4
- data.tar.gz: 232321cd44a6fee4d64b43b17c4670ae78828b15
3
+ metadata.gz: f984eec70917a0c4be84872ebe37ddafe29a6b90
4
+ data.tar.gz: ae64caceca203ed92c2bf2a45dc11a87eb21f665
5
5
  SHA512:
6
- metadata.gz: a5cee78c10dff9a4a42944dcd3e1776ea53702ee1ad06d491ee42e163cee6ae3eb22f9c6c5b94a4ec4ef9feb70e49817afdcccc6b7d7ea547459a56e1f223e46
7
- data.tar.gz: 5e95a50ce1310ebea7132f260fd6e3ffe74b483938ca173ee1d9eedd5cee1dc0fa18f85b623dbfd07a705a79bca769064650f3df678dd01374d757e24dcbc478
6
+ metadata.gz: 61fb130e43e7bda70b320c3c4094961732d63597da430ac70a692f2065f04026d046bf67c15402e642ab9dc531491173a76f8b13e80ca3f05af175eabb7dbf9d
7
+ data.tar.gz: 6a46b86c0218851ee2c213246bfb5122d70bc1d274c70e21fefdcc50bfed0fd092851bef5f74ba32c870148184b4e352d57c1f10869126f376dfcfe4b21ad824
@@ -1,6 +1,14 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ ## 5.5.0 (09 Nov 2017)
5
+
6
+ ### Enhancements
7
+
8
+ * Allow environment variable proxy config for `Net::HTTP`
9
+ | [dexhorthy](https://github.com/dexhorthy)
10
+ | [#380](https://github.com/bugsnag/bugsnag-ruby/pull/380)
11
+
4
12
  ## 5.4.1 (06 Oct 2017)
5
13
 
6
14
  ### Fixes
@@ -14,6 +22,23 @@ Changelog
14
22
 
15
23
  ## 5.4.0 (02 Oct 2017)
16
24
 
25
+ This release removes the default setting of ignoring classes of errors which are commonly associated with typos or server signals (`SystemExit`), instead recording them as `info`-level severity by default. This includes the following classes:
26
+
27
+ ```
28
+ AbstractController::ActionNotFound,
29
+ ActionController::InvalidAuthenticityToken,
30
+ ActionController::ParameterMissing,
31
+ ActionController::RoutingError,
32
+ ActionController::UnknownAction,
33
+ ActionController::UnknownFormat,
34
+ ActionController::UnknownHttpMethod,
35
+ ActiveRecord::RecordNotFound,
36
+ CGI::Session::CookieStore::TamperedWithCookie,
37
+ Mongoid::Errors::DocumentNotFound,
38
+ SignalException,
39
+ SystemExit
40
+ ```
41
+
17
42
  ### Enhancements
18
43
 
19
44
  * Add a one-time warning if the API key is not set
data/VERSION CHANGED
@@ -1 +1 @@
1
- 5.4.1
1
+ 5.5.0
@@ -24,7 +24,13 @@ module Bugsnag
24
24
 
25
25
  def request(url, body, configuration)
26
26
  uri = URI.parse(url)
27
- http = Net::HTTP.new(uri.host, uri.port, configuration.proxy_host, configuration.proxy_port, configuration.proxy_user, configuration.proxy_password)
27
+
28
+ if configuration.proxy_host
29
+ http = Net::HTTP.new(uri.host, uri.port, configuration.proxy_host, configuration.proxy_port, configuration.proxy_user, configuration.proxy_password)
30
+ else
31
+ http = Net::HTTP.new(uri.host, uri.port)
32
+ end
33
+
28
34
  http.read_timeout = configuration.timeout
29
35
  http.open_timeout = configuration.timeout
30
36
 
@@ -48,4 +54,4 @@ module Bugsnag
48
54
  end
49
55
  end
50
56
 
51
- Bugsnag::Delivery.register(:synchronous, Bugsnag::Delivery::Synchronous)
57
+ Bugsnag::Delivery.register(:synchronous, Bugsnag::Delivery::Synchronous)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bugsnag
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.4.1
4
+ version: 5.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-06 00:00:00.000000000 Z
11
+ date: 2017-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake