rambulance 2.0.0 → 2.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1592ef1d6b4e68634579d8f663c1bfac1b90b5274e3b4c855b7b2701a02dce75
4
- data.tar.gz: e99889eca33ec4df242bb234d8824ce8badad039bce96acf61997bb697df82c0
3
+ metadata.gz: 88ab78d4adf6b58a2a0206350009d9cf58577837d3a7dc9fc5bef1ca25fe23d5
4
+ data.tar.gz: 6f24e7cbf7a825b5e762e626e2799ad0491fcb46f0c3ea7cbbb72e397ee43e9f
5
5
  SHA512:
6
- metadata.gz: 60999da77e4ea5792dee0edc0725ed212156e0cf0299c0362cd1790c8740817b8aa3186dea64478272ffb5a6e3ec815c6e61ea6e4f5078c6342be9269bcdcafd
7
- data.tar.gz: 76ab3afe64eda416e60946160e3bbb2f373c7c83ba2466de94b71b79c049e16c6af35d837c8269227abac757b5ddb5dfec1078e964ce18247282f008869087bc
6
+ metadata.gz: 82ae05f28f01beb391c7988a6f993d76b1a81596d5da73645284e22f5328a78cc1294bd4e5f96c5603cb82872e69a057f6e620ed44221ee4a18e68d313b5016a
7
+ data.tar.gz: 432400598a5d82a59f7f1613d2443b320c1ab7943465183bd70258df9581d5ddd77b06117f98d54e452a990c05277100195fd584f15c086c6fd40598776a02aa
@@ -8,14 +8,18 @@ jobs:
8
8
  strategy:
9
9
  matrix:
10
10
  ruby_version:
11
+ - '3.2'
12
+ - '3.1'
11
13
  - '3.0'
12
14
  - '2.7'
13
15
  - '2.6'
14
16
  - '2.5'
15
17
  - '2.4'
16
18
  - '2.3'
17
- - 'jruby-9.2.19.0'
19
+ - 'jruby-9.3'
20
+ - 'jruby-9.4'
18
21
  gemfile:
22
+ - gemfiles/rails_70.gemfile
19
23
  - gemfiles/rails_61.gemfile
20
24
  - gemfiles/rails_60.gemfile
21
25
  - gemfiles/rails_52.gemfile
@@ -23,6 +27,28 @@ jobs:
23
27
  - gemfiles/rails_50.gemfile
24
28
  - gemfiles/rails_42.gemfile
25
29
  exclude:
30
+ - ruby_version: '3.2'
31
+ gemfile: gemfiles/rails_61.gemfile
32
+ - ruby_version: '3.2'
33
+ gemfile: gemfiles/rails_60.gemfile
34
+ - ruby_version: '3.2'
35
+ gemfile: gemfiles/rails_52.gemfile
36
+ - ruby_version: '3.2'
37
+ gemfile: gemfiles/rails_51.gemfile
38
+ - ruby_version: '3.2'
39
+ gemfile: gemfiles/rails_50.gemfile
40
+ - ruby_version: '3.2'
41
+ gemfile: gemfiles/rails_42.gemfile
42
+ - ruby_version: '3.1'
43
+ gemfile: gemfiles/rails_60.gemfile
44
+ - ruby_version: '3.1'
45
+ gemfile: gemfiles/rails_52.gemfile
46
+ - ruby_version: '3.1'
47
+ gemfile: gemfiles/rails_51.gemfile
48
+ - ruby_version: '3.1'
49
+ gemfile: gemfiles/rails_50.gemfile
50
+ - ruby_version: '3.1'
51
+ gemfile: gemfiles/rails_42.gemfile
26
52
  - ruby_version: '3.0'
27
53
  gemfile: gemfiles/rails_52.gemfile
28
54
  - ruby_version: '3.0'
@@ -31,6 +57,8 @@ jobs:
31
57
  gemfile: gemfiles/rails_50.gemfile
32
58
  - ruby_version: '3.0'
33
59
  gemfile: gemfiles/rails_42.gemfile
60
+ - ruby_version: '2.7'
61
+ gemfile: gemfiles/rails_70.gemfile
34
62
  - ruby_version: '2.7'
35
63
  gemfile: gemfiles/rails_52.gemfile
36
64
  - ruby_version: '2.7'
@@ -39,27 +67,47 @@ jobs:
39
67
  gemfile: gemfiles/rails_50.gemfile
40
68
  - ruby_version: '2.7'
41
69
  gemfile: gemfiles/rails_42.gemfile
70
+ - ruby_version: '2.6'
71
+ gemfile: gemfiles/rails_70.gemfile
42
72
  - ruby_version: '2.6'
43
73
  gemfile: gemfiles/rails_42.gemfile
74
+ - ruby_version: '2.5'
75
+ gemfile: gemfiles/rails_70.gemfile
76
+ - ruby_version: '2.4'
77
+ gemfile: gemfiles/rails_70.gemfile
44
78
  - ruby_version: '2.4'
45
79
  gemfile: gemfiles/rails_61.gemfile
46
80
  - ruby_version: '2.4'
47
81
  gemfile: gemfiles/rails_60.gemfile
82
+ - ruby_version: '2.3'
83
+ gemfile: gemfiles/rails_70.gemfile
48
84
  - ruby_version: '2.3'
49
85
  gemfile: gemfiles/rails_61.gemfile
50
86
  - ruby_version: '2.3'
51
87
  gemfile: gemfiles/rails_60.gemfile
52
- - ruby_version: 'jruby-9.2.19.0'
88
+ - ruby_version: 'jruby-9.3'
89
+ gemfile: gemfiles/rails_70.gemfile
90
+ - ruby_version: 'jruby-9.3'
53
91
  gemfile: gemfiles/rails_51.gemfile
54
- - ruby_version: 'jruby-9.2.19.0'
92
+ - ruby_version: 'jruby-9.3'
55
93
  gemfile: gemfiles/rails_50.gemfile
56
- - ruby_version: 'jruby-9.2.19.0'
94
+ - ruby_version: 'jruby-9.3'
57
95
  gemfile: gemfiles/rails_42.gemfile
58
- runs-on: ubuntu-18.04
96
+ - ruby_version: 'jruby-9.4'
97
+ gemfile: gemfiles/rails_60.gemfile
98
+ - ruby_version: 'jruby-9.4'
99
+ gemfile: gemfiles/rails_52.gemfile
100
+ - ruby_version: 'jruby-9.4'
101
+ gemfile: gemfiles/rails_51.gemfile
102
+ - ruby_version: 'jruby-9.4'
103
+ gemfile: gemfiles/rails_50.gemfile
104
+ - ruby_version: 'jruby-9.4'
105
+ gemfile: gemfiles/rails_42.gemfile
106
+ runs-on: ubuntu-22.04
59
107
  env:
60
108
  BUNDLE_GEMFILE: ${{ matrix.gemfile }}
61
109
  steps:
62
- - uses: actions/checkout@v2
110
+ - uses: actions/checkout@v3
63
111
  - name: Set up Ruby
64
112
  uses: ruby/setup-ruby@v1
65
113
  with:
@@ -68,39 +116,36 @@ jobs:
68
116
  - run: bundle exec rake
69
117
 
70
118
  rails_edge:
71
- strategy:
72
- matrix:
73
- ruby_version:
74
- - '3.0'
75
- - '2.7'
76
- gemfile:
77
- - gemfiles/rails_edge.gemfile
78
- runs-on: ubuntu-18.04
119
+ needs:
120
+ - stable
121
+ runs-on: ubuntu-22.04
79
122
  env:
80
- BUNDLE_GEMFILE: ${{ matrix.gemfile }}
123
+ BUNDLE_GEMFILE: gemfiles/rails_edge.gemfile
81
124
  steps:
82
- - uses: actions/checkout@v2
125
+ - uses: actions/checkout@v3
83
126
  - name: Set up Ruby
84
127
  uses: ruby/setup-ruby@v1
85
128
  with:
86
- ruby-version: ${{ matrix.ruby_version }}
129
+ ruby-version: 3.2
87
130
  bundler-cache: true
88
131
  - run: bundle exec rake
89
132
 
90
133
  ruby_edge:
134
+ needs:
135
+ - stable
91
136
  strategy:
92
137
  matrix:
93
138
  ruby_version:
94
139
  - 'ruby-head'
140
+ - 'jruby-head'
95
141
  gemfile:
96
142
  - gemfiles/rails_edge.gemfile
97
- - gemfiles/rails_61.gemfile
98
- - gemfiles/rails_60.gemfile
99
- runs-on: ubuntu-18.04
143
+ - gemfiles/rails_70.gemfile
144
+ runs-on: ubuntu-22.04
100
145
  env:
101
146
  BUNDLE_GEMFILE: ${{ matrix.gemfile }}
102
147
  steps:
103
- - uses: actions/checkout@v2
148
+ - uses: actions/checkout@v3
104
149
  - name: Set up Ruby
105
150
  uses: ruby/setup-ruby@v1
106
151
  with:
data/Appraisals CHANGED
@@ -37,8 +37,14 @@ 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
- git 'git://github.com/rails/rails.git' do
47
+ git 'https://github.com/rails/rails.git' do
42
48
  gem "activesupport", require: 'active_support'
43
49
  gem "actionpack", require: 'action_pack'
44
50
  gem "railties"
data/CHANGELOG.md CHANGED
@@ -1,17 +1,25 @@
1
- ## v2.0.0
1
+ ## v2.2.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 [![Build Status](https://travis-ci.org/yuki24/rambulance.svg?branch=master)](https://travis-ci.org/yuki24/rambulance) [![Gem Version](https://badge.fury.io/rb/rambulance.svg)](https://rubygems.org/gems/rambulance)
1
+ # Rambulance [![build](https://github.com/yuki24/rambulance/actions/workflows/tests.yml/badge.svg)](https://github.com/yuki24/rambulance/actions/workflows/tests.yml) [![Gem Version](https://badge.fury.io/rb/rambulance.svg)](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, trunk, JRuby 9.2, and JRuby head
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
 
@@ -6,6 +6,5 @@ gem "activesupport", "~> 4.2.0"
6
6
  gem "actionpack", "~> 4.2.0"
7
7
  gem "railties", "~> 4.2.0"
8
8
  gem "minitest", "~> 5.3.4"
9
- gem 'nokogiri', '1.6.8.1' if RUBY_VERSION == "2.0.0"
10
9
 
11
10
  gemspec path: "../"
@@ -0,0 +1,9 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activesupport", "~> 7.0.0"
6
+ gem "actionpack", "~> 7.0.0"
7
+ gem "railties", "~> 7.0.0"
8
+
9
+ gemspec path: "../"
@@ -2,7 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- git "git://github.com/rails/rails.git" do
5
+ git "https://github.com/rails/rails.git" do
6
6
  gem "activesupport", require: "active_support"
7
7
  gem "actionpack", require: "action_pack"
8
8
  gem "railties"
@@ -1,3 +1,3 @@
1
1
  module Rambulance
2
- VERSION = "2.0.0"
2
+ VERSION = "2.3.0"
3
3
  end
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.0.0
4
+ version: 2.3.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: 2021-09-22 00:00:00.000000000 Z
12
+ date: 2023-01-05 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.2.26
225
+ rubygems_version: 3.3.7
224
226
  signing_key:
225
227
  specification_version: 4
226
228
  summary: Simple and safe way to dynamically generate error pages