squash_whitespace 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. checksums.yaml +4 -4
  2. data/lib/squash_whitespace/version.rb +1 -1
  3. data/test/dummy-4.0.0/Gemfile +47 -0
  4. data/test/dummy-4.0.0/Gemfile.lock +127 -0
  5. data/test/{dummy → dummy-4.0.0}/README.rdoc +0 -0
  6. data/test/{dummy → dummy-4.0.0}/Rakefile +1 -1
  7. data/test/{dummy → dummy-4.0.0}/app/assets/javascripts/application.js +5 -2
  8. data/test/dummy-4.0.0/app/assets/javascripts/pages.js.coffee +3 -0
  9. data/test/dummy-4.0.0/app/assets/stylesheets/application.css +13 -0
  10. data/test/dummy-4.0.0/app/assets/stylesheets/pages.css.scss +3 -0
  11. data/test/{dummy → dummy-4.0.0}/app/controllers/application_controller.rb +0 -0
  12. data/test/{dummy → dummy-4.0.0}/app/controllers/pages_controller.rb +0 -0
  13. data/test/{dummy → dummy-4.0.0}/app/helpers/application_helper.rb +0 -0
  14. data/test/{dummy → dummy-4.0.0}/app/helpers/pages_helper.rb +0 -0
  15. data/test/dummy-4.0.0/app/views/layouts/application.html.erb +14 -0
  16. data/test/{dummy → dummy-4.0.0}/app/views/pages/index.html.erb +0 -0
  17. data/test/{dummy → dummy-4.0.0}/bin/bundle +0 -0
  18. data/test/{dummy → dummy-4.0.0}/bin/rails +1 -1
  19. data/test/{dummy → dummy-4.0.0}/bin/rake +0 -0
  20. data/test/{dummy → dummy-4.0.0}/config.ru +1 -1
  21. data/test/{dummy → dummy-4.0.0}/config/application.rb +3 -6
  22. data/test/dummy-4.0.0/config/boot.rb +4 -0
  23. data/test/{dummy → dummy-4.0.0}/config/database.yml +8 -8
  24. data/test/{dummy → dummy-4.0.0}/config/environment.rb +1 -1
  25. data/test/{dummy → dummy-4.0.0}/config/environments/development.rb +2 -14
  26. data/test/{dummy → dummy-4.0.0}/config/environments/production.rb +21 -20
  27. data/test/{dummy → dummy-4.0.0}/config/environments/test.rb +4 -10
  28. data/test/{dummy → dummy-4.0.0}/config/initializers/backtrace_silencers.rb +0 -0
  29. data/test/{dummy → dummy-4.0.0}/config/initializers/filter_parameter_logging.rb +0 -0
  30. data/test/{dummy → dummy-4.0.0}/config/initializers/inflections.rb +0 -0
  31. data/test/{dummy → dummy-4.0.0}/config/initializers/mime_types.rb +1 -0
  32. data/test/dummy-4.0.0/config/initializers/secret_token.rb +12 -0
  33. data/test/dummy-4.0.0/config/initializers/session_store.rb +3 -0
  34. data/test/{dummy → dummy-4.0.0}/config/initializers/wrap_parameters.rb +0 -0
  35. data/test/{dummy → dummy-4.0.0}/config/locales/en.yml +0 -0
  36. data/test/{dummy → dummy-4.0.0}/config/routes.rb +1 -1
  37. data/test/{dummy → dummy-4.0.0}/db/development.sqlite3 +0 -0
  38. data/test/dummy-4.0.0/db/seeds.rb +7 -0
  39. data/test/{dummy → dummy-4.0.0}/db/test.sqlite3 +0 -0
  40. data/test/dummy-4.0.0/log/development.log +45 -0
  41. data/test/{dummy → dummy-4.0.0}/log/test.log +21 -21
  42. data/test/{dummy → dummy-4.0.0}/public/404.html +11 -20
  43. data/test/{dummy → dummy-4.0.0}/public/422.html +11 -20
  44. data/test/{dummy → dummy-4.0.0}/public/500.html +10 -19
  45. data/test/{dummy → dummy-4.0.0}/public/favicon.ico +0 -0
  46. data/test/dummy-4.0.0/public/robots.txt +5 -0
  47. data/test/{dummy → dummy-4.0.0}/test/controllers/pages_controller_test.rb +0 -0
  48. data/test/dummy-4.0.0/test/helpers/pages_helper_test.rb +4 -0
  49. data/test/dummy-4.0.0/test/test_helper.rb +15 -0
  50. data/test/dummy-4.0.0/tmp/cache/assets/development/sass/f0716cac50e863bbbe6525615fe2f6f57fb5ce7a/pages.css.scssc +0 -0
  51. data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/092c13db04087064e71a346331025f40 +0 -0
  52. data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  53. data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/1ba2331aab000dc355521d376087bf32 +0 -0
  54. data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/1f458d3591bc95c3b405115abe40e80c +0 -0
  55. data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/23f9f567ad4579af53aa2cdb72a0efb4 +0 -0
  56. data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  57. data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/3362e8d2212ac4991a0734452b5f9ade +0 -0
  58. data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  59. data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/35a7e76f2aa6d5d9a5f0bbe258fa13a1 +0 -0
  60. data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/58d13fa8238ddbe40924e2b2b8e2b892 +0 -0
  61. data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/8d467b2390a5eab42a9d2d3d89792e32 +0 -0
  62. data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/8f2511830f6e103d24928dac99a5cf5a +0 -0
  63. data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/b7cf1ee5c56fa85d2cf039f2541df071 +0 -0
  64. data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/c079129bbbc0e3aa59b6b5f63d35318a +0 -0
  65. data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  66. data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  67. data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/ddbdf9fc0c4ead4ad9b8fa8d1bc5017b +0 -0
  68. data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/ddec1646d429cd18e4591523b17f366c +0 -0
  69. data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/e05152df28eeb6c92bd81c2e482eb580 +0 -0
  70. data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/f5f738b65b700d4d150982435be7b758 +0 -0
  71. data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  72. data/test/test_helper.rb +2 -2
  73. metadata +141 -139
  74. data/test/dummy/app/assets/javascripts/pages.js +0 -2
  75. data/test/dummy/app/assets/stylesheets/application.css +0 -15
  76. data/test/dummy/app/assets/stylesheets/pages.css +0 -4
  77. data/test/dummy/app/views/layouts/application.html.erb +0 -14
  78. data/test/dummy/bin/setup +0 -29
  79. data/test/dummy/config/boot.rb +0 -5
  80. data/test/dummy/config/initializers/assets.rb +0 -11
  81. data/test/dummy/config/initializers/cookies_serializer.rb +0 -3
  82. data/test/dummy/config/initializers/session_store.rb +0 -3
  83. data/test/dummy/config/secrets.yml +0 -22
  84. data/test/dummy/log/development.log +0 -182
  85. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-lQAyVnsdBE_3EmPwFhNZvK9n9SODvT7J0esIeeL7wc.cache +0 -0
  86. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/1jEmpzz8VKTYZLuPeMlau0sKFavozdZKHjUmAiVe6VI.cache +0 -1
  87. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/2WxS9woKWZXbZ4noZotoub2C9eSivlEwCj61lnAqX9g.cache +0 -1
  88. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/435ZKKoOp4qIFz_AUzRiyC41N0wfZNsPCGC2lUEi03o.cache +0 -1
  89. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/6ZAh5UIVmgKzHe-NhXefbchJzRIpvOxHRLovPsWw35g.cache +0 -2
  90. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/7VoSpYSGYGcPT8B5Q-5o3IcQnNoeVG9wrfgq2AmJ9PM.cache +0 -1
  91. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/A8gpqWTYMjSkVk7eGL5742gN5XIl2hOcRZaO5gSVdCQ.cache +0 -2
  92. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/EfXtXu3pa1eki0HjtjUU090OfXoRRYvgSD35csnFjlg.cache +0 -1
  93. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/FZV5vAG6HeNMz59KYTddFNDi9KZ9JcKC7FTfoVxt1Kk.cache +0 -2
  94. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Ffbp6rom3IOjispTDwylo_q2YQgi1UFCtKm1joBs9w8.cache +0 -0
  95. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/LdjcfuUgDgieek6NqOl4Ocd9ud44Gu4O7cBy9IbjkkQ.cache +0 -0
  96. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SGLD5Pr7HkyVEZATRU-z-kKGGwGYymuCNxDpPGEsZzg.cache +0 -1
  97. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/TTCKPro6cWZKIfoTRB63JRQRyQuZlKdOeijR56L8--Y.cache +0 -2
  98. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/dUAuehXZdmXDdJFx-OEekBa74ByXuE62B9nPhzvBuoA.cache +0 -0
  99. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/hNc1HPAtJO9Hvys9JZdpya0PEZ741ttIxa9dSbi3ISI.cache +0 -1
  100. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/hXN-qkGyVkojQWaWxJkIwyKyljSiovzmtAwLHGJw1fs.cache +0 -2
  101. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/jg7KKp_a7n0YM40tVCUv2YW9CICzN97QOzjJa3ju3IU.cache +0 -1
  102. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/jwIY9Qs7rpAhDyt_5jYxjuxqSybmaPSKLAx1xIdr7MA.cache +0 -1
  103. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/k57paXcM7abK4GgsVukas7HCF_NqDA9ezu3ZyJvM3QY.cache +0 -2
  104. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/kPtyVNCVBRBTWb8AhaX5tBQx1-jZu2mEPB_Yop2kq58.cache +0 -2
  105. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/pvrS_fYOx2FRPgUwkKN_htt82GyCB9yDfZjJXrbzq68.cache +0 -0
  106. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/tKZwuDlBkMxPXiARypWO4tp-lxGKFUOm8uCDFkO1A2s.cache +0 -0
  107. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/uNtfvu15qYrODi5Lu1yzNWP3eIu6nO9_6n0vZBMYKco.cache +0 -1
  108. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/vE8MCHW_Gsy4wzrRs20FqWWi0QGy2A1fG6X4jx-E8iM.cache +0 -1
@@ -1,4 +1,4 @@
1
- Rails.application.configure do
1
+ Dummy::Application.configure do
2
2
  # Settings specified here will take precedence over those in config/application.rb.
3
3
 
4
4
  # The test environment is used exclusively to run your application's
@@ -12,9 +12,9 @@ Rails.application.configure do
12
12
  # preloads Rails for running tests, you may have to set it to true.
13
13
  config.eager_load = false
14
14
 
15
- # Configure static file server for tests with Cache-Control for performance.
16
- config.serve_static_files = true
17
- config.static_cache_control = 'public, max-age=3600'
15
+ # Configure static asset server for tests with Cache-Control for performance.
16
+ config.serve_static_assets = true
17
+ config.static_cache_control = "public, max-age=3600"
18
18
 
19
19
  # Show full error reports and disable caching.
20
20
  config.consider_all_requests_local = true
@@ -31,12 +31,6 @@ Rails.application.configure do
31
31
  # ActionMailer::Base.deliveries array.
32
32
  config.action_mailer.delivery_method = :test
33
33
 
34
- # Randomize the order test cases are executed.
35
- config.active_support.test_order = :random
36
-
37
34
  # Print deprecation notices to the stderr.
38
35
  config.active_support.deprecation = :stderr
39
-
40
- # Raises error for missing translations
41
- # config.action_view.raise_on_missing_translations = true
42
36
  end
@@ -2,3 +2,4 @@
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
@@ -0,0 +1,12 @@
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 your secret_key_base is kept private
11
+ # if you're sharing your code publicly.
12
+ Dummy::Application.config.secret_key_base = '64e4bbbb1c3c5d2dcf6d1208684f39f778a33e51b8758874487f593514e91e6e5d349fc7f71606d4287d1ba5d32a3d70d8116721f3779230d03b1a932990c5b5'
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
File without changes
@@ -1,4 +1,4 @@
1
- Rails.application.routes.draw do
1
+ Dummy::Application.routes.draw do
2
2
  # The priority is based upon order of creation: first created -> highest priority.
3
3
  # See how all your routes lay out with "rake routes".
4
4
 
File without changes
@@ -0,0 +1,7 @@
1
+ # This file should contain all the record creation needed to seed the database with its default values.
2
+ # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
3
+ #
4
+ # Examples:
5
+ #
6
+ # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
7
+ # Mayor.create(name: 'Emanuel', city: cities.first)
File without changes
@@ -0,0 +1,45 @@
1
+
2
+
3
+ Started GET "/" for 127.0.0.1 at 2015-06-18 20:16:03 +0900
4
+ Processing by PagesController#index as HTML
5
+ Rendered pages/index.html.erb within layouts/application (2.9ms)
6
+ Completed 200 OK in 1581ms (Views: 1566.9ms | ActiveRecord: 0.0ms)
7
+
8
+
9
+ Started GET "/" for 127.0.0.1 at 2015-06-18 20:16:07 +0900
10
+ Processing by PagesController#index as HTML
11
+ Rendered pages/index.html.erb within layouts/application (0.4ms)
12
+ Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms)
13
+
14
+
15
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-06-18 20:16:07 +0900
16
+
17
+
18
+ Started GET "/assets/pages.css?body=1" for 127.0.0.1 at 2015-06-18 20:16:07 +0900
19
+
20
+
21
+ Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2015-06-18 20:16:07 +0900
22
+
23
+
24
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-06-18 20:16:07 +0900
25
+
26
+
27
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-06-18 20:16:07 +0900
28
+
29
+
30
+ Started GET "/assets/pages.js?body=1" for 127.0.0.1 at 2015-06-18 20:16:07 +0900
31
+
32
+
33
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-06-18 20:16:07 +0900
34
+
35
+
36
+ Started GET "/" for 127.0.0.1 at 2015-06-18 20:16:10 +0900
37
+ Processing by PagesController#index as HTML
38
+ Rendered pages/index.html.erb within layouts/application (0.4ms)
39
+ Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms)
40
+
41
+
42
+ Started GET "/" for 127.0.0.1 at 2015-06-18 20:16:12 +0900
43
+ Processing by PagesController#index as HTML
44
+ Rendered pages/index.html.erb within layouts/application (0.4ms)
45
+ Completed 200 OK in 7ms (Views: 6.9ms | ActiveRecord: 0.0ms)
@@ -2,49 +2,49 @@
2
2
  ---------------------------------------------------------
3
3
  SquashWhitespaceTest: test_remove_whitespace_between_tags
4
4
  ---------------------------------------------------------
5
-  (0.1ms) rollback transaction
5
+  (0.0ms) rollback transaction
6
6
   (0.1ms) begin transaction
7
- ---------------------------------------------------------
8
- SquashWhitespaceTest: test_remove_whitespace_between_tags
9
- ---------------------------------------------------------
10
-  (0.2ms) rollback transaction
7
+ --------------------------------------------------
8
+ SquashWhitespaceTest: test_strip_whitespace_in_tag
9
+ --------------------------------------------------
10
+  (0.0ms) rollback transaction
11
11
   (0.1ms) begin transaction
12
12
  ---------------------------------------------------------
13
13
  SquashWhitespaceTest: test_remove_whitespace_between_tags
14
14
  ---------------------------------------------------------
15
15
   (0.1ms) rollback transaction
16
16
   (0.1ms) begin transaction
17
- ---------------------------------------------------
18
- SquashWhitespaceTest: test_remove_whitespace_in_tag
19
- ---------------------------------------------------
20
-  (0.1ms) rollback transaction
21
-  (0.1ms) begin transaction
22
- ---------------------------------------------------
23
- SquashWhitespaceTest: test_remove_whitespace_in_tag
24
- ---------------------------------------------------
25
-  (0.1ms) rollback transaction
26
-  (0.1ms) begin transaction
17
+ --------------------------------------------------
18
+ SquashWhitespaceTest: test_strip_whitespace_in_tag
19
+ --------------------------------------------------
20
+  (0.0ms) rollback transaction
21
+  (0.3ms) begin transaction
27
22
  ---------------------------------------------------------
28
23
  SquashWhitespaceTest: test_remove_whitespace_between_tags
29
24
  ---------------------------------------------------------
30
-  (0.0ms) rollback transaction
31
-  (0.1ms) begin transaction
25
+  (0.1ms) rollback transaction
26
+  (0.0ms) begin transaction
32
27
  --------------------------------------------------
33
28
  SquashWhitespaceTest: test_strip_whitespace_in_tag
34
29
  --------------------------------------------------
35
-  (0.1ms) rollback transaction
36
-  (0.1ms) begin transaction
30
+  (0.0ms) rollback transaction
31
+  (0.3ms) begin transaction
37
32
  ---------------------------------------------------------
38
33
  SquashWhitespaceTest: test_remove_whitespace_between_tags
39
34
  ---------------------------------------------------------
40
-  (0.0ms) rollback transaction
35
+  (0.1ms) rollback transaction
41
36
   (0.1ms) begin transaction
42
37
  --------------------------------------------------
43
38
  SquashWhitespaceTest: test_strip_whitespace_in_tag
44
39
  --------------------------------------------------
45
40
   (0.1ms) rollback transaction
46
-  (0.0ms) begin transaction
41
+  (0.3ms) begin transaction
47
42
  ---------------------------------------------------------
48
43
  SquashWhitespaceTest: test_remove_whitespace_between_tags
49
44
  ---------------------------------------------------------
45
+  (0.1ms) rollback transaction
46
+  (0.1ms) begin transaction
47
+ --------------------------------------------------
48
+ SquashWhitespaceTest: test_strip_whitespace_in_tag
49
+ --------------------------------------------------
50
50
   (0.0ms) rollback transaction
@@ -2,23 +2,17 @@
2
2
  <html>
3
3
  <head>
4
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
5
  <style>
7
6
  body {
8
7
  background-color: #EFEFEF;
9
8
  color: #2E2F30;
10
9
  text-align: center;
11
10
  font-family: arial, sans-serif;
12
- margin: 0;
13
11
  }
14
12
 
15
13
  div.dialog {
16
- width: 95%;
17
- max-width: 33em;
18
- margin: 4em auto 0;
19
- }
20
-
21
- div.dialog > div {
14
+ width: 25em;
15
+ margin: 4em auto 0 auto;
22
16
  border: 1px solid #CCC;
23
17
  border-right-color: #999;
24
18
  border-left-color: #999;
@@ -27,8 +21,7 @@
27
21
  border-top-left-radius: 9px;
28
22
  border-top-right-radius: 9px;
29
23
  background-color: white;
30
- padding: 7px 12% 0;
31
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
24
+ padding: 7px 4em 0 4em;
32
25
  }
33
26
 
34
27
  h1 {
@@ -37,19 +30,19 @@
37
30
  line-height: 1.5em;
38
31
  }
39
32
 
40
- div.dialog > p {
41
- margin: 0 0 1em;
42
- padding: 1em;
33
+ body > p {
34
+ width: 33em;
35
+ margin: 0 auto 1em;
36
+ padding: 1em 0;
43
37
  background-color: #F7F7F7;
44
38
  border: 1px solid #CCC;
45
39
  border-right-color: #999;
46
- border-left-color: #999;
47
40
  border-bottom-color: #999;
48
41
  border-bottom-left-radius: 4px;
49
42
  border-bottom-right-radius: 4px;
50
43
  border-top-color: #DADADA;
51
44
  color: #666;
52
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
45
+ box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
53
46
  }
54
47
  </style>
55
48
  </head>
@@ -57,11 +50,9 @@
57
50
  <body>
58
51
  <!-- This file lives in public/404.html -->
59
52
  <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>
53
+ <h1>The page you were looking for doesn't exist.</h1>
54
+ <p>You may have mistyped the address or the page may have moved.</p>
65
55
  </div>
56
+ <p>If you are the application owner check the logs for more information.</p>
66
57
  </body>
67
58
  </html>
@@ -2,23 +2,17 @@
2
2
  <html>
3
3
  <head>
4
4
  <title>The change you wanted was rejected (422)</title>
5
- <meta name="viewport" content="width=device-width,initial-scale=1">
6
5
  <style>
7
6
  body {
8
7
  background-color: #EFEFEF;
9
8
  color: #2E2F30;
10
9
  text-align: center;
11
10
  font-family: arial, sans-serif;
12
- margin: 0;
13
11
  }
14
12
 
15
13
  div.dialog {
16
- width: 95%;
17
- max-width: 33em;
18
- margin: 4em auto 0;
19
- }
20
-
21
- div.dialog > div {
14
+ width: 25em;
15
+ margin: 4em auto 0 auto;
22
16
  border: 1px solid #CCC;
23
17
  border-right-color: #999;
24
18
  border-left-color: #999;
@@ -27,8 +21,7 @@
27
21
  border-top-left-radius: 9px;
28
22
  border-top-right-radius: 9px;
29
23
  background-color: white;
30
- padding: 7px 12% 0;
31
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
24
+ padding: 7px 4em 0 4em;
32
25
  }
33
26
 
34
27
  h1 {
@@ -37,19 +30,19 @@
37
30
  line-height: 1.5em;
38
31
  }
39
32
 
40
- div.dialog > p {
41
- margin: 0 0 1em;
42
- padding: 1em;
33
+ body > p {
34
+ width: 33em;
35
+ margin: 0 auto 1em;
36
+ padding: 1em 0;
43
37
  background-color: #F7F7F7;
44
38
  border: 1px solid #CCC;
45
39
  border-right-color: #999;
46
- border-left-color: #999;
47
40
  border-bottom-color: #999;
48
41
  border-bottom-left-radius: 4px;
49
42
  border-bottom-right-radius: 4px;
50
43
  border-top-color: #DADADA;
51
44
  color: #666;
52
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
45
+ box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
53
46
  }
54
47
  </style>
55
48
  </head>
@@ -57,11 +50,9 @@
57
50
  <body>
58
51
  <!-- This file lives in public/422.html -->
59
52
  <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>
53
+ <h1>The change you wanted was rejected.</h1>
54
+ <p>Maybe you tried to change something you didn't have access to.</p>
65
55
  </div>
56
+ <p>If you are the application owner check the logs for more information.</p>
66
57
  </body>
67
58
  </html>
@@ -2,23 +2,17 @@
2
2
  <html>
3
3
  <head>
4
4
  <title>We're sorry, but something went wrong (500)</title>
5
- <meta name="viewport" content="width=device-width,initial-scale=1">
6
5
  <style>
7
6
  body {
8
7
  background-color: #EFEFEF;
9
8
  color: #2E2F30;
10
9
  text-align: center;
11
10
  font-family: arial, sans-serif;
12
- margin: 0;
13
11
  }
14
12
 
15
13
  div.dialog {
16
- width: 95%;
17
- max-width: 33em;
18
- margin: 4em auto 0;
19
- }
20
-
21
- div.dialog > div {
14
+ width: 25em;
15
+ margin: 4em auto 0 auto;
22
16
  border: 1px solid #CCC;
23
17
  border-right-color: #999;
24
18
  border-left-color: #999;
@@ -27,8 +21,7 @@
27
21
  border-top-left-radius: 9px;
28
22
  border-top-right-radius: 9px;
29
23
  background-color: white;
30
- padding: 7px 12% 0;
31
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
24
+ padding: 7px 4em 0 4em;
32
25
  }
33
26
 
34
27
  h1 {
@@ -37,19 +30,19 @@
37
30
  line-height: 1.5em;
38
31
  }
39
32
 
40
- div.dialog > p {
41
- margin: 0 0 1em;
42
- padding: 1em;
33
+ body > p {
34
+ width: 33em;
35
+ margin: 0 auto 1em;
36
+ padding: 1em 0;
43
37
  background-color: #F7F7F7;
44
38
  border: 1px solid #CCC;
45
39
  border-right-color: #999;
46
- border-left-color: #999;
47
40
  border-bottom-color: #999;
48
41
  border-bottom-left-radius: 4px;
49
42
  border-bottom-right-radius: 4px;
50
43
  border-top-color: #DADADA;
51
44
  color: #666;
52
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
45
+ box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
53
46
  }
54
47
  </style>
55
48
  </head>
@@ -57,10 +50,8 @@
57
50
  <body>
58
51
  <!-- This file lives in public/500.html -->
59
52
  <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>
53
+ <h1>We're sorry, but something went wrong.</h1>
64
54
  </div>
55
+ <p>If you are the application owner check the logs for more information.</p>
65
56
  </body>
66
57
  </html>
File without changes
@@ -0,0 +1,5 @@
1
+ # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
2
+ #
3
+ # To ban all spiders from the entire site uncomment the next two lines:
4
+ # User-agent: *
5
+ # Disallow: /
@@ -0,0 +1,4 @@
1
+ require 'test_helper'
2
+
3
+ class PagesHelperTest < ActionView::TestCase
4
+ end