rambulance 2.0.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/tests.yml +32 -18
- data/Appraisals +6 -0
- data/CHANGELOG.md +13 -5
- data/README.md +5 -5
- data/gemfiles/rails_70.gemfile +9 -0
- data/lib/rambulance/version.rb +1 -1
- data/rambulance.gemspec +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6096e0f9c5586790a9b288cb471a849674b1dfa4cefd2786b919f7bb61643961
|
|
4
|
+
data.tar.gz: 8d11d4e7517e9ea7e8f8326de68408c76b60c8b1cae173dddb0891ff267b2f0d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0fbecc629b39ef1e50124b4e75be719c107a504c48de722e870bc471d8529b44c3c869442c83f373de50a096ddcd154d9861fae579ec49e6251f4cd38161befb
|
|
7
|
+
data.tar.gz: f6e08a20ba72aefea6aee3f8fc258463a86827df03590309724d2af3f2bae4a355c615d860e19c446e913cff02f7dd4ba84f3132d594f9a9f6e89a7e8d04b654
|
data/.github/workflows/tests.yml
CHANGED
|
@@ -8,14 +8,16 @@ jobs:
|
|
|
8
8
|
strategy:
|
|
9
9
|
matrix:
|
|
10
10
|
ruby_version:
|
|
11
|
+
- '3.1'
|
|
11
12
|
- '3.0'
|
|
12
13
|
- '2.7'
|
|
13
14
|
- '2.6'
|
|
14
15
|
- '2.5'
|
|
15
16
|
- '2.4'
|
|
16
17
|
- '2.3'
|
|
17
|
-
- 'jruby-9.
|
|
18
|
+
- 'jruby-9.3.3.0'
|
|
18
19
|
gemfile:
|
|
20
|
+
- gemfiles/rails_70.gemfile
|
|
19
21
|
- gemfiles/rails_61.gemfile
|
|
20
22
|
- gemfiles/rails_60.gemfile
|
|
21
23
|
- gemfiles/rails_52.gemfile
|
|
@@ -23,6 +25,16 @@ jobs:
|
|
|
23
25
|
- gemfiles/rails_50.gemfile
|
|
24
26
|
- gemfiles/rails_42.gemfile
|
|
25
27
|
exclude:
|
|
28
|
+
- ruby_version: '3.1'
|
|
29
|
+
gemfile: gemfiles/rails_60.gemfile
|
|
30
|
+
- ruby_version: '3.1'
|
|
31
|
+
gemfile: gemfiles/rails_52.gemfile
|
|
32
|
+
- ruby_version: '3.1'
|
|
33
|
+
gemfile: gemfiles/rails_51.gemfile
|
|
34
|
+
- ruby_version: '3.1'
|
|
35
|
+
gemfile: gemfiles/rails_50.gemfile
|
|
36
|
+
- ruby_version: '3.1'
|
|
37
|
+
gemfile: gemfiles/rails_42.gemfile
|
|
26
38
|
- ruby_version: '3.0'
|
|
27
39
|
gemfile: gemfiles/rails_52.gemfile
|
|
28
40
|
- ruby_version: '3.0'
|
|
@@ -31,6 +43,8 @@ jobs:
|
|
|
31
43
|
gemfile: gemfiles/rails_50.gemfile
|
|
32
44
|
- ruby_version: '3.0'
|
|
33
45
|
gemfile: gemfiles/rails_42.gemfile
|
|
46
|
+
- ruby_version: '2.7'
|
|
47
|
+
gemfile: gemfiles/rails_70.gemfile
|
|
34
48
|
- ruby_version: '2.7'
|
|
35
49
|
gemfile: gemfiles/rails_52.gemfile
|
|
36
50
|
- ruby_version: '2.7'
|
|
@@ -39,21 +53,31 @@ jobs:
|
|
|
39
53
|
gemfile: gemfiles/rails_50.gemfile
|
|
40
54
|
- ruby_version: '2.7'
|
|
41
55
|
gemfile: gemfiles/rails_42.gemfile
|
|
56
|
+
- ruby_version: '2.6'
|
|
57
|
+
gemfile: gemfiles/rails_70.gemfile
|
|
42
58
|
- ruby_version: '2.6'
|
|
43
59
|
gemfile: gemfiles/rails_42.gemfile
|
|
60
|
+
- ruby_version: '2.5'
|
|
61
|
+
gemfile: gemfiles/rails_70.gemfile
|
|
62
|
+
- ruby_version: '2.4'
|
|
63
|
+
gemfile: gemfiles/rails_70.gemfile
|
|
44
64
|
- ruby_version: '2.4'
|
|
45
65
|
gemfile: gemfiles/rails_61.gemfile
|
|
46
66
|
- ruby_version: '2.4'
|
|
47
67
|
gemfile: gemfiles/rails_60.gemfile
|
|
68
|
+
- ruby_version: '2.3'
|
|
69
|
+
gemfile: gemfiles/rails_70.gemfile
|
|
48
70
|
- ruby_version: '2.3'
|
|
49
71
|
gemfile: gemfiles/rails_61.gemfile
|
|
50
72
|
- ruby_version: '2.3'
|
|
51
73
|
gemfile: gemfiles/rails_60.gemfile
|
|
52
|
-
- ruby_version: 'jruby-9.
|
|
74
|
+
- ruby_version: 'jruby-9.3.3.0'
|
|
75
|
+
gemfile: gemfiles/rails_70.gemfile
|
|
76
|
+
- ruby_version: 'jruby-9.3.3.0'
|
|
53
77
|
gemfile: gemfiles/rails_51.gemfile
|
|
54
|
-
- ruby_version: 'jruby-9.
|
|
78
|
+
- ruby_version: 'jruby-9.3.3.0'
|
|
55
79
|
gemfile: gemfiles/rails_50.gemfile
|
|
56
|
-
- ruby_version: 'jruby-9.
|
|
80
|
+
- ruby_version: 'jruby-9.3.3.0'
|
|
57
81
|
gemfile: gemfiles/rails_42.gemfile
|
|
58
82
|
runs-on: ubuntu-18.04
|
|
59
83
|
env:
|
|
@@ -68,34 +92,24 @@ jobs:
|
|
|
68
92
|
- run: bundle exec rake
|
|
69
93
|
|
|
70
94
|
rails_edge:
|
|
71
|
-
strategy:
|
|
72
|
-
matrix:
|
|
73
|
-
ruby_version:
|
|
74
|
-
- '3.0'
|
|
75
|
-
- '2.7'
|
|
76
|
-
gemfile:
|
|
77
|
-
- gemfiles/rails_edge.gemfile
|
|
78
95
|
runs-on: ubuntu-18.04
|
|
79
96
|
env:
|
|
80
|
-
BUNDLE_GEMFILE:
|
|
97
|
+
BUNDLE_GEMFILE: gemfiles/rails_edge.gemfile
|
|
81
98
|
steps:
|
|
82
99
|
- uses: actions/checkout@v2
|
|
83
100
|
- name: Set up Ruby
|
|
84
101
|
uses: ruby/setup-ruby@v1
|
|
85
102
|
with:
|
|
86
|
-
ruby-version:
|
|
103
|
+
ruby-version: 3.1
|
|
87
104
|
bundler-cache: true
|
|
88
105
|
- run: bundle exec rake
|
|
89
106
|
|
|
90
107
|
ruby_edge:
|
|
91
108
|
strategy:
|
|
92
109
|
matrix:
|
|
93
|
-
ruby_version:
|
|
94
|
-
- 'ruby-head'
|
|
95
110
|
gemfile:
|
|
96
111
|
- gemfiles/rails_edge.gemfile
|
|
97
|
-
- gemfiles/
|
|
98
|
-
- gemfiles/rails_60.gemfile
|
|
112
|
+
- gemfiles/rails_70.gemfile
|
|
99
113
|
runs-on: ubuntu-18.04
|
|
100
114
|
env:
|
|
101
115
|
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
|
|
@@ -104,6 +118,6 @@ jobs:
|
|
|
104
118
|
- name: Set up Ruby
|
|
105
119
|
uses: ruby/setup-ruby@v1
|
|
106
120
|
with:
|
|
107
|
-
ruby-version:
|
|
121
|
+
ruby-version: 'ruby-head'
|
|
108
122
|
bundler-cache: true
|
|
109
123
|
- run: bundle exec rake || echo "Ruby edge test is done."
|
data/Appraisals
CHANGED
|
@@ -37,6 +37,12 @@ appraise "rails_61" do
|
|
|
37
37
|
gem "railties", "~> 6.1.0"
|
|
38
38
|
end
|
|
39
39
|
|
|
40
|
+
appraise "rails_70" do
|
|
41
|
+
gem "activesupport", "~> 7.0.0"
|
|
42
|
+
gem "actionpack", "~> 7.0.0"
|
|
43
|
+
gem "railties", "~> 7.0.0"
|
|
44
|
+
end
|
|
45
|
+
|
|
40
46
|
appraise "rails_edge" do
|
|
41
47
|
git 'git://github.com/rails/rails.git' do
|
|
42
48
|
gem "activesupport", require: 'active_support'
|
data/CHANGELOG.md
CHANGED
|
@@ -1,17 +1,25 @@
|
|
|
1
|
-
## v2.
|
|
1
|
+
## v2.1.0
|
|
2
|
+
|
|
3
|
+
_<sup>released at 2022-02-22 07:52:27 UTC</sup>_
|
|
4
|
+
|
|
5
|
+
- Add support for Ruby 3.1, Rails 7.0 and JRuby 9.3.3.0
|
|
6
|
+
|
|
7
|
+
## [v2.0.0](https://github.com/yuki24/rambulance/tree/v2.0.0)
|
|
8
|
+
|
|
9
|
+
_<sup>released at 2021-09-22 02:49:18 UTC</sup>_
|
|
2
10
|
|
|
3
11
|
#### Breaking Changes
|
|
4
12
|
|
|
5
|
-
- Drop support for Rails 4.1 and older (https://github.com/yuki24/rambulance/pull/62, @yuki24)
|
|
13
|
+
- Drop support for Rails 4.1 and older ([#62](https://github.com/yuki24/rambulance/pull/62), [@yuki24](https://github.com/yuki24))
|
|
6
14
|
|
|
7
15
|
#### Features
|
|
8
16
|
|
|
9
|
-
- Add support for Rails 6.1 and Ruby 3.0 (https://github.com/yuki24/rambulance/pull/61, https://github.com/yuki24/rambulance/pull/63, @gingerlime, @yuki24)
|
|
17
|
+
- Add support for Rails 6.1 and Ruby 3.0 ([#61](https://github.com/yuki24/rambulance/pull/61), [#63](https://github.com/yuki24/rambulance/pull/63), [@gingerlime](https://github.com/gingerlime), [@yuki24](https://github.com/yuki24))
|
|
10
18
|
|
|
11
19
|
#### Bug fixes
|
|
12
20
|
|
|
13
|
-
- POST with invalid JSON triggers a 500 (https://github.com/yuki24/rambulance/pull/59, @gingerlime)
|
|
14
|
-
- Fix 'directry' typo (https://github.com/yuki24/rambulance/pull/57, @andyw8)
|
|
21
|
+
- POST with invalid JSON triggers a 500 ([#59](https://github.com/yuki24/rambulance/pull/59), [@gingerlime](https://github.com/gingerlime))
|
|
22
|
+
- Fix 'directry' typo ([#57](https://github.com/yuki24/rambulance/pull/57), [@andyw8](https://github.com/andyw8))
|
|
15
23
|
|
|
16
24
|
## [v1.1.1](https://github.com/yuki24/rambulance/tree/v1.1.1)
|
|
17
25
|
|
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Rambulance [](https://github.com/yuki24/rambulance/actions/workflows/tests.yml) [](https://rubygems.org/gems/rambulance)
|
|
2
2
|
|
|
3
3
|
A simple and safe way to dynamically render error pages for Rails apps.
|
|
4
4
|
|
|
@@ -69,7 +69,7 @@ This is useful when you want to edit templates without changing Rails configurat
|
|
|
69
69
|
|
|
70
70
|
Change `config.consider_all_requests_local` to _false_ in `config/environments/development.rb`.
|
|
71
71
|
|
|
72
|
-
```
|
|
72
|
+
```ruby
|
|
73
73
|
config.consider_all_requests_local = false
|
|
74
74
|
```
|
|
75
75
|
|
|
@@ -79,7 +79,7 @@ This simulates how your production app displays error pages so you can actually
|
|
|
79
79
|
|
|
80
80
|
If you want to do some more things in a exceptions app, you can also write your own custom exceptions app:
|
|
81
81
|
|
|
82
|
-
```
|
|
82
|
+
```sh
|
|
83
83
|
$ rails g rambulance:exceptions_app
|
|
84
84
|
```
|
|
85
85
|
|
|
@@ -123,8 +123,8 @@ Note that testing error pages is not encouraged in Rails as it leads to overuse
|
|
|
123
123
|
|
|
124
124
|
## Supported Versions
|
|
125
125
|
|
|
126
|
-
* Ruby 2.3, 2,4, 2,5, 2.6,
|
|
127
|
-
* Rails 4.2, 5.0, 5.1, 5.2, 6.0 and edge
|
|
126
|
+
* Ruby 2.3, 2,4, 2,5, 2.6, 2.7, 3.0, 3.1, and JRuby 9.3
|
|
127
|
+
* Rails 4.2, 5.0, 5.1, 5.2, 6.0, 6.1, 7.0 and edge
|
|
128
128
|
|
|
129
129
|
Rambulance doesn't work with Rails 3.1 and below since they don't provide a way to use a custom exceptions app.
|
|
130
130
|
|
data/lib/rambulance/version.rb
CHANGED
data/rambulance.gemspec
CHANGED
|
@@ -6,7 +6,7 @@ require "rambulance/version"
|
|
|
6
6
|
Gem::Specification.new do |spec|
|
|
7
7
|
spec.name = "rambulance"
|
|
8
8
|
spec.version = Rambulance::VERSION
|
|
9
|
-
spec.authors = ["Yuki Nishijima"]
|
|
9
|
+
spec.authors = ["Yuki Nishijima", "Yoav Aner"]
|
|
10
10
|
spec.email = ["mail@yukinishijima.net"]
|
|
11
11
|
spec.summary = %q{Simple and safe way to dynamically generate error pages}
|
|
12
12
|
spec.description = %q{Rambulance provides a simple and safe way to dynamically generate error pages.}
|
metadata
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rambulance
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yuki Nishijima
|
|
8
|
+
- Yoav Aner
|
|
8
9
|
autorequire:
|
|
9
10
|
bindir: bin
|
|
10
11
|
cert_chain: []
|
|
11
|
-
date:
|
|
12
|
+
date: 2022-02-13 00:00:00.000000000 Z
|
|
12
13
|
dependencies:
|
|
13
14
|
- !ruby/object:Gem::Dependency
|
|
14
15
|
name: activesupport
|
|
@@ -161,6 +162,7 @@ files:
|
|
|
161
162
|
- gemfiles/rails_52.gemfile
|
|
162
163
|
- gemfiles/rails_60.gemfile
|
|
163
164
|
- gemfiles/rails_61.gemfile
|
|
165
|
+
- gemfiles/rails_70.gemfile
|
|
164
166
|
- gemfiles/rails_edge.gemfile
|
|
165
167
|
- lib/generators/rambulance/exceptions_app_generator.rb
|
|
166
168
|
- lib/generators/rambulance/install_generator.rb
|
|
@@ -220,7 +222,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
220
222
|
- !ruby/object:Gem::Version
|
|
221
223
|
version: '0'
|
|
222
224
|
requirements: []
|
|
223
|
-
rubygems_version: 3.
|
|
225
|
+
rubygems_version: 3.3.3
|
|
224
226
|
signing_key:
|
|
225
227
|
specification_version: 4
|
|
226
228
|
summary: Simple and safe way to dynamically generate error pages
|