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: 447a0f49e0681eb3d728b4c156d51b44c40ccecd52ffe3fc877f8fcf813db1b9
4
- data.tar.gz: 7ea74f2eabb70d9ef89f7c11697d347e3e6cfbf4de930f54cbcab33406e8fc4f
3
+ metadata.gz: d89bd4714ebe2bfe99023a6138464592588fbae45721a6bea8c6794f9aa3eb0d
4
+ data.tar.gz: cb7d48e7ca41a7621cdbdccf03f2d1462398e4cee209f8e2a977d66ea3316b32
5
5
  SHA512:
6
- metadata.gz: c18f2a4a5124389e363cc4cca3fd07482b9102a77a4b9c97dc51e9a9b965ea5c9246a3c13d9f4bd3a40529f52733573185e38c7fa29d62254e43bb45d26a1953
7
- data.tar.gz: 6688bfa1b802a22e5fbbd6109274553552739a70b76a4860e451b1023ab6ac10698df29351e4583cd9375f435abd043cada28d0d8b1a4b8475b69e07977bede9
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)
@@ -1,5 +1,5 @@
1
1
  module OpenStax
2
2
  module RescueFrom
3
- VERSION = "4.0.0"
3
+ VERSION = '4.0.1'
4
4
  end
5
5
  end
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.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-05-24 00:00:00.000000000 Z
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.1
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.