configurable_exceptions 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fc3167f024c85593ada060be96fe88ad5b460f5b
4
- data.tar.gz: 5032387d15620de87094d3c2271de52207622909
3
+ metadata.gz: 177cac069cf3d57dc206fd802d62c97cb50f5b64
4
+ data.tar.gz: 9b86566fa5c959ff5b6fe4a0b934c7ed16788885
5
5
  SHA512:
6
- metadata.gz: 276be70fa4c300f835b677d3715866dddbd5b876247625e1fa7301ffd73adf8d799b756aedf59cf730eae4303ffd76533c1bfa67ace9f56ebbc6570b72e2aa61
7
- data.tar.gz: e62c3a37c4da0ededb32ee8b5579d990fda36fbddf575694e88d9eb082d78ce8ec1e13118cedbe1bb1d7bafda38e70fa1cbe6d13236e896f02e8e9d855d7f1db
6
+ metadata.gz: 3742b0f9c0a84a40e6292a2e87c028078a23f2cd9a6365a2a07ba6307e38532da7f6646d0ee08187c95fa99bd4420de6d52123a09b932242aa28c479e747acd9
7
+ data.tar.gz: cbb40adfa33817b22cbc87ff90eb50f501e1cd0a345c0efa94f3a8b4feaf09f406446dcec30a516ea453b1af6b2b693c2192bb4a1b7c32284e8486f4ab20879e
@@ -4,8 +4,7 @@ require 'configurable_exceptions/rails' if defined? Rails::Railtie
4
4
 
5
5
  module ConfigurableExceptions
6
6
  class << self
7
- cattr_accessor :show_exceptions do
8
- false
9
- end
7
+ cattr_accessor :show_exceptions
8
+ self.show_exceptions = false
10
9
  end
11
10
  end
@@ -1,6 +1,6 @@
1
1
  # No way of toggling config.action_dispatch.show_exceptions directly it appears
2
- # so this configurable middleware is instead injected before before the exception
3
- # middleware to be able to dynamically switch them on/of for testing
2
+ # so this configurable middleware is instead injected before the exception
3
+ # middleware to be able to dynamically switch them on/off for testing
4
4
 
5
5
  class ConfigurableExceptions::Middleware
6
6
  def initialize(app)
@@ -1,3 +1,3 @@
1
1
  module ConfigurableExceptions
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: configurable_exceptions
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Balvig
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-03 00:00:00.000000000 Z
11
+ date: 2017-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  version: '0'
76
76
  requirements: []
77
77
  rubyforge_project:
78
- rubygems_version: 2.2.2
78
+ rubygems_version: 2.5.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Toggle showing of error pages on/off when testing