storytime 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (763) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +3 -0
  4. data/Rakefile +24 -0
  5. data/app/assets/javascripts/storytime/application.js +25 -0
  6. data/app/assets/javascripts/storytime/base.js.coffee +22 -0
  7. data/app/assets/javascripts/storytime/editor.js.coffee +27 -0
  8. data/app/assets/javascripts/storytime/media.js.coffee +30 -0
  9. data/app/assets/javascripts/storytime/pages.js.coffee +12 -0
  10. data/app/assets/javascripts/storytime/posts.js.coffee +12 -0
  11. data/app/assets/javascripts/storytime/sites.js.coffee +16 -0
  12. data/app/assets/javascripts/storytime/utilities.js +23 -0
  13. data/app/assets/stylesheets/scaffold.css +56 -0
  14. data/app/assets/stylesheets/storytime/admin.css.scss +94 -0
  15. data/app/assets/stylesheets/storytime/application.css.scss +17 -0
  16. data/app/assets/stylesheets/storytime/devise.css.scss +256 -0
  17. data/app/assets/stylesheets/storytime/media.css.scss +17 -0
  18. data/app/assets/stylesheets/storytime/posts.css.scss +25 -0
  19. data/app/assets/stylesheets/storytime/sites.css.scss +4 -0
  20. data/app/assets/stylesheets/storytime/versions.css.scss +21 -0
  21. data/app/controllers/storytime/application_controller.rb +36 -0
  22. data/app/controllers/storytime/dashboard/media_controller.rb +38 -0
  23. data/app/controllers/storytime/dashboard/pages_controller.rb +73 -0
  24. data/app/controllers/storytime/dashboard/posts_controller.rb +71 -0
  25. data/app/controllers/storytime/dashboard/roles_controller.rb +13 -0
  26. data/app/controllers/storytime/dashboard/sites_controller.rb +52 -0
  27. data/app/controllers/storytime/dashboard/users_controller.rb +60 -0
  28. data/app/controllers/storytime/dashboard_controller.rb +18 -0
  29. data/app/controllers/storytime/pages_controller.rb +16 -0
  30. data/app/controllers/storytime/posts_controller.rb +19 -0
  31. data/app/helpers/storytime/application_helper.rb +39 -0
  32. data/app/helpers/storytime/media_helper.rb +16 -0
  33. data/app/helpers/storytime/posts_helper.rb +4 -0
  34. data/app/helpers/storytime/sites_helper.rb +19 -0
  35. data/app/helpers/storytime/versions_helper.rb +7 -0
  36. data/app/models/storytime/action.rb +16 -0
  37. data/app/models/storytime/media.rb +7 -0
  38. data/app/models/storytime/page.rb +14 -0
  39. data/app/models/storytime/permission.rb +27 -0
  40. data/app/models/storytime/post.rb +32 -0
  41. data/app/models/storytime/role.rb +19 -0
  42. data/app/models/storytime/site.rb +9 -0
  43. data/app/models/storytime/tag.rb +8 -0
  44. data/app/models/storytime/tagging.rb +13 -0
  45. data/app/models/storytime/user.rb +27 -0
  46. data/app/models/storytime/version.rb +6 -0
  47. data/app/policies/storytime/media_policy.rb +22 -0
  48. data/app/policies/storytime/page_policy.rb +71 -0
  49. data/app/policies/storytime/post_policy.rb +71 -0
  50. data/app/policies/storytime/site_policy.rb +31 -0
  51. data/app/policies/storytime/user_policy.rb +39 -0
  52. data/app/uploaders/storytime/media_uploader.rb +16 -0
  53. data/app/views/devise/confirmations/new.html.erb +16 -0
  54. data/app/views/devise/mailer/confirmation_instructions.html.erb +5 -0
  55. data/app/views/devise/mailer/reset_password_instructions.html.erb +8 -0
  56. data/app/views/devise/mailer/unlock_instructions.html.erb +7 -0
  57. data/app/views/devise/passwords/edit.html.erb +17 -0
  58. data/app/views/devise/passwords/new.html.erb +12 -0
  59. data/app/views/devise/registrations/edit.html.erb +31 -0
  60. data/app/views/devise/registrations/new.html.erb +20 -0
  61. data/app/views/devise/sessions/new.html.erb +24 -0
  62. data/app/views/devise/shared/_links.erb +25 -0
  63. data/app/views/devise/unlocks/new.html.erb +16 -0
  64. data/app/views/layouts/storytime/application.html.erb +24 -0
  65. data/app/views/layouts/storytime/dashboard.html.erb +23 -0
  66. data/app/views/storytime/application/_flash.html.erb +7 -0
  67. data/app/views/storytime/application/_footer.html.erb +3 -0
  68. data/app/views/storytime/application/_header.html.erb +30 -0
  69. data/app/views/storytime/application/_navigation.html.erb +1 -0
  70. data/app/views/storytime/dashboard/_navigation.html.erb +37 -0
  71. data/app/views/storytime/dashboard/media/_form.html.erb +8 -0
  72. data/app/views/storytime/dashboard/media/_gallery.html +6 -0
  73. data/app/views/storytime/dashboard/media/_media.html.erb +14 -0
  74. data/app/views/storytime/dashboard/media/_modal.html.erb +27 -0
  75. data/app/views/storytime/dashboard/media/index.html.erb +4 -0
  76. data/app/views/storytime/dashboard/media/show.json.jbuilder +2 -0
  77. data/app/views/storytime/dashboard/pages/_form.html.erb +17 -0
  78. data/app/views/storytime/dashboard/pages/_list.html.erb +24 -0
  79. data/app/views/storytime/dashboard/pages/edit.html.erb +16 -0
  80. data/app/views/storytime/dashboard/pages/index.html.erb +10 -0
  81. data/app/views/storytime/dashboard/pages/new.html.erb +12 -0
  82. data/app/views/storytime/dashboard/posts/_form.html.erb +20 -0
  83. data/app/views/storytime/dashboard/posts/_list.html.erb +24 -0
  84. data/app/views/storytime/dashboard/posts/edit.html.erb +16 -0
  85. data/app/views/storytime/dashboard/posts/index.html.erb +10 -0
  86. data/app/views/storytime/dashboard/posts/new.html.erb +12 -0
  87. data/app/views/storytime/dashboard/sites/_form.html.erb +14 -0
  88. data/app/views/storytime/dashboard/sites/edit.html.erb +15 -0
  89. data/app/views/storytime/dashboard/sites/new.html.erb +4 -0
  90. data/app/views/storytime/dashboard/users/_user.html.erb +10 -0
  91. data/app/views/storytime/dashboard/users/edit.html.erb +8 -0
  92. data/app/views/storytime/dashboard/users/index.html.erb +19 -0
  93. data/app/views/storytime/dashboard/users/new.html.erb +10 -0
  94. data/app/views/storytime/dashboard/versions/_versions_info.html.erb +25 -0
  95. data/app/views/storytime/pages/show.html.erb +3 -0
  96. data/app/views/storytime/posts/_tags.html.erb +3 -0
  97. data/app/views/storytime/posts/index.html.erb +22 -0
  98. data/app/views/storytime/posts/show.html.erb +14 -0
  99. data/config/initializers/carrierwave.rb +17 -0
  100. data/config/initializers/devise.rb +258 -0
  101. data/config/initializers/friendly_id.rb +88 -0
  102. data/config/initializers/inflections.rb +3 -0
  103. data/config/initializers/simple_form.rb +145 -0
  104. data/config/initializers/simple_form_bootstrap.rb +93 -0
  105. data/config/locales/devise.en.yml +59 -0
  106. data/config/locales/en.yml +37 -0
  107. data/config/locales/simple_form.en.yml +26 -0
  108. data/config/routes.rb +26 -0
  109. data/config/spring.rb +1 -0
  110. data/db/migrate/20140501171949_devise_create_storytime_users.rb +42 -0
  111. data/db/migrate/20140501174341_create_storytime_posts.rb +14 -0
  112. data/db/migrate/20140509150223_create_storytime_pages.rb +13 -0
  113. data/db/migrate/20140509191309_create_friendly_id_slugs.rb +15 -0
  114. data/db/migrate/20140511200849_create_storytime_media.rb +10 -0
  115. data/db/migrate/20140513161233_create_storytime_sites.rb +14 -0
  116. data/db/migrate/20140513162745_add_selected_root_page_to_storytime_sites.rb +5 -0
  117. data/db/migrate/20140514200234_create_storytime_tags.rb +9 -0
  118. data/db/migrate/20140514200304_create_storytime_taggings.rb +10 -0
  119. data/db/migrate/20140516141252_create_storytime_versions.rb +12 -0
  120. data/db/migrate/20140521190606_create_storytime_roles.rb +11 -0
  121. data/db/migrate/20140521191048_add_role_id_to_users.rb +6 -0
  122. data/db/migrate/20140521191728_create_storytime_permissions.rb +10 -0
  123. data/db/migrate/20140521191744_create_storytime_actions.rb +13 -0
  124. data/db/seeds.rb +3 -0
  125. data/lib/storytime.rb +11 -0
  126. data/lib/storytime/concerns/has_versions.rb +60 -0
  127. data/lib/storytime/constraints/root_constraint.rb +11 -0
  128. data/lib/storytime/engine.rb +19 -0
  129. data/lib/storytime/version.rb +3 -0
  130. data/lib/tasks/storytime_tasks.rake +4 -0
  131. data/lib/templates/erb/scaffold/_form.html.erb +13 -0
  132. data/spec/controllers/dashboard_controller_spec.rb +30 -0
  133. data/spec/dummy/README.rdoc +28 -0
  134. data/spec/dummy/Rakefile +6 -0
  135. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  136. data/spec/dummy/app/assets/stylesheets/application.css +16 -0
  137. data/spec/dummy/app/controllers/application_controller.rb +6 -0
  138. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  139. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  140. data/spec/dummy/bin/bundle +3 -0
  141. data/spec/dummy/bin/rails +4 -0
  142. data/spec/dummy/bin/rake +4 -0
  143. data/spec/dummy/config.ru +4 -0
  144. data/spec/dummy/config/application.rb +29 -0
  145. data/spec/dummy/config/boot.rb +5 -0
  146. data/spec/dummy/config/database.yml +25 -0
  147. data/spec/dummy/config/environment.rb +5 -0
  148. data/spec/dummy/config/environments/development.rb +39 -0
  149. data/spec/dummy/config/environments/production.rb +83 -0
  150. data/spec/dummy/config/environments/test.rb +39 -0
  151. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  152. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  153. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  154. data/spec/dummy/config/initializers/inflections.rb +16 -0
  155. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  156. data/spec/dummy/config/initializers/session_store.rb +3 -0
  157. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  158. data/spec/dummy/config/locales/en.yml +23 -0
  159. data/spec/dummy/config/routes.rb +3 -0
  160. data/spec/dummy/config/secrets.yml +22 -0
  161. data/spec/dummy/db/development.sqlite3 +0 -0
  162. data/spec/dummy/db/schema.rb +148 -0
  163. data/spec/dummy/db/test.sqlite3 +0 -0
  164. data/spec/dummy/log/development.log +77889 -0
  165. data/spec/dummy/log/test.log +83019 -0
  166. data/spec/dummy/public/404.html +67 -0
  167. data/spec/dummy/public/422.html +67 -0
  168. data/spec/dummy/public/500.html +66 -0
  169. data/spec/dummy/public/favicon.ico +0 -0
  170. data/spec/dummy/public/uploads/storytime/media/file/1/case-2-baseline.png +0 -0
  171. data/spec/dummy/public/uploads/storytime/media/file/1/success-kid.jpg +0 -0
  172. data/spec/dummy/public/uploads/storytime/media/file/1/thumb_case-2-baseline.png +0 -0
  173. data/spec/dummy/public/uploads/storytime/media/file/1/thumb_success-kid.jpg +0 -0
  174. data/spec/dummy/public/uploads/storytime/media/file/10/case-2-day-1.png +0 -0
  175. data/spec/dummy/public/uploads/storytime/media/file/10/thumb_case-2-day-1.png +0 -0
  176. data/spec/dummy/public/uploads/storytime/media/file/11/Screen_Shot_2014-04-11_at_3.33.52_PM.png +0 -0
  177. data/spec/dummy/public/uploads/storytime/media/file/11/thumb_Screen_Shot_2014-04-11_at_3.33.52_PM.png +0 -0
  178. data/spec/dummy/public/uploads/storytime/media/file/12/Screen_Shot_2014-04-14_at_3.57.28_PM.png +0 -0
  179. data/spec/dummy/public/uploads/storytime/media/file/12/thumb_Screen_Shot_2014-04-14_at_3.57.28_PM.png +0 -0
  180. data/spec/dummy/public/uploads/storytime/media/file/13/image001.png +0 -0
  181. data/spec/dummy/public/uploads/storytime/media/file/13/thumb_image001.png +0 -0
  182. data/spec/dummy/public/uploads/storytime/media/file/14/image001.png +0 -0
  183. data/spec/dummy/public/uploads/storytime/media/file/14/thumb_image001.png +0 -0
  184. data/spec/dummy/public/uploads/storytime/media/file/15/image001.png +0 -0
  185. data/spec/dummy/public/uploads/storytime/media/file/15/thumb_image001.png +0 -0
  186. data/spec/dummy/public/uploads/storytime/media/file/2/case-2-day-1.png +0 -0
  187. data/spec/dummy/public/uploads/storytime/media/file/2/success-kid.jpg +0 -0
  188. data/spec/dummy/public/uploads/storytime/media/file/2/thumb_case-2-day-1.png +0 -0
  189. data/spec/dummy/public/uploads/storytime/media/file/2/thumb_success-kid.jpg +0 -0
  190. data/spec/dummy/public/uploads/storytime/media/file/5/image001.png +0 -0
  191. data/spec/dummy/public/uploads/storytime/media/file/5/thumb_image001.png +0 -0
  192. data/spec/dummy/public/uploads/storytime/media/file/7/Screen_Shot_2014-04-11_at_3.33.52_PM.png +0 -0
  193. data/spec/dummy/public/uploads/storytime/media/file/7/thumb_Screen_Shot_2014-04-11_at_3.33.52_PM.png +0 -0
  194. data/spec/dummy/public/uploads/storytime/media/file/9/image001.png +0 -0
  195. data/spec/dummy/public/uploads/storytime/media/file/9/thumb_image001.png +0 -0
  196. data/spec/dummy/public/uploads/tmp/1399929694-77229-0032/case-2-baseline.png +0 -0
  197. data/spec/dummy/public/uploads/tmp/1399929694-77229-0032/thumb_case-2-baseline.png +0 -0
  198. data/spec/dummy/public/uploads/tmp/1399929900-77229-4396/image001.png +0 -0
  199. data/spec/dummy/public/uploads/tmp/1399929900-77229-4396/thumb_image001.png +0 -0
  200. data/spec/dummy/public/uploads/tmp/1399929935-77229-6247/image001.png +0 -0
  201. data/spec/dummy/public/uploads/tmp/1399929935-77229-6247/thumb_image001.png +0 -0
  202. data/spec/dummy/public/uploads/tmp/1399929976-77229-4486/image001.png +0 -0
  203. data/spec/dummy/public/uploads/tmp/1399929976-77229-4486/thumb_image001.png +0 -0
  204. data/spec/dummy/tmp/cache/assets/development/sass/5c0d2f6087bf75a7b219942ba7be5435141060e9/admin.css.scssc +0 -0
  205. data/spec/dummy/tmp/cache/assets/development/sass/5c0d2f6087bf75a7b219942ba7be5435141060e9/application.css.scssc +0 -0
  206. data/spec/dummy/tmp/cache/assets/development/sass/5c0d2f6087bf75a7b219942ba7be5435141060e9/devise.css.scssc +0 -0
  207. data/spec/dummy/tmp/cache/assets/development/sass/5c0d2f6087bf75a7b219942ba7be5435141060e9/media.css.scssc +0 -0
  208. data/spec/dummy/tmp/cache/assets/development/sass/5c0d2f6087bf75a7b219942ba7be5435141060e9/posts.css.scssc +0 -0
  209. data/spec/dummy/tmp/cache/assets/development/sass/5c0d2f6087bf75a7b219942ba7be5435141060e9/sites.css.scssc +0 -0
  210. data/spec/dummy/tmp/cache/assets/development/sass/5c0d2f6087bf75a7b219942ba7be5435141060e9/versions.css.scssc +0 -0
  211. data/spec/dummy/tmp/cache/assets/development/sass/7628c68fbe2e3603f682dfe5046801415df5db97/bootstrap-wysihtml5.css.scssc +0 -0
  212. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_alerts.scssc +0 -0
  213. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_badges.scssc +0 -0
  214. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_breadcrumbs.scssc +0 -0
  215. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_button-groups.scssc +0 -0
  216. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_buttons.scssc +0 -0
  217. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_carousel.scssc +0 -0
  218. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_close.scssc +0 -0
  219. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_code.scssc +0 -0
  220. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_component-animations.scssc +0 -0
  221. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_dropdowns.scssc +0 -0
  222. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_forms.scssc +0 -0
  223. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_glyphicons.scssc +0 -0
  224. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_grid.scssc +0 -0
  225. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_input-groups.scssc +0 -0
  226. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_jumbotron.scssc +0 -0
  227. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_labels.scssc +0 -0
  228. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_list-group.scssc +0 -0
  229. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_media.scssc +0 -0
  230. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_mixins.scssc +0 -0
  231. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_modals.scssc +0 -0
  232. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_navbar.scssc +0 -0
  233. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_navs.scssc +0 -0
  234. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_normalize.scssc +0 -0
  235. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_pager.scssc +0 -0
  236. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_pagination.scssc +0 -0
  237. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_panels.scssc +0 -0
  238. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_popovers.scssc +0 -0
  239. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_print.scssc +0 -0
  240. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_progress-bars.scssc +0 -0
  241. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_responsive-embed.scssc +0 -0
  242. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_responsive-utilities.scssc +0 -0
  243. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_scaffolding.scssc +0 -0
  244. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_tables.scssc +0 -0
  245. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_thumbnails.scssc +0 -0
  246. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_tooltip.scssc +0 -0
  247. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_type.scssc +0 -0
  248. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_utilities.scssc +0 -0
  249. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_variables.scssc +0 -0
  250. data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_wells.scssc +0 -0
  251. data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_alerts.scssc +0 -0
  252. data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_background-variant.scssc +0 -0
  253. data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_border-radius.scssc +0 -0
  254. data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_buttons.scssc +0 -0
  255. data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_center-block.scssc +0 -0
  256. data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_clearfix.scssc +0 -0
  257. data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_forms.scssc +0 -0
  258. data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_gradients.scssc +0 -0
  259. data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_grid-framework.scssc +0 -0
  260. data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_grid.scssc +0 -0
  261. data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_hide-text.scssc +0 -0
  262. data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_image.scssc +0 -0
  263. data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_labels.scssc +0 -0
  264. data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_list-group.scssc +0 -0
  265. data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_nav-divider.scssc +0 -0
  266. data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_nav-vertical-align.scssc +0 -0
  267. data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_opacity.scssc +0 -0
  268. data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_pagination.scssc +0 -0
  269. data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_panels.scssc +0 -0
  270. data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_progress-bar.scssc +0 -0
  271. data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_reset-filter.scssc +0 -0
  272. data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_resize.scssc +0 -0
  273. data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_responsive-visibility.scssc +0 -0
  274. data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_size.scssc +0 -0
  275. data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_tab-focus.scssc +0 -0
  276. data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_table-row.scssc +0 -0
  277. data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_text-emphasis.scssc +0 -0
  278. data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_text-overflow.scssc +0 -0
  279. data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_vendor-prefixes.scssc +0 -0
  280. data/spec/dummy/tmp/cache/assets/development/sass/bd6920fe35fbc8a60bb51f3a648fe211cda6a4ba/bootstrap.scssc +0 -0
  281. data/spec/dummy/tmp/cache/assets/development/sprockets/020b91fbc1173b1d78d8c8535228c51a +0 -0
  282. data/spec/dummy/tmp/cache/assets/development/sprockets/044316d16f4f4c759436c2eea3549a9a +0 -0
  283. data/spec/dummy/tmp/cache/assets/development/sprockets/097dbab26422bc41368089a5e42686a0 +0 -0
  284. data/spec/dummy/tmp/cache/assets/development/sprockets/0acd0bc8c90407d27bc855419a226514 +0 -0
  285. data/spec/dummy/tmp/cache/assets/development/sprockets/0c78ded798ac08d739992e81315d19ba +0 -0
  286. data/spec/dummy/tmp/cache/assets/development/sprockets/0d01ca44d9aefc0be6980f2c2de07312 +0 -0
  287. data/spec/dummy/tmp/cache/assets/development/sprockets/0d02ec6f768631a38712f82c09d6ceeb +0 -0
  288. data/spec/dummy/tmp/cache/assets/development/sprockets/0d2f1e2463825b083f8460a1d0245673 +0 -0
  289. data/spec/dummy/tmp/cache/assets/development/sprockets/0d7f8d2c285e1a9aecb5af5a38f4bb14 +0 -0
  290. data/spec/dummy/tmp/cache/assets/development/sprockets/0f76d6de1c8e9668627942d4325465d9 +0 -0
  291. data/spec/dummy/tmp/cache/assets/development/sprockets/10501d53c17804ad83c0a98289ea6c36 +0 -0
  292. data/spec/dummy/tmp/cache/assets/development/sprockets/146a559e9fdd016c554d0a04bc0edb10 +0 -0
  293. data/spec/dummy/tmp/cache/assets/development/sprockets/1583ab7265065890f895e5b9fb536a7a +0 -0
  294. data/spec/dummy/tmp/cache/assets/development/sprockets/165af8be47e919c036d6cdd8b4156c3f +0 -0
  295. data/spec/dummy/tmp/cache/assets/development/sprockets/169fd6faf427e47619e8e3cd871dca9b +0 -0
  296. data/spec/dummy/tmp/cache/assets/development/sprockets/17e3bf97def57cfeda69e06595085c2b +0 -0
  297. data/spec/dummy/tmp/cache/assets/development/sprockets/19fc4f17ff0937e15f96263d6bdd6cf6 +0 -0
  298. data/spec/dummy/tmp/cache/assets/development/sprockets/1ab132d866cbd3d636bd40d5d698d624 +0 -0
  299. data/spec/dummy/tmp/cache/assets/development/sprockets/23a0b43b3ac4a57203836cb77bc3c98a +0 -0
  300. data/spec/dummy/tmp/cache/assets/development/sprockets/2454cff882de4acc3e63481fe2d31826 +0 -0
  301. data/spec/dummy/tmp/cache/assets/development/sprockets/265ee88932e33d90712c94909bfe7282 +0 -0
  302. data/spec/dummy/tmp/cache/assets/development/sprockets/26b55ad5f4ab8bdcad112672e512dcc9 +0 -0
  303. data/spec/dummy/tmp/cache/assets/development/sprockets/2899787f8d2a2ae6dfbb9276125684c9 +0 -0
  304. data/spec/dummy/tmp/cache/assets/development/sprockets/28be90e4c91158f4aa826003490b51e0 +0 -0
  305. data/spec/dummy/tmp/cache/assets/development/sprockets/29fa80846e652c4bf4eb134143557a92 +0 -0
  306. data/spec/dummy/tmp/cache/assets/development/sprockets/2b112c2e64ea4c33a927ef5d2eb90710 +0 -0
  307. data/spec/dummy/tmp/cache/assets/development/sprockets/2ba1cab090fecac37ce98fc40389c07e +0 -0
  308. data/spec/dummy/tmp/cache/assets/development/sprockets/2cc6f240a4340624feee26cda93f243c +0 -0
  309. data/spec/dummy/tmp/cache/assets/development/sprockets/2d8013c606f7cf8d7b23ca7add8faa8e +0 -0
  310. data/spec/dummy/tmp/cache/assets/development/sprockets/2ddd39492454a6dbe6602e52209320f1 +0 -0
  311. data/spec/dummy/tmp/cache/assets/development/sprockets/376f2df90e3e56853fc174d664b724bb +0 -0
  312. data/spec/dummy/tmp/cache/assets/development/sprockets/39a43c34b540515fdb2e58087b3cfb24 +0 -0
  313. data/spec/dummy/tmp/cache/assets/development/sprockets/3cfeb2500f681c26386c11360b02d845 +0 -0
  314. data/spec/dummy/tmp/cache/assets/development/sprockets/3f61ff37a58dd8f005c33103bf597b4e +0 -0
  315. data/spec/dummy/tmp/cache/assets/development/sprockets/40e3897f7dde4a8cc4712a7a9de31142 +0 -0
  316. data/spec/dummy/tmp/cache/assets/development/sprockets/45dae50b10023f4bea4b848956498b80 +0 -0
  317. data/spec/dummy/tmp/cache/assets/development/sprockets/480e710084fe62082c214d8d1d6f6897 +0 -0
  318. data/spec/dummy/tmp/cache/assets/development/sprockets/4bd5dad727e47e71124f50228f264126 +0 -0
  319. data/spec/dummy/tmp/cache/assets/development/sprockets/4f37fa6375d525cc4348b0f13783df58 +0 -0
  320. data/spec/dummy/tmp/cache/assets/development/sprockets/4ff65642dfd2c65c5a6001986cd03e87 +0 -0
  321. data/spec/dummy/tmp/cache/assets/development/sprockets/502bd47873d745225df0b627c5c9c2b2 +0 -0
  322. data/spec/dummy/tmp/cache/assets/development/sprockets/529eabd6c6e130ede1f32048ff44d6a0 +0 -0
  323. data/spec/dummy/tmp/cache/assets/development/sprockets/53b1cd253b169f8158f5f6094510abd6 +0 -0
  324. data/spec/dummy/tmp/cache/assets/development/sprockets/590df37cc0cde03fe1803e3273def4e0 +0 -0
  325. data/spec/dummy/tmp/cache/assets/development/sprockets/5a4d1230d0ef19d1f35c23c586d989e1 +0 -0
  326. data/spec/dummy/tmp/cache/assets/development/sprockets/5ae49d3d7a73b15f3139273dc842722a +0 -0
  327. data/spec/dummy/tmp/cache/assets/development/sprockets/5ef9de5aa22ac63b7b5377bc629e8810 +0 -0
  328. data/spec/dummy/tmp/cache/assets/development/sprockets/6178c3f89b18fdac7431d9448ac2ad82 +0 -0
  329. data/spec/dummy/tmp/cache/assets/development/sprockets/61eccde418d3db7d6cab950c85ea53dc +0 -0
  330. data/spec/dummy/tmp/cache/assets/development/sprockets/644e0db48209ab08ad6b5e200963a839 +0 -0
  331. data/spec/dummy/tmp/cache/assets/development/sprockets/66f19e00741aeb22b87ac2fadcfdf6bb +0 -0
  332. data/spec/dummy/tmp/cache/assets/development/sprockets/67101390e2af5d2e1be9f95f315c1335 +0 -0
  333. data/spec/dummy/tmp/cache/assets/development/sprockets/67707b57a979f5dd6fcfa60c33ba5b3a +0 -0
  334. data/spec/dummy/tmp/cache/assets/development/sprockets/698104ddc85f7472ce03a40717003096 +0 -0
  335. data/spec/dummy/tmp/cache/assets/development/sprockets/699fc38b2c9c6da66d23bd171ff00a8a +0 -0
  336. data/spec/dummy/tmp/cache/assets/development/sprockets/69ee557d733dbbdef41fe157428b900a +0 -0
  337. data/spec/dummy/tmp/cache/assets/development/sprockets/6c5c021ab63a16094af9ddaf36ac7330 +0 -0
  338. data/spec/dummy/tmp/cache/assets/development/sprockets/6da1fab887d1e8378f40c20667e5cc59 +0 -0
  339. data/spec/dummy/tmp/cache/assets/development/sprockets/6e64329c6454073eeff47f373cc9aa05 +0 -0
  340. data/spec/dummy/tmp/cache/assets/development/sprockets/6fbe6961adae55a6cb9113fe7e000b28 +0 -0
  341. data/spec/dummy/tmp/cache/assets/development/sprockets/6fee48b9b1da0d3d6b8be1949870bd2d +0 -0
  342. data/spec/dummy/tmp/cache/assets/development/sprockets/718238c58fbd496692db95edc9f7257f +0 -0
  343. data/spec/dummy/tmp/cache/assets/development/sprockets/720d4ce046288c68bfe35eae12a93824 +0 -0
  344. data/spec/dummy/tmp/cache/assets/development/sprockets/7255d65c7583f46b858b92c03dd3f19c +0 -0
  345. data/spec/dummy/tmp/cache/assets/development/sprockets/72b57883778071e50284671cc1d8b1f0 +0 -0
  346. data/spec/dummy/tmp/cache/assets/development/sprockets/75586c04a80da3ade0d12b011b754668 +0 -0
  347. data/spec/dummy/tmp/cache/assets/development/sprockets/75937a67b81e1b3864a73f47082220d0 +0 -0
  348. data/spec/dummy/tmp/cache/assets/development/sprockets/75cb73cbb915f391a7bdd430e6240c18 +0 -0
  349. data/spec/dummy/tmp/cache/assets/development/sprockets/771344cf28504419d046eb60a73393e6 +0 -0
  350. data/spec/dummy/tmp/cache/assets/development/sprockets/7b5b8cdf15c5d6e25b630ace20226a08 +0 -0
  351. data/spec/dummy/tmp/cache/assets/development/sprockets/7c641428a457405f11503ede9a3df71d +0 -0
  352. data/spec/dummy/tmp/cache/assets/development/sprockets/812f46c2e04af24cfcb060e9da976a52 +0 -0
  353. data/spec/dummy/tmp/cache/assets/development/sprockets/8668ddaf373f95c1f37e43f2463fe898 +0 -0
  354. data/spec/dummy/tmp/cache/assets/development/sprockets/8a70805ffa751758f34c64f93bc2d9ab +0 -0
  355. data/spec/dummy/tmp/cache/assets/development/sprockets/8c006db0ad565abab3a51fb0e2d91f72 +0 -0
  356. data/spec/dummy/tmp/cache/assets/development/sprockets/90dd0e605a3ce1df752dc071c5ad6abf +0 -0
  357. data/spec/dummy/tmp/cache/assets/development/sprockets/95701298a0b8b805a116a0ffce62bade +0 -0
  358. data/spec/dummy/tmp/cache/assets/development/sprockets/970d0b91e8c55df088fe3767f7fef635 +0 -0
  359. data/spec/dummy/tmp/cache/assets/development/sprockets/98f50d322e74820ea5f4bcc0d78d39df +0 -0
  360. data/spec/dummy/tmp/cache/assets/development/sprockets/998aae6d07168b75751fd86c608e2ad0 +0 -0
  361. data/spec/dummy/tmp/cache/assets/development/sprockets/9a92af8515d31b1c60f2e26eaa9d825d +0 -0
  362. data/spec/dummy/tmp/cache/assets/development/sprockets/9afa2e5696ecfdd565db508f363eecd3 +0 -0
  363. data/spec/dummy/tmp/cache/assets/development/sprockets/9cf80ea47639e70cfb9e0df41f1962b0 +0 -0
  364. data/spec/dummy/tmp/cache/assets/development/sprockets/9e037886efcbc10dfad4bf8e29543d66 +0 -0
  365. data/spec/dummy/tmp/cache/assets/development/sprockets/a04a4267454af41ae6371c70bd486028 +0 -0
  366. data/spec/dummy/tmp/cache/assets/development/sprockets/a118fa902c3091572e750d8ac5954481 +0 -0
  367. data/spec/dummy/tmp/cache/assets/development/sprockets/a1210c518bfa35e360ccc45413961ea2 +0 -0
  368. data/spec/dummy/tmp/cache/assets/development/sprockets/a172eb4fcd69ed9a019b8e5a10982ccc +0 -0
  369. data/spec/dummy/tmp/cache/assets/development/sprockets/a20b8d3b3218e47e9afe2ce9fe8203da +0 -0
  370. data/spec/dummy/tmp/cache/assets/development/sprockets/a25e43f0b15e48028e19b9ced4e9c647 +0 -0
  371. data/spec/dummy/tmp/cache/assets/development/sprockets/a42ded65c5bb8c47e5de52802ea85f87 +0 -0
  372. data/spec/dummy/tmp/cache/assets/development/sprockets/a4c34e9ab0f1b22715a3c433cd87a20f +0 -0
  373. data/spec/dummy/tmp/cache/assets/development/sprockets/a698065edc0394659bb4a60cb1848dd9 +0 -0
  374. data/spec/dummy/tmp/cache/assets/development/sprockets/a79701d18873ce710f6216b6a3806a83 +0 -0
  375. data/spec/dummy/tmp/cache/assets/development/sprockets/a7f7a7a6f7d56bb4b46d8e4c89a3450a +0 -0
  376. data/spec/dummy/tmp/cache/assets/development/sprockets/a9462c3eb1108400236e0163c8a95e17 +0 -0
  377. data/spec/dummy/tmp/cache/assets/development/sprockets/ab2d7ffeb120e870e5a1a5794c677a96 +0 -0
  378. data/spec/dummy/tmp/cache/assets/development/sprockets/ab95a26755cf0a8dd6f340664c3df4cc +0 -0
  379. data/spec/dummy/tmp/cache/assets/development/sprockets/abfe3e393258df10a8bcb8a11c508960 +0 -0
  380. data/spec/dummy/tmp/cache/assets/development/sprockets/ac3de6ba4cfffa91134b0c40d4de10cd +0 -0
  381. data/spec/dummy/tmp/cache/assets/development/sprockets/ac670360d339283f28e8a977f184ca58 +0 -0
  382. data/spec/dummy/tmp/cache/assets/development/sprockets/aed5e523ef919ba89c52fc4f41838e0d +0 -0
  383. data/spec/dummy/tmp/cache/assets/development/sprockets/af1a908ef71dbf649d6bfc7bb4a7b802 +0 -0
  384. data/spec/dummy/tmp/cache/assets/development/sprockets/b240d42f24ec24b7922625710fb78864 +0 -0
  385. data/spec/dummy/tmp/cache/assets/development/sprockets/b2e41031bc7bf32fe23051b0bed7cfe7 +0 -0
  386. data/spec/dummy/tmp/cache/assets/development/sprockets/b3afd422c761ca8b9f25fc31bcb16e57 +0 -0
  387. data/spec/dummy/tmp/cache/assets/development/sprockets/b48147ca8e8ef368bffc8eeb8ab61826 +0 -0
  388. data/spec/dummy/tmp/cache/assets/development/sprockets/b6a6a8ff8899ee3fba7d60061ad4134c +0 -0
  389. data/spec/dummy/tmp/cache/assets/development/sprockets/b862b8461edd4b989538d86b38dab7f5 +0 -0
  390. data/spec/dummy/tmp/cache/assets/development/sprockets/b9626f562d6867b57696d079fd459916 +0 -0
  391. data/spec/dummy/tmp/cache/assets/development/sprockets/b975aa1b2fcb7293b12a360ff2eb97e6 +0 -0
  392. data/spec/dummy/tmp/cache/assets/development/sprockets/bb1f26b995fdd7b6d2ac3dbfa9ff802a +0 -0
  393. data/spec/dummy/tmp/cache/assets/development/sprockets/bf9a86821e87daaf598b1a6e021634cf +0 -0
  394. data/spec/dummy/tmp/cache/assets/development/sprockets/bfa4c6ad0081ca0f013ecf4ce1509033 +0 -0
  395. data/spec/dummy/tmp/cache/assets/development/sprockets/c0c703c441222b2bf421bcc8465d4854 +0 -0
  396. data/spec/dummy/tmp/cache/assets/development/sprockets/c219bb843814a727baebad11cf14e339 +0 -0
  397. data/spec/dummy/tmp/cache/assets/development/sprockets/c7e3a48c5d8dc588e1c4de361a125c45 +0 -0
  398. data/spec/dummy/tmp/cache/assets/development/sprockets/c7fe984c819e1eab5df4d5b507d06f08 +0 -0
  399. data/spec/dummy/tmp/cache/assets/development/sprockets/c8bfddd018ed49781a597619f64d3abd +0 -0
  400. data/spec/dummy/tmp/cache/assets/development/sprockets/cac3f4659c221fccf6028ecc44fe9217 +0 -0
  401. data/spec/dummy/tmp/cache/assets/development/sprockets/cb08dfa48ab4ed8c6067750011bc2a56 +0 -0
  402. data/spec/dummy/tmp/cache/assets/development/sprockets/ce1fd9656d7935f132f85c3a221a67ba +0 -0
  403. data/spec/dummy/tmp/cache/assets/development/sprockets/d2a6177ba2d233e33bd061d7fb9cd628 +0 -0
  404. data/spec/dummy/tmp/cache/assets/development/sprockets/d40b6b4189d7680a73b8b94057e31022 +0 -0
  405. data/spec/dummy/tmp/cache/assets/development/sprockets/dbdd6f7f1a2680b7313ae9c940f9ac4c +0 -0
  406. data/spec/dummy/tmp/cache/assets/development/sprockets/dbe5b014ce69cfcb9388b1f1be0fc07d +0 -0
  407. data/spec/dummy/tmp/cache/assets/development/sprockets/dd3e2960b850367389fca0a5d8566551 +0 -0
  408. data/spec/dummy/tmp/cache/assets/development/sprockets/de9fb9c8a1f09dcebe130b9e7f687afd +0 -0
  409. data/spec/dummy/tmp/cache/assets/development/sprockets/dec6c42399648babcea34c105f0fc83f +0 -0
  410. data/spec/dummy/tmp/cache/assets/development/sprockets/e1fd25e6bdec3fdebdb946c0b4ba974f +0 -0
  411. data/spec/dummy/tmp/cache/assets/development/sprockets/e2965613b9e19be94c1ab92addbf9522 +0 -0
  412. data/spec/dummy/tmp/cache/assets/development/sprockets/e3d0b4fc93b50878108e5f7463f2050a +0 -0
  413. data/spec/dummy/tmp/cache/assets/development/sprockets/e437111ec0fab0250b518d69db15d9b8 +0 -0
  414. data/spec/dummy/tmp/cache/assets/development/sprockets/e4dff08dbc078fbf096ff221f75baf92 +0 -0
  415. data/spec/dummy/tmp/cache/assets/development/sprockets/ea110c82f66716dd92e22c9de7b249e8 +0 -0
  416. data/spec/dummy/tmp/cache/assets/development/sprockets/ea7294fa903cf73f2c9882de4a3118fb +0 -0
  417. data/spec/dummy/tmp/cache/assets/development/sprockets/ecfb4f775270825b0f6ec16552e61a3c +0 -0
  418. data/spec/dummy/tmp/cache/assets/development/sprockets/ed108f7a4a4fe7f43ac66c7eb5209e24 +0 -0
  419. data/spec/dummy/tmp/cache/assets/development/sprockets/f14e4511cdd4a242cc068c710c7dd0d1 +0 -0
  420. data/spec/dummy/tmp/cache/assets/development/sprockets/f28611e5b61d6ec23f3a5a63a99d7d23 +0 -0
  421. data/spec/dummy/tmp/cache/assets/development/sprockets/f294fbede1b7c780bc8e68aaabab1d83 +0 -0
  422. data/spec/dummy/tmp/cache/assets/development/sprockets/f6593f5551b1867b389179e33c46df98 +0 -0
  423. data/spec/dummy/tmp/cache/assets/development/sprockets/f6d5b390a534b5ce821b5b84757d7a1c +0 -0
  424. data/spec/dummy/tmp/cache/assets/development/sprockets/f71b8e208ea605e5dad351a05172d6bd +0 -0
  425. data/spec/dummy/tmp/cache/assets/development/sprockets/f7b22e06cc0b7e9fd9008b6a16c201b6 +0 -0
  426. data/spec/dummy/tmp/cache/assets/development/sprockets/f7f21931f966f2b6112af9cb48ab2ef8 +0 -0
  427. data/spec/dummy/tmp/cache/assets/development/sprockets/fc8dedac9592b5f0c1ba6241713bb5d1 +0 -0
  428. data/spec/dummy/tmp/cache/assets/development/sprockets/fccfd128f0c058afe6166f1a862d25a7 +0 -0
  429. data/spec/dummy/tmp/cache/assets/development/sprockets/fd01744dc6f832030742b6e0db5063d5 +0 -0
  430. data/spec/dummy/tmp/cache/assets/development/sprockets/fd5e3004fbfd28ebb8e744f3570e24be +0 -0
  431. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_alerts.scssc +0 -0
  432. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_badges.scssc +0 -0
  433. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_breadcrumbs.scssc +0 -0
  434. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_button-groups.scssc +0 -0
  435. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_buttons.scssc +0 -0
  436. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_carousel.scssc +0 -0
  437. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_close.scssc +0 -0
  438. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_code.scssc +0 -0
  439. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_component-animations.scssc +0 -0
  440. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_dropdowns.scssc +0 -0
  441. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_forms.scssc +0 -0
  442. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_glyphicons.scssc +0 -0
  443. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_grid.scssc +0 -0
  444. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_input-groups.scssc +0 -0
  445. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_jumbotron.scssc +0 -0
  446. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_labels.scssc +0 -0
  447. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_list-group.scssc +0 -0
  448. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_media.scssc +0 -0
  449. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_mixins.scssc +0 -0
  450. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_modals.scssc +0 -0
  451. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_navbar.scssc +0 -0
  452. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_navs.scssc +0 -0
  453. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_normalize.scssc +0 -0
  454. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_pager.scssc +0 -0
  455. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_pagination.scssc +0 -0
  456. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_panels.scssc +0 -0
  457. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_popovers.scssc +0 -0
  458. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_print.scssc +0 -0
  459. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_progress-bars.scssc +0 -0
  460. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_responsive-embed.scssc +0 -0
  461. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_responsive-utilities.scssc +0 -0
  462. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_scaffolding.scssc +0 -0
  463. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_tables.scssc +0 -0
  464. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_thumbnails.scssc +0 -0
  465. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_tooltip.scssc +0 -0
  466. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_type.scssc +0 -0
  467. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_utilities.scssc +0 -0
  468. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_variables.scssc +0 -0
  469. data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_wells.scssc +0 -0
  470. data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_alerts.scssc +0 -0
  471. data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_background-variant.scssc +0 -0
  472. data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_border-radius.scssc +0 -0
  473. data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_buttons.scssc +0 -0
  474. data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_center-block.scssc +0 -0
  475. data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_clearfix.scssc +0 -0
  476. data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_forms.scssc +0 -0
  477. data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_gradients.scssc +0 -0
  478. data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_grid-framework.scssc +0 -0
  479. data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_grid.scssc +0 -0
  480. data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_hide-text.scssc +0 -0
  481. data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_image.scssc +0 -0
  482. data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_labels.scssc +0 -0
  483. data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_list-group.scssc +0 -0
  484. data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_nav-divider.scssc +0 -0
  485. data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_nav-vertical-align.scssc +0 -0
  486. data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_opacity.scssc +0 -0
  487. data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_pagination.scssc +0 -0
  488. data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_panels.scssc +0 -0
  489. data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_progress-bar.scssc +0 -0
  490. data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_reset-filter.scssc +0 -0
  491. data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_resize.scssc +0 -0
  492. data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_responsive-visibility.scssc +0 -0
  493. data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_size.scssc +0 -0
  494. data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_tab-focus.scssc +0 -0
  495. data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_table-row.scssc +0 -0
  496. data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_text-emphasis.scssc +0 -0
  497. data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_text-overflow.scssc +0 -0
  498. data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_vendor-prefixes.scssc +0 -0
  499. data/spec/dummy/tmp/cache/assets/test/sass/5c0d2f6087bf75a7b219942ba7be5435141060e9/admin.css.scssc +0 -0
  500. data/spec/dummy/tmp/cache/assets/test/sass/5c0d2f6087bf75a7b219942ba7be5435141060e9/application.css.scssc +0 -0
  501. data/spec/dummy/tmp/cache/assets/test/sass/5c0d2f6087bf75a7b219942ba7be5435141060e9/devise.css.scssc +0 -0
  502. data/spec/dummy/tmp/cache/assets/test/sass/5c0d2f6087bf75a7b219942ba7be5435141060e9/media.css.scssc +0 -0
  503. data/spec/dummy/tmp/cache/assets/test/sass/5c0d2f6087bf75a7b219942ba7be5435141060e9/posts.css.scssc +0 -0
  504. data/spec/dummy/tmp/cache/assets/test/sass/5c0d2f6087bf75a7b219942ba7be5435141060e9/sites.css.scssc +0 -0
  505. data/spec/dummy/tmp/cache/assets/test/sass/5c0d2f6087bf75a7b219942ba7be5435141060e9/versions.css.scssc +0 -0
  506. data/spec/dummy/tmp/cache/assets/test/sass/7628c68fbe2e3603f682dfe5046801415df5db97/bootstrap-wysihtml5.css.scssc +0 -0
  507. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_alerts.scssc +0 -0
  508. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_badges.scssc +0 -0
  509. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_breadcrumbs.scssc +0 -0
  510. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_button-groups.scssc +0 -0
  511. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_buttons.scssc +0 -0
  512. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_carousel.scssc +0 -0
  513. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_close.scssc +0 -0
  514. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_code.scssc +0 -0
  515. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_component-animations.scssc +0 -0
  516. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_dropdowns.scssc +0 -0
  517. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_forms.scssc +0 -0
  518. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_glyphicons.scssc +0 -0
  519. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_grid.scssc +0 -0
  520. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_input-groups.scssc +0 -0
  521. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_jumbotron.scssc +0 -0
  522. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_labels.scssc +0 -0
  523. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_list-group.scssc +0 -0
  524. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_media.scssc +0 -0
  525. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_mixins.scssc +0 -0
  526. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_modals.scssc +0 -0
  527. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_navbar.scssc +0 -0
  528. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_navs.scssc +0 -0
  529. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_normalize.scssc +0 -0
  530. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_pager.scssc +0 -0
  531. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_pagination.scssc +0 -0
  532. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_panels.scssc +0 -0
  533. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_popovers.scssc +0 -0
  534. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_print.scssc +0 -0
  535. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_progress-bars.scssc +0 -0
  536. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_responsive-embed.scssc +0 -0
  537. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_responsive-utilities.scssc +0 -0
  538. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_scaffolding.scssc +0 -0
  539. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_tables.scssc +0 -0
  540. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_thumbnails.scssc +0 -0
  541. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_tooltip.scssc +0 -0
  542. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_type.scssc +0 -0
  543. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_utilities.scssc +0 -0
  544. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_variables.scssc +0 -0
  545. data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_wells.scssc +0 -0
  546. data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_alerts.scssc +0 -0
  547. data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_background-variant.scssc +0 -0
  548. data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_border-radius.scssc +0 -0
  549. data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_buttons.scssc +0 -0
  550. data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_center-block.scssc +0 -0
  551. data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_clearfix.scssc +0 -0
  552. data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_forms.scssc +0 -0
  553. data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_gradients.scssc +0 -0
  554. data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_grid-framework.scssc +0 -0
  555. data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_grid.scssc +0 -0
  556. data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_hide-text.scssc +0 -0
  557. data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_image.scssc +0 -0
  558. data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_labels.scssc +0 -0
  559. data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_list-group.scssc +0 -0
  560. data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_nav-divider.scssc +0 -0
  561. data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_nav-vertical-align.scssc +0 -0
  562. data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_opacity.scssc +0 -0
  563. data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_pagination.scssc +0 -0
  564. data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_panels.scssc +0 -0
  565. data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_progress-bar.scssc +0 -0
  566. data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_reset-filter.scssc +0 -0
  567. data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_resize.scssc +0 -0
  568. data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_responsive-visibility.scssc +0 -0
  569. data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_size.scssc +0 -0
  570. data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_tab-focus.scssc +0 -0
  571. data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_table-row.scssc +0 -0
  572. data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_text-emphasis.scssc +0 -0
  573. data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_text-overflow.scssc +0 -0
  574. data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_vendor-prefixes.scssc +0 -0
  575. data/spec/dummy/tmp/cache/assets/test/sass/bd6920fe35fbc8a60bb51f3a648fe211cda6a4ba/bootstrap.scssc +0 -0
  576. data/spec/dummy/tmp/cache/assets/test/sass/ee7f3ff577f16153ee43b3806d01c1c81edb02c6/bootstrap.scssc +0 -0
  577. data/spec/dummy/tmp/cache/assets/test/sprockets/020b91fbc1173b1d78d8c8535228c51a +0 -0
  578. data/spec/dummy/tmp/cache/assets/test/sprockets/044316d16f4f4c759436c2eea3549a9a +0 -0
  579. data/spec/dummy/tmp/cache/assets/test/sprockets/097dbab26422bc41368089a5e42686a0 +0 -0
  580. data/spec/dummy/tmp/cache/assets/test/sprockets/09e1cce14478bbb557448268798ec525 +0 -0
  581. data/spec/dummy/tmp/cache/assets/test/sprockets/0acd0bc8c90407d27bc855419a226514 +0 -0
  582. data/spec/dummy/tmp/cache/assets/test/sprockets/0d01ca44d9aefc0be6980f2c2de07312 +0 -0
  583. data/spec/dummy/tmp/cache/assets/test/sprockets/0d02ec6f768631a38712f82c09d6ceeb +0 -0
  584. data/spec/dummy/tmp/cache/assets/test/sprockets/0d7f8d2c285e1a9aecb5af5a38f4bb14 +0 -0
  585. data/spec/dummy/tmp/cache/assets/test/sprockets/10501d53c17804ad83c0a98289ea6c36 +0 -0
  586. data/spec/dummy/tmp/cache/assets/test/sprockets/12f6c9c245e8fa406c35ab7331974afc +0 -0
  587. data/spec/dummy/tmp/cache/assets/test/sprockets/1583ab7265065890f895e5b9fb536a7a +0 -0
  588. data/spec/dummy/tmp/cache/assets/test/sprockets/165af8be47e919c036d6cdd8b4156c3f +0 -0
  589. data/spec/dummy/tmp/cache/assets/test/sprockets/169fd6faf427e47619e8e3cd871dca9b +0 -0
  590. data/spec/dummy/tmp/cache/assets/test/sprockets/17e3bf97def57cfeda69e06595085c2b +0 -0
  591. data/spec/dummy/tmp/cache/assets/test/sprockets/19fc4f17ff0937e15f96263d6bdd6cf6 +0 -0
  592. data/spec/dummy/tmp/cache/assets/test/sprockets/1af012edb39b0460b7065a823d74005e +0 -0
  593. data/spec/dummy/tmp/cache/assets/test/sprockets/2378062a5d883c5add851640797b8b5d +0 -0
  594. data/spec/dummy/tmp/cache/assets/test/sprockets/23a0b43b3ac4a57203836cb77bc3c98a +0 -0
  595. data/spec/dummy/tmp/cache/assets/test/sprockets/2454cff882de4acc3e63481fe2d31826 +0 -0
  596. data/spec/dummy/tmp/cache/assets/test/sprockets/265ee88932e33d90712c94909bfe7282 +0 -0
  597. data/spec/dummy/tmp/cache/assets/test/sprockets/26b55ad5f4ab8bdcad112672e512dcc9 +0 -0
  598. data/spec/dummy/tmp/cache/assets/test/sprockets/28491cc5820f412734b79e7b8db43c45 +0 -0
  599. data/spec/dummy/tmp/cache/assets/test/sprockets/2899787f8d2a2ae6dfbb9276125684c9 +0 -0
  600. data/spec/dummy/tmp/cache/assets/test/sprockets/28be90e4c91158f4aa826003490b51e0 +0 -0
  601. data/spec/dummy/tmp/cache/assets/test/sprockets/29fa80846e652c4bf4eb134143557a92 +0 -0
  602. data/spec/dummy/tmp/cache/assets/test/sprockets/2b112c2e64ea4c33a927ef5d2eb90710 +0 -0
  603. data/spec/dummy/tmp/cache/assets/test/sprockets/2b9fc42071e985b990e21b94953f037f +0 -0
  604. data/spec/dummy/tmp/cache/assets/test/sprockets/2ba1cab090fecac37ce98fc40389c07e +0 -0
  605. data/spec/dummy/tmp/cache/assets/test/sprockets/2cc6f240a4340624feee26cda93f243c +0 -0
  606. data/spec/dummy/tmp/cache/assets/test/sprockets/2d8013c606f7cf8d7b23ca7add8faa8e +0 -0
  607. data/spec/dummy/tmp/cache/assets/test/sprockets/33eccb31ac2cd04b4e8301b3029969dd +0 -0
  608. data/spec/dummy/tmp/cache/assets/test/sprockets/35ae9fe8ac2b07df56c4dc2fbb8094e0 +0 -0
  609. data/spec/dummy/tmp/cache/assets/test/sprockets/376f2df90e3e56853fc174d664b724bb +0 -0
  610. data/spec/dummy/tmp/cache/assets/test/sprockets/393869113eb31f9dca7bbc8b36a6c47a +0 -0
  611. data/spec/dummy/tmp/cache/assets/test/sprockets/39a43c34b540515fdb2e58087b3cfb24 +0 -0
  612. data/spec/dummy/tmp/cache/assets/test/sprockets/3cfeb2500f681c26386c11360b02d845 +0 -0
  613. data/spec/dummy/tmp/cache/assets/test/sprockets/40e3897f7dde4a8cc4712a7a9de31142 +0 -0
  614. data/spec/dummy/tmp/cache/assets/test/sprockets/4282fa32a57799211b7da1dee471d0f2 +0 -0
  615. data/spec/dummy/tmp/cache/assets/test/sprockets/45dae50b10023f4bea4b848956498b80 +0 -0
  616. data/spec/dummy/tmp/cache/assets/test/sprockets/480e710084fe62082c214d8d1d6f6897 +0 -0
  617. data/spec/dummy/tmp/cache/assets/test/sprockets/49b525b6667302a577db14433e887eb6 +0 -0
  618. data/spec/dummy/tmp/cache/assets/test/sprockets/4bd5dad727e47e71124f50228f264126 +0 -0
  619. data/spec/dummy/tmp/cache/assets/test/sprockets/4f37fa6375d525cc4348b0f13783df58 +0 -0
  620. data/spec/dummy/tmp/cache/assets/test/sprockets/529eabd6c6e130ede1f32048ff44d6a0 +0 -0
  621. data/spec/dummy/tmp/cache/assets/test/sprockets/53b1cd253b169f8158f5f6094510abd6 +0 -0
  622. data/spec/dummy/tmp/cache/assets/test/sprockets/55597ced9c714d85af225f385f748fb7 +0 -0
  623. data/spec/dummy/tmp/cache/assets/test/sprockets/5ae49d3d7a73b15f3139273dc842722a +0 -0
  624. data/spec/dummy/tmp/cache/assets/test/sprockets/5c2dfc344f454ea4d5746b887a6e5430 +0 -0
  625. data/spec/dummy/tmp/cache/assets/test/sprockets/5ef9de5aa22ac63b7b5377bc629e8810 +0 -0
  626. data/spec/dummy/tmp/cache/assets/test/sprockets/6178c3f89b18fdac7431d9448ac2ad82 +0 -0
  627. data/spec/dummy/tmp/cache/assets/test/sprockets/61bc1cc8894113058b067526fee0348a +0 -0
  628. data/spec/dummy/tmp/cache/assets/test/sprockets/61eccde418d3db7d6cab950c85ea53dc +0 -0
  629. data/spec/dummy/tmp/cache/assets/test/sprockets/635a2c4b410e9a5c27ee5bf7a586bb52 +0 -0
  630. data/spec/dummy/tmp/cache/assets/test/sprockets/63bc199866d476456d372f42416e2f75 +0 -0
  631. data/spec/dummy/tmp/cache/assets/test/sprockets/644e0db48209ab08ad6b5e200963a839 +0 -0
  632. data/spec/dummy/tmp/cache/assets/test/sprockets/67101390e2af5d2e1be9f95f315c1335 +0 -0
  633. data/spec/dummy/tmp/cache/assets/test/sprockets/67707b57a979f5dd6fcfa60c33ba5b3a +0 -0
  634. data/spec/dummy/tmp/cache/assets/test/sprockets/6a1abdccf9e9f6fc3d08f47b0a6ffecd +0 -0
  635. data/spec/dummy/tmp/cache/assets/test/sprockets/6da1fab887d1e8378f40c20667e5cc59 +0 -0
  636. data/spec/dummy/tmp/cache/assets/test/sprockets/6e31e9c28b48aae7b8b99b865c5e500b +0 -0
  637. data/spec/dummy/tmp/cache/assets/test/sprockets/6e64329c6454073eeff47f373cc9aa05 +0 -0
  638. data/spec/dummy/tmp/cache/assets/test/sprockets/6fce639dfd31f2213a96e4c4e9032dff +0 -0
  639. data/spec/dummy/tmp/cache/assets/test/sprockets/6fee48b9b1da0d3d6b8be1949870bd2d +0 -0
  640. data/spec/dummy/tmp/cache/assets/test/sprockets/715f1c1bd4a498fe0e1a7d88f83b58ff +0 -0
  641. data/spec/dummy/tmp/cache/assets/test/sprockets/718238c58fbd496692db95edc9f7257f +0 -0
  642. data/spec/dummy/tmp/cache/assets/test/sprockets/7255d65c7583f46b858b92c03dd3f19c +0 -0
  643. data/spec/dummy/tmp/cache/assets/test/sprockets/72b57883778071e50284671cc1d8b1f0 +0 -0
  644. data/spec/dummy/tmp/cache/assets/test/sprockets/75586c04a80da3ade0d12b011b754668 +0 -0
  645. data/spec/dummy/tmp/cache/assets/test/sprockets/75937a67b81e1b3864a73f47082220d0 +0 -0
  646. data/spec/dummy/tmp/cache/assets/test/sprockets/75cb73cbb915f391a7bdd430e6240c18 +0 -0
  647. data/spec/dummy/tmp/cache/assets/test/sprockets/771344cf28504419d046eb60a73393e6 +0 -0
  648. data/spec/dummy/tmp/cache/assets/test/sprockets/793533d05b0c5923ee5b15bbeddba7ee +0 -0
  649. data/spec/dummy/tmp/cache/assets/test/sprockets/7b5b8cdf15c5d6e25b630ace20226a08 +0 -0
  650. data/spec/dummy/tmp/cache/assets/test/sprockets/7c641428a457405f11503ede9a3df71d +0 -0
  651. data/spec/dummy/tmp/cache/assets/test/sprockets/812f46c2e04af24cfcb060e9da976a52 +0 -0
  652. data/spec/dummy/tmp/cache/assets/test/sprockets/824bf908757de443ce19415a7b871e44 +0 -0
  653. data/spec/dummy/tmp/cache/assets/test/sprockets/83ad075b329956476f34673c7f405622 +0 -0
  654. data/spec/dummy/tmp/cache/assets/test/sprockets/8668ddaf373f95c1f37e43f2463fe898 +0 -0
  655. data/spec/dummy/tmp/cache/assets/test/sprockets/89ae70149a8fba7308ae0620444d24f8 +0 -0
  656. data/spec/dummy/tmp/cache/assets/test/sprockets/8c006db0ad565abab3a51fb0e2d91f72 +0 -0
  657. data/spec/dummy/tmp/cache/assets/test/sprockets/906e15453ef8943d062831b81527545e +0 -0
  658. data/spec/dummy/tmp/cache/assets/test/sprockets/90dd0e605a3ce1df752dc071c5ad6abf +0 -0
  659. data/spec/dummy/tmp/cache/assets/test/sprockets/95701298a0b8b805a116a0ffce62bade +0 -0
  660. data/spec/dummy/tmp/cache/assets/test/sprockets/962e0a112f2da1e5c709c62e176874ed +0 -0
  661. data/spec/dummy/tmp/cache/assets/test/sprockets/970d0b91e8c55df088fe3767f7fef635 +0 -0
  662. data/spec/dummy/tmp/cache/assets/test/sprockets/98f50d322e74820ea5f4bcc0d78d39df +0 -0
  663. data/spec/dummy/tmp/cache/assets/test/sprockets/998aae6d07168b75751fd86c608e2ad0 +0 -0
  664. data/spec/dummy/tmp/cache/assets/test/sprockets/9a92af8515d31b1c60f2e26eaa9d825d +0 -0
  665. data/spec/dummy/tmp/cache/assets/test/sprockets/9afa2e5696ecfdd565db508f363eecd3 +0 -0
  666. data/spec/dummy/tmp/cache/assets/test/sprockets/9cf80ea47639e70cfb9e0df41f1962b0 +0 -0
  667. data/spec/dummy/tmp/cache/assets/test/sprockets/9f27b24ce134a84f31dbaef4127315b6 +0 -0
  668. data/spec/dummy/tmp/cache/assets/test/sprockets/9f3957fba4c8ccc3d420c45e27dee803 +0 -0
  669. data/spec/dummy/tmp/cache/assets/test/sprockets/a04a4267454af41ae6371c70bd486028 +0 -0
  670. data/spec/dummy/tmp/cache/assets/test/sprockets/a1210c518bfa35e360ccc45413961ea2 +0 -0
  671. data/spec/dummy/tmp/cache/assets/test/sprockets/a172eb4fcd69ed9a019b8e5a10982ccc +0 -0
  672. data/spec/dummy/tmp/cache/assets/test/sprockets/a20b8d3b3218e47e9afe2ce9fe8203da +0 -0
  673. data/spec/dummy/tmp/cache/assets/test/sprockets/a25e43f0b15e48028e19b9ced4e9c647 +0 -0
  674. data/spec/dummy/tmp/cache/assets/test/sprockets/a4c34e9ab0f1b22715a3c433cd87a20f +0 -0
  675. data/spec/dummy/tmp/cache/assets/test/sprockets/a698065edc0394659bb4a60cb1848dd9 +0 -0
  676. data/spec/dummy/tmp/cache/assets/test/sprockets/a79701d18873ce710f6216b6a3806a83 +0 -0
  677. data/spec/dummy/tmp/cache/assets/test/sprockets/a9462c3eb1108400236e0163c8a95e17 +0 -0
  678. data/spec/dummy/tmp/cache/assets/test/sprockets/ab2d7ffeb120e870e5a1a5794c677a96 +0 -0
  679. data/spec/dummy/tmp/cache/assets/test/sprockets/abfe3e393258df10a8bcb8a11c508960 +0 -0
  680. data/spec/dummy/tmp/cache/assets/test/sprockets/ac3de6ba4cfffa91134b0c40d4de10cd +0 -0
  681. data/spec/dummy/tmp/cache/assets/test/sprockets/ac670360d339283f28e8a977f184ca58 +0 -0
  682. data/spec/dummy/tmp/cache/assets/test/sprockets/b226b9415eaa912975a551736bc31872 +0 -0
  683. data/spec/dummy/tmp/cache/assets/test/sprockets/b240d42f24ec24b7922625710fb78864 +0 -0
  684. data/spec/dummy/tmp/cache/assets/test/sprockets/b3afd422c761ca8b9f25fc31bcb16e57 +0 -0
  685. data/spec/dummy/tmp/cache/assets/test/sprockets/b48147ca8e8ef368bffc8eeb8ab61826 +0 -0
  686. data/spec/dummy/tmp/cache/assets/test/sprockets/b52aefb3a8aac603fa3625f3aeffba7e +0 -0
  687. data/spec/dummy/tmp/cache/assets/test/sprockets/b5faee49e35b6b3c4575df24a309a20c +0 -0
  688. data/spec/dummy/tmp/cache/assets/test/sprockets/b6a6a8ff8899ee3fba7d60061ad4134c +0 -0
  689. data/spec/dummy/tmp/cache/assets/test/sprockets/b782306a81352321745d99601bfec1bf +0 -0
  690. data/spec/dummy/tmp/cache/assets/test/sprockets/b862b8461edd4b989538d86b38dab7f5 +0 -0
  691. data/spec/dummy/tmp/cache/assets/test/sprockets/b8f823ab6507b5728a741402a500ac52 +0 -0
  692. data/spec/dummy/tmp/cache/assets/test/sprockets/b9626f562d6867b57696d079fd459916 +0 -0
  693. data/spec/dummy/tmp/cache/assets/test/sprockets/bb1f26b995fdd7b6d2ac3dbfa9ff802a +0 -0
  694. data/spec/dummy/tmp/cache/assets/test/sprockets/c00d4b3a71250a17d8817132b074c4dc +0 -0
  695. data/spec/dummy/tmp/cache/assets/test/sprockets/c7e3a48c5d8dc588e1c4de361a125c45 +0 -0
  696. data/spec/dummy/tmp/cache/assets/test/sprockets/c8f64df77ff15ad4668d336920b69c22 +0 -0
  697. data/spec/dummy/tmp/cache/assets/test/sprockets/cb08dfa48ab4ed8c6067750011bc2a56 +0 -0
  698. data/spec/dummy/tmp/cache/assets/test/sprockets/cb6c37714072edc629e4147f65fdec5e +0 -0
  699. data/spec/dummy/tmp/cache/assets/test/sprockets/ce1fd9656d7935f132f85c3a221a67ba +0 -0
  700. data/spec/dummy/tmp/cache/assets/test/sprockets/d2a6177ba2d233e33bd061d7fb9cd628 +0 -0
  701. data/spec/dummy/tmp/cache/assets/test/sprockets/d419cfae9829efa85c9f3046bcc9986a +0 -0
  702. data/spec/dummy/tmp/cache/assets/test/sprockets/d9113fba5771c9639f855bac9ed6793e +0 -0
  703. data/spec/dummy/tmp/cache/assets/test/sprockets/dbdd6f7f1a2680b7313ae9c940f9ac4c +0 -0
  704. data/spec/dummy/tmp/cache/assets/test/sprockets/dbe5b014ce69cfcb9388b1f1be0fc07d +0 -0
  705. data/spec/dummy/tmp/cache/assets/test/sprockets/dd3e2960b850367389fca0a5d8566551 +0 -0
  706. data/spec/dummy/tmp/cache/assets/test/sprockets/de9fb9c8a1f09dcebe130b9e7f687afd +0 -0
  707. data/spec/dummy/tmp/cache/assets/test/sprockets/e1fd25e6bdec3fdebdb946c0b4ba974f +0 -0
  708. data/spec/dummy/tmp/cache/assets/test/sprockets/e2965613b9e19be94c1ab92addbf9522 +0 -0
  709. data/spec/dummy/tmp/cache/assets/test/sprockets/e300050202fcd5b05c478beae48d1a37 +0 -0
  710. data/spec/dummy/tmp/cache/assets/test/sprockets/e3a0f0bf9c08dd08c7f0dfa3022bc4eb +0 -0
  711. data/spec/dummy/tmp/cache/assets/test/sprockets/e3d0b4fc93b50878108e5f7463f2050a +0 -0
  712. data/spec/dummy/tmp/cache/assets/test/sprockets/e4dff08dbc078fbf096ff221f75baf92 +0 -0
  713. data/spec/dummy/tmp/cache/assets/test/sprockets/e5da9b9993cdcfe695f57391b5b250e9 +0 -0
  714. data/spec/dummy/tmp/cache/assets/test/sprockets/ea110c82f66716dd92e22c9de7b249e8 +0 -0
  715. data/spec/dummy/tmp/cache/assets/test/sprockets/ea7294fa903cf73f2c9882de4a3118fb +0 -0
  716. data/spec/dummy/tmp/cache/assets/test/sprockets/ed4d3dc60afbf5feb638f2780a31faab +0 -0
  717. data/spec/dummy/tmp/cache/assets/test/sprockets/f14e4511cdd4a242cc068c710c7dd0d1 +0 -0
  718. data/spec/dummy/tmp/cache/assets/test/sprockets/f28611e5b61d6ec23f3a5a63a99d7d23 +0 -0
  719. data/spec/dummy/tmp/cache/assets/test/sprockets/f294fbede1b7c780bc8e68aaabab1d83 +0 -0
  720. data/spec/dummy/tmp/cache/assets/test/sprockets/f471d1843d304987efe56f013dbe46dd +0 -0
  721. data/spec/dummy/tmp/cache/assets/test/sprockets/f6593f5551b1867b389179e33c46df98 +0 -0
  722. data/spec/dummy/tmp/cache/assets/test/sprockets/f7b22e06cc0b7e9fd9008b6a16c201b6 +0 -0
  723. data/spec/dummy/tmp/cache/assets/test/sprockets/fc8dedac9592b5f0c1ba6241713bb5d1 +0 -0
  724. data/spec/dummy/tmp/cache/assets/test/sprockets/fccfd128f0c058afe6166f1a862d25a7 +0 -0
  725. data/spec/dummy/tmp/cache/assets/test/sprockets/fd01744dc6f832030742b6e0db5063d5 +0 -0
  726. data/spec/dummy/tmp/cache/assets/test/sprockets/fe0ab3d5a2b29cc3ec67e13feab046c5 +0 -0
  727. data/spec/dummy/tmp/capybara/capybara-201405011255219920091058.html +54 -0
  728. data/spec/factories/action_factories.rb +5 -0
  729. data/spec/factories/media_factories.rb +6 -0
  730. data/spec/factories/page_factories.rb +8 -0
  731. data/spec/factories/permission_factories.rb +6 -0
  732. data/spec/factories/post_factories.rb +11 -0
  733. data/spec/factories/role_factories.rb +38 -0
  734. data/spec/factories/site_factories.rb +7 -0
  735. data/spec/factories/user_factories.rb +18 -0
  736. data/spec/features/dashboard/media_spec.rb +60 -0
  737. data/spec/features/dashboard/pages_spec.rb +67 -0
  738. data/spec/features/dashboard/posts_spec.rb +68 -0
  739. data/spec/features/dashboard/sites_spec.rb +42 -0
  740. data/spec/features/dashboard/users_spec.rb +47 -0
  741. data/spec/features/pages_spec.rb +15 -0
  742. data/spec/features/posts_spec.rb +27 -0
  743. data/spec/models/page_spec.rb +8 -0
  744. data/spec/models/post_spec.rb +27 -0
  745. data/spec/models/tagging_spec.rb +28 -0
  746. data/spec/models/user_spec.rb +10 -0
  747. data/spec/models/version_spec.rb +57 -0
  748. data/spec/policies/page_policy_spec.rb +89 -0
  749. data/spec/policies/post_policy_spec.rb +89 -0
  750. data/spec/spec_helper.rb +63 -0
  751. data/spec/support/feature_macros.rb +38 -0
  752. data/spec/support/images/success-kid.jpg +0 -0
  753. data/spec/support/pundit_matcher.rb +13 -0
  754. data/spec/support/shared_db_connection.rb +9 -0
  755. data/vendor/assets/javascripts/bootstrap-wysihtml5.js +521 -0
  756. data/vendor/assets/javascripts/jquery.fileupload.js +1420 -0
  757. data/vendor/assets/javascripts/jquery.iframe-transport.js +214 -0
  758. data/vendor/assets/javascripts/jquery.ui.widget.js +530 -0
  759. data/vendor/assets/javascripts/wysihtml5.js +9521 -0
  760. data/vendor/assets/stylesheets/bootstrap-wysihtml5.css.scss +104 -0
  761. data/vendor/assets/stylesheets/bootstrap3-wysiwyg5-color.css +68 -0
  762. data/vendor/assets/stylesheets/jquery.fileupload.css +36 -0
  763. metadata +1750 -0
@@ -0,0 +1,17 @@
1
+ .media-file{
2
+ float: left;
3
+ padding: 15px 20px;
4
+ width: 112px;
5
+ border-top: 1px solid #dddddd;
6
+
7
+ .media-thumb{
8
+ height: 50px;
9
+ width: 72px;
10
+ text-align: center;
11
+ }
12
+
13
+ .action-buttons{
14
+ text-align: center;
15
+ margin-top: 20px;
16
+ }
17
+ }
@@ -0,0 +1,25 @@
1
+ /*
2
+ Place all the styles related to the matching controller here.
3
+ They will automatically be included in application.css.
4
+ */
5
+ .row.page-admin {
6
+ padding: 10px;
7
+ &:hover {
8
+ background: #f1f1f1;
9
+ }
10
+ }
11
+
12
+ #tag_cloud {
13
+ width: 400px;
14
+ line-height: 1.6em;
15
+ .s { font-size: 0.8em; }
16
+ .m { font-size: 1.2em; }
17
+ .l { font-size: 1.8em; }
18
+ }
19
+
20
+ .muted { color: lighten(#333, 50%); }
21
+ .label {
22
+ a, a:hover {
23
+ color: #fff;
24
+ }
25
+ }
@@ -0,0 +1,4 @@
1
+ /*
2
+ Place all the styles related to the matching controller here.
3
+ They will automatically be included in application.css.
4
+ */
@@ -0,0 +1,21 @@
1
+ #versions {
2
+ #versions-toggle {
3
+ text-align: center;
4
+ padding: 8px 20px;
5
+ border: 1px solid #ccc;
6
+ cursor: pointer;
7
+ background: #f1f1f1;
8
+ &:hover {
9
+ background: darken(#f1f1f1, 10%);
10
+ }
11
+ }
12
+ #versions-panel {
13
+ .list-group {
14
+ li:first-child {
15
+ border-top-right-radius: 0;
16
+ border-top-left-radius: 0;
17
+ border-top: none;
18
+ }
19
+ }
20
+ }
21
+ }
@@ -0,0 +1,36 @@
1
+ module Storytime
2
+ class ApplicationController < ActionController::Base
3
+ # layout Storytime.layout
4
+ rescue_from Pundit::NotAuthorizedError, with: :user_not_authorized
5
+
6
+ def after_sign_up_path_for(user)
7
+ if Storytime::User.count == 1
8
+ new_dashboard_site_url
9
+ else
10
+ dashboard_posts_url
11
+ end
12
+ end
13
+
14
+ def setup
15
+ url = if User.count == 0
16
+ new_user_registration_url
17
+ elsif Site.count == 0
18
+ new_dashboard_site_url
19
+ else
20
+ dashboard_posts_url
21
+ end
22
+
23
+ redirect_to url
24
+ end
25
+
26
+ private
27
+ def ensure_site
28
+ redirect_to new_dashboard_site_url unless devise_controller? || @site = Site.first
29
+ end
30
+
31
+ def user_not_authorized
32
+ flash[:error] = "You are not authorized to perform this action."
33
+ redirect_to(request.referrer || root_path)
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,38 @@
1
+ require_dependency "storytime/application_controller"
2
+
3
+ module Storytime
4
+ module Dashboard
5
+ class MediaController < DashboardController
6
+ respond_to :json, only: [:create, :destroy]
7
+
8
+ def index
9
+ @media = Media.order("created_at DESC").page(params[:page]).per(10)
10
+ authorize @media
11
+ render partial: "gallery", content_type: Mime::HTML if request.xhr?
12
+ end
13
+
14
+ def create
15
+ @media = current_user.media.new(media_params)
16
+ authorize @media
17
+ @media.save
18
+ respond_with :dashboard, @media do |format|
19
+ format.json{ render :show }
20
+ end
21
+ end
22
+
23
+ def destroy
24
+ @media = Media.find(params[:id])
25
+ authorize @media
26
+ @media.destroy
27
+ respond_with @media
28
+ end
29
+
30
+ private
31
+
32
+ def media_params
33
+ params.require(:media).permit(:file)
34
+ end
35
+
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,73 @@
1
+ require_dependency "storytime/application_controller"
2
+
3
+ module Storytime
4
+ module Dashboard
5
+ class PagesController < DashboardController
6
+ before_action :set_page, only: [:edit, :update, :destroy]
7
+ before_action :load_pages
8
+ before_action :load_media, only: [:new, :edit]
9
+
10
+ respond_to :json, only: :destroy
11
+ respond_to :html, only: :destroy
12
+
13
+ def index
14
+ authorize @pages
15
+ end
16
+
17
+ def new
18
+ @page = current_user.pages.new
19
+ authorize @page
20
+ end
21
+
22
+ def edit
23
+ authorize @page
24
+ end
25
+
26
+ def create
27
+ @page = current_user.pages.new(page_params)
28
+ @page.draft_user_id = current_user.id
29
+ authorize @page
30
+
31
+ if @page.save
32
+ redirect_to edit_dashboard_page_url(@page), notice: I18n.t('flash.pages.create.success')
33
+ else
34
+ load_media
35
+ render :new
36
+ end
37
+ end
38
+
39
+ def update
40
+ authorize @page
41
+ @page.draft_user_id = current_user.id
42
+ if @page.update(page_params)
43
+ redirect_to edit_dashboard_page_url(@page), notice: I18n.t('flash.pages.update.success')
44
+ else
45
+ load_media
46
+ render :edit
47
+ end
48
+ end
49
+
50
+ def destroy
51
+ authorize @page
52
+ @page.destroy
53
+ flash[:notice] = I18n.t('flash.pages.destroy.success') unless request.xhr?
54
+ respond_with [:dashboard, @page]
55
+ end
56
+
57
+ private
58
+ def set_page
59
+ @page = Page.friendly.find(params[:id])
60
+ end
61
+
62
+ def load_pages
63
+ # Patch for conflict between our form params and pagination
64
+ pg = params[:page].respond_to?(:to_i) ? params[:page] : 1
65
+ @pages = policy_scope(Storytime::Page).page(pg).per(10)
66
+ end
67
+
68
+ def page_params
69
+ params.require(:page).permit(*policy(@page || current_user.pages.new).permitted_attributes)
70
+ end
71
+ end
72
+ end
73
+ end
@@ -0,0 +1,71 @@
1
+ require_dependency "storytime/application_controller"
2
+
3
+ module Storytime
4
+ module Dashboard
5
+ class PostsController < DashboardController
6
+ before_action :set_post, only: [:edit, :update, :destroy]
7
+ before_action :load_posts
8
+ before_action :load_media, only: [:new, :edit]
9
+
10
+ respond_to :json, only: :destroy
11
+ respond_to :html, only: :destroy
12
+
13
+ def index
14
+ authorize @posts
15
+ end
16
+
17
+ def new
18
+ @post = current_user.posts.new
19
+ authorize @post
20
+ end
21
+
22
+ def edit
23
+ authorize @post
24
+ end
25
+
26
+ def create
27
+ @post = current_user.posts.new(post_params)
28
+ @post.draft_user_id = current_user.id
29
+ authorize @post
30
+
31
+ if @post.save
32
+ redirect_to edit_dashboard_post_path(@post), notice: I18n.t('flash.posts.create.success')
33
+ else
34
+ load_media
35
+ render :new
36
+ end
37
+ end
38
+
39
+ def update
40
+ authorize @post
41
+ @post.draft_user_id = current_user.id
42
+ if @post.update(post_params)
43
+ redirect_to edit_dashboard_post_path(@post), notice: I18n.t('flash.posts.update.success')
44
+ else
45
+ load_media
46
+ render :edit
47
+ end
48
+ end
49
+
50
+ def destroy
51
+ authorize @post
52
+ @post.destroy
53
+ flash[:notice] = I18n.t('flash.posts.destroy.success') unless request.xhr?
54
+ respond_with [:dashboard, @post]
55
+ end
56
+
57
+ private
58
+ def set_post
59
+ @post = Post.find(params[:id])
60
+ end
61
+
62
+ def load_posts
63
+ @posts = policy_scope(Storytime::Post).page(params[:page]).per(10)
64
+ end
65
+
66
+ def post_params
67
+ params.require(:post).permit(*policy(@post || current_user.posts.new).permitted_attributes)
68
+ end
69
+ end
70
+ end
71
+ end
@@ -0,0 +1,13 @@
1
+ require_dependency "storytime/application_controller"
2
+
3
+ module Storytime
4
+ module Dashboard
5
+ class RolesController < DashboardController
6
+ def update_multiple
7
+ authorize @site, :update?
8
+ @roles = Storytime::Role.update(params[:roles].keys, params[:roles].values)
9
+ redirect_to storytime.edit_dashboard_site_path(@site), notice: I18n.t("flash.roles.update.success")
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,52 @@
1
+ require_dependency "storytime/application_controller"
2
+
3
+ module Storytime
4
+ module Dashboard
5
+ class SitesController < DashboardController
6
+ before_action :set_site, only: [:edit, :update]
7
+ before_action :redirect_if_site_exists, only: :new
8
+
9
+ def new
10
+ @site = Site.new
11
+ authorize @site
12
+ end
13
+
14
+ def edit
15
+ authorize @site
16
+ end
17
+
18
+ def create
19
+ @site = Site.new(site_params)
20
+ authorize @site
21
+
22
+ if @site.save
23
+ redirect_to edit_dashboard_site_url(@site), notice: I18n.t('flash.sites.create.success')
24
+ else
25
+ render :new
26
+ end
27
+ end
28
+
29
+ def update
30
+ authorize @site
31
+ flash[:notice] = I18n.t('flash.sites.update.success') if @site.update(site_params)
32
+ render :edit
33
+ end
34
+
35
+ private
36
+ # Use callbacks to share common setup or constraints between actions.
37
+ def set_site
38
+ @site = Site.find(params[:id])
39
+ end
40
+
41
+ # Only allow a trusted parameter "white list" through.
42
+ def site_params
43
+ params.require(:site).permit(:title, :post_slug_style, :ga_tracking_id, :root_page_content, :header, :footer, :selected_root_page_id)
44
+ end
45
+
46
+ def redirect_if_site_exists
47
+ redirect_to edit_dashboard_site_url(Site.first) if Site.first
48
+ end
49
+
50
+ end
51
+ end
52
+ end
@@ -0,0 +1,60 @@
1
+ require_dependency "storytime/application_controller"
2
+
3
+ module Storytime
4
+ module Dashboard
5
+ class UsersController < DashboardController
6
+ before_action :load_user, only: [:edit, :update, :destroy]
7
+
8
+ respond_to :json, only: :destroy
9
+
10
+ def index
11
+ @users = Storytime::User.all
12
+ authorize @users
13
+ end
14
+
15
+ def new
16
+ @user = Storytime::User.new
17
+ authorize @user
18
+ end
19
+
20
+ def create
21
+ @user = Storytime::User.new(user_params)
22
+ authorize @user
23
+
24
+ if @user.save
25
+ redirect_to dashboard_users_path, notice: I18n.t('flash.users.create.success')
26
+ else
27
+ render :new
28
+ end
29
+ end
30
+
31
+ def edit
32
+ authorize @user
33
+ end
34
+
35
+ def update
36
+ authorize @user
37
+ if @user.update(user_params)
38
+ redirect_to dashboard_users_path, notice: I18n.t('flash.users.update.success')
39
+ else
40
+ render :edit
41
+ end
42
+ end
43
+
44
+ def destroy
45
+ authorize @user
46
+ @user.destroy
47
+ respond_with @user
48
+ end
49
+
50
+ private
51
+ def user_params
52
+ params.require(:user).permit(:email, :role_id, :password, :password_confirmation)
53
+ end
54
+
55
+ def load_user
56
+ @user = Storytime::User.find(params[:id])
57
+ end
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,18 @@
1
+ require_dependency "storytime/application_controller"
2
+
3
+ module Storytime
4
+ class DashboardController < ApplicationController
5
+ before_action :authenticate_user!
6
+ before_action :ensure_site, unless: ->{ params[:controller] == "storytime/dashboard/sites" }
7
+ layout "storytime/dashboard"
8
+ include Pundit
9
+ after_action :verify_authorized
10
+
11
+ private
12
+
13
+ def load_media
14
+ @media = Media.order("created_at DESC").page(1).per(10)
15
+ end
16
+
17
+ end
18
+ end