exception_notification-rake 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -7,13 +7,13 @@ This Ruby gem is an extension of the [exception_notification gem](http://rubygem
7
7
 
8
8
  ## Installation
9
9
 
10
- If you're using Rails 4 (or you're not using Rails at all), use the latest version of the gem:
10
+ If you're using Rails 4.0.x (or you're not using Rails at all), use the 0.1.x line of the gem:
11
11
 
12
- gem 'exception_notification-rake', '~> 0.1.2'
12
+ gem 'exception_notification-rake', '~> 0.1.3'
13
13
 
14
14
  If you're using Rails 3, use the 0.0.x line of versions:
15
15
 
16
- gem 'exception_notification-rake', '~> 0.0.6'
16
+ gem 'exception_notification-rake', '~> 0.0.7'
17
17
 
18
18
 
19
19
  ## Usage
@@ -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.1.2'
3
+ VERSION = '0.1.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exception_notification-rake
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-01-19 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
@@ -104,7 +104,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
104
104
  requirements:
105
105
  - - ! '>='
106
106
  - !ruby/object:Gem::Version
107
- version: '0'
107
+ version: '2.0'
108
108
  required_rubygems_version: !ruby/object:Gem::Requirement
109
109
  none: false
110
110
  requirements: