spreewald 2.4.0 → 2.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -1
  3. data/.travis.yml +14 -15
  4. data/CHANGELOG.md +7 -0
  5. data/Gemfile +1 -2
  6. data/Gemfile.lock +1 -16
  7. data/Gemfile.ruby266 +9 -0
  8. data/Gemfile.ruby266.lock +65 -0
  9. data/README.md +5 -0
  10. data/Rakefile +12 -2
  11. data/lib/spreewald/web_steps.rb +2 -2
  12. data/lib/spreewald_support/version.rb +1 -1
  13. data/tests/rails-3_capybara-1/Gemfile.lock +1 -1
  14. data/tests/rails-3_capybara-1/config/routes.rb +1 -0
  15. data/tests/rails-3_capybara-2/Gemfile.lock +1 -1
  16. data/tests/rails-4_capybara-3/Gemfile +1 -1
  17. data/tests/rails-4_capybara-3/Gemfile.lock +1 -1
  18. data/tests/rails-4_capybara-3/config/routes.rb +1 -0
  19. data/tests/rails-6_capybara-3/.ruby-version +1 -0
  20. data/tests/rails-6_capybara-3/Gemfile +25 -0
  21. data/tests/rails-6_capybara-3/Gemfile.lock +264 -0
  22. data/tests/rails-6_capybara-3/README.md +24 -0
  23. data/tests/rails-6_capybara-3/Rakefile +6 -0
  24. data/tests/rails-6_capybara-3/app/controllers +1 -0
  25. data/tests/rails-6_capybara-3/app/mailers/application_mailer.rb +4 -0
  26. data/tests/rails-6_capybara-3/app/mailers/spreewald_mailer.rb +30 -0
  27. data/tests/rails-6_capybara-3/app/models/application_record.rb +3 -0
  28. data/tests/rails-6_capybara-3/app/views +1 -0
  29. data/tests/rails-6_capybara-3/bin/bundle +114 -0
  30. data/tests/rails-6_capybara-3/bin/rails +4 -0
  31. data/tests/rails-6_capybara-3/bin/rake +4 -0
  32. data/tests/rails-6_capybara-3/bin/setup +33 -0
  33. data/tests/rails-6_capybara-3/config.ru +5 -0
  34. data/tests/rails-6_capybara-3/config/application.rb +35 -0
  35. data/tests/rails-6_capybara-3/config/boot.rb +3 -0
  36. data/tests/rails-6_capybara-3/config/cucumber.yml +9 -0
  37. data/tests/rails-6_capybara-3/config/database.yml +25 -0
  38. data/tests/rails-6_capybara-3/config/environment.rb +5 -0
  39. data/tests/rails-6_capybara-3/config/environments/development.rb +48 -0
  40. data/tests/rails-6_capybara-3/config/environments/test.rb +45 -0
  41. data/tests/rails-6_capybara-3/config/initializers/application_controller_renderer.rb +8 -0
  42. data/tests/rails-6_capybara-3/config/initializers/backtrace_silencers.rb +7 -0
  43. data/tests/rails-6_capybara-3/config/initializers/content_security_policy.rb +28 -0
  44. data/tests/rails-6_capybara-3/config/initializers/cookies_serializer.rb +5 -0
  45. data/tests/rails-6_capybara-3/config/initializers/filter_parameter_logging.rb +4 -0
  46. data/tests/rails-6_capybara-3/config/initializers/inflections.rb +16 -0
  47. data/tests/rails-6_capybara-3/config/initializers/mime_types.rb +4 -0
  48. data/tests/rails-6_capybara-3/config/initializers/wrap_parameters.rb +14 -0
  49. data/tests/rails-6_capybara-3/config/locales/en.yml +33 -0
  50. data/tests/rails-6_capybara-3/config/routes.rb +1 -0
  51. data/tests/rails-6_capybara-3/db +1 -0
  52. data/tests/rails-6_capybara-3/features/development_steps.feature +1 -0
  53. data/tests/rails-6_capybara-3/features/email_steps.feature +1 -0
  54. data/tests/rails-6_capybara-3/features/overriding.feature +1 -0
  55. data/tests/{shared/db/migrate/.gitignore → rails-6_capybara-3/features/step_definitions/.gitkeep} +0 -0
  56. data/tests/rails-6_capybara-3/features/step_definitions/overriding_steps.rb +1 -0
  57. data/tests/rails-6_capybara-3/features/step_definitions/test_steps.rb +1 -0
  58. data/tests/rails-6_capybara-3/features/support/env.rb +66 -0
  59. data/tests/rails-6_capybara-3/features/support/paths.rb +1 -0
  60. data/tests/rails-6_capybara-3/features/support/selectors.rb +1 -0
  61. data/tests/rails-6_capybara-3/features/support/selenium.rb +3 -0
  62. data/tests/rails-6_capybara-3/features/table_steps.feature +1 -0
  63. data/tests/rails-6_capybara-3/features/web_steps.feature +1 -0
  64. data/tests/rails-6_capybara-3/lib/tasks/.keep +0 -0
  65. data/tests/rails-6_capybara-3/lib/tasks/cucumber.rake +76 -0
  66. data/tests/rails-6_capybara-3/log/.keep +0 -0
  67. data/tests/rails-6_capybara-3/public/404.html +67 -0
  68. data/tests/rails-6_capybara-3/public/422.html +67 -0
  69. data/tests/rails-6_capybara-3/public/500.html +66 -0
  70. data/tests/rails-6_capybara-3/public/favicon.ico +0 -0
  71. data/tests/rails-6_capybara-3/public/fixture_files +1 -0
  72. data/tests/rails-6_capybara-3/script/cucumber +11 -0
  73. data/tests/shared/app/controllers/application_controller.rb +9 -0
  74. data/tests/shared/app/controllers/authenticated_controller.rb +10 -2
  75. data/tests/shared/app/controllers/emails_controller.rb +8 -5
  76. data/tests/shared/app/controllers/forms_controller.rb +3 -0
  77. data/tests/shared/app/controllers/static_pages_controller.rb +8 -2
  78. data/tests/shared/app/views/layouts/mailer.html.erb +13 -0
  79. data/tests/shared/app/views/layouts/mailer.text.erb +1 -0
  80. data/tests/shared/app/views/spreewald_mailer +1 -0
  81. data/tests/shared/config/routes.rb +33 -0
  82. data/tests/shared/db/migrate/.keep +0 -0
  83. metadata +124 -6
  84. data/tests/rails-3_capybara-1/config/routes.rb +0 -5
  85. data/tests/rails-4_capybara-3/.gitignore +0 -17
  86. data/tests/rails-4_capybara-3/config/routes.rb +0 -3
@@ -0,0 +1,28 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Define an application-wide content security policy
4
+ # For further information see the following documentation
5
+ # https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy
6
+
7
+ # Rails.application.config.content_security_policy do |policy|
8
+ # policy.default_src :self, :https
9
+ # policy.font_src :self, :https, :data
10
+ # policy.img_src :self, :https, :data
11
+ # policy.object_src :none
12
+ # policy.script_src :self, :https
13
+ # policy.style_src :self, :https
14
+
15
+ # # Specify URI for violation reports
16
+ # # policy.report_uri "/csp-violation-report-endpoint"
17
+ # end
18
+
19
+ # If you are using UJS then enable automatic nonce generation
20
+ # Rails.application.config.content_security_policy_nonce_generator = -> request { SecureRandom.base64(16) }
21
+
22
+ # Set the nonce only to specific directives
23
+ # Rails.application.config.content_security_policy_nonce_directives = %w(script-src)
24
+
25
+ # Report CSP violations to a specified URI
26
+ # For further information see the following documentation:
27
+ # https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only
28
+ # Rails.application.config.content_security_policy_report_only = true
@@ -0,0 +1,5 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Specify a serializer for the signed and encrypted cookie jars.
4
+ # Valid options are :json, :marshal, and :hybrid.
5
+ Rails.application.config.action_dispatch.cookies_serializer = :json
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Configure sensitive parameters which will be filtered from the log file.
4
+ Rails.application.config.filter_parameters += [:password]
@@ -0,0 +1,16 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format. Inflections
4
+ # are locale specific, and you may define rules for as many different
5
+ # locales as you wish. All of these examples are active by default:
6
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
+ # inflect.plural /^(ox)$/i, '\1en'
8
+ # inflect.singular /^(ox)en/i, '\1'
9
+ # inflect.irregular 'person', 'people'
10
+ # inflect.uncountable %w( fish sheep )
11
+ # end
12
+
13
+ # These inflection rules are supported but not enabled by default:
14
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
+ # inflect.acronym 'RESTful'
16
+ # end
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json]
9
+ end
10
+
11
+ # To enable root element in JSON for ActiveRecord objects.
12
+ # ActiveSupport.on_load(:active_record) do
13
+ # self.include_root_in_json = true
14
+ # end
@@ -0,0 +1,33 @@
1
+ # Files in the config/locales directory are used for internationalization
2
+ # and are automatically loaded by Rails. If you want to use locales other
3
+ # than English, add the necessary files in this directory.
4
+ #
5
+ # To use the locales, use `I18n.t`:
6
+ #
7
+ # I18n.t 'hello'
8
+ #
9
+ # In views, this is aliased to just `t`:
10
+ #
11
+ # <%= t('hello') %>
12
+ #
13
+ # To use a different locale, set it with `I18n.locale`:
14
+ #
15
+ # I18n.locale = :es
16
+ #
17
+ # This would use the information in config/locales/es.yml.
18
+ #
19
+ # The following keys must be escaped otherwise they will not be retrieved by
20
+ # the default I18n backend:
21
+ #
22
+ # true, false, on, off, yes, no
23
+ #
24
+ # Instead, surround them with single quotes.
25
+ #
26
+ # en:
27
+ # 'true': 'foo'
28
+ #
29
+ # To learn more, please read the Rails Internationalization guide
30
+ # available at https://guides.rubyonrails.org/i18n.html.
31
+
32
+ en:
33
+ hello: "Hello world"
@@ -0,0 +1 @@
1
+ ../../shared/config/routes.rb
@@ -0,0 +1 @@
1
+ ../shared/db/
@@ -0,0 +1 @@
1
+ ../../shared/features/shared/development_steps.feature
@@ -0,0 +1 @@
1
+ ../../shared/features/shared/email_steps.feature
@@ -0,0 +1 @@
1
+ ../../shared/features/shared/overriding.feature
@@ -0,0 +1 @@
1
+ ../../../shared/features/shared/step_definitions/overriding_steps.rb
@@ -0,0 +1 @@
1
+ ../../../shared/features/shared/step_definitions/test_steps.rb
@@ -0,0 +1,66 @@
1
+ # IMPORTANT: This file is generated by cucumber-rails - edit at your own peril.
2
+ # It is recommended to regenerate this file in the future when you upgrade to a
3
+ # newer version of cucumber-rails. Consider adding your own code to a new file
4
+ # instead of editing this one. Cucumber will automatically load all features/**/*.rb
5
+ # files.
6
+
7
+ ENV["RAILS_ENV"] ||= "test"
8
+
9
+ require 'cucumber/rails'
10
+ require 'rspec/expectations'
11
+
12
+ # load Spreewald steps
13
+ require 'spreewald/all_steps'
14
+
15
+ # Capybara defaults to CSS3 selectors rather than XPath.
16
+ # If you'd prefer to use XPath, just uncomment this line and adjust any
17
+ # selectors in your step definitions to use the XPath syntax.
18
+ # Capybara.default_selector = :xpath
19
+
20
+ # By default, any exception happening in your Rails application will bubble up
21
+ # to Cucumber so that your scenario will fail. This is a different from how
22
+ # your application behaves in the production environment, where an error page will
23
+ # be rendered instead.
24
+ #
25
+ # Sometimes we want to override this default behaviour and allow Rails to rescue
26
+ # exceptions and display an error page (just like when the app is running in production).
27
+ # Typical scenarios where you want to do this is when you test your error pages.
28
+ # There are two ways to allow Rails to rescue exceptions:
29
+ #
30
+ # 1) Tag your scenario (or feature) with @allow-rescue
31
+ #
32
+ # 2) Set the value below to true. Beware that doing this globally is not
33
+ # recommended as it will mask a lot of errors for you!
34
+ #
35
+ ActionController::Base.allow_rescue = false
36
+
37
+ # Remove/comment out the lines below if your app doesn't have a database.
38
+ # For some databases (like MongoDB and CouchDB) you may need to use :truncation instead.
39
+ begin
40
+ DatabaseCleaner.strategy = :transaction
41
+ rescue NameError
42
+ raise "You need to add database_cleaner to your Gemfile (in the :test group) if you wish to use it."
43
+ end
44
+
45
+ # You may also want to configure DatabaseCleaner to use different strategies for certain features and scenarios.
46
+ # See the DatabaseCleaner documentation for details. Example:
47
+ #
48
+ # Before('@no-txn,@selenium,@culerity,@celerity,@javascript') do
49
+ # # { :except => [:widgets] } may not do what you expect here
50
+ # # as Cucumber::Rails::Database.javascript_strategy overrides
51
+ # # this setting.
52
+ # DatabaseCleaner.strategy = :truncation
53
+ # end
54
+ #
55
+ # Before('~@no-txn', '~@selenium', '~@culerity', '~@celerity', '~@javascript') do
56
+ # DatabaseCleaner.strategy = :transaction
57
+ # end
58
+ #
59
+
60
+ # Possible values are :truncation and :transaction
61
+ # The :transaction strategy is faster, but might give you threading problems.
62
+ # See https://github.com/cucumber/cucumber-rails/blob/master/features/choose_javascript_database_strategy.feature
63
+ Cucumber::Rails::Database.javascript_strategy = :truncation
64
+
65
+ Capybara.default_max_wait_time = 5
66
+ Capybara.server = :webrick
@@ -0,0 +1 @@
1
+ ../../../shared/features/support/paths.rb
@@ -0,0 +1 @@
1
+ ../../../shared/features/support/selectors.rb
@@ -0,0 +1,3 @@
1
+ Capybara.register_driver :selenium do |app|
2
+ Capybara::Selenium::Driver.new(app, browser: :chrome)
3
+ end
@@ -0,0 +1 @@
1
+ ../../shared/features/shared/table_steps.feature
@@ -0,0 +1 @@
1
+ ../../shared/features/shared/web_steps.feature
@@ -0,0 +1,76 @@
1
+ # IMPORTANT: This file is generated by cucumber-rails - edit at your own peril.
2
+ # It is recommended to regenerate this file in the future when you upgrade to a
3
+ # newer version of cucumber-rails. Consider adding your own code to a new file
4
+ # instead of editing this one. Cucumber will automatically load all features/**/*.rb
5
+ # files.
6
+
7
+
8
+ unless ARGV.any? {|a| a =~ /^gems/} # Don't load anything when running the gems:* tasks
9
+
10
+ vendored_cucumber_bin = Dir["#{Rails.root}/vendor/{gems,plugins}/cucumber*/bin/cucumber"].first
11
+ $LOAD_PATH.unshift(File.dirname(vendored_cucumber_bin) + '/../lib') unless vendored_cucumber_bin.nil?
12
+
13
+ begin
14
+ require 'cucumber/rake/task'
15
+
16
+ namespace :cucumber do
17
+ Cucumber::Rake::Task.new({ok: 'test:prepare'}, 'Run features that should pass') do |t|
18
+ t.binary = vendored_cucumber_bin # If nil, the gem's binary is used.
19
+ t.fork = true # You may get faster startup if you set this to false
20
+ t.profile = 'default'
21
+ end
22
+
23
+ Cucumber::Rake::Task.new({wip: 'test:prepare'}, 'Run features that are being worked on') do |t|
24
+ t.binary = vendored_cucumber_bin
25
+ t.fork = true # You may get faster startup if you set this to false
26
+ t.profile = 'wip'
27
+ end
28
+
29
+ Cucumber::Rake::Task.new({rerun: 'test:prepare'}, 'Record failing features and run only them if any exist') do |t|
30
+ t.binary = vendored_cucumber_bin
31
+ t.fork = true # You may get faster startup if you set this to false
32
+ t.profile = 'rerun'
33
+ end
34
+
35
+ desc 'Run all features'
36
+ task all: [:ok, :wip]
37
+
38
+ task :statsetup do
39
+ require 'rails/code_statistics'
40
+ ::STATS_DIRECTORIES << %w(Cucumber\ features features) if File.exist?('features')
41
+ ::CodeStatistics::TEST_TYPES << "Cucumber features" if File.exist?('features')
42
+ end
43
+
44
+ task :annotations_setup do
45
+ Rails.application.configure do
46
+ if config.respond_to?(:annotations)
47
+ config.annotations.directories << 'features'
48
+ config.annotations.register_extensions('feature') { |tag| /#\s*(#{tag}):?\s*(.*)$/ }
49
+ end
50
+ end
51
+ end
52
+ end
53
+ desc 'Alias for cucumber:ok'
54
+ task cucumber: 'cucumber:ok'
55
+
56
+ task default: :cucumber
57
+
58
+ task features: :cucumber do
59
+ STDERR.puts "*** The 'features' task is deprecated. See rake -T cucumber ***"
60
+ end
61
+
62
+ # In case we don't have the generic Rails test:prepare hook, append a no-op task that we can depend upon.
63
+ task 'test:prepare' do
64
+ end
65
+
66
+ task stats: 'cucumber:statsetup'
67
+
68
+ task notes: 'cucumber:annotations_setup'
69
+ rescue LoadError
70
+ desc 'cucumber rake task not available (cucumber not installed)'
71
+ task :cucumber do
72
+ abort 'Cucumber rake task is not available. Be sure to install cucumber as a gem or plugin'
73
+ end
74
+ end
75
+
76
+ end
File without changes
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ .rails-default-error-page {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ .rails-default-error-page div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ .rails-default-error-page div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ .rails-default-error-page h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ .rails-default-error-page div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body class="rails-default-error-page">
58
+ <!-- This file lives in public/404.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The page you were looking for doesn't exist.</h1>
62
+ <p>You may have mistyped the address or the page may have moved.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ .rails-default-error-page {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ .rails-default-error-page div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ .rails-default-error-page div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ .rails-default-error-page h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ .rails-default-error-page div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body class="rails-default-error-page">
58
+ <!-- This file lives in public/422.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The change you wanted was rejected.</h1>
62
+ <p>Maybe you tried to change something you didn't have access to.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,66 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ .rails-default-error-page {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ .rails-default-error-page div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ .rails-default-error-page div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ .rails-default-error-page h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ .rails-default-error-page div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body class="rails-default-error-page">
58
+ <!-- This file lives in public/500.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>We're sorry, but something went wrong.</h1>
62
+ </div>
63
+ <p>If you are the application owner check the logs for more information.</p>
64
+ </div>
65
+ </body>
66
+ </html>