storytime 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (201) hide show
  1. checksums.yaml +4 -4
  2. data/config/initializers/url_for_patch.rb +16 -8
  3. data/lib/storytime/version.rb +1 -1
  4. data/spec/dummy/db/test.sqlite3 +0 -0
  5. data/spec/dummy/log/development.log +158 -0
  6. data/spec/dummy/log/test.log +64267 -0
  7. data/spec/dummy/public/uploads/storytime/media/file/{12/success-kid.jpg → 1/tiny_success-kid.jpg} +0 -0
  8. data/spec/dummy/public/uploads/storytime/media/file/{12/thumb_success-kid.jpg → 10/tiny_success-kid.jpg} +0 -0
  9. data/spec/dummy/public/uploads/storytime/media/file/{15/success-kid.jpg → 11/tiny_success-kid.jpg} +0 -0
  10. data/spec/dummy/public/uploads/storytime/media/file/{15/thumb_success-kid.jpg → 13/tiny_success-kid.jpg} +0 -0
  11. data/spec/dummy/public/uploads/storytime/media/file/{5 → 14}/success-kid.jpg +0 -0
  12. data/spec/dummy/public/uploads/storytime/media/file/{5 → 14}/thumb_success-kid.jpg +0 -0
  13. data/spec/dummy/public/uploads/storytime/media/file/{7/success-kid.jpg → 14/tiny_success-kid.jpg} +0 -0
  14. data/spec/dummy/public/uploads/storytime/media/file/{7/thumb_success-kid.jpg → 16/success-kid.jpg} +0 -0
  15. data/spec/dummy/public/uploads/storytime/media/file/16/thumb_success-kid.jpg +0 -0
  16. data/spec/dummy/public/uploads/storytime/media/file/16/tiny_success-kid.jpg +0 -0
  17. data/spec/dummy/public/uploads/storytime/media/file/17/tiny_success-kid.jpg +0 -0
  18. data/spec/dummy/public/uploads/storytime/media/file/2/tiny_success-kid.jpg +0 -0
  19. data/spec/dummy/public/uploads/storytime/media/file/4/success-kid.jpg +0 -0
  20. data/spec/dummy/public/uploads/storytime/media/file/4/thumb_success-kid.jpg +0 -0
  21. data/spec/dummy/public/uploads/storytime/media/file/4/tiny_success-kid.jpg +0 -0
  22. data/spec/dummy/public/uploads/storytime/media/file/6/tiny_success-kid.jpg +0 -0
  23. data/spec/dummy/public/uploads/storytime/media/file/8/tiny_success-kid.jpg +0 -0
  24. data/spec/dummy/public/uploads/storytime/media/file/9/success-kid.jpg +0 -0
  25. data/spec/dummy/public/uploads/storytime/media/file/9/thumb_success-kid.jpg +0 -0
  26. data/spec/dummy/public/uploads/storytime/media/file/9/tiny_success-kid.jpg +0 -0
  27. data/spec/dummy/tmp/cache/assets/test/sass/0adaac716b6141bb88aa0744d02a0ebeebefa699/admin.css.scssc +0 -0
  28. data/spec/dummy/tmp/cache/assets/test/sass/0adaac716b6141bb88aa0744d02a0ebeebefa699/application.css.scssc +0 -0
  29. data/spec/dummy/tmp/cache/assets/test/sass/0adaac716b6141bb88aa0744d02a0ebeebefa699/layout.css.scssc +0 -0
  30. data/spec/dummy/tmp/cache/assets/test/sass/0adaac716b6141bb88aa0744d02a0ebeebefa699/media.css.scssc +0 -0
  31. data/spec/dummy/tmp/cache/assets/test/sass/0adaac716b6141bb88aa0744d02a0ebeebefa699/posts.css.scssc +0 -0
  32. data/spec/dummy/tmp/cache/assets/test/sass/955673954d88f19ed9636c992c44ffd8d3b9b730/_bordered-pulled.scssc +0 -0
  33. data/spec/dummy/tmp/cache/assets/test/sass/955673954d88f19ed9636c992c44ffd8d3b9b730/_core.scssc +0 -0
  34. data/spec/dummy/tmp/cache/assets/test/sass/955673954d88f19ed9636c992c44ffd8d3b9b730/_fixed-width.scssc +0 -0
  35. data/spec/dummy/tmp/cache/assets/test/sass/955673954d88f19ed9636c992c44ffd8d3b9b730/_icons.scssc +0 -0
  36. data/spec/dummy/tmp/cache/assets/test/sass/955673954d88f19ed9636c992c44ffd8d3b9b730/_larger.scssc +0 -0
  37. data/spec/dummy/tmp/cache/assets/test/sass/955673954d88f19ed9636c992c44ffd8d3b9b730/_list.scssc +0 -0
  38. data/spec/dummy/tmp/cache/assets/test/sass/955673954d88f19ed9636c992c44ffd8d3b9b730/_mixins.scssc +0 -0
  39. data/spec/dummy/tmp/cache/assets/test/sass/955673954d88f19ed9636c992c44ffd8d3b9b730/_path.scssc +0 -0
  40. data/spec/dummy/tmp/cache/assets/test/sass/955673954d88f19ed9636c992c44ffd8d3b9b730/_rotated-flipped.scssc +0 -0
  41. data/spec/dummy/tmp/cache/assets/test/sass/955673954d88f19ed9636c992c44ffd8d3b9b730/_spinning.scssc +0 -0
  42. data/spec/dummy/tmp/cache/assets/test/sass/955673954d88f19ed9636c992c44ffd8d3b9b730/_stacked.scssc +0 -0
  43. data/spec/dummy/tmp/cache/assets/test/sass/955673954d88f19ed9636c992c44ffd8d3b9b730/_variables.scssc +0 -0
  44. data/spec/dummy/tmp/cache/assets/test/sass/ceef528644a74b3a868b03d4dc0fffec6aab2b70/_font-awesome-sprockets.scssc +0 -0
  45. data/spec/dummy/tmp/cache/assets/test/sass/ceef528644a74b3a868b03d4dc0fffec6aab2b70/font-awesome.scssc +0 -0
  46. data/spec/dummy/tmp/cache/assets/test/sass/dd409a3d36a86ee0440345ad96f6d2d6681f53ff/core.css.erbc +0 -0
  47. data/spec/dummy/tmp/cache/assets/test/sass/dd409a3d36a86ee0440345ad96f6d2d6681f53ff/datepicker.css.erbc +0 -0
  48. data/spec/dummy/tmp/cache/assets/test/sass/dd409a3d36a86ee0440345ad96f6d2d6681f53ff/theme.css.erbc +0 -0
  49. data/spec/dummy/tmp/cache/assets/test/sprockets/0146d8f3a80d588e60d690c63e3815d6 +0 -0
  50. data/spec/dummy/tmp/cache/assets/test/sprockets/021e67a90322f8e13682487e365e1839 +0 -0
  51. data/spec/dummy/tmp/cache/assets/test/sprockets/02dd304205108517c066ca5aacc71c53 +0 -0
  52. data/spec/dummy/tmp/cache/assets/test/sprockets/038b0c2fe178ae3b97cbc69a1a408fe1 +0 -0
  53. data/spec/dummy/tmp/cache/assets/test/sprockets/05d7dd22cbe64166d2e1248e517babd5 +0 -0
  54. data/spec/dummy/tmp/cache/assets/test/sprockets/072c3f8b1cc820b5b75a8157dd0fc21e +0 -0
  55. data/spec/dummy/tmp/cache/assets/test/sprockets/078690b3e08566a9b7914a83937ae8bd +0 -0
  56. data/spec/dummy/tmp/cache/assets/test/sprockets/0790fcd45deb246fcd5aa126a2028a50 +0 -0
  57. data/spec/dummy/tmp/cache/assets/test/sprockets/081a022dbb2b4d42f1baada4f49af768 +0 -0
  58. data/spec/dummy/tmp/cache/assets/test/sprockets/08e4763c04176edf09fc449dec7169fd +0 -0
  59. data/spec/dummy/tmp/cache/assets/test/sprockets/0d2727ba6c35c8e295a06888e63f6554 +0 -0
  60. data/spec/dummy/tmp/cache/assets/test/sprockets/0e67bf459da3f7597b01fb11f2bda4f7 +0 -0
  61. data/spec/dummy/tmp/cache/assets/test/sprockets/12acb74280dca442b5e11cf8820653ff +0 -0
  62. data/spec/dummy/tmp/cache/assets/test/sprockets/138fd326f71e472eed7742f323da671b +0 -0
  63. data/spec/dummy/tmp/cache/assets/test/sprockets/13a25ebc823ad4c4df3ec14af82823d8 +0 -0
  64. data/spec/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  65. data/spec/dummy/tmp/cache/assets/test/sprockets/1515968e9bfce5388d92be55df094875 +0 -0
  66. data/spec/dummy/tmp/cache/assets/test/sprockets/170327cc3c46701aa0fad89ac033f86f +0 -0
  67. data/spec/dummy/tmp/cache/assets/test/sprockets/175a87e3af949e4c59ca407c8b89e584 +0 -0
  68. data/spec/dummy/tmp/cache/assets/test/sprockets/17b43201373f45cbe6297536bde2bc27 +0 -0
  69. data/spec/dummy/tmp/cache/assets/test/sprockets/17c48c69e75dc918d18cfce7ecfd872d +0 -0
  70. data/spec/dummy/tmp/cache/assets/test/sprockets/180a530dad5e67b95a82a17434e8ecf9 +0 -0
  71. data/spec/dummy/tmp/cache/assets/test/sprockets/184694892843c62a63bfb91e42e94ead +0 -0
  72. data/spec/dummy/tmp/cache/assets/test/sprockets/1aa7393f0be420f98b661745a4c0fa4e +0 -0
  73. data/spec/dummy/tmp/cache/assets/test/sprockets/1ba981d3b5281c42d55e1b62f087c52e +0 -0
  74. data/spec/dummy/tmp/cache/assets/test/sprockets/1c19fe1ab6b6f3bb126d57d2c21fe4de +0 -0
  75. data/spec/dummy/tmp/cache/assets/test/sprockets/1cd88a81386c157ff02518e6e3a83783 +0 -0
  76. data/spec/dummy/tmp/cache/assets/test/sprockets/1d3cf818d8f266fdfa60c7272720e47a +0 -0
  77. data/spec/dummy/tmp/cache/assets/test/sprockets/21b4c62d2d214ae13540f58b8595c191 +0 -0
  78. data/spec/dummy/tmp/cache/assets/test/sprockets/22eaa387bbede8e2d379c6793bddb5bb +0 -0
  79. data/spec/dummy/tmp/cache/assets/test/sprockets/22ec9c7d803b80f829886b55f4722c52 +0 -0
  80. data/spec/dummy/tmp/cache/assets/test/sprockets/2787a226f2869dd43bf4ee3142c2ca05 +0 -0
  81. data/spec/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  82. data/spec/dummy/tmp/cache/assets/test/sprockets/31476a62d1a9f4f1c8c56a47afd026f3 +0 -0
  83. data/spec/dummy/tmp/cache/assets/test/sprockets/32f2ca9fb3aec31cc9f0fedfa9b23bdb +0 -0
  84. data/spec/dummy/tmp/cache/assets/test/sprockets/34550a79e6ddab3d3be7adbdf3bd7e3b +0 -0
  85. data/spec/dummy/tmp/cache/assets/test/sprockets/35347f63a1d3b9889f37653b57bf355c +0 -0
  86. data/spec/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  87. data/spec/dummy/tmp/cache/assets/test/sprockets/37919a96b9e6c35a5854eaad138e4af6 +0 -0
  88. data/spec/dummy/tmp/cache/assets/test/sprockets/395d9f8f4ced71184b1afd0828b00e1b +0 -0
  89. data/spec/dummy/tmp/cache/assets/test/sprockets/3a0239703e1d9929c1b86841ad63dc15 +0 -0
  90. data/spec/dummy/tmp/cache/assets/test/sprockets/3b16065c9fb836d1aef2d2f9d00ca982 +0 -0
  91. data/spec/dummy/tmp/cache/assets/test/sprockets/3c618a68debe38d6a876044c2ff16265 +0 -0
  92. data/spec/dummy/tmp/cache/assets/test/sprockets/3f6cd25971c899c92071fb97f77a852e +0 -0
  93. data/spec/dummy/tmp/cache/assets/test/sprockets/3fb63ef38ca66dff80074d538ea23b5f +0 -0
  94. data/spec/dummy/tmp/cache/assets/test/sprockets/404d5288b7571c51ed8bf58a6fbd1d8e +0 -0
  95. data/spec/dummy/tmp/cache/assets/test/sprockets/422a16f515b76ef726531bf7c4c6c8d2 +0 -0
  96. data/spec/dummy/tmp/cache/assets/test/sprockets/43b334a78e2ea1647e3c19d092156b89 +0 -0
  97. data/spec/dummy/tmp/cache/assets/test/sprockets/4417425d30442691a27d338f25f41450 +0 -0
  98. data/spec/dummy/tmp/cache/assets/test/sprockets/4546646cefad50f849c9628a78068204 +0 -0
  99. data/spec/dummy/tmp/cache/assets/test/sprockets/479e2c5e68d509d547cab10727b23234 +0 -0
  100. data/spec/dummy/tmp/cache/assets/test/sprockets/4a025cb7c51f498065cc74616b70eb66 +0 -0
  101. data/spec/dummy/tmp/cache/assets/test/sprockets/4a2b1894ca6e9f00d4ab01ae6001f76a +0 -0
  102. data/spec/dummy/tmp/cache/assets/test/sprockets/4ad87c21865d59a505dfbff8111ced23 +0 -0
  103. data/spec/dummy/tmp/cache/assets/test/sprockets/4b85ceec4783717bfb14bf82ce258eba +0 -0
  104. data/spec/dummy/tmp/cache/assets/test/sprockets/4bd2583f8d6408e3abefaaa74945a417 +0 -0
  105. data/spec/dummy/tmp/cache/assets/test/sprockets/50103fd42c9ee17984a7ee5a2b3ab8bf +0 -0
  106. data/spec/dummy/tmp/cache/assets/test/sprockets/5207876e6ac992536d87ed2b20154af1 +0 -0
  107. data/spec/dummy/tmp/cache/assets/test/sprockets/530427b97a17e652685ec2e328d22ae4 +0 -0
  108. data/spec/dummy/tmp/cache/assets/test/sprockets/54d26acd2dbe7aa03e5442f3c0d8eab8 +0 -0
  109. data/spec/dummy/tmp/cache/assets/test/sprockets/552ab48a812c41506f9f942e545f231c +0 -0
  110. data/spec/dummy/tmp/cache/assets/test/sprockets/570fbed618d3e5a1d2ecd32aca1d4b19 +0 -0
  111. data/spec/dummy/tmp/cache/assets/test/sprockets/5b87f67de9831c863d0f05253eac86e2 +0 -0
  112. data/spec/dummy/tmp/cache/assets/test/sprockets/5d3babf209f65f97c505eeff4dde8e20 +0 -0
  113. data/spec/dummy/tmp/cache/assets/test/sprockets/5f0e0e9a619f88a2e56b242b791c3ef1 +0 -0
  114. data/spec/dummy/tmp/cache/assets/test/sprockets/605905607f652458c6c9af289ef7fe02 +0 -0
  115. data/spec/dummy/tmp/cache/assets/test/sprockets/6344fcd706edf9393baaa7bc2ac4bff8 +0 -0
  116. data/spec/dummy/tmp/cache/assets/test/sprockets/68dfa3b62ee633a76bac9276e9ebea96 +0 -0
  117. data/spec/dummy/tmp/cache/assets/test/sprockets/68e757e17f1c9ffe0e6be886a138da57 +0 -0
  118. data/spec/dummy/tmp/cache/assets/test/sprockets/6982523746c35e9f8f1dfaa52320a339 +0 -0
  119. data/spec/dummy/tmp/cache/assets/test/sprockets/6b5e70064fb387944d7945a4982030d2 +0 -0
  120. data/spec/dummy/tmp/cache/assets/test/sprockets/6eed893a82ff007e5a24b85a82789c34 +0 -0
  121. data/spec/dummy/tmp/cache/assets/test/sprockets/6f00722ef0af526b1efbafe35c563757 +0 -0
  122. data/spec/dummy/tmp/cache/assets/test/sprockets/7032b18b105fa2f1b0d36712fa163aba +0 -0
  123. data/spec/dummy/tmp/cache/assets/test/sprockets/729fca37d55c02f45a81ae17f19f9c50 +0 -0
  124. data/spec/dummy/tmp/cache/assets/test/sprockets/72b4a4009c77f0911622445858960812 +0 -0
  125. data/spec/dummy/tmp/cache/assets/test/sprockets/7383c4b61cd9756c18a570d11467dcdf +0 -0
  126. data/spec/dummy/tmp/cache/assets/test/sprockets/74098eb81e482f249d38afd3158e5a34 +0 -0
  127. data/spec/dummy/tmp/cache/assets/test/sprockets/75cd20cbbb52ae0216f775eb336b7b89 +0 -0
  128. data/spec/dummy/tmp/cache/assets/test/sprockets/7b41fd762333284058d440fcbdb886e7 +0 -0
  129. data/spec/dummy/tmp/cache/assets/test/sprockets/7c85b9722bf6bdb49741a9346c0a8c4d +0 -0
  130. data/spec/dummy/tmp/cache/assets/test/sprockets/7edefb28f76d64aa408a939c07a9c927 +0 -0
  131. data/spec/dummy/tmp/cache/assets/test/sprockets/7ee9b6c720f04c401c3090081a5aa4ca +0 -0
  132. data/spec/dummy/tmp/cache/assets/test/sprockets/7f31d5bc660190937725037999a7de2f +0 -0
  133. data/spec/dummy/tmp/cache/assets/test/sprockets/875a540792a1475809b94e80e648f339 +0 -0
  134. data/spec/dummy/tmp/cache/assets/test/sprockets/891e66f496602a880d74504288f818da +0 -0
  135. data/spec/dummy/tmp/cache/assets/test/sprockets/89752c31f7c480cd162853d8d7c684aa +0 -0
  136. data/spec/dummy/tmp/cache/assets/test/sprockets/89a4a550c083d92b4b76a9f330032674 +0 -0
  137. data/spec/dummy/tmp/cache/assets/test/sprockets/8b2ce198ab9bceb52fc05308e57c46a3 +0 -0
  138. data/spec/dummy/tmp/cache/assets/test/sprockets/8cde4622840b75a76abc063b81a3533e +0 -0
  139. data/spec/dummy/tmp/cache/assets/test/sprockets/8fff7bad1f08f5e57494185bc6198f8b +0 -0
  140. data/spec/dummy/tmp/cache/assets/test/sprockets/923f571cb691c6bdfedfee3e710e495b +0 -0
  141. data/spec/dummy/tmp/cache/assets/test/sprockets/93186b72533f30d0ff1585bc551c9377 +0 -0
  142. data/spec/dummy/tmp/cache/assets/test/sprockets/932f98b984b85f74cf9e3a271163331a +0 -0
  143. data/spec/dummy/tmp/cache/assets/test/sprockets/937e67ad8c9fe28b6152e182a01a981f +0 -0
  144. data/spec/dummy/tmp/cache/assets/test/sprockets/938b43f81471917d175c76ed2f0fa852 +0 -0
  145. data/spec/dummy/tmp/cache/assets/test/sprockets/9519ed6a9f0241b55d2c10bc4b19e1af +0 -0
  146. data/spec/dummy/tmp/cache/assets/test/sprockets/952fb26f70d8b2831d46c220e14d296c +0 -0
  147. data/spec/dummy/tmp/cache/assets/test/sprockets/9634a26ba5e223f7b9e046ea732454cd +0 -0
  148. data/spec/dummy/tmp/cache/assets/test/sprockets/972e6ef98f6f09bdeb03e5851fba99de +0 -0
  149. data/spec/dummy/tmp/cache/assets/test/sprockets/9730106d756f09571d52e7acfb35f7e6 +0 -0
  150. data/spec/dummy/tmp/cache/assets/test/sprockets/9cead9b4cecbea69b9b17d0846211e87 +0 -0
  151. data/spec/dummy/tmp/cache/assets/test/sprockets/a730b3a161177d94d4514018fd1e12b2 +0 -0
  152. data/spec/dummy/tmp/cache/assets/test/sprockets/a7718f0b82bc67114c3cda06adef9901 +0 -0
  153. data/spec/dummy/tmp/cache/assets/test/sprockets/a840034109343e3529b6173f6260e0ed +0 -0
  154. data/spec/dummy/tmp/cache/assets/test/sprockets/aafd3f2f881bda79ce553078ff5ad77f +0 -0
  155. data/spec/dummy/tmp/cache/assets/test/sprockets/b0a865d8a4f773c619bfddc204346cb8 +0 -0
  156. data/spec/dummy/tmp/cache/assets/test/sprockets/b7cf1012b9eb3551b72d193e49afa477 +0 -0
  157. data/spec/dummy/tmp/cache/assets/test/sprockets/b9ac01b0910bdc34d87f86d46634068e +0 -0
  158. data/spec/dummy/tmp/cache/assets/test/sprockets/bcccbb9e7975681880667129961434b9 +0 -0
  159. data/spec/dummy/tmp/cache/assets/test/sprockets/bd217b922b3805ebb9dc59087e149b9f +0 -0
  160. data/spec/dummy/tmp/cache/assets/test/sprockets/bd69db616306365e99108da038db6d9b +0 -0
  161. data/spec/dummy/tmp/cache/assets/test/sprockets/bfd5d07078382ace8728b022a1b1d97d +0 -0
  162. data/spec/dummy/tmp/cache/assets/test/sprockets/c41d9a696cb0b59a47fe382b60bc3685 +0 -0
  163. data/spec/dummy/tmp/cache/assets/test/sprockets/c56245d8705409503766a2e9743b083a +0 -0
  164. data/spec/dummy/tmp/cache/assets/test/sprockets/c9779c25787538f8ac1b50f12b3ddc21 +0 -0
  165. data/spec/dummy/tmp/cache/assets/test/sprockets/cd947480744269babe9722e077cbcaba +0 -0
  166. data/spec/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  167. data/spec/dummy/tmp/cache/assets/test/sprockets/d05ddb75a3c9ae08e9757859a5a3c3fb +0 -0
  168. data/spec/dummy/tmp/cache/assets/test/sprockets/d0e351321fab52efa605a8e91d9491bf +0 -0
  169. data/spec/dummy/tmp/cache/assets/test/sprockets/d5fdd43b56870d436d7c2bcc3bd0e269 +0 -0
  170. data/spec/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  171. data/spec/dummy/tmp/cache/assets/test/sprockets/d82a91429959bb7f1cc3f9659adaeb43 +0 -0
  172. data/spec/dummy/tmp/cache/assets/test/sprockets/d90e66c7591740ad8c0093969f79a9f2 +0 -0
  173. data/spec/dummy/tmp/cache/assets/test/sprockets/d9b80f85345e29a7f4d92e5e21d75f51 +0 -0
  174. data/spec/dummy/tmp/cache/assets/test/sprockets/d9feeb81e6895922f29edc504da38b76 +0 -0
  175. data/spec/dummy/tmp/cache/assets/test/sprockets/de82e1b04f6ee655b75d151767fd1d99 +0 -0
  176. data/spec/dummy/tmp/cache/assets/test/sprockets/de9e8a18a8b284b020b7431a64f9d0d4 +0 -0
  177. data/spec/dummy/tmp/cache/assets/test/sprockets/dea49a0a1d4a3203e3bcfc25b8539cfd +0 -0
  178. data/spec/dummy/tmp/cache/assets/test/sprockets/ded1e31105ae8a20b7987b3067840340 +0 -0
  179. data/spec/dummy/tmp/cache/assets/test/sprockets/e01fc614ee21b76afde04b19a2513e48 +0 -0
  180. data/spec/dummy/tmp/cache/assets/test/sprockets/e086b3ed89da147c96c851ad5db10273 +0 -0
  181. data/spec/dummy/tmp/cache/assets/test/sprockets/e3c69d661d027e44f63c75984d6fc819 +0 -0
  182. data/spec/dummy/tmp/cache/assets/test/sprockets/e4f520adc521242c41e2176095d3307f +0 -0
  183. data/spec/dummy/tmp/cache/assets/test/sprockets/e6010dc3343b0577ec1e3d99795f540a +0 -0
  184. data/spec/dummy/tmp/cache/assets/test/sprockets/e9a3e3ce5553ed62fa7d398ac36c6710 +0 -0
  185. data/spec/dummy/tmp/cache/assets/test/sprockets/ede0599df96bcf24637916001e0a21d1 +0 -0
  186. data/spec/dummy/tmp/cache/assets/test/sprockets/ef75bc86c83d2db0dc5b0d836eb6e9d6 +0 -0
  187. data/spec/dummy/tmp/cache/assets/test/sprockets/f029f21d05fce7ac44543acd95a4b555 +0 -0
  188. data/spec/dummy/tmp/cache/assets/test/sprockets/f13dc0c07668c0919c1ccbabb0dfb292 +0 -0
  189. data/spec/dummy/tmp/cache/assets/test/sprockets/f24a6a2c1d20e426b5c8b46d70708d5d +0 -0
  190. data/spec/dummy/tmp/cache/assets/test/sprockets/f24d6e5629a38cab4903c59def38a75f +0 -0
  191. data/spec/dummy/tmp/cache/assets/test/sprockets/f39d46faed2185889125272cc1decbae +0 -0
  192. data/spec/dummy/tmp/cache/assets/test/sprockets/f76064786e5cfb948398113b79dd6103 +0 -0
  193. data/spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  194. data/spec/dummy/tmp/cache/assets/test/sprockets/f7ee992ed4ead4853c3cbf3adb71c101 +0 -0
  195. data/spec/dummy/tmp/cache/assets/test/sprockets/fd0b8d0738e9dc5618b9740aca131143 +0 -0
  196. data/spec/dummy/tmp/cache/assets/test/sprockets/fd373e40dff74eadf9a9861c808e9076 +0 -0
  197. data/spec/dummy/tmp/cache/assets/test/sprockets/fe4557c12156da607369a004c95833ca +0 -0
  198. data/spec/dummy/tmp/cache/assets/test/sprockets/ffae8d11f3219c05ad9db994df574360 +0 -0
  199. data/spec/features/posts_spec.rb +1 -1
  200. data/spec/importers/wordpress_spec.rb +1 -1
  201. metadata +216 -18
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ce93e4ab853cc098d00f512e8bfd2a51a3ebadf0
4
- data.tar.gz: b4bfb448598b1d111ed8b4eb2a94be1247f4752e
3
+ metadata.gz: 7da5ec2a69055bd166a14205820528edf94514e1
4
+ data.tar.gz: 099cc4cc4daea49712f28f9897dcbb8d5f1d73bc
5
5
  SHA512:
6
- metadata.gz: daa1067db8c189c63ba356c80f4a430f7f340481c356090fbafa542f38bcdb6e91ea1394f9b262c6f0656f04883b902c3fb3d94a0973f0163e8cb70918174753
7
- data.tar.gz: b530720dc00efa5af46428c89c030e764b4f40538887c1e2d361e367114d784031949dacbd0f063f12f44b4226618fed3647e46ce25edac09273743333d37bd2
6
+ metadata.gz: dd87c30584ead79de6617c101664071d209b4287edf26169adc453c5456b0bdd7072e397d4b53fffbfdd79b3ff2a8990c5b24330d23059aa872b1528da445870
7
+ data.tar.gz: f141dd781c0d0e5027400b410debc21a01430896f8224f8186a5ecf7a5d48ff60324382c735c9d740f31d608ec4aa132ba01290d09df590822118f2d4ffc3a31
@@ -1,8 +1,8 @@
1
1
  module ActionDispatch
2
2
  module Routing
3
3
  class RouteSet
4
-
5
- def url_for_with_storytime(options = {})
4
+
5
+ def handle_storytime_urls(options)
6
6
  if options[:controller] == "storytime/posts" && options[:action] == "index"
7
7
  options[:use_route] = "root_post_index" if Storytime::Site.first.root_page_content == "posts"
8
8
  elsif options[:controller] == "storytime/posts" && options[:action] == "show"
@@ -35,14 +35,22 @@ module ActionDispatch
35
35
  end
36
36
  end
37
37
  end
38
-
39
- url_for_without_storytime(options)
40
- rescue Exception => e
41
- # binding.pry
38
+ end
39
+
40
+ if Rails::VERSION::MINOR >= 2
41
+ def url_for_with_storytime(options, route_name = nil, url_strategy = UNKNOWN)
42
+ handle_storytime_urls(options)
43
+ url_for_without_storytime(options, route_name, url_strategy)
44
+ end
45
+ else
46
+ def url_for_with_storytime(options = {})
47
+ handle_storytime_urls(options)
48
+ url_for_without_storytime(options)
49
+ end
42
50
  end
43
51
 
44
52
  alias_method_chain :url_for, :storytime
53
+
45
54
  end
46
55
  end
47
- end
48
-
56
+ end
@@ -1,3 +1,3 @@
1
1
  module Storytime
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
Binary file
@@ -119506,3 +119506,161 @@ Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-10-21
119506
119506
  Storytime::Snippet Load (0.2ms) SELECT "storytime_snippets".* FROM "storytime_snippets" ORDER BY "storytime_snippets"."id" DESC LIMIT 1
119507
119507
  Storytime::Snippet Load (0.1ms) SELECT "storytime_snippets".* FROM "storytime_snippets" WHERE "storytime_snippets"."name" = 'asdf2' LIMIT 1
119508
119508
  Storytime::Snippet Load (0.2ms) SELECT "storytime_snippets".* FROM "storytime_snippets" WHERE "storytime_snippets"."name" = 'asdf2' LIMIT 1
119509
+  (1.1ms) CREATE TABLE "friendly_id_slugs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "slug" varchar(255) NOT NULL, "sluggable_id" integer NOT NULL, "sluggable_type" varchar(50), "scope" varchar(255), "created_at" datetime) 
119510
+  (0.1ms) select sqlite_version(*)
119511
+  (0.9ms) CREATE UNIQUE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope" ON "friendly_id_slugs" ("slug", "sluggable_type", "scope")
119512
+  (0.1ms) SELECT sql
119513
+ FROM sqlite_master
119514
+ WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'
119515
+ UNION ALL
119516
+ SELECT sql
119517
+ FROM sqlite_temp_master
119518
+ WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'
119519
+
119520
+  (0.9ms) CREATE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type" ON "friendly_id_slugs" ("slug", "sluggable_type")
119521
+  (0.1ms) SELECT sql
119522
+ FROM sqlite_master
119523
+ WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'
119524
+ UNION ALL
119525
+ SELECT sql
119526
+ FROM sqlite_temp_master
119527
+ WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'
119528
+
119529
+  (0.1ms)  SELECT sql
119530
+ FROM sqlite_master
119531
+ WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'
119532
+ UNION ALL
119533
+ SELECT sql
119534
+ FROM sqlite_temp_master
119535
+ WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'
119536
+ 
119537
+  (0.9ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_id" ON "friendly_id_slugs" ("sluggable_id")
119538
+  (0.1ms)  SELECT sql
119539
+ FROM sqlite_master
119540
+ WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'
119541
+ UNION ALL
119542
+ SELECT sql
119543
+ FROM sqlite_temp_master
119544
+ WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'
119545
+ 
119546
+  (0.1ms) SELECT sql
119547
+ FROM sqlite_master
119548
+ WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'
119549
+ UNION ALL
119550
+ SELECT sql
119551
+ FROM sqlite_temp_master
119552
+ WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'
119553
+
119554
+  (0.1ms)  SELECT sql
119555
+ FROM sqlite_master
119556
+ WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'
119557
+ UNION ALL
119558
+ SELECT sql
119559
+ FROM sqlite_temp_master
119560
+ WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'
119561
+ 
119562
+  (0.9ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_type" ON "friendly_id_slugs" ("sluggable_type")
119563
+  (0.9ms) CREATE TABLE "storytime_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "guid" varchar(255), "created_at" datetime, "updated_at" datetime) 
119564
+  (1.1ms) CREATE TABLE "storytime_autosaves" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content" text, "autosavable_id" integer, "autosavable_type" varchar(255), "created_at" datetime, "updated_at" datetime)
119565
+  (0.9ms) CREATE INDEX "autosavable_index" ON "storytime_autosaves" ("autosavable_type", "autosavable_id")
119566
+  (0.9ms) CREATE TABLE "storytime_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content" text, "user_id" integer, "post_id" integer, "created_at" datetime, "updated_at" datetime)
119567
+  (0.9ms) CREATE INDEX "index_storytime_comments_on_post_id" ON "storytime_comments" ("post_id")
119568
+  (0.1ms) SELECT sql
119569
+ FROM sqlite_master
119570
+ WHERE name='index_storytime_comments_on_post_id' AND type='index'
119571
+ UNION ALL
119572
+ SELECT sql
119573
+ FROM sqlite_temp_master
119574
+ WHERE name='index_storytime_comments_on_post_id' AND type='index'
119575
+
119576
+  (0.9ms) CREATE INDEX "index_storytime_comments_on_user_id" ON "storytime_comments" ("user_id")
119577
+  (0.8ms) CREATE TABLE "storytime_media" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime)
119578
+  (1.1ms) CREATE INDEX "index_storytime_media_on_user_id" ON "storytime_media" ("user_id")
119579
+  (0.9ms) CREATE TABLE "storytime_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "action_id" integer, "created_at" datetime, "updated_at" datetime)
119580
+  (1.0ms) CREATE INDEX "index_storytime_permissions_on_action_id" ON "storytime_permissions" ("action_id")
119581
+  (0.1ms) SELECT sql
119582
+ FROM sqlite_master
119583
+ WHERE name='index_storytime_permissions_on_action_id' AND type='index'
119584
+ UNION ALL
119585
+ SELECT sql
119586
+ FROM sqlite_temp_master
119587
+ WHERE name='index_storytime_permissions_on_action_id' AND type='index'
119588
+
119589
+  (0.9ms) CREATE INDEX "index_storytime_permissions_on_role_id" ON "storytime_permissions" ("role_id")
119590
+  (1.0ms) CREATE TABLE "storytime_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "type" varchar(255), "title" varchar(255), "slug" varchar(255), "content" text, "excerpt" text, "published_at" datetime, "featured_media_id" integer, "featured" boolean DEFAULT 'f', "created_at" datetime, "updated_at" datetime, "secondary_media_id" integer)
119591
+  (1.0ms) CREATE INDEX "index_storytime_posts_on_user_id" ON "storytime_posts" ("user_id")
119592
+  (0.9ms) CREATE TABLE "storytime_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
119593
+  (1.1ms) CREATE TABLE "storytime_sites" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "post_slug_style" integer DEFAULT 0, "ga_tracking_id" varchar(255), "root_page_content" integer DEFAULT 0, "root_post_id" integer, "created_at" datetime, "updated_at" datetime) 
119594
+  (1.1ms) CREATE INDEX "index_storytime_sites_on_root_post_id" ON "storytime_sites" ("root_post_id")
119595
+  (1.0ms) CREATE TABLE "storytime_snippets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "content" text, "created_at" datetime, "updated_at" datetime) 
119596
+  (1.0ms) CREATE TABLE "storytime_taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "post_id" integer, "created_at" datetime, "updated_at" datetime)
119597
+  (0.9ms) CREATE INDEX "index_storytime_taggings_on_post_id" ON "storytime_taggings" ("post_id")
119598
+  (0.1ms) SELECT sql
119599
+ FROM sqlite_master
119600
+ WHERE name='index_storytime_taggings_on_post_id' AND type='index'
119601
+ UNION ALL
119602
+ SELECT sql
119603
+ FROM sqlite_temp_master
119604
+ WHERE name='index_storytime_taggings_on_post_id' AND type='index'
119605
+
119606
+  (1.0ms) CREATE INDEX "index_storytime_taggings_on_tag_id" ON "storytime_taggings" ("tag_id")
119607
+  (1.0ms) CREATE TABLE "storytime_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
119608
+  (1.1ms) CREATE TABLE "storytime_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content" text, "user_id" integer, "versionable_id" integer, "versionable_type" varchar(255), "created_at" datetime, "updated_at" datetime) 
119609
+  (1.1ms) CREATE INDEX "index_storytime_versions_on_user_id" ON "storytime_versions" ("user_id")
119610
+  (0.2ms)  SELECT sql
119611
+ FROM sqlite_master
119612
+ WHERE name='index_storytime_versions_on_user_id' AND type='index'
119613
+ UNION ALL
119614
+ SELECT sql
119615
+ FROM sqlite_temp_master
119616
+ WHERE name='index_storytime_versions_on_user_id' AND type='index'
119617
+ 
119618
+  (1.0ms) CREATE INDEX "versionable_index" ON "storytime_versions" ("versionable_type", "versionable_id")
119619
+  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime, "updated_at" datetime, "storytime_role_id" integer, "storytime_name" varchar(255)) 
119620
+  (0.9ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
119621
+  (0.1ms)  SELECT sql
119622
+ FROM sqlite_master
119623
+ WHERE name='index_users_on_email' AND type='index'
119624
+ UNION ALL
119625
+ SELECT sql
119626
+ FROM sqlite_temp_master
119627
+ WHERE name='index_users_on_email' AND type='index'
119628
+ 
119629
+  (0.9ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
119630
+  (0.1ms)  SELECT sql
119631
+ FROM sqlite_master
119632
+ WHERE name='index_users_on_reset_password_token' AND type='index'
119633
+ UNION ALL
119634
+ SELECT sql
119635
+ FROM sqlite_temp_master
119636
+ WHERE name='index_users_on_reset_password_token' AND type='index'
119637
+ 
119638
+  (0.1ms) SELECT sql
119639
+ FROM sqlite_master
119640
+ WHERE name='index_users_on_email' AND type='index'
119641
+ UNION ALL
119642
+ SELECT sql
119643
+ FROM sqlite_temp_master
119644
+ WHERE name='index_users_on_email' AND type='index'
119645
+
119646
+  (1.0ms) CREATE INDEX "index_users_on_storytime_role_id" ON "users" ("storytime_role_id")
119647
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
119648
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
119649
+  (0.1ms) SELECT version FROM "schema_migrations"
119650
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021073356')
119651
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140530185250')
119652
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140501174341')
119653
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140509191309')
119654
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140511200849')
119655
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140513161233')
119656
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140514200234')
119657
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140514200304')
119658
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140516141252')
119659
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140521190606')
119660
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140521191048')
119661
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140521191728')
119662
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140521191744')
119663
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140813014447')
119664
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140813130534')
119665
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140916183056')
119666
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20141020213343')