exception_notification-rake 0.2.1 → 0.2.2.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.
data/README.md CHANGED
@@ -141,7 +141,7 @@ This gem fixes this issue. [Here is a detailed guide](http://blog.nikhaldimann.c
141
141
  You can pass configuration options to `ExceptionNotifier::Rake.configure`. These will be
142
142
  passed through to each notifier you configured with `ExceptionNotifier` (see [its documentation](https://github.com/smartinez87/exception_notification) for details on options). The options will be applied only to notifications sent as a result of Rake failures.
143
143
 
144
- The most likely options you'll want to use are `:email_prefix` and `:exception_recpients`. Example:
144
+ The most likely options you'll want to use are `:email_prefix` and `:exception_recipients`. Example:
145
145
 
146
146
  ExceptionNotifier::Rake.configure(
147
147
  :email => {
@@ -23,7 +23,7 @@ end
23
23
 
24
24
  # Only do this if we're actually in a Rake context. In some contexts (e.g.,
25
25
  # in the Rails console) Rake might not be defined.
26
- if Object.const_defined? :Rake
26
+ if Object.const_defined?(:Rake) && Rake.respond_to?(:application)
27
27
  Rake.application.instance_eval do
28
28
  class << self
29
29
  include ExceptionNotifier::RakePatch
@@ -1,5 +1,5 @@
1
1
  module ExceptionNotifier
2
2
  class Rake
3
- VERSION = '0.2.1'
3
+ VERSION = '0.2.2.rc1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exception_notification-rake
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
5
- prerelease:
4
+ version: 0.2.2.rc1
5
+ prerelease: 6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Nik Haldimann
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-05-23 00:00:00.000000000 Z
12
+ date: 2017-01-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: exception_notification
@@ -90,9 +90,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
90
90
  required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  none: false
92
92
  requirements:
93
- - - ! '>='
93
+ - - ! '>'
94
94
  - !ruby/object:Gem::Version
95
- version: '0'
95
+ version: 1.3.1
96
96
  requirements: []
97
97
  rubyforge_project:
98
98
  rubygems_version: 1.8.23