exception_handling 2.11.2 → 2.12.0.gfaza.1

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: 316ced9b4f0224f3754c6214f4007f4fdd1e21a8aaeebfc145792eb418a8b577
4
- data.tar.gz: 9d75e6bb79c29ec712832154dfbb64cd1ab786708b5e4591dbb84966c427c9f8
3
+ metadata.gz: 1b080f8fea14f4a4ccc13d22ce8cf634782d60ac32f4963052068a4b57ef5cbc
4
+ data.tar.gz: bd37b9b8374982ccdc400e26222e592b215f03f7db2fb4e26e42f896353c1709
5
5
  SHA512:
6
- metadata.gz: 0e61d34cf62836872573f456cb72438de47332c60a642f7d30635375288f388718c9bd04b717e780236d56aa0ed78e27d4429d2db3df616c982188ff8cec8b90
7
- data.tar.gz: 9b004abd4b56e48706784aeaaae6cdeef4ee654f5ea241fa2823cbc307ec717cebc8c19ce455d7fc9d710d119a7c5a6ed5810d953d78cd62a74c1dfdc1d8b5ef
6
+ metadata.gz: 75cbd3874a6f50893cdb06db719d9493f2a1397bfc633c0c5cac02ac50053e599ff47109aa299f1698835974329ebdb0412c3eaa6e8b2fc1cdae32861f71a463
7
+ data.tar.gz: ee3cf3c49addf7887ecda829be89389dfbc05af2e330926cb38f609e16fbfe82e3e9556233ae1e42f58d002e6912959a14f7d577aae762c580cdfe72dae10f87
data/CHANGELOG.md CHANGED
@@ -4,6 +4,14 @@ 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.12.0.gfaza.1] - Unreleased
8
+ ### Added
9
+ - Support for passing additional Honeybadger configuration parameters
10
+
11
+ ## [2.11.3] - 2022-04-07
12
+ ### Fixed
13
+ - Fixed bug in ruby 2.7+ where `digest` was not required by default
14
+
7
15
  ## [2.11.2] - 2022-04-04
8
16
  ### Fixed
9
17
  - Fixed Ruby 3+ bug where arguments where not being passed using ** operator when writing to the logger
@@ -87,6 +95,7 @@ Note: this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0
87
95
  ### Changed
88
96
  - No longer depends on hobo_support. Uses invoca-utils 0.3 instead.
89
97
 
98
+ [2.11.3]: https://github.com/Invoca/exception_handling/compare/v2.11.2...v2.11.3
90
99
  [2.11.2]: https://github.com/Invoca/exception_handling/compare/v2.11.1...v2.11.2
91
100
  [2.11.1]: https://github.com/Invoca/exception_handling/compare/v2.11.0...v2.11.1
92
101
  [2.11.0]: https://github.com/Invoca/exception_handling/compare/v2.10.0...v2.11.0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- exception_handling (2.11.2)
4
+ exception_handling (2.12.0.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.2'
4
+ VERSION = '2.12.0.gfaza.1'
5
5
  end
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'digest'
3
4
  require 'timeout'
4
5
  require 'active_support'
5
6
  require 'active_support/core_ext'
@@ -292,7 +293,11 @@ module ExceptionHandling # never included
292
293
  Bundler.require(:honeybadger)
293
294
  Honeybadger.configure do |config_klass|
294
295
  config.each do |k, v|
295
- 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
296
301
  end
297
302
  end
298
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.2
4
+ version: 2.12.0.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-04 00:00:00.000000000 Z
11
+ date: 2022-07-19 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: