exception_notification-rake 0.3.0 → 0.3.1.rc1
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 +5 -5
- data/lib/exception_notifier/rake/rake_patch.rb +3 -10
- data/lib/exception_notifier/rake/version.rb +1 -1
- metadata +7 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 0e153485902ad153488c5058930a8635795d58e089e8348279f986e47774666c
|
|
4
|
+
data.tar.gz: 3cc63e9816c4886a1d0c93ce5c6bc0cfa89d90d97b7538d7f604dc6e5b87c99f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3d0f35dc9945c87ec603ef4ee5680d07eeaa41226b4e907c7175ee55844cce3e234a1dddeaaa92dcb2b44cb104e5269ada906e007452dacd08fd74b5b3ecd8de
|
|
7
|
+
data.tar.gz: e64bb10f91a07b7fd16e557c05d37a9b3fe0aabf250799f4f40352ff7db7672f61a432813230c72b6b8c31fb358cca1c3d1e70bc2892055b209ccad147a15618
|
|
@@ -2,15 +2,8 @@
|
|
|
2
2
|
# https://github.com/thoughtbot/airbrake/blob/master/lib/airbrake/rake_handler.rb
|
|
3
3
|
module ExceptionNotifier
|
|
4
4
|
module RakePatch
|
|
5
|
-
def
|
|
6
|
-
|
|
7
|
-
alias_method :display_error_message_without_notifications, :display_error_message
|
|
8
|
-
alias_method :display_error_message, :display_error_message_with_notifications
|
|
9
|
-
end
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
def display_error_message_with_notifications(ex)
|
|
13
|
-
display_error_message_without_notifications(ex)
|
|
5
|
+
def display_error_message(ex)
|
|
6
|
+
super(ex)
|
|
14
7
|
ExceptionNotifier::Rake.maybe_deliver_notification(ex,
|
|
15
8
|
:rake_command_line => reconstruct_command_line)
|
|
16
9
|
end
|
|
@@ -26,7 +19,7 @@ end
|
|
|
26
19
|
if Object.const_defined?(:Rake) && Rake.respond_to?(:application)
|
|
27
20
|
Rake.application.instance_eval do
|
|
28
21
|
class << self
|
|
29
|
-
|
|
22
|
+
prepend ExceptionNotifier::RakePatch
|
|
30
23
|
end
|
|
31
24
|
end
|
|
32
25
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: exception_notification-rake
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1.rc1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nik Haldimann
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-04-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: exception_notification
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 4.
|
|
19
|
+
version: '4.3'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 4.
|
|
26
|
+
version: '4.3'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: rake
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -68,12 +68,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
68
68
|
version: '2.0'
|
|
69
69
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
70
70
|
requirements:
|
|
71
|
-
- - "
|
|
71
|
+
- - ">"
|
|
72
72
|
- !ruby/object:Gem::Version
|
|
73
|
-
version:
|
|
73
|
+
version: 1.3.1
|
|
74
74
|
requirements: []
|
|
75
|
-
|
|
76
|
-
rubygems_version: 2.4.8
|
|
75
|
+
rubygems_version: 3.0.8
|
|
77
76
|
signing_key:
|
|
78
77
|
specification_version: 4
|
|
79
78
|
summary: Sending exception notifications upon Rake task failures
|