bigmouth 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (411) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/bigmouth/admin/dashboard.js +17 -0
  3. data/app/assets/javascripts/bigmouth/admin/data-confirm-modal.js +269 -0
  4. data/app/assets/javascripts/bigmouth/application.js +1 -0
  5. data/app/assets/stylesheets/bigmouth/admin/dashboard.css.scss +108 -0
  6. data/app/assets/stylesheets/bigmouth/custom.scss +32 -1
  7. data/app/controllers/bigmouth/admin/application_controller.rb +8 -0
  8. data/app/controllers/bigmouth/admin/articles_controller.rb +60 -0
  9. data/app/controllers/bigmouth/admin/images_controller.rb +60 -0
  10. data/app/controllers/bigmouth/articles_controller.rb +5 -53
  11. data/app/helpers/bigmouth/admin/application_helper.rb +35 -0
  12. data/app/helpers/bigmouth/application_helper.rb +24 -0
  13. data/app/models/bigmouth/article.rb +4 -1
  14. data/app/models/bigmouth/image.rb +9 -0
  15. data/app/views/bigmouth/{articles → admin/articles}/_form.html.slim +1 -1
  16. data/app/views/bigmouth/admin/articles/edit.html.slim +6 -0
  17. data/app/views/bigmouth/admin/articles/index.html.slim +29 -0
  18. data/app/views/bigmouth/admin/articles/new.html.slim +4 -0
  19. data/app/views/bigmouth/admin/articles/show.html.slim +17 -0
  20. data/app/views/bigmouth/admin/images/_form.html.slim +18 -0
  21. data/app/views/bigmouth/admin/images/edit.html.slim +6 -0
  22. data/app/views/bigmouth/admin/images/index.html.slim +28 -0
  23. data/app/views/bigmouth/admin/images/new.html.slim +4 -0
  24. data/app/views/bigmouth/admin/images/show.html.slim +17 -0
  25. data/app/views/bigmouth/articles/index.html.slim +17 -16
  26. data/app/views/bigmouth/articles/show.html.slim +10 -11
  27. data/app/views/layouts/bigmouth/admin/dashboard.html.slim +56 -0
  28. data/app/views/layouts/bigmouth/default.html.slim +8 -4
  29. data/config/routes.rb +7 -2
  30. data/db/migrate/20150126024751_add_user_id_to_bigmouth_articles.rb +5 -0
  31. data/db/migrate/20150201131400_create_bigmouth_images.rb +9 -0
  32. data/db/migrate/20150201134338_add_user_id_to_bigmouth_images.rb +5 -0
  33. data/db/migrate/20150204082807_add_image_file_to_images.rb +8 -0
  34. data/lib/bigmouth.rb +12 -14
  35. data/lib/bigmouth/config.rb +23 -0
  36. data/lib/bigmouth/version.rb +1 -1
  37. data/test/controllers/bigmouth/admin/articles_controller_test.rb +9 -0
  38. data/test/controllers/bigmouth/admin/files_controller_test.rb +9 -0
  39. data/test/controllers/bigmouth/articles_controller_test.rb +4 -42
  40. data/test/dummy/app/models/user.rb +2 -1
  41. data/test/dummy/app/views/layouts/application.html.erb +12 -11
  42. data/test/dummy/config/initializers/bigmouth.rb +16 -13
  43. data/test/dummy/db/schema.rb +13 -2
  44. data/test/features/bigmouth/admin/admin_area_test.rb +113 -0
  45. data/test/features/bigmouth/admin/admin_area_with_js_test.rb +60 -0
  46. data/test/features/bigmouth/admin/meat_is_murder.jpg +0 -0
  47. data/test/features/bigmouth/admin/strangeways_here_we_come.jpg +0 -0
  48. data/test/fixtures/bigmouth/articles.yml +26 -6
  49. data/test/fixtures/bigmouth/images.yml +10 -0
  50. data/test/fixtures/users.yml +4 -3
  51. data/test/helpers/bigmouth/application_helper_test.rb +54 -0
  52. data/test/helpers/bigmouth/articles_helper_test.rb +0 -0
  53. data/test/models/bigmouth/article_test.rb +14 -3
  54. data/test/models/bigmouth/file_test.rb +9 -0
  55. data/test/test_helper.rb +20 -0
  56. metadata +144 -708
  57. data/app/helpers/bigmouth/articles_helper.rb +0 -12
  58. data/app/views/bigmouth/articles/edit.html.slim +0 -6
  59. data/app/views/bigmouth/articles/new.html.slim +0 -4
  60. data/db/migrate/20150126024751_add_author_id_to_bigmouth_articles.rb +0 -5
  61. data/lib/#bigmouth.rb# +0 -31
  62. data/test/controllers/bigmouth/#articles_controller_test.rb# +0 -61
  63. data/test/dummy/app/views/layouts/#application.html.erb# +0 -22
  64. data/test/dummy/db/development.sqlite3 +0 -0
  65. data/test/dummy/db/test.sqlite3 +0 -0
  66. data/test/dummy/log/development.log +0 -36941
  67. data/test/dummy/log/test.log +0 -1063
  68. data/test/dummy/tmp/cache/assets/development/sass/365dfe376d173aa71edc333cb62d683802ac4ebb/application.css.scssc +0 -0
  69. data/test/dummy/tmp/cache/assets/development/sass/365dfe376d173aa71edc333cb62d683802ac4ebb/custom.css.scssc +0 -0
  70. data/test/dummy/tmp/cache/assets/development/sass/365dfe376d173aa71edc333cb62d683802ac4ebb/custom.scssc +0 -0
  71. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_alerts.scssc +0 -0
  72. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_badges.scssc +0 -0
  73. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_breadcrumbs.scssc +0 -0
  74. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_button-groups.scssc +0 -0
  75. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_buttons.scssc +0 -0
  76. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_carousel.scssc +0 -0
  77. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_close.scssc +0 -0
  78. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_code.scssc +0 -0
  79. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_component-animations.scssc +0 -0
  80. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_dropdowns.scssc +0 -0
  81. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_forms.scssc +0 -0
  82. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_glyphicons.scssc +0 -0
  83. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_grid.scssc +0 -0
  84. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_input-groups.scssc +0 -0
  85. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_jumbotron.scssc +0 -0
  86. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_labels.scssc +0 -0
  87. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_list-group.scssc +0 -0
  88. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_media.scssc +0 -0
  89. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_mixins.scssc +0 -0
  90. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_modals.scssc +0 -0
  91. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_navbar.scssc +0 -0
  92. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_navs.scssc +0 -0
  93. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_normalize.scssc +0 -0
  94. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_pager.scssc +0 -0
  95. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_pagination.scssc +0 -0
  96. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_panels.scssc +0 -0
  97. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_popovers.scssc +0 -0
  98. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_print.scssc +0 -0
  99. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_progress-bars.scssc +0 -0
  100. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_responsive-embed.scssc +0 -0
  101. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_responsive-utilities.scssc +0 -0
  102. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_scaffolding.scssc +0 -0
  103. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_tables.scssc +0 -0
  104. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_thumbnails.scssc +0 -0
  105. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_tooltip.scssc +0 -0
  106. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_type.scssc +0 -0
  107. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_utilities.scssc +0 -0
  108. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_variables.scssc +0 -0
  109. data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_wells.scssc +0 -0
  110. data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_alerts.scssc +0 -0
  111. data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_background-variant.scssc +0 -0
  112. data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_border-radius.scssc +0 -0
  113. data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_buttons.scssc +0 -0
  114. data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_center-block.scssc +0 -0
  115. data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_clearfix.scssc +0 -0
  116. data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_forms.scssc +0 -0
  117. data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_gradients.scssc +0 -0
  118. data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_grid-framework.scssc +0 -0
  119. data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_grid.scssc +0 -0
  120. data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_hide-text.scssc +0 -0
  121. data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_image.scssc +0 -0
  122. data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_labels.scssc +0 -0
  123. data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_list-group.scssc +0 -0
  124. data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_nav-divider.scssc +0 -0
  125. data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_nav-vertical-align.scssc +0 -0
  126. data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_opacity.scssc +0 -0
  127. data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_pagination.scssc +0 -0
  128. data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_panels.scssc +0 -0
  129. data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_progress-bar.scssc +0 -0
  130. data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_reset-filter.scssc +0 -0
  131. data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_resize.scssc +0 -0
  132. data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_responsive-visibility.scssc +0 -0
  133. data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_size.scssc +0 -0
  134. data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_tab-focus.scssc +0 -0
  135. data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_table-row.scssc +0 -0
  136. data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_text-emphasis.scssc +0 -0
  137. data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_text-overflow.scssc +0 -0
  138. data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_vendor-prefixes.scssc +0 -0
  139. data/test/dummy/tmp/cache/assets/development/sass/f4632670e0618904d6cdfaa05215347dcf2fcba2/_bootstrap-sprockets.scssc +0 -0
  140. data/test/dummy/tmp/cache/assets/development/sass/f4632670e0618904d6cdfaa05215347dcf2fcba2/_bootstrap.scssc +0 -0
  141. data/test/dummy/tmp/cache/assets/development/sprockets/0800f54ee19cf3cee10b956fa9786799 +0 -0
  142. data/test/dummy/tmp/cache/assets/development/sprockets/0b3bc7828f4a9fe07afe8f989474a5ec +0 -0
  143. data/test/dummy/tmp/cache/assets/development/sprockets/0d950fff852c8cc3816ea54eeb5a1b2a +0 -0
  144. data/test/dummy/tmp/cache/assets/development/sprockets/0ec737c7804927b87a778f1b8fd956a4 +0 -0
  145. data/test/dummy/tmp/cache/assets/development/sprockets/13cd01d1efdd0e91fd52fafc1bf9565f +0 -0
  146. data/test/dummy/tmp/cache/assets/development/sprockets/13d2a7feb53fc9b264c8f81d399ea58e +0 -0
  147. data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  148. data/test/dummy/tmp/cache/assets/development/sprockets/146dac6de2f351f56eeb983e57282736 +0 -0
  149. data/test/dummy/tmp/cache/assets/development/sprockets/1bda73f85ee45cdc3618869a34b453c4 +0 -0
  150. data/test/dummy/tmp/cache/assets/development/sprockets/2006bd1910570bb544d0dc32d715b996 +0 -0
  151. data/test/dummy/tmp/cache/assets/development/sprockets/23cf365c3ba440f92a8f991efbcfa6a8 +0 -0
  152. data/test/dummy/tmp/cache/assets/development/sprockets/2580ae76161b34d0884be8806320ca61 +0 -0
  153. data/test/dummy/tmp/cache/assets/development/sprockets/26131461f8b9e7a897ba3f7269ddb6b4 +0 -0
  154. data/test/dummy/tmp/cache/assets/development/sprockets/2770d71695c9a6f0c2bc160ad37db730 +0 -0
  155. data/test/dummy/tmp/cache/assets/development/sprockets/29ca5e3268edb180578eaa08ddd9915c +0 -0
  156. data/test/dummy/tmp/cache/assets/development/sprockets/2d665f9a2281c838d3d69f2b737902d3 +0 -0
  157. data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  158. data/test/dummy/tmp/cache/assets/development/sprockets/325360df43b85fca59b40b8762508af4 +0 -0
  159. data/test/dummy/tmp/cache/assets/development/sprockets/32f6bca48ffb4460dfd8f12fc1ef85a1 +0 -0
  160. data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  161. data/test/dummy/tmp/cache/assets/development/sprockets/371bf96e99717688ed7313a0c53f4212 +0 -0
  162. data/test/dummy/tmp/cache/assets/development/sprockets/383ef9be6bc79cc5951399b3c3b46535 +0 -0
  163. data/test/dummy/tmp/cache/assets/development/sprockets/388376eb1d0b8a9ed9e4318ac247d7d4 +0 -0
  164. data/test/dummy/tmp/cache/assets/development/sprockets/3b6ff5c4b970461fc3a4be5ac12d0b3d +0 -0
  165. data/test/dummy/tmp/cache/assets/development/sprockets/3b7a25bfd614ce14333ba7ed03937a55 +0 -0
  166. data/test/dummy/tmp/cache/assets/development/sprockets/3bc494fe8e4dc2c2b9781f7a811ee00f +0 -0
  167. data/test/dummy/tmp/cache/assets/development/sprockets/3c72c3313cf35da0f213400d6fec1541 +0 -0
  168. data/test/dummy/tmp/cache/assets/development/sprockets/4050a4e5062ab95c9f32e9b6940821ea +0 -0
  169. data/test/dummy/tmp/cache/assets/development/sprockets/42fb7cef7cfa43cdd2b5b64b5c20b889 +0 -0
  170. data/test/dummy/tmp/cache/assets/development/sprockets/43e5750d09bdf0e36a57cbf32acb099e +0 -0
  171. data/test/dummy/tmp/cache/assets/development/sprockets/451a8fbb54a23dd3a5547a57f94df7e4 +0 -0
  172. data/test/dummy/tmp/cache/assets/development/sprockets/46b842cdfa1e5070d20314cbb332d59c +0 -0
  173. data/test/dummy/tmp/cache/assets/development/sprockets/4b7ddd43b4359749c832f5b4b1bc7cf8 +0 -0
  174. data/test/dummy/tmp/cache/assets/development/sprockets/4bb54293ea4b6f08466a2557de5a2a11 +0 -0
  175. data/test/dummy/tmp/cache/assets/development/sprockets/4be5d609ea74e7b38e483d579dedd8d7 +0 -0
  176. data/test/dummy/tmp/cache/assets/development/sprockets/4e025241a8d1e12557a4e2b5d3063d7e +0 -0
  177. data/test/dummy/tmp/cache/assets/development/sprockets/4f41a3468d8fd87e462d54dfca140680 +0 -0
  178. data/test/dummy/tmp/cache/assets/development/sprockets/501519c399e259df3bc49ca644322893 +0 -0
  179. data/test/dummy/tmp/cache/assets/development/sprockets/508872d04f76d8be3efaf0f82d8fb0b7 +0 -0
  180. data/test/dummy/tmp/cache/assets/development/sprockets/50a7922f106c3194f16edef90cb660c9 +0 -0
  181. data/test/dummy/tmp/cache/assets/development/sprockets/510da110ae528e2d22533be39ff696c5 +0 -0
  182. data/test/dummy/tmp/cache/assets/development/sprockets/5379d1871319f899b50fdcbe28e5d018 +0 -0
  183. data/test/dummy/tmp/cache/assets/development/sprockets/53b12122a17e514d3adca5cdb3048285 +0 -0
  184. data/test/dummy/tmp/cache/assets/development/sprockets/54cdc3dee8cad9f90c8539aa32d1e4f2 +0 -0
  185. data/test/dummy/tmp/cache/assets/development/sprockets/57551ea75456b809d737e62170040caf +0 -0
  186. data/test/dummy/tmp/cache/assets/development/sprockets/59de21355aa0fd0d461308733da4cd3b +0 -0
  187. data/test/dummy/tmp/cache/assets/development/sprockets/5c0bcb86ff5cdf72a4a29841434f88dc +0 -0
  188. data/test/dummy/tmp/cache/assets/development/sprockets/5dae5894de8c275b1254aaf067195921 +0 -0
  189. data/test/dummy/tmp/cache/assets/development/sprockets/5dbfb71999c0a18ab8d2cc39b1f71284 +0 -0
  190. data/test/dummy/tmp/cache/assets/development/sprockets/5f1a0d05e77ca8b9a1fc2a47e17a8174 +0 -0
  191. data/test/dummy/tmp/cache/assets/development/sprockets/6fc757c2c8329244ca95d6909865bbc2 +0 -0
  192. data/test/dummy/tmp/cache/assets/development/sprockets/707ab35c5250018368f3a9a4df4da449 +0 -0
  193. data/test/dummy/tmp/cache/assets/development/sprockets/73cfbca7c1b756843290765631f4a785 +0 -0
  194. data/test/dummy/tmp/cache/assets/development/sprockets/75cd2272140031326dca921e73a933f9 +0 -0
  195. data/test/dummy/tmp/cache/assets/development/sprockets/76163a3e3c27325fb0ff4ed780b94fe8 +0 -0
  196. data/test/dummy/tmp/cache/assets/development/sprockets/79b7d24c49b1d2ea59077302f8b3a18b +0 -0
  197. data/test/dummy/tmp/cache/assets/development/sprockets/7a59f22f8067363e3395bc15aac4dbed +0 -0
  198. data/test/dummy/tmp/cache/assets/development/sprockets/7ab1c3857e4e7ea9e7174d62ca10a6e1 +0 -0
  199. data/test/dummy/tmp/cache/assets/development/sprockets/7cab2c7321621193037a91e348cf67e5 +0 -0
  200. data/test/dummy/tmp/cache/assets/development/sprockets/7d5608952c1d5efe059cc860bce1cb35 +0 -0
  201. data/test/dummy/tmp/cache/assets/development/sprockets/7f9592572b36c306feb917ee3a49639b +0 -0
  202. data/test/dummy/tmp/cache/assets/development/sprockets/80b31d46ab66182422df94cd9712b458 +0 -0
  203. data/test/dummy/tmp/cache/assets/development/sprockets/85d1b2c4394d4404cc670da0e251388e +0 -0
  204. data/test/dummy/tmp/cache/assets/development/sprockets/867ee69677cde04a7642174f04a7e034 +0 -0
  205. data/test/dummy/tmp/cache/assets/development/sprockets/87b209c0c9da28094a8d5581a21262c6 +0 -0
  206. data/test/dummy/tmp/cache/assets/development/sprockets/87d3d8a0e65a412e3adc455bc4bf0419 +0 -0
  207. data/test/dummy/tmp/cache/assets/development/sprockets/89b4e37ba66874fc6765f790cdc1aae3 +0 -0
  208. data/test/dummy/tmp/cache/assets/development/sprockets/8a389a2323475a7053fc419c4103814f +0 -0
  209. data/test/dummy/tmp/cache/assets/development/sprockets/8b806a0ae20adb61aba4b0e7c24c86d1 +0 -0
  210. data/test/dummy/tmp/cache/assets/development/sprockets/8db1cfb543feba7dbf3b1ad076395681 +0 -0
  211. data/test/dummy/tmp/cache/assets/development/sprockets/981923089e4607a8bd7da1384b2712c3 +0 -0
  212. data/test/dummy/tmp/cache/assets/development/sprockets/9caabbfb306d294b869c0e5ef25ed6ad +0 -0
  213. data/test/dummy/tmp/cache/assets/development/sprockets/9d39f38ba45b0ec46cbbcf748d899172 +0 -0
  214. data/test/dummy/tmp/cache/assets/development/sprockets/9ea84759be7ee597c81ea6b306983dd1 +0 -0
  215. data/test/dummy/tmp/cache/assets/development/sprockets/9ff88e23342f6d1e65e3617390550c98 +0 -0
  216. data/test/dummy/tmp/cache/assets/development/sprockets/a17257ce0ba57baae100bbc3ceac5dfb +0 -0
  217. data/test/dummy/tmp/cache/assets/development/sprockets/a1dea2a2c7707388ed8ec70150c99735 +0 -0
  218. data/test/dummy/tmp/cache/assets/development/sprockets/a6ca6a84d389f9b81abc9b055b5cab79 +0 -0
  219. data/test/dummy/tmp/cache/assets/development/sprockets/a79f32a7b19efba7b69efebbd1ac6425 +0 -0
  220. data/test/dummy/tmp/cache/assets/development/sprockets/ab7a93c91e93451ef33741a925d02d08 +0 -0
  221. data/test/dummy/tmp/cache/assets/development/sprockets/ac893c1e97c4fca776b0fa76929a71ae +0 -0
  222. data/test/dummy/tmp/cache/assets/development/sprockets/ace517e7e927c1ece160bd3024b1dc5c +0 -0
  223. data/test/dummy/tmp/cache/assets/development/sprockets/b3a5c599251f7cf1f3e73174b9646986 +0 -0
  224. data/test/dummy/tmp/cache/assets/development/sprockets/b3e1ccf83e92a0235ec89cbc837925a6 +0 -0
  225. data/test/dummy/tmp/cache/assets/development/sprockets/b5f53e94b387e8f6c7cb791a9866d867 +0 -0
  226. data/test/dummy/tmp/cache/assets/development/sprockets/b644258792ab07998445a3a13c5346b0 +0 -0
  227. data/test/dummy/tmp/cache/assets/development/sprockets/b710fe7f6a4f661200aa48112996586a +0 -0
  228. data/test/dummy/tmp/cache/assets/development/sprockets/b7ee934a0cfd8a77057075829e86b862 +0 -0
  229. data/test/dummy/tmp/cache/assets/development/sprockets/b9d280b317ea809834bd8cff91690afa +0 -0
  230. data/test/dummy/tmp/cache/assets/development/sprockets/bc384ffca623dd84dcc27426de8f538e +0 -0
  231. data/test/dummy/tmp/cache/assets/development/sprockets/bd25bf8269cb7fbc481ea93290e14619 +0 -0
  232. data/test/dummy/tmp/cache/assets/development/sprockets/bf4c6581e02e0626699a85cbf74479bd +0 -0
  233. data/test/dummy/tmp/cache/assets/development/sprockets/c164999110702fe49d2672bf6c3f48c0 +0 -0
  234. data/test/dummy/tmp/cache/assets/development/sprockets/c27a3e2bd1de5e03ad3501c17fd7ecf1 +0 -0
  235. data/test/dummy/tmp/cache/assets/development/sprockets/c2d8c0856a19fd683b5f4d7704382aa2 +0 -0
  236. data/test/dummy/tmp/cache/assets/development/sprockets/c31256c47d596d7ab5bec954b96e6e19 +0 -0
  237. data/test/dummy/tmp/cache/assets/development/sprockets/c3a2774d3288ca20b74f9baf56656109 +0 -0
  238. data/test/dummy/tmp/cache/assets/development/sprockets/c3ec335a67fd016e5f01916073c165b4 +0 -0
  239. data/test/dummy/tmp/cache/assets/development/sprockets/c57031591f8741c53c5c7431633997c4 +0 -0
  240. data/test/dummy/tmp/cache/assets/development/sprockets/c816c88aed3e2bbd9d5d2ff726b1c7c2 +0 -0
  241. data/test/dummy/tmp/cache/assets/development/sprockets/cebc6db0bbb8120f430da3970b173d2f +0 -0
  242. data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  243. data/test/dummy/tmp/cache/assets/development/sprockets/d039180b508a0299d4ac3f7fbf9662cd +0 -0
  244. data/test/dummy/tmp/cache/assets/development/sprockets/d0771a5d56c6dd57590ad00cd2a287f1 +0 -0
  245. data/test/dummy/tmp/cache/assets/development/sprockets/d15b1d9a1b02f711ec089d10fea24315 +0 -0
  246. data/test/dummy/tmp/cache/assets/development/sprockets/d2038f3ae034aa5d2baa6f1b7359ee02 +0 -0
  247. data/test/dummy/tmp/cache/assets/development/sprockets/d5862a08d88b337e70c13f403c3a0912 +0 -0
  248. data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  249. data/test/dummy/tmp/cache/assets/development/sprockets/d9328ea75ef727a9049f27c87ff53e67 +0 -0
  250. data/test/dummy/tmp/cache/assets/development/sprockets/dc04ff4958b01098f5923487afba1f60 +0 -0
  251. data/test/dummy/tmp/cache/assets/development/sprockets/de549dcf945ab5f71371242966074439 +0 -0
  252. data/test/dummy/tmp/cache/assets/development/sprockets/dfa904f001d086cda03ebfac7fde7550 +0 -0
  253. data/test/dummy/tmp/cache/assets/development/sprockets/e08495f04cd097009667a60ec0bde5cb +0 -0
  254. data/test/dummy/tmp/cache/assets/development/sprockets/e7d4caf1fd93f94e35c0d70b4a16b308 +0 -0
  255. data/test/dummy/tmp/cache/assets/development/sprockets/ec44bf41dda440ffa0a442b36f3f682f +0 -0
  256. data/test/dummy/tmp/cache/assets/development/sprockets/ed95a40034d5142585894fe388b45552 +0 -0
  257. data/test/dummy/tmp/cache/assets/development/sprockets/edf7ee075b440ec3827ac0cdfde324b3 +0 -0
  258. data/test/dummy/tmp/cache/assets/development/sprockets/eee1420e123cd3e2ff3d3bd790d51cdf +0 -0
  259. data/test/dummy/tmp/cache/assets/development/sprockets/f0908aaef2c0165df00f19c66fa8ab50 +0 -0
  260. data/test/dummy/tmp/cache/assets/development/sprockets/f4ea112f7250e02269448d556e4379d8 +0 -0
  261. data/test/dummy/tmp/cache/assets/development/sprockets/f56253b5f374fff1a33fbbc9881c9124 +0 -0
  262. data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  263. data/test/dummy/tmp/cache/assets/development/sprockets/f87083f064a636b4fda659b15d9adede +0 -0
  264. data/test/dummy/tmp/cache/assets/development/sprockets/fbfb440251f374b2d535d7aadda4019f +0 -0
  265. data/test/dummy/tmp/cache/assets/development/sprockets/fcac08ebaff1499d385ec5712e1a218c +0 -0
  266. data/test/dummy/tmp/cache/assets/test/sass/365dfe376d173aa71edc333cb62d683802ac4ebb/application.css.scssc +0 -0
  267. data/test/dummy/tmp/cache/assets/test/sass/365dfe376d173aa71edc333cb62d683802ac4ebb/custom.scssc +0 -0
  268. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_alerts.scssc +0 -0
  269. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_badges.scssc +0 -0
  270. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_breadcrumbs.scssc +0 -0
  271. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_button-groups.scssc +0 -0
  272. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_buttons.scssc +0 -0
  273. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_carousel.scssc +0 -0
  274. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_close.scssc +0 -0
  275. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_code.scssc +0 -0
  276. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_component-animations.scssc +0 -0
  277. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_dropdowns.scssc +0 -0
  278. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_forms.scssc +0 -0
  279. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_glyphicons.scssc +0 -0
  280. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_grid.scssc +0 -0
  281. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_input-groups.scssc +0 -0
  282. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_jumbotron.scssc +0 -0
  283. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_labels.scssc +0 -0
  284. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_list-group.scssc +0 -0
  285. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_media.scssc +0 -0
  286. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_mixins.scssc +0 -0
  287. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_modals.scssc +0 -0
  288. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_navbar.scssc +0 -0
  289. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_navs.scssc +0 -0
  290. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_normalize.scssc +0 -0
  291. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_pager.scssc +0 -0
  292. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_pagination.scssc +0 -0
  293. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_panels.scssc +0 -0
  294. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_popovers.scssc +0 -0
  295. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_print.scssc +0 -0
  296. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_progress-bars.scssc +0 -0
  297. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_responsive-embed.scssc +0 -0
  298. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_responsive-utilities.scssc +0 -0
  299. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_scaffolding.scssc +0 -0
  300. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_tables.scssc +0 -0
  301. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_thumbnails.scssc +0 -0
  302. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_tooltip.scssc +0 -0
  303. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_type.scssc +0 -0
  304. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_utilities.scssc +0 -0
  305. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_variables.scssc +0 -0
  306. data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_wells.scssc +0 -0
  307. data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_alerts.scssc +0 -0
  308. data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_background-variant.scssc +0 -0
  309. data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_border-radius.scssc +0 -0
  310. data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_buttons.scssc +0 -0
  311. data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_center-block.scssc +0 -0
  312. data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_clearfix.scssc +0 -0
  313. data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_forms.scssc +0 -0
  314. data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_gradients.scssc +0 -0
  315. data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_grid-framework.scssc +0 -0
  316. data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_grid.scssc +0 -0
  317. data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_hide-text.scssc +0 -0
  318. data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_image.scssc +0 -0
  319. data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_labels.scssc +0 -0
  320. data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_list-group.scssc +0 -0
  321. data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_nav-divider.scssc +0 -0
  322. data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_nav-vertical-align.scssc +0 -0
  323. data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_opacity.scssc +0 -0
  324. data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_pagination.scssc +0 -0
  325. data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_panels.scssc +0 -0
  326. data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_progress-bar.scssc +0 -0
  327. data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_reset-filter.scssc +0 -0
  328. data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_resize.scssc +0 -0
  329. data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_responsive-visibility.scssc +0 -0
  330. data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_size.scssc +0 -0
  331. data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_tab-focus.scssc +0 -0
  332. data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_table-row.scssc +0 -0
  333. data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_text-emphasis.scssc +0 -0
  334. data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_text-overflow.scssc +0 -0
  335. data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_vendor-prefixes.scssc +0 -0
  336. data/test/dummy/tmp/cache/assets/test/sass/f4632670e0618904d6cdfaa05215347dcf2fcba2/_bootstrap-sprockets.scssc +0 -0
  337. data/test/dummy/tmp/cache/assets/test/sass/f4632670e0618904d6cdfaa05215347dcf2fcba2/_bootstrap.scssc +0 -0
  338. data/test/dummy/tmp/cache/assets/test/sprockets/0b3bc7828f4a9fe07afe8f989474a5ec +0 -0
  339. data/test/dummy/tmp/cache/assets/test/sprockets/0d950fff852c8cc3816ea54eeb5a1b2a +0 -0
  340. data/test/dummy/tmp/cache/assets/test/sprockets/0ec737c7804927b87a778f1b8fd956a4 +0 -0
  341. data/test/dummy/tmp/cache/assets/test/sprockets/13d2a7feb53fc9b264c8f81d399ea58e +0 -0
  342. data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  343. data/test/dummy/tmp/cache/assets/test/sprockets/146dac6de2f351f56eeb983e57282736 +0 -0
  344. data/test/dummy/tmp/cache/assets/test/sprockets/1bda73f85ee45cdc3618869a34b453c4 +0 -0
  345. data/test/dummy/tmp/cache/assets/test/sprockets/23cf365c3ba440f92a8f991efbcfa6a8 +0 -0
  346. data/test/dummy/tmp/cache/assets/test/sprockets/2580ae76161b34d0884be8806320ca61 +0 -0
  347. data/test/dummy/tmp/cache/assets/test/sprockets/26131461f8b9e7a897ba3f7269ddb6b4 +0 -0
  348. data/test/dummy/tmp/cache/assets/test/sprockets/2770d71695c9a6f0c2bc160ad37db730 +0 -0
  349. data/test/dummy/tmp/cache/assets/test/sprockets/29ca5e3268edb180578eaa08ddd9915c +0 -0
  350. data/test/dummy/tmp/cache/assets/test/sprockets/2d665f9a2281c838d3d69f2b737902d3 +0 -0
  351. data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  352. data/test/dummy/tmp/cache/assets/test/sprockets/325360df43b85fca59b40b8762508af4 +0 -0
  353. data/test/dummy/tmp/cache/assets/test/sprockets/32f6bca48ffb4460dfd8f12fc1ef85a1 +0 -0
  354. data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  355. data/test/dummy/tmp/cache/assets/test/sprockets/371bf96e99717688ed7313a0c53f4212 +0 -0
  356. data/test/dummy/tmp/cache/assets/test/sprockets/3b6ff5c4b970461fc3a4be5ac12d0b3d +0 -0
  357. data/test/dummy/tmp/cache/assets/test/sprockets/3b7a25bfd614ce14333ba7ed03937a55 +0 -0
  358. data/test/dummy/tmp/cache/assets/test/sprockets/3bc494fe8e4dc2c2b9781f7a811ee00f +0 -0
  359. data/test/dummy/tmp/cache/assets/test/sprockets/4050a4e5062ab95c9f32e9b6940821ea +0 -0
  360. data/test/dummy/tmp/cache/assets/test/sprockets/42fb7cef7cfa43cdd2b5b64b5c20b889 +0 -0
  361. data/test/dummy/tmp/cache/assets/test/sprockets/451a8fbb54a23dd3a5547a57f94df7e4 +0 -0
  362. data/test/dummy/tmp/cache/assets/test/sprockets/46b842cdfa1e5070d20314cbb332d59c +0 -0
  363. data/test/dummy/tmp/cache/assets/test/sprockets/4be5d609ea74e7b38e483d579dedd8d7 +0 -0
  364. data/test/dummy/tmp/cache/assets/test/sprockets/57551ea75456b809d737e62170040caf +0 -0
  365. data/test/dummy/tmp/cache/assets/test/sprockets/5c0bcb86ff5cdf72a4a29841434f88dc +0 -0
  366. data/test/dummy/tmp/cache/assets/test/sprockets/5dae5894de8c275b1254aaf067195921 +0 -0
  367. data/test/dummy/tmp/cache/assets/test/sprockets/5f1a0d05e77ca8b9a1fc2a47e17a8174 +0 -0
  368. data/test/dummy/tmp/cache/assets/test/sprockets/6fc757c2c8329244ca95d6909865bbc2 +0 -0
  369. data/test/dummy/tmp/cache/assets/test/sprockets/707ab35c5250018368f3a9a4df4da449 +0 -0
  370. data/test/dummy/tmp/cache/assets/test/sprockets/73cfbca7c1b756843290765631f4a785 +0 -0
  371. data/test/dummy/tmp/cache/assets/test/sprockets/76163a3e3c27325fb0ff4ed780b94fe8 +0 -0
  372. data/test/dummy/tmp/cache/assets/test/sprockets/867ee69677cde04a7642174f04a7e034 +0 -0
  373. data/test/dummy/tmp/cache/assets/test/sprockets/87b209c0c9da28094a8d5581a21262c6 +0 -0
  374. data/test/dummy/tmp/cache/assets/test/sprockets/87d3d8a0e65a412e3adc455bc4bf0419 +0 -0
  375. data/test/dummy/tmp/cache/assets/test/sprockets/89b4e37ba66874fc6765f790cdc1aae3 +0 -0
  376. data/test/dummy/tmp/cache/assets/test/sprockets/8a389a2323475a7053fc419c4103814f +0 -0
  377. data/test/dummy/tmp/cache/assets/test/sprockets/8db1cfb543feba7dbf3b1ad076395681 +0 -0
  378. data/test/dummy/tmp/cache/assets/test/sprockets/9caabbfb306d294b869c0e5ef25ed6ad +0 -0
  379. data/test/dummy/tmp/cache/assets/test/sprockets/9d39f38ba45b0ec46cbbcf748d899172 +0 -0
  380. data/test/dummy/tmp/cache/assets/test/sprockets/9ff88e23342f6d1e65e3617390550c98 +0 -0
  381. data/test/dummy/tmp/cache/assets/test/sprockets/a17257ce0ba57baae100bbc3ceac5dfb +0 -0
  382. data/test/dummy/tmp/cache/assets/test/sprockets/a1dea2a2c7707388ed8ec70150c99735 +0 -0
  383. data/test/dummy/tmp/cache/assets/test/sprockets/a6ca6a84d389f9b81abc9b055b5cab79 +0 -0
  384. data/test/dummy/tmp/cache/assets/test/sprockets/ac893c1e97c4fca776b0fa76929a71ae +0 -0
  385. data/test/dummy/tmp/cache/assets/test/sprockets/b3a5c599251f7cf1f3e73174b9646986 +0 -0
  386. data/test/dummy/tmp/cache/assets/test/sprockets/b3e1ccf83e92a0235ec89cbc837925a6 +0 -0
  387. data/test/dummy/tmp/cache/assets/test/sprockets/b5f53e94b387e8f6c7cb791a9866d867 +0 -0
  388. data/test/dummy/tmp/cache/assets/test/sprockets/b644258792ab07998445a3a13c5346b0 +0 -0
  389. data/test/dummy/tmp/cache/assets/test/sprockets/b7ee934a0cfd8a77057075829e86b862 +0 -0
  390. data/test/dummy/tmp/cache/assets/test/sprockets/b9d280b317ea809834bd8cff91690afa +0 -0
  391. data/test/dummy/tmp/cache/assets/test/sprockets/bc384ffca623dd84dcc27426de8f538e +0 -0
  392. data/test/dummy/tmp/cache/assets/test/sprockets/bd25bf8269cb7fbc481ea93290e14619 +0 -0
  393. data/test/dummy/tmp/cache/assets/test/sprockets/c164999110702fe49d2672bf6c3f48c0 +0 -0
  394. data/test/dummy/tmp/cache/assets/test/sprockets/c27a3e2bd1de5e03ad3501c17fd7ecf1 +0 -0
  395. data/test/dummy/tmp/cache/assets/test/sprockets/c2d8c0856a19fd683b5f4d7704382aa2 +0 -0
  396. data/test/dummy/tmp/cache/assets/test/sprockets/c3ec335a67fd016e5f01916073c165b4 +0 -0
  397. data/test/dummy/tmp/cache/assets/test/sprockets/c57031591f8741c53c5c7431633997c4 +0 -0
  398. data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  399. data/test/dummy/tmp/cache/assets/test/sprockets/d039180b508a0299d4ac3f7fbf9662cd +0 -0
  400. data/test/dummy/tmp/cache/assets/test/sprockets/d2038f3ae034aa5d2baa6f1b7359ee02 +0 -0
  401. data/test/dummy/tmp/cache/assets/test/sprockets/d5862a08d88b337e70c13f403c3a0912 +0 -0
  402. data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  403. data/test/dummy/tmp/cache/assets/test/sprockets/dfa904f001d086cda03ebfac7fde7550 +0 -0
  404. data/test/dummy/tmp/cache/assets/test/sprockets/e7d4caf1fd93f94e35c0d70b4a16b308 +0 -0
  405. data/test/dummy/tmp/cache/assets/test/sprockets/edf7ee075b440ec3827ac0cdfde324b3 +0 -0
  406. data/test/dummy/tmp/cache/assets/test/sprockets/eee1420e123cd3e2ff3d3bd790d51cdf +0 -0
  407. data/test/dummy/tmp/cache/assets/test/sprockets/f0908aaef2c0165df00f19c66fa8ab50 +0 -0
  408. data/test/dummy/tmp/cache/assets/test/sprockets/f56253b5f374fff1a33fbbc9881c9124 +0 -0
  409. data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  410. data/test/dummy/tmp/cache/assets/test/sprockets/fcac08ebaff1499d385ec5712e1a218c +0 -0
  411. data/test/dummy/tmp/pids/server.pid +0 -1
@@ -0,0 +1,8 @@
1
+ class Bigmouth::Admin::ApplicationController < ApplicationController
2
+ def action_requires_login
3
+ if current_user.blank?
4
+ redirect_back_or_to Bigmouth.config.sign_in_uri[:uri],
5
+ alert: "You are not permitted to do this action."
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,60 @@
1
+ require_dependency "bigmouth/application_controller"
2
+
3
+ module Bigmouth
4
+ class Admin::ArticlesController < Admin::ApplicationController
5
+
6
+ layout "bigmouth/admin/dashboard"
7
+
8
+ before_action :set_article, only: %i(show edit update destroy)
9
+ before_action :action_requires_login
10
+
11
+ def index
12
+ @articles = Article.all
13
+ end
14
+
15
+ def show
16
+ end
17
+
18
+ def new
19
+ @article = Article.new
20
+ end
21
+
22
+ def edit
23
+ end
24
+
25
+ def create
26
+ @article = Article.new(article_params)
27
+ @article.user_id = current_user.id
28
+
29
+ if @article.save
30
+ redirect_to admin_article_path(@article), notice: 'Article was successfully created.'
31
+ else
32
+ render :new
33
+ end
34
+ end
35
+
36
+ def update
37
+ if @article.update(article_params)
38
+ redirect_to admin_article_path(@article), notice: 'Article was successfully updated.'
39
+ else
40
+ render :edit
41
+ end
42
+ end
43
+
44
+ def destroy
45
+ @article.destroy
46
+ redirect_to admin_articles_url, notice: 'Article was successfully destroyed.'
47
+ end
48
+
49
+ private
50
+ # Only allow a trusted parameter "white list" through.
51
+ def article_params
52
+ params.require(:article).permit(:title, :text)
53
+ end
54
+
55
+ # Use callbacks to share common setup or constraints between actions.
56
+ def set_article
57
+ @article = Article.find(params[:id])
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,60 @@
1
+ require_dependency "bigmouth/application_controller"
2
+
3
+ module Bigmouth
4
+ class Admin::ImagesController < Admin::ApplicationController
5
+
6
+ layout "bigmouth/admin/dashboard"
7
+
8
+ before_action :set_image, only: %i(show edit update destroy)
9
+ before_action :action_requires_login
10
+
11
+ def index
12
+ @images = Bigmouth::Image.all
13
+ end
14
+
15
+ def show
16
+ end
17
+
18
+ def new
19
+ @image = Bigmouth::Image.new
20
+ end
21
+
22
+ def edit
23
+ end
24
+
25
+ def create
26
+ @image = Bigmouth::Image.new(image_params)
27
+ @image.user_id = current_user.id
28
+
29
+ if @image.save
30
+ redirect_to admin_image_path(@image), notice: 'Image was successfully created.'
31
+ else
32
+ render :new
33
+ end
34
+ end
35
+
36
+ def update
37
+ if @image.update(image_params)
38
+ redirect_to admin_image_path(@image), notice: 'Image was successfully updated.'
39
+ else
40
+ render :edit
41
+ end
42
+ end
43
+
44
+ def destroy
45
+ @image.destroy
46
+ redirect_to admin_images_url, notice: 'Image was successfully destroyed.'
47
+ end
48
+
49
+ private
50
+ # Only allow a trusted parameter "white list" through.
51
+ def image_params
52
+ params.require(:image).permit(:label, :image_file)
53
+ end
54
+
55
+ # Use callbacks to share common setup or constraints between actions.
56
+ def set_image
57
+ @image = Bigmouth::Image.find(params[:id])
58
+ end
59
+ end
60
+ end
@@ -3,74 +3,26 @@ require_dependency "bigmouth/application_controller"
3
3
  module Bigmouth
4
4
  class ArticlesController < ApplicationController
5
5
 
6
- layout Bigmouth.layout
6
+ layout "bigmouth/default"
7
7
 
8
- before_action :set_article, only: %i(show edit update destroy)
9
- before_action :action_requires_login, except: %i(index show)
8
+ before_action :set_article, only: %i(show)
10
9
 
11
10
  # GET /articles
12
11
  def index
13
12
  @articles = Article.all
13
+ render :index, layout: Bigmouth.config.layout
14
14
  end
15
15
 
16
16
  # GET /articles/1
17
17
  def show
18
- end
19
-
20
- # GET /articles/new
21
- def new
22
- @article = Article.new
23
- render :new, layout: "bigmouth/default"
24
- end
25
-
26
- # GET /articles/1/edit
27
- def edit
28
- render :edit, layout: "bigmouth/default"
29
- end
30
-
31
- # POST /articles
32
- def create
33
- @article = Article.new(article_params)
34
- @article.author_id = current_user.id
35
-
36
- if @article.save
37
- redirect_to @article, notice: 'Article was successfully created.'
38
- else
39
- render :new
40
- end
41
- end
42
-
43
- # PATCH/PUT /articles/1
44
- def update
45
- if @article.update(article_params)
46
- redirect_to @article, notice: 'Article was successfully updated.'
47
- else
48
- render :edit
49
- end
50
- end
51
-
52
- # DELETE /articles/1
53
- def destroy
54
- @article.destroy
55
- redirect_to articles_url, notice: 'Article was successfully destroyed.'
18
+ render :show, layout: Bigmouth.config.layout
56
19
  end
57
20
 
58
21
  private
22
+
59
23
  # Use callbacks to share common setup or constraints between actions.
60
24
  def set_article
61
25
  @article = Article.find(params[:id])
62
26
  end
63
-
64
- # Only allow a trusted parameter "white list" through.
65
- def article_params
66
- # params.require(:article).permit(:title, :text, :author_name)
67
- params.require(:article).permit(:title, :text)
68
- end
69
-
70
- def action_requires_login
71
- if current_user.blank?
72
- redirect_back_or_to root_path, alert: "You are not permitted to do this action."
73
- end
74
- end
75
27
  end
76
28
  end
@@ -0,0 +1,35 @@
1
+ module Bigmouth
2
+ module Admin::ApplicationHelper
3
+
4
+ include Bigmouth::ApplicationHelper
5
+
6
+ def uploaded_by(image)
7
+ if image.user.present?
8
+ image.user[Bigmouth.config.username_key.to_sym] || "Guest"
9
+ else
10
+ "Guest"
11
+ end
12
+ end
13
+
14
+ def sidebar_activate(sidebar_link_url)
15
+ current_url = request.headers["SCRIPT_NAME"] + request.headers["PATH_INFO"]
16
+ current_url.match(sidebar_link_url) ? ' class="active"' : ""
17
+ end
18
+
19
+ def sidebar_list_items
20
+ items = [
21
+ { text: "Articles", path: admin_articles_path },
22
+ { text: "Images", path: admin_images_path }
23
+ ]
24
+
25
+ html = ""
26
+ items.each do |item|
27
+ text = item[:text]
28
+ path = item[:path]
29
+ html += %(<li#{sidebar_activate(path)}><a href="#{path}">#{text}</a></li>)
30
+ end
31
+
32
+ html.html_safe
33
+ end
34
+ end
35
+ end
@@ -1,4 +1,28 @@
1
1
  module Bigmouth
2
2
  module ApplicationHelper
3
+ # Returns Bootstrap friendly type
4
+ def alert_class_for(flash_type)
5
+ {
6
+ success: 'alert-success',
7
+ error: 'alert-danger',
8
+ danger: 'alert-danger',
9
+ alert: 'alert-warning',
10
+ notice: 'alert-info'
11
+ }[flash_type.to_sym] || flash_type.to_s
12
+ end
13
+
14
+ def author(article)
15
+ if article.user.present?
16
+ article.user[Bigmouth.config.username_key.to_sym] || "Guest"
17
+ else
18
+ "Guest"
19
+ end
20
+ end
21
+
22
+ def summary(article)
23
+ truncate_html sanitize(article.text),
24
+ length: Bigmouth.config.summary_length,
25
+ omission: "..."
26
+ end
3
27
  end
4
28
  end
@@ -1,5 +1,8 @@
1
1
  module Bigmouth
2
2
  class Article < ActiveRecord::Base
3
- belongs_to :author, class_name: Bigmouth.author_class.to_s
3
+ belongs_to :user, class_name: Bigmouth.config.user_class
4
+ validates :title, presence: true
5
+
6
+ default_scope { order created_at: :desc }
4
7
  end
5
8
  end
@@ -0,0 +1,9 @@
1
+ module Bigmouth
2
+ class Image < ActiveRecord::Base
3
+ belongs_to :user, class_name: Bigmouth.config.user_class
4
+
5
+ attachment :image_file, type: :image
6
+
7
+ default_scope { order created_at: :desc }
8
+ end
9
+ end
@@ -1,4 +1,4 @@
1
- = form_for(@article) do |f|
1
+ = form_for [:admin, @article] do |f|
2
2
  - if @article.errors.any?
3
3
  #error_explanation
4
4
  h2
@@ -0,0 +1,6 @@
1
+ h1
2
+ | Editing Article
3
+ = render 'form'
4
+ = link_to 'Preview', admin_article_path(@article), target: ["_blank"]
5
+ | |
6
+ = link_to 'Back', admin_articles_path
@@ -0,0 +1,29 @@
1
+ - provide(:title, "Articles (admin)")
2
+ h1
3
+ | Articles
4
+ .table-responsive
5
+ table.table.table-striped
6
+ thead
7
+ tr
8
+ th Title
9
+ th Created at
10
+ th colspan="3"
11
+ tbody
12
+ - @articles.each do |article|
13
+ tr
14
+ td
15
+ = link_to article.title, article
16
+ td
17
+ = article.created_at.strftime(Bigmouth.config.datetime_format)
18
+ td
19
+ = link_to "Show", article
20
+ td
21
+ = link_to "Preview", admin_article_path(article), target: ["_blank"]
22
+ td
23
+ = link_to "Edit", edit_admin_article_path(article), class: "btn btn-primary btn-xs"
24
+ td
25
+ = link_to "Destroy", admin_article_path(article), method: :delete, data: { confirm: "Are you absolutely sure you want to delete <strong>#{article.title}</strong>?",
26
+ "verify" => article.title,
27
+ "verify-text" => " This action cannot be undone. Please type in the name of the article to confirm.",
28
+ }, title: "Verify the deletion", class: "btn btn-danger btn-xs"
29
+ = link_to 'New Article', new_admin_article_path, class: "btn btn-default"
@@ -0,0 +1,4 @@
1
+ h1
2
+ | New Article
3
+ = render 'form'
4
+ = link_to 'Back', admin_articles_path
@@ -0,0 +1,17 @@
1
+ p
2
+ = link_to '<< Back', admin_articles_path, class: "btn btn-default"
3
+ p
4
+ = link_to 'Edit', edit_admin_article_path(@article), class: "btn btn-primary"
5
+ h1.article-title
6
+ = @article.title
7
+ p.lead.article-author
8
+ | by
9
+ = author @article
10
+ hr
11
+ p.posted-date
12
+ span.glyphicon.glyphicon-time
13
+ | Posted on
14
+ = @article.created_at.strftime(Bigmouth.config.datetime_format)
15
+ hr
16
+ .article-body
17
+ = sanitize @article.text
@@ -0,0 +1,18 @@
1
+ = form_for [:admin, @image] do |f|
2
+ - if @image.errors.any?
3
+ #error_explanation
4
+ h2
5
+ = pluralize(@image.errors.count, "error")
6
+ | prohibited this image from being saved:
7
+ ul
8
+ - @image.errors.full_messages.each do |message|
9
+ li
10
+ = message
11
+ .form-group
12
+ = f.label :label
13
+ = f.text_field :label, class: "form-control"
14
+ .form-group
15
+ = f.label :image_file
16
+ = f.attachment_field :image_file
17
+ .actions
18
+ = f.submit "Submit", class: ["btn", "btn-default"]
@@ -0,0 +1,6 @@
1
+ h1
2
+ | Editing Image
3
+ = render 'form'
4
+ = link_to 'Preview', admin_image_path(@image), target: ["_blank"]
5
+ | |
6
+ = link_to 'Back', admin_images_path
@@ -0,0 +1,28 @@
1
+ - provide(:title, "Images (admin)")
2
+ .table-responsive
3
+ table.table.table-striped
4
+ thead
5
+ tr
6
+ th Image
7
+ th Label
8
+ th Created at
9
+ th colspan="2"
10
+ tbody
11
+ - @images.each do |image|
12
+ tr
13
+ td
14
+ = image_tag attachment_url(image, :image_file, :fill, 50, 50)
15
+ td
16
+ = link_to image.label, admin_image_path(image)
17
+ td
18
+ = image.created_at.strftime(Bigmouth.config.datetime_format)
19
+ td
20
+ = link_to "Show", admin_image_path(image)
21
+ td
22
+ = link_to "Edit", edit_admin_image_path(image), class: "btn btn-primary btn-xs"
23
+ td
24
+ = link_to "Destroy", admin_image_path(image), method: :delete, data: { confirm: "Are you absolutely sure you want to delete <strong>#{image.label}</strong>?",
25
+ "verify" => image.label,
26
+ "verify-text" => " This action cannot be undone. Please type in the name of the image to confirm.",
27
+ }, label: "Verify the deletion", class: "btn btn-danger btn-xs"
28
+ = link_to 'New Image', new_admin_image_path, class: "btn btn-default"
@@ -0,0 +1,4 @@
1
+ h1
2
+ | New Image
3
+ = render 'form'
4
+ = link_to 'Back', admin_images_path
@@ -0,0 +1,17 @@
1
+ h1.image-label
2
+ = @image.label
3
+ p.lead.image-uploaded-by
4
+ | by
5
+ = uploaded_by @image
6
+ hr
7
+ h3
8
+ | Image URL
9
+ p
10
+ = attachment_url(@image, :image_file, filename: @image.label)
11
+ p
12
+ // = image_tag attachment_url(@image, :image_file, :fill, 600, 600)
13
+ = image_tag attachment_url(@image, :image_file)
14
+ hr
15
+ = link_to 'Edit', edit_admin_image_path(@image)
16
+ | |
17
+ = link_to 'Back', admin_images_path