outdatedbrowser_rails 1.1.0 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +1 -1
  3. data/app/assets/javascripts/outdatedbrowser/outdatedBrowser.js +64 -59
  4. data/app/assets/javascripts/outdatedbrowser_rails/application.js +13 -0
  5. data/app/assets/stylesheets/outdatedbrowser/outdatedBrowser.css +1 -1
  6. data/app/assets/stylesheets/outdatedbrowser_rails/application.css +6 -4
  7. data/app/controllers/outdatedbrowser_rails/application_controller.rb +5 -0
  8. data/app/helpers/outdatedbrowser_rails/application_helper.rb +4 -0
  9. data/app/views/layouts/outdatedbrowser_rails/application.html.erb +1 -1
  10. data/app/views/outdatedbrowser/lang/{cz.html → cs.html} +1 -1
  11. data/app/views/outdatedbrowser/lang/da.html +3 -0
  12. data/app/views/outdatedbrowser/lang/de.html +0 -0
  13. data/app/views/outdatedbrowser/lang/el.html +3 -0
  14. data/app/views/outdatedbrowser/lang/en.html +1 -1
  15. data/app/views/outdatedbrowser/lang/es-pe.html +3 -0
  16. data/app/views/outdatedbrowser/lang/es.html +0 -0
  17. data/app/views/outdatedbrowser/lang/{ee.html → et.html} +1 -1
  18. data/app/views/outdatedbrowser/lang/fa.html +0 -0
  19. data/app/views/outdatedbrowser/lang/fi.html +1 -1
  20. data/app/views/outdatedbrowser/lang/fr.html +0 -0
  21. data/app/views/outdatedbrowser/lang/hu.html +1 -1
  22. data/app/views/outdatedbrowser/lang/id.html +0 -0
  23. data/app/views/outdatedbrowser/lang/it.html +0 -0
  24. data/app/views/outdatedbrowser/lang/ja.html +3 -0
  25. data/app/views/outdatedbrowser/lang/ko.html +3 -0
  26. data/app/views/outdatedbrowser/lang/lt.html +0 -0
  27. data/app/views/outdatedbrowser/lang/nb.html +4 -0
  28. data/app/views/outdatedbrowser/lang/nl.html +1 -1
  29. data/app/views/outdatedbrowser/lang/pl.html +0 -0
  30. data/app/views/outdatedbrowser/lang/{br.html → pt-br.html} +1 -1
  31. data/app/views/outdatedbrowser/lang/pt.html +0 -0
  32. data/app/views/outdatedbrowser/lang/ro.html +0 -0
  33. data/app/views/outdatedbrowser/lang/ru.html +2 -2
  34. data/app/views/outdatedbrowser/lang/{si.html → sl.html} +1 -1
  35. data/app/views/outdatedbrowser/lang/sv.html +3 -0
  36. data/app/views/outdatedbrowser/lang/tr.html +3 -0
  37. data/app/views/outdatedbrowser/lang/{ua.html → uk.html} +1 -1
  38. data/app/views/outdatedbrowser/lang/{cn.html → zh-cn.html} +1 -1
  39. data/app/views/outdatedbrowser/lang/zh-tw.html +3 -0
  40. data/lib/outdatedbrowser_rails/version.rb +1 -1
  41. data/spec/dummy/README.rdoc +15 -248
  42. data/spec/dummy/Rakefile +1 -2
  43. data/spec/dummy/app/assets/javascripts/application.js +5 -7
  44. data/spec/dummy/app/assets/stylesheets/application.css +7 -5
  45. data/spec/dummy/app/controllers/application_controller.rb +3 -1
  46. data/spec/dummy/app/views/layouts/application.html.erb +2 -2
  47. data/spec/dummy/bin/bundle +3 -0
  48. data/spec/dummy/bin/rails +4 -0
  49. data/spec/dummy/bin/rake +4 -0
  50. data/spec/dummy/bin/setup +29 -0
  51. data/spec/dummy/config.ru +2 -2
  52. data/spec/dummy/config/application.rb +5 -44
  53. data/spec/dummy/config/boot.rb +4 -9
  54. data/spec/dummy/config/database.yml +8 -8
  55. data/spec/dummy/config/environment.rb +3 -3
  56. data/spec/dummy/config/environments/development.rb +22 -18
  57. data/spec/dummy/config/environments/production.rb +46 -34
  58. data/spec/dummy/config/environments/test.rb +19 -14
  59. data/spec/dummy/config/initializers/assets.rb +12 -0
  60. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  61. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  62. data/spec/dummy/config/initializers/inflections.rb +6 -5
  63. data/spec/dummy/config/initializers/mime_types.rb +0 -1
  64. data/spec/dummy/config/initializers/session_store.rb +1 -6
  65. data/spec/dummy/config/initializers/wrap_parameters.rb +6 -6
  66. data/spec/dummy/config/locales/en.yml +20 -2
  67. data/spec/dummy/config/routes.rb +54 -0
  68. data/spec/dummy/config/secrets.yml +22 -0
  69. data/spec/dummy/public/404.html +54 -13
  70. data/spec/dummy/public/422.html +54 -13
  71. data/spec/dummy/public/500.html +53 -12
  72. data/spec/features/asset_integration_spec.rb +2 -2
  73. metadata +52 -110
  74. data/spec/dummy/db/development.sqlite3 +0 -0
  75. data/spec/dummy/db/test.sqlite3 +0 -0
  76. data/spec/dummy/log/development.log +0 -2335
  77. data/spec/dummy/log/test.log +0 -25
  78. data/spec/dummy/tmp/cache/assets/C0B/6C0/sprockets%2F32ba372100048e769a8961c142010d29 +0 -0
  79. data/spec/dummy/tmp/cache/assets/C55/A90/sprockets%2Fc867534061993dd00f01965a87c8451a +0 -0
  80. data/spec/dummy/tmp/cache/assets/C66/070/sprockets%2F25064892e3836bb657e5d6446b86574e +0 -0
  81. data/spec/dummy/tmp/cache/assets/C76/D90/sprockets%2F317679c439a52430e7a01408fab2166e +0 -0
  82. data/spec/dummy/tmp/cache/assets/C85/6B0/sprockets%2F19e3c3829361ad685564711217e9d1dc +0 -0
  83. data/spec/dummy/tmp/cache/assets/CB7/D90/sprockets%2F324258d96111fb8a7ad85897701e41fc +0 -0
  84. data/spec/dummy/tmp/cache/assets/CCE/9C0/sprockets%2Fbe5308ba0221fb7e0f54652c6014e097 +0 -0
  85. data/spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  86. data/spec/dummy/tmp/cache/assets/CE9/850/sprockets%2F4a767a0e4b8d87e90e7d1b126c379724 +0 -0
  87. data/spec/dummy/tmp/cache/assets/CEF/8E0/sprockets%2Fee75db26e457cb225a52664757fc7845 +0 -0
  88. data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  89. data/spec/dummy/tmp/cache/assets/D3C/810/sprockets%2Ff2abbf8c661ed6993fb163338c024f20 +0 -0
  90. data/spec/dummy/tmp/cache/assets/D42/CC0/sprockets%2Fc193ff3495a3beb1c539e1bd3425d759 +0 -0
  91. data/spec/dummy/tmp/cache/assets/D45/7D0/sprockets%2Ff6e3c118bd192d82fe3896e9b116dd21 +0 -0
  92. data/spec/dummy/tmp/cache/assets/D4A/C40/sprockets%2Fdfdafc62f1e86575d880bdb131079486 +0 -0
  93. data/spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  94. data/spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  95. data/spec/dummy/tmp/cache/assets/D60/9D0/sprockets%2F9afc50a2bc1969a7205225d2d2ae6bd5 +0 -0
  96. data/spec/dummy/tmp/cache/assets/D67/190/sprockets%2Fba2a601dadba4b704f5a79199892fc60 +0 -0
  97. data/spec/dummy/tmp/cache/assets/D68/B30/sprockets%2Fe066c701face5c4fa3b7227c6b87b614 +0 -0
  98. data/spec/dummy/tmp/cache/assets/D78/CF0/sprockets%2F8e5507fc15ad9329b90be288f0f27acf +0 -0
  99. data/spec/dummy/tmp/cache/assets/D83/C10/sprockets%2F0c972efe069c3bf7390c2959fb7ee3e5 +0 -0
  100. data/spec/dummy/tmp/cache/assets/D95/AD0/sprockets%2F33ea8a386351bf5a9815f4bedaba53d0 +0 -0
  101. data/spec/dummy/tmp/cache/assets/D95/BD0/sprockets%2Fd0cd11b5ffec05bed60ce336858a3464 +0 -0
  102. data/spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  103. data/spec/dummy/tmp/cache/assets/DE8/EC0/sprockets%2F1bb2ad094ca709e48c46adabe3a028bd +0 -0
  104. data/spec/dummy/tmp/cache/assets/E03/580/sprockets%2F03b5636ba83de65f19fc8f8cd3ba0fdf +0 -0
  105. data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  106. data/spec/dummy/tmp/pids/server.pid +0 -1
@@ -0,0 +1,12 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Version of your assets, change this if you want to expire all your assets.
4
+ Rails.application.config.assets.version = '1.0'
5
+
6
+ # Add additional assets to the asset load path
7
+ # Rails.application.config.assets.paths << Emoji.images_path
8
+
9
+ # Precompile additional assets.
10
+ # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
11
+ # Rails.application.config.assets.precompile += %w( search.js )
12
+ Rails.application.config.assets.precompile += %w( outdatedbrowser/require_outdatedbrowser.js )
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ 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]
@@ -1,15 +1,16 @@
1
1
  # Be sure to restart your server when you modify this file.
2
2
 
3
- # Add new inflection rules using the following format
4
- # (all these examples are active by default):
5
- # ActiveSupport::Inflector.inflections do |inflect|
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|
6
7
  # inflect.plural /^(ox)$/i, '\1en'
7
8
  # inflect.singular /^(ox)en/i, '\1'
8
9
  # inflect.irregular 'person', 'people'
9
10
  # inflect.uncountable %w( fish sheep )
10
11
  # end
11
- #
12
+
12
13
  # These inflection rules are supported but not enabled by default:
13
- # ActiveSupport::Inflector.inflections do |inflect|
14
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
14
15
  # inflect.acronym 'RESTful'
15
16
  # end
@@ -2,4 +2,3 @@
2
2
 
3
3
  # Add new mime types for use in respond_to blocks:
4
4
  # Mime::Type.register "text/richtext", :rtf
5
- # Mime::Type.register_alias "text/html", :iphone
@@ -1,8 +1,3 @@
1
1
  # Be sure to restart your server when you modify this file.
2
2
 
3
- Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
4
-
5
- # Use the database for sessions instead of the cookie-based default,
6
- # which shouldn't be used to store highly confidential information
7
- # (create the session table with "rails generate session_migration")
8
- # Dummy::Application.config.session_store :active_record_store
3
+ Rails.application.config.session_store :cookie_store, key: '_dummy_session'
@@ -1,14 +1,14 @@
1
1
  # Be sure to restart your server when you modify this file.
2
- #
2
+
3
3
  # This file contains settings for ActionController::ParamsWrapper which
4
4
  # is enabled by default.
5
5
 
6
6
  # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
7
  ActiveSupport.on_load(:action_controller) do
8
- wrap_parameters format: [:json]
8
+ wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
9
9
  end
10
10
 
11
- # Disable root element in JSON by default.
12
- ActiveSupport.on_load(:active_record) do
13
- self.include_root_in_json = false
14
- end
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
@@ -1,5 +1,23 @@
1
- # Sample localization file for English. Add more files in this directory for other locales.
2
- # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
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
+ # To learn more, please read the Rails Internationalization guide
20
+ # available at http://guides.rubyonrails.org/i18n.html.
3
21
 
4
22
  en:
5
23
  hello: "Hello world"
@@ -1,3 +1,57 @@
1
1
  Rails.application.routes.draw do
2
2
  root to: 'dummy#index'
3
+ # The priority is based upon order of creation: first created -> highest priority.
4
+ # See how all your routes lay out with "rake routes".
5
+
6
+ # You can have the root of your site routed with "root"
7
+ # root 'welcome#index'
8
+
9
+ # Example of regular route:
10
+ # get 'products/:id' => 'catalog#view'
11
+
12
+ # Example of named route that can be invoked with purchase_url(id: product.id)
13
+ # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
14
+
15
+ # Example resource route (maps HTTP verbs to controller actions automatically):
16
+ # resources :products
17
+
18
+ # Example resource route with options:
19
+ # resources :products do
20
+ # member do
21
+ # get 'short'
22
+ # post 'toggle'
23
+ # end
24
+ #
25
+ # collection do
26
+ # get 'sold'
27
+ # end
28
+ # end
29
+
30
+ # Example resource route with sub-resources:
31
+ # resources :products do
32
+ # resources :comments, :sales
33
+ # resource :seller
34
+ # end
35
+
36
+ # Example resource route with more complex sub-resources:
37
+ # resources :products do
38
+ # resources :comments
39
+ # resources :sales do
40
+ # get 'recent', on: :collection
41
+ # end
42
+ # end
43
+
44
+ # Example resource route with concerns:
45
+ # concern :toggleable do
46
+ # post 'toggle'
47
+ # end
48
+ # resources :posts, concerns: :toggleable
49
+ # resources :photos, concerns: :toggleable
50
+
51
+ # Example resource route within a namespace:
52
+ # namespace :admin do
53
+ # # Directs /admin/products/* to Admin::ProductsController
54
+ # # (app/controllers/admin/products_controller.rb)
55
+ # resources :products
56
+ # end
3
57
  end
@@ -0,0 +1,22 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure the secrets in this file are kept private
11
+ # if you're sharing your code publicly.
12
+
13
+ development:
14
+ secret_key_base: 90933819fb6dbd10aec182cee01dab04a3a5c815ab82060c6bdce097171ed4759666bf18838f65e95dafbb5214e93c475b8fcf500b43bc69d94257d2352a8157
15
+
16
+ test:
17
+ secret_key_base: c0d849af9fe283e19dd24ce3ed1e88b009be42eeab51dacda7cfe7b09a553f6c24a006b35281e0951218d8ae19263c3d51c7ff937e0ade73d747a01e7c9008c7
18
+
19
+ # Do not keep production secrets in the repository,
20
+ # instead read values from the environment.
21
+ production:
22
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
@@ -2,25 +2,66 @@
2
2
  <html>
3
3
  <head>
4
4
  <title>The page you were looking for doesn't exist (404)</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; }
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ 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
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ 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
+ }
16
54
  </style>
17
55
  </head>
18
56
 
19
57
  <body>
20
58
  <!-- This file lives in public/404.html -->
21
59
  <div class="dialog">
22
- <h1>The page you were looking for doesn't exist.</h1>
23
- <p>You may have mistyped the address or the page may have moved.</p>
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>
24
65
  </div>
25
66
  </body>
26
67
  </html>
@@ -2,25 +2,66 @@
2
2
  <html>
3
3
  <head>
4
4
  <title>The change you wanted was rejected (422)</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; }
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ 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
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ 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
+ }
16
54
  </style>
17
55
  </head>
18
56
 
19
57
  <body>
20
58
  <!-- This file lives in public/422.html -->
21
59
  <div class="dialog">
22
- <h1>The change you wanted was rejected.</h1>
23
- <p>Maybe you tried to change something you didn't have access to.</p>
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>
24
65
  </div>
25
66
  </body>
26
67
  </html>
@@ -2,24 +2,65 @@
2
2
  <html>
3
3
  <head>
4
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; }
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ 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
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ 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
+ }
16
54
  </style>
17
55
  </head>
18
56
 
19
57
  <body>
20
58
  <!-- This file lives in public/500.html -->
21
59
  <div class="dialog">
22
- <h1>We're sorry, but something went wrong.</h1>
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>
23
64
  </div>
24
65
  </body>
25
66
  </html>
@@ -2,7 +2,7 @@ require 'spec_helper'
2
2
 
3
3
  describe 'static assets integration' do
4
4
  it 'provides outdatedBrowser.js on the asset pipeline' do
5
- visit '/assets/outdatedbrowser/outdatedBrowser.js'
5
+ visit '/assets/outdatedbrowser/outdatedbrowser.js'
6
6
  expect(page.text).to match(/outdatedBrowser/)
7
7
  end
8
8
 
@@ -12,7 +12,7 @@ describe 'static assets integration' do
12
12
  end
13
13
 
14
14
  it 'provides outdatedBrowser.css on the asset pipeline' do
15
- visit '/assets/outdatedbrowser/outdatedBrowser.css'
15
+ visit '/assets/outdatedbrowser/outdatedbrowser.css'
16
16
  expect(page.text).to match(/Outdated Browser/)
17
17
  end
18
18