exception_notification-rake 0.0.2 → 0.0.3

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
@@ -11,7 +11,6 @@ This Ruby gem is an extension of the [exception_notification gem](http://rubygem
11
11
  Exception notification must be set up in your Rails config files. In general, you'll want to do this in environment-specific config files, such as `config/environments/production.rb`. Minimal configuration:
12
12
 
13
13
  # config/environments/production.rb
14
- require 'exception_notifier/rake'
15
14
 
16
15
  YourApp::Application.configure do
17
16
  # Other configuration here, including ActionMailer config ...
@@ -29,7 +28,6 @@ Exception notification must be set up in your Rails config files. In general, yo
29
28
  If you are already using `ExceptionNotifier` anyway, you don't need to configure it again and all you need is:
30
29
 
31
30
  # config/environments/production.rb
32
- require 'exception_notifier/rake'
33
31
 
34
32
  YourApp::Application.configure do
35
33
  # Other configuration here, including ExceptionNotifer and ActionMailer config ...
@@ -0,0 +1,2 @@
1
+ # This file exists to support gem autoloading by bundler.
2
+ require 'exception_notifier/rake'
@@ -39,8 +39,6 @@ class ExceptionNotifier
39
39
  # be passed through to ExceptionNotifier's data hash and will be availble
40
40
  # in templates.
41
41
  def self.maybe_deliver_notification(exception, data={})
42
- # TODO must check whether config has fully loaded yet, to avoid masking
43
- # configuration issues.
44
42
  if configured?
45
43
  options = notifier_options
46
44
  if !data.empty?
@@ -1,5 +1,5 @@
1
1
  class ExceptionNotifier
2
2
  class Rake
3
- VERSION = '0.0.2'
3
+ VERSION = '0.0.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.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -73,6 +73,7 @@ files:
73
73
  - README.md
74
74
  - Rakefile
75
75
  - exception_notification-rake.gemspec
76
+ - lib/exception_notification/rake.rb
76
77
  - lib/exception_notifier/rake.rb
77
78
  - lib/exception_notifier/rake/rake.rb
78
79
  - lib/exception_notifier/rake/rake_patch.rb