openstax_rescue_from 4.2.0 → 4.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/tests.yml +4 -11
- data/lib/openstax/rescue_from/background_job.rb +3 -1
- data/lib/openstax/rescue_from/controller.rb +3 -1
- data/lib/openstax/rescue_from/logger.rb +1 -1
- data/lib/openstax/rescue_from/version.rb +1 -1
- data/lib/openstax/rescue_from/view_helpers.rb +3 -1
- data/openstax_rescue_from.gemspec +17 -17
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e74c477de6ad1cf7bb6cabb7eec593fefe5bd97a6b76984a7112887815a0662c
|
4
|
+
data.tar.gz: 4cb76c43943308651fc5d9209b9e604b95891b8e4593df644dab7422072051f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26d00833887558a9915fcaf73f4ba8b7f315b398e84b49f87ff66b6c7794cec1fc35f52ba715975b49f99c9e7650e1f5e02472a2ff769761e29f27c2775c7beb
|
7
|
+
data.tar.gz: dbd1dd56334ac41518a595574841aaf41a36d64d03cdfb5aaa0b2d65f169d33f6e845a0b542454b496bdaf89802224a2be18724425a3df03ed065ceb2c726c44
|
data/.github/workflows/tests.yml
CHANGED
@@ -7,19 +7,12 @@ on:
|
|
7
7
|
jobs:
|
8
8
|
tests:
|
9
9
|
timeout-minutes: 30
|
10
|
-
runs-on: ubuntu-
|
10
|
+
runs-on: ubuntu-24.04
|
11
11
|
steps:
|
12
12
|
- uses: actions/checkout@v2
|
13
|
-
- uses:
|
13
|
+
- uses: ruby/setup-ruby@v1
|
14
14
|
with:
|
15
|
-
ruby-version:
|
16
|
-
|
17
|
-
with:
|
18
|
-
path: vendor/bundle
|
19
|
-
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
|
20
|
-
restore-keys: |
|
21
|
-
${{ runner.os }}-gems-
|
22
|
-
- name: Setup
|
23
|
-
run: bundle install
|
15
|
+
ruby-version: 3.0
|
16
|
+
bundler-cache: true
|
24
17
|
- name: Test
|
25
18
|
run: bundle exec rake spec
|
@@ -19,7 +19,7 @@ module OpenStax
|
|
19
19
|
private
|
20
20
|
def record_system_error_recursively!
|
21
21
|
if exception_proxy.cause
|
22
|
-
RescueFrom.
|
22
|
+
RescueFrom.register_unrecognized_exception(exception_proxy.cause.class)
|
23
23
|
@exception_proxy = ExceptionCauseProxy.new(exception_proxy.cause)
|
24
24
|
record_system_error!("Exception cause")
|
25
25
|
end
|
@@ -4,29 +4,29 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
require 'openstax/rescue_from/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
|
-
spec.name =
|
7
|
+
spec.name = 'openstax_rescue_from'
|
8
8
|
spec.version = OpenStax::RescueFrom::VERSION
|
9
|
-
spec.authors = [
|
10
|
-
spec.email = [
|
9
|
+
spec.authors = ['JP Slavinsky', 'Joe Sak']
|
10
|
+
spec.email = ['jps@kindlinglabs.com', 'joe@avant-gardelabs.com']
|
11
11
|
|
12
|
-
spec.summary =
|
13
|
-
spec.homepage =
|
14
|
-
spec.license =
|
12
|
+
spec.summary = 'Common exception `rescue_from` handling for OpenStax sites.'
|
13
|
+
spec.homepage = 'https://github.com/openstax/rescue_from'
|
14
|
+
spec.license = 'MIT'
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(/spec\//) }
|
17
|
-
spec.bindir =
|
18
|
-
spec.executables = [
|
19
|
-
spec.require_paths = [
|
17
|
+
spec.bindir = 'bin'
|
18
|
+
spec.executables = ['console', 'setup']
|
19
|
+
spec.require_paths = ['lib']
|
20
20
|
|
21
21
|
spec.required_ruby_version = '>= 2.0'
|
22
22
|
|
23
|
-
spec.add_dependency
|
23
|
+
spec.add_dependency 'rails', '>= 3.1', '< 7.0'
|
24
24
|
|
25
|
-
spec.add_development_dependency
|
26
|
-
spec.add_development_dependency
|
27
|
-
spec.add_development_dependency
|
28
|
-
spec.add_development_dependency
|
29
|
-
spec.add_development_dependency
|
30
|
-
spec.add_development_dependency
|
31
|
-
spec.add_development_dependency
|
25
|
+
spec.add_development_dependency 'bundler'
|
26
|
+
spec.add_development_dependency 'sqlite3', '~> 1.4'
|
27
|
+
spec.add_development_dependency 'listen'
|
28
|
+
spec.add_development_dependency 'rspec-rails'
|
29
|
+
spec.add_development_dependency 'rails-controller-testing'
|
30
|
+
spec.add_development_dependency 'database_cleaner'
|
31
|
+
spec.add_development_dependency 'exception_notification'
|
32
32
|
end
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openstax_rescue_from
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.
|
4
|
+
version: 4.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JP Slavinsky
|
8
8
|
- Joe Sak
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2024-10-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -49,16 +49,16 @@ dependencies:
|
|
49
49
|
name: sqlite3
|
50
50
|
requirement: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '1.4'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
57
|
version_requirements: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '1.4'
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
63
|
name: listen
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
@@ -129,7 +129,7 @@ dependencies:
|
|
129
129
|
- - ">="
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '0'
|
132
|
-
description:
|
132
|
+
description:
|
133
133
|
email:
|
134
134
|
- jps@kindlinglabs.com
|
135
135
|
- joe@avant-gardelabs.com
|
@@ -173,7 +173,7 @@ homepage: https://github.com/openstax/rescue_from
|
|
173
173
|
licenses:
|
174
174
|
- MIT
|
175
175
|
metadata: {}
|
176
|
-
post_install_message:
|
176
|
+
post_install_message:
|
177
177
|
rdoc_options: []
|
178
178
|
require_paths:
|
179
179
|
- lib
|
@@ -188,8 +188,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
188
|
- !ruby/object:Gem::Version
|
189
189
|
version: '0'
|
190
190
|
requirements: []
|
191
|
-
rubygems_version: 3.
|
192
|
-
signing_key:
|
191
|
+
rubygems_version: 3.5.21
|
192
|
+
signing_key:
|
193
193
|
specification_version: 4
|
194
194
|
summary: Common exception `rescue_from` handling for OpenStax sites.
|
195
195
|
test_files: []
|