err_merchant 0.2.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/workflows/ruby.yml +30 -0
- data/.gitignore +11 -0
- data/Gemfile +7 -0
- data/README.rdoc +25 -4
- data/Rakefile +3 -26
- data/app/controllers/err_merchant/errors_controller.rb +13 -10
- data/app/views/err_merchant/errors/template.html.erb +3 -3
- data/config.ru +7 -0
- data/err_merchant.gemspec +29 -0
- data/lib/err_merchant.rb +4 -1
- data/lib/err_merchant/exceptions_app.rb +1 -2
- data/lib/err_merchant/version.rb +1 -1
- metadata +78 -87
- data/spec/err_merchant_spec.rb +0 -66
- data/spec/internal/app/controllers/application_controller.rb +0 -3
- data/spec/internal/app/controllers/failures_controller.rb +0 -16
- data/spec/internal/app/views/failures/usual_action.html.erb +0 -1
- data/spec/internal/app/views/layouts/application.html.erb +0 -7
- data/spec/internal/app/views/layouts/erroneous.html.erb +0 -1
- data/spec/internal/config/database.yml +0 -3
- data/spec/internal/config/locales/de.yml +0 -4
- data/spec/internal/config/routes.rb +0 -3
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/db/schema.rb +0 -0
- data/spec/internal/log/test.log +0 -7953
- data/spec/internal/public/500.html +0 -26
- data/spec/internal/public/favicon.ico +0 -0
- data/spec/spec_helper.rb +0 -13
@@ -1,26 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>We're sorry, but something went wrong (500)</title>
|
5
|
-
<style type="text/css">
|
6
|
-
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
-
div.dialog {
|
8
|
-
width: 25em;
|
9
|
-
padding: 0 4em;
|
10
|
-
margin: 4em auto 0 auto;
|
11
|
-
border: 1px solid #ccc;
|
12
|
-
border-right-color: #999;
|
13
|
-
border-bottom-color: #999;
|
14
|
-
}
|
15
|
-
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
-
</style>
|
17
|
-
</head>
|
18
|
-
|
19
|
-
<body>
|
20
|
-
<!-- This file lives in public/500.html -->
|
21
|
-
<div class="dialog">
|
22
|
-
<h1>We're sorry, but something went wrong.</h1>
|
23
|
-
<p>We've been notified about this issue and we'll take a look at it shortly.</p>
|
24
|
-
</div>
|
25
|
-
</body>
|
26
|
-
</html>
|
File without changes
|
data/spec/spec_helper.rb
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
require 'bundler'
|
3
|
-
|
4
|
-
Bundler.require :default, :development
|
5
|
-
|
6
|
-
require 'capybara/rspec'
|
7
|
-
|
8
|
-
Combustion::Application.config.consider_all_requests_local = false
|
9
|
-
Combustion::Application.config.i18n.fallbacks = true
|
10
|
-
Combustion.initialize! :active_record, :action_controller, :action_view
|
11
|
-
|
12
|
-
require 'rspec/rails'
|
13
|
-
require 'capybara/rails'
|