delayed-web 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (165) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/delayed/web/application.css +8 -0
  3. data/app/controllers/delayed/web/jobs_controller.rb +5 -3
  4. data/app/views/delayed/web/jobs/index.html.erb +21 -15
  5. data/app/views/delayed/web/jobs/show.html.erb +16 -7
  6. data/app/views/layouts/delayed/web/application.html.erb +2 -2
  7. data/config/locales/en.yml +28 -0
  8. data/config/locales/fr.yml +38 -0
  9. data/lib/delayed/web/version.rb +1 -1
  10. data/spec/decorators/status_decorator_spec.rb +6 -6
  11. data/spec/dummy/{README.rdoc → README.md} +1 -5
  12. data/spec/dummy/Rakefile +2 -2
  13. data/spec/dummy/app/assets/config/manifest.js +3 -0
  14. data/spec/dummy/app/assets/javascripts/application.js +4 -4
  15. data/spec/dummy/app/assets/javascripts/cable.js +13 -0
  16. data/spec/dummy/app/assets/stylesheets/application.css +6 -4
  17. data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
  18. data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
  19. data/spec/dummy/app/controllers/application_controller.rb +0 -2
  20. data/spec/dummy/app/jobs/application_job.rb +2 -0
  21. data/spec/dummy/app/mailers/application_mailer.rb +4 -0
  22. data/spec/dummy/app/models/application_record.rb +3 -0
  23. data/spec/dummy/app/views/layouts/application.html.erb +9 -9
  24. data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
  25. data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
  26. data/spec/dummy/bin/rails +6 -1
  27. data/spec/dummy/bin/rake +5 -0
  28. data/spec/dummy/bin/setup +34 -0
  29. data/spec/dummy/bin/spring +16 -0
  30. data/spec/dummy/bin/update +29 -0
  31. data/spec/dummy/config/application.rb +3 -10
  32. data/spec/dummy/config/boot.rb +2 -4
  33. data/spec/dummy/config/cable.yml +9 -0
  34. data/spec/dummy/config/database.yml +8 -8
  35. data/spec/dummy/config/environment.rb +4 -4
  36. data/spec/dummy/config/environments/development.rb +30 -5
  37. data/spec/dummy/config/environments/production.rb +37 -31
  38. data/spec/dummy/config/environments/test.rb +10 -4
  39. data/spec/dummy/config/initializers/application_controller_renderer.rb +6 -0
  40. data/spec/dummy/config/initializers/assets.rb +11 -0
  41. data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
  42. data/spec/dummy/config/initializers/mime_types.rb +0 -1
  43. data/spec/dummy/config/initializers/new_framework_defaults.rb +24 -0
  44. data/spec/dummy/config/initializers/session_store.rb +1 -1
  45. data/spec/dummy/config/initializers/wrap_parameters.rb +2 -2
  46. data/spec/dummy/config/puma.rb +47 -0
  47. data/spec/dummy/config/routes.rb +1 -1
  48. data/spec/dummy/config/secrets.yml +22 -0
  49. data/spec/dummy/config/spring.rb +6 -0
  50. data/spec/dummy/config.ru +2 -1
  51. data/spec/dummy/db/seeds.rb +7 -0
  52. data/spec/dummy/db/test.sqlite3 +0 -0
  53. data/spec/dummy/log/test.log +204 -822
  54. data/spec/dummy/public/404.html +20 -11
  55. data/spec/dummy/public/422.html +20 -11
  56. data/spec/dummy/public/500.html +19 -10
  57. data/spec/dummy/{db/development.sqlite3 → public/apple-touch-icon-precomposed.png} +0 -0
  58. data/spec/dummy/public/apple-touch-icon.png +0 -0
  59. data/spec/dummy/public/robots.txt +5 -0
  60. data/spec/dummy/test/test_helper.rb +10 -0
  61. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/3C/3Cv7jqr37B61r7fqwxWvd--aHzAB16IMAayHCdzN1_g.cache +1 -0
  62. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/3P/3PKL-ltD66Q5Y9oZm0JIpPFHZf75lkBmlVbk9n7WR6I.cache +1 -0
  63. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/4m/4mhHV_JRYhfjwQYZFG20cAO2Yv8z7cdZoRUlJ6owO1c.cache +0 -0
  64. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5K/5KFS8PXte6qspqZGq4Ik9agJScJc_Ys1g-ixefnltcI.cache +0 -0
  65. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6P/6PAdvLeS3DeB7LpcsFOb87bJzAYrddbvfuIAEqHxRr4.cache +0 -0
  66. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8a/8a72QeNpJHbPUCGphl4N1wW0kFxMWXllo-u2nvciz74.cache +1 -0
  67. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8j/8jv9XEWjObSlnBUb83DYk5lPSXy9JzGTdFjKmd_pOnw.cache +1 -0
  68. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/91/91TzEwUN0SsFLD2vmfQyv29OYasnYot7CrpPBeEOX44.cache +1 -0
  69. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/94/949JQGJfq12pGFPu4fF-q9Te6Wk7V2j7ksBgcFuUR8I.cache +1 -0
  70. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/AU/AUA3gS85bXpXsnslrgEO60kZzw3QKiEvPj34pmZZG6E.cache +1 -0
  71. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ad/AdJT67m6XBdSd7gC1pokRugFBHboZeqqq3OYQ5dYWT0.cache +1 -0
  72. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/DX/DXG2b6gB-WaBv4wQGJdCQE__iNE63UVYxyNtcrAjCcU.cache +1 -0
  73. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/EW/EWoZeSbkURZ54Y5Szrj-sukzpD0HjCfzr0yrIeRePvo.cache +1 -0
  74. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/G5/G5-q7OsLYbfvD0s5M7s-KRg1SJnT2UzSkK2FNC9Q5VU.cache +1 -0
  75. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Gf/Gf0OYI2tDZrbozlwEYLC-iCsHnDbisQ0Y1xEY_wLHQg.cache +0 -0
  76. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Gn/Gn35l7xQ2vua3ieNdDqribJzx-BEva4QVF98P0ob8ZA.cache +2 -0
  77. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/K1/K1EkTPTNoxu6eLQ9AN3rQGQAbFnopRlTn0J5o445eRA.cache +1 -0
  78. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/KV/KVFOaVBVhJVQbMX6IXvE_1j6DLu6yKCfbB4FxcjP6R8.cache +0 -0
  79. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/P8/P8th7LiaH7S2vrLaIeLVGNk_T8iXKzaccxkFW3CQAGc.cache +1 -0
  80. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/QK/QK67I6WH5soH3-BepjA7XSImEsgSqMD4zXIgLLE2JMg.cache +1 -0
  81. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/QU/QUUCKuphTk6YAxxBa8_Kz0dYMxZU6P4dVIOBBaO4NMk.cache +1 -0
  82. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/QU/qUbGTe7jKhaorvxbqTXqKH45QNuaVWB1vZbQEwsOiR4.cache +0 -0
  83. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Rt/Rtpca6uY4Rs6zFrYCDsauwhzEs_P4gIvxIv2UMNrRxY.cache +1 -0
  84. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Z-/Z-TJQeNfTEJ8EDXao6Nxlz48PZmi_xoRWfhfnGQ0NYU.cache +1 -0
  85. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ZB/ZBE8xH4uyHFRIJCj8LdXoNrTIjtnztMPZ7rcdqezogQ.cache +1 -0
  86. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/_a/_akHKvx-uMH9FmNErU3Vi5XcLCo7CJfh5rjcQNydnS8.cache +0 -0
  87. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/aA/aAFx5TVwQU6iAk-JG8h_O5ngRr68qAsIwubnXKaIJGc.cache +0 -0
  88. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/aN/aNkMF8-xMh15Ab2-7tWDMjNhj6r6XEZmP5Jdhc8eAfw.cache +0 -0
  89. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ac/acIRZ_z48FdcAOlRAylyzdhcgpuOJGM9wchBfM56JUA.cache +1 -0
  90. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/az/azfjRgUybqVDwF2ot0VTGjDu55lsxZ1KypkR4OAaBZ0.cache +1 -0
  91. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/b_/b_Itlk9QZZd7Rvf8kcA4yLP1R5Acu7jB-m1xQiSU0qE.cache +2 -0
  92. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/cC/cCsxPpl4UrSeT4eOvOCA1uc6Hv8O32h1FEbOT_Xyhic.cache +1 -0
  93. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/eD/eD607zCIXcfyfzbBeuX-wWEWCsXHjGZlwSLjAfIZLN0.cache +1 -0
  94. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ej/ejS4QGmrI1_b-NTpODzgZDNC1VeMqcWVUFwMmkYUJUM.cache +1 -0
  95. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/fN/fN3kKJby4MjN6bpexF6d-ldfTY7mcNfMdGZcLPHQTQ0.cache +3 -0
  96. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/fQ/fQeT1Xd0PzU7h5vFqcc2dgxx0-zzNtUOQ0vxvO6p-Tw.cache +0 -0
  97. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/h1/h1GU-0qeLya2pEHQgSzKD2IdYVhQLKu6VUJtByhHrZs.cache +0 -0
  98. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/iY/iYCcSDP0P68F8YrSBfhw2CtXelF6ro1TBe8K38pJQmg.cache +1 -0
  99. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/iq/iqzznIUPx7d7xkHjvH-OeZYqYPkQejSVuSY2OS0nt7I.cache +1 -0
  100. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ko/koHIVW7nx6NcIhPHn4z4VvmxCeqTZ3jsK0IdQJ1kcQM.cache +3 -0
  101. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/lu/lu0ZeR4Y_5i0x6PunBsAggQQ0aRHCEP5JHAYfsi-QhY.cache +1 -0
  102. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/lw/lwVgPtoEth0lVl-y7I4DEbAWHOneHZIoWd-b6F-4uNI.cache +2 -0
  103. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/mO/mOObwfzdWhe0bB5sTXGPgimY8gUaCeZ3156FVFXhEPU.cache +1 -0
  104. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/mX/mX1nlsL_SWOB4y22W5FheRX0YEONKyOY7xUeIvRiHco.cache +2 -0
  105. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache +2 -0
  106. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache +2 -0
  107. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/oL/oLLF47_uZUr5PdnW7vWe5QNl6znWtaOcEWcLoaG3HLs.cache +1 -0
  108. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/od/odsKjb-ExbptlIaMkig5R2IwpYE0Xi29khsuiUpaAXs.cache +2 -0
  109. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/qs/qsTlkHl28VeA8BaZfNY_vDzzVNoADIYzzcnIHUMqElQ.cache +1 -0
  110. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/tF/tF9Dus_YFZMQCCuTOy40qRSzaxECyYo5TJjliTX_jCg.cache +1 -0
  111. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ta/taYjIR014qAQkTP5H0sSSDX974Xnd2isdO_7-6RnCwA.cache +1 -0
  112. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/uc/uc7KL4vaO-70xczRU2iUQlCjFly9Ke-JBSGN1Cki1B4.cache +1 -0
  113. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7PYh8DJvPykcEqpVab2vcY9-GFz-3cqtoMlRAu94Uc.cache +2 -0
  114. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xk/xkcbBc6Oe3RRvbySLku4lbT0q5k4EubOm2sJgtty-m4.cache +1 -0
  115. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yS/ySAKuC_inmnTJ4KWuPxtM0se8oxcbNlkMkLonCLCZyQ.cache +1 -0
  116. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yt/ytXZWiu2SP7inmw-oivEai4Ge9MrBLWwOk-zNBXPW7s.cache +1 -0
  117. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/zC/zCpLCebmg1K8c35pbk4t5MWrNjY5Uqjzl-KD6XnfjR8.cache +2 -0
  118. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/zz/zzIb-k4QN9TihbTa7_ky3UStcVAeCVv4xcQuObZaZlY.cache +1 -0
  119. data/spec/helpers/jobs_helper_spec.rb +1 -1
  120. data/spec/spec_helper.rb +0 -1
  121. metadata +175 -98
  122. data/spec/dummy/config/initializers/secret_token.rb +0 -12
  123. data/spec/dummy/log/development.log +0 -32486
  124. data/spec/dummy/tmp/cache/assets/development/sprockets/0332f562ff3e30cda56eb6010d3d4952 +0 -0
  125. data/spec/dummy/tmp/cache/assets/development/sprockets/075cd664f24b531d19fa91317ef97eec +0 -0
  126. data/spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  127. data/spec/dummy/tmp/cache/assets/development/sprockets/14530c1c82b7977b9d8c442d5954a6b1 +0 -0
  128. data/spec/dummy/tmp/cache/assets/development/sprockets/209d539bd215846261a8891dd525ec4a +0 -0
  129. data/spec/dummy/tmp/cache/assets/development/sprockets/2b6d7fa94bd05e45215f128721db34e3 +0 -0
  130. data/spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  131. data/spec/dummy/tmp/cache/assets/development/sprockets/342153d354456f6627073c2b6271db5a +0 -0
  132. data/spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  133. data/spec/dummy/tmp/cache/assets/development/sprockets/3c9123c2b52806585f33904c0f3111b0 +0 -0
  134. data/spec/dummy/tmp/cache/assets/development/sprockets/4db6b13287795e859f19978360c1fd0e +0 -0
  135. data/spec/dummy/tmp/cache/assets/development/sprockets/5469cff1c301f3271083dfef71ab1794 +0 -0
  136. data/spec/dummy/tmp/cache/assets/development/sprockets/7437b83a2bf92170949593c06096d785 +0 -0
  137. data/spec/dummy/tmp/cache/assets/development/sprockets/8fa08b833277f69ba9c690fccd8f5702 +0 -0
  138. data/spec/dummy/tmp/cache/assets/development/sprockets/a44209b0d8d5c66ceeef04dacbc7cf1b +0 -0
  139. data/spec/dummy/tmp/cache/assets/development/sprockets/a5108c801777656bd9063abb9849ad55 +0 -0
  140. data/spec/dummy/tmp/cache/assets/development/sprockets/ad4f58431d190a3f58b681aa163b5979 +0 -0
  141. data/spec/dummy/tmp/cache/assets/development/sprockets/ae02292af637b0ca9807b59076a87282 +0 -0
  142. data/spec/dummy/tmp/cache/assets/development/sprockets/b6232d3fa8288b4d714ae250bf4e7acc +0 -0
  143. data/spec/dummy/tmp/cache/assets/development/sprockets/ba98100d11384e930583f1385f48a94b +0 -0
  144. data/spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  145. data/spec/dummy/tmp/cache/assets/development/sprockets/d6e1313228ec89666a543b748171f6b6 +0 -0
  146. data/spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  147. data/spec/dummy/tmp/cache/assets/development/sprockets/d8f3c4e12078655828fafa63ef446a2e +0 -0
  148. data/spec/dummy/tmp/cache/assets/development/sprockets/e7905ee7f75f526588d5bed6996c2cde +0 -0
  149. data/spec/dummy/tmp/cache/assets/development/sprockets/ea9a9e3e949584a04377ce58b2fd61b6 +0 -0
  150. data/spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  151. data/spec/dummy/tmp/cache/assets/test/sprockets/14530c1c82b7977b9d8c442d5954a6b1 +0 -0
  152. data/spec/dummy/tmp/cache/assets/test/sprockets/209d539bd215846261a8891dd525ec4a +0 -0
  153. data/spec/dummy/tmp/cache/assets/test/sprockets/2b6d7fa94bd05e45215f128721db34e3 +0 -0
  154. data/spec/dummy/tmp/cache/assets/test/sprockets/3c9123c2b52806585f33904c0f3111b0 +0 -0
  155. data/spec/dummy/tmp/cache/assets/test/sprockets/4db6b13287795e859f19978360c1fd0e +0 -0
  156. data/spec/dummy/tmp/cache/assets/test/sprockets/7437b83a2bf92170949593c06096d785 +0 -0
  157. data/spec/dummy/tmp/cache/assets/test/sprockets/8fa08b833277f69ba9c690fccd8f5702 +0 -0
  158. data/spec/dummy/tmp/cache/assets/test/sprockets/a44209b0d8d5c66ceeef04dacbc7cf1b +0 -0
  159. data/spec/dummy/tmp/cache/assets/test/sprockets/ad4f58431d190a3f58b681aa163b5979 +0 -0
  160. data/spec/dummy/tmp/cache/assets/test/sprockets/ae02292af637b0ca9807b59076a87282 +0 -0
  161. data/spec/dummy/tmp/cache/assets/test/sprockets/b6232d3fa8288b4d714ae250bf4e7acc +0 -0
  162. data/spec/dummy/tmp/cache/assets/test/sprockets/d6e1313228ec89666a543b748171f6b6 +0 -0
  163. data/spec/dummy/tmp/cache/assets/test/sprockets/d8f3c4e12078655828fafa63ef446a2e +0 -0
  164. data/spec/dummy/tmp/cache/assets/test/sprockets/e7905ee7f75f526588d5bed6996c2cde +0 -0
  165. data/spec/dummy/tmp/cache/assets/test/sprockets/ea9a9e3e949584a04377ce58b2fd61b6 +0 -0
@@ -2,17 +2,23 @@
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">
5
6
  <style>
6
7
  body {
7
8
  background-color: #EFEFEF;
8
9
  color: #2E2F30;
9
10
  text-align: center;
10
11
  font-family: arial, sans-serif;
12
+ margin: 0;
11
13
  }
12
14
 
13
15
  div.dialog {
14
- width: 25em;
15
- margin: 4em auto 0 auto;
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
16
22
  border: 1px solid #CCC;
17
23
  border-right-color: #999;
18
24
  border-left-color: #999;
@@ -21,7 +27,8 @@
21
27
  border-top-left-radius: 9px;
22
28
  border-top-right-radius: 9px;
23
29
  background-color: white;
24
- padding: 7px 4em 0 4em;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
25
32
  }
26
33
 
27
34
  h1 {
@@ -30,19 +37,19 @@
30
37
  line-height: 1.5em;
31
38
  }
32
39
 
33
- body > p {
34
- width: 33em;
35
- margin: 0 auto 1em;
36
- padding: 1em 0;
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
37
43
  background-color: #F7F7F7;
38
44
  border: 1px solid #CCC;
39
45
  border-right-color: #999;
46
+ border-left-color: #999;
40
47
  border-bottom-color: #999;
41
48
  border-bottom-left-radius: 4px;
42
49
  border-bottom-right-radius: 4px;
43
50
  border-top-color: #DADADA;
44
51
  color: #666;
45
- box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
46
53
  }
47
54
  </style>
48
55
  </head>
@@ -50,9 +57,11 @@
50
57
  <body>
51
58
  <!-- This file lives in public/404.html -->
52
59
  <div class="dialog">
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>
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>
55
65
  </div>
56
- <p>If you are the application owner check the logs for more information.</p>
57
66
  </body>
58
67
  </html>
@@ -2,17 +2,23 @@
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">
5
6
  <style>
6
7
  body {
7
8
  background-color: #EFEFEF;
8
9
  color: #2E2F30;
9
10
  text-align: center;
10
11
  font-family: arial, sans-serif;
12
+ margin: 0;
11
13
  }
12
14
 
13
15
  div.dialog {
14
- width: 25em;
15
- margin: 4em auto 0 auto;
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
16
22
  border: 1px solid #CCC;
17
23
  border-right-color: #999;
18
24
  border-left-color: #999;
@@ -21,7 +27,8 @@
21
27
  border-top-left-radius: 9px;
22
28
  border-top-right-radius: 9px;
23
29
  background-color: white;
24
- padding: 7px 4em 0 4em;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
25
32
  }
26
33
 
27
34
  h1 {
@@ -30,19 +37,19 @@
30
37
  line-height: 1.5em;
31
38
  }
32
39
 
33
- body > p {
34
- width: 33em;
35
- margin: 0 auto 1em;
36
- padding: 1em 0;
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
37
43
  background-color: #F7F7F7;
38
44
  border: 1px solid #CCC;
39
45
  border-right-color: #999;
46
+ border-left-color: #999;
40
47
  border-bottom-color: #999;
41
48
  border-bottom-left-radius: 4px;
42
49
  border-bottom-right-radius: 4px;
43
50
  border-top-color: #DADADA;
44
51
  color: #666;
45
- box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
46
53
  }
47
54
  </style>
48
55
  </head>
@@ -50,9 +57,11 @@
50
57
  <body>
51
58
  <!-- This file lives in public/422.html -->
52
59
  <div class="dialog">
53
- <h1>The change you wanted was rejected.</h1>
54
- <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>
55
65
  </div>
56
- <p>If you are the application owner check the logs for more information.</p>
57
66
  </body>
58
67
  </html>
@@ -2,17 +2,23 @@
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">
5
6
  <style>
6
7
  body {
7
8
  background-color: #EFEFEF;
8
9
  color: #2E2F30;
9
10
  text-align: center;
10
11
  font-family: arial, sans-serif;
12
+ margin: 0;
11
13
  }
12
14
 
13
15
  div.dialog {
14
- width: 25em;
15
- margin: 4em auto 0 auto;
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
16
22
  border: 1px solid #CCC;
17
23
  border-right-color: #999;
18
24
  border-left-color: #999;
@@ -21,7 +27,8 @@
21
27
  border-top-left-radius: 9px;
22
28
  border-top-right-radius: 9px;
23
29
  background-color: white;
24
- padding: 7px 4em 0 4em;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
25
32
  }
26
33
 
27
34
  h1 {
@@ -30,19 +37,19 @@
30
37
  line-height: 1.5em;
31
38
  }
32
39
 
33
- body > p {
34
- width: 33em;
35
- margin: 0 auto 1em;
36
- padding: 1em 0;
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
37
43
  background-color: #F7F7F7;
38
44
  border: 1px solid #CCC;
39
45
  border-right-color: #999;
46
+ border-left-color: #999;
40
47
  border-bottom-color: #999;
41
48
  border-bottom-left-radius: 4px;
42
49
  border-bottom-right-radius: 4px;
43
50
  border-top-color: #DADADA;
44
51
  color: #666;
45
- box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
46
53
  }
47
54
  </style>
48
55
  </head>
@@ -50,8 +57,10 @@
50
57
  <body>
51
58
  <!-- This file lives in public/500.html -->
52
59
  <div class="dialog">
53
- <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>
54
64
  </div>
55
- <p>If you are the application owner check the logs for more information.</p>
56
65
  </body>
57
66
  </html>
File without changes
@@ -0,0 +1,5 @@
1
+ # See http://www.robotstxt.org/robotstxt.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,10 @@
1
+ ENV['RAILS_ENV'] ||= 'test'
2
+ require File.expand_path('../../config/environment', __FILE__)
3
+ require 'rails/test_help'
4
+
5
+ class ActiveSupport::TestCase
6
+ # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
7
+ fixtures :all
8
+
9
+ # Add more helper methods to be used by all tests here...
10
+ end
@@ -0,0 +1 @@
1
+ "%�d�-�K���`���8Y��3�͹/Y����a~K
@@ -0,0 +1 @@
1
+ "%��B�����șo�$'�A�d��L���xR�U
@@ -0,0 +1 @@
1
+ "%ח�FhY��=�Ȕ ��#!jV�_����G�
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=17579c375f1c2336bfcb28bac1499dd847266aecd3ddda9f21a5e77992b62d70:ET
@@ -0,0 +1 @@
1
+ I"}app/assets/stylesheets/application.css?type=text/css&id=1b22283ac9a62aafb5df434c17d0ecce583564eb0a72e2dd9a4e940ff231999c:ET
@@ -0,0 +1 @@
1
+ "%A�>��N�6�n���f��9��V�~K��
@@ -0,0 +1 @@
1
+ "%ח�FhY��=�Ȕ ��#!jV�_����G�
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=6a93bb8f9359650c13cc0f1a517b9b76b6394bf6815dd7e5a2e29cb545670528:ET
@@ -0,0 +1 @@
1
+ "%�aY}�)�vH`�=�T��y��-��0�@��g~�
@@ -0,0 +1 @@
1
+ "%��B�����șo�$'�A�d��L���xR�U
@@ -0,0 +1,2 @@
1
+ "%��T���l�
2
+ %�`H�!o��"��}�M�g�
@@ -0,0 +1 @@
1
+ "%��Rm�v�S3.��O�L���ڹc�ƕq�=_j�
@@ -0,0 +1 @@
1
+ "%A��G �{h t�l�m�V���NE���f���
@@ -0,0 +1 @@
1
+ "%b$���O��Cښܩ�K�0�k�t��Z�(ׇ�Jm)
@@ -0,0 +1 @@
1
+ I"�/Users/Tate/Code/thebestday/delayed-web/app/assets/stylesheets/delayed/web/application.css?type=text/css&id=46cd77d44b23fa1eb572a588e9a6e4d47a58ee97df871379f7225f3133045afa:ET
@@ -0,0 +1 @@
1
+ "%��B�����șo�$'�A�d��L���xR�U
@@ -0,0 +1 @@
1
+ "%�<������X���̀#+�����,�(o���
@@ -0,0 +1 @@
1
+ "%��B�����șo�$'�A�d��L���xR�U
@@ -0,0 +1 @@
1
+ "%�aY}�)�vH`�=�T��y��-��0�@��g~�
@@ -0,0 +1 @@
1
+ "%��Rm�v�S3.��O�L���ڹc�ƕq�=_j�
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash}"I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"8file-digest://app/assets/javascripts/application.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"kfile-digest:///Users/Tate/.gem/ruby/2.3.1/gems/actioncable-5.0.0.1/lib/assets/compiled/action_cable.js;TTI"2file-digest://app/assets/javascripts/cable.js;TTI"$file-digest://app/assets/config;TTI"1file-digest://app/assets/config/action_cable;TTI"$file-digest://app/assets/images;TTI"1file-digest://app/assets/images/action_cable;TTI")file-digest://app/assets/javascripts;TTI"6file-digest://app/assets/javascripts/action_cable;TTI")file-digest://app/assets/stylesheets;TTI"6file-digest://app/assets/stylesheets/action_cable;TTI",file-digest://vendor/assets/javascripts;TTI"9file-digest://vendor/assets/javascripts/action_cable;TTI",file-digest://vendor/assets/stylesheets;TTI"9file-digest://vendor/assets/stylesheets/action_cable;TTI"Qfile-digest:///Users/Tate/Code/thebestday/delayed-web/app/assets/stylesheets;TTI"^file-digest:///Users/Tate/Code/thebestday/delayed-web/app/assets/stylesheets/action_cable;TTI"Ofile-digest:///Users/Tate/Code/thebestday/delayed-web/vendor/assets/images;TTI"\file-digest:///Users/Tate/Code/thebestday/delayed-web/vendor/assets/images/action_cable;TTI"Tfile-digest:///Users/Tate/Code/thebestday/delayed-web/vendor/assets/stylesheets;TTI"afile-digest:///Users/Tate/Code/thebestday/delayed-web/vendor/assets/stylesheets/action_cable;TTI"[file-digest:///Users/Tate/.gem/ruby/2.3.1/gems/actioncable-5.0.0.1/lib/assets/compiled;TTI"hfile-digest:///Users/Tate/.gem/ruby/2.3.1/gems/actioncable-5.0.0.1/lib/assets/compiled/action_cable;TTI"2file-digest://app/assets/javascripts/channels;TTF
@@ -0,0 +1 @@
1
+ "%��B�����șo�$'�A�d��L���xR�U
@@ -0,0 +1 @@
1
+ "%��B�����șo�$'�A�d��L���xR�U
@@ -0,0 +1 @@
1
+ "%ח�FhY��=�Ȕ ��#!jV�_����G�
@@ -0,0 +1,3 @@
1
+ [o:Set:
2
+ @hash}
3
+ I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"kfile-digest:///Users/Tate/.gem/ruby/2.3.1/gems/actioncable-5.0.0.1/lib/assets/compiled/action_cable.js;TTF
@@ -0,0 +1 @@
1
+ "%-o ���.��ק��ӼkE���\���?[�+
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&id=e08bf90ca955612eb3abc96d3aa8282fc05b75bada76cb055e156053badce183:ET
@@ -0,0 +1,3 @@
1
+ [o:Set:
2
+ @hash}
3
+ I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"nfile-digest:///Users/Tate/Code/thebestday/delayed-web/vendor/assets/stylesheets/delayed/web/bootstrap.css;TTF
@@ -0,0 +1 @@
1
+ I"�/Users/Tate/Code/thebestday/delayed-web/app/assets/stylesheets/delayed/web/application.css?type=text/css&pipeline=self&id=cca168414ff3eca558a6bfe943256c21f9cbfe88759c71513426183454055643:ET
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash}I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"mfile-digest:///Users/Tate/Code/thebestday/delayed-web/app/assets/stylesheets/delayed/web/application.css;TTI"0file-digest://app/assets/config/delayed/web;TTI":file-digest://app/assets/config/delayed/web/bootstrap;TTI"0file-digest://app/assets/images/delayed/web;TTI":file-digest://app/assets/images/delayed/web/bootstrap;TTI"5file-digest://app/assets/javascripts/delayed/web;TTI"?file-digest://app/assets/javascripts/delayed/web/bootstrap;TTI"5file-digest://app/assets/stylesheets/delayed/web;TTI"?file-digest://app/assets/stylesheets/delayed/web/bootstrap;TTI"8file-digest://vendor/assets/javascripts/delayed/web;TTI"Bfile-digest://vendor/assets/javascripts/delayed/web/bootstrap;TTI"8file-digest://vendor/assets/stylesheets/delayed/web;TTI"Bfile-digest://vendor/assets/stylesheets/delayed/web/bootstrap;TTI"]file-digest:///Users/Tate/Code/thebestday/delayed-web/app/assets/stylesheets/delayed/web;TTI"gfile-digest:///Users/Tate/Code/thebestday/delayed-web/app/assets/stylesheets/delayed/web/bootstrap;TTI"[file-digest:///Users/Tate/Code/thebestday/delayed-web/vendor/assets/images/delayed/web;TTI"efile-digest:///Users/Tate/Code/thebestday/delayed-web/vendor/assets/images/delayed/web/bootstrap;TTI"`file-digest:///Users/Tate/Code/thebestday/delayed-web/vendor/assets/stylesheets/delayed/web;TTI"jfile-digest:///Users/Tate/Code/thebestday/delayed-web/vendor/assets/stylesheets/delayed/web/bootstrap;TTI"nfile-digest:///Users/Tate/Code/thebestday/delayed-web/vendor/assets/stylesheets/delayed/web/bootstrap.css;TTF
@@ -0,0 +1 @@
1
+ "%��B�����șo�$'�A�d��L���xR�U
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"9file-digest://app/assets/stylesheets/application.css;TTI")file-digest://app/assets/stylesheets;TTF
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"0processors:type=text/css&file_type=text/css;TTI"9file-digest://app/assets/stylesheets/application.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI")file-digest://app/assets/stylesheets;TTF
@@ -0,0 +1 @@
1
+ "%��B�����șo�$'�A�d��L���xR�U
@@ -0,0 +1,2 @@
1
+ "%��T���l�
2
+ %�`H�!o��"��}�M�g�
@@ -0,0 +1 @@
1
+ I"�/Users/Tate/Code/thebestday/delayed-web/vendor/assets/stylesheets/delayed/web/bootstrap.css?type=text/css&pipeline=self&id=8913fd5a8893cbacf1b7752e8c7e536623a63fb16bf6e554816d369e84500786:ET
@@ -0,0 +1 @@
1
+ "%�<������X���̀#+�����,�(o���
@@ -0,0 +1 @@
1
+ "%��y��L|�e���(���6��mk
@@ -0,0 +1 @@
1
+ I"�/Users/Tate/.gem/ruby/2.3.1/gems/actioncable-5.0.0.1/lib/assets/compiled/action_cable.js?type=application/javascript&pipeline=self&id=65742be5274f9b56cc60fc6358d4f4ea2e95480edd4dfa90861c116926a07b02:ET
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"2file-digest://app/assets/javascripts/cable.js;TTI"$file-digest://app/assets/config;TTI"1file-digest://app/assets/config/action_cable;TTI"$file-digest://app/assets/images;TTI"1file-digest://app/assets/images/action_cable;TTI")file-digest://app/assets/javascripts;TTI"6file-digest://app/assets/javascripts/action_cable;TTI")file-digest://app/assets/stylesheets;TTI"6file-digest://app/assets/stylesheets/action_cable;TTI",file-digest://vendor/assets/javascripts;TTI"9file-digest://vendor/assets/javascripts/action_cable;TTI",file-digest://vendor/assets/stylesheets;TTI"9file-digest://vendor/assets/stylesheets/action_cable;TTI"Qfile-digest:///Users/Tate/Code/thebestday/delayed-web/app/assets/stylesheets;TTI"^file-digest:///Users/Tate/Code/thebestday/delayed-web/app/assets/stylesheets/action_cable;TTI"Ofile-digest:///Users/Tate/Code/thebestday/delayed-web/vendor/assets/images;TTI"\file-digest:///Users/Tate/Code/thebestday/delayed-web/vendor/assets/images/action_cable;TTI"Tfile-digest:///Users/Tate/Code/thebestday/delayed-web/vendor/assets/stylesheets;TTI"afile-digest:///Users/Tate/Code/thebestday/delayed-web/vendor/assets/stylesheets/action_cable;TTI"[file-digest:///Users/Tate/.gem/ruby/2.3.1/gems/actioncable-5.0.0.1/lib/assets/compiled;TTI"hfile-digest:///Users/Tate/.gem/ruby/2.3.1/gems/actioncable-5.0.0.1/lib/assets/compiled/action_cable;TTI"kfile-digest:///Users/Tate/.gem/ruby/2.3.1/gems/actioncable-5.0.0.1/lib/assets/compiled/action_cable.js;TTI"2file-digest://app/assets/javascripts/channels;TTF
@@ -0,0 +1 @@
1
+ "%�H��� �%L] �3�.���k��j`D�<j
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/cable.js?type=application/javascript&pipeline=self&id=1610697f98bbb8a39abfc55cc0d025734f1b3a6716f159e07aab3fa5a6bbf3e9:ET
@@ -0,0 +1 @@
1
+ "%��Rm�v�S3.��O�L���ڹc�ƕq�=_j�
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash}I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"0processors:type=text/css&file_type=text/css;TTI"mfile-digest:///Users/Tate/Code/thebestday/delayed-web/app/assets/stylesheets/delayed/web/application.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"nfile-digest:///Users/Tate/Code/thebestday/delayed-web/vendor/assets/stylesheets/delayed/web/bootstrap.css;TTI"0file-digest://app/assets/config/delayed/web;TTI":file-digest://app/assets/config/delayed/web/bootstrap;TTI"0file-digest://app/assets/images/delayed/web;TTI":file-digest://app/assets/images/delayed/web/bootstrap;TTI"5file-digest://app/assets/javascripts/delayed/web;TTI"?file-digest://app/assets/javascripts/delayed/web/bootstrap;TTI"5file-digest://app/assets/stylesheets/delayed/web;TTI"?file-digest://app/assets/stylesheets/delayed/web/bootstrap;TTI"8file-digest://vendor/assets/javascripts/delayed/web;TTI"Bfile-digest://vendor/assets/javascripts/delayed/web/bootstrap;TTI"8file-digest://vendor/assets/stylesheets/delayed/web;TTI"Bfile-digest://vendor/assets/stylesheets/delayed/web/bootstrap;TTI"]file-digest:///Users/Tate/Code/thebestday/delayed-web/app/assets/stylesheets/delayed/web;TTI"gfile-digest:///Users/Tate/Code/thebestday/delayed-web/app/assets/stylesheets/delayed/web/bootstrap;TTI"[file-digest:///Users/Tate/Code/thebestday/delayed-web/vendor/assets/images/delayed/web;TTI"efile-digest:///Users/Tate/Code/thebestday/delayed-web/vendor/assets/images/delayed/web/bootstrap;TTI"`file-digest:///Users/Tate/Code/thebestday/delayed-web/vendor/assets/stylesheets/delayed/web;TTI"jfile-digest:///Users/Tate/Code/thebestday/delayed-web/vendor/assets/stylesheets/delayed/web/bootstrap;TTF
@@ -0,0 +1 @@
1
+ "%A��G �{h t�l�m�V���NE���f���
@@ -1,6 +1,6 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe Delayed::Web::JobsHelper do
3
+ describe Delayed::Web::JobsHelper, type: :helper do
4
4
  describe '#status_dom_class' do
5
5
  it 'is badge warning' do
6
6
  dom_class = helper.status_dom_class 'executing'
data/spec/spec_helper.rb CHANGED
@@ -4,7 +4,6 @@ require File.expand_path('../dummy/config/environment', __FILE__)
4
4
  require 'rspec/rails'
5
5
 
6
6
  RSpec.configure do |config|
7
- config.treat_symbols_as_metadata_keys_with_true_values = true
8
7
  config.run_all_when_everything_filtered = true
9
8
  config.filter_run :focus
10
9