exception_handling 2.10.0.pre.2 → 2.11.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 +4 -4
- data/.github/workflows/pipeline.yml +9 -3
- data/.ruby-version +1 -1
- data/Appraisals +0 -6
- data/CHANGELOG.md +16 -2
- data/Gemfile +1 -1
- data/Gemfile.lock +44 -33
- data/exception_handling.gemspec +6 -4
- data/gemfiles/rails_5.gemfile +1 -1
- data/gemfiles/rails_6.gemfile +1 -1
- data/lib/exception_handling/version.rb +1 -1
- data/lib/exception_handling.rb +14 -14
- data/spec/unit/exception_handling_spec.rb +6 -1
- metadata +41 -14
- data/gemfiles/rails_4.gemfile +0 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14067795e410d640a90c3fe1b9b0100eb23ccaf27b61f48a243fb0e485fac5aa
|
4
|
+
data.tar.gz: 48e75e5776a54debb7620a0b3d743611b3e40be68b7e0b6f6e785c751e20f03c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd0e94f719f695339c74a157b79a6f941b1826707cddafb725b550c203949fd0c7a801860cf0e8a7412735bc8f36517df99592b0d0f85b86f790fdc95f9fe952
|
7
|
+
data.tar.gz: b2eb7943d905f5c137370ac47dd7bd69656e082a88af7d8d5618c0ff7acefda4503b2eca6138fc4ae74b57f3fe18623cd250e2edb0a6c9c1a5e46be6e3529080
|
@@ -8,12 +8,18 @@ jobs:
|
|
8
8
|
strategy:
|
9
9
|
fail-fast: false
|
10
10
|
matrix:
|
11
|
-
ruby: [2.5, 2.6]
|
11
|
+
ruby: [2.5, 2.6, 2.7, '3.0', 3.1]
|
12
12
|
gemfile:
|
13
13
|
- Gemfile
|
14
|
-
- gemfiles/rails_4.gemfile
|
15
14
|
- gemfiles/rails_5.gemfile
|
16
15
|
- gemfiles/rails_6.gemfile
|
16
|
+
exclude:
|
17
|
+
- gemfile: Gemfile
|
18
|
+
ruby: 2.5
|
19
|
+
- gemfile: gemfiles/rails_5.gemfile
|
20
|
+
ruby: '3.0'
|
21
|
+
- gemfile: gemfiles/rails_5.gemfile
|
22
|
+
ruby: 3.1
|
17
23
|
env:
|
18
24
|
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
|
19
25
|
steps:
|
@@ -21,7 +27,7 @@ jobs:
|
|
21
27
|
- uses: ruby/setup-ruby@v1
|
22
28
|
with:
|
23
29
|
ruby-version: ${{ matrix.ruby }}
|
24
|
-
bundler:
|
30
|
+
bundler: 2.2.29
|
25
31
|
bundler-cache: true
|
26
32
|
- name: Unit tests
|
27
33
|
run: bundle exec rspec
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.7.5
|
data/Appraisals
CHANGED
data/CHANGELOG.md
CHANGED
@@ -4,7 +4,18 @@ 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.
|
7
|
+
## [2.11.1] - 2022-04-04
|
8
|
+
### Fixed
|
9
|
+
- Fixed bug in ruby 3+ where `contextual_logger` was missing ruby 3+ support
|
10
|
+
|
11
|
+
## [2.11.0] - 2022-03-29
|
12
|
+
### Added
|
13
|
+
- Added support for rails 2.7 and 3+
|
14
|
+
|
15
|
+
### Removed
|
16
|
+
- Removed support for Rails 4
|
17
|
+
|
18
|
+
## [2.10.0] - 2022-03-09
|
8
19
|
### Removed
|
9
20
|
- Remove custom object inspection
|
10
21
|
This removed Honeybadger-specific callbacks (`lib/exception_handling/honeybadger_callbacks.rb`)
|
@@ -57,7 +68,7 @@ Note: this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0
|
|
57
68
|
- In `ExceptionHandling.logger=`, implicit `logger.extend ContextualLogger::LoggerMixin` is now deprecated.
|
58
69
|
This will be removed in version 3.0 and an `ArgumentError` will be raised if the logger
|
59
70
|
doesn't have that mixin. Instead of this implicit behavior, you should explicitly either `extend`
|
60
|
-
your logger instance or `include` that mixin into your `Logger` class.
|
71
|
+
your logger instance or `include` that mixin into your `Logger` class.
|
61
72
|
|
62
73
|
## [2.4.2] - 2020-05-11
|
63
74
|
### Added
|
@@ -72,6 +83,9 @@ Note: this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0
|
|
72
83
|
### Changed
|
73
84
|
- No longer depends on hobo_support. Uses invoca-utils 0.3 instead.
|
74
85
|
|
86
|
+
[2.11.1]: https://github.com/Invoca/exception_handling/compare/v2.11.0...v2.11.1
|
87
|
+
[2.11.0]: https://github.com/Invoca/exception_handling/compare/v2.10.0...v2.11.0
|
88
|
+
[2.10.0]: https://github.com/Invoca/exception_handling/compare/v2.9.0...v2.10.0
|
75
89
|
[2.9.0]: https://github.com/Invoca/exception_handling/compare/v2.8.1...v2.9.0
|
76
90
|
[2.8.1]: https://github.com/Invoca/exception_handling/compare/v2.8.0...v2.8.1
|
77
91
|
[2.8.0]: https://github.com/Invoca/exception_handling/compare/v2.7.0...v2.8.0
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,41 +1,43 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
exception_handling (2.
|
5
|
-
actionmailer (>=
|
6
|
-
actionpack (>=
|
7
|
-
activesupport (>=
|
8
|
-
contextual_logger (~> 0
|
4
|
+
exception_handling (2.11.1)
|
5
|
+
actionmailer (>= 5.2, < 7.0)
|
6
|
+
actionpack (>= 5.2, < 7.0)
|
7
|
+
activesupport (>= 5.2, < 7.0)
|
8
|
+
contextual_logger (~> 1.0)
|
9
9
|
escalate (~> 0.3)
|
10
10
|
eventmachine (~> 1.0)
|
11
11
|
invoca-utils (~> 0.3)
|
12
|
+
net-smtp
|
13
|
+
psych (~> 3.0)
|
12
14
|
|
13
15
|
GEM
|
14
16
|
remote: https://rubygems.org/
|
15
17
|
specs:
|
16
|
-
actionmailer (6.0.
|
17
|
-
actionpack (= 6.0.
|
18
|
-
actionview (= 6.0.
|
19
|
-
activejob (= 6.0.
|
18
|
+
actionmailer (6.0.4.7)
|
19
|
+
actionpack (= 6.0.4.7)
|
20
|
+
actionview (= 6.0.4.7)
|
21
|
+
activejob (= 6.0.4.7)
|
20
22
|
mail (~> 2.5, >= 2.5.4)
|
21
23
|
rails-dom-testing (~> 2.0)
|
22
|
-
actionpack (6.0.
|
23
|
-
actionview (= 6.0.
|
24
|
-
activesupport (= 6.0.
|
24
|
+
actionpack (6.0.4.7)
|
25
|
+
actionview (= 6.0.4.7)
|
26
|
+
activesupport (= 6.0.4.7)
|
25
27
|
rack (~> 2.0, >= 2.0.8)
|
26
28
|
rack-test (>= 0.6.3)
|
27
29
|
rails-dom-testing (~> 2.0)
|
28
30
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
29
|
-
actionview (6.0.
|
30
|
-
activesupport (= 6.0.
|
31
|
+
actionview (6.0.4.7)
|
32
|
+
activesupport (= 6.0.4.7)
|
31
33
|
builder (~> 3.1)
|
32
34
|
erubi (~> 1.4)
|
33
35
|
rails-dom-testing (~> 2.0)
|
34
36
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
35
|
-
activejob (6.0.
|
36
|
-
activesupport (= 6.0.
|
37
|
+
activejob (6.0.4.7)
|
38
|
+
activesupport (= 6.0.4.7)
|
37
39
|
globalid (>= 0.3.6)
|
38
|
-
activesupport (6.0.
|
40
|
+
activesupport (6.0.4.7)
|
39
41
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
40
42
|
i18n (>= 0.7, < 2)
|
41
43
|
minitest (~> 5.1)
|
@@ -49,34 +51,41 @@ GEM
|
|
49
51
|
builder (3.2.4)
|
50
52
|
byebug (11.1.3)
|
51
53
|
coderay (1.1.2)
|
52
|
-
concurrent-ruby (1.1.
|
53
|
-
contextual_logger (0.
|
54
|
+
concurrent-ruby (1.1.10)
|
55
|
+
contextual_logger (1.0.0)
|
54
56
|
activesupport
|
55
57
|
json
|
56
58
|
crass (1.0.6)
|
57
59
|
diff-lcs (1.4.4)
|
60
|
+
digest (3.1.0)
|
58
61
|
erubi (1.10.0)
|
59
62
|
escalate (0.3.0)
|
60
63
|
eventmachine (1.2.7)
|
61
|
-
globalid (0.
|
62
|
-
activesupport (>=
|
64
|
+
globalid (1.0.0)
|
65
|
+
activesupport (>= 5.0)
|
63
66
|
honeybadger (4.11.0)
|
64
|
-
i18n (1.
|
67
|
+
i18n (1.10.0)
|
65
68
|
concurrent-ruby (~> 1.0)
|
66
69
|
invoca-utils (0.4.1)
|
67
70
|
jaro_winkler (1.5.3)
|
68
71
|
json (2.6.1)
|
69
|
-
loofah (2.
|
72
|
+
loofah (2.15.0)
|
70
73
|
crass (~> 1.0.2)
|
71
74
|
nokogiri (>= 1.5.9)
|
72
75
|
mail (2.7.1)
|
73
76
|
mini_mime (>= 0.1.1)
|
74
77
|
method_source (0.9.2)
|
75
|
-
mini_mime (1.
|
76
|
-
mini_portile2 (2.
|
77
|
-
minitest (5.
|
78
|
-
|
79
|
-
|
78
|
+
mini_mime (1.1.2)
|
79
|
+
mini_portile2 (2.8.0)
|
80
|
+
minitest (5.15.0)
|
81
|
+
net-protocol (0.1.3)
|
82
|
+
timeout
|
83
|
+
net-smtp (0.3.1)
|
84
|
+
digest
|
85
|
+
net-protocol
|
86
|
+
timeout
|
87
|
+
nokogiri (1.13.3)
|
88
|
+
mini_portile2 (~> 2.8.0)
|
80
89
|
racc (~> 1.4)
|
81
90
|
parallel (1.17.0)
|
82
91
|
parser (2.6.3.0)
|
@@ -88,14 +97,15 @@ GEM
|
|
88
97
|
pry-byebug (3.8.0)
|
89
98
|
byebug (~> 11.0)
|
90
99
|
pry (~> 0.10)
|
91
|
-
|
100
|
+
psych (3.3.2)
|
101
|
+
racc (1.6.0)
|
92
102
|
rack (2.2.3)
|
93
103
|
rack-test (1.1.0)
|
94
104
|
rack (>= 1.0, < 3)
|
95
105
|
rails-dom-testing (2.0.3)
|
96
106
|
activesupport (>= 4.2.0)
|
97
107
|
nokogiri (>= 1.6)
|
98
|
-
rails-html-sanitizer (1.
|
108
|
+
rails-html-sanitizer (1.4.2)
|
99
109
|
loofah (~> 2.3)
|
100
110
|
rainbow (3.0.0)
|
101
111
|
rake (13.0.1)
|
@@ -126,10 +136,11 @@ GEM
|
|
126
136
|
power_assert
|
127
137
|
thor (1.0.1)
|
128
138
|
thread_safe (0.3.6)
|
139
|
+
timeout (0.2.0)
|
129
140
|
tzinfo (1.2.9)
|
130
141
|
thread_safe (~> 0.1)
|
131
142
|
unicode-display_width (1.6.0)
|
132
|
-
zeitwerk (2.4
|
143
|
+
zeitwerk (2.5.4)
|
133
144
|
|
134
145
|
PLATFORMS
|
135
146
|
ruby
|
@@ -139,7 +150,7 @@ DEPENDENCIES
|
|
139
150
|
activesupport (< 6.1)
|
140
151
|
appraisal (~> 2.2)
|
141
152
|
exception_handling!
|
142
|
-
honeybadger
|
153
|
+
honeybadger (~> 4.11)
|
143
154
|
pry
|
144
155
|
pry-byebug
|
145
156
|
rake
|
@@ -149,4 +160,4 @@ DEPENDENCIES
|
|
149
160
|
test-unit
|
150
161
|
|
151
162
|
BUNDLED WITH
|
152
|
-
|
163
|
+
2.2.29
|
data/exception_handling.gemspec
CHANGED
@@ -20,11 +20,13 @@ Gem::Specification.new do |spec|
|
|
20
20
|
"allowed_push_host" => "https://rubygems.org"
|
21
21
|
}
|
22
22
|
|
23
|
-
spec.add_dependency 'actionmailer', '>=
|
24
|
-
spec.add_dependency 'actionpack', '>=
|
25
|
-
spec.add_dependency 'activesupport', '>=
|
26
|
-
spec.add_dependency 'contextual_logger', '~> 0
|
23
|
+
spec.add_dependency 'actionmailer', '>= 5.2', '< 7.0'
|
24
|
+
spec.add_dependency 'actionpack', '>= 5.2', '< 7.0'
|
25
|
+
spec.add_dependency 'activesupport', '>= 5.2', '< 7.0'
|
26
|
+
spec.add_dependency 'contextual_logger', '~> 1.0'
|
27
27
|
spec.add_dependency 'escalate', '~> 0.3'
|
28
28
|
spec.add_dependency 'eventmachine', '~> 1.0'
|
29
29
|
spec.add_dependency 'invoca-utils', '~> 0.3'
|
30
|
+
spec.add_dependency 'psych', '~> 3.0'
|
31
|
+
spec.add_dependency 'net-smtp'
|
30
32
|
end
|
data/gemfiles/rails_5.gemfile
CHANGED
data/gemfiles/rails_6.gemfile
CHANGED
data/lib/exception_handling.rb
CHANGED
@@ -288,7 +288,7 @@ module ExceptionHandling # never included
|
|
288
288
|
#
|
289
289
|
# Expects passed in hash to only include keys which be directly set on the Honeybadger config
|
290
290
|
#
|
291
|
-
def enable_honeybadger(config
|
291
|
+
def enable_honeybadger(**config)
|
292
292
|
Bundler.require(:honeybadger)
|
293
293
|
Honeybadger.configure do |config_klass|
|
294
294
|
config.each do |k, v|
|
@@ -297,28 +297,28 @@ module ExceptionHandling # never included
|
|
297
297
|
end
|
298
298
|
end
|
299
299
|
|
300
|
-
def log_warning(message, log_context
|
300
|
+
def log_warning(message, **log_context)
|
301
301
|
warning = Warning.new(message)
|
302
302
|
warning.set_backtrace([])
|
303
303
|
log_error(warning, **log_context)
|
304
304
|
end
|
305
305
|
|
306
|
-
def log_info(message, log_context
|
306
|
+
def log_info(message, **log_context)
|
307
307
|
ExceptionHandling.logger.info(message, log_context)
|
308
308
|
end
|
309
309
|
|
310
|
-
def log_debug(message, log_context
|
310
|
+
def log_debug(message, **log_context)
|
311
311
|
ExceptionHandling.logger.debug(message, log_context)
|
312
312
|
end
|
313
313
|
|
314
|
-
def ensure_safe(exception_context = "", log_context
|
314
|
+
def ensure_safe(exception_context = "", **log_context)
|
315
315
|
yield
|
316
316
|
rescue => ex
|
317
317
|
log_error(ex, exception_context, **log_context)
|
318
318
|
nil
|
319
319
|
end
|
320
320
|
|
321
|
-
def ensure_completely_safe(exception_context = "", log_context
|
321
|
+
def ensure_completely_safe(exception_context = "", **log_context)
|
322
322
|
yield
|
323
323
|
rescue SystemExit, SystemStackError, NoMemoryError, SecurityError, SignalException
|
324
324
|
raise
|
@@ -333,29 +333,29 @@ module ExceptionHandling # never included
|
|
333
333
|
escalate(email_subject, ex, last_exception_timestamp, production_support_recipients)
|
334
334
|
end
|
335
335
|
|
336
|
-
def escalate_error(exception_or_string, email_subject, custom_recipients = nil, log_context
|
336
|
+
def escalate_error(exception_or_string, email_subject, custom_recipients = nil, **log_context)
|
337
337
|
ex = make_exception(exception_or_string)
|
338
338
|
log_error(ex, **log_context)
|
339
339
|
escalate(email_subject, ex, last_exception_timestamp, custom_recipients)
|
340
340
|
end
|
341
341
|
|
342
|
-
def escalate_warning(message, email_subject, custom_recipients = nil, log_context
|
342
|
+
def escalate_warning(message, email_subject, custom_recipients = nil, **log_context)
|
343
343
|
ex = Warning.new(message)
|
344
344
|
log_error(ex, **log_context)
|
345
345
|
escalate(email_subject, ex, last_exception_timestamp, custom_recipients)
|
346
346
|
end
|
347
347
|
|
348
|
-
def ensure_escalation(email_subject, custom_recipients = nil, log_context
|
348
|
+
def ensure_escalation(email_subject, custom_recipients = nil, **log_context)
|
349
349
|
yield
|
350
350
|
rescue => ex
|
351
|
-
escalate_error(ex, email_subject, custom_recipients, log_context)
|
351
|
+
escalate_error(ex, email_subject, custom_recipients, **log_context)
|
352
352
|
nil
|
353
353
|
end
|
354
354
|
|
355
355
|
deprecate :escalate_to_production_support, :escalate_error, :escalate_warning, :ensure_escalation,
|
356
356
|
deprecator: ActiveSupport::Deprecation.new('3.0', 'ExceptionHandling')
|
357
357
|
|
358
|
-
def alert_warning(exception_or_string, alert_name, exception_context, log_context)
|
358
|
+
def alert_warning(exception_or_string, alert_name, exception_context, **log_context)
|
359
359
|
ex = make_exception(exception_or_string)
|
360
360
|
log_error(ex, exception_context, **log_context)
|
361
361
|
begin
|
@@ -365,10 +365,10 @@ module ExceptionHandling # never included
|
|
365
365
|
end
|
366
366
|
end
|
367
367
|
|
368
|
-
def ensure_alert(alert_name, exception_context, log_context
|
368
|
+
def ensure_alert(alert_name, exception_context, **log_context)
|
369
369
|
yield
|
370
370
|
rescue => ex
|
371
|
-
alert_warning(ex, alert_name, exception_context, log_context)
|
371
|
+
alert_warning(ex, alert_name, exception_context, **log_context)
|
372
372
|
nil
|
373
373
|
end
|
374
374
|
|
@@ -385,7 +385,7 @@ module ExceptionHandling # never included
|
|
385
385
|
result
|
386
386
|
end
|
387
387
|
|
388
|
-
def log_periodically(exception_key, interval, message, log_context
|
388
|
+
def log_periodically(exception_key, interval, message, **log_context)
|
389
389
|
self.periodic_exception_intervals ||= {}
|
390
390
|
last_logged = self.periodic_exception_intervals[exception_key]
|
391
391
|
if !last_logged || ((last_logged + interval) < Time.now)
|
@@ -158,7 +158,12 @@ describe ExceptionHandling do
|
|
158
158
|
|
159
159
|
context "#log_warning" do
|
160
160
|
it "have empty array as a backtrace" do
|
161
|
-
|
161
|
+
expected_args = if RUBY_VERSION < '2.7'
|
162
|
+
[ExceptionHandling::Warning, anything]
|
163
|
+
else
|
164
|
+
[ExceptionHandling::Warning]
|
165
|
+
end
|
166
|
+
expect(ExceptionHandling).to receive(:log_error).with(*expected_args) do |error|
|
162
167
|
expect(error.backtrace).to eq([])
|
163
168
|
end
|
164
169
|
ExceptionHandling.log_warning('Now with empty array as a backtrace!')
|
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.
|
4
|
+
version: 2.11.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-
|
11
|
+
date: 2022-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionmailer
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '5.2'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: '7.0'
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
29
|
+
version: '5.2'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '7.0'
|
@@ -36,7 +36,7 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - ">="
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '
|
39
|
+
version: '5.2'
|
40
40
|
- - "<"
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: '7.0'
|
@@ -46,7 +46,7 @@ dependencies:
|
|
46
46
|
requirements:
|
47
47
|
- - ">="
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: '
|
49
|
+
version: '5.2'
|
50
50
|
- - "<"
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: '7.0'
|
@@ -56,7 +56,7 @@ dependencies:
|
|
56
56
|
requirements:
|
57
57
|
- - ">="
|
58
58
|
- !ruby/object:Gem::Version
|
59
|
-
version: '
|
59
|
+
version: '5.2'
|
60
60
|
- - "<"
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '7.0'
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
requirements:
|
67
67
|
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
69
|
+
version: '5.2'
|
70
70
|
- - "<"
|
71
71
|
- !ruby/object:Gem::Version
|
72
72
|
version: '7.0'
|
@@ -76,14 +76,14 @@ dependencies:
|
|
76
76
|
requirements:
|
77
77
|
- - "~>"
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version: '0
|
79
|
+
version: '1.0'
|
80
80
|
type: :runtime
|
81
81
|
prerelease: false
|
82
82
|
version_requirements: !ruby/object:Gem::Requirement
|
83
83
|
requirements:
|
84
84
|
- - "~>"
|
85
85
|
- !ruby/object:Gem::Version
|
86
|
-
version: '0
|
86
|
+
version: '1.0'
|
87
87
|
- !ruby/object:Gem::Dependency
|
88
88
|
name: escalate
|
89
89
|
requirement: !ruby/object:Gem::Requirement
|
@@ -126,6 +126,34 @@ dependencies:
|
|
126
126
|
- - "~>"
|
127
127
|
- !ruby/object:Gem::Version
|
128
128
|
version: '0.3'
|
129
|
+
- !ruby/object:Gem::Dependency
|
130
|
+
name: psych
|
131
|
+
requirement: !ruby/object:Gem::Requirement
|
132
|
+
requirements:
|
133
|
+
- - "~>"
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '3.0'
|
136
|
+
type: :runtime
|
137
|
+
prerelease: false
|
138
|
+
version_requirements: !ruby/object:Gem::Requirement
|
139
|
+
requirements:
|
140
|
+
- - "~>"
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '3.0'
|
143
|
+
- !ruby/object:Gem::Dependency
|
144
|
+
name: net-smtp
|
145
|
+
requirement: !ruby/object:Gem::Requirement
|
146
|
+
requirements:
|
147
|
+
- - ">="
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '0'
|
150
|
+
type: :runtime
|
151
|
+
prerelease: false
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
requirements:
|
154
|
+
- - ">="
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
version: '0'
|
129
157
|
description: Exception handling logger/emailer
|
130
158
|
email:
|
131
159
|
- development@invoca.com
|
@@ -147,7 +175,6 @@ files:
|
|
147
175
|
- Rakefile
|
148
176
|
- config/exception_filters.yml
|
149
177
|
- exception_handling.gemspec
|
150
|
-
- gemfiles/rails_4.gemfile
|
151
178
|
- gemfiles/rails_5.gemfile
|
152
179
|
- gemfiles/rails_6.gemfile
|
153
180
|
- lib/exception_handling.rb
|
@@ -195,11 +222,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
195
222
|
version: '0'
|
196
223
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
197
224
|
requirements:
|
198
|
-
- - "
|
225
|
+
- - ">="
|
199
226
|
- !ruby/object:Gem::Version
|
200
|
-
version:
|
227
|
+
version: '0'
|
201
228
|
requirements: []
|
202
|
-
rubygems_version: 3.
|
229
|
+
rubygems_version: 3.1.6
|
203
230
|
signing_key:
|
204
231
|
specification_version: 4
|
205
232
|
summary: Invoca's exception handling logger/emailer layer, based on exception_notifier.
|
data/gemfiles/rails_4.gemfile
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
# This file was generated by Appraisal
|
2
|
-
|
3
|
-
source "https://rubygems.org"
|
4
|
-
|
5
|
-
gem "actionmailer", "~> 4.2"
|
6
|
-
gem "activesupport", "~> 4.2"
|
7
|
-
gem "appraisal", "~> 2.2"
|
8
|
-
gem "honeybadger"
|
9
|
-
gem "pry"
|
10
|
-
gem "pry-byebug"
|
11
|
-
gem "rake"
|
12
|
-
gem "rspec"
|
13
|
-
gem "rspec_junit_formatter"
|
14
|
-
gem "rubocop"
|
15
|
-
gem "test-unit"
|
16
|
-
gem "actionpack", "~> 4.2"
|
17
|
-
|
18
|
-
gemspec path: "../"
|