exception_handling 2.11.3 → 2.11.4.gfaza.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
  SHA256:
3
- metadata.gz: 2ecd3cd1b1ac9c74a1b64c7ac8884122bf2625175c902fb211994c3fc2364fb6
4
- data.tar.gz: 8549017918ed765348567a73abb52fa2b97ae85a0a910962738f7aabafccf5e7
3
+ metadata.gz: 4ef00c28a32783ca8322864d499e710eef491c71b38091a3fb64782adf21ef2d
4
+ data.tar.gz: a07b56dcb008c18396dc45364cd39c4ce3b5e40180d98a20985338fb4560ca8b
5
5
  SHA512:
6
- metadata.gz: f88892659d8e4c87209013b95b874eeb57b29c01b7648a07096cf915e4724264a70c184c76e0b0d8f07e3520ef9f7187bf8bfd94507877b7fe19ba785bc59ad4
7
- data.tar.gz: b5d4dc17af467b3d0994ce18e7050c7490e38318ab6abdade3a4dc050b9242e64aaba936b55b8806948051892a5c2856d7bd7308030ed899b4d978a8cfd8b472
6
+ metadata.gz: 50abcb2c8062e6dc483ae5d73d53cd6de8320affe7e1f67a031c68729339ce92e60809004688b29465c19857813ab0b6ff8694d33b786b3d62254155c35c3478
7
+ data.tar.gz: 030020ef9b34b19274f7ab395f7369e1acc1f1117b12523326366590381ab0744e015641bcc7bc8adcecbe8185a46614065b6c220cdb6236609cd39c8f110b7d
data/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@ Inspired by [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
5
  Note: this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [2.11.4.gfaza.1] - Unreleased
8
+ ### Added
9
+ - Support for passing additional Honeybadger configuration parameters
10
+
7
11
  ## [2.11.3] - 2022-04-07
8
12
  ### Fixed
9
13
  - Fixed bug in ruby 2.7+ where `digest` was not required by default
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- exception_handling (2.11.3)
4
+ exception_handling (2.11.4.gfaza.1)
5
5
  actionmailer (>= 5.2, < 7.0)
6
6
  actionpack (>= 5.2, < 7.0)
7
7
  activesupport (>= 5.2, < 7.0)
@@ -68,7 +68,7 @@ GEM
68
68
  concurrent-ruby (~> 1.0)
69
69
  invoca-utils (0.4.1)
70
70
  jaro_winkler (1.5.3)
71
- json (2.6.1)
71
+ json (2.6.2)
72
72
  loofah (2.15.0)
73
73
  crass (~> 1.0.2)
74
74
  nokogiri (>= 1.5.9)
@@ -136,7 +136,7 @@ GEM
136
136
  power_assert
137
137
  thor (1.0.1)
138
138
  thread_safe (0.3.6)
139
- timeout (0.2.0)
139
+ timeout (0.3.0)
140
140
  tzinfo (1.2.9)
141
141
  thread_safe (~> 0.1)
142
142
  unicode-display_width (1.6.0)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ExceptionHandling
4
- VERSION = '2.11.3'
4
+ VERSION = '2.11.4.gfaza.1'
5
5
  end
@@ -293,7 +293,11 @@ module ExceptionHandling # never included
293
293
  Bundler.require(:honeybadger)
294
294
  Honeybadger.configure do |config_klass|
295
295
  config.each do |k, v|
296
- config_klass.send(:"#{k}=", v)
296
+ if k == :before_notify
297
+ config_klass.send(k, v)
298
+ else
299
+ config_klass.send(:"#{k}=", v)
300
+ end
297
301
  end
298
302
  end
299
303
  end
@@ -158,7 +158,7 @@ describe ExceptionHandling do
158
158
 
159
159
  context "#log_warning" do
160
160
  it "have empty array as a backtrace" do
161
- expected_args = if RUBY_VERSION < '2.7'
161
+ expected_args = if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.7')
162
162
  [ExceptionHandling::Warning, anything]
163
163
  else
164
164
  [ExceptionHandling::Warning]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exception_handling
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.11.3
4
+ version: 2.11.4.gfaza.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Invoca
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-07 00:00:00.000000000 Z
11
+ date: 2022-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionmailer
@@ -222,9 +222,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
222
222
  version: '0'
223
223
  required_rubygems_version: !ruby/object:Gem::Requirement
224
224
  requirements:
225
- - - ">="
225
+ - - ">"
226
226
  - !ruby/object:Gem::Version
227
- version: '0'
227
+ version: 1.3.1
228
228
  requirements: []
229
229
  rubygems_version: 3.1.6
230
230
  signing_key: