rails_exception_handler 2.4.8 → 2.4.9

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: e356e9ac019f0c7661fe99e10918945306f4ca99e181c0d4c14f66c5b66e4776
4
- data.tar.gz: 9b6eb2a7bea1e33ca39bf232be0ec4bf4b1e175025364530f80fc5720277400e
3
+ metadata.gz: 03bc3832862f9a095c4f6b009d9d033a04a30fdfe9885c509d46bf851a497b69
4
+ data.tar.gz: f21945c716376857c24ebb6036cced20a5293c83f17b74e215ad64056fe00676
5
5
  SHA512:
6
- metadata.gz: e061e6ecabb90d7ece12e6b8771770e53f595499df9ef93056a089a95478a906c8c9664411c76555341335f4958a04d83e421ee4e70bf88dcd57144a61880c09
7
- data.tar.gz: 4901ae3ecec03a9e0828f59fda7b5f6a5f0de98c8d2632add0f153e6ebf8af237549be98c111066dff81b4ac65aed5221940205a9131606bb9128fbdc4f967a4
6
+ metadata.gz: 5c8f3c5eafae6875a53488ff0402590e5f9295c3a1a42dabb8c8387a21ffc45073a307da852c7f7beda8a3e483cc9674d5e96c8637a8844ece4924e0a796c28b
7
+ data.tar.gz: 40fa9f1e322594418e1142e3d7ed1f6f90c4ee5fd9ca31d191586cb5868e4b4836be4a44515fa01e979ab223dd02889721c39c7a2f47386c9b5517b3a76835e9
data/Gemfile CHANGED
@@ -36,7 +36,7 @@ group :test, :development do
36
36
  #gem "rack-test", '1.1.0'
37
37
  #gem "sqlite3", "~> 1.4"
38
38
 
39
- gem "rails", '7.1.0'
39
+ gem "rails", '7.1.1'
40
40
  gem "sprockets-rails"
41
41
  gem "rack-test", '1.1.0'
42
42
  gem "sqlite3", "~> 1.4"
@@ -45,6 +45,6 @@ group :test, :development do
45
45
  gem "juwelier", git: "git@github.com:flajann2/juwelier.git"
46
46
  #gem 'mongoid'
47
47
  gem 'pry'
48
- gem "rspec-rails", "4.1.2"
48
+ gem "rspec-rails", "6.0.3"
49
49
  gem "rails_exception_handler", :path => '.'
50
50
  end
data/Gemfile.lock CHANGED
@@ -18,75 +18,75 @@ GIT
18
18
  PATH
19
19
  remote: .
20
20
  specs:
21
- rails_exception_handler (2.4.8)
21
+ rails_exception_handler (2.4.9)
22
22
 
23
23
  GEM
24
24
  remote: http://rubygems.org/
25
25
  specs:
26
- actioncable (7.1.0)
27
- actionpack (= 7.1.0)
28
- activesupport (= 7.1.0)
26
+ actioncable (7.1.1)
27
+ actionpack (= 7.1.1)
28
+ activesupport (= 7.1.1)
29
29
  nio4r (~> 2.0)
30
30
  websocket-driver (>= 0.6.1)
31
31
  zeitwerk (~> 2.6)
32
- actionmailbox (7.1.0)
33
- actionpack (= 7.1.0)
34
- activejob (= 7.1.0)
35
- activerecord (= 7.1.0)
36
- activestorage (= 7.1.0)
37
- activesupport (= 7.1.0)
32
+ actionmailbox (7.1.1)
33
+ actionpack (= 7.1.1)
34
+ activejob (= 7.1.1)
35
+ activerecord (= 7.1.1)
36
+ activestorage (= 7.1.1)
37
+ activesupport (= 7.1.1)
38
38
  mail (>= 2.7.1)
39
39
  net-imap
40
40
  net-pop
41
41
  net-smtp
42
- actionmailer (7.1.0)
43
- actionpack (= 7.1.0)
44
- actionview (= 7.1.0)
45
- activejob (= 7.1.0)
46
- activesupport (= 7.1.0)
42
+ actionmailer (7.1.1)
43
+ actionpack (= 7.1.1)
44
+ actionview (= 7.1.1)
45
+ activejob (= 7.1.1)
46
+ activesupport (= 7.1.1)
47
47
  mail (~> 2.5, >= 2.5.4)
48
48
  net-imap
49
49
  net-pop
50
50
  net-smtp
51
51
  rails-dom-testing (~> 2.2)
52
- actionpack (7.1.0)
53
- actionview (= 7.1.0)
54
- activesupport (= 7.1.0)
52
+ actionpack (7.1.1)
53
+ actionview (= 7.1.1)
54
+ activesupport (= 7.1.1)
55
55
  nokogiri (>= 1.8.5)
56
56
  rack (>= 2.2.4)
57
57
  rack-session (>= 1.0.1)
58
58
  rack-test (>= 0.6.3)
59
59
  rails-dom-testing (~> 2.2)
60
60
  rails-html-sanitizer (~> 1.6)
61
- actiontext (7.1.0)
62
- actionpack (= 7.1.0)
63
- activerecord (= 7.1.0)
64
- activestorage (= 7.1.0)
65
- activesupport (= 7.1.0)
61
+ actiontext (7.1.1)
62
+ actionpack (= 7.1.1)
63
+ activerecord (= 7.1.1)
64
+ activestorage (= 7.1.1)
65
+ activesupport (= 7.1.1)
66
66
  globalid (>= 0.6.0)
67
67
  nokogiri (>= 1.8.5)
68
- actionview (7.1.0)
69
- activesupport (= 7.1.0)
68
+ actionview (7.1.1)
69
+ activesupport (= 7.1.1)
70
70
  builder (~> 3.1)
71
71
  erubi (~> 1.11)
72
72
  rails-dom-testing (~> 2.2)
73
73
  rails-html-sanitizer (~> 1.6)
74
- activejob (7.1.0)
75
- activesupport (= 7.1.0)
74
+ activejob (7.1.1)
75
+ activesupport (= 7.1.1)
76
76
  globalid (>= 0.3.6)
77
- activemodel (7.1.0)
78
- activesupport (= 7.1.0)
79
- activerecord (7.1.0)
80
- activemodel (= 7.1.0)
81
- activesupport (= 7.1.0)
77
+ activemodel (7.1.1)
78
+ activesupport (= 7.1.1)
79
+ activerecord (7.1.1)
80
+ activemodel (= 7.1.1)
81
+ activesupport (= 7.1.1)
82
82
  timeout (>= 0.4.0)
83
- activestorage (7.1.0)
84
- actionpack (= 7.1.0)
85
- activejob (= 7.1.0)
86
- activerecord (= 7.1.0)
87
- activesupport (= 7.1.0)
83
+ activestorage (7.1.1)
84
+ actionpack (= 7.1.1)
85
+ activejob (= 7.1.1)
86
+ activerecord (= 7.1.1)
87
+ activesupport (= 7.1.1)
88
88
  marcel (~> 1.0)
89
- activesupport (7.1.0)
89
+ activesupport (7.1.1)
90
90
  base64
91
91
  bigdecimal
92
92
  concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -151,13 +151,13 @@ GEM
151
151
  i18n (1.14.1)
152
152
  concurrent-ruby (~> 1.0)
153
153
  io-console (0.6.0)
154
- irb (1.8.1)
154
+ irb (1.8.3)
155
155
  rdoc
156
156
  reline (>= 0.3.8)
157
157
  jwt (2.7.1)
158
158
  kamelcase (0.0.2)
159
159
  semver2 (~> 3)
160
- loofah (2.21.3)
160
+ loofah (2.21.4)
161
161
  crass (~> 1.0.2)
162
162
  nokogiri (>= 1.12.0)
163
163
  mail (2.8.1)
@@ -173,7 +173,7 @@ GEM
173
173
  multi_xml (0.6.0)
174
174
  multipart-post (2.3.0)
175
175
  mutex_m (0.1.2)
176
- net-imap (0.4.0)
176
+ net-imap (0.4.4)
177
177
  date
178
178
  net-protocol
179
179
  net-pop (0.1.2)
@@ -194,10 +194,10 @@ GEM
194
194
  pry (0.14.2)
195
195
  coderay (~> 1.1)
196
196
  method_source (~> 1.0)
197
- psych (5.1.0)
197
+ psych (5.1.1.1)
198
198
  stringio
199
199
  public_suffix (5.0.3)
200
- racc (1.7.1)
200
+ racc (1.7.3)
201
201
  rack (2.2.8)
202
202
  rack-session (1.0.1)
203
203
  rack (< 3)
@@ -206,20 +206,20 @@ GEM
206
206
  rackup (1.0.0)
207
207
  rack (< 3)
208
208
  webrick
209
- rails (7.1.0)
210
- actioncable (= 7.1.0)
211
- actionmailbox (= 7.1.0)
212
- actionmailer (= 7.1.0)
213
- actionpack (= 7.1.0)
214
- actiontext (= 7.1.0)
215
- actionview (= 7.1.0)
216
- activejob (= 7.1.0)
217
- activemodel (= 7.1.0)
218
- activerecord (= 7.1.0)
219
- activestorage (= 7.1.0)
220
- activesupport (= 7.1.0)
209
+ rails (7.1.1)
210
+ actioncable (= 7.1.1)
211
+ actionmailbox (= 7.1.1)
212
+ actionmailer (= 7.1.1)
213
+ actionpack (= 7.1.1)
214
+ actiontext (= 7.1.1)
215
+ actionview (= 7.1.1)
216
+ activejob (= 7.1.1)
217
+ activemodel (= 7.1.1)
218
+ activerecord (= 7.1.1)
219
+ activestorage (= 7.1.1)
220
+ activesupport (= 7.1.1)
221
221
  bundler (>= 1.15.0)
222
- railties (= 7.1.0)
222
+ railties (= 7.1.1)
223
223
  rails-dom-testing (2.2.0)
224
224
  activesupport (>= 5.0.0)
225
225
  minitest
@@ -227,15 +227,15 @@ GEM
227
227
  rails-html-sanitizer (1.6.0)
228
228
  loofah (~> 2.21)
229
229
  nokogiri (~> 1.14)
230
- railties (7.1.0)
231
- actionpack (= 7.1.0)
232
- activesupport (= 7.1.0)
230
+ railties (7.1.1)
231
+ actionpack (= 7.1.1)
232
+ activesupport (= 7.1.1)
233
233
  irb
234
234
  rackup (>= 1.0.0)
235
235
  rake (>= 12.2)
236
236
  thor (~> 1.0, >= 1.2.2)
237
237
  zeitwerk (~> 2.6)
238
- rake (13.0.6)
238
+ rake (13.1.0)
239
239
  rchardet (1.8.0)
240
240
  rdoc (6.5.0)
241
241
  psych (>= 4.0.0)
@@ -249,14 +249,14 @@ GEM
249
249
  rspec-mocks (3.12.6)
250
250
  diff-lcs (>= 1.2.0, < 2.0)
251
251
  rspec-support (~> 3.12.0)
252
- rspec-rails (4.1.2)
253
- actionpack (>= 4.2)
254
- activesupport (>= 4.2)
255
- railties (>= 4.2)
256
- rspec-core (~> 3.10)
257
- rspec-expectations (~> 3.10)
258
- rspec-mocks (~> 3.10)
259
- rspec-support (~> 3.10)
252
+ rspec-rails (6.0.3)
253
+ actionpack (>= 6.1)
254
+ activesupport (>= 6.1)
255
+ railties (>= 6.1)
256
+ rspec-core (~> 3.12)
257
+ rspec-expectations (~> 3.12)
258
+ rspec-mocks (~> 3.12)
259
+ rspec-support (~> 3.12)
260
260
  rspec-support (3.12.1)
261
261
  ruby2_keywords (0.0.5)
262
262
  semver2 (3.4.2)
@@ -267,9 +267,9 @@ GEM
267
267
  actionpack (>= 5.2)
268
268
  activesupport (>= 5.2)
269
269
  sprockets (>= 3.0.0)
270
- sqlite3 (1.6.6-x86_64-linux)
270
+ sqlite3 (1.6.8-x86_64-linux)
271
271
  stringio (3.0.8)
272
- thor (1.2.2)
272
+ thor (1.3.0)
273
273
  thread_safe (0.3.6)
274
274
  timeout (0.4.0)
275
275
  tzinfo (2.0.6)
@@ -287,9 +287,9 @@ DEPENDENCIES
287
287
  juwelier!
288
288
  pry
289
289
  rack-test (= 1.1.0)
290
- rails (= 7.1.0)
290
+ rails (= 7.1.1)
291
291
  rails_exception_handler!
292
- rspec-rails (= 4.1.2)
292
+ rspec-rails (= 6.0.3)
293
293
  sprockets-rails
294
294
  sqlite3 (~> 1.4)
295
295
 
data/HISTORY CHANGED
@@ -1,5 +1,8 @@
1
1
  CHANGELOG
2
2
 
3
+ v2.4.9 November 5th 2023
4
+ - Fix Rails 7.1 deprecation warning
5
+
3
6
  v2.4.8 October 8th 2023
4
7
  - Rails 7.1 compatibility
5
8
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.4.8
1
+ 2.4.9
@@ -23,7 +23,12 @@ class RailsExceptionHandler
23
23
  Rails.configuration.middleware.use(RailsExceptionHandler)
24
24
  end
25
25
 
26
- Rails.configuration.action_dispatch.show_exceptions = true
26
+
27
+ Rails.configuration.action_dispatch.show_exceptions = if Rails::VERSION::MAJOR < 7 || (Rails::VERSION::MAJOR == 7 && Rails::VERSION::MINOR == 0)
28
+ true
29
+ else
30
+ :all
31
+ end
27
32
  Rails.configuration.consider_all_requests_local = false
28
33
  require File.expand_path(File.dirname(__FILE__)) + '/patch/show_exceptions.rb'
29
34
  configuration.run_callback
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: rails_exception_handler 2.4.8 ruby lib
5
+ # stub: rails_exception_handler 2.4.9 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "rails_exception_handler".freeze
9
- s.version = "2.4.8"
9
+ s.version = "2.4.9"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["btrondsen".freeze]
14
- s.date = "2023-10-08"
14
+ s.date = "2023-11-05"
15
15
  s.description = "".freeze
16
16
  s.email = "".freeze
17
17
  s.extra_rdoc_files = [
@@ -117,13 +117,13 @@ Gem::Specification.new do |s|
117
117
 
118
118
  s.specification_version = 4
119
119
 
120
- s.add_development_dependency(%q<rails>.freeze, ["= 7.1.0"])
120
+ s.add_development_dependency(%q<rails>.freeze, ["= 7.1.1"])
121
121
  s.add_development_dependency(%q<sprockets-rails>.freeze, [">= 0"])
122
122
  s.add_development_dependency(%q<rack-test>.freeze, ["= 1.1.0"])
123
123
  s.add_development_dependency(%q<sqlite3>.freeze, ["~> 1.4"])
124
124
  s.add_development_dependency(%q<juwelier>.freeze, [">= 0"])
125
125
  s.add_development_dependency(%q<pry>.freeze, [">= 0"])
126
- s.add_development_dependency(%q<rspec-rails>.freeze, ["= 4.1.2"])
126
+ s.add_development_dependency(%q<rspec-rails>.freeze, ["= 6.0.3"])
127
127
  s.add_development_dependency(%q<rails_exception_handler>.freeze, [">= 0"])
128
128
  end
129
129
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_exception_handler
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.8
4
+ version: 2.4.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - btrondsen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-08 00:00:00.000000000 Z
11
+ date: 2023-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 7.1.0
19
+ version: 7.1.1
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 7.1.0
26
+ version: 7.1.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: sprockets-rails
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - '='
102
102
  - !ruby/object:Gem::Version
103
- version: 4.1.2
103
+ version: 6.0.3
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - '='
109
109
  - !ruby/object:Gem::Version
110
- version: 4.1.2
110
+ version: 6.0.3
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rails_exception_handler
113
113
  requirement: !ruby/object:Gem::Requirement