openstax_rescue_from 4.0.0 → 4.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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d89bd4714ebe2bfe99023a6138464592588fbae45721a6bea8c6794f9aa3eb0d
|
4
|
+
data.tar.gz: cb7d48e7ca41a7621cdbdccf03f2d1462398e4cee209f8e2a977d66ea3316b32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 739dee6bb975f12fde17088874758cbfb5101a6a4380477cf15caf92251763e5b74ad98b54e643569de3dd79169ece9af001156f030e83d4c1c97cf83c4c8d2f
|
7
|
+
data.tar.gz: 516e62f138efa06b5a2cbc42d2de4d0ed7c99fa45616f1d9009bb857108338d82d8841f482c157d97539410c416460494f16827d8bd39073facf217655dbb147
|
@@ -10,6 +10,10 @@ module OpenStax
|
|
10
10
|
notify: false,
|
11
11
|
status: :not_found)
|
12
12
|
|
13
|
+
RescueFrom.register_exception(ActionController::UnknownFormat,
|
14
|
+
notify: false,
|
15
|
+
status: :not_found)
|
16
|
+
|
13
17
|
RescueFrom.register_exception(ActionController::InvalidAuthenticityToken,
|
14
18
|
notify: false,
|
15
19
|
status: :unprocessable_entity)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openstax_rescue_from
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JP Slavinsky
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-07-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -172,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
172
172
|
- !ruby/object:Gem::Version
|
173
173
|
version: '0'
|
174
174
|
requirements: []
|
175
|
-
rubygems_version: 3.0.
|
175
|
+
rubygems_version: 3.0.4
|
176
176
|
signing_key:
|
177
177
|
specification_version: 4
|
178
178
|
summary: Common exception `rescue_from` handling for OpenStax sites.
|