openstax_rescue_from 3.0.0 → 4.0.0

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
- SHA1:
3
- metadata.gz: d2cc06b01e38970a2435d345c200406e28dcc557
4
- data.tar.gz: d2645ad9a8e7178c0b4e6776058833ffaec26e71
2
+ SHA256:
3
+ metadata.gz: 447a0f49e0681eb3d728b4c156d51b44c40ccecd52ffe3fc877f8fcf813db1b9
4
+ data.tar.gz: 7ea74f2eabb70d9ef89f7c11697d347e3e6cfbf4de930f54cbcab33406e8fc4f
5
5
  SHA512:
6
- metadata.gz: deca2133ec2fe2f98e217b8c3ae0cd5a9426b6fbc0bda854c643257db6c297415784cf6736b167f0c65177c42cf75f73c663a2e3abb494a01d1b0b2e419f60ce
7
- data.tar.gz: 4bf1841f1c6e61c94933f2128cc1d2929786634a557e519c20b7fb7ad8fe46eb53d965c73e9b97a2e5df9a0355c04571b03119bb2b2ea41bfa21b1754de15207
6
+ metadata.gz: c18f2a4a5124389e363cc4cca3fd07482b9102a77a4b9c97dc51e9a9b965ea5c9246a3c13d9f4bd3a40529f52733573185e38c7fa29d62254e43bb45d26a1953
7
+ data.tar.gz: 6688bfa1b802a22e5fbbd6109274553552739a70b76a4860e451b1023ab6ac10698df29351e4583cd9375f435abd043cada28d0d8b1a4b8475b69e07977bede9
data/.travis.yml CHANGED
@@ -4,9 +4,9 @@ branches:
4
4
  sudo: false
5
5
  dist: trusty
6
6
  language: ruby
7
- rvm: "2.2.3"
7
+ rvm: 2.6.1
8
8
  addons:
9
- postgresql: "9.5"
9
+ postgresql: 9.6
10
10
  cache: bundler
11
11
  bundler_args: --retry=6
12
12
  before_script:
@@ -115,10 +115,6 @@ ActiveJob::Base.use_openstax_exception_rescue
115
115
  # notify: false,
116
116
  # status: :not_found)
117
117
  #
118
- # RescueFrom.register_exception(ActionController::UnknownController,
119
- # notify: false,
120
- # status: :not_found)
121
- #
122
118
  # RescueFrom.register_exception(ActionController::InvalidAuthenticityToken,
123
119
  # notify: false,
124
120
  # status: :unprocessable_entity)
@@ -10,10 +10,6 @@ module OpenStax
10
10
  notify: false,
11
11
  status: :not_found)
12
12
 
13
- RescueFrom.register_exception(ActionController::UnknownController,
14
- notify: false,
15
- status: :not_found)
16
-
17
13
  RescueFrom.register_exception(ActionController::InvalidAuthenticityToken,
18
14
  notify: false,
19
15
  status: :unprocessable_entity)
@@ -1,5 +1,5 @@
1
1
  module OpenStax
2
2
  module RescueFrom
3
- VERSION = "3.0.0"
3
+ VERSION = "4.0.0"
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: 3.0.0
4
+ version: 4.0.0
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: 2018-04-10 00:00:00.000000000 Z
12
+ date: 2019-05-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -127,7 +127,6 @@ extra_rdoc_files: []
127
127
  files:
128
128
  - ".gitignore"
129
129
  - ".rspec"
130
- - ".ruby-version"
131
130
  - ".travis.yml"
132
131
  - Gemfile
133
132
  - LICENSE.txt
@@ -173,8 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
173
172
  - !ruby/object:Gem::Version
174
173
  version: '0'
175
174
  requirements: []
176
- rubyforge_project:
177
- rubygems_version: 2.4.5.1
175
+ rubygems_version: 3.0.1
178
176
  signing_key:
179
177
  specification_version: 4
180
178
  summary: Common exception `rescue_from` handling for OpenStax sites.
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- 2.2.3