noodall-components-promo-driver 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (178) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.markdown +27 -0
  3. data/Rakefile +37 -0
  4. data/app/models/promo_driver.rb +7 -0
  5. data/app/views/admin/components/_promo_driver.html.erb +28 -0
  6. data/app/views/components/_promo_driver.html.erb +7 -0
  7. data/config/routes.rb +2 -0
  8. data/lib/noodall-components-promo-driver.rb +4 -0
  9. data/lib/noodall-components-promo-driver/engine.rb +4 -0
  10. data/lib/noodall-components-promo-driver/version.rb +3 -0
  11. data/lib/tasks/cucumber.rake +65 -0
  12. data/lib/tasks/noodall-components-promo-driver_tasks.rake +4 -0
  13. data/test/dummy/Rakefile +7 -0
  14. data/test/dummy/app/assets/javascripts/application.js +9 -0
  15. data/test/dummy/app/assets/stylesheets/application.css +7 -0
  16. data/test/dummy/app/controllers/application_controller.rb +26 -0
  17. data/test/dummy/app/helpers/application_helper.rb +2 -0
  18. data/test/dummy/app/models/content_page.rb +8 -0
  19. data/test/dummy/app/models/user.rb +20 -0
  20. data/test/dummy/app/views/admin/nodes/_content_page.html.erb +45 -0
  21. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  22. data/test/dummy/app/views/nodes/content_page.html.erb +5 -0
  23. data/test/dummy/config.ru +4 -0
  24. data/test/dummy/config/application.rb +51 -0
  25. data/test/dummy/config/boot.rb +10 -0
  26. data/test/dummy/config/environment.rb +5 -0
  27. data/test/dummy/config/environments/development.rb +30 -0
  28. data/test/dummy/config/environments/production.rb +60 -0
  29. data/test/dummy/config/environments/test.rb +39 -0
  30. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  31. data/test/dummy/config/initializers/inflections.rb +10 -0
  32. data/test/dummy/config/initializers/mime_types.rb +5 -0
  33. data/test/dummy/config/initializers/noodall.rb +1 -0
  34. data/test/dummy/config/initializers/noodall_dragonfly.rb +8 -0
  35. data/test/dummy/config/initializers/secret_token.rb +7 -0
  36. data/test/dummy/config/initializers/session_store.rb +8 -0
  37. data/test/dummy/config/initializers/wrap_parameters.rb +10 -0
  38. data/test/dummy/config/locales/en.yml +5 -0
  39. data/test/dummy/config/mongo.yml +6 -0
  40. data/test/dummy/config/routes.rb +3 -0
  41. data/test/dummy/log/development.log +293 -0
  42. data/test/dummy/log/test.log +9350 -0
  43. data/test/dummy/public/404.html +26 -0
  44. data/test/dummy/public/422.html +26 -0
  45. data/test/dummy/public/500.html +26 -0
  46. data/test/dummy/public/favicon.ico +0 -0
  47. data/test/dummy/script/rails +6 -0
  48. data/test/dummy/tmp/cache/762/0A0/global_update_time +0 -0
  49. data/test/dummy/tmp/cache/assets/BE2/E60/sprockets%2F55067f311d087315e03077331d26e028 +0 -0
  50. data/test/dummy/tmp/cache/assets/C2D/C10/sprockets%2F87e8130740670602c57c54e49b83b894 +0 -0
  51. data/test/dummy/tmp/cache/assets/C3F/100/sprockets%2F2845142267d156034f45dba24bf32361 +0 -0
  52. data/test/dummy/tmp/cache/assets/C5A/5B0/sprockets%2F86125dc29915450b318756f64f20fd48 +0 -0
  53. data/test/dummy/tmp/cache/assets/C5E/130/sprockets%2F8991438883398e1a58219e4e51a30a4d +0 -0
  54. data/test/dummy/tmp/cache/assets/C65/790/sprockets%2Fd75630d87598dfb21776752319ba4927 +0 -0
  55. data/test/dummy/tmp/cache/assets/C68/230/sprockets%2F571229842c227999b6075f80fca884c8 +0 -0
  56. data/test/dummy/tmp/cache/assets/C6C/F20/sprockets%2F1837b772135524a80a0bb625a0de5742 +0 -0
  57. data/test/dummy/tmp/cache/assets/C76/2B0/sprockets%2F126cf6572926c982003162a19bdc13d5 +0 -0
  58. data/test/dummy/tmp/cache/assets/C77/130/sprockets%2F537589ec48406e3f388e706b5838769e +0 -0
  59. data/test/dummy/tmp/cache/assets/C7A/B90/sprockets%2F71c342132990e5b748d66b0553e0db27 +0 -0
  60. data/test/dummy/tmp/cache/assets/C96/C90/sprockets%2Fc5eb703a4001697530b7c23ac60810c6 +0 -0
  61. data/test/dummy/tmp/cache/assets/C97/B70/sprockets%2F6519957ddbd2767673bb95d606a61199 +0 -0
  62. data/test/dummy/tmp/cache/assets/C9A/0D0/sprockets%2F3b9159503e398e28f97b2974124fee57 +0 -0
  63. data/test/dummy/tmp/cache/assets/CA6/410/sprockets%2Fef8388dbe78e008986058725958190ef +0 -0
  64. data/test/dummy/tmp/cache/assets/CA8/F30/sprockets%2F6f04d767584667678b8f3e3fc9855a47 +0 -0
  65. data/test/dummy/tmp/cache/assets/CB1/6B0/sprockets%2F58efc71823f91325c05c8c42360960dc +0 -0
  66. data/test/dummy/tmp/cache/assets/CB1/730/sprockets%2F152a8a1114c77f39711d71689d7ec0d6 +0 -0
  67. data/test/dummy/tmp/cache/assets/CB3/740/sprockets%2Ffce48424be53115c14f227447db59863 +0 -0
  68. data/test/dummy/tmp/cache/assets/CB5/A70/sprockets%2F0350e8850873563a761f6dc5ded259c0 +0 -0
  69. data/test/dummy/tmp/cache/assets/CB8/830/sprockets%2F6d15d61315fa8568fa39d2c027a88916 +0 -0
  70. data/test/dummy/tmp/cache/assets/CCE/3D0/sprockets%2F790d32893a0b316ba466de51a222b34f +0 -0
  71. data/test/dummy/tmp/cache/assets/CD0/580/sprockets%2F70e413ba305520aa8c87548ac9651ce0 +0 -0
  72. data/test/dummy/tmp/cache/assets/CD5/FC0/sprockets%2F7f9cf004d2c80c6a63f2a94424c80340 +0 -0
  73. data/test/dummy/tmp/cache/assets/CD8/1F0/sprockets%2F90adc2b942bb96301b006f4354cf4598 +0 -0
  74. data/test/dummy/tmp/cache/assets/CD8/230/sprockets%2F3141ad3b37277e826ea29a4b115b96a9 +0 -0
  75. data/test/dummy/tmp/cache/assets/CDB/5D0/sprockets%2F300fd5a8253e6414d944d55b511f57fb +0 -0
  76. data/test/dummy/tmp/cache/assets/CDD/4A0/sprockets%2Ff2aca751685ee25d084b4ad330386593 +0 -0
  77. data/test/dummy/tmp/cache/assets/CDE/B50/sprockets%2F12892380f66b91104aae8c7bed18c716 +0 -0
  78. data/test/dummy/tmp/cache/assets/CDE/C30/sprockets%2Fb78528091c8ccc26f0111f07edf43079 +0 -0
  79. data/test/dummy/tmp/cache/assets/CE0/DA0/sprockets%2Fc5c93f348f53070f72ec86a0a4115f92 +0 -0
  80. data/test/dummy/tmp/cache/assets/CE8/F60/sprockets%2F2647e608a8c7d0d3282fe73d87321f5c +0 -0
  81. data/test/dummy/tmp/cache/assets/CE9/F90/sprockets%2F8d761696d5863c95abbf121b934ba843 +0 -0
  82. data/test/dummy/tmp/cache/assets/CEB/6F0/sprockets%2F8a9c046477aa5d6f52530628e8c5b86c +0 -0
  83. data/test/dummy/tmp/cache/assets/CEB/D60/sprockets%2F41b4deec96f01c9d219f791537383f34 +0 -0
  84. data/test/dummy/tmp/cache/assets/D02/5F0/sprockets%2F17be013f2e6b97d2085bd1e7232c135e +0 -0
  85. data/test/dummy/tmp/cache/assets/D06/330/sprockets%2F82f4b6bc86eb65234f1bc3611830b28b +0 -0
  86. data/test/dummy/tmp/cache/assets/D06/B50/sprockets%2Faff6355b6185736a000e1d15a518bfc9 +0 -0
  87. data/test/dummy/tmp/cache/assets/D07/CD0/sprockets%2F3c82a0061453786ad9da45970aaa4c9c +0 -0
  88. data/test/dummy/tmp/cache/assets/D09/920/sprockets%2F3646b0380d85365375dbd4e0b2f65bda +0 -0
  89. data/test/dummy/tmp/cache/assets/D09/BF0/sprockets%2F6f9e9a504c4216920c0b54c6c29ec4b2 +0 -0
  90. data/test/dummy/tmp/cache/assets/D0B/1A0/sprockets%2F9a63863ffbd86fbe042341155b24af06 +0 -0
  91. data/test/dummy/tmp/cache/assets/D0D/810/sprockets%2F957e06ca106e2c986f4c7215ed3a33d2 +0 -0
  92. data/test/dummy/tmp/cache/assets/D0F/AB0/sprockets%2Fe198de4b6ce18589140c11ca882f16c0 +0 -0
  93. data/test/dummy/tmp/cache/assets/D11/620/sprockets%2Ff592c2f0d3cbed11838d7524d64515b9 +0 -0
  94. data/test/dummy/tmp/cache/assets/D14/5F0/sprockets%2F1df9d9d3d1d7cc56a756226cb1062929 +0 -0
  95. data/test/dummy/tmp/cache/assets/D15/5A0/sprockets%2F7e27de352863addc1a359457e19c85b0 +0 -0
  96. data/test/dummy/tmp/cache/assets/D16/CB0/sprockets%2Fba4a4b9e0237cc07286fc9250f29489f +0 -0
  97. data/test/dummy/tmp/cache/assets/D17/220/sprockets%2Fc8a2974b2d3682a77144c282b7f9bef2 +0 -0
  98. data/test/dummy/tmp/cache/assets/D17/9E0/sprockets%2F160797c75a54422aed0ca864cee69d75 +0 -0
  99. data/test/dummy/tmp/cache/assets/D19/BA0/sprockets%2Ff927fe2855f7548278c3920ff21a0cab +0 -0
  100. data/test/dummy/tmp/cache/assets/D1B/590/sprockets%2Fb9d9d8891dd93182d53445065ec4ca0f +0 -0
  101. data/test/dummy/tmp/cache/assets/D1C/8B0/sprockets%2F6030883a75c8e4e950cf186a5a8e5bd9 +0 -0
  102. data/test/dummy/tmp/cache/assets/D1C/DF0/sprockets%2Fea7d61316225703ff1c9f897e69e1d1e +0 -0
  103. data/test/dummy/tmp/cache/assets/D1F/4F0/sprockets%2F009f7a6d835fda9ee4b37079c6490f80 +0 -0
  104. data/test/dummy/tmp/cache/assets/D23/690/sprockets%2Fcc680ab39854d539ce3ea16f829f9293 +0 -0
  105. data/test/dummy/tmp/cache/assets/D27/590/sprockets%2F2644fb3aa8b69005305c617b2f1ba0fc +0 -0
  106. data/test/dummy/tmp/cache/assets/D27/7D0/sprockets%2F0ec18603d92ab7ca45bf3ee3300760a2 +0 -0
  107. data/test/dummy/tmp/cache/assets/D2D/3E0/sprockets%2Fe6ea912977905c7ee5b866f9bd6e3166 +0 -0
  108. data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  109. data/test/dummy/tmp/cache/assets/D40/930/sprockets%2Fd5feaba5b454861d8d116d1a7782365e +0 -0
  110. data/test/dummy/tmp/cache/assets/D42/6C0/sprockets%2F0be91130150ca8c4b0bc551bba0b329a +0 -0
  111. data/test/dummy/tmp/cache/assets/D47/A30/sprockets%2Fa0b61151c676eb8f99f21db5aaa96887 +0 -0
  112. data/test/dummy/tmp/cache/assets/D48/BA0/sprockets%2F554eeae52375d4364fdb06d28e389a5d +0 -0
  113. data/test/dummy/tmp/cache/assets/D49/3B0/sprockets%2Fc72d397fef920408ea05cf2c817807fd +0 -0
  114. data/test/dummy/tmp/cache/assets/D4B/6A0/sprockets%2Fd5ef7de762d483790803d5ea92ccb543 +0 -0
  115. data/test/dummy/tmp/cache/assets/D4C/350/sprockets%2Fb3f1c16b7eee7839802cbe5566fd2593 +0 -0
  116. data/test/dummy/tmp/cache/assets/D50/D20/sprockets%2F98b742787a1d1be39cfc2de64c8690e4 +0 -0
  117. data/test/dummy/tmp/cache/assets/D52/DA0/sprockets%2Fcaf9c75a6f076be650f04098f789a7a6 +0 -0
  118. data/test/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4 +0 -0
  119. data/test/dummy/tmp/cache/assets/D57/9B0/sprockets%2Fc7d468d1c7555ced6f5f59c4d464814f +0 -0
  120. data/test/dummy/tmp/cache/assets/D5A/250/sprockets%2F5874bd6557c828efc5b91684d2d8dbd7 +0 -0
  121. data/test/dummy/tmp/cache/assets/D5B/E00/sprockets%2F1fe5a153e3faf713f11b3796f2cb1a20 +0 -0
  122. data/test/dummy/tmp/cache/assets/D5E/750/sprockets%2F848e1dc8fc0158e6aaa415732da11a5a +0 -0
  123. data/test/dummy/tmp/cache/assets/D60/940/sprockets%2Fb8238a1c204ec5ec14badf352c71369d +0 -0
  124. data/test/dummy/tmp/cache/assets/D61/880/sprockets%2F2fe14eb0aca562625edd9134a7356ec1 +0 -0
  125. data/test/dummy/tmp/cache/assets/D66/B80/sprockets%2F41bd17c8023ac91e6c164d5f735dc5db +0 -0
  126. data/test/dummy/tmp/cache/assets/D68/AE0/sprockets%2Fb0f73a7b2af62847f3afef98b002035d +0 -0
  127. data/test/dummy/tmp/cache/assets/D69/0C0/sprockets%2Fa5ad46dd4be6762f4ac6f0315583fd21 +0 -0
  128. data/test/dummy/tmp/cache/assets/D6A/1E0/sprockets%2F84a8d98bad85de10b5042f0cd0c73e55 +0 -0
  129. data/test/dummy/tmp/cache/assets/D6D/0C0/sprockets%2F581b0b7046dfcd26d8bb023a764fb9e8 +0 -0
  130. data/test/dummy/tmp/cache/assets/D6D/EF0/sprockets%2F8e71c1e48f3fbc6047a411ad954dd64b +0 -0
  131. data/test/dummy/tmp/cache/assets/D73/850/sprockets%2Fe4203af670fbd18c907ffdd2496b465c +0 -0
  132. data/test/dummy/tmp/cache/assets/D77/B00/sprockets%2F5f1d949ed01fc11d0d55c994f517e7cc +0 -0
  133. data/test/dummy/tmp/cache/assets/D78/D40/sprockets%2F964edd2750dc5a5cd08681dddcf08980 +0 -0
  134. data/test/dummy/tmp/cache/assets/D7A/690/sprockets%2F559ce9dd89cd16e5aac3a0a44958a358 +0 -0
  135. data/test/dummy/tmp/cache/assets/D7C/140/sprockets%2F8687b050c1ef291d64ebf9d66714eeaf +0 -0
  136. data/test/dummy/tmp/cache/assets/D84/1B0/sprockets%2F6fafa981bed589f7772431cf9c34a91e +0 -0
  137. data/test/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 +0 -0
  138. data/test/dummy/tmp/cache/assets/D85/1D0/sprockets%2F66fde86ccbc44f3c5b90a6424f8c4999 +0 -0
  139. data/test/dummy/tmp/cache/assets/D85/AD0/sprockets%2F6d97dbe78d01f72385928e8b54fbfcb3 +0 -0
  140. data/test/dummy/tmp/cache/assets/D85/BE0/sprockets%2Ffd99e09cceca14e956c16c05b9e67829 +0 -0
  141. data/test/dummy/tmp/cache/assets/D91/DA0/sprockets%2Fdf69fd1bfa3c7b863e435ab799779e78 +0 -0
  142. data/test/dummy/tmp/cache/assets/D9A/7A0/sprockets%2Fe30eea2c5d45e0fe5f7410a87c77c17a +0 -0
  143. data/test/dummy/tmp/cache/assets/D9B/C80/sprockets%2F045c1571fff5d9e29eab1a2e4533ecd5 +0 -0
  144. data/test/dummy/tmp/cache/assets/D9C/EE0/sprockets%2Fb169ffcd08484fa3037d1aa2268bdce8 +0 -0
  145. data/test/dummy/tmp/cache/assets/DA2/C00/sprockets%2F7fb05640479f729fda613baacfb3d7f4 +0 -0
  146. data/test/dummy/tmp/cache/assets/DA5/DC0/sprockets%2F5b2e91d47f333eda09c6a4793dd5fcd5 +0 -0
  147. data/test/dummy/tmp/cache/assets/DA6/FE0/sprockets%2Fd9ae81c1ae878a8f4f229a821ae2dc48 +0 -0
  148. data/test/dummy/tmp/cache/assets/DAB/D60/sprockets%2Ff75d62f9315ad483c7c3eddf465be7a4 +0 -0
  149. data/test/dummy/tmp/cache/assets/DB8/490/sprockets%2F0bd6d0b4f0976b866f82ddef96f7ae78 +0 -0
  150. data/test/dummy/tmp/cache/assets/DBF/0C0/sprockets%2F122c5b8dc9c5e2e32bc3c919da52a4bb +0 -0
  151. data/test/dummy/tmp/cache/assets/DC8/5A0/sprockets%2F741fb85aaa41ddd6626c7c6ae3e73ad3 +0 -0
  152. data/test/dummy/tmp/cache/assets/DC9/650/sprockets%2Fb3a862a9eb5f7552b5bafd62de350ce3 +0 -0
  153. data/test/dummy/tmp/cache/assets/DCA/3D0/sprockets%2F09e2ea7525cb06cfbadfe058b5c733f5 +0 -0
  154. data/test/dummy/tmp/cache/assets/DCC/620/sprockets%2F53b8e8a5f475e4b7bc9ce3ac50c1e15b +0 -0
  155. data/test/dummy/tmp/cache/assets/DCD/E20/sprockets%2F6646a1b31978fee6a4040abdd7dcbff5 +0 -0
  156. data/test/dummy/tmp/cache/assets/DF1/490/sprockets%2Fac06524de92ef1dbdaa3471ecd3a663f +0 -0
  157. data/test/dummy/tmp/cache/assets/DF2/F90/sprockets%2F0ed1cae186572728a5c7af6bb7abcba4 +0 -0
  158. data/test/dummy/tmp/cache/assets/DFA/160/sprockets%2Fe5f1dcbe7b61a2eb143837f54bebd6d5 +0 -0
  159. data/test/dummy/tmp/cache/assets/E01/DF0/sprockets%2F7deb50e8de167fdd3338603c5ecabc7e +0 -0
  160. data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  161. data/test/dummy/tmp/cache/assets/E06/1E0/sprockets%2Fcf4856bcddc8af06d5f1ee6a7b79d070 +0 -0
  162. data/test/dummy/tmp/cache/assets/E0A/730/sprockets%2Fbddaa7d4f07e6967cda47773abe9e4f1 +0 -0
  163. data/test/dummy/tmp/cache/assets/E10/AD0/sprockets%2Fcb5c5f3f84dfcf4a88bf557d0c848fb3 +0 -0
  164. data/test/dummy/tmp/cache/assets/E11/050/sprockets%2Ff5b2a6d9507ecefaf4af97a9f83a933f +0 -0
  165. data/test/dummy/tmp/cache/assets/E25/250/sprockets%2Fdd2c5faa7a0ccdfd53d8c7e84f02a623 +0 -0
  166. data/test/dummy/tmp/cache/assets/E28/660/sprockets%2Fadeea7d95a7e4772a4b5ac83cfc04cb2 +0 -0
  167. data/test/dummy/tmp/cache/assets/E3B/560/sprockets%2F58b59d9bfe3dcb9c3c1ad82d7feef216 +0 -0
  168. data/test/dummy/tmp/cache/assets/E58/720/sprockets%2F61efb8aa1ee84d2cccbde181c2ce199c +0 -0
  169. data/test/dummy/tmp/cache/assets/E6A/A90/sprockets%2Fcbb9a5c1bbee15ed877edf938c93ea7b +0 -0
  170. data/test/dummy/tmp/cache/assets/E76/7F0/sprockets%2Ffcad2b18a8cbd8ea73f27a2a04cf0aac +0 -0
  171. data/test/dummy/tmp/capybara/capybara-201112021714515675347267.html +22 -0
  172. data/test/dummy/tmp/capybara/capybara-201112021718075169183561.html +13 -0
  173. data/test/dummy/tmp/capybara/capybara-201112021720067651889246.html +24 -0
  174. data/test/dummy/tmp/capybara/capybara-201112021724179814196096.html +584 -0
  175. data/test/dummy/tmp/capybara/capybara-201112021732073144849648.html +15 -0
  176. data/test/dummy/tmp/capybara/capybara-201112021733381531617462.html +584 -0
  177. data/test/dummy/tmp/capybara/capybara-201112021737011978469071.html +25 -0
  178. metadata +415 -0
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
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; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/404.html -->
21
+ <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>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
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; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/422.html -->
21
+ <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>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/500.html -->
21
+ <div class="dialog">
22
+ <h1>We're sorry, but something went wrong.</h1>
23
+ <p>We've been notified about this issue and we'll take a look at it shortly.</p>
24
+ </div>
25
+ </body>
26
+ </html>
File without changes
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
@@ -0,0 +1,22 @@
1
+ <!DOCTYPE html>
2
+ <html xmlns="http://www.w3.org/1999/xhtml"><head>
3
+ <title>Dummy</title>
4
+ <link type="text/css" rel="stylesheet" media="screen" href="/assets/application.css" />
5
+ <script type="text/javascript" src="/assets/application.js"></script>
6
+
7
+ </head>
8
+ <body>
9
+
10
+ <h1>A new promo driver</h1>
11
+
12
+ <p>["Laborum ex repellat. Animi rerum sed magni nihil voluptatem et. Ad inventore quaerat ipsum maxime dolor voluptatem.", "Aliquam ea eos sint. Nesciunt illo tenetur eos tempore et. Eaque reiciendis quae in. Nihil minus et odit debitis aut aut voluptas. Aut rerum id quisquam laudantium qui.", "Nisi nulla voluptas sunt eos molestias aut. Ullam tempora cupiditate iste recusandae et enim tenetur. Voluptate rerum similique aliquid eos. Omnis corrupti deleniti optio ut architecto consequuntur. Doloremque corrupti commodi animi soluta est.", "Repellat dolorem qui animi et fugiat qui et. Dolorum dolor molestiae maiores nihil iure est. Et repellendus esse in nemo velit molestiae.", "Amet aut deleniti. Eligendi tenetur iure nemo. Dolores alias voluptatem quasi dolorem eos et odio. Fuga earum aut.", "Numquam eius delectus. Aspernatur corrupti quia sed. Neque incidunt doloremque dolorem sint."]</p>
13
+
14
+ <div class="component promo-driver small" id="small_slot_0">
15
+ <a alt="" href="http://www.example.com"><img src="/media/BAhbCFsHOgZmSSIdNGVkOTA3ODM3ZDYxNDM5Nzk3MDAwMDBkBjoGRVRbCDoGcDoKdGh1bWJJIg0yMDB4MTA4IwY7BlRbBzoGZToIanBn/landscape.jpg" alt="Landscape" /></a>
16
+ </div>
17
+
18
+
19
+
20
+
21
+
22
+ </body></html>
@@ -0,0 +1,13 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN">
2
+ <html xmlns="http://www.w3.org/1999/xhtml"><head><title>Internal Server Error</title></head>
3
+ <body>
4
+ <h1>Internal Server Error</h1>
5
+ undefined method `symbolize_keys!' for "http://www.example.com":String
6
+ <hr />
7
+ <address>
8
+ WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09) at
9
+ 127.0.0.1:57074
10
+ </address>
11
+
12
+
13
+ </body></html>
@@ -0,0 +1,24 @@
1
+ <!DOCTYPE html>
2
+ <html xmlns="http://www.w3.org/1999/xhtml"><head>
3
+ <title>Dummy</title>
4
+ <link type="text/css" rel="stylesheet" media="screen" href="/assets/application.css" />
5
+ <script type="text/javascript" src="/assets/application.js"></script>
6
+
7
+ </head>
8
+ <body>
9
+
10
+ <h1>A new promo driver</h1>
11
+
12
+ <p>["Cupiditate excepturi quia minima eaque in. Officia sapiente nulla autem officiis aliquid dolore quis. Et veritatis assumenda laboriosam corporis quos.", "Placeat rerum facere odit et molestiae et quidem. Ut consequuntur in. Qui aut alias perspiciatis omnis aliquam.", "Adipisci reiciendis non. Expedita minima fuga quia at occaecati ea. Deleniti placeat nesciunt aut. Adipisci fuga blanditiis esse error qui recusandae.", "Voluptas ut quia et repellendus. Repudiandae nulla unde deserunt. Doloremque sit voluptatum. Ut sunt saepe eius dolore. Sequi sed ducimus et ratione illo.", "Id recusandae quo molestias ut. Expedita aut ut qui id. Ea consequatur dolores ipsam voluptatem exercitationem totam. Cupiditate consectetur ut dolorum ratione ut.", "Alias aperiam officia voluptas vero. Voluptas pariatur est laudantium. Vel laboriosam aut quis ut labore tempore. Atque sed enim inventore labore explicabo. Dolor aut ut."]</p>
13
+
14
+ <div class="component promo-driver small" id="small_slot_0">
15
+ <a href="http://www.example.com"><img src="/media/BAhbCFsHOgZmSSIdNGVkOTA4YmU3ZDYxNDM5N2IzMDAwMDBkBjoGRVRbCDoGcDoKdGh1bWJJIg0yMDB4MTA4IwY7BlRbBzoGZToIanBn/landscape.jpg" alt="" /></a>
16
+ </div>
17
+
18
+
19
+
20
+
21
+
22
+
23
+
24
+ </body></html>