icheck-rails 0.9.0.2 → 1.0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (256) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -8
  3. data/lib/icheck/rails/version.rb +1 -1
  4. data/test/dummy/Gemfile +40 -0
  5. data/test/dummy/Gemfile.lock +125 -0
  6. data/test/dummy/README.rdoc +15 -248
  7. data/test/dummy/Rakefile +1 -2
  8. data/test/dummy/app/assets/javascripts/application.js +4 -3
  9. data/test/dummy/app/assets/stylesheets/application.css +5 -3
  10. data/test/dummy/app/controllers/application_controller.rb +3 -1
  11. data/test/dummy/app/views/layouts/application.html.erb +2 -2
  12. data/test/dummy/bin/bundle +3 -0
  13. data/test/dummy/bin/rails +8 -0
  14. data/test/dummy/bin/rake +8 -0
  15. data/test/dummy/bin/spring +18 -0
  16. data/test/dummy/config.ru +1 -1
  17. data/test/dummy/config/application.rb +3 -39
  18. data/test/dummy/config/boot.rb +3 -9
  19. data/test/dummy/config/database.yml +8 -8
  20. data/test/dummy/config/environment.rb +3 -3
  21. data/test/dummy/config/environments/development.rb +18 -18
  22. data/test/dummy/config/environments/production.rb +42 -27
  23. data/test/dummy/config/environments/test.rb +16 -14
  24. data/test/dummy/config/initializers/assets.rb +8 -0
  25. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  26. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  27. data/test/dummy/config/initializers/inflections.rb +6 -5
  28. data/test/dummy/config/initializers/mime_types.rb +0 -1
  29. data/test/dummy/config/initializers/session_store.rb +1 -6
  30. data/test/dummy/config/initializers/wrap_parameters.rb +6 -6
  31. data/test/dummy/config/locales/en.yml +20 -2
  32. data/test/dummy/config/routes.rb +23 -25
  33. data/test/dummy/config/secrets.yml +22 -0
  34. data/test/dummy/db/development.sqlite3 +0 -0
  35. data/test/dummy/db/test.sqlite3 +0 -0
  36. data/test/dummy/log/test.log +140 -0
  37. data/test/dummy/public/404.html +54 -13
  38. data/test/dummy/public/422.html +54 -13
  39. data/test/dummy/public/500.html +53 -12
  40. data/test/dummy/public/robots.txt +5 -0
  41. data/test/dummy/test/test_helper.rb +10 -0
  42. data/test/dummy/tmp/cache/assets/C49/860/sprockets%2Ff95ca6fa195a121539576516050f0442 +0 -0
  43. data/test/dummy/tmp/cache/assets/{D38/750/sprockets%2Fc329f8e2db11af756248e0ad6641af14 → C4D/800/sprockets%2Fda950184392db4cd73359141e2041777} +0 -0
  44. data/test/dummy/tmp/cache/assets/C66/110/sprockets%2Fb25b23068c8c0290c212126b8f3e0613 +0 -0
  45. data/test/dummy/tmp/cache/assets/CDD/BE0/sprockets%2F98f18f29050f23c08a433ef2d0c65e06 +0 -0
  46. data/{vendor/assets/stylesheets/icheck/square/blue.css → test/dummy/tmp/cache/assets/CE4/A20/sprockets%2F6e785bc7afc622955ad2e3162728413e} +0 -0
  47. data/test/dummy/tmp/cache/assets/D22/7A0/sprockets%2Fa64a9743936fce27826edc630749bcf6 +0 -0
  48. data/{vendor/assets/stylesheets/icheck/futurico/futurico.css → test/dummy/tmp/cache/assets/D5E/8E0/sprockets%2F130b5708dc8fd1c07c9e9ed06a0c33a0} +0 -0
  49. data/test/dummy/tmp/cache/assets/D8D/940/sprockets%2F237eea06bb36264dea5f3a5e523b0e4c +0 -0
  50. data/test/dummy/tmp/cache/assets/D8E/D30/sprockets%2Fa5de7044e24a73dbaf416912be7e0ab4 +0 -0
  51. data/test/dummy/tmp/cache/assets/D98/2A0/sprockets%2F5f805693d99dfbe9e8b8e86a991a59bc +0 -0
  52. data/test/dummy/tmp/cache/assets/DAA/C40/sprockets%2Fd7b4d0ec278acf5fb4a9e3a8440f9775 +0 -0
  53. data/test/dummy/tmp/cache/assets/DB0/120/sprockets%2F9fcfce88a926d9b845cf76c3e11f08a0 +0 -0
  54. data/test/dummy/tmp/cache/assets/DCB/2C0/sprockets%2F88aac4e21c3d3e6cfa7b82d245362def +0 -0
  55. data/{vendor/assets/stylesheets/icheck/square/_all.css → test/dummy/tmp/cache/assets/DD3/F10/sprockets%2Ff66da10d78a08c270cbba92c3ff8f97d} +0 -0
  56. data/test/dummy/tmp/cache/assets/{C9D/6A0/sprockets%2F4e5f511955e048e988945f98fa362d50 → E29/840/sprockets%2F4ae13ddadd5872cb3d17eda5df67f42b} +0 -0
  57. data/test/dummy/tmp/cache/assets/E3A/2E0/sprockets%2Fd64d85294b8d3da8cfb8cdb4ce7e1fa6 +0 -0
  58. data/test/dummy/tmp/cache/assets/test/sass/5f39f3e599f2e6af3c1d4d61e3435037d85f1a61/_all.css.scssc +0 -0
  59. data/test/dummy/tmp/cache/assets/test/sass/5f39f3e599f2e6af3c1d4d61e3435037d85f1a61/blue.css.scssc +0 -0
  60. data/test/dummy/tmp/cache/assets/test/sass/e7d5c9e6d3e1d07a5b79d355a7c99160f3f47771/futurico.css.scssc +0 -0
  61. data/test/dummy/tmp/cache/assets/test/sprockets/019bed9edbd9df687e894cb44e56ffe7 +0 -0
  62. data/test/dummy/tmp/cache/assets/test/sprockets/03bf025d0288c953716ea03229d3eb31 +0 -0
  63. data/test/dummy/tmp/cache/assets/test/sprockets/04226396325b538ae3061d04c28017c3 +0 -0
  64. data/test/dummy/tmp/cache/assets/test/sprockets/0752da93f25e7649e4ccf7192aab7039 +0 -0
  65. data/test/dummy/tmp/cache/assets/test/sprockets/09244dad9dff6465682fc72563420db2 +0 -0
  66. data/test/dummy/tmp/cache/assets/test/sprockets/0d26b9120e1447779238498175dd2640 +0 -0
  67. data/test/dummy/tmp/cache/assets/test/sprockets/0e2cb4b92032e59b7391a350bea211a0 +0 -0
  68. data/test/dummy/tmp/cache/assets/test/sprockets/100a4fbec327885f391de0ba49324ac0 +0 -0
  69. data/test/dummy/tmp/cache/assets/test/sprockets/10effa77781f2c42d0945f99b23d62e9 +0 -0
  70. data/test/dummy/tmp/cache/assets/test/sprockets/129d0a20dc8d89d856bcbd62a1d2bcb0 +0 -0
  71. data/test/dummy/tmp/cache/assets/test/sprockets/12aa015dd65ef94cf39ead5337dcccbf +0 -0
  72. data/test/dummy/tmp/cache/assets/test/sprockets/1457b3ef462ca6a2686221ad64cb835f +0 -0
  73. data/test/dummy/tmp/cache/assets/test/sprockets/20a550176e7d85c72fcb3a0945a45724 +0 -0
  74. data/test/dummy/tmp/cache/assets/test/sprockets/20e1622334015eae11a0d7fe2c9823c6 +0 -0
  75. data/test/dummy/tmp/cache/assets/test/sprockets/218b7123c83f347e3c2475f6ebbe166c +0 -0
  76. data/test/dummy/tmp/cache/assets/test/sprockets/22b03027d24c2d716ea2a76ec9844ec8 +0 -0
  77. data/test/dummy/tmp/cache/assets/test/sprockets/29a9fb1f8465084fb64501e61e35d6c8 +0 -0
  78. data/test/dummy/tmp/cache/assets/test/sprockets/29cf1468a9b022a930e0d442da4e9aa6 +0 -0
  79. data/test/dummy/tmp/cache/assets/test/sprockets/316047a99ecc18addf3b7bb700c533e2 +0 -0
  80. data/test/dummy/tmp/cache/assets/test/sprockets/34ff63428583dbb1488912948870a063 +0 -0
  81. data/test/dummy/tmp/cache/assets/test/sprockets/42e3b209e5d3ca465b398daa15485b3c +0 -0
  82. data/{vendor/assets/javascripts/zepto.icheck.js → test/dummy/tmp/cache/assets/test/sprockets/4391e7f9b59f91c53f799c3d737da374} +0 -0
  83. data/test/dummy/tmp/cache/assets/test/sprockets/47661a05a842875bfba3c98c743f8c47 +0 -0
  84. data/test/dummy/tmp/cache/assets/test/sprockets/47e627bc90e81e0b5dce247785642307 +0 -0
  85. data/test/dummy/tmp/cache/assets/test/sprockets/4ec6dc9bd5cd55cf7c45847854763d76 +0 -0
  86. data/test/dummy/tmp/cache/assets/test/sprockets/4f2c5e539ed8e09a286949bde6c829c0 +0 -0
  87. data/test/dummy/tmp/cache/assets/test/sprockets/50749279f8653196a4df4daea00510af +0 -0
  88. data/test/dummy/tmp/cache/assets/test/sprockets/513fdf443d1336ef1282828a4fa4105a +0 -0
  89. data/test/dummy/tmp/cache/assets/test/sprockets/5a9251ea698a8f644c93902a6cc12300 +0 -0
  90. data/test/dummy/tmp/cache/assets/test/sprockets/5ab7c386d17c41c7ecc700f42d9468f7 +0 -0
  91. data/test/dummy/tmp/cache/assets/test/sprockets/5f805693d99dfbe9e8b8e86a991a59bc +0 -0
  92. data/test/dummy/tmp/cache/assets/test/sprockets/65cc37cb35d82d164d579f75dbd909d8 +0 -0
  93. data/test/dummy/tmp/cache/assets/test/sprockets/6786ab9c4a7dda4d735aa67291129d16 +0 -0
  94. data/test/dummy/tmp/cache/assets/test/sprockets/67dc11d6d4422764dbe7c1edef493dea +0 -0
  95. data/test/dummy/tmp/cache/assets/test/sprockets/69662e9c347a98b77cb5d289134270a3 +0 -0
  96. data/test/dummy/tmp/cache/assets/test/sprockets/7234d137eeef807ad41701fac1d42510 +0 -0
  97. data/test/dummy/tmp/cache/assets/test/sprockets/72422d8ae753e0745d632a555ae8b800 +0 -0
  98. data/test/dummy/tmp/cache/assets/test/sprockets/75cc3e20c97e9864f8337b823dc0f56a +0 -0
  99. data/test/dummy/tmp/cache/assets/test/sprockets/7916c20315decb556202dd58d477557c +0 -0
  100. data/test/dummy/tmp/cache/assets/test/sprockets/84843038879af889ecb44b956146bad6 +0 -0
  101. data/{vendor/assets/javascripts/jquery.icheck.js → test/dummy/tmp/cache/assets/test/sprockets/84b8313f3b2e1a6bf64f4fa1fc9ddd49} +0 -0
  102. data/test/dummy/tmp/cache/assets/test/sprockets/895b893f5a2a84f986c6331f537a9715 +0 -0
  103. data/test/dummy/tmp/cache/assets/test/sprockets/8c07aa0c41e7226c12f63b021d46c5ec +0 -0
  104. data/test/dummy/tmp/cache/assets/test/sprockets/93c77323cb9b15420d8b03b685e3459b +0 -0
  105. data/test/dummy/tmp/cache/assets/test/sprockets/9498c1656de9af602598ca69fab155a1 +0 -0
  106. data/test/dummy/tmp/cache/assets/test/sprockets/98f18f29050f23c08a433ef2d0c65e06 +0 -0
  107. data/test/dummy/tmp/cache/assets/test/sprockets/9af2afb35b99f0cbe6bf8759def77ae7 +0 -0
  108. data/test/dummy/tmp/cache/assets/test/sprockets/9f8b1892cd87a5929ea5c40e5a17637b +0 -0
  109. data/test/dummy/tmp/cache/assets/test/sprockets/a42ae2cd62485c08717fa0d553850d02 +0 -0
  110. data/test/dummy/tmp/cache/assets/test/sprockets/a6c98116b65d7dbde3c6621220f3e454 +0 -0
  111. data/test/dummy/tmp/cache/assets/test/sprockets/a8fc8c47e0f1a44d7267aa17723debe5 +0 -0
  112. data/test/dummy/tmp/cache/assets/test/sprockets/b1313a60320817c5e4f7e509e7e6687c +0 -0
  113. data/test/dummy/tmp/cache/assets/test/sprockets/b1c40bdd728a04b72cb4b18b0a7b2b34 +0 -0
  114. data/test/dummy/tmp/cache/assets/test/sprockets/b25b23068c8c0290c212126b8f3e0613 +0 -0
  115. data/test/dummy/tmp/cache/assets/test/sprockets/b4bd9330e5f6c1587e5cefe32e5dd9fb +0 -0
  116. data/test/dummy/tmp/cache/assets/test/sprockets/b87e1c9ac9272dd92aa619aa96f9fb2f +0 -0
  117. data/test/dummy/tmp/cache/assets/test/sprockets/b88b7f3d5aaa02fa98248f09d82b3e4f +0 -0
  118. data/test/dummy/tmp/cache/assets/test/sprockets/bca3ebe472763c764be11af4610dd8e8 +0 -0
  119. data/test/dummy/tmp/cache/assets/test/sprockets/c565d4c103f8a79c6b3729bd939a0e7e +0 -0
  120. data/test/dummy/tmp/cache/assets/test/sprockets/c9e9dba0a20bdb34851b74ffd6679284 +0 -0
  121. data/test/dummy/tmp/cache/assets/test/sprockets/cbd0096a0a6cfeff80ecf4cd990eb493 +0 -0
  122. data/test/dummy/tmp/cache/assets/test/sprockets/cdd540bd0b0e6b8fe0e248e0f4634ebb +0 -0
  123. data/test/dummy/tmp/cache/assets/test/sprockets/d23df72ad99a6babf18070a59a7c789e +0 -0
  124. data/test/dummy/tmp/cache/assets/test/sprockets/d3f1a9bdc4a9a72ece6e1c74faef4b0a +0 -0
  125. data/test/dummy/tmp/cache/assets/test/sprockets/d7a6c82d8611861510c743b2126ea03a +0 -0
  126. data/test/dummy/tmp/cache/assets/test/sprockets/d7b4d0ec278acf5fb4a9e3a8440f9775 +0 -0
  127. data/test/dummy/tmp/cache/assets/test/sprockets/da387cd8b832a49f110609bbacee90b4 +0 -0
  128. data/test/dummy/tmp/cache/assets/test/sprockets/e0d193d371d48c675aca37a2ee478580 +0 -0
  129. data/test/dummy/tmp/cache/assets/test/sprockets/f01b8c21d3c5b56d84f78900de506d97 +0 -0
  130. data/test/dummy/tmp/cache/assets/test/sprockets/f0b7a19d5258ae4a85c501549c3fd466 +0 -0
  131. data/test/dummy/tmp/cache/assets/test/sprockets/f154afd06b7e797bb8c316fdbe96cd39 +0 -0
  132. data/test/dummy/tmp/cache/assets/test/sprockets/f3b3ffef7380b4e3f6864fd89b3bf1f2 +0 -0
  133. data/test/dummy/tmp/cache/assets/test/sprockets/f4aad6ec8f3446944b77e51ae215c973 +0 -0
  134. data/test/dummy/tmp/cache/assets/test/sprockets/f885cdfb01e8f7076f83afa5e11e1a90 +0 -0
  135. data/test/dummy/tmp/cache/assets/test/sprockets/f966548a5f91255d6bba635497ed9c5e +0 -0
  136. data/test/dummy/tmp/cache/assets/test/sprockets/fa0bcded3b13932b232397c40db9f4a7 +0 -0
  137. data/test/dummy/tmp/cache/assets/test/sprockets/ff482d4e8738c5a8b6a1409fe95f8f88 +0 -0
  138. data/test/dummy/tmp/cache/assets/test/sprockets/ff4cfc43f1fccbe45c8561ee260f9389 +0 -0
  139. data/test/dummy/{log/development.log → tmp/restart.txt} +0 -0
  140. data/test/integration/icheck_deployment_test.rb +20 -5
  141. metadata +250 -154
  142. data/test/dummy/config/initializers/secret_token.rb +0 -7
  143. data/test/dummy/db/schema.rb +0 -16
  144. data/test/dummy/script/rails +0 -6
  145. data/test/dummy/tmp/cache/assets/CA6/AD0/sprockets%2F54996ad04dbd12db290577520c5700a8 +0 -0
  146. data/test/dummy/tmp/cache/assets/D47/4E0/sprockets%2Fe628b0a79f40ee32cde4ee70e1671786 +0 -0
  147. data/test/dummy/tmp/cache/assets/D64/5D0/sprockets%2F3239d9cc3226b6f515f4b30fbfc46ac0 +0 -0
  148. data/vendor/assets/images/icheck/flat/aero.png +0 -0
  149. data/vendor/assets/images/icheck/flat/aero@2x.png +0 -0
  150. data/vendor/assets/images/icheck/flat/blue.png +0 -0
  151. data/vendor/assets/images/icheck/flat/blue@2x.png +0 -0
  152. data/vendor/assets/images/icheck/flat/flat.png +0 -0
  153. data/vendor/assets/images/icheck/flat/flat@2x.png +0 -0
  154. data/vendor/assets/images/icheck/flat/green.png +0 -0
  155. data/vendor/assets/images/icheck/flat/green@2x.png +0 -0
  156. data/vendor/assets/images/icheck/flat/grey.png +0 -0
  157. data/vendor/assets/images/icheck/flat/grey@2x.png +0 -0
  158. data/vendor/assets/images/icheck/flat/orange.png +0 -0
  159. data/vendor/assets/images/icheck/flat/orange@2x.png +0 -0
  160. data/vendor/assets/images/icheck/flat/pink.png +0 -0
  161. data/vendor/assets/images/icheck/flat/pink@2x.png +0 -0
  162. data/vendor/assets/images/icheck/flat/purple.png +0 -0
  163. data/vendor/assets/images/icheck/flat/purple@2x.png +0 -0
  164. data/vendor/assets/images/icheck/flat/red.png +0 -0
  165. data/vendor/assets/images/icheck/flat/red@2x.png +0 -0
  166. data/vendor/assets/images/icheck/flat/yellow.png +0 -0
  167. data/vendor/assets/images/icheck/flat/yellow@2x.png +0 -0
  168. data/vendor/assets/images/icheck/futurico/futurico.png +0 -0
  169. data/vendor/assets/images/icheck/futurico/futurico@2x.png +0 -0
  170. data/vendor/assets/images/icheck/line/line.png +0 -0
  171. data/vendor/assets/images/icheck/line/line@2x.png +0 -0
  172. data/vendor/assets/images/icheck/minimal/aero.png +0 -0
  173. data/vendor/assets/images/icheck/minimal/aero@2x.png +0 -0
  174. data/vendor/assets/images/icheck/minimal/blue.png +0 -0
  175. data/vendor/assets/images/icheck/minimal/blue@2x.png +0 -0
  176. data/vendor/assets/images/icheck/minimal/green.png +0 -0
  177. data/vendor/assets/images/icheck/minimal/green@2x.png +0 -0
  178. data/vendor/assets/images/icheck/minimal/grey.png +0 -0
  179. data/vendor/assets/images/icheck/minimal/grey@2x.png +0 -0
  180. data/vendor/assets/images/icheck/minimal/minimal.png +0 -0
  181. data/vendor/assets/images/icheck/minimal/minimal@2x.png +0 -0
  182. data/vendor/assets/images/icheck/minimal/orange.png +0 -0
  183. data/vendor/assets/images/icheck/minimal/orange@2x.png +0 -0
  184. data/vendor/assets/images/icheck/minimal/pink.png +0 -0
  185. data/vendor/assets/images/icheck/minimal/pink@2x.png +0 -0
  186. data/vendor/assets/images/icheck/minimal/purple.png +0 -0
  187. data/vendor/assets/images/icheck/minimal/purple@2x.png +0 -0
  188. data/vendor/assets/images/icheck/minimal/red.png +0 -0
  189. data/vendor/assets/images/icheck/minimal/red@2x.png +0 -0
  190. data/vendor/assets/images/icheck/minimal/yellow.png +0 -0
  191. data/vendor/assets/images/icheck/minimal/yellow@2x.png +0 -0
  192. data/vendor/assets/images/icheck/polaris/polaris.png +0 -0
  193. data/vendor/assets/images/icheck/polaris/polaris@2x.png +0 -0
  194. data/vendor/assets/images/icheck/square/aero.png +0 -0
  195. data/vendor/assets/images/icheck/square/aero@2x.png +0 -0
  196. data/vendor/assets/images/icheck/square/blue.png +0 -0
  197. data/vendor/assets/images/icheck/square/blue@2x.png +0 -0
  198. data/vendor/assets/images/icheck/square/green.png +0 -0
  199. data/vendor/assets/images/icheck/square/green@2x.png +0 -0
  200. data/vendor/assets/images/icheck/square/grey.png +0 -0
  201. data/vendor/assets/images/icheck/square/grey@2x.png +0 -0
  202. data/vendor/assets/images/icheck/square/orange.png +0 -0
  203. data/vendor/assets/images/icheck/square/orange@2x.png +0 -0
  204. data/vendor/assets/images/icheck/square/pink.png +0 -0
  205. data/vendor/assets/images/icheck/square/pink@2x.png +0 -0
  206. data/vendor/assets/images/icheck/square/purple.png +0 -0
  207. data/vendor/assets/images/icheck/square/purple@2x.png +0 -0
  208. data/vendor/assets/images/icheck/square/red.png +0 -0
  209. data/vendor/assets/images/icheck/square/red@2x.png +0 -0
  210. data/vendor/assets/images/icheck/square/square.png +0 -0
  211. data/vendor/assets/images/icheck/square/square@2x.png +0 -0
  212. data/vendor/assets/images/icheck/square/yellow.png +0 -0
  213. data/vendor/assets/images/icheck/square/yellow@2x.png +0 -0
  214. data/vendor/assets/stylesheets/icheck/flat/_all.css +0 -540
  215. data/vendor/assets/stylesheets/icheck/flat/aero.css +0 -54
  216. data/vendor/assets/stylesheets/icheck/flat/blue.css +0 -54
  217. data/vendor/assets/stylesheets/icheck/flat/flat.css +0 -54
  218. data/vendor/assets/stylesheets/icheck/flat/green.css +0 -54
  219. data/vendor/assets/stylesheets/icheck/flat/grey.css +0 -54
  220. data/vendor/assets/stylesheets/icheck/flat/orange.css +0 -54
  221. data/vendor/assets/stylesheets/icheck/flat/pink.css +0 -54
  222. data/vendor/assets/stylesheets/icheck/flat/purple.css +0 -54
  223. data/vendor/assets/stylesheets/icheck/flat/red.css +0 -54
  224. data/vendor/assets/stylesheets/icheck/flat/yellow.css +0 -54
  225. data/vendor/assets/stylesheets/icheck/line/_all.css +0 -740
  226. data/vendor/assets/stylesheets/icheck/line/aero.css +0 -74
  227. data/vendor/assets/stylesheets/icheck/line/blue.css +0 -74
  228. data/vendor/assets/stylesheets/icheck/line/green.css +0 -74
  229. data/vendor/assets/stylesheets/icheck/line/grey.css +0 -74
  230. data/vendor/assets/stylesheets/icheck/line/line.css +0 -74
  231. data/vendor/assets/stylesheets/icheck/line/orange.css +0 -74
  232. data/vendor/assets/stylesheets/icheck/line/pink.css +0 -74
  233. data/vendor/assets/stylesheets/icheck/line/purple.css +0 -74
  234. data/vendor/assets/stylesheets/icheck/line/red.css +0 -74
  235. data/vendor/assets/stylesheets/icheck/line/yellow.css +0 -74
  236. data/vendor/assets/stylesheets/icheck/minimal/_all.css +0 -600
  237. data/vendor/assets/stylesheets/icheck/minimal/aero.css +0 -60
  238. data/vendor/assets/stylesheets/icheck/minimal/blue.css +0 -60
  239. data/vendor/assets/stylesheets/icheck/minimal/green.css +0 -60
  240. data/vendor/assets/stylesheets/icheck/minimal/grey.css +0 -60
  241. data/vendor/assets/stylesheets/icheck/minimal/minimal.css +0 -60
  242. data/vendor/assets/stylesheets/icheck/minimal/orange.css +0 -60
  243. data/vendor/assets/stylesheets/icheck/minimal/pink.css +0 -60
  244. data/vendor/assets/stylesheets/icheck/minimal/purple.css +0 -60
  245. data/vendor/assets/stylesheets/icheck/minimal/red.css +0 -60
  246. data/vendor/assets/stylesheets/icheck/minimal/yellow.css +0 -60
  247. data/vendor/assets/stylesheets/icheck/polaris/polaris.css +0 -60
  248. data/vendor/assets/stylesheets/icheck/square/aero.css +0 -60
  249. data/vendor/assets/stylesheets/icheck/square/green.css +0 -60
  250. data/vendor/assets/stylesheets/icheck/square/grey.css +0 -60
  251. data/vendor/assets/stylesheets/icheck/square/orange.css +0 -60
  252. data/vendor/assets/stylesheets/icheck/square/pink.css +0 -60
  253. data/vendor/assets/stylesheets/icheck/square/purple.css +0 -60
  254. data/vendor/assets/stylesheets/icheck/square/red.css +0 -60
  255. data/vendor/assets/stylesheets/icheck/square/square.css +0 -60
  256. data/vendor/assets/stylesheets/icheck/square/yellow.css +0 -60
data/test/dummy/Rakefile CHANGED
@@ -1,7 +1,6 @@
1
- #!/usr/bin/env rake
2
1
  # Add your own tasks in files placed in lib/tasks ending in .rake,
3
2
  # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
4
3
 
5
4
  require File.expand_path('../config/application', __FILE__)
6
5
 
7
- Dummy::Application.load_tasks
6
+ Rails.application.load_tasks
@@ -5,11 +5,12 @@
5
5
  // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
6
6
  //
7
7
  // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
- // the compiled file.
8
+ // compiled file.
9
9
  //
10
- // WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
11
- // GO AFTER THE REQUIRES BELOW.
10
+ // Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
11
+ // about supported directives.
12
12
  //
13
13
  //= require jquery
14
14
  //= require jquery_ujs
15
+ //= require turbolinks
15
16
  //= require_tree .
@@ -5,9 +5,11 @@
5
5
  * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
6
  * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
7
7
  *
8
- * You're free to add application-wide styles to this file and they'll appear at the top of the
9
- * compiled file, but it's generally better to create a new file per style scope.
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.
10
12
  *
11
- *= require_self
12
13
  *= require_tree .
14
+ *= require_self
13
15
  */
@@ -1,3 +1,5 @@
1
1
  class ApplicationController < ActionController::Base
2
- protect_from_forgery
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
3
5
  end
@@ -2,8 +2,8 @@
2
2
  <html>
3
3
  <head>
4
4
  <title>Dummy</title>
5
- <%= stylesheet_link_tag "application", :media => "all" %>
6
- <%= javascript_include_tag "application" %>
5
+ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
6
+ <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
7
7
  <%= csrf_meta_tags %>
8
8
  </head>
9
9
  <body>
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
3
+ load Gem.bin_path('bundler', 'bundle')
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env ruby
2
+ begin
3
+ load File.expand_path("../spring", __FILE__)
4
+ rescue LoadError
5
+ end
6
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
7
+ require_relative '../config/boot'
8
+ require 'rails/commands'
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env ruby
2
+ begin
3
+ load File.expand_path("../spring", __FILE__)
4
+ rescue LoadError
5
+ end
6
+ require_relative '../config/boot'
7
+ require 'rake'
8
+ Rake.application.run
@@ -0,0 +1,18 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ # This file loads spring without using Bundler, in order to be fast
4
+ # It gets overwritten when you run the `spring binstub` command
5
+
6
+ unless defined?(Spring)
7
+ require "rubygems"
8
+ require "bundler"
9
+
10
+ if match = Bundler.default_lockfile.read.match(/^GEM$.*?^ spring \((.*?)\)$.*?^$/m)
11
+ ENV["GEM_PATH"] = ([Bundler.bundle_path.to_s] + Gem.path).join(File::PATH_SEPARATOR)
12
+ ENV["GEM_HOME"] = ""
13
+ Gem.paths = ENV
14
+
15
+ gem "spring", match[1]
16
+ require "spring/binstub"
17
+ end
18
+ end
data/test/dummy/config.ru CHANGED
@@ -1,4 +1,4 @@
1
1
  # This file is used by Rack-based servers to start the application.
2
2
 
3
3
  require ::File.expand_path('../config/environment', __FILE__)
4
- run Dummy::Application
4
+ run Rails.application
@@ -2,8 +2,9 @@ require File.expand_path('../boot', __FILE__)
2
2
 
3
3
  require 'rails/all'
4
4
 
5
- Bundler.require
6
- require "icheck-rails"
5
+ # Require the gems listed in Gemfile, including any gems
6
+ # you've limited to :test, :development, or :production.
7
+ Bundler.require(*Rails.groups)
7
8
 
8
9
  module Dummy
9
10
  class Application < Rails::Application
@@ -11,16 +12,6 @@ module Dummy
11
12
  # Application configuration should go into files in config/initializers
12
13
  # -- all .rb files in that directory are automatically loaded.
13
14
 
14
- # Custom directories with classes and modules you want to be autoloadable.
15
- # config.autoload_paths += %W(#{config.root}/extras)
16
-
17
- # Only load the plugins named here, in the order given (default is alphabetical).
18
- # :all can be used as a placeholder for all plugins not explicitly named.
19
- # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
20
-
21
- # Activate observers that should always be running.
22
- # config.active_record.observers = :cacher, :garbage_collector, :forum_observer
23
-
24
15
  # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
25
16
  # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
26
17
  # config.time_zone = 'Central Time (US & Canada)'
@@ -28,32 +19,5 @@ module Dummy
28
19
  # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
29
20
  # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
30
21
  # config.i18n.default_locale = :de
31
-
32
- # Configure the default encoding used in templates for Ruby 1.9.
33
- config.encoding = "utf-8"
34
-
35
- # Configure sensitive parameters which will be filtered from the log file.
36
- config.filter_parameters += [:password]
37
-
38
- # Enable escaping HTML in JSON.
39
- config.active_support.escape_html_entities_in_json = true
40
-
41
- # Use SQL instead of Active Record's schema dumper when creating the database.
42
- # This is necessary if your schema can't be completely dumped by the schema dumper,
43
- # like if you have constraints or database-specific column types
44
- # config.active_record.schema_format = :sql
45
-
46
- # Enforce whitelist mode for mass assignment.
47
- # This will create an empty whitelist of attributes available for mass-assignment for all models
48
- # in your app. As such, your models will need to explicitly whitelist or blacklist accessible
49
- # parameters by using an attr_accessible or attr_protected declaration.
50
- config.active_record.whitelist_attributes = true
51
-
52
- # Enable the asset pipeline
53
- config.assets.enabled = true
54
-
55
- # Version of your assets, change this if you want to expire all your assets
56
- config.assets.version = '1.0'
57
22
  end
58
23
  end
59
-
@@ -1,10 +1,4 @@
1
- require 'rubygems'
2
- gemfile = File.expand_path('../../../../Gemfile', __FILE__)
1
+ # Set up gems listed in the Gemfile.
2
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
3
3
 
4
- if File.exist?(gemfile)
5
- ENV['BUNDLE_GEMFILE'] = gemfile
6
- require 'bundler'
7
- Bundler.setup
8
- end
9
-
10
- $:.unshift File.expand_path('../../../../lib', __FILE__)
4
+ require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
@@ -3,23 +3,23 @@
3
3
  #
4
4
  # Ensure the SQLite 3 gem is defined in your Gemfile
5
5
  # gem 'sqlite3'
6
- development:
6
+ #
7
+ default: &default
7
8
  adapter: sqlite3
8
- database: db/development.sqlite3
9
9
  pool: 5
10
10
  timeout: 5000
11
11
 
12
+ development:
13
+ <<: *default
14
+ database: db/development.sqlite3
15
+
12
16
  # Warning: The database defined as "test" will be erased and
13
17
  # re-generated from your development database when you run "rake".
14
18
  # Do not set this db to the same as development or production.
15
19
  test:
16
- adapter: sqlite3
20
+ <<: *default
17
21
  database: db/test.sqlite3
18
- pool: 5
19
- timeout: 5000
20
22
 
21
23
  production:
22
- adapter: sqlite3
24
+ <<: *default
23
25
  database: db/production.sqlite3
24
- pool: 5
25
- timeout: 5000
@@ -1,5 +1,5 @@
1
- # Load the rails application
1
+ # Load the Rails application.
2
2
  require File.expand_path('../application', __FILE__)
3
3
 
4
- # Initialize the rails application
5
- Dummy::Application.initialize!
4
+ # Initialize the Rails application.
5
+ Rails.application.initialize!
@@ -1,37 +1,37 @@
1
1
  Dummy::Application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
3
 
4
4
  # In the development environment your application's code is reloaded on
5
5
  # every request. This slows down response time but is perfect for development
6
6
  # since you don't have to restart the web server when you make code changes.
7
7
  config.cache_classes = false
8
8
 
9
- # Log error messages when you accidentally call methods on nil.
10
- config.whiny_nils = true
9
+ # Do not eager load code on boot.
10
+ config.eager_load = false
11
11
 
12
- # Show full error reports and disable caching
12
+ # Show full error reports and disable caching.
13
13
  config.consider_all_requests_local = true
14
14
  config.action_controller.perform_caching = false
15
15
 
16
- # Don't care if the mailer can't send
16
+ # Don't care if the mailer can't send.
17
17
  config.action_mailer.raise_delivery_errors = false
18
18
 
19
- # Print deprecation notices to the Rails logger
19
+ # Print deprecation notices to the Rails logger.
20
20
  config.active_support.deprecation = :log
21
21
 
22
- # Only use best-standards-support built into browsers
23
- config.action_dispatch.best_standards_support = :builtin
22
+ # Raise an error on page load if there are pending migrations.
23
+ config.active_record.migration_error = :page_load
24
24
 
25
- # Raise exception on mass assignment protection for Active Record models
26
- config.active_record.mass_assignment_sanitizer = :strict
27
-
28
- # Log the query plan for queries taking more than this (works
29
- # with SQLite, MySQL, and PostgreSQL)
30
- config.active_record.auto_explain_threshold_in_seconds = 0.5
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
31
29
 
32
- # Do not compress assets
33
- config.assets.compress = false
30
+ # Adds additional error checking when serving assets at runtime.
31
+ # Checks for improperly declared sprockets dependencies.
32
+ # Raises helpful error messages.
33
+ config.assets.raise_runtime_errors = true
34
34
 
35
- # Expands the lines which load the assets
36
- config.assets.debug = true
35
+ # Raises error for missing translations
36
+ # config.action_view.raise_on_missing_translations = true
37
37
  end
@@ -1,67 +1,82 @@
1
1
  Dummy::Application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
3
 
4
- # Code is not reloaded between requests
4
+ # Code is not reloaded between requests.
5
5
  config.cache_classes = true
6
6
 
7
- # Full error reports are disabled and caching is turned on
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.
8
14
  config.consider_all_requests_local = false
9
15
  config.action_controller.perform_caching = true
10
16
 
11
- # Disable Rails's static asset server (Apache or nginx will already do this)
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 nginx, varnish or squid.
20
+ # config.action_dispatch.rack_cache = true
21
+
22
+ # Disable Rails's static asset server (Apache or nginx will already do this).
12
23
  config.serve_static_assets = false
13
24
 
14
- # Compress JavaScripts and CSS
15
- config.assets.compress = true
25
+ # Compress JavaScripts and CSS.
26
+ config.assets.js_compressor = :uglifier
27
+ # config.assets.css_compressor = :sass
16
28
 
17
- # Don't fallback to assets pipeline if a precompiled asset is missed
29
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
18
30
  config.assets.compile = false
19
31
 
20
- # Generate digests for assets URLs
32
+ # Generate digests for assets URLs.
21
33
  config.assets.digest = true
22
34
 
23
- # Defaults to nil and saved in location specified by config.assets.prefix
24
- # config.assets.manifest = YOUR_PATH
35
+ # `config.assets.precompile` has moved to config/initializers/assets.rb
25
36
 
26
- # Specifies the header that your server uses for sending files
37
+ # Specifies the header that your server uses for sending files.
27
38
  # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
28
39
  # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
29
40
 
30
41
  # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
31
42
  # config.force_ssl = true
32
43
 
33
- # See everything in the log (default is :info)
34
- # config.log_level = :debug
44
+ # Set to :debug to see everything in the log.
45
+ config.log_level = :info
35
46
 
36
- # Prepend all log lines with the following tags
47
+ # Prepend all log lines with the following tags.
37
48
  # config.log_tags = [ :subdomain, :uuid ]
38
49
 
39
- # Use a different logger for distributed setups
50
+ # Use a different logger for distributed setups.
40
51
  # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
41
52
 
42
- # Use a different cache store in production
53
+ # Use a different cache store in production.
43
54
  # config.cache_store = :mem_cache_store
44
55
 
45
- # Enable serving of images, stylesheets, and JavaScripts from an asset server
56
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
46
57
  # config.action_controller.asset_host = "http://assets.example.com"
47
58
 
48
- # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
59
+ # Precompile additional assets.
60
+ # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
49
61
  # config.assets.precompile += %w( search.js )
50
62
 
51
- # Disable delivery errors, bad email addresses will be ignored
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.
52
65
  # config.action_mailer.raise_delivery_errors = false
53
66
 
54
- # Enable threaded mode
55
- # config.threadsafe!
56
-
57
67
  # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
58
- # the I18n.default_locale when a translation can not be found)
68
+ # the I18n.default_locale when a translation cannot be found).
59
69
  config.i18n.fallbacks = true
60
70
 
61
- # Send deprecation notices to registered listeners
71
+ # Send deprecation notices to registered listeners.
62
72
  config.active_support.deprecation = :notify
63
73
 
64
- # Log the query plan for queries taking more than this (works
65
- # with SQLite, MySQL, and PostgreSQL)
66
- # config.active_record.auto_explain_threshold_in_seconds = 0.5
74
+ # Disable automatic flushing of the log to improve performance.
75
+ # config.autoflush_log = false
76
+
77
+ # Use default logging formatter so that PID and timestamp are not suppressed.
78
+ config.log_formatter = ::Logger::Formatter.new
79
+
80
+ # Do not dump schema after migrations.
81
+ config.active_record.dump_schema_after_migration = false
67
82
  end
@@ -1,5 +1,5 @@
1
1
  Dummy::Application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
3
 
4
4
  # The test environment is used exclusively to run your application's
5
5
  # test suite. You never need to work with it otherwise. Remember that
@@ -7,31 +7,33 @@ Dummy::Application.configure do
7
7
  # and recreated between test runs. Don't rely on the data there!
8
8
  config.cache_classes = true
9
9
 
10
- # Configure static asset server for tests with Cache-Control for performance
11
- config.serve_static_assets = true
12
- config.static_cache_control = "public, max-age=3600"
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
13
14
 
14
- # Log error messages when you accidentally call methods on nil
15
- config.whiny_nils = true
15
+ # Configure static asset server for tests with Cache-Control for performance.
16
+ config.serve_static_assets = true
17
+ config.static_cache_control = 'public, max-age=3600'
16
18
 
17
- # Show full error reports and disable caching
19
+ # Show full error reports and disable caching.
18
20
  config.consider_all_requests_local = true
19
21
  config.action_controller.perform_caching = false
20
22
 
21
- # Raise exceptions instead of rendering exception templates
23
+ # Raise exceptions instead of rendering exception templates.
22
24
  config.action_dispatch.show_exceptions = false
23
25
 
24
- # Disable request forgery protection in test environment
25
- config.action_controller.allow_forgery_protection = false
26
+ # Disable request forgery protection in test environment.
27
+ config.action_controller.allow_forgery_protection = false
26
28
 
27
29
  # Tell Action Mailer not to deliver emails to the real world.
28
30
  # The :test delivery method accumulates sent emails in the
29
31
  # ActionMailer::Base.deliveries array.
30
32
  config.action_mailer.delivery_method = :test
31
33
 
32
- # Raise exception on mass assignment protection for Active Record models
33
- config.active_record.mass_assignment_sanitizer = :strict
34
-
35
- # Print deprecation notices to the stderr
34
+ # Print deprecation notices to the stderr.
36
35
  config.active_support.deprecation = :stderr
36
+
37
+ # Raises error for missing translations
38
+ # config.action_view.raise_on_missing_translations = true
37
39
  end