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.
- checksums.yaml +5 -5
- data/.coveralls.yml +1 -0
- data/.gitignore +51 -33
- data/.rspec +3 -4
- data/.slugignore +7 -0
- data/.travis.yml +13 -5
- data/Gemfile +16 -13
- data/README.md +643 -443
- data/Rakefile +7 -7
- data/app/assets/stylesheets/exception_handler.css.erb +23 -18
- data/app/assets/stylesheets/styles/_base.css.erb +28 -35
- data/app/assets/stylesheets/styles/_exception.css.erb +106 -105
- data/app/assets/stylesheets/styles/_footer.css.erb +24 -24
- data/app/assets/stylesheets/styles/_responsive.css +5 -5
- data/app/controllers/exception_handler/exceptions_controller.rb +66 -55
- data/app/mailers/exception_handler/exception_mailer.rb +17 -17
- data/app/models/exception_handler/exception.rb +200 -191
- data/app/views/exception_handler/exceptions/show.html.erb +3 -3
- data/app/views/exception_handler/mailers/layout.haml +8 -8
- data/app/views/exception_handler/mailers/layout.text.erb +1 -1
- data/app/views/exception_handler/mailers/new_exception.erb +4 -4
- data/app/views/layouts/exception.html.erb +32 -27
- data/app/views/layouts/mailer.html.erb +5 -0
- data/app/views/layouts/mailer.text.erb +1 -0
- data/config/locales/exception_handler.en.yml +28 -29
- data/config/routes.rb +42 -0
- data/db/migrate/000000_create_errors.rb +34 -34
- data/exception_handler.gemspec +64 -80
- data/lib/exception_handler.rb +56 -45
- data/lib/exception_handler/config.rb +185 -103
- data/lib/exception_handler/engine.rb +78 -60
- data/lib/exception_handler/version.rb +25 -0
- data/lib/generators/exception_handler/views_generator.rb +33 -33
- data/spec/controllers/controller_spec.rb +107 -0
- data/spec/dummy/.rspec +1 -0
- data/spec/dummy/.ruby-version +1 -0
- data/spec/dummy/Rakefile +6 -6
- data/spec/dummy/app/assets/config/manifest.js +3 -4
- data/spec/dummy/app/assets/javascripts/application.js +15 -13
- data/spec/dummy/app/assets/javascripts/cable.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -15
- data/spec/dummy/app/channels/application_cable/channel.rb +4 -5
- data/spec/dummy/app/channels/application_cable/connection.rb +4 -5
- data/spec/dummy/app/controllers/application_controller.rb +2 -5
- data/spec/dummy/app/helpers/application_helper.rb +2 -2
- data/spec/dummy/app/jobs/application_job.rb +2 -2
- data/spec/dummy/app/mailers/application_mailer.rb +4 -4
- data/spec/dummy/app/models/application_record.rb +3 -3
- data/spec/dummy/app/views/layouts/application.html.erb +15 -15
- data/spec/dummy/app/views/layouts/mailer.html.erb +13 -13
- data/spec/dummy/app/views/layouts/mailer.text.erb +1 -1
- data/spec/dummy/bin/bundle +3 -3
- data/spec/dummy/bin/rails +4 -4
- data/spec/dummy/bin/rake +4 -4
- data/spec/dummy/bin/setup +36 -34
- data/spec/dummy/bin/update +31 -29
- data/spec/dummy/bin/yarn +11 -0
- data/spec/dummy/config.ru +5 -8
- data/spec/dummy/config/application.rb +18 -21
- data/spec/dummy/config/boot.rb +5 -5
- data/spec/dummy/config/cable.yml +10 -10
- data/spec/dummy/config/database.yml +25 -25
- data/spec/dummy/config/environment.rb +5 -5
- data/spec/dummy/config/environments/development.rb +61 -62
- data/spec/dummy/config/environments/production.rb +94 -87
- data/spec/dummy/config/environments/test.rb +46 -42
- data/spec/dummy/config/initializers/application_controller_renderer.rb +8 -6
- data/spec/dummy/config/initializers/assets.rb +14 -11
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -7
- data/spec/dummy/config/initializers/content_security_policy.rb +25 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +5 -5
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -4
- data/spec/dummy/config/initializers/inflections.rb +16 -16
- data/spec/dummy/config/initializers/mime_types.rb +4 -4
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -14
- data/spec/dummy/config/locales/en.yml +33 -23
- data/spec/dummy/config/puma.rb +34 -47
- data/spec/dummy/config/routes.rb +3 -6
- data/spec/dummy/config/storage.yml +34 -0
- data/spec/dummy/package.json +5 -0
- data/spec/dummy/public/404.html +67 -67
- data/spec/dummy/public/422.html +67 -67
- data/spec/dummy/public/500.html +66 -66
- data/spec/dummy/spec/rails_helper.rb +57 -0
- data/spec/dummy/spec/spec_helper.rb +100 -0
- data/spec/dummy/storage/.keep +0 -0
- data/spec/features/asset_spec.rb +61 -0
- data/spec/features/config_spec.rb +51 -0
- data/spec/features/engine_spec.rb +180 -0
- data/spec/mailers/mailer_spec.rb +26 -0
- data/spec/models/model_spec.rb +26 -0
- data/spec/routing/routing_spec.rb +85 -0
- data/spec/spec_helper.rb +101 -55
- data/spec/views/views_spec.rb +29 -0
- metadata +54 -28
- data/.gitattributes +0 -1
- data/LICENSE.txt +0 -22
- data/app/assets/images/exception_handler/bg.jpg +0 -0
- data/app/assets/images/exception_handler/bg_overlay.png +0 -0
- data/spec/database.yml +0 -3
- data/spec/dummy/app/assets/javascripts/cable.coffee +0 -11
- data/spec/dummy/config/initializers/active_record_belongs_to_required_by_default.rb +0 -6
- data/spec/dummy/config/initializers/callback_terminator.rb +0 -6
- data/spec/dummy/config/initializers/per_form_csrf_tokens.rb +0 -4
- data/spec/dummy/config/initializers/request_forgery_protection.rb +0 -4
- data/spec/dummy/config/initializers/session_store.rb +0 -3
- data/spec/dummy/config/secrets.yml +0 -22
- data/spec/exception_handler.rb +0 -22
- 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
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
Coveralls
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
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.
|
4
|
+
version: 0.8.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
8
|
-
autorequire:
|
7
|
+
- R.Peck
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
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: '
|
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: '
|
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@
|
142
|
+
- rpeck@fl.co.uk
|
129
143
|
executables: []
|
130
144
|
extensions: []
|
131
145
|
extra_rdoc_files: []
|
132
146
|
files:
|
133
|
-
- ".
|
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/
|
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.
|
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/
|
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/
|
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/
|
234
|
-
- spec/
|
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
|
-
|
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
|
-
|
256
|
-
|
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
|