exception_handler 0.7.5 → 0.8.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. checksums.yaml +5 -5
  2. data/.coveralls.yml +1 -0
  3. data/.gitignore +51 -33
  4. data/.rspec +3 -4
  5. data/.slugignore +7 -0
  6. data/.travis.yml +13 -5
  7. data/Gemfile +16 -13
  8. data/README.md +643 -443
  9. data/Rakefile +7 -7
  10. data/app/assets/stylesheets/exception_handler.css.erb +23 -18
  11. data/app/assets/stylesheets/styles/_base.css.erb +28 -35
  12. data/app/assets/stylesheets/styles/_exception.css.erb +106 -105
  13. data/app/assets/stylesheets/styles/_footer.css.erb +24 -24
  14. data/app/assets/stylesheets/styles/_responsive.css +5 -5
  15. data/app/controllers/exception_handler/exceptions_controller.rb +66 -55
  16. data/app/mailers/exception_handler/exception_mailer.rb +17 -17
  17. data/app/models/exception_handler/exception.rb +200 -191
  18. data/app/views/exception_handler/exceptions/show.html.erb +3 -3
  19. data/app/views/exception_handler/mailers/layout.haml +8 -8
  20. data/app/views/exception_handler/mailers/layout.text.erb +1 -1
  21. data/app/views/exception_handler/mailers/new_exception.erb +4 -4
  22. data/app/views/layouts/exception.html.erb +32 -27
  23. data/app/views/layouts/mailer.html.erb +5 -0
  24. data/app/views/layouts/mailer.text.erb +1 -0
  25. data/config/locales/exception_handler.en.yml +28 -29
  26. data/config/routes.rb +42 -0
  27. data/db/migrate/000000_create_errors.rb +34 -34
  28. data/exception_handler.gemspec +64 -80
  29. data/lib/exception_handler.rb +56 -45
  30. data/lib/exception_handler/config.rb +185 -103
  31. data/lib/exception_handler/engine.rb +78 -60
  32. data/lib/exception_handler/version.rb +25 -0
  33. data/lib/generators/exception_handler/views_generator.rb +33 -33
  34. data/spec/controllers/controller_spec.rb +107 -0
  35. data/spec/dummy/.rspec +1 -0
  36. data/spec/dummy/.ruby-version +1 -0
  37. data/spec/dummy/Rakefile +6 -6
  38. data/spec/dummy/app/assets/config/manifest.js +3 -4
  39. data/spec/dummy/app/assets/javascripts/application.js +15 -13
  40. data/spec/dummy/app/assets/javascripts/cable.js +13 -0
  41. data/spec/dummy/app/assets/stylesheets/application.css +15 -15
  42. data/spec/dummy/app/channels/application_cable/channel.rb +4 -5
  43. data/spec/dummy/app/channels/application_cable/connection.rb +4 -5
  44. data/spec/dummy/app/controllers/application_controller.rb +2 -5
  45. data/spec/dummy/app/helpers/application_helper.rb +2 -2
  46. data/spec/dummy/app/jobs/application_job.rb +2 -2
  47. data/spec/dummy/app/mailers/application_mailer.rb +4 -4
  48. data/spec/dummy/app/models/application_record.rb +3 -3
  49. data/spec/dummy/app/views/layouts/application.html.erb +15 -15
  50. data/spec/dummy/app/views/layouts/mailer.html.erb +13 -13
  51. data/spec/dummy/app/views/layouts/mailer.text.erb +1 -1
  52. data/spec/dummy/bin/bundle +3 -3
  53. data/spec/dummy/bin/rails +4 -4
  54. data/spec/dummy/bin/rake +4 -4
  55. data/spec/dummy/bin/setup +36 -34
  56. data/spec/dummy/bin/update +31 -29
  57. data/spec/dummy/bin/yarn +11 -0
  58. data/spec/dummy/config.ru +5 -8
  59. data/spec/dummy/config/application.rb +18 -21
  60. data/spec/dummy/config/boot.rb +5 -5
  61. data/spec/dummy/config/cable.yml +10 -10
  62. data/spec/dummy/config/database.yml +25 -25
  63. data/spec/dummy/config/environment.rb +5 -5
  64. data/spec/dummy/config/environments/development.rb +61 -62
  65. data/spec/dummy/config/environments/production.rb +94 -87
  66. data/spec/dummy/config/environments/test.rb +46 -42
  67. data/spec/dummy/config/initializers/application_controller_renderer.rb +8 -6
  68. data/spec/dummy/config/initializers/assets.rb +14 -11
  69. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -7
  70. data/spec/dummy/config/initializers/content_security_policy.rb +25 -0
  71. data/spec/dummy/config/initializers/cookies_serializer.rb +5 -5
  72. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -4
  73. data/spec/dummy/config/initializers/inflections.rb +16 -16
  74. data/spec/dummy/config/initializers/mime_types.rb +4 -4
  75. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -14
  76. data/spec/dummy/config/locales/en.yml +33 -23
  77. data/spec/dummy/config/puma.rb +34 -47
  78. data/spec/dummy/config/routes.rb +3 -6
  79. data/spec/dummy/config/storage.yml +34 -0
  80. data/spec/dummy/package.json +5 -0
  81. data/spec/dummy/public/404.html +67 -67
  82. data/spec/dummy/public/422.html +67 -67
  83. data/spec/dummy/public/500.html +66 -66
  84. data/spec/dummy/spec/rails_helper.rb +57 -0
  85. data/spec/dummy/spec/spec_helper.rb +100 -0
  86. data/spec/dummy/storage/.keep +0 -0
  87. data/spec/features/asset_spec.rb +61 -0
  88. data/spec/features/config_spec.rb +51 -0
  89. data/spec/features/engine_spec.rb +180 -0
  90. data/spec/mailers/mailer_spec.rb +26 -0
  91. data/spec/models/model_spec.rb +26 -0
  92. data/spec/routing/routing_spec.rb +85 -0
  93. data/spec/spec_helper.rb +101 -55
  94. data/spec/views/views_spec.rb +29 -0
  95. metadata +54 -28
  96. data/.gitattributes +0 -1
  97. data/LICENSE.txt +0 -22
  98. data/app/assets/images/exception_handler/bg.jpg +0 -0
  99. data/app/assets/images/exception_handler/bg_overlay.png +0 -0
  100. data/spec/database.yml +0 -3
  101. data/spec/dummy/app/assets/javascripts/cable.coffee +0 -11
  102. data/spec/dummy/config/initializers/active_record_belongs_to_required_by_default.rb +0 -6
  103. data/spec/dummy/config/initializers/callback_terminator.rb +0 -6
  104. data/spec/dummy/config/initializers/per_form_csrf_tokens.rb +0 -4
  105. data/spec/dummy/config/initializers/request_forgery_protection.rb +0 -4
  106. data/spec/dummy/config/initializers/session_store.rb +0 -3
  107. data/spec/dummy/config/secrets.yml +0 -22
  108. data/spec/exception_handler.rb +0 -22
  109. data/spec/exception_handler/exception_controller_spec.rb +0 -18
@@ -0,0 +1,85 @@
1
+ ###############################################
2
+ ###############################################
3
+ ## _____ _ ##
4
+ ## | ___ \ | | ##
5
+ ## | |_/ /___ _ _| |_ ___ ___ ##
6
+ ## | // _ \| | | | __/ _ \/ __| ##
7
+ ## | |\ \ (_) | |_| | || __/\__ \ ##
8
+ ## \_| \_\___/ \__,_|\__\___||___/ ##
9
+ ## ##
10
+ ###############################################
11
+ ###############################################
12
+
13
+ require 'spec_helper'
14
+
15
+ ###############################################
16
+ ###############################################
17
+
18
+ # => Routes (base)
19
+ # => Test underlying routes + engine routes
20
+ RSpec.describe 'ExceptionHandler::Engine.routes' do
21
+
22
+ #############################################
23
+ #############################################
24
+
25
+ # => Let (config)
26
+ let(:dev) { ExceptionHandler.config.dev }
27
+
28
+ #############################################
29
+ #############################################
30
+
31
+ # => Rails application Routes
32
+ # => Should be routable WITH dev option
33
+ # => Should not be routable WITHOUT dev option
34
+ ['Rails.application.routes', 'ExceptionHandler::Engine.routes'].each do |item|
35
+
36
+ # => Different types of route
37
+ # => Shouldn't have any routes for engine
38
+ context item do
39
+
40
+ # => Routes
41
+ routes { eval item }
42
+
43
+ # => Dev mode
44
+ context "✔️ dev mode" do
45
+ subject { dev }
46
+ before { ExceptionHandler.config.dev = true }
47
+ before { Rails.application.reload_routes! }
48
+
49
+ it { should eq(true) }
50
+ it "has exception routes" do
51
+ Rack::Utils::SYMBOL_TO_STATUS_CODE.select{ |key, value| value.to_s.match('\b(?:4[0-9]{2}|5[0-9]{2}|599)\b') }.each do |status,code|
52
+ if item == 'Rails.application.routes'
53
+ expect(:get => code.to_s).to route_to(:controller => "exception_handler/exceptions", :action => "show", :code => status.to_sym)
54
+ else
55
+ expect(:get => code.to_s).not_to be_routable
56
+ end
57
+ end
58
+ end
59
+
60
+ end
61
+
62
+ # => Non Dev mode
63
+ context "❌ dev mode" do
64
+ subject { dev }
65
+ before { ExceptionHandler.config.dev = false }
66
+ before { Rails.application.reload_routes! }
67
+
68
+ it { should_not eq(true) }
69
+ it "does not have exception routes" do
70
+ Rack::Utils::SYMBOL_TO_STATUS_CODE.select{ |key, value| value.to_s.match('\b(?:4[0-9]{2}|5[0-9]{2}|599)\b') }.each do |status,code|
71
+ expect(:get => code.to_s).not_to be_routable
72
+ end
73
+ end
74
+
75
+ end
76
+ end
77
+ end
78
+
79
+ #############################################
80
+ #############################################
81
+
82
+ end
83
+
84
+ ###############################################
85
+ ###############################################
data/spec/spec_helper.rb CHANGED
@@ -1,55 +1,101 @@
1
- #####################################################
2
-
3
- # This file was generated by the `rspec --init` command. Conventionally, all
4
- # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
5
- # Require this file using `require "spec_helper"` to ensure that it is only
6
- # loaded once.
7
- #
8
- # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
9
-
10
- #####################################################
11
-
12
- #Coveralls
13
- require 'coveralls'
14
- Coveralls.wear!
15
-
16
- #Env
17
- #Need to generate "dummy" rails app -- BEST done with rails plugin new [[plugin_name]]
18
- #http://stackoverflow.com/a/7472277/1143732
19
- #http://guides.rubyonrails.org/plugins.html
20
- ENV["RAILS_ENV"] ||= 'test'
21
- require File.expand_path("../dummy/config/environment.rb", __FILE__)
22
- require 'rails'
23
-
24
- #Files
25
- ENGINE_RAILS_ROOT=File.join(File.dirname(__FILE__), '../')
26
- Dir[File.join(ENGINE_RAILS_ROOT, "spec/support/**/*.rb")].each {|f| require f }
27
-
28
- ###########################################
29
-
30
- #Messages
31
- puts "Testing Against Rails #{Rails.version}"
32
-
33
- #Options
34
- config = YAML::load(IO.read(File.dirname(__FILE__) + '/database.yml'))
35
-
36
- ###########################################
37
- ###########################################
38
-
39
- RSpec.configure do |config|
40
- config.run_all_when_everything_filtered = true
41
- config.filter_run :focus
42
-
43
- # Run specs in random order to surface order dependencies. If you find an
44
- # order dependency and want to debug it, you can fix the order by providing
45
- # the seed, which is printed after each run.
46
- # --seed 1234
47
- config.order = 'random'
48
- end
49
-
50
- ###########################################
51
- ###########################################
52
-
53
- require "exception_handler"
54
-
55
- #####################################################
1
+ ###############################################
2
+ ###############################################
3
+ ## _____ _____ ##
4
+ ## | ___ \/ ___| ##
5
+ ## | |_/ /\ `--. _ __ ___ ___ ##
6
+ ## | / `--. \ '_ \ / _ \/ __| ##
7
+ ## | |\ \ /\__/ / |_) | __/ (__ ##
8
+ ## \_| \_|\____/| .__/ \___|\___| ##
9
+ ## | | ##
10
+ ## |_| ##
11
+ ###############################################
12
+ ###############################################
13
+
14
+ # => Coveralls
15
+ # => https://docs.coveralls.io/
16
+ require 'coveralls'
17
+ Coveralls.wear!('rails')
18
+
19
+ ###############################################
20
+ ###############################################
21
+
22
+ # => Helper
23
+ require 'spec_helper'
24
+
25
+ # => ENV
26
+ ENV["RAILS_ENV"] ||= "test"
27
+
28
+ # => Rails
29
+ require_relative './dummy/config/environment'
30
+ abort("The Rails environment is running in production mode!") if Rails.env.production?
31
+
32
+ # => RSpec
33
+ require 'rspec/rails'
34
+
35
+ # => Environment
36
+ ActiveRecord::Migrator.migrations_paths = [File.expand_path("./dummy/db/migrate", __dir__)]
37
+
38
+ # => Gem (to test)
39
+ require 'exception_handler'
40
+
41
+ ###############################################
42
+ ###############################################
43
+
44
+ # => ActiveRecord
45
+ ActiveRecord::Migration.maintain_test_schema!
46
+
47
+ # Load fixtures from the engine
48
+ if ActiveSupport::TestCase.respond_to?(:fixture_path=)
49
+ ActiveSupport::TestCase.fixture_path = File.expand_path("fixtures", __dir__)
50
+ ActionDispatch::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path
51
+ ActiveSupport::TestCase.file_fixture_path = ActiveSupport::TestCase.fixture_path + "/files"
52
+ ActiveSupport::TestCase.fixtures :all
53
+ end
54
+
55
+ ###############################################
56
+ ###############################################
57
+
58
+ #=> Custom Matchers
59
+ RSpec::Matchers.define :be_boolean do
60
+ match do |value|
61
+ [true, false].include? value
62
+ end
63
+ end
64
+
65
+ ###############################################
66
+ ###############################################
67
+
68
+ # => http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
69
+ RSpec.configure do |config|
70
+
71
+ # rspec-expectations config goes here. You can use an alternate
72
+ # assertion/expectation library such as wrong or the stdlib/minitest
73
+ # assertions if you prefer.
74
+ config.expect_with :rspec do |expectations|
75
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
76
+ expectations.syntax = :expect
77
+ end
78
+
79
+ # Enable flags like --only-failures and --next-failure
80
+ config.example_status_persistence_file_path = ".rspec_status"
81
+
82
+ # Disable RSpec exposing methods globally on `Module` and `main`
83
+ config.disable_monkey_patching!
84
+
85
+ # => Rails (Fixtures etc)
86
+ config.infer_spec_type_from_file_location!
87
+ config.filter_rails_from_backtrace!
88
+ config.order = :random
89
+
90
+ # => Asset Precompile
91
+ config.before(:suite) do
92
+ Rails.application.load_tasks
93
+ Rake::Task["assets:precompile"].invoke
94
+ end
95
+
96
+ config.after(:suite) do
97
+ Rails.application.load_tasks
98
+ Rake::Task["assets:clobber"].invoke
99
+ end
100
+
101
+ end
@@ -0,0 +1,29 @@
1
+ ###############################################
2
+ ###############################################
3
+ ## _ _ _ ##
4
+ ## | | | (_) ##
5
+ ## | | | |_ _____ _____ ##
6
+ ## | | | | |/ _ \ \ /\ / / __| ##
7
+ ## \ \_/ / | __/\ V V /\__ \ ##
8
+ ## \___/|_|\___| \_/\_/ |___/ ##
9
+ ## ##
10
+ ###############################################
11
+ ###############################################
12
+
13
+ require 'spec_helper'
14
+
15
+ ###############################################
16
+ ###############################################
17
+
18
+ # => ExceptionHandler (Views)
19
+ # => Determine views / layout for different exceptions
20
+ # => Needs to explain exactly what users is doing to see (request.status, message etc)
21
+ # => Needs to include 404/500 dev routes
22
+ RSpec.describe "ExceptionHandler Views" do
23
+
24
+
25
+
26
+ end
27
+
28
+ ###############################################
29
+ ###############################################
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exception_handler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.5
4
+ version: 0.8.0.1
5
5
  platform: ruby
6
6
  authors:
7
- - Richard Peck
8
- autorequire:
7
+ - R.Peck
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-17 00:00:00.000000000 Z
11
+ date: 2021-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.6'
19
+ version: '0'
20
20
  type: :runtime
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: '1.6'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rails
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -108,6 +108,20 @@ dependencies:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: coveralls
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: sqlite3
113
127
  requirement: !ruby/object:Gem::Requirement
@@ -125,23 +139,22 @@ dependencies:
125
139
  description: Rails gem to create custom error pages. Captures exceptions using "exception_app"
126
140
  callback, routing to "Exception" controller, rendering the view as required.
127
141
  email:
128
- - rpeck@frontlineutilities.co.uk
142
+ - rpeck@fl.co.uk
129
143
  executables: []
130
144
  extensions: []
131
145
  extra_rdoc_files: []
132
146
  files:
133
- - ".gitattributes"
147
+ - ".coveralls.yml"
134
148
  - ".gitignore"
135
149
  - ".rspec"
150
+ - ".rspec_status"
151
+ - ".slugignore"
136
152
  - ".travis.yml"
137
153
  - Gemfile
138
- - LICENSE.txt
139
154
  - README.md
140
155
  - Rakefile
141
156
  - app/assets/images/exception_handler/alert.jpg
142
157
  - app/assets/images/exception_handler/alert.png
143
- - app/assets/images/exception_handler/bg.jpg
144
- - app/assets/images/exception_handler/bg_overlay.png
145
158
  - app/assets/images/exception_handler/connect/facebook.png
146
159
  - app/assets/images/exception_handler/connect/fusion.png
147
160
  - app/assets/images/exception_handler/connect/linkedin.png
@@ -164,19 +177,25 @@ files:
164
177
  - app/views/exception_handler/mailers/layout.text.erb
165
178
  - app/views/exception_handler/mailers/new_exception.erb
166
179
  - app/views/layouts/exception.html.erb
180
+ - app/views/layouts/mailer.html.erb
181
+ - app/views/layouts/mailer.text.erb
167
182
  - config/locales/exception_handler.en.yml
183
+ - config/routes.rb
168
184
  - db/migrate/000000_create_errors.rb
169
185
  - exception_handler.gemspec
170
186
  - lib/exception_handler.rb
171
187
  - lib/exception_handler/config.rb
172
188
  - lib/exception_handler/engine.rb
189
+ - lib/exception_handler/version.rb
173
190
  - lib/generators/exception_handler/views_generator.rb
174
- - spec/database.yml
191
+ - spec/controllers/controller_spec.rb
192
+ - spec/dummy/.rspec
193
+ - spec/dummy/.ruby-version
175
194
  - spec/dummy/Rakefile
176
195
  - spec/dummy/app/assets/config/manifest.js
177
196
  - spec/dummy/app/assets/images/.keep
178
197
  - spec/dummy/app/assets/javascripts/application.js
179
- - spec/dummy/app/assets/javascripts/cable.coffee
198
+ - spec/dummy/app/assets/javascripts/cable.js
180
199
  - spec/dummy/app/assets/javascripts/channels/.keep
181
200
  - spec/dummy/app/assets/stylesheets/application.css
182
201
  - spec/dummy/app/channels/application_cable/channel.rb
@@ -196,6 +215,7 @@ files:
196
215
  - spec/dummy/bin/rake
197
216
  - spec/dummy/bin/setup
198
217
  - spec/dummy/bin/update
218
+ - spec/dummy/bin/yarn
199
219
  - spec/dummy/config.ru
200
220
  - spec/dummy/config/application.rb
201
221
  - spec/dummy/config/boot.rb
@@ -205,39 +225,46 @@ files:
205
225
  - spec/dummy/config/environments/development.rb
206
226
  - spec/dummy/config/environments/production.rb
207
227
  - spec/dummy/config/environments/test.rb
208
- - spec/dummy/config/initializers/active_record_belongs_to_required_by_default.rb
209
228
  - spec/dummy/config/initializers/application_controller_renderer.rb
210
229
  - spec/dummy/config/initializers/assets.rb
211
230
  - spec/dummy/config/initializers/backtrace_silencers.rb
212
- - spec/dummy/config/initializers/callback_terminator.rb
231
+ - spec/dummy/config/initializers/content_security_policy.rb
213
232
  - spec/dummy/config/initializers/cookies_serializer.rb
214
233
  - spec/dummy/config/initializers/filter_parameter_logging.rb
215
234
  - spec/dummy/config/initializers/inflections.rb
216
235
  - spec/dummy/config/initializers/mime_types.rb
217
- - spec/dummy/config/initializers/per_form_csrf_tokens.rb
218
- - spec/dummy/config/initializers/request_forgery_protection.rb
219
- - spec/dummy/config/initializers/session_store.rb
220
236
  - spec/dummy/config/initializers/wrap_parameters.rb
221
237
  - spec/dummy/config/locales/en.yml
222
238
  - spec/dummy/config/puma.rb
223
239
  - spec/dummy/config/routes.rb
224
- - spec/dummy/config/secrets.yml
240
+ - spec/dummy/config/storage.yml
225
241
  - spec/dummy/lib/assets/.keep
226
242
  - spec/dummy/log/.keep
243
+ - spec/dummy/package.json
227
244
  - spec/dummy/public/404.html
228
245
  - spec/dummy/public/422.html
229
246
  - spec/dummy/public/500.html
230
247
  - spec/dummy/public/apple-touch-icon-precomposed.png
231
248
  - spec/dummy/public/apple-touch-icon.png
232
249
  - spec/dummy/public/favicon.ico
233
- - spec/exception_handler.rb
234
- - spec/exception_handler/exception_controller_spec.rb
250
+ - spec/dummy/spec/rails_helper.rb
251
+ - spec/dummy/spec/spec_helper.rb
252
+ - spec/dummy/storage/.keep
253
+ - spec/features/asset_spec.rb
254
+ - spec/features/config_spec.rb
255
+ - spec/features/engine_spec.rb
256
+ - spec/mailers/mailer_spec.rb
257
+ - spec/models/model_spec.rb
258
+ - spec/routing/routing_spec.rb
235
259
  - spec/spec_helper.rb
236
- homepage: http://github.com/richpeck/exception_handler
260
+ - spec/views/views_spec.rb
261
+ homepage: https://github.com/richpeck/exception_handler
237
262
  licenses:
238
263
  - MIT
239
264
  metadata: {}
240
- post_install_message:
265
+ post_install_message: 'ExceptionHandler 0.8.0.0 → New "config" (config.exception_handler
266
+ = {exceptions: {layout: ''x'', notification: true, action: {redirect_to root_path}
267
+ }} ). https://www.github.com/richpeck/exception_handler#config for more info. '
241
268
  rdoc_options: []
242
269
  require_paths:
243
270
  - lib
@@ -252,9 +279,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
252
279
  - !ruby/object:Gem::Version
253
280
  version: '0'
254
281
  requirements: []
255
- rubyforge_project:
256
- rubygems_version: 2.6.8
257
- signing_key:
282
+ rubygems_version: 3.2.3
283
+ signing_key:
258
284
  specification_version: 4
259
285
  summary: Rails gem to show custom error pages in production. Also logs errors in db
260
286
  & sends notification emails