whoops 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/whoops/engine.rb +5 -1
  2. metadata +3 -3
data/lib/whoops/engine.rb CHANGED
@@ -5,7 +5,11 @@ module Whoops
5
5
  end
6
6
 
7
7
  initializer "default whoops sender", :before => :load_config_initializers do |app|
8
- app.config.whoops_sender ||= nil
8
+ begin
9
+ app.config.whoops_sender ||= nil
10
+ rescue NoMethodError
11
+ app.config.whoops_sender = nil
12
+ end
9
13
  end
10
14
  end
11
15
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whoops
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 1
10
- version: 0.3.1
9
+ - 2
10
+ version: 0.3.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Daniel Higginbotham