retention_magic 0.1beta2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (264) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +70 -0
  4. data/Rakefile +37 -0
  5. data/app/assets/javascripts/retention_magic/application.js +13 -0
  6. data/app/assets/javascripts/retention_magic/graphs.js +2 -0
  7. data/app/assets/stylesheets/retention_magic/application.css.scss +4 -0
  8. data/app/assets/stylesheets/retention_magic/graphs.css +4 -0
  9. data/app/controllers/retention_magic/application_controller.rb +4 -0
  10. data/app/controllers/retention_magic/graphs_controller.rb +66 -0
  11. data/app/helpers/retention_magic/application_helper.rb +4 -0
  12. data/app/helpers/retention_magic/graphs_helper.rb +4 -0
  13. data/app/views/layouts/retention_magic/application.html.erb +16 -0
  14. data/app/views/retention_magic/graphs/index.html.erb +89 -0
  15. data/config/routes.rb +3 -0
  16. data/lib/generators/retention_magic/USAGE +8 -0
  17. data/lib/generators/retention_magic/retention_magic_generator.rb +7 -0
  18. data/lib/generators/retention_magic/templates/initializer.rb +35 -0
  19. data/lib/retention_magic/engine.rb +12 -0
  20. data/lib/retention_magic/version.rb +3 -0
  21. data/lib/retention_magic.rb +12 -0
  22. data/lib/tasks/retention_magic_tasks.rake +4 -0
  23. data/test/controllers/retention_magic/graphs_controller_test.rb +23 -0
  24. data/test/dummy/README.rdoc +28 -0
  25. data/test/dummy/Rakefile +6 -0
  26. data/test/dummy/app/assets/javascripts/application.js +13 -0
  27. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  28. data/test/dummy/app/controllers/application_controller.rb +5 -0
  29. data/test/dummy/app/helpers/application_helper.rb +2 -0
  30. data/test/dummy/app/models/user.rb +2 -0
  31. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  32. data/test/dummy/bin/bundle +3 -0
  33. data/test/dummy/bin/rails +4 -0
  34. data/test/dummy/bin/rake +4 -0
  35. data/test/dummy/bin/setup +29 -0
  36. data/test/dummy/config/application.rb +26 -0
  37. data/test/dummy/config/boot.rb +5 -0
  38. data/test/dummy/config/database.yml +25 -0
  39. data/test/dummy/config/environment.rb +5 -0
  40. data/test/dummy/config/environments/development.rb +41 -0
  41. data/test/dummy/config/environments/production.rb +79 -0
  42. data/test/dummy/config/environments/test.rb +42 -0
  43. data/test/dummy/config/initializers/assets.rb +11 -0
  44. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  45. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  46. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  47. data/test/dummy/config/initializers/inflections.rb +16 -0
  48. data/test/dummy/config/initializers/mime_types.rb +4 -0
  49. data/test/dummy/config/initializers/session_store.rb +3 -0
  50. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  51. data/test/dummy/config/locales/en.yml +23 -0
  52. data/test/dummy/config/routes.rb +4 -0
  53. data/test/dummy/config/secrets.yml +22 -0
  54. data/test/dummy/config.ru +4 -0
  55. data/test/dummy/db/development.sqlite3 +0 -0
  56. data/test/dummy/db/migrate/20151101172105_create_users.rb +9 -0
  57. data/test/dummy/db/schema.rb +23 -0
  58. data/test/dummy/db/test.sqlite3 +0 -0
  59. data/test/dummy/log/development.log +26 -0
  60. data/test/dummy/log/test.log +351 -0
  61. data/test/dummy/public/404.html +67 -0
  62. data/test/dummy/public/422.html +67 -0
  63. data/test/dummy/public/500.html +66 -0
  64. data/test/dummy/public/favicon.ico +0 -0
  65. data/test/dummy/test/fixtures/users.yml +4 -0
  66. data/test/dummy/test/models/user_test.rb +7 -0
  67. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/-EKyd_oC6THd4BAbS2D2_kyeDou-bW4JObOLLVZdOFk.cache +0 -0
  68. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/0IXJ0VwHQ1myWjMoMI7sj6gyiBaic9dSuMA3qhCMyho.cache +2 -0
  69. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/0KdY4zdTDqNuaIJrQ46aMabzHNOb19sHqHrL-T-9odo.cache +1 -0
  70. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/0PUkfyQ2F9eMxvUV8pyj2kygYIV-ZWTH_kAfKlkGaE4.cache +1 -0
  71. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1SLJFn9dWUy2htivBqUV8ucgSlP7r0QZYNw6XQh54pY.cache +1 -0
  72. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1aaKiOcr5FbgDvjzrt8PyAtDIXL3Iw6MuktoXQHT-DI.cache +0 -0
  73. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1d0uHMVXfRc1ubXJOg4RNR-jFY7kbtcrrtcJyMarsrs.cache +0 -0
  74. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2jdPyIpUrJSIPDOKPkhPxNeg-j4qHvt1VHdFf_tsTDA.cache +0 -0
  75. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2pO6RFzcN1Y8PCTq3llcln7dDtLWIzkH9w-gMrmA7y8.cache +1 -0
  76. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2vyShy4Koxrr6CCOuHHgIPA8EnnBDHWoLnKrKffPGHM.cache +0 -0
  77. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/46wIoc02CPB2GCNyyJXx9EkY0xDY3Gof-_7BDtyZDWg.cache +1 -0
  78. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/48kpnqEQf9dHol_tLyx0ttDovvreVfaF8jApACJRaIY.cache +1 -0
  79. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/4WCxJusnwndd61nvbz9hVTvOmvpASHHtDPppXFyIiB0.cache +0 -0
  80. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/4xk-ivYrUYRYDj18blTMzPBfyCGkfqk52EvNDJdg8Gw.cache +0 -0
  81. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/5-8uEo8hS619UqNHig2Sy6R_8DBHlRhx_JPRAgm633Y.cache +0 -0
  82. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/5T97e3PPG1jPbak-xL1QALWbI788ykSahMBFsi8vwG8.cache +0 -0
  83. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/5WQeJuCgZcGOO9OT532YBlD9ZmnyHiG53__RfG9uArA.cache +2 -0
  84. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/6GxOkIes97PX5qrlf-PQxWpQodYBc2c6XthOoHLsfc0.cache +1 -0
  85. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/7EbGNSBp5zAr296AGwwKjCoz7adk1BPYxpsoSJJDR6M.cache +0 -0
  86. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/7X0L1kmfoaaWSV9v92CzU-VFFML7pwyxPQSv8zb8Euk.cache +1 -0
  87. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/7wtcEbVdZtLO6mIle552GCSiudjk0gxju8nMFzuyz2U.cache +1 -0
  88. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/8JFJ5ZRniT_qi9ZFTFRIcahIoL6_wWBN1-pMBlfQC6I.cache +1 -0
  89. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/97ROeS4YmJH6SC9UrDeVamgzl13LnYF-m-KPtSX5X4o.cache +1 -0
  90. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/9ha1JF0TIWGGGZbM5RneU6jTeifw9szeHQjR1BMXTJA.cache +1 -0
  91. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/9k23WG9g9slSyMm-y3AzkUjImqkvFgwm2dCqkyFHEkM.cache +1 -0
  92. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/AJeh7APM3yZ_RMKzfI3PejI4R39QYn21Fp39a_va72A.cache +1 -0
  93. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Aoo3-y8-e2WidsFoszZoTy1kWVs0Sqfo7gQQs08Zpsc.cache +0 -0
  94. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Azw3pKwmffO6DeR1gLBznj9QXVfkNYEljwr0oVfzUHM.cache +0 -0
  95. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/B3oQ8oVtmuO6dHRqMYEVhXJIKUUAkvDdwjHsR3It-pY.cache +0 -0
  96. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/B4bjb0h4g1XfVxaawDaUoArqTUERksbzw2v4_5xtL-M.cache +2 -0
  97. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/BByX-5b5NhhAFKL9AFIiLcwjDpRSFGRfYeZBRRIbn4k.cache +2 -0
  98. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/BMMc_DZkRTbZGMN0AKKS6c1GEZiv0eoo7SLegSW1YiE.cache +2 -0
  99. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/BeDSqsni6kaxsFxWrKlJDFlZXfg_k4JQzl9H1FL3zMw.cache +1 -0
  100. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/CG2RdeoqplTH74BR5aGSu_Sz1Pq4ayHk5g0yvaybTG0.cache +0 -0
  101. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/CNzTeGX0-4KuQmrsIua6RNJACn9NHo-ntJho20bxkoE.cache +1 -0
  102. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/D03tiXUEwshAmTAAiTbrw0xLZnhLyXu-5xdpGTbfrJ0.cache +0 -0
  103. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Ds7fuV01MCUyi5syLmeAjrcxBCUQFF1iljMmyHSWXdU.cache +0 -0
  104. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/E5uoYk_12nfa5QUZBBNWvNthUdhKxh6lfxD1byCmrgE.cache +1 -0
  105. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/E7O3ZVvlIClzTE4qlgK552_QNrJlOut1QQY8Gwiexn0.cache +0 -0
  106. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/F0lC3ybVOwcG5sWSIeV_d-pSEdTNCidiZmytdMN6eg8.cache +1 -0
  107. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/F6f_HA-LQxV4A19DQ29EgarCISD7gs5YjDqqfwEszus.cache +0 -0
  108. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/FsOBl7WIN6osDeZQjmppclnUHcrJsXo6rRboCotrlR4.cache +0 -0
  109. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Gc6qjXGofmVaTOuiRcOst8jwX8MPAX2MED8-BJeQl0M.cache +0 -0
  110. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Gdol55f3KGdSF4uvTV0C2nX3nrWSgo-g133KQrRorIk.cache +1 -0
  111. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Gm9IQbSlfLJhpuIplwTTmyo5MmK-5-Iy3oeclZQadjE.cache +0 -0
  112. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/H6xqgdhJmmqeriDQv9dkBi3WS0SmEosd8DZBWMl2KMQ.cache +0 -0
  113. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/HLOzIn2VxQVdNIk_b2D5_9_x7fNky_fbmLsOZj92FzM.cache +1 -0
  114. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/HPdAYtq1zyup9-UheS_JBk_TSRDW0gW1ZViIVjJJJAc.cache +0 -0
  115. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/HbwGa3RgCWHIn430P1fhatvtVOhsPVZ85FTHU1W6k_I.cache +0 -0
  116. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Hcl3KIwjCwfyCrNGw7CDKkg3dmwFwqt3gUk-DCvy_3Q.cache +0 -0
  117. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/HliGHzlTBFZ9VrZVBDwSQuVR3y-QLReDRktd3pc1Ie4.cache +0 -0
  118. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/HrDQmheAOkeYpJpoeazmpi-3ntUC0ekSgg2xeokHlhg.cache +0 -0
  119. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/I03OktI9g5iAyp0Gkf56cWOFA-hwktqQaXGoKXTJs2c.cache +1 -0
  120. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/I3pA2lvdTEV-UZI1eLyiPoQ5xp_TxcfHGlcM8HhjrUA.cache +1 -0
  121. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/IIa1m3-koAyF7ousfrCjjXvh7EvXMFn5qiRnVdaJKOo.cache +1 -0
  122. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/INm9W1Sg6a5miV559fyouUIgYnK7Npk6UBO6BW33hBc.cache +1 -0
  123. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/JRQT9hJaSGDAR9S4tmweurzqG2BOXdy_BZ6KnHAZrag.cache +1 -0
  124. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/K4Fn3ShoKuf1Q7IZV4A6YqUcdS6LbU1mWaISi24iNZQ.cache +0 -0
  125. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/KAoCDny0VK_Wz7naD1kO6pxf6TXm_IFqidCAK6E1Kd0.cache +0 -0
  126. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/KJOPG9V8VgEFmEQQ6MJn8qVI32fzGDrDkJ6ILCsyH1U.cache +0 -0
  127. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Kc7bYAdTodpOkblJghsvVRY-3bfLrTReNdaDK-Ymri8.cache +1 -0
  128. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Ks6_Jn6KD4ijdqpG9Ht9JMbSDYp-J6g42ClLSODG9IE.cache +0 -0
  129. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/KvCV4Wjiqpl3vgQGyRopP4yaNgux1lzR9mycwPwioiw.cache +2 -0
  130. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/L54qL0Fr1bZphva1U3QQyAxDsiAbWBn02lW_hWV8y0g.cache +0 -0
  131. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/LGLT0wKtzQ5uBvOGeCkUzrrUAR-q21mL7u3LkyDgatI.cache +1 -0
  132. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/LIUsE_pyu8gX78rXC9lk5oW2piuHW6-kMIOQfglx4fA.cache +0 -0
  133. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/LLAPppHM6ppiQSHF-hDydoEIuUf1Dxieoz1t5xYRAP8.cache +2 -0
  134. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/LtC4evqWVY3uCDJB316h9JsUU2periD3YqM0RsoBPKU.cache +1 -0
  135. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/MWefbnf248C65h3kquViTc8719lfYZ4gWKsTNLP-WfY.cache +0 -0
  136. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/MZIhxLeOUL8hep_dj7lG8RgLuFQkYErGynAhvnr9UjI.cache +0 -0
  137. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/N5zJMoY9oYwvrmNKCqGQgOFN7pv2LFFTbYBhiIlqYLs.cache +0 -0
  138. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/N8WOOX1_9iJ9WZK44CCW_lwAvJtcXMIBLgiEPrd89vc.cache +1 -0
  139. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/NSNWigQmmN5-OouXizA3EcGHev5yYtBgWQnBxYEjzKo.cache +1 -0
  140. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/O1mI7v-D0L5CBUODatg7wE_zhEyrClrCHdaqCF8bSPY.cache +3 -0
  141. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/P71FxTLHyPRgPID6QyqafCqUQOxZ84ZetezV25ZVpfE.cache +1 -0
  142. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/PhaTrZUT9VTiI6H1r7GwyFLMHfxR-uhJOTGQmAQJmeo.cache +0 -0
  143. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Plkl-T9w9SEqJb0yJCeRmCy3AHmmER29ux_VsT6L0vI.cache +0 -0
  144. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Pqaxh3i1B1XY9-QwwatlN2JaJQRHTsdQYw34go35a1I.cache +1 -0
  145. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/PuN9uwfQ3pF7bH5_Yu_Cmv-OvkSjfglTC5uktgCZHH4.cache +1 -0
  146. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/QJJxx57fvCElwjGPgh5_u_d1QEPvmijPGOjEbSEc2-M.cache +2 -0
  147. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/QM1wS11IzZu3nP2jnh_cerz_CHOgj4vWQeVHjleMOac.cache +0 -0
  148. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/QaDwLv3GTns1gLXUVeL7Iq-smjTU83xncOxvy6Qua-I.cache +2 -0
  149. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Qb4zSr4wAGR-pBB5y-frIa-DczVEmTEVKSnDr6pjiok.cache +1 -0
  150. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/QoZ0dgQgLjisiKyOdyzbO9i-meAS1_zIUYEiDpZnsJ8.cache +0 -0
  151. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/QyKzcMq479m5BEBS8DRpSj0rXSIHJ0h8E7_Lgomnk_0.cache +0 -0
  152. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/RP1L5wMZC8y60-e-vUs1uk29O0QQXVSqwfiRZDV4ExY.cache +1 -0
  153. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/RPp1_DK3ZnQmIap9UwlPbZExlW9jGa7pxUBDjfLfMog.cache +0 -0
  154. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Rf8f5x1LTUk6Pw0UmmoP0IWIYXw1duoxu4P5oEfmJ1M.cache +0 -0
  155. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Rhd6hnFqWNCNvb6opnuFEgc0-qhqY24zfw0M8zUgXro.cache +1 -0
  156. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/T3qq89UZq_AApGEhQc5ocZUI6K0lWQraH_KEZfzCzOI.cache +0 -0
  157. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/T8Gfg7Ei7Wu5vOngrFKdDrPwjbCID7bdYO3iKfEPAtw.cache +2 -0
  158. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/TKNYFXbdXmxy25OzSRy3azMyGjIEfwvpCpGgLMvUGDM.cache +1 -0
  159. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Tgp5r1BHz15ac6Kc5XNVHTSYgnFX-FzGGOq_J7kSJek.cache +0 -0
  160. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/UMHrIsutdIGDrWZnC-WT_LlebvXYLe9Q-kBwsGjUYDk.cache +1 -0
  161. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/UjKNoV10XsZsza-Y_IDpQ-T15ZbjDYX_ArYgaKaioJw.cache +2 -0
  162. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Uq_MH1E2yYlQizQ0b9lws-iQIbAzOag2Z7t8WdRpoRw.cache +0 -0
  163. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/UuNRtuRFLhpzApXAN86VXFNEVeowlOJmTZb_scjcTos.cache +1 -0
  164. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/VHhvIp0_BrEMbC3ikJ1CaO56Z2kURWBEmLhoYLLwwbc.cache +0 -0
  165. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/VOR4wLdJwpQWV0536YrOZ-swnKpifVnZbeqWDJ-7zX0.cache +0 -0
  166. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/VXBor9dwTUP10zaznHwJF_Lz2rfrIDSOD5gZQDebx50.cache +2 -0
  167. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Vz2PZ-uVHlp1Oh_jvW6YWZn9nsjZSX2AuC0LjmyjW8c.cache +0 -0
  168. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/WTaoAjPu9uN8yuhj-OMyOYtgvuWBpyXMv4UOnPuJXdk.cache +0 -0
  169. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/X6i9SJn0xUJ79TIu86mjf4yed0VvoMg9zK46SAZjqyU.cache +0 -0
  170. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/XIPuM90puf2NC0mCb1ohCwvCq-_crN8GTAgnC3H-5Q8.cache +0 -0
  171. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Y2wpnHO7rXxkiVYDKjKBHl_uuQBbiNFtpkEdBkmZSFY.cache +0 -0
  172. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/YP9xV25kSnMAzZtQCGDKbMa5rnWJoz0HjPtwMgo_xPU.cache +0 -0
  173. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/YeEFcUmV3ejuoluv6njOF3lM2wZstXlWql2HtJGyRmc.cache +0 -0
  174. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/YhssBxTBZZ0VN1uZitFeSz7__TsAS0i6i1EppMAHSjE.cache +0 -0
  175. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/_H6Ve9WSmlWh_hFbod2dF6BzbhZVoQgsTxK4ii4b6UM.cache +1 -0
  176. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/_ZL02pb6iMwsP2OfoXDbeAdjfTboJaDjEw1MrzLQZBw.cache +0 -0
  177. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/aMk5X7CaiVsWDtcbcvGNzTE4NQFxiOio3NPFrRWk-aY.cache +0 -0
  178. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/aiWrIgIqKFjh94HgI2FFduAtjHjx5nUrbpjPWvsNnBQ.cache +1 -0
  179. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/b2B7EHgldqGlfHzXVvibMrrw4LNBbunZq4w6gaDVWx4.cache +1 -0
  180. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/b4ruyRBNV-oqDqlmIy5_CyVppjSIuK26MHuENLGmfjI.cache +1 -0
  181. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/c-N46x-NrMFRW8S_810IyJiHYhL_jiv2F7ZfJXlMcVE.cache +1 -0
  182. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/cJ3j-2V8Ux5ICPLbh-IB1tlbZH50axMUMsnppzerQTw.cache +1 -0
  183. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/cS6hnEsSxznsSwkbZ-lP4BmJBLBjTwRZXtIGkelZ3no.cache +0 -0
  184. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/dmiOzg8MvuzpBYCtf9V5ZAQ5gBG-l943hKo7wlylvgU.cache +1 -0
  185. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/e--k3SqXrQ-xk_n0MhVpIb-nwgsLje8cfB0kNJkShdg.cache +1 -0
  186. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/e3ohEoJjQIlR9i6WiywBRlRqkvMCrAICU9C0kh3j8TQ.cache +0 -0
  187. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ee9Azbf8pzNyeZIpa5H4pincDB9FJG9j8zmeEWlHbYk.cache +0 -0
  188. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/efhaSkZCpODzDmSSYjXgUHjVSih51fl1r-oZsqSAXlw.cache +1 -0
  189. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/exNnl3s_DehZw67_Jc0DpyfJ-2tJA6NGh-4_mIYFknM.cache +1 -0
  190. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/fTx4MdEv6r_k4VWYNgG0wcW5hD6iymeoCE-xCt8IlHc.cache +0 -0
  191. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/fVv5x3R_qH8TfabaN2RrNsDis0tvONKaroxnBQ4NhC0.cache +1 -0
  192. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/fgvjqHQBcZafnbxw24c2krRS1eQyVWyji9soIydxQpM.cache +0 -0
  193. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/fkeLw2-ZA-k4vQ7-t6fxz-bTFiXiQdalmSIg_Ku7YbE.cache +0 -0
  194. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/fnjqObfqhUe-NMN4ssK-qG07__lW6mc2NdHZZLkM104.cache +1 -0
  195. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ft0XA4vE0DbCjJqIVVv9pIzcc7yOy5pJme5_OcLtRgs.cache +3 -0
  196. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/gXfIMjV9DutecKWRfAKn_pkXuIbAgpJuDNfr6lEd8cU.cache +1 -0
  197. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/gcZXXv113or0WrMEtv0ZgNO8GNMDKVlyNPeszuuGGFY.cache +1 -0
  198. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/h7qa0K2-ItM4KdMMVybYeFcvMaCaP8mDsqjbiANbQ1I.cache +2 -0
  199. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hIbpUjZKtxj1f7ha3uBd4sfVGrG_mSlAeLvHOpVKiTc.cache +1 -0
  200. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hPTVTLRn5esx7FcjCYkGT49exawTe0kFYSZuuQsnpW0.cache +2 -0
  201. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/huuOa_ZYJ6H2lVwNlZM5aLaEghkmBR1nXB18w7Wr1vk.cache +0 -0
  202. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/i-IkmambRaQoPG7Uy_AqvTtjdJBpwLAer-enykzM8Go.cache +2 -0
  203. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/iaDLUe0Qh-UyAp6UAEwtebxpd6Kizza16SzGxXeEaTo.cache +1 -0
  204. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ikhuyZtsbCFrWYHI4Wd5gDIs9qFJt0-ldB5XLn_ZnnQ.cache +1 -0
  205. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/j03eD60i0Z9OBiFBFuJI79ZLVOANKBYcf60_WBYVB_s.cache +3 -0
  206. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/jcFoU3Hn00ZaTV_W6PDDo1pxhsDJtZjfeVN3eMWEpy8.cache +1 -0
  207. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/jpADL_4RCzMnO_aSGmDcgBLniID7FsBl6rXUgQzMgXY.cache +1 -0
  208. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/jwi50-NjNb6-JUbjpmXXg7GHkKhPKBEgYTv4zAH09HE.cache +0 -0
  209. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/khT6fQ0szWvnfYIw0sJwt51Y9cfa48JxWbTpxmHanY0.cache +3 -0
  210. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/l3XYoUMMINtweMsF6k3sar_dIRFbWKhUFpwKvoAJ2E0.cache +0 -0
  211. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/l6wMdkcs_r1UM6OU_SkKId-3fyP1zjNwiVo3cjpEa4Q.cache +0 -0
  212. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ljhtUl9VWqUCWCs6x2hwFc-TzbGvFSj47RVAQrr66to.cache +1 -0
  213. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/lvVXDxtxrKNXrEQF_4wKjF86DasK57HgPC7Zc13_E1s.cache +0 -0
  214. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/m0F3RxYCdIy6Yw6_kNzi0U4NLV5l-eP9oz2czcdOKEk.cache +0 -0
  215. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/mA9L9Wxvf1vOBaTTzZgijBD0uQsXffX3H2J2mc29quA.cache +1 -0
  216. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/mUbjAVHaaKujwp09t8pMkPsNn9eJxUHOz9oIMf9DrEA.cache +1 -0
  217. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/mVjsA2NqkynEWhz6MmtXo_-QW0RjVRzaszGl6-RPfJc.cache +0 -0
  218. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/mt8Lt_jAlLZ4U-1zbCN5mGG0amfxS0hBkbKGD_gtlws.cache +0 -0
  219. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/naXoSDtfOxk3NXO18x0Q6LY-BcQCH-NtHgPOiQww8yg.cache +1 -0
  220. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/o1Z0uv2WT2ccxCCkASmBB4msZNreyGx6lN1wqBrj6CI.cache +1 -0
  221. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/or70b6whbsuqQA5EHtqWYVRgD2H79KBvoguOoe8z1Ao.cache +1 -0
  222. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/pGa0ZX7gIbDjBf207EhUUk2CqlzjoVTXKv412vHjmE4.cache +0 -0
  223. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/pHkS-yERUmBWL117Z9Qo2jlmvztGkOjgtk9ztQbkJzE.cache +0 -0
  224. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/pKgCH-5O50hIDG4VwyXAyoK51_qP1C4p4W8PAXn19JQ.cache +1 -0
  225. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/pOZ2fwSZWtmW5khq-b49H9fyEUMH3VBJ-N83dHvMAwI.cache +0 -0
  226. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/pVHxPRPevuSeRHS3HbHCHB5Vc0ASCOpMLe-2Sj1dcb4.cache +0 -0
  227. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/pYE29BrK_w79ww7TYHd3S4LxdhTIvhTq_Wetnw2z3M8.cache +0 -0
  228. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/qYKZL8-s66wvUJhzzIZod4WjW6wDk_yeFKkR6Zl3XBo.cache +1 -0
  229. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/q_fqn08IcQkT28olIwaaRDUUYQ1SQEii5WWrclckyl8.cache +1 -0
  230. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/rJANshMQoojwXLVKughpVE7BOqzP7Bcmo_kZBt2pkGU.cache +0 -0
  231. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/rPsIbIVGHbdh46Y080NkUVUj_97v2gEiZIWXGt6Cfeo.cache +1 -0
  232. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/rt59MaJHnqS58TNd10uIuar6UKj3sbEyWDYMCuI7zZk.cache +0 -0
  233. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ruMxNQHvuLsXZHZ2tDEx4yt97-fDQwEtLojFEhsus5Y.cache +1 -0
  234. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/t-q6C2Daeh64PWWMnwuzNDOK6yrt1etjkF9BIhpJ9HY.cache +1 -0
  235. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/tK-1NOEZed_qRbueyxbPw-NMOutZw5bdI1eFsku57C0.cache +0 -0
  236. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/tavug0h1LdqZzksd99OpyhMSewn2b27dg9_LNrTRtec.cache +0 -0
  237. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/tgU4lSUXxSVZskPkAhhVkYWyVltIicmlEW5jy28bbv4.cache +0 -0
  238. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/tyXAPHB9HRUCMajT1hhEu_RXxJQWVmg5poJx_yjabkY.cache +1 -0
  239. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/u10gUBcaxCuyfXyqfdhqRz1-hkXbdNiTwhYHBsnCWlo.cache +1 -0
  240. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/uhLckzCtpe1MhodZ9Eha9L5_cAHVnnAjpssEGgK0gJE.cache +0 -0
  241. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/uvH6dyEoLVE7wLKdp5Uw5oXsSlcVfajHDJuA1ACITuY.cache +1 -0
  242. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/vKQPBwSZr3pjWm6WP9gbpyBUvnO1hko-bd7V5Rkc7zk.cache +0 -0
  243. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/vQmahYg2BSlOHoOBc98t4M3mpRWO23GY213nygOLUWs.cache +2 -0
  244. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/vcb0UMCAV3BZuyISepHgEt30xYcf2QqRUBbe1yiDPTk.cache +0 -0
  245. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/vr2Ky26kBfoj1Lzdgcfeda5c_U_6k3NQ-b9Bqc3vy8s.cache +1 -0
  246. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/vz3IHo7GXPR4vHQMnNjAVdGv_yYRAjn17iYUqt_MBwg.cache +2 -0
  247. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/wMd3bN8GIHJ1GyviGomDxVL_RtfQERcsj6KPRmgF3QA.cache +0 -0
  248. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/xF2X7Her13dCj5pm2QdP_W74A2SHCOF19zTC3OPN4fA.cache +1 -0
  249. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/xiw2N0hcvLMQgaG1U0IV1tMut4PC1SPN2g1FlfqgOLQ.cache +1 -0
  250. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/xnjydYZBm9KXbjh9DylByrHTn7NxJNHIIGgiltYbDtA.cache +0 -0
  251. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/yMl_Z-8144OMa18Tx43HXEOcxNsN77AOOzBeL69y_V8.cache +0 -0
  252. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/yfLOXzBPETp_ubxEzuXpiAr-lcNGdkSKg3PcQbIMfhE.cache +0 -0
  253. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/yida6X11pHMGq-7wTwl2E3wxEqbbTb0HoSOyarEcO54.cache +0 -0
  254. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ylZ4k6cqpUGn1n_r7uOXYSDs18qyGM03ikeWWK3ebXk.cache +1 -0
  255. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/z3PYleH-yQuUROj3MWExEdDbritBOUSKmAyBElXh5EY.cache +1 -0
  256. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/zRxSnjNpkoxlOFcoVVJ0JvwmY0oLaW4sa25eEFoblc0.cache +1 -0
  257. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/z_5KfyOVpIF1xrjaFJn3pll3SvoKIFLKzMAtbEqo_cM.cache +3 -0
  258. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/zhFnH12w2VXfUa648KwVjTztyUv6GJQoLj2DOtjzHmo.cache +0 -0
  259. data/test/dummy/tmp/generators/config/initializers/retention_magic.rb +35 -0
  260. data/test/integration/navigation_test.rb +8 -0
  261. data/test/lib/generators/retention_magic/retenion_magic_generator_test.rb +16 -0
  262. data/test/retention_magic_test.rb +7 -0
  263. data/test/test_helper.rb +21 -0
  264. metadata +606 -0
@@ -0,0 +1,25 @@
1
+ # SQLite version 3.x
2
+ # gem install sqlite3
3
+ #
4
+ # Ensure the SQLite 3 gem is defined in your Gemfile
5
+ # gem 'sqlite3'
6
+ #
7
+ default: &default
8
+ adapter: sqlite3
9
+ pool: 5
10
+ timeout: 5000
11
+
12
+ development:
13
+ <<: *default
14
+ database: db/development.sqlite3
15
+
16
+ # Warning: The database defined as "test" will be erased and
17
+ # re-generated from your development database when you run "rake".
18
+ # Do not set this db to the same as development or production.
19
+ test:
20
+ <<: *default
21
+ database: db/test.sqlite3
22
+
23
+ production:
24
+ <<: *default
25
+ database: db/production.sqlite3
@@ -0,0 +1,5 @@
1
+ # Load the Rails application.
2
+ require File.expand_path('../application', __FILE__)
3
+
4
+ # Initialize the Rails application.
5
+ Rails.application.initialize!
@@ -0,0 +1,41 @@
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
@@ -0,0 +1,79 @@
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
@@ -0,0 +1,42 @@
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
+ end
@@ -0,0 +1,11 @@
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 )
@@ -0,0 +1,7 @@
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!
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.action_dispatch.cookies_serializer = :json
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Configure sensitive parameters which will be filtered from the log file.
4
+ Rails.application.config.filter_parameters += [:password]
@@ -0,0 +1,16 @@
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
@@ -0,0 +1,4 @@
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
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.session_store :cookie_store, key: '_dummy_session'
@@ -0,0 +1,14 @@
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
@@ -0,0 +1,23 @@
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"
@@ -0,0 +1,4 @@
1
+ Rails.application.routes.draw do
2
+
3
+ mount RetentionMagic::Engine => "/retention_magic"
4
+ end
@@ -0,0 +1,22 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure the secrets in this file are kept private
11
+ # if you're sharing your code publicly.
12
+
13
+ development:
14
+ secret_key_base: ef98432461bf5b0f086756f18d7d8e0fae94e161be439423e55d04fa5af42a1ae0bff37993ad0acf9187b5617fb21873f44407c2b30a4c8ee71f4b704af4deb2
15
+
16
+ test:
17
+ secret_key_base: f56c1bc48acae0319051ef2abc177088087ded547a726b41024aa9d5137ee285e30cd4f4b19f550a76aa38b10bbc2c7bf25f3143591d0dfaf3c85a290400c888
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"] %>
@@ -0,0 +1,4 @@
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
Binary file
@@ -0,0 +1,9 @@
1
+ class CreateUsers < ActiveRecord::Migration
2
+ def change
3
+ create_table :users do |t|
4
+ t.string :name
5
+ t.integer :posts_count
6
+ t.timestamps null: false
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,23 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended that you check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(version: 20151101172105) do
15
+
16
+ create_table "users", force: :cascade do |t|
17
+ t.string "name"
18
+ t.integer "posts_count"
19
+ t.datetime "created_at", null: false
20
+ t.datetime "updated_at", null: false
21
+ end
22
+
23
+ end
Binary file
@@ -0,0 +1,26 @@
1
+  (9.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2
+  (0.9ms) select sqlite_version(*)
3
+  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
6
+ Migrating to CreateUsers (20151101172105)
7
+  (0.1ms) begin transaction
8
+  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
9
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151101172105"]]
10
+  (0.6ms) commit transaction
11
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
12
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
13
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
14
+ Migrating to CreateUsers (20151101172105)
15
+  (0.1ms) begin transaction
16
+  (0.7ms) DROP TABLE "users"
17
+ SQL (0.2ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = ? [["version", "20151101172105"]]
18
+  (0.7ms) commit transaction
19
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
20
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
21
+ Migrating to CreateUsers (20151101172105)
22
+  (0.1ms) begin transaction
23
+  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "posts_count" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
24
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151101172105"]]
25
+  (9.6ms) commit transaction
26
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"