active_waiter 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (174) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +17 -1
  3. data/Rakefile +10 -0
  4. data/app/assets/javascripts/active_waiter/application.js +0 -3
  5. data/app/controllers/active_waiter/application_controller.rb +7 -0
  6. data/app/views/active_waiter/jobs/_reload.html.erb +1 -1
  7. data/lib/active_waiter/configuration.rb +17 -0
  8. data/lib/active_waiter/version.rb +1 -1
  9. data/lib/active_waiter.rb +1 -0
  10. metadata +8 -363
  11. data/test/active_waiter/job_test.rb +0 -40
  12. data/test/controllers/active_waiter/jobs_controller_test.rb +0 -81
  13. data/test/dummy/README.rdoc +0 -28
  14. data/test/dummy/Rakefile +0 -6
  15. data/test/dummy/app/assets/javascripts/application.js +0 -13
  16. data/test/dummy/app/assets/stylesheets/application.css +0 -15
  17. data/test/dummy/app/controllers/application_controller.rb +0 -5
  18. data/test/dummy/app/helpers/application_helper.rb +0 -2
  19. data/test/dummy/app/views/layouts/application.html.erb +0 -14
  20. data/test/dummy/bin/bundle +0 -3
  21. data/test/dummy/bin/rails +0 -4
  22. data/test/dummy/bin/rake +0 -4
  23. data/test/dummy/bin/setup +0 -29
  24. data/test/dummy/config/application.rb +0 -31
  25. data/test/dummy/config/boot.rb +0 -5
  26. data/test/dummy/config/environment.rb +0 -5
  27. data/test/dummy/config/environments/development.rb +0 -41
  28. data/test/dummy/config/environments/production.rb +0 -79
  29. data/test/dummy/config/environments/test.rb +0 -44
  30. data/test/dummy/config/initializers/assets.rb +0 -11
  31. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
  32. data/test/dummy/config/initializers/cookies_serializer.rb +0 -3
  33. data/test/dummy/config/initializers/filter_parameter_logging.rb +0 -4
  34. data/test/dummy/config/initializers/inflections.rb +0 -16
  35. data/test/dummy/config/initializers/mime_types.rb +0 -4
  36. data/test/dummy/config/initializers/session_store.rb +0 -3
  37. data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
  38. data/test/dummy/config/locales/en.yml +0 -23
  39. data/test/dummy/config/routes.rb +0 -4
  40. data/test/dummy/config/secrets.yml +0 -22
  41. data/test/dummy/config.ru +0 -4
  42. data/test/dummy/log/test.log +0 -7425
  43. data/test/dummy/public/404.html +0 -67
  44. data/test/dummy/public/422.html +0 -67
  45. data/test/dummy/public/500.html +0 -66
  46. data/test/dummy/public/favicon.ico +0 -0
  47. data/test/dummy/tmp/cache/53A/930/waiter%3Ahello +0 -1
  48. data/test/dummy/tmp/cache/54D/5C0/result%3Ahello +0 -1
  49. data/test/dummy/tmp/cache/623/7D0/progress%3Ahello +0 -1
  50. data/test/dummy/tmp/cache/815/000/active_waiter%3Ahello +0 -2
  51. data/test/dummy/tmp/cache/BC3/BB0/result%3A5476b414-8387-40bf-ae81-16f86a204581 +0 -1
  52. data/test/dummy/tmp/cache/BC6/630/result%3Adb3970e5-755d-4810-b660-d0b236826957 +0 -1
  53. data/test/dummy/tmp/cache/C32/BF0/result%3Af72e8b8d-512c-4819-a041-44877487cd7e +0 -1
  54. data/test/dummy/tmp/cache/C54/560/result%3Aa9598b7d-67f5-4253-a0c4-2035e567b4bc +0 -1
  55. data/test/dummy/tmp/cache/C61/C50/result%3A976614ea-ea80-4087-b8cc-e5f73f776503 +0 -1
  56. data/test/dummy/tmp/cache/C62/DE0/result%3A50288cd0-9cf2-4c5b-96b9-0458cf56e548 +0 -1
  57. data/test/dummy/tmp/cache/C74/C10/result%3Ae5bb8515-3939-4ef4-968b-a7f7d9d79273 +0 -1
  58. data/test/dummy/tmp/cache/C87/CE0/result%3A4af5f188-795f-476e-acbf-51208e17f030 +0 -1
  59. data/test/dummy/tmp/cache/C99/C60/progress%3A5476b414-8387-40bf-ae81-16f86a204581 +0 -1
  60. data/test/dummy/tmp/cache/C9C/6E0/progress%3Adb3970e5-755d-4810-b660-d0b236826957 +0 -1
  61. data/test/dummy/tmp/cache/CAE/6D0/result%3Abd42513f-7484-4dac-a91f-e00e398fd811 +0 -1
  62. data/test/dummy/tmp/cache/CB3/BF0/result%3Afda8e964-d054-48d8-8c0c-100d5736ae6b +0 -1
  63. data/test/dummy/tmp/cache/CB9/930/result%3A55536147-f9cd-42ba-8df2-f1b62f6af737 +0 -1
  64. data/test/dummy/tmp/cache/CC0/260/result%3A16ff29ac-f5ad-4397-a60f-64ae9917d573 +0 -1
  65. data/test/dummy/tmp/cache/CE4/110/result%3A35ee268a-c31f-4f47-87ee-cc1fa8622e13 +0 -1
  66. data/test/dummy/tmp/cache/D08/CA0/progress%3Af72e8b8d-512c-4819-a041-44877487cd7e +0 -1
  67. data/test/dummy/tmp/cache/D2A/610/progress%3Aa9598b7d-67f5-4253-a0c4-2035e567b4bc +0 -1
  68. data/test/dummy/tmp/cache/D2B/DC0/result%3Ad20d41eb-75cf-4bc0-b338-eb14e6e0e3d2 +0 -1
  69. data/test/dummy/tmp/cache/D33/5A0/result%3A16b07abb-16b1-4e4d-92b9-3dfd8bda18e2 +0 -1
  70. data/test/dummy/tmp/cache/D37/D00/progress%3A976614ea-ea80-4087-b8cc-e5f73f776503 +0 -1
  71. data/test/dummy/tmp/cache/D38/E90/progress%3A50288cd0-9cf2-4c5b-96b9-0458cf56e548 +0 -1
  72. data/test/dummy/tmp/cache/D4A/CC0/progress%3Ae5bb8515-3939-4ef4-968b-a7f7d9d79273 +0 -1
  73. data/test/dummy/tmp/cache/D5D/D90/progress%3A4af5f188-795f-476e-acbf-51208e17f030 +0 -1
  74. data/test/dummy/tmp/cache/D6C/2A0/result%3Afc8752e1-ead1-433f-af5c-f5c86cd2b1e3 +0 -1
  75. data/test/dummy/tmp/cache/D74/9E0/result%3A91eb5c23-5fc6-4c4f-a183-ccb1edeee859 +0 -1
  76. data/test/dummy/tmp/cache/D84/780/progress%3Abd42513f-7484-4dac-a91f-e00e398fd811 +0 -1
  77. data/test/dummy/tmp/cache/D89/CA0/progress%3Afda8e964-d054-48d8-8c0c-100d5736ae6b +0 -1
  78. data/test/dummy/tmp/cache/D8F/9E0/progress%3A55536147-f9cd-42ba-8df2-f1b62f6af737 +0 -1
  79. data/test/dummy/tmp/cache/D96/310/progress%3A16ff29ac-f5ad-4397-a60f-64ae9917d573 +0 -1
  80. data/test/dummy/tmp/cache/DBA/1C0/progress%3A35ee268a-c31f-4f47-87ee-cc1fa8622e13 +0 -1
  81. data/test/dummy/tmp/cache/E01/E70/progress%3Ad20d41eb-75cf-4bc0-b338-eb14e6e0e3d2 +0 -1
  82. data/test/dummy/tmp/cache/E09/650/progress%3A16b07abb-16b1-4e4d-92b9-3dfd8bda18e2 +0 -1
  83. data/test/dummy/tmp/cache/E42/350/progress%3Afc8752e1-ead1-433f-af5c-f5c86cd2b1e3 +0 -1
  84. data/test/dummy/tmp/cache/E4A/A90/progress%3A91eb5c23-5fc6-4c4f-a183-ccb1edeee859 +0 -1
  85. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/-FKgYemgnLPloA8L9_uc-qSP9Csz8KJeFy9-9tNbTYE.cache +0 -0
  86. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/-htuxusII34GUEa1Y1dhHlPMREKFFP0I9an-0fPai1Y.cache +0 -1
  87. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/0Lwyq9p8qx-NPHj2mBzAXHqSLjbAHDtNbuEcaVsLptI.cache +0 -1
  88. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/0e8ZJThcO34GZamk_QI5PgGHebcQ_Pg-lz0uqaXHT4E.cache +0 -1
  89. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/12TsG6XcaV1lKbmxnQVLDp8rypRI35yC0kFTDEj-sBs.cache +0 -0
  90. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1JbLVPcYaKgFjstM5eOonLAWxk_zH78g94H5Y_zoHaY.cache +0 -0
  91. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1eZUUEinxr0XtcAQd2B4BuriiH8qNhiC0CttyzvyRCY.cache +0 -2
  92. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1i1op13Ae3Pv4k56iSw0YYG1lOQbc3XOBK3M_74-INY.cache +0 -0
  93. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1k7k_fcUk4-GoIHaNQHejiRVZl-Pnd7vFXtQSTJGOho.cache +0 -1
  94. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/29tZrgfzuQRuwLaDKo1dFqObg71vcVS6kAK_QUP-MRE.cache +0 -0
  95. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2KG4HBSny8fUdnEqQVLHtl23H1QLtJLhqxrHD340nrc.cache +0 -0
  96. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2LUFqOewM3gnSHBnnPjlZCvuLOt2pIESv58AQV__tFo.cache +0 -0
  97. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/35hQ1jprgNu7eqmxxZIEldbtZXA7SK8F4B0jgYHdl-Q.cache +0 -0
  98. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/4EbIxUrr6TrMPFW6Oo6PAq9UGP8F6FTQQCLXXdoSC7A.cache +0 -1
  99. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/4rba5VAhpWBaRrigVIoX3CMVH_mr5S0J1HOhSA1fDQA.cache +0 -1
  100. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/5GH1Olvcwf17EORgb5bg_80CxlVWqdDw0dLCIdDsWgk.cache +0 -2
  101. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/5kF0rdn73jq7uGVfOkWCPEBcG4ZuxVlPySU7dGvT9PI.cache +0 -0
  102. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/6Yn3BKylqtbKOzQ9C4PQ5zE0ZhFna75Q4nQv2y0UpgQ.cache +0 -2
  103. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/7AuLNboANu8sU933nvR-LmFqEaIA2TE6qgVWDl7MfOU.cache +0 -0
  104. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ASrpInr95Fmk3jRbvXIv6pt3614NTBV0qzwJZ9ccyII.cache +0 -0
  105. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/B42UCwrGRs5FidWNj3E_UVOJZNiGpMEzZTheP7lo8Ps.cache +0 -0
  106. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/BuowtxnNzNFEmv6-Xj9DnLTC5Wg0_MXHBvrawKMOhLI.cache +0 -1
  107. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/C5Q9UkNcSexVplLeGzOXZr7Y2PXFwkXLIxYkWRvaNMY.cache +0 -1
  108. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/CMOXd13SQ0QgIVsZR3YQeHh3O8Flqgzy-JsjAMOzC_w.cache +0 -1
  109. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/C__9PeOYhrXzvcJuD4LBB7zfGKFtltFa79hylHbWTXw.cache +0 -1
  110. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/DodvXIBv4hgxwicUQdrUH7nu0904rqnKgWTgx2kbHI4.cache +0 -1
  111. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/E8041y9C4S50ps7cHRzwXZGBtxW86O52h_mWkRAeIJA.cache +0 -1
  112. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/El1vW7N-xrMuF8JBdzfXaGmrBhfZcL2fN6ZISaFVfYw.cache +0 -0
  113. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Fzx-E_HUicjxUBt89DMz0WBFKFtCzo6x7eN7sLMdXxc.cache +0 -0
  114. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/G-lodG1Jka671AODJnGT2D_KpCDYMF23db8C-Ha4GJk.cache +0 -0
  115. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/GKf1Y0SlVRCvDyThY-zOzdxO2HqIAoEjrYQNxuqpIzI.cache +0 -1
  116. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/IXeCSGIZR6GzJ9FdCIKJrhEaFk80fguISCBirw3jC34.cache +0 -1
  117. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/IbJ7BoE7lzLfA0j5vC9WYFWJDilBSEJzcRscE8waoeM.cache +0 -1
  118. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/JSGYqW-UHL6e6RNTmfohq4-cry4P7TMWxaFwnVAVVxg.cache +0 -0
  119. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/JaYRkmobWLox6QvYvDet0yRB2bh_Y0gCTZX5pLIkmK4.cache +0 -0
  120. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Jn9oLambmcCsbyxuo-yOUhxeT_QrKjkkmC1RXO13AFM.cache +0 -1
  121. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/K5XMSe6izrRbQ9YN5FSSrShUn6JkCrheJrfYPnNkGMQ.cache +0 -1
  122. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/N5ZMYm5OswvLSgQ_AVMivRPNcsmnfelrUvHNLwtiQLU.cache +0 -1
  123. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Nw_SGAnCeXZPfX43BQoj5xalMKODjLSfAmeEey5yIgQ.cache +0 -1
  124. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Oxshe88CWlagLX7crM67D-Eritvs_WkP-obQrcgFAgA.cache +0 -0
  125. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/PRLOxeuiC_y0aNo0xmkcbOxY4KFVJOXzZF2eOvtosoo.cache +0 -2
  126. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/SL3Dd3REfpOyQp5wOrm1VEK2afLWvUot5TsIuEgdKz8.cache +0 -1
  127. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/SkvA-zkM5fiG_Z3m4xSBnOMN0t0MfDg2U61j6azwess.cache +0 -0
  128. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/TBNBkl_ZOLQDtv-gF1D9uvkq8bS6Gq_vZxAMHVTS050.cache +0 -1
  129. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/TUZA45lyJBN3k4Aue4bBuj0hy67ZU1LBHiGSlNBtQWI.cache +0 -1
  130. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/UQsWaS8SdBZawmxULjtQ4LKlQISQwQNvLaP-JZxDfwA.cache +0 -0
  131. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/VOp0pIv_pTt1jyD5JQn5Ee721CyQFQTGdnz4ODw38i4.cache +0 -0
  132. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/VzJx82ecMrJphuCCeiKWdDlGeylJJOwwaW09VFmZB3o.cache +0 -1
  133. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/W4U-CePEC2ibeKajQoPowD7fNNoNHOGQKaMrtYyHkoY.cache +0 -2
  134. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/W6SWsBkl4GgPWdz_vi7v9WtOuH3GLVJ6PaO_KoCsJ5Y.cache +0 -0
  135. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/XVCtbPtjn02Czn4Q63QqJFs2UBTG0J31UJis5NC53TA.cache +0 -1
  136. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/YzWqeojadVEyPKiS_1cXuTsQI_nBqoyudANUPEeT7iI.cache +0 -0
  137. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/c-ws04jyEpjpgrAM4OdXB0x0qW4Ep95GQK5fbF2T01Q.cache +0 -2
  138. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/d1tT5anqym_5U_MyM1RiPU8QzUSlrSpLlcLOwH97z-c.cache +0 -0
  139. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/dxjsm7OjfSnkDTyVe4gy-or9j9-Qs5A7ubSilTokIEI.cache +0 -1
  140. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/eqwweAC_8mWnErE-TujdV4BxweHy1WNLbWj2YidR-ZY.cache +0 -1
  141. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/gTt4YDzVktx4phYuvI3nYi03tVIdHtgz7xE0z7RCSgE.cache +0 -1
  142. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/h5QBK-or8YaALTEoyqFHZz2VeHEPDCHp73cpS6_tNDo.cache +0 -0
  143. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hgNUJ9G6XRgrtvRqHLiLvK0QJr3q2tUlX5JeK2SLheM.cache +0 -1
  144. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hhBSpRKMFrogXpJ1r8m53q-3gHdfEzh-HtSswRlFsrY.cache +0 -1
  145. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hn9puRfcK2PWlIceCkiVNetEiEiZI_Xaq2mmYFpZMJc.cache +0 -0
  146. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/izPiTwUCbh9tpfMATrY5pCxFHFL43Uu0WOf_kGoMTNs.cache +0 -1
  147. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/k3IFF3lBYfhNvTJ0PAGS2rIgRVgqjIaOHEcaFCGXURM.cache +0 -1
  148. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/kLLMXTC-18NrDRsqntkF7ARIQvfhoxsA30wuspwxBTQ.cache +0 -0
  149. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/l0Csu8J1O507Eq8qu4LdcN__P6XPTn993bEXlWzBL3g.cache +0 -1
  150. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/lDkv8BcV-iihUA36K3Ab-62Gfk9ZYxpiDsx1QQLn3us.cache +0 -3
  151. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/lME5t2GT7fpXK4W11EYQWhLcGccGkaJYLdbsba2VPjg.cache +0 -1
  152. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/lQbWXQg4tKjoJ8PqCmsJ4ulo_8K4f6Q0k--85ma6W3M.cache +0 -1
  153. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/oRe84XQAcuwON-4A4JZ_8kwLG1VcUKHgXgoV_JDFQ28.cache +0 -3
  154. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/oTDuis4oHgPfw4tzdw_hYlQngc-fB51xu6-WN8m64u0.cache +0 -1
  155. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/oTtT66b4H6sUVGlcSiQzW3gyflWZAX5N8wkTJX_daz8.cache +0 -0
  156. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/p-yWOgy4KbA5EUfA7Q29zG7YO6SltgK2elQKrX5F2Gw.cache +0 -1
  157. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/p89pJmdIHJvvuTTbcO6MlN77ioNCEuT5SvpKRPiWEZQ.cache +0 -1
  158. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ph5en-XzdEV6YDijatKQkcYBqeFzMb2JDIzs0Qc8EQo.cache +0 -2
  159. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/q4BTUSEQuQqrn5MVI602Bk8jfNEiIMiY9bwtc_3JyeY.cache +0 -1
  160. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/q87JrLqyTCkCQuUF--CLYabb86fA_x_QAOV9IwDbvh8.cache +0 -0
  161. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/qS92oIZtCKj1ab2uoPB6fm5AWt1VzSjhHu8MHse1gq0.cache +0 -0
  162. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/qehskb4sC2FPUhJlhZVDIWEFGyIJrfHJy-CfmphdFns.cache +0 -0
  163. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/sZS0qKF_2iAHdwVD393APebXubqHUsUtE69Q7r8f1yE.cache +0 -1
  164. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ss9-Jy6X2CYapTa3-AmaqJHooTl__r4L-2AlSA7r064.cache +0 -2
  165. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/t6hRcxh4_1vIzOkNR8o3EdeaZVGSiAyoN3kQuaCo7SQ.cache +0 -1
  166. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/xGvF1Ontkjr6KFr90zUF-XMlQOapQmFbUn6Tx88mA6Q.cache +0 -3
  167. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/yD6dVn7E7d6dwJq8Vpkc8T_UEsSCKDHk-T7tZC5o0tk.cache +0 -0
  168. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/yEGgprrlwc4ukQ7E6vpuEu3-kOSQjKiXj-DsOzQSNXc.cache +0 -0
  169. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/yLOoNONzDnmCO_K_ZKrI0FRRjxXxITJLlEZNch9_PWs.cache +0 -2
  170. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/yS5gM0yLsgOKvJPwitPGmumYfB2zzWlEqZor91CJQbE.cache +0 -0
  171. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/yaK012jvbbVi8IYuzZg5oTLpFef3Nh7cVnw57TIbeXk.cache +0 -1
  172. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/zMFlf0XznowhcZypOSUD8pcejjdcSdiJ8OVbh0TsTiE.cache +0 -2
  173. data/test/integration/navigation_test.rb +0 -10
  174. data/test/test_helper.rb +0 -20
@@ -1,81 +0,0 @@
1
- require 'test_helper'
2
- require 'minitest/mock'
3
-
4
- class RedirectJob < ActiveJob::Base
5
- include ActiveWaiter::Job
6
-
7
- def perform
8
- "http://other.com/12345"
9
- end
10
- end
11
-
12
- class ActiveWaiter::JobsControllerTest < ActionDispatch::IntegrationTest
13
- include ActiveJob::TestHelper
14
-
15
- def setup
16
- @routes = ActiveWaiter::Engine.routes
17
- end
18
-
19
- def teardown
20
- clear_enqueued_jobs
21
- end
22
-
23
- def test_show_non_existent
24
- assert_raises ActionController::RoutingError do
25
- get '/active_waiter', id: "nosuchjob"
26
- end
27
- end
28
-
29
- def test_show_started
30
- ActiveWaiter.stub :next_uuid, uid do
31
- assert_equal uid, ActiveWaiter.enqueue(RedirectJob)
32
- get '/active_waiter', id: uid
33
- assert_equal 200, status
34
- assert_match "Please wait", document_root_element.to_s
35
- end
36
- end
37
-
38
- def test_show_error
39
- ActiveWaiter.write(uid, error: "oops")
40
- get '/active_waiter', id: uid
41
- assert_equal 500, status
42
- assert_match "oops", document_root_element.to_s
43
- end
44
-
45
- def test_show_progress
46
- ActiveWaiter.write(uid, percentage: 42)
47
- get '/active_waiter', id: uid
48
- assert_equal 200, status
49
- assert_match "42%", document_root_element.to_s
50
- end
51
-
52
- def test_show_completed_download
53
- ActiveWaiter.stub :next_uuid, uid do
54
- perform_enqueued_jobs do
55
- assert_equal uid, ActiveWaiter.enqueue(RedirectJob)
56
- get '/active_waiter', id: uid, download: 1
57
- assert_equal 200, status
58
- link = document_root_element.css("a[href='http://other.com/12345']").first
59
- assert link, "missing hyperlink to returned value"
60
- assert_match "Click", link.text
61
- end
62
- end
63
- end
64
-
65
- def test_show_completed_redirect
66
- ActiveWaiter.stub :next_uuid, uid do
67
- perform_enqueued_jobs do
68
- assert_equal uid, ActiveWaiter.enqueue(RedirectJob)
69
- get '/active_waiter', id: uid
70
- assert_equal 302, status
71
- assert_equal "http://other.com/12345", response.location
72
- end
73
- end
74
- end
75
-
76
- private
77
-
78
- def uid
79
- "hello"
80
- end
81
- end
@@ -1,28 +0,0 @@
1
- == README
2
-
3
- This README would normally document whatever steps are necessary to get the
4
- application up and running.
5
-
6
- Things you may want to cover:
7
-
8
- * Ruby version
9
-
10
- * System dependencies
11
-
12
- * Configuration
13
-
14
- * Database creation
15
-
16
- * Database initialization
17
-
18
- * How to run the test suite
19
-
20
- * Services (job queues, cache servers, search engines, etc.)
21
-
22
- * Deployment instructions
23
-
24
- * ...
25
-
26
-
27
- Please feel free to use a different markup language if you do not plan to run
28
- <tt>rake doc:app</tt>.
data/test/dummy/Rakefile DELETED
@@ -1,6 +0,0 @@
1
- # Add your own tasks in files placed in lib/tasks ending in .rake,
2
- # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3
-
4
- require File.expand_path('../config/application', __FILE__)
5
-
6
- Rails.application.load_tasks
@@ -1,13 +0,0 @@
1
- // This is a manifest file that'll be compiled into application.js, which will include all the files
2
- // listed below.
3
- //
4
- // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
- // or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
6
- //
7
- // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
- // compiled file.
9
- //
10
- // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11
- // about supported directives.
12
- //
13
- //= require_tree .
@@ -1,15 +0,0 @@
1
- /*
2
- * This is a manifest file that'll be compiled into application.css, which will include all the files
3
- * listed below.
4
- *
5
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
7
- *
8
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
- * compiled file so the styles you add here take precedence over styles defined in any styles
10
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
11
- * file per style scope.
12
- *
13
- *= require_tree .
14
- *= require_self
15
- */
@@ -1,5 +0,0 @@
1
- class ApplicationController < ActionController::Base
2
- # Prevent CSRF attacks by raising an exception.
3
- # For APIs, you may want to use :null_session instead.
4
- protect_from_forgery with: :exception
5
- end
@@ -1,2 +0,0 @@
1
- module ApplicationHelper
2
- end
@@ -1,14 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Dummy</title>
5
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
6
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
7
- <%= csrf_meta_tags %>
8
- </head>
9
- <body>
10
-
11
- <%= yield %>
12
-
13
- </body>
14
- </html>
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
3
- load Gem.bin_path('bundler', 'bundle')
data/test/dummy/bin/rails DELETED
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env ruby
2
- APP_PATH = File.expand_path('../../config/application', __FILE__)
3
- require_relative '../config/boot'
4
- require 'rails/commands'
data/test/dummy/bin/rake DELETED
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require_relative '../config/boot'
3
- require 'rake'
4
- Rake.application.run
data/test/dummy/bin/setup DELETED
@@ -1,29 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require 'pathname'
3
-
4
- # path to your application root.
5
- APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
6
-
7
- Dir.chdir APP_ROOT do
8
- # This script is a starting point to setup your application.
9
- # Add necessary setup steps to this file:
10
-
11
- puts "== Installing dependencies =="
12
- system "gem install bundler --conservative"
13
- system "bundle check || bundle install"
14
-
15
- # puts "\n== Copying sample files =="
16
- # unless File.exist?("config/database.yml")
17
- # system "cp config/database.yml.sample config/database.yml"
18
- # end
19
-
20
- puts "\n== Preparing database =="
21
- system "bin/rake db:setup"
22
-
23
- puts "\n== Removing old logs and tempfiles =="
24
- system "rm -f log/*"
25
- system "rm -rf tmp/cache"
26
-
27
- puts "\n== Restarting application server =="
28
- system "touch tmp/restart.txt"
29
- end
@@ -1,31 +0,0 @@
1
- require File.expand_path('../boot', __FILE__)
2
-
3
- require "action_controller/railtie"
4
- require "action_mailer/railtie"
5
- require "sprockets/railtie"
6
- require "rails/test_unit/railtie"
7
-
8
- Bundler.require(*Rails.groups)
9
- require "active_waiter"
10
-
11
- module Dummy
12
- class Application < Rails::Application
13
- # Settings in config/environments/* take precedence over those specified here.
14
- # Application configuration should go into files in config/initializers
15
- # -- all .rb files in that directory are automatically loaded.
16
-
17
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
18
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
19
- # config.time_zone = 'Central Time (US & Canada)'
20
-
21
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
22
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
23
- # config.i18n.default_locale = :de
24
-
25
- # Do not swallow errors in after_commit/after_rollback callbacks.
26
- # config.active_record.raise_in_transactional_callbacks = true
27
- end
28
- end
29
-
30
- require 'jquery-rails'
31
- require 'turbolinks'
@@ -1,5 +0,0 @@
1
- # Set up gems listed in the Gemfile.
2
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../../Gemfile', __FILE__)
3
-
4
- require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
5
- $LOAD_PATH.unshift File.expand_path('../../../../lib', __FILE__)
@@ -1,5 +0,0 @@
1
- # Load the Rails application.
2
- require File.expand_path('../application', __FILE__)
3
-
4
- # Initialize the Rails application.
5
- Rails.application.initialize!
@@ -1,41 +0,0 @@
1
- Rails.application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb.
3
-
4
- # In the development environment your application's code is reloaded on
5
- # every request. This slows down response time but is perfect for development
6
- # since you don't have to restart the web server when you make code changes.
7
- config.cache_classes = false
8
-
9
- # Do not eager load code on boot.
10
- config.eager_load = false
11
-
12
- # Show full error reports and disable caching.
13
- config.consider_all_requests_local = true
14
- config.action_controller.perform_caching = false
15
-
16
- # Don't care if the mailer can't send.
17
- config.action_mailer.raise_delivery_errors = false
18
-
19
- # Print deprecation notices to the Rails logger.
20
- config.active_support.deprecation = :log
21
-
22
- # Raise an error on page load if there are pending migrations.
23
- config.active_record.migration_error = :page_load
24
-
25
- # Debug mode disables concatenation and preprocessing of assets.
26
- # This option may cause significant delays in view rendering with a large
27
- # number of complex assets.
28
- config.assets.debug = true
29
-
30
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
31
- # yet still be able to expire them through the digest params.
32
- config.assets.digest = true
33
-
34
- # Adds additional error checking when serving assets at runtime.
35
- # Checks for improperly declared sprockets dependencies.
36
- # Raises helpful error messages.
37
- config.assets.raise_runtime_errors = true
38
-
39
- # Raises error for missing translations
40
- # config.action_view.raise_on_missing_translations = true
41
- end
@@ -1,79 +0,0 @@
1
- Rails.application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb.
3
-
4
- # Code is not reloaded between requests.
5
- config.cache_classes = true
6
-
7
- # Eager load code on boot. This eager loads most of Rails and
8
- # your application in memory, allowing both threaded web servers
9
- # and those relying on copy on write to perform better.
10
- # Rake tasks automatically ignore this option for performance.
11
- config.eager_load = true
12
-
13
- # Full error reports are disabled and caching is turned on.
14
- config.consider_all_requests_local = false
15
- config.action_controller.perform_caching = true
16
-
17
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
18
- # Add `rack-cache` to your Gemfile before enabling this.
19
- # For large-scale production use, consider using a caching reverse proxy like
20
- # NGINX, varnish or squid.
21
- # config.action_dispatch.rack_cache = true
22
-
23
- # Disable serving static files from the `/public` folder by default since
24
- # Apache or NGINX already handles this.
25
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
26
-
27
- # Compress JavaScripts and CSS.
28
- config.assets.js_compressor = :uglifier
29
- # config.assets.css_compressor = :sass
30
-
31
- # Do not fallback to assets pipeline if a precompiled asset is missed.
32
- config.assets.compile = false
33
-
34
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
35
- # yet still be able to expire them through the digest params.
36
- config.assets.digest = true
37
-
38
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
39
-
40
- # Specifies the header that your server uses for sending files.
41
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
42
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
43
-
44
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
45
- # config.force_ssl = true
46
-
47
- # Use the lowest log level to ensure availability of diagnostic information
48
- # when problems arise.
49
- config.log_level = :debug
50
-
51
- # Prepend all log lines with the following tags.
52
- # config.log_tags = [ :subdomain, :uuid ]
53
-
54
- # Use a different logger for distributed setups.
55
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
56
-
57
- # Use a different cache store in production.
58
- # config.cache_store = :mem_cache_store
59
-
60
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
61
- # config.action_controller.asset_host = 'http://assets.example.com'
62
-
63
- # Ignore bad email addresses and do not raise email delivery errors.
64
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
65
- # config.action_mailer.raise_delivery_errors = false
66
-
67
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
68
- # the I18n.default_locale when a translation cannot be found).
69
- config.i18n.fallbacks = true
70
-
71
- # Send deprecation notices to registered listeners.
72
- config.active_support.deprecation = :notify
73
-
74
- # Use default logging formatter so that PID and timestamp are not suppressed.
75
- config.log_formatter = ::Logger::Formatter.new
76
-
77
- # Do not dump schema after migrations.
78
- config.active_record.dump_schema_after_migration = false
79
- end
@@ -1,44 +0,0 @@
1
- Rails.application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb.
3
-
4
- # The test environment is used exclusively to run your application's
5
- # test suite. You never need to work with it otherwise. Remember that
6
- # your test database is "scratch space" for the test suite and is wiped
7
- # and recreated between test runs. Don't rely on the data there!
8
- config.cache_classes = true
9
-
10
- # Do not eager load code on boot. This avoids loading your whole application
11
- # just for the purpose of running a single test. If you are using a tool that
12
- # preloads Rails for running tests, you may have to set it to true.
13
- config.eager_load = false
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'
18
-
19
- # Show full error reports and disable caching.
20
- config.consider_all_requests_local = true
21
- config.action_controller.perform_caching = false
22
-
23
- # Raise exceptions instead of rendering exception templates.
24
- config.action_dispatch.show_exceptions = false
25
-
26
- # Disable request forgery protection in test environment.
27
- config.action_controller.allow_forgery_protection = false
28
-
29
- # Tell Action Mailer not to deliver emails to the real world.
30
- # The :test delivery method accumulates sent emails in the
31
- # ActionMailer::Base.deliveries array.
32
- config.action_mailer.delivery_method = :test
33
-
34
- # Randomize the order test cases are executed.
35
- config.active_support.test_order = :random
36
-
37
- # Print deprecation notices to the stderr.
38
- config.active_support.deprecation = :stderr
39
-
40
- # Raises error for missing translations
41
- # config.action_view.raise_on_missing_translations = true
42
-
43
- config.active_job.queue_adapter = :test
44
- end
@@ -1,11 +0,0 @@
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 )
@@ -1,7 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
- # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
-
6
- # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
- # Rails.backtrace_cleaner.remove_silencers!
@@ -1,3 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- Rails.application.config.action_dispatch.cookies_serializer = :json
@@ -1,4 +0,0 @@
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,16 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Add new inflection rules using the following format. Inflections
4
- # are locale specific, and you may define rules for as many different
5
- # locales as you wish. All of these examples are active by default:
6
- # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
- # inflect.plural /^(ox)$/i, '\1en'
8
- # inflect.singular /^(ox)en/i, '\1'
9
- # inflect.irregular 'person', 'people'
10
- # inflect.uncountable %w( fish sheep )
11
- # end
12
-
13
- # These inflection rules are supported but not enabled by default:
14
- # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
- # inflect.acronym 'RESTful'
16
- # end
@@ -1,4 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Add new mime types for use in respond_to blocks:
4
- # Mime::Type.register "text/richtext", :rtf
@@ -1,3 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- Rails.application.config.session_store :cookie_store, key: '_dummy_session'
@@ -1,14 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # This file contains settings for ActionController::ParamsWrapper which
4
- # is enabled by default.
5
-
6
- # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
- ActiveSupport.on_load(:action_controller) do
8
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
9
- end
10
-
11
- # To enable root element in JSON for ActiveRecord objects.
12
- # ActiveSupport.on_load(:active_record) do
13
- # self.include_root_in_json = true
14
- # end
@@ -1,23 +0,0 @@
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.
21
-
22
- en:
23
- hello: "Hello world"
@@ -1,4 +0,0 @@
1
- Rails.application.routes.draw do
2
-
3
- mount ActiveWaiter::Engine => "/active_waiter"
4
- end
@@ -1,22 +0,0 @@
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: 8ff378f82f0c556b49f961af06d213f042ca7e99546c616867b871f33412b0635a18521af0a5a8d60a61140144479cb4525361f3b4e6ee5a91ba1dfa7e8bba95
15
-
16
- test:
17
- secret_key_base: 998c6716e2a8476305ffe0fcf61ac84eb18db58302586b600412c0bb13b0fb79b0044e3b3dbac634c788fb2eb8e9f60e5460c4850347640b1b8cb86a6323def0
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"] %>
data/test/dummy/config.ru DELETED
@@ -1,4 +0,0 @@
1
- # This file is used by Rack-based servers to start the application.
2
-
3
- require ::File.expand_path('../config/environment', __FILE__)
4
- run Rails.application