retention_magic 0.1beta2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +70 -0
- data/Rakefile +37 -0
- data/app/assets/javascripts/retention_magic/application.js +13 -0
- data/app/assets/javascripts/retention_magic/graphs.js +2 -0
- data/app/assets/stylesheets/retention_magic/application.css.scss +4 -0
- data/app/assets/stylesheets/retention_magic/graphs.css +4 -0
- data/app/controllers/retention_magic/application_controller.rb +4 -0
- data/app/controllers/retention_magic/graphs_controller.rb +66 -0
- data/app/helpers/retention_magic/application_helper.rb +4 -0
- data/app/helpers/retention_magic/graphs_helper.rb +4 -0
- data/app/views/layouts/retention_magic/application.html.erb +16 -0
- data/app/views/retention_magic/graphs/index.html.erb +89 -0
- data/config/routes.rb +3 -0
- data/lib/generators/retention_magic/USAGE +8 -0
- data/lib/generators/retention_magic/retention_magic_generator.rb +7 -0
- data/lib/generators/retention_magic/templates/initializer.rb +35 -0
- data/lib/retention_magic/engine.rb +12 -0
- data/lib/retention_magic/version.rb +3 -0
- data/lib/retention_magic.rb +12 -0
- data/lib/tasks/retention_magic_tasks.rake +4 -0
- data/test/controllers/retention_magic/graphs_controller_test.rb +23 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/models/user.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +29 -0
- data/test/dummy/config/application.rb +26 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +41 -0
- data/test/dummy/config/environments/production.rb +79 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +4 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20151101172105_create_users.rb +9 -0
- data/test/dummy/db/schema.rb +23 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +26 -0
- data/test/dummy/log/test.log +351 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/test/fixtures/users.yml +4 -0
- data/test/dummy/test/models/user_test.rb +7 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/-EKyd_oC6THd4BAbS2D2_kyeDou-bW4JObOLLVZdOFk.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/0IXJ0VwHQ1myWjMoMI7sj6gyiBaic9dSuMA3qhCMyho.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/0KdY4zdTDqNuaIJrQ46aMabzHNOb19sHqHrL-T-9odo.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/0PUkfyQ2F9eMxvUV8pyj2kygYIV-ZWTH_kAfKlkGaE4.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1SLJFn9dWUy2htivBqUV8ucgSlP7r0QZYNw6XQh54pY.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1aaKiOcr5FbgDvjzrt8PyAtDIXL3Iw6MuktoXQHT-DI.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1d0uHMVXfRc1ubXJOg4RNR-jFY7kbtcrrtcJyMarsrs.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2jdPyIpUrJSIPDOKPkhPxNeg-j4qHvt1VHdFf_tsTDA.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2pO6RFzcN1Y8PCTq3llcln7dDtLWIzkH9w-gMrmA7y8.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2vyShy4Koxrr6CCOuHHgIPA8EnnBDHWoLnKrKffPGHM.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/46wIoc02CPB2GCNyyJXx9EkY0xDY3Gof-_7BDtyZDWg.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/48kpnqEQf9dHol_tLyx0ttDovvreVfaF8jApACJRaIY.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/4WCxJusnwndd61nvbz9hVTvOmvpASHHtDPppXFyIiB0.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/4xk-ivYrUYRYDj18blTMzPBfyCGkfqk52EvNDJdg8Gw.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/5-8uEo8hS619UqNHig2Sy6R_8DBHlRhx_JPRAgm633Y.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/5T97e3PPG1jPbak-xL1QALWbI788ykSahMBFsi8vwG8.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/5WQeJuCgZcGOO9OT532YBlD9ZmnyHiG53__RfG9uArA.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/6GxOkIes97PX5qrlf-PQxWpQodYBc2c6XthOoHLsfc0.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/7EbGNSBp5zAr296AGwwKjCoz7adk1BPYxpsoSJJDR6M.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/7X0L1kmfoaaWSV9v92CzU-VFFML7pwyxPQSv8zb8Euk.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/7wtcEbVdZtLO6mIle552GCSiudjk0gxju8nMFzuyz2U.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/8JFJ5ZRniT_qi9ZFTFRIcahIoL6_wWBN1-pMBlfQC6I.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/97ROeS4YmJH6SC9UrDeVamgzl13LnYF-m-KPtSX5X4o.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/9ha1JF0TIWGGGZbM5RneU6jTeifw9szeHQjR1BMXTJA.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/9k23WG9g9slSyMm-y3AzkUjImqkvFgwm2dCqkyFHEkM.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/AJeh7APM3yZ_RMKzfI3PejI4R39QYn21Fp39a_va72A.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Aoo3-y8-e2WidsFoszZoTy1kWVs0Sqfo7gQQs08Zpsc.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Azw3pKwmffO6DeR1gLBznj9QXVfkNYEljwr0oVfzUHM.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/B3oQ8oVtmuO6dHRqMYEVhXJIKUUAkvDdwjHsR3It-pY.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/B4bjb0h4g1XfVxaawDaUoArqTUERksbzw2v4_5xtL-M.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/BByX-5b5NhhAFKL9AFIiLcwjDpRSFGRfYeZBRRIbn4k.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/BMMc_DZkRTbZGMN0AKKS6c1GEZiv0eoo7SLegSW1YiE.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/BeDSqsni6kaxsFxWrKlJDFlZXfg_k4JQzl9H1FL3zMw.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/CG2RdeoqplTH74BR5aGSu_Sz1Pq4ayHk5g0yvaybTG0.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/CNzTeGX0-4KuQmrsIua6RNJACn9NHo-ntJho20bxkoE.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/D03tiXUEwshAmTAAiTbrw0xLZnhLyXu-5xdpGTbfrJ0.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Ds7fuV01MCUyi5syLmeAjrcxBCUQFF1iljMmyHSWXdU.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/E5uoYk_12nfa5QUZBBNWvNthUdhKxh6lfxD1byCmrgE.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/E7O3ZVvlIClzTE4qlgK552_QNrJlOut1QQY8Gwiexn0.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/F0lC3ybVOwcG5sWSIeV_d-pSEdTNCidiZmytdMN6eg8.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/F6f_HA-LQxV4A19DQ29EgarCISD7gs5YjDqqfwEszus.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/FsOBl7WIN6osDeZQjmppclnUHcrJsXo6rRboCotrlR4.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Gc6qjXGofmVaTOuiRcOst8jwX8MPAX2MED8-BJeQl0M.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Gdol55f3KGdSF4uvTV0C2nX3nrWSgo-g133KQrRorIk.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Gm9IQbSlfLJhpuIplwTTmyo5MmK-5-Iy3oeclZQadjE.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/H6xqgdhJmmqeriDQv9dkBi3WS0SmEosd8DZBWMl2KMQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/HLOzIn2VxQVdNIk_b2D5_9_x7fNky_fbmLsOZj92FzM.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/HPdAYtq1zyup9-UheS_JBk_TSRDW0gW1ZViIVjJJJAc.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/HbwGa3RgCWHIn430P1fhatvtVOhsPVZ85FTHU1W6k_I.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Hcl3KIwjCwfyCrNGw7CDKkg3dmwFwqt3gUk-DCvy_3Q.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/HliGHzlTBFZ9VrZVBDwSQuVR3y-QLReDRktd3pc1Ie4.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/HrDQmheAOkeYpJpoeazmpi-3ntUC0ekSgg2xeokHlhg.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/I03OktI9g5iAyp0Gkf56cWOFA-hwktqQaXGoKXTJs2c.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/I3pA2lvdTEV-UZI1eLyiPoQ5xp_TxcfHGlcM8HhjrUA.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/IIa1m3-koAyF7ousfrCjjXvh7EvXMFn5qiRnVdaJKOo.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/INm9W1Sg6a5miV559fyouUIgYnK7Npk6UBO6BW33hBc.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/JRQT9hJaSGDAR9S4tmweurzqG2BOXdy_BZ6KnHAZrag.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/K4Fn3ShoKuf1Q7IZV4A6YqUcdS6LbU1mWaISi24iNZQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/KAoCDny0VK_Wz7naD1kO6pxf6TXm_IFqidCAK6E1Kd0.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/KJOPG9V8VgEFmEQQ6MJn8qVI32fzGDrDkJ6ILCsyH1U.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Kc7bYAdTodpOkblJghsvVRY-3bfLrTReNdaDK-Ymri8.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Ks6_Jn6KD4ijdqpG9Ht9JMbSDYp-J6g42ClLSODG9IE.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/KvCV4Wjiqpl3vgQGyRopP4yaNgux1lzR9mycwPwioiw.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/L54qL0Fr1bZphva1U3QQyAxDsiAbWBn02lW_hWV8y0g.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/LGLT0wKtzQ5uBvOGeCkUzrrUAR-q21mL7u3LkyDgatI.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/LIUsE_pyu8gX78rXC9lk5oW2piuHW6-kMIOQfglx4fA.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/LLAPppHM6ppiQSHF-hDydoEIuUf1Dxieoz1t5xYRAP8.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/LtC4evqWVY3uCDJB316h9JsUU2periD3YqM0RsoBPKU.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/MWefbnf248C65h3kquViTc8719lfYZ4gWKsTNLP-WfY.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/MZIhxLeOUL8hep_dj7lG8RgLuFQkYErGynAhvnr9UjI.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/N5zJMoY9oYwvrmNKCqGQgOFN7pv2LFFTbYBhiIlqYLs.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/N8WOOX1_9iJ9WZK44CCW_lwAvJtcXMIBLgiEPrd89vc.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/NSNWigQmmN5-OouXizA3EcGHev5yYtBgWQnBxYEjzKo.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/O1mI7v-D0L5CBUODatg7wE_zhEyrClrCHdaqCF8bSPY.cache +3 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/P71FxTLHyPRgPID6QyqafCqUQOxZ84ZetezV25ZVpfE.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/PhaTrZUT9VTiI6H1r7GwyFLMHfxR-uhJOTGQmAQJmeo.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Plkl-T9w9SEqJb0yJCeRmCy3AHmmER29ux_VsT6L0vI.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Pqaxh3i1B1XY9-QwwatlN2JaJQRHTsdQYw34go35a1I.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/PuN9uwfQ3pF7bH5_Yu_Cmv-OvkSjfglTC5uktgCZHH4.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/QJJxx57fvCElwjGPgh5_u_d1QEPvmijPGOjEbSEc2-M.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/QM1wS11IzZu3nP2jnh_cerz_CHOgj4vWQeVHjleMOac.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/QaDwLv3GTns1gLXUVeL7Iq-smjTU83xncOxvy6Qua-I.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Qb4zSr4wAGR-pBB5y-frIa-DczVEmTEVKSnDr6pjiok.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/QoZ0dgQgLjisiKyOdyzbO9i-meAS1_zIUYEiDpZnsJ8.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/QyKzcMq479m5BEBS8DRpSj0rXSIHJ0h8E7_Lgomnk_0.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/RP1L5wMZC8y60-e-vUs1uk29O0QQXVSqwfiRZDV4ExY.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/RPp1_DK3ZnQmIap9UwlPbZExlW9jGa7pxUBDjfLfMog.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Rf8f5x1LTUk6Pw0UmmoP0IWIYXw1duoxu4P5oEfmJ1M.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Rhd6hnFqWNCNvb6opnuFEgc0-qhqY24zfw0M8zUgXro.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/T3qq89UZq_AApGEhQc5ocZUI6K0lWQraH_KEZfzCzOI.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/T8Gfg7Ei7Wu5vOngrFKdDrPwjbCID7bdYO3iKfEPAtw.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/TKNYFXbdXmxy25OzSRy3azMyGjIEfwvpCpGgLMvUGDM.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Tgp5r1BHz15ac6Kc5XNVHTSYgnFX-FzGGOq_J7kSJek.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/UMHrIsutdIGDrWZnC-WT_LlebvXYLe9Q-kBwsGjUYDk.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/UjKNoV10XsZsza-Y_IDpQ-T15ZbjDYX_ArYgaKaioJw.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Uq_MH1E2yYlQizQ0b9lws-iQIbAzOag2Z7t8WdRpoRw.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/UuNRtuRFLhpzApXAN86VXFNEVeowlOJmTZb_scjcTos.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/VHhvIp0_BrEMbC3ikJ1CaO56Z2kURWBEmLhoYLLwwbc.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/VOR4wLdJwpQWV0536YrOZ-swnKpifVnZbeqWDJ-7zX0.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/VXBor9dwTUP10zaznHwJF_Lz2rfrIDSOD5gZQDebx50.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Vz2PZ-uVHlp1Oh_jvW6YWZn9nsjZSX2AuC0LjmyjW8c.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/WTaoAjPu9uN8yuhj-OMyOYtgvuWBpyXMv4UOnPuJXdk.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/X6i9SJn0xUJ79TIu86mjf4yed0VvoMg9zK46SAZjqyU.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/XIPuM90puf2NC0mCb1ohCwvCq-_crN8GTAgnC3H-5Q8.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Y2wpnHO7rXxkiVYDKjKBHl_uuQBbiNFtpkEdBkmZSFY.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/YP9xV25kSnMAzZtQCGDKbMa5rnWJoz0HjPtwMgo_xPU.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/YeEFcUmV3ejuoluv6njOF3lM2wZstXlWql2HtJGyRmc.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/YhssBxTBZZ0VN1uZitFeSz7__TsAS0i6i1EppMAHSjE.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/_H6Ve9WSmlWh_hFbod2dF6BzbhZVoQgsTxK4ii4b6UM.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/_ZL02pb6iMwsP2OfoXDbeAdjfTboJaDjEw1MrzLQZBw.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/aMk5X7CaiVsWDtcbcvGNzTE4NQFxiOio3NPFrRWk-aY.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/aiWrIgIqKFjh94HgI2FFduAtjHjx5nUrbpjPWvsNnBQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/b2B7EHgldqGlfHzXVvibMrrw4LNBbunZq4w6gaDVWx4.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/b4ruyRBNV-oqDqlmIy5_CyVppjSIuK26MHuENLGmfjI.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/c-N46x-NrMFRW8S_810IyJiHYhL_jiv2F7ZfJXlMcVE.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/cJ3j-2V8Ux5ICPLbh-IB1tlbZH50axMUMsnppzerQTw.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/cS6hnEsSxznsSwkbZ-lP4BmJBLBjTwRZXtIGkelZ3no.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/dmiOzg8MvuzpBYCtf9V5ZAQ5gBG-l943hKo7wlylvgU.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/e--k3SqXrQ-xk_n0MhVpIb-nwgsLje8cfB0kNJkShdg.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/e3ohEoJjQIlR9i6WiywBRlRqkvMCrAICU9C0kh3j8TQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ee9Azbf8pzNyeZIpa5H4pincDB9FJG9j8zmeEWlHbYk.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/efhaSkZCpODzDmSSYjXgUHjVSih51fl1r-oZsqSAXlw.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/exNnl3s_DehZw67_Jc0DpyfJ-2tJA6NGh-4_mIYFknM.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/fTx4MdEv6r_k4VWYNgG0wcW5hD6iymeoCE-xCt8IlHc.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/fVv5x3R_qH8TfabaN2RrNsDis0tvONKaroxnBQ4NhC0.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/fgvjqHQBcZafnbxw24c2krRS1eQyVWyji9soIydxQpM.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/fkeLw2-ZA-k4vQ7-t6fxz-bTFiXiQdalmSIg_Ku7YbE.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/fnjqObfqhUe-NMN4ssK-qG07__lW6mc2NdHZZLkM104.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ft0XA4vE0DbCjJqIVVv9pIzcc7yOy5pJme5_OcLtRgs.cache +3 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/gXfIMjV9DutecKWRfAKn_pkXuIbAgpJuDNfr6lEd8cU.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/gcZXXv113or0WrMEtv0ZgNO8GNMDKVlyNPeszuuGGFY.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/h7qa0K2-ItM4KdMMVybYeFcvMaCaP8mDsqjbiANbQ1I.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hIbpUjZKtxj1f7ha3uBd4sfVGrG_mSlAeLvHOpVKiTc.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hPTVTLRn5esx7FcjCYkGT49exawTe0kFYSZuuQsnpW0.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/huuOa_ZYJ6H2lVwNlZM5aLaEghkmBR1nXB18w7Wr1vk.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/i-IkmambRaQoPG7Uy_AqvTtjdJBpwLAer-enykzM8Go.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/iaDLUe0Qh-UyAp6UAEwtebxpd6Kizza16SzGxXeEaTo.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ikhuyZtsbCFrWYHI4Wd5gDIs9qFJt0-ldB5XLn_ZnnQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/j03eD60i0Z9OBiFBFuJI79ZLVOANKBYcf60_WBYVB_s.cache +3 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/jcFoU3Hn00ZaTV_W6PDDo1pxhsDJtZjfeVN3eMWEpy8.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/jpADL_4RCzMnO_aSGmDcgBLniID7FsBl6rXUgQzMgXY.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/jwi50-NjNb6-JUbjpmXXg7GHkKhPKBEgYTv4zAH09HE.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/khT6fQ0szWvnfYIw0sJwt51Y9cfa48JxWbTpxmHanY0.cache +3 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/l3XYoUMMINtweMsF6k3sar_dIRFbWKhUFpwKvoAJ2E0.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/l6wMdkcs_r1UM6OU_SkKId-3fyP1zjNwiVo3cjpEa4Q.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ljhtUl9VWqUCWCs6x2hwFc-TzbGvFSj47RVAQrr66to.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/lvVXDxtxrKNXrEQF_4wKjF86DasK57HgPC7Zc13_E1s.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/m0F3RxYCdIy6Yw6_kNzi0U4NLV5l-eP9oz2czcdOKEk.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/mA9L9Wxvf1vOBaTTzZgijBD0uQsXffX3H2J2mc29quA.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/mUbjAVHaaKujwp09t8pMkPsNn9eJxUHOz9oIMf9DrEA.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/mVjsA2NqkynEWhz6MmtXo_-QW0RjVRzaszGl6-RPfJc.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/mt8Lt_jAlLZ4U-1zbCN5mGG0amfxS0hBkbKGD_gtlws.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/naXoSDtfOxk3NXO18x0Q6LY-BcQCH-NtHgPOiQww8yg.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/o1Z0uv2WT2ccxCCkASmBB4msZNreyGx6lN1wqBrj6CI.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/or70b6whbsuqQA5EHtqWYVRgD2H79KBvoguOoe8z1Ao.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/pGa0ZX7gIbDjBf207EhUUk2CqlzjoVTXKv412vHjmE4.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/pHkS-yERUmBWL117Z9Qo2jlmvztGkOjgtk9ztQbkJzE.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/pKgCH-5O50hIDG4VwyXAyoK51_qP1C4p4W8PAXn19JQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/pOZ2fwSZWtmW5khq-b49H9fyEUMH3VBJ-N83dHvMAwI.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/pVHxPRPevuSeRHS3HbHCHB5Vc0ASCOpMLe-2Sj1dcb4.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/pYE29BrK_w79ww7TYHd3S4LxdhTIvhTq_Wetnw2z3M8.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/qYKZL8-s66wvUJhzzIZod4WjW6wDk_yeFKkR6Zl3XBo.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/q_fqn08IcQkT28olIwaaRDUUYQ1SQEii5WWrclckyl8.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/rJANshMQoojwXLVKughpVE7BOqzP7Bcmo_kZBt2pkGU.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/rPsIbIVGHbdh46Y080NkUVUj_97v2gEiZIWXGt6Cfeo.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/rt59MaJHnqS58TNd10uIuar6UKj3sbEyWDYMCuI7zZk.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ruMxNQHvuLsXZHZ2tDEx4yt97-fDQwEtLojFEhsus5Y.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/t-q6C2Daeh64PWWMnwuzNDOK6yrt1etjkF9BIhpJ9HY.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/tK-1NOEZed_qRbueyxbPw-NMOutZw5bdI1eFsku57C0.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/tavug0h1LdqZzksd99OpyhMSewn2b27dg9_LNrTRtec.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/tgU4lSUXxSVZskPkAhhVkYWyVltIicmlEW5jy28bbv4.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/tyXAPHB9HRUCMajT1hhEu_RXxJQWVmg5poJx_yjabkY.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/u10gUBcaxCuyfXyqfdhqRz1-hkXbdNiTwhYHBsnCWlo.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/uhLckzCtpe1MhodZ9Eha9L5_cAHVnnAjpssEGgK0gJE.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/uvH6dyEoLVE7wLKdp5Uw5oXsSlcVfajHDJuA1ACITuY.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/vKQPBwSZr3pjWm6WP9gbpyBUvnO1hko-bd7V5Rkc7zk.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/vQmahYg2BSlOHoOBc98t4M3mpRWO23GY213nygOLUWs.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/vcb0UMCAV3BZuyISepHgEt30xYcf2QqRUBbe1yiDPTk.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/vr2Ky26kBfoj1Lzdgcfeda5c_U_6k3NQ-b9Bqc3vy8s.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/vz3IHo7GXPR4vHQMnNjAVdGv_yYRAjn17iYUqt_MBwg.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/wMd3bN8GIHJ1GyviGomDxVL_RtfQERcsj6KPRmgF3QA.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/xF2X7Her13dCj5pm2QdP_W74A2SHCOF19zTC3OPN4fA.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/xiw2N0hcvLMQgaG1U0IV1tMut4PC1SPN2g1FlfqgOLQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/xnjydYZBm9KXbjh9DylByrHTn7NxJNHIIGgiltYbDtA.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/yMl_Z-8144OMa18Tx43HXEOcxNsN77AOOzBeL69y_V8.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/yfLOXzBPETp_ubxEzuXpiAr-lcNGdkSKg3PcQbIMfhE.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/yida6X11pHMGq-7wTwl2E3wxEqbbTb0HoSOyarEcO54.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ylZ4k6cqpUGn1n_r7uOXYSDs18qyGM03ikeWWK3ebXk.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/z3PYleH-yQuUROj3MWExEdDbritBOUSKmAyBElXh5EY.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/zRxSnjNpkoxlOFcoVVJ0JvwmY0oLaW4sa25eEFoblc0.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/z_5KfyOVpIF1xrjaFJn3pll3SvoKIFLKzMAtbEqo_cM.cache +3 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/zhFnH12w2VXfUa648KwVjTztyUv6GJQoLj2DOtjzHmo.cache +0 -0
- data/test/dummy/tmp/generators/config/initializers/retention_magic.rb +35 -0
- data/test/integration/navigation_test.rb +8 -0
- data/test/lib/generators/retention_magic/retenion_magic_generator_test.rb +16 -0
- data/test/retention_magic_test.rb +7 -0
- data/test/test_helper.rb +21 -0
- 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,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,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,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,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"] %>
|
Binary file
|
@@ -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
|
+
[1m[36m (9.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
2
|
+
[1m[35m (0.9ms)[0m select sqlite_version(*)
|
3
|
+
[1m[36m (1.3ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
5
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6
|
+
Migrating to CreateUsers (20151101172105)
|
7
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
9
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151101172105"]]
|
10
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
11
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
13
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
14
|
+
Migrating to CreateUsers (20151101172105)
|
15
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16
|
+
[1m[35m (0.7ms)[0m DROP TABLE "users"
|
17
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = ?[0m [["version", "20151101172105"]]
|
18
|
+
[1m[35m (0.7ms)[0m commit transaction
|
19
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
20
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
21
|
+
Migrating to CreateUsers (20151101172105)
|
22
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "posts_count" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
24
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151101172105"]]
|
25
|
+
[1m[36m (9.6ms)[0m [1mcommit transaction[0m
|
26
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|