exception_notification-rake 0.0.6 → 0.0.7.rc1

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
  class ExceptionNotifier
2
2
  class Rake
3
- VERSION = '0.0.6'
3
+ VERSION = '0.0.7.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.0.6
5
- prerelease:
4
+ version: 0.0.7.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: 2014-01-18 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
@@ -108,9 +108,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
108
108
  required_rubygems_version: !ruby/object:Gem::Requirement
109
109
  none: false
110
110
  requirements:
111
- - - ! '>='
111
+ - - ! '>'
112
112
  - !ruby/object:Gem::Version
113
- version: '0'
113
+ version: 1.3.1
114
114
  requirements: []
115
115
  rubyforge_project:
116
116
  rubygems_version: 1.8.23