exception_handler 0.7.5.15 → 0.8.0.2
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 -7
- data/.travis.yml +13 -5
- data/Gemfile +16 -13
- data/README.md +643 -436
- 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 -59
- 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 -28
- data/config/routes.rb +42 -0
- data/db/migrate/000000_create_errors.rb +34 -34
- data/exception_handler.gemspec +63 -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 +47 -24
- 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,14 +1,14 @@
|
|
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.2
|
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-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -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,24 +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"
|
136
151
|
- ".slugignore"
|
137
152
|
- ".travis.yml"
|
138
153
|
- Gemfile
|
139
|
-
- LICENSE.txt
|
140
154
|
- README.md
|
141
155
|
- Rakefile
|
142
156
|
- app/assets/images/exception_handler/alert.jpg
|
143
157
|
- app/assets/images/exception_handler/alert.png
|
144
|
-
- app/assets/images/exception_handler/bg.jpg
|
145
|
-
- app/assets/images/exception_handler/bg_overlay.png
|
146
158
|
- app/assets/images/exception_handler/connect/facebook.png
|
147
159
|
- app/assets/images/exception_handler/connect/fusion.png
|
148
160
|
- app/assets/images/exception_handler/connect/linkedin.png
|
@@ -165,19 +177,25 @@ files:
|
|
165
177
|
- app/views/exception_handler/mailers/layout.text.erb
|
166
178
|
- app/views/exception_handler/mailers/new_exception.erb
|
167
179
|
- app/views/layouts/exception.html.erb
|
180
|
+
- app/views/layouts/mailer.html.erb
|
181
|
+
- app/views/layouts/mailer.text.erb
|
168
182
|
- config/locales/exception_handler.en.yml
|
183
|
+
- config/routes.rb
|
169
184
|
- db/migrate/000000_create_errors.rb
|
170
185
|
- exception_handler.gemspec
|
171
186
|
- lib/exception_handler.rb
|
172
187
|
- lib/exception_handler/config.rb
|
173
188
|
- lib/exception_handler/engine.rb
|
189
|
+
- lib/exception_handler/version.rb
|
174
190
|
- lib/generators/exception_handler/views_generator.rb
|
175
|
-
- spec/
|
191
|
+
- spec/controllers/controller_spec.rb
|
192
|
+
- spec/dummy/.rspec
|
193
|
+
- spec/dummy/.ruby-version
|
176
194
|
- spec/dummy/Rakefile
|
177
195
|
- spec/dummy/app/assets/config/manifest.js
|
178
196
|
- spec/dummy/app/assets/images/.keep
|
179
197
|
- spec/dummy/app/assets/javascripts/application.js
|
180
|
-
- spec/dummy/app/assets/javascripts/cable.
|
198
|
+
- spec/dummy/app/assets/javascripts/cable.js
|
181
199
|
- spec/dummy/app/assets/javascripts/channels/.keep
|
182
200
|
- spec/dummy/app/assets/stylesheets/application.css
|
183
201
|
- spec/dummy/app/channels/application_cable/channel.rb
|
@@ -197,6 +215,7 @@ files:
|
|
197
215
|
- spec/dummy/bin/rake
|
198
216
|
- spec/dummy/bin/setup
|
199
217
|
- spec/dummy/bin/update
|
218
|
+
- spec/dummy/bin/yarn
|
200
219
|
- spec/dummy/config.ru
|
201
220
|
- spec/dummy/config/application.rb
|
202
221
|
- spec/dummy/config/boot.rb
|
@@ -206,39 +225,44 @@ files:
|
|
206
225
|
- spec/dummy/config/environments/development.rb
|
207
226
|
- spec/dummy/config/environments/production.rb
|
208
227
|
- spec/dummy/config/environments/test.rb
|
209
|
-
- spec/dummy/config/initializers/active_record_belongs_to_required_by_default.rb
|
210
228
|
- spec/dummy/config/initializers/application_controller_renderer.rb
|
211
229
|
- spec/dummy/config/initializers/assets.rb
|
212
230
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
213
|
-
- spec/dummy/config/initializers/
|
231
|
+
- spec/dummy/config/initializers/content_security_policy.rb
|
214
232
|
- spec/dummy/config/initializers/cookies_serializer.rb
|
215
233
|
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
216
234
|
- spec/dummy/config/initializers/inflections.rb
|
217
235
|
- spec/dummy/config/initializers/mime_types.rb
|
218
|
-
- spec/dummy/config/initializers/per_form_csrf_tokens.rb
|
219
|
-
- spec/dummy/config/initializers/request_forgery_protection.rb
|
220
|
-
- spec/dummy/config/initializers/session_store.rb
|
221
236
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
222
237
|
- spec/dummy/config/locales/en.yml
|
223
238
|
- spec/dummy/config/puma.rb
|
224
239
|
- spec/dummy/config/routes.rb
|
225
|
-
- spec/dummy/config/
|
240
|
+
- spec/dummy/config/storage.yml
|
226
241
|
- spec/dummy/lib/assets/.keep
|
227
242
|
- spec/dummy/log/.keep
|
243
|
+
- spec/dummy/package.json
|
228
244
|
- spec/dummy/public/404.html
|
229
245
|
- spec/dummy/public/422.html
|
230
246
|
- spec/dummy/public/500.html
|
231
247
|
- spec/dummy/public/apple-touch-icon-precomposed.png
|
232
248
|
- spec/dummy/public/apple-touch-icon.png
|
233
249
|
- spec/dummy/public/favicon.ico
|
234
|
-
- spec/
|
235
|
-
- 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
|
236
259
|
- spec/spec_helper.rb
|
237
|
-
|
260
|
+
- spec/views/views_spec.rb
|
261
|
+
homepage: https://github.com/richpeck/exception_handler
|
238
262
|
licenses:
|
239
263
|
- MIT
|
240
264
|
metadata: {}
|
241
|
-
post_install_message:
|
265
|
+
post_install_message:
|
242
266
|
rdoc_options: []
|
243
267
|
require_paths:
|
244
268
|
- lib
|
@@ -253,9 +277,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
253
277
|
- !ruby/object:Gem::Version
|
254
278
|
version: '0'
|
255
279
|
requirements: []
|
256
|
-
|
257
|
-
|
258
|
-
signing_key:
|
280
|
+
rubygems_version: 3.2.3
|
281
|
+
signing_key:
|
259
282
|
specification_version: 4
|
260
283
|
summary: Rails gem to show custom error pages in production. Also logs errors in db
|
261
284
|
& sends notification emails
|
data/.gitattributes
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
*.psd filter=lfs diff=lfs merge=lfs -text
|
data/LICENSE.txt
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
Copyright (c) 2014 richpeck
|
2
|
-
|
3
|
-
MIT License
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
-
a copy of this software and associated documentation files (the
|
7
|
-
"Software"), to deal in the Software without restriction, including
|
8
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
-
permit persons to whom the Software is furnished to do so, subject to
|
11
|
-
the following conditions:
|
12
|
-
|
13
|
-
The above copyright notice and this permission notice shall be
|
14
|
-
included in all copies or substantial portions of the Software.
|
15
|
-
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|