prowl-exception 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ require 'prowl/rack'
3
3
  module ProwlException
4
4
  class Railtie < ::Rails::Railtie
5
5
  initializer "prowlexception.middleware" do |app|
6
- app.middleware.use Rack::ProwlException
6
+ app.middleware.use Rack::ProwlException if ENV['RAILS_ENV'] == 'production'
7
7
  end
8
8
  end
9
9
  end
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
7
7
  s.description = %w{ Send exception summary to prowl }
8
8
  s.homepage = 'https://github.com/afhbl/prowl-exception'
9
9
 
10
- s.version = '0.0.3'
10
+ s.version = '0.0.4'
11
11
  s.date = '2012-08-01'
12
12
  s.files = `git ls-files`.split("\n")
13
13
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prowl-exception
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: