exception_notification-rake 0.3.0 → 0.3.1.rc1

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
- SHA1:
3
- metadata.gz: 8cf93bbb2c0818a298cad7fced58bd9dc2b74ce7
4
- data.tar.gz: a46f31b9661980b3b49816853dd5053d901dc480
2
+ SHA256:
3
+ metadata.gz: 0e153485902ad153488c5058930a8635795d58e089e8348279f986e47774666c
4
+ data.tar.gz: 3cc63e9816c4886a1d0c93ce5c6bc0cfa89d90d97b7538d7f604dc6e5b87c99f
5
5
  SHA512:
6
- metadata.gz: 1b9fe3ad8501a09da3072c1b567dfdf5bc2d3a5dbfd215c6ed5d5b0197c19d896d3525f7f49d2196133a48252f45866099939feb9dd17631604aeee452c2f831
7
- data.tar.gz: 86779ee82c8890f59b2da15ff01f94aae022c3bc255b5ebefd928fa9e253277a7019a18323d7a8e66d6b525c4cf5da5556921ab34208d784812858b8ed2146aa
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 self.included(klass)
6
- klass.class_eval do
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
- include ExceptionNotifier::RakePatch
22
+ prepend ExceptionNotifier::RakePatch
30
23
  end
31
24
  end
32
25
  end
@@ -1,5 +1,5 @@
1
1
  module ExceptionNotifier
2
2
  class Rake
3
- VERSION = '0.3.0'
3
+ VERSION = '0.3.1.rc1'
4
4
  end
5
5
  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.0
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: 2017-01-16 00:00:00.000000000 Z
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.2.0
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.2.0
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: '0'
73
+ version: 1.3.1
74
74
  requirements: []
75
- rubyforge_project:
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