blocky 0.0.11 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (416) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -41
  3. data/app/helpers/blocky_helper.rb +31 -13
  4. data/app/models/blocky/content_block.rb +15 -19
  5. data/db/migrate/20140326210255_create_blocky_content_blocks.rb +2 -3
  6. data/lib/blocky.rb +2 -6
  7. data/lib/blocky/admin/content_block.rb +50 -0
  8. data/lib/blocky/engine.rb +9 -9
  9. data/lib/blocky/version.rb +1 -1
  10. data/lib/generators/blocky/install_generator.rb +5 -29
  11. metadata +6 -977
  12. data/app/assets/javascripts/blocky/application.js +0 -21
  13. data/app/assets/javascripts/blocky/flash_messages.js +0 -20
  14. data/app/assets/stylesheets/blocky/_imports.scss +0 -3
  15. data/app/assets/stylesheets/blocky/_variables.scss +0 -37
  16. data/app/assets/stylesheets/blocky/all.scss +0 -20
  17. data/app/assets/stylesheets/blocky/application.css.scss +0 -3
  18. data/app/assets/stylesheets/blocky/application/content_blocks/edit.scss +0 -13
  19. data/app/assets/stylesheets/blocky/application/content_blocks/index.scss +0 -81
  20. data/app/assets/stylesheets/blocky/application/layout.scss +0 -30
  21. data/app/assets/stylesheets/blocky/shared/buttons.scss +0 -119
  22. data/app/assets/stylesheets/blocky/shared/flash_messages.scss +0 -28
  23. data/app/assets/stylesheets/blocky/shared/typography/body.scss +0 -91
  24. data/app/assets/stylesheets/blocky/shared/typography/forms.scss +0 -81
  25. data/app/assets/stylesheets/blocky/shared/typography/headings.scss +0 -38
  26. data/app/assets/stylesheets/blocky/shared/typography/lists.scss +0 -22
  27. data/app/controllers/blocky/application_controller.rb +0 -7
  28. data/app/controllers/blocky/content_blocks_controller.rb +0 -64
  29. data/app/controllers/blocky/images_controller.rb +0 -43
  30. data/app/controllers/concerns/blocky/auth.rb +0 -53
  31. data/app/helpers/blocky/application_helper.rb +0 -26
  32. data/app/models/blocky/ability.rb +0 -11
  33. data/app/views/blocky/content_blocks/_content_block.html.erb +0 -1
  34. data/app/views/blocky/content_blocks/edit.html.erb +0 -62
  35. data/app/views/blocky/content_blocks/index.html.erb +0 -81
  36. data/app/views/blocky/content_blocks/index.json.jbuilder +0 -10
  37. data/app/views/blocky/content_blocks/show.json.jbuilder +0 -10
  38. data/app/views/layouts/blocky/_flash_messages.html.erb +0 -13
  39. data/app/views/layouts/blocky/application.html.erb +0 -20
  40. data/config/jshint.json +0 -28
  41. data/config/routes.rb +0 -5
  42. data/db/migrate/20140520212037_add_page_path_to_content_blocks.rb +0 -7
  43. data/spec/dummy/Procfile +0 -1
  44. data/spec/dummy/README.rdoc +0 -28
  45. data/spec/dummy/Rakefile +0 -6
  46. data/spec/dummy/app/assets/javascripts/application.js +0 -13
  47. data/spec/dummy/app/assets/stylesheets/application.css +0 -13
  48. data/spec/dummy/app/controllers/application_controller.rb +0 -5
  49. data/spec/dummy/app/controllers/static_pages_controller.rb +0 -7
  50. data/spec/dummy/app/helpers/application_helper.rb +0 -3
  51. data/spec/dummy/app/models/blocky/ability.rb +0 -9
  52. data/spec/dummy/app/views/layouts/application.html.erb +0 -25
  53. data/spec/dummy/app/views/static_pages/contact.html.erb +0 -8
  54. data/spec/dummy/app/views/static_pages/home.html.erb +0 -7
  55. data/spec/dummy/bin/bundle +0 -3
  56. data/spec/dummy/bin/rails +0 -4
  57. data/spec/dummy/bin/rake +0 -4
  58. data/spec/dummy/config.ru +0 -4
  59. data/spec/dummy/config/application.rb +0 -23
  60. data/spec/dummy/config/boot.rb +0 -5
  61. data/spec/dummy/config/database.yml +0 -25
  62. data/spec/dummy/config/environment.rb +0 -5
  63. data/spec/dummy/config/environments/development.rb +0 -29
  64. data/spec/dummy/config/environments/production.rb +0 -80
  65. data/spec/dummy/config/environments/test.rb +0 -36
  66. data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  67. data/spec/dummy/config/initializers/blocky.rb +0 -4
  68. data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -4
  69. data/spec/dummy/config/initializers/inflections.rb +0 -16
  70. data/spec/dummy/config/initializers/mime_types.rb +0 -5
  71. data/spec/dummy/config/initializers/secret_token.rb +0 -12
  72. data/spec/dummy/config/initializers/session_store.rb +0 -3
  73. data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
  74. data/spec/dummy/config/locales/en.yml +0 -23
  75. data/spec/dummy/config/routes.rb +0 -5
  76. data/spec/dummy/db/development.sqlite3 +0 -0
  77. data/spec/dummy/db/migrate/20140326211453_create_blocky_content_blocks.blocky.rb +0 -13
  78. data/spec/dummy/db/migrate/20140521143840_add_page_path_to_content_blocks.blocky.rb +0 -8
  79. data/spec/dummy/db/schema.rb +0 -24
  80. data/spec/dummy/db/test.sqlite3 +0 -0
  81. data/spec/dummy/log/development.log +0 -16366
  82. data/spec/dummy/log/test.log +0 -151
  83. data/spec/dummy/public/404.html +0 -58
  84. data/spec/dummy/public/422.html +0 -58
  85. data/spec/dummy/public/500.html +0 -57
  86. data/spec/dummy/public/favicon.ico +0 -0
  87. data/spec/dummy/tmp/cache/AE1/4D0/blocky%2Fcontent_blocks%2Fnew +0 -0
  88. data/spec/dummy/tmp/cache/E76/DE0/blocky%2Fcontent_blocks%2F1-20140326211612204255000 +0 -1
  89. data/spec/dummy/tmp/cache/E79/1C0/blocky%2Fcontent_blocks%2F4-20140520200831236730000 +0 -6
  90. data/spec/dummy/tmp/cache/E79/630/blocky%2Fcontent_blocks%2F5-20140326220740803013000 +0 -0
  91. data/spec/dummy/tmp/cache/E7D/2C0/blocky%2Fcontent_blocks%2F2-20140326211803501817000 +0 -1
  92. data/spec/dummy/tmp/cache/E7F/480/blocky%2Fcontent_blocks%2F2-20140326211735204743000 +0 -0
  93. data/spec/dummy/tmp/cache/E82/5D0/blocky%2Fcontent_blocks%2F2-20140522172212942644000 +0 -3
  94. data/spec/dummy/tmp/cache/E83/720/blocky%2Fcontent_blocks%2F3-20140326212218805733000 +0 -0
  95. data/spec/dummy/tmp/cache/E85/4F0/blocky%2Fcontent_blocks%2F1-20140326211503578725000 +0 -0
  96. data/spec/dummy/tmp/cache/E86/7B0/blocky%2Fcontent_blocks%2F4-20140522172300720879000 +0 -6
  97. data/spec/dummy/tmp/cache/E88/650/blocky%2Fcontent_blocks%2F1-20140522172212927549000 +0 -3
  98. data/spec/dummy/tmp/cache/E8A/C50/blocky%2Fcontent_blocks%2F6-20140520152442627674000 +0 -0
  99. data/spec/dummy/tmp/cache/E8C/390/blocky%2Fcontent_blocks%2F9-20140521143916645081000 +0 -3
  100. data/spec/dummy/tmp/cache/E8F/4B0/blocky%2Fcontent_blocks%2F8-20140521143847577033000 +0 -3
  101. data/spec/dummy/tmp/cache/E8F/B50/blocky%2Fcontent_blocks%2F3-20140522172212955589000 +0 -3
  102. data/spec/dummy/tmp/cache/E8F/DF0/blocky%2Fcontent_blocks%2F4-20140522172414829485000 +0 -4
  103. data/spec/dummy/tmp/cache/E8F/EE0/blocky%2Fcontent_blocks%2F4-20140326214706659274000 +0 -0
  104. data/spec/dummy/tmp/cache/E95/020/blocky%2Fcontent_blocks%2F4-20140520170832796695000 +0 -2
  105. data/spec/dummy/tmp/cache/E9C/710/blocky%2Fcontent_blocks%2F7-20140521143847555969000 +0 -3
  106. data/spec/dummy/tmp/cache/EB0/BC0/blocky%2Fcontent_blocks%2F10-20140521145206891062000 +0 -6
  107. data/spec/dummy/tmp/cache/EB7/EC0/blocky%2Fcontent_blocks%2F11-20140521145206908717000 +0 -3
  108. data/spec/dummy/tmp/cache/EBC/5C0/blocky%2Fcontent_blocks%2F13-20140521145258981073000 +0 -3
  109. data/spec/dummy/tmp/cache/EC4/780/blocky%2Fcontent_blocks%2F12-20140521145258965683000 +0 -3
  110. data/spec/dummy/tmp/cache/assets/development/sass/1330522281c54fc4f0f88c06856f0cc8052c25e8/buttons.scssc +0 -0
  111. data/spec/dummy/tmp/cache/assets/development/sass/1330522281c54fc4f0f88c06856f0cc8052c25e8/flash_messages.scssc +0 -0
  112. data/spec/dummy/tmp/cache/assets/development/sass/16328cd177fa77f37d597cddc166b9d61ed7bdc6/_compact.scssc +0 -0
  113. data/spec/dummy/tmp/cache/assets/development/sass/16328cd177fa77f37d597cddc166b9d61ed7bdc6/_flex-grid.scssc +0 -0
  114. data/spec/dummy/tmp/cache/assets/development/sass/16328cd177fa77f37d597cddc166b9d61ed7bdc6/_grid-width.scssc +0 -0
  115. data/spec/dummy/tmp/cache/assets/development/sass/16328cd177fa77f37d597cddc166b9d61ed7bdc6/_linear-gradient.scssc +0 -0
  116. data/spec/dummy/tmp/cache/assets/development/sass/16328cd177fa77f37d597cddc166b9d61ed7bdc6/_modular-scale.scssc +0 -0
  117. data/spec/dummy/tmp/cache/assets/development/sass/16328cd177fa77f37d597cddc166b9d61ed7bdc6/_px-to-em.scssc +0 -0
  118. data/spec/dummy/tmp/cache/assets/development/sass/16328cd177fa77f37d597cddc166b9d61ed7bdc6/_radial-gradient.scssc +0 -0
  119. data/spec/dummy/tmp/cache/assets/development/sass/16328cd177fa77f37d597cddc166b9d61ed7bdc6/_tint-shade.scssc +0 -0
  120. data/spec/dummy/tmp/cache/assets/development/sass/16328cd177fa77f37d597cddc166b9d61ed7bdc6/_transition-property-name.scssc +0 -0
  121. data/spec/dummy/tmp/cache/assets/development/sass/2ed2f1a12f96a5966a3f2f4a226be3068f8e609b/_bordered-pulled.scssc +0 -0
  122. data/spec/dummy/tmp/cache/assets/development/sass/2ed2f1a12f96a5966a3f2f4a226be3068f8e609b/_core.scssc +0 -0
  123. data/spec/dummy/tmp/cache/assets/development/sass/2ed2f1a12f96a5966a3f2f4a226be3068f8e609b/_fixed-width.scssc +0 -0
  124. data/spec/dummy/tmp/cache/assets/development/sass/2ed2f1a12f96a5966a3f2f4a226be3068f8e609b/_icons.scssc +0 -0
  125. data/spec/dummy/tmp/cache/assets/development/sass/2ed2f1a12f96a5966a3f2f4a226be3068f8e609b/_larger.scssc +0 -0
  126. data/spec/dummy/tmp/cache/assets/development/sass/2ed2f1a12f96a5966a3f2f4a226be3068f8e609b/_list.scssc +0 -0
  127. data/spec/dummy/tmp/cache/assets/development/sass/2ed2f1a12f96a5966a3f2f4a226be3068f8e609b/_mixins.scssc +0 -0
  128. data/spec/dummy/tmp/cache/assets/development/sass/2ed2f1a12f96a5966a3f2f4a226be3068f8e609b/_path.scssc +0 -0
  129. data/spec/dummy/tmp/cache/assets/development/sass/2ed2f1a12f96a5966a3f2f4a226be3068f8e609b/_rotated-flipped.scssc +0 -0
  130. data/spec/dummy/tmp/cache/assets/development/sass/2ed2f1a12f96a5966a3f2f4a226be3068f8e609b/_spinning.scssc +0 -0
  131. data/spec/dummy/tmp/cache/assets/development/sass/2ed2f1a12f96a5966a3f2f4a226be3068f8e609b/_stacked.scssc +0 -0
  132. data/spec/dummy/tmp/cache/assets/development/sass/2ed2f1a12f96a5966a3f2f4a226be3068f8e609b/_variables.scssc +0 -0
  133. data/spec/dummy/tmp/cache/assets/development/sass/3fb34f29991e8a63348b29fade50f1de29147c8f/_fill-parent.scssc +0 -0
  134. data/spec/dummy/tmp/cache/assets/development/sass/3fb34f29991e8a63348b29fade50f1de29147c8f/_grid.scssc +0 -0
  135. data/spec/dummy/tmp/cache/assets/development/sass/3fb34f29991e8a63348b29fade50f1de29147c8f/_media.scssc +0 -0
  136. data/spec/dummy/tmp/cache/assets/development/sass/3fb34f29991e8a63348b29fade50f1de29147c8f/_omega.scssc +0 -0
  137. data/spec/dummy/tmp/cache/assets/development/sass/3fb34f29991e8a63348b29fade50f1de29147c8f/_outer-container.scssc +0 -0
  138. data/spec/dummy/tmp/cache/assets/development/sass/3fb34f29991e8a63348b29fade50f1de29147c8f/_pad.scssc +0 -0
  139. data/spec/dummy/tmp/cache/assets/development/sass/3fb34f29991e8a63348b29fade50f1de29147c8f/_private.scssc +0 -0
  140. data/spec/dummy/tmp/cache/assets/development/sass/3fb34f29991e8a63348b29fade50f1de29147c8f/_reset.scssc +0 -0
  141. data/spec/dummy/tmp/cache/assets/development/sass/3fb34f29991e8a63348b29fade50f1de29147c8f/_row.scssc +0 -0
  142. data/spec/dummy/tmp/cache/assets/development/sass/3fb34f29991e8a63348b29fade50f1de29147c8f/_shift.scssc +0 -0
  143. data/spec/dummy/tmp/cache/assets/development/sass/3fb34f29991e8a63348b29fade50f1de29147c8f/_span-columns.scssc +0 -0
  144. data/spec/dummy/tmp/cache/assets/development/sass/3fb34f29991e8a63348b29fade50f1de29147c8f/_to-deprecate.scssc +0 -0
  145. data/spec/dummy/tmp/cache/assets/development/sass/3fb34f29991e8a63348b29fade50f1de29147c8f/_visual-grid.scssc +0 -0
  146. data/spec/dummy/tmp/cache/assets/development/sass/45a8d9925ba36450f7e3862c914588ae8720003e/_imports.scssc +0 -0
  147. data/spec/dummy/tmp/cache/assets/development/sass/45a8d9925ba36450f7e3862c914588ae8720003e/_variables.scssc +0 -0
  148. data/spec/dummy/tmp/cache/assets/development/sass/45a8d9925ba36450f7e3862c914588ae8720003e/application.css.scssc +0 -0
  149. data/spec/dummy/tmp/cache/assets/development/sass/4808b00b5a9150b9a854e6877435916328f1da81/_deprecated-webkit-gradient.scssc +0 -0
  150. data/spec/dummy/tmp/cache/assets/development/sass/4808b00b5a9150b9a854e6877435916328f1da81/_gradient-positions-parser.scssc +0 -0
  151. data/spec/dummy/tmp/cache/assets/development/sass/4808b00b5a9150b9a854e6877435916328f1da81/_linear-positions-parser.scssc +0 -0
  152. data/spec/dummy/tmp/cache/assets/development/sass/4808b00b5a9150b9a854e6877435916328f1da81/_radial-arg-parser.scssc +0 -0
  153. data/spec/dummy/tmp/cache/assets/development/sass/4808b00b5a9150b9a854e6877435916328f1da81/_radial-positions-parser.scssc +0 -0
  154. data/spec/dummy/tmp/cache/assets/development/sass/4808b00b5a9150b9a854e6877435916328f1da81/_render-gradients.scssc +0 -0
  155. data/spec/dummy/tmp/cache/assets/development/sass/4808b00b5a9150b9a854e6877435916328f1da81/_shape-size-stripper.scssc +0 -0
  156. data/spec/dummy/tmp/cache/assets/development/sass/5e68b12f5742e819b59fae21d1dedfbc3da30721/_animation.scssc +0 -0
  157. data/spec/dummy/tmp/cache/assets/development/sass/5e68b12f5742e819b59fae21d1dedfbc3da30721/_appearance.scssc +0 -0
  158. data/spec/dummy/tmp/cache/assets/development/sass/5e68b12f5742e819b59fae21d1dedfbc3da30721/_backface-visibility.scssc +0 -0
  159. data/spec/dummy/tmp/cache/assets/development/sass/5e68b12f5742e819b59fae21d1dedfbc3da30721/_background-image.scssc +0 -0
  160. data/spec/dummy/tmp/cache/assets/development/sass/5e68b12f5742e819b59fae21d1dedfbc3da30721/_background.scssc +0 -0
  161. data/spec/dummy/tmp/cache/assets/development/sass/5e68b12f5742e819b59fae21d1dedfbc3da30721/_border-image.scssc +0 -0
  162. data/spec/dummy/tmp/cache/assets/development/sass/5e68b12f5742e819b59fae21d1dedfbc3da30721/_border-radius.scssc +0 -0
  163. data/spec/dummy/tmp/cache/assets/development/sass/5e68b12f5742e819b59fae21d1dedfbc3da30721/_box-sizing.scssc +0 -0
  164. data/spec/dummy/tmp/cache/assets/development/sass/5e68b12f5742e819b59fae21d1dedfbc3da30721/_columns.scssc +0 -0
  165. data/spec/dummy/tmp/cache/assets/development/sass/5e68b12f5742e819b59fae21d1dedfbc3da30721/_flex-box.scssc +0 -0
  166. data/spec/dummy/tmp/cache/assets/development/sass/5e68b12f5742e819b59fae21d1dedfbc3da30721/_font-face.scssc +0 -0
  167. data/spec/dummy/tmp/cache/assets/development/sass/5e68b12f5742e819b59fae21d1dedfbc3da30721/_hidpi-media-query.scssc +0 -0
  168. data/spec/dummy/tmp/cache/assets/development/sass/5e68b12f5742e819b59fae21d1dedfbc3da30721/_image-rendering.scssc +0 -0
  169. data/spec/dummy/tmp/cache/assets/development/sass/5e68b12f5742e819b59fae21d1dedfbc3da30721/_inline-block.scssc +0 -0
  170. data/spec/dummy/tmp/cache/assets/development/sass/5e68b12f5742e819b59fae21d1dedfbc3da30721/_keyframes.scssc +0 -0
  171. data/spec/dummy/tmp/cache/assets/development/sass/5e68b12f5742e819b59fae21d1dedfbc3da30721/_linear-gradient.scssc +0 -0
  172. data/spec/dummy/tmp/cache/assets/development/sass/5e68b12f5742e819b59fae21d1dedfbc3da30721/_perspective.scssc +0 -0
  173. data/spec/dummy/tmp/cache/assets/development/sass/5e68b12f5742e819b59fae21d1dedfbc3da30721/_placeholder.scssc +0 -0
  174. data/spec/dummy/tmp/cache/assets/development/sass/5e68b12f5742e819b59fae21d1dedfbc3da30721/_radial-gradient.scssc +0 -0
  175. data/spec/dummy/tmp/cache/assets/development/sass/5e68b12f5742e819b59fae21d1dedfbc3da30721/_transform.scssc +0 -0
  176. data/spec/dummy/tmp/cache/assets/development/sass/5e68b12f5742e819b59fae21d1dedfbc3da30721/_transition.scssc +0 -0
  177. data/spec/dummy/tmp/cache/assets/development/sass/5e68b12f5742e819b59fae21d1dedfbc3da30721/_user-select.scssc +0 -0
  178. data/spec/dummy/tmp/cache/assets/development/sass/7c52080b507114ff73ac654c0177e1dca603143b/body.scssc +0 -0
  179. data/spec/dummy/tmp/cache/assets/development/sass/7c52080b507114ff73ac654c0177e1dca603143b/forms.scssc +0 -0
  180. data/spec/dummy/tmp/cache/assets/development/sass/7c52080b507114ff73ac654c0177e1dca603143b/headings.scssc +0 -0
  181. data/spec/dummy/tmp/cache/assets/development/sass/7c52080b507114ff73ac654c0177e1dca603143b/lists.scssc +0 -0
  182. data/spec/dummy/tmp/cache/assets/development/sass/86088d5ecf0a5701fd22ac3b30255eb2bb94f550/_bourbon-deprecated-upcoming.scssc +0 -0
  183. data/spec/dummy/tmp/cache/assets/development/sass/9de1036a47599e1de75fdb2094e4960ffb18ffcf/_grid.scssc +0 -0
  184. data/spec/dummy/tmp/cache/assets/development/sass/9de1036a47599e1de75fdb2094e4960ffb18ffcf/_visual-grid.scssc +0 -0
  185. data/spec/dummy/tmp/cache/assets/development/sass/9e0f22094073a2727149869ee451bf5155b6b1de/_bourbon.scssc +0 -0
  186. data/spec/dummy/tmp/cache/assets/development/sass/9e0f22094073a2727149869ee451bf5155b6b1de/_neat.scssc +0 -0
  187. data/spec/dummy/tmp/cache/assets/development/sass/9e0f22094073a2727149869ee451bf5155b6b1de/font-awesome.scssc +0 -0
  188. data/spec/dummy/tmp/cache/assets/development/sass/ab9fa2e8e2c4d0592ca80a0885630a538ee36082/_neat-helpers.scssc +0 -0
  189. data/spec/dummy/tmp/cache/assets/development/sass/ccd8e9094d6c3af8a9493bb7fee8eae1bf9b4c52/_new-breakpoint.scssc +0 -0
  190. data/spec/dummy/tmp/cache/assets/development/sass/ccd8e9094d6c3af8a9493bb7fee8eae1bf9b4c52/_private.scssc +0 -0
  191. data/spec/dummy/tmp/cache/assets/development/sass/e32eee285e5a7bcd847a61263245c70a38794724/edit.scssc +0 -0
  192. data/spec/dummy/tmp/cache/assets/development/sass/e32eee285e5a7bcd847a61263245c70a38794724/index.scssc +0 -0
  193. data/spec/dummy/tmp/cache/assets/development/sass/e792c58dcbc932d7b0bbb62be67c59da9796d04b/_button.scssc +0 -0
  194. data/spec/dummy/tmp/cache/assets/development/sass/e792c58dcbc932d7b0bbb62be67c59da9796d04b/_clearfix.scssc +0 -0
  195. data/spec/dummy/tmp/cache/assets/development/sass/e792c58dcbc932d7b0bbb62be67c59da9796d04b/_font-family.scssc +0 -0
  196. data/spec/dummy/tmp/cache/assets/development/sass/e792c58dcbc932d7b0bbb62be67c59da9796d04b/_hide-text.scssc +0 -0
  197. data/spec/dummy/tmp/cache/assets/development/sass/e792c58dcbc932d7b0bbb62be67c59da9796d04b/_html5-input-types.scssc +0 -0
  198. data/spec/dummy/tmp/cache/assets/development/sass/e792c58dcbc932d7b0bbb62be67c59da9796d04b/_position.scssc +0 -0
  199. data/spec/dummy/tmp/cache/assets/development/sass/e792c58dcbc932d7b0bbb62be67c59da9796d04b/_prefixer.scssc +0 -0
  200. data/spec/dummy/tmp/cache/assets/development/sass/e792c58dcbc932d7b0bbb62be67c59da9796d04b/_retina-image.scssc +0 -0
  201. data/spec/dummy/tmp/cache/assets/development/sass/e792c58dcbc932d7b0bbb62be67c59da9796d04b/_size.scssc +0 -0
  202. data/spec/dummy/tmp/cache/assets/development/sass/e792c58dcbc932d7b0bbb62be67c59da9796d04b/_timing-functions.scssc +0 -0
  203. data/spec/dummy/tmp/cache/assets/development/sass/e792c58dcbc932d7b0bbb62be67c59da9796d04b/_triangle.scssc +0 -0
  204. data/spec/dummy/tmp/cache/assets/development/sass/f6aab6f5c59ff0b3c4ff7e11237d10cd45b5353c/layout.scssc +0 -0
  205. data/spec/dummy/tmp/cache/assets/development/sprockets/00b315c99e05fd17eb6ee63c05874610 +0 -0
  206. data/spec/dummy/tmp/cache/assets/development/sprockets/0427945c7b4a3a10bc1b628680c1ac11 +0 -0
  207. data/spec/dummy/tmp/cache/assets/development/sprockets/07a7381ab720b1fcdf48d09e6f4aca3f +0 -0
  208. data/spec/dummy/tmp/cache/assets/development/sprockets/0cba4b819c78286147e22cce1cff06de +0 -0
  209. data/spec/dummy/tmp/cache/assets/development/sprockets/0d045cc286244754010ae01a766487a9 +0 -0
  210. data/spec/dummy/tmp/cache/assets/development/sprockets/0f027312d7555aefd043bc94e678e35d +0 -0
  211. data/spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  212. data/spec/dummy/tmp/cache/assets/development/sprockets/1590fdab706270c5d350582acc774711 +0 -0
  213. data/spec/dummy/tmp/cache/assets/development/sprockets/17d324480cb2a2a47bedc3ef4d022b6d +0 -0
  214. data/spec/dummy/tmp/cache/assets/development/sprockets/21eee9c5050e081a5a1cf91cea7d268f +0 -0
  215. data/spec/dummy/tmp/cache/assets/development/sprockets/2510376ff2d7b20d23bc38a46fcfa055 +0 -0
  216. data/spec/dummy/tmp/cache/assets/development/sprockets/26dfb7b51a72e95c414c783f2ba69222 +0 -0
  217. data/spec/dummy/tmp/cache/assets/development/sprockets/2a12abb42fb17b6520d9d9ad589a20af +0 -0
  218. data/spec/dummy/tmp/cache/assets/development/sprockets/2a87faf509efd55dfdbd16b0fa8239b4 +0 -0
  219. data/spec/dummy/tmp/cache/assets/development/sprockets/2c9e3b499f8c7da0a3d3de2510f78846 +0 -0
  220. data/spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  221. data/spec/dummy/tmp/cache/assets/development/sprockets/2fd51b2bfa391389108d8de69733d84b +0 -0
  222. data/spec/dummy/tmp/cache/assets/development/sprockets/3075115024bd10f7adb951b3baec184c +0 -0
  223. data/spec/dummy/tmp/cache/assets/development/sprockets/309a524a7494382fd3346a82b810c20b +0 -0
  224. data/spec/dummy/tmp/cache/assets/development/sprockets/346918a665641c5e32c0bb368f032b07 +0 -0
  225. data/spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  226. data/spec/dummy/tmp/cache/assets/development/sprockets/359a931a346dd73a40ea88a3e145e4b3 +0 -0
  227. data/spec/dummy/tmp/cache/assets/development/sprockets/3a8c2654e77e18a35f25642e5e3bcb88 +0 -0
  228. data/spec/dummy/tmp/cache/assets/development/sprockets/3a8ecba67750b8ad7df3ba9362857756 +0 -0
  229. data/spec/dummy/tmp/cache/assets/development/sprockets/3aa302111c6bea14859db6fea34cdb94 +0 -0
  230. data/spec/dummy/tmp/cache/assets/development/sprockets/3b05198beb41d8fc2b4a207128140f89 +0 -0
  231. data/spec/dummy/tmp/cache/assets/development/sprockets/3cc020c5e2e8ab2e4acd1b5a9fdc16ab +0 -0
  232. data/spec/dummy/tmp/cache/assets/development/sprockets/3d89aed04c6cdc16f097a2aabfa2b867 +0 -0
  233. data/spec/dummy/tmp/cache/assets/development/sprockets/420c2d9425469c305387fa81d5ef1b30 +0 -0
  234. data/spec/dummy/tmp/cache/assets/development/sprockets/43272d99260411613e550de399f08be8 +0 -0
  235. data/spec/dummy/tmp/cache/assets/development/sprockets/4443d626de6926b2b0e97011a9d3283b +0 -0
  236. data/spec/dummy/tmp/cache/assets/development/sprockets/44ee5490907c6fdf6530eeea203a3908 +0 -0
  237. data/spec/dummy/tmp/cache/assets/development/sprockets/4c016d0efbbfe9fa01bc4d8d800f8548 +0 -0
  238. data/spec/dummy/tmp/cache/assets/development/sprockets/4f41b46926dc79b6d378c60e5e12b1ee +0 -0
  239. data/spec/dummy/tmp/cache/assets/development/sprockets/4ffbbdb75e91e3ef76f0356bd8c9fdb9 +0 -0
  240. data/spec/dummy/tmp/cache/assets/development/sprockets/530a0c5b0d469facb66e00ca952d9069 +0 -0
  241. data/spec/dummy/tmp/cache/assets/development/sprockets/562b764135bc28106a524123de319fac +0 -0
  242. data/spec/dummy/tmp/cache/assets/development/sprockets/59cc9befd7bad256dc0139dc7c32cf34 +0 -0
  243. data/spec/dummy/tmp/cache/assets/development/sprockets/5d455edb538f158d67b710d4c8fb9674 +0 -0
  244. data/spec/dummy/tmp/cache/assets/development/sprockets/5ea0f006a9c4f5744aa307242e43d11a +0 -0
  245. data/spec/dummy/tmp/cache/assets/development/sprockets/5f1b58c3d1b05b422b95fad6ff1236ad +0 -0
  246. data/spec/dummy/tmp/cache/assets/development/sprockets/5f9c0944ded3ac10412c77764c4f83a2 +0 -0
  247. data/spec/dummy/tmp/cache/assets/development/sprockets/613e23bb1e9f2c8dbd8166803b85c57c +0 -0
  248. data/spec/dummy/tmp/cache/assets/development/sprockets/61ac9eefcbf748e59c79b6e84835babd +0 -0
  249. data/spec/dummy/tmp/cache/assets/development/sprockets/64b57c4794688cd1dd9723c89f564ad7 +0 -0
  250. data/spec/dummy/tmp/cache/assets/development/sprockets/65e56fb427fa0e3e148515a9ea998426 +0 -0
  251. data/spec/dummy/tmp/cache/assets/development/sprockets/7344269d882a3e910b3806b007dd9d71 +0 -0
  252. data/spec/dummy/tmp/cache/assets/development/sprockets/74104d7c75a8966708478065693bcca8 +0 -0
  253. data/spec/dummy/tmp/cache/assets/development/sprockets/7415c9f0125deaebddd1c12b2c26367d +0 -0
  254. data/spec/dummy/tmp/cache/assets/development/sprockets/7703867f0dd6cf86b9eb01bce45d1f02 +0 -0
  255. data/spec/dummy/tmp/cache/assets/development/sprockets/7871e5235770cb3607023e3646149255 +0 -0
  256. data/spec/dummy/tmp/cache/assets/development/sprockets/7ce4b6005f5a1535c297ebe897723551 +0 -0
  257. data/spec/dummy/tmp/cache/assets/development/sprockets/8035b3603b1f603513ce0491ef5ee98c +0 -0
  258. data/spec/dummy/tmp/cache/assets/development/sprockets/87b0d0df42a2bb5d08a5417fd0274a6e +0 -0
  259. data/spec/dummy/tmp/cache/assets/development/sprockets/88b8972e085bc284af152cf7b158334c +0 -0
  260. data/spec/dummy/tmp/cache/assets/development/sprockets/8b94d81de8f6f238037cab9a4a1a0c30 +0 -0
  261. data/spec/dummy/tmp/cache/assets/development/sprockets/8bd0f5b2d316327657d6709cf130a550 +0 -0
  262. data/spec/dummy/tmp/cache/assets/development/sprockets/8efc9dce2839c7874c8c1bb8a662acc9 +0 -0
  263. data/spec/dummy/tmp/cache/assets/development/sprockets/8f4e3d9674b96cae9b98843cd6ff18c8 +0 -0
  264. data/spec/dummy/tmp/cache/assets/development/sprockets/92a576a2bd81929a26b143cc02e430aa +0 -0
  265. data/spec/dummy/tmp/cache/assets/development/sprockets/9e58e917e624e0cd3b2154f01fd24962 +0 -0
  266. data/spec/dummy/tmp/cache/assets/development/sprockets/a0c1f9e3d33f8de75d0a594321456c9b +0 -0
  267. data/spec/dummy/tmp/cache/assets/development/sprockets/a147199745f7229dc608d3cefce5df45 +0 -0
  268. data/spec/dummy/tmp/cache/assets/development/sprockets/a72bca95d5c7b54e61fa4e0ebc869d4e +0 -0
  269. data/spec/dummy/tmp/cache/assets/development/sprockets/abe150382a2bf6466264fe8866f34157 +0 -0
  270. data/spec/dummy/tmp/cache/assets/development/sprockets/afa453539adb4bc1f7d844dcb361460d +0 -0
  271. data/spec/dummy/tmp/cache/assets/development/sprockets/b0352a0c3bd6f28326a7fc34fa51fa16 +0 -0
  272. data/spec/dummy/tmp/cache/assets/development/sprockets/b0f77fd26cd7fd672f25ec90ed445fe9 +0 -0
  273. data/spec/dummy/tmp/cache/assets/development/sprockets/b0f88bcdb6579681288ffc314d36281b +0 -0
  274. data/spec/dummy/tmp/cache/assets/development/sprockets/b304f5f5248fd1b0910adaeaf4430da9 +0 -0
  275. data/spec/dummy/tmp/cache/assets/development/sprockets/b5dd7a2c9cdd592440c578b49edff2cb +0 -0
  276. data/spec/dummy/tmp/cache/assets/development/sprockets/b7f85043b18466180fb325cbc7e709c8 +0 -0
  277. data/spec/dummy/tmp/cache/assets/development/sprockets/b8096cbfaf0aa44715d5411926461117 +0 -0
  278. data/spec/dummy/tmp/cache/assets/development/sprockets/b95fb213c4dd9e7f1fdfe6120e88e2e8 +0 -0
  279. data/spec/dummy/tmp/cache/assets/development/sprockets/be95835376c06f09fdd2a3afc3dd195e +0 -0
  280. data/spec/dummy/tmp/cache/assets/development/sprockets/bfacd7859276780db88488d7d7e41b59 +0 -0
  281. data/spec/dummy/tmp/cache/assets/development/sprockets/c954e3a10a9a27d22bbde51534852ce1 +0 -0
  282. data/spec/dummy/tmp/cache/assets/development/sprockets/cee17b1df9168d8c9075ec7c74d54cb5 +0 -0
  283. data/spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  284. data/spec/dummy/tmp/cache/assets/development/sprockets/d101f82ff4e2f7db4eb46cc760aa1d3f +0 -0
  285. data/spec/dummy/tmp/cache/assets/development/sprockets/d1689f5fa7ff2ae20077f9de7fd130e1 +0 -0
  286. data/spec/dummy/tmp/cache/assets/development/sprockets/d31431b0b9739b7fa0843ccfd02d002b +0 -0
  287. data/spec/dummy/tmp/cache/assets/development/sprockets/d410c298186b4110d38ff3d89b29c925 +0 -0
  288. data/spec/dummy/tmp/cache/assets/development/sprockets/d4b45f77d1eed50fcf90f8c5511b99b6 +0 -0
  289. data/spec/dummy/tmp/cache/assets/development/sprockets/d62a46b4d21da7c9091dcbd8fa01da34 +0 -0
  290. data/spec/dummy/tmp/cache/assets/development/sprockets/d6477bff4412a5abb06c8acf405c8a87 +0 -0
  291. data/spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  292. data/spec/dummy/tmp/cache/assets/development/sprockets/d985df74e53b12bfa3af9ea8608eacb2 +0 -0
  293. data/spec/dummy/tmp/cache/assets/development/sprockets/d9db27d114516b1b698ad3520e97d1f9 +0 -0
  294. data/spec/dummy/tmp/cache/assets/development/sprockets/da4c7a7a685a765695e1d781590e6a5a +0 -0
  295. data/spec/dummy/tmp/cache/assets/development/sprockets/dbe056c885afef869a46852b1faa9e60 +0 -0
  296. data/spec/dummy/tmp/cache/assets/development/sprockets/df0a14f77c1e0b39c4284d6d6fce9c97 +0 -0
  297. data/spec/dummy/tmp/cache/assets/development/sprockets/e01e232c8b2f8d1711bcd44d6e017dab +0 -0
  298. data/spec/dummy/tmp/cache/assets/development/sprockets/e333f0976af05d7bc7eca78d1383c2af +0 -0
  299. data/spec/dummy/tmp/cache/assets/development/sprockets/e95f94b756f854b191f179bd558ce3c6 +0 -0
  300. data/spec/dummy/tmp/cache/assets/development/sprockets/eb20aca7df145f553b39afab67d5c0a0 +0 -0
  301. data/spec/dummy/tmp/cache/assets/development/sprockets/edaff551a27cde6faf69cc45ba5de859 +0 -0
  302. data/spec/dummy/tmp/cache/assets/development/sprockets/ee44b9ce0a9a1e5e56418ab84da62277 +0 -0
  303. data/spec/dummy/tmp/cache/assets/development/sprockets/f345273bfd8088c36038c49a5fae3218 +0 -0
  304. data/spec/dummy/tmp/cache/assets/development/sprockets/f3a1691881f9395089d43324197ff863 +0 -0
  305. data/spec/dummy/tmp/cache/assets/development/sprockets/f4e80d0621ebd9be1b2b595ce543037f +0 -0
  306. data/spec/dummy/tmp/cache/assets/development/sprockets/f521da421cda5fe4162aeec62e594eca +0 -0
  307. data/spec/dummy/tmp/cache/assets/development/sprockets/f6fcfc1f4419ff69a85c86234ba475cf +0 -0
  308. data/spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  309. data/spec/dummy/tmp/cache/assets/development/sprockets/f8c2ccce91ab7c89ad8922be93c6f363 +0 -0
  310. data/spec/dummy/tmp/cache/assets/development/sprockets/fa0df232aba62e841f6077c735cec1aa +0 -0
  311. data/spec/dummy/tmp/cache/assets/development/sprockets/fb892eb8050ec923cc8084138b1e6e28 +0 -0
  312. data/spec/factories/content_block_factory.rb +0 -13
  313. data/spec/models/blocky/content_block_spec.rb +0 -37
  314. data/spec/spec_helper.rb +0 -34
  315. data/vendor/assets/fonts/blocky/FontAwesome.otf +0 -0
  316. data/vendor/assets/fonts/blocky/fontawesome-webfont.eot +0 -0
  317. data/vendor/assets/fonts/blocky/fontawesome-webfont.svg +0 -414
  318. data/vendor/assets/fonts/blocky/fontawesome-webfont.ttf +0 -0
  319. data/vendor/assets/fonts/blocky/fontawesome-webfont.woff +0 -0
  320. data/vendor/assets/javascripts/blocky/bootstrap.js +0 -1951
  321. data/vendor/assets/javascripts/blocky/codemirror/closebrackets.js +0 -84
  322. data/vendor/assets/javascripts/blocky/codemirror/codemirror.js +0 -4442
  323. data/vendor/assets/javascripts/blocky/codemirror/formatting.js +0 -1
  324. data/vendor/assets/javascripts/blocky/codemirror/xml.js +0 -1
  325. data/vendor/assets/javascripts/blocky/jquery.js +0 -10338
  326. data/vendor/assets/javascripts/blocky/jquery_ujs.js +0 -398
  327. data/vendor/assets/javascripts/blocky/summernote.js +0 -3922
  328. data/vendor/assets/stylesheets/blocky/_bourbon.scss +0 -59
  329. data/vendor/assets/stylesheets/blocky/_neat.scss +0 -21
  330. data/vendor/assets/stylesheets/blocky/bootstrap.css +0 -5785
  331. data/vendor/assets/stylesheets/blocky/bootstrap.css.map +0 -1
  332. data/vendor/assets/stylesheets/blocky/bourbon/_bourbon-deprecated-upcoming.scss +0 -13
  333. data/vendor/assets/stylesheets/blocky/bourbon/addons/_button.scss +0 -273
  334. data/vendor/assets/stylesheets/blocky/bourbon/addons/_clearfix.scss +0 -29
  335. data/vendor/assets/stylesheets/blocky/bourbon/addons/_font-family.scss +0 -5
  336. data/vendor/assets/stylesheets/blocky/bourbon/addons/_hide-text.scss +0 -5
  337. data/vendor/assets/stylesheets/blocky/bourbon/addons/_html5-input-types.scss +0 -56
  338. data/vendor/assets/stylesheets/blocky/bourbon/addons/_position.scss +0 -42
  339. data/vendor/assets/stylesheets/blocky/bourbon/addons/_prefixer.scss +0 -49
  340. data/vendor/assets/stylesheets/blocky/bourbon/addons/_retina-image.scss +0 -32
  341. data/vendor/assets/stylesheets/blocky/bourbon/addons/_size.scss +0 -44
  342. data/vendor/assets/stylesheets/blocky/bourbon/addons/_timing-functions.scss +0 -32
  343. data/vendor/assets/stylesheets/blocky/bourbon/addons/_triangle.scss +0 -45
  344. data/vendor/assets/stylesheets/blocky/bourbon/css3/_animation.scss +0 -52
  345. data/vendor/assets/stylesheets/blocky/bourbon/css3/_appearance.scss +0 -3
  346. data/vendor/assets/stylesheets/blocky/bourbon/css3/_backface-visibility.scss +0 -6
  347. data/vendor/assets/stylesheets/blocky/bourbon/css3/_background-image.scss +0 -48
  348. data/vendor/assets/stylesheets/blocky/bourbon/css3/_background.scss +0 -103
  349. data/vendor/assets/stylesheets/blocky/bourbon/css3/_border-image.scss +0 -55
  350. data/vendor/assets/stylesheets/blocky/bourbon/css3/_border-radius.scss +0 -22
  351. data/vendor/assets/stylesheets/blocky/bourbon/css3/_box-sizing.scss +0 -4
  352. data/vendor/assets/stylesheets/blocky/bourbon/css3/_columns.scss +0 -47
  353. data/vendor/assets/stylesheets/blocky/bourbon/css3/_flex-box.scss +0 -52
  354. data/vendor/assets/stylesheets/blocky/bourbon/css3/_font-face.scss +0 -23
  355. data/vendor/assets/stylesheets/blocky/bourbon/css3/_hidpi-media-query.scss +0 -10
  356. data/vendor/assets/stylesheets/blocky/bourbon/css3/_image-rendering.scss +0 -13
  357. data/vendor/assets/stylesheets/blocky/bourbon/css3/_inline-block.scss +0 -8
  358. data/vendor/assets/stylesheets/blocky/bourbon/css3/_keyframes.scss +0 -43
  359. data/vendor/assets/stylesheets/blocky/bourbon/css3/_linear-gradient.scss +0 -41
  360. data/vendor/assets/stylesheets/blocky/bourbon/css3/_perspective.scss +0 -8
  361. data/vendor/assets/stylesheets/blocky/bourbon/css3/_placeholder.scss +0 -29
  362. data/vendor/assets/stylesheets/blocky/bourbon/css3/_radial-gradient.scss +0 -44
  363. data/vendor/assets/stylesheets/blocky/bourbon/css3/_transform.scss +0 -15
  364. data/vendor/assets/stylesheets/blocky/bourbon/css3/_transition.scss +0 -34
  365. data/vendor/assets/stylesheets/blocky/bourbon/css3/_user-select.scss +0 -3
  366. data/vendor/assets/stylesheets/blocky/bourbon/functions/_compact.scss +0 -11
  367. data/vendor/assets/stylesheets/blocky/bourbon/functions/_flex-grid.scss +0 -39
  368. data/vendor/assets/stylesheets/blocky/bourbon/functions/_grid-width.scss +0 -13
  369. data/vendor/assets/stylesheets/blocky/bourbon/functions/_linear-gradient.scss +0 -13
  370. data/vendor/assets/stylesheets/blocky/bourbon/functions/_modular-scale.scss +0 -40
  371. data/vendor/assets/stylesheets/blocky/bourbon/functions/_px-to-em.scss +0 -8
  372. data/vendor/assets/stylesheets/blocky/bourbon/functions/_radial-gradient.scss +0 -23
  373. data/vendor/assets/stylesheets/blocky/bourbon/functions/_tint-shade.scss +0 -9
  374. data/vendor/assets/stylesheets/blocky/bourbon/functions/_transition-property-name.scss +0 -22
  375. data/vendor/assets/stylesheets/blocky/bourbon/helpers/_deprecated-webkit-gradient.scss +0 -39
  376. data/vendor/assets/stylesheets/blocky/bourbon/helpers/_gradient-positions-parser.scss +0 -13
  377. data/vendor/assets/stylesheets/blocky/bourbon/helpers/_linear-positions-parser.scss +0 -61
  378. data/vendor/assets/stylesheets/blocky/bourbon/helpers/_radial-arg-parser.scss +0 -69
  379. data/vendor/assets/stylesheets/blocky/bourbon/helpers/_radial-positions-parser.scss +0 -18
  380. data/vendor/assets/stylesheets/blocky/bourbon/helpers/_render-gradients.scss +0 -26
  381. data/vendor/assets/stylesheets/blocky/bourbon/helpers/_shape-size-stripper.scss +0 -10
  382. data/vendor/assets/stylesheets/blocky/codemirror/codemirror.css +0 -1
  383. data/vendor/assets/stylesheets/blocky/codemirror/monokai.css +0 -1
  384. data/vendor/assets/stylesheets/blocky/font-awesome.scss +0 -17
  385. data/vendor/assets/stylesheets/blocky/font-awesome/_bordered-pulled.scss +0 -16
  386. data/vendor/assets/stylesheets/blocky/font-awesome/_core.scss +0 -12
  387. data/vendor/assets/stylesheets/blocky/font-awesome/_fixed-width.scss +0 -6
  388. data/vendor/assets/stylesheets/blocky/font-awesome/_icons.scss +0 -412
  389. data/vendor/assets/stylesheets/blocky/font-awesome/_larger.scss +0 -13
  390. data/vendor/assets/stylesheets/blocky/font-awesome/_list.scss +0 -19
  391. data/vendor/assets/stylesheets/blocky/font-awesome/_mixins.scss +0 -20
  392. data/vendor/assets/stylesheets/blocky/font-awesome/_path.scss +0 -13
  393. data/vendor/assets/stylesheets/blocky/font-awesome/_rotated-flipped.scss +0 -9
  394. data/vendor/assets/stylesheets/blocky/font-awesome/_spinning.scss +0 -30
  395. data/vendor/assets/stylesheets/blocky/font-awesome/_stacked.scss +0 -20
  396. data/vendor/assets/stylesheets/blocky/font-awesome/_variables.scss +0 -381
  397. data/vendor/assets/stylesheets/blocky/neat/_neat-helpers.scss +0 -7
  398. data/vendor/assets/stylesheets/blocky/neat/functions/_new-breakpoint.scss +0 -16
  399. data/vendor/assets/stylesheets/blocky/neat/functions/_private.scss +0 -125
  400. data/vendor/assets/stylesheets/blocky/neat/grid/_fill-parent.scss +0 -7
  401. data/vendor/assets/stylesheets/blocky/neat/grid/_grid.scss +0 -5
  402. data/vendor/assets/stylesheets/blocky/neat/grid/_media.scss +0 -51
  403. data/vendor/assets/stylesheets/blocky/neat/grid/_omega.scss +0 -79
  404. data/vendor/assets/stylesheets/blocky/neat/grid/_outer-container.scss +0 -8
  405. data/vendor/assets/stylesheets/blocky/neat/grid/_pad.scss +0 -8
  406. data/vendor/assets/stylesheets/blocky/neat/grid/_private.scss +0 -50
  407. data/vendor/assets/stylesheets/blocky/neat/grid/_reset.scss +0 -12
  408. data/vendor/assets/stylesheets/blocky/neat/grid/_row.scss +0 -17
  409. data/vendor/assets/stylesheets/blocky/neat/grid/_shift.scss +0 -16
  410. data/vendor/assets/stylesheets/blocky/neat/grid/_span-columns.scss +0 -45
  411. data/vendor/assets/stylesheets/blocky/neat/grid/_to-deprecate.scss +0 -57
  412. data/vendor/assets/stylesheets/blocky/neat/grid/_visual-grid.scss +0 -41
  413. data/vendor/assets/stylesheets/blocky/neat/settings/_grid.scss +0 -7
  414. data/vendor/assets/stylesheets/blocky/neat/settings/_visual-grid.scss +0 -5
  415. data/vendor/assets/stylesheets/blocky/normalize.css +0 -423
  416. data/vendor/assets/stylesheets/blocky/summernote.css +0 -1
@@ -1,81 +0,0 @@
1
- @import "blocky/imports";
2
-
3
- $form-border-color: $base-border-color;
4
- $form-border-color-hover: darken($base-border-color, 10);
5
- $form-border-color-focus: $base-accent-color;
6
- $form-border-radius: $base-border-radius;
7
- $form-box-shadow: inset 0 1px 3px hsla(0, 0%, 0%, 0.06);
8
- $form-box-shadow-focus: $form-box-shadow, 0 0 5px rgba(darken($form-border-color-focus, 5), 0.7);
9
- $form-font-size: $base-font-size;
10
- $form-font-family: $base-font-family;
11
-
12
- fieldset {
13
- background: lighten($base-border-color, 10);
14
- border: 1px solid $base-border-color;
15
- margin: 0 0 ($base-line-height / 2) 0;
16
- padding: $base-line-height;
17
- }
18
-
19
- input,
20
- label,
21
- select {
22
- font-family: $form-font-family;
23
- font-size: $form-font-size;
24
- }
25
-
26
- label {
27
- cursor: pointer;
28
- font-weight: bold;
29
- margin-bottom: $base-line-height / 4;
30
-
31
- &.required:after {
32
- content: "*";
33
- }
34
-
35
- abbr {
36
- display: none;
37
- }
38
- }
39
-
40
- textarea,
41
- #{$all-text-inputs} {
42
- @include box-sizing(border-box);
43
- @include transition(border-color);
44
- background-color: white;
45
- border-radius: $form-border-radius;
46
- border: 1px solid $form-border-color;
47
- box-shadow: $form-box-shadow;
48
- font-family: $form-font-family;
49
- font-size: $form-font-size;
50
- margin-bottom: $base-line-height / 2;
51
- padding: ($base-line-height / 3) ($base-line-height / 3);
52
- width: 100%;
53
-
54
- &:hover {
55
- border-color: $form-border-color-hover;
56
- }
57
-
58
- &:focus {
59
- border-color: $form-border-color-focus;
60
- box-shadow: $form-box-shadow-focus;
61
- outline: none;
62
- }
63
- }
64
-
65
- input[type="search"] {
66
- @include appearance(none);
67
- }
68
-
69
- input[type="checkbox"], input[type="radio"] {
70
- display: inline;
71
- margin-right: $base-line-height / 4;
72
- }
73
-
74
- input[type="file"] {
75
- width: 100%;
76
- }
77
-
78
- select {
79
- width: auto;
80
- margin-bottom: $base-line-height;
81
- }
@@ -1,38 +0,0 @@
1
- @import "blocky/imports";
2
-
3
- h1, h2, h3, h4, h5, h6 {
4
- font-family: $header-font-family;
5
- line-height: 1.25em;
6
- margin: 0 0 0.5em;
7
- text-rendering: optimizeLegibility; // Fix the character spacing for headings
8
- }
9
-
10
- h1 {
11
- font-size: $base-font-size * 2.25; // 16 * 2.25 = 36px
12
- margin-bottom: 1em;
13
- }
14
-
15
- h2 {
16
- font-size: $base-font-size * 2; // 16 * 2 = 32px
17
- margin-bottom: 0.7em;
18
- }
19
-
20
- h3 {
21
- font-size: $base-font-size * 1.75; // 16 * 1.75 = 28px
22
- margin-bottom: 0.5em;
23
- }
24
-
25
- h4 {
26
- font-size: $base-font-size * 1.5; // 16 * 1.5 = 24px
27
- margin-bottom: 0.25em;
28
- }
29
-
30
- h5 {
31
- font-size: $base-font-size * 1.25; // 16 * 1.25 = 20px
32
- margin-bottom: 0.25em;
33
- }
34
-
35
- h6 {
36
- font-size: $base-font-size;
37
- margin-bottom: 0.25em;
38
- }
@@ -1,22 +0,0 @@
1
- @import "blocky/imports";
2
-
3
- ul, ol {
4
- margin: 0;
5
- padding: 0;
6
- margin-bottom: $base-line-height / 2;
7
- padding-left: $base-line-height;
8
- }
9
-
10
- dl {
11
- line-height: $base-line-height;
12
- margin-bottom: $base-line-height / 2;
13
-
14
- dt {
15
- font-weight: bold;
16
- margin-top: $base-line-height / 2;
17
- }
18
-
19
- dd {
20
- margin: 0;
21
- }
22
- }
@@ -1,7 +0,0 @@
1
- module Blocky
2
- class ApplicationController < ActionController::Base
3
- include Blocky::Auth
4
- helper Blocky::ApplicationHelper
5
- layout "blocky/application"
6
- end
7
- end
@@ -1,64 +0,0 @@
1
- module Blocky
2
- class ContentBlocksController < Blocky::ApplicationController
3
- before_action :authorize_user
4
- before_action :set_content_block, only: [:show, :edit, :update]
5
- layout "blocky/application"
6
- respond_to :html, :json
7
-
8
- def edit
9
- end
10
-
11
- def index
12
- @global_content_blocks = Blocky::ContentBlock.global
13
- @content_blocks = Blocky::ContentBlock.per_page
14
-
15
- respond_with @content_blocks
16
- end
17
-
18
- def show
19
- respond_to do |format|
20
- format.html { redirect_to(action: :edit) }
21
- format.json
22
- end
23
- end
24
-
25
- def update
26
- if @content_block.update(content_block_params)
27
- respond_to do |format|
28
- format.html {
29
- redirect_to(content_blocks_url, notice: "Content block :#{@content_block.name} was updated successfully.")
30
- }
31
- format.json {
32
- render action: :show
33
- }
34
- end
35
- else
36
- respond_to do |format|
37
- format.html {
38
- render action: :edit
39
- }
40
- format.json {
41
- render json: @content_block.errors, status: :unprocessable_entity
42
- }
43
- end
44
- end
45
- end
46
-
47
- private
48
-
49
- def authorize_user
50
- authorize! :manage, Blocky::ContentBlock
51
- end
52
-
53
- # Use callbacks to share common setup or constraints between actions.
54
- def set_content_block
55
- @content_block = Blocky::ContentBlock.find(params[:id])
56
- end
57
-
58
- # Never trust parameters from the scary internet, only allow the white list through.
59
- def content_block_params
60
- params.require(:content_block).permit(:content)
61
- end
62
-
63
- end
64
- end
@@ -1,43 +0,0 @@
1
- module Blocky
2
- class ImagesController < Blocky::ApplicationController
3
-
4
- before_action :authorize_user
5
-
6
- def create
7
- if s3_bucket
8
- file = params[:file]
9
- time_file = create_filename(file)
10
- s3_object = s3_bucket.objects.create(time_file, file.tempfile, {
11
- acl: :public_read
12
- })
13
- render text: s3_object.public_url.to_s
14
- else
15
- throw Exception, "S3 not setup"
16
- end
17
- end
18
-
19
- private
20
-
21
- def authorize_user
22
- authorize! :manage, Blocky::ContentBlock
23
- end
24
-
25
- def s3_bucket
26
- if Blocky.s3_access_key_id && Blocky.s3_secret_access_key && Blocky.s3_bucket
27
- s3 = AWS::S3.new(
28
- access_key_id: Blocky.s3_access_key_id,
29
- secret_access_key: Blocky.s3_secret_access_key
30
- )
31
- s3.buckets[Blocky.s3_bucket]
32
- end
33
- end
34
-
35
- def create_filename(file)
36
- file_ext = File.extname file.original_filename
37
- file_base = File.basename file.original_filename, file_ext
38
- time = Time.now.to_i
39
- file_with_time = "#{file_base}_#{time}#{file_ext}"
40
- end
41
-
42
- end
43
- end
@@ -1,53 +0,0 @@
1
- module Blocky
2
- module Auth
3
- extend ActiveSupport::Concern
4
-
5
- included do
6
- check_authorization
7
- rescue_from CanCan::AccessDenied do |exception|
8
- unauthorized(exception)
9
- end
10
- end
11
-
12
- def blocky_current_user
13
- respond_to?(:current_user) ? current_user : nil
14
- end
15
-
16
- def current_ability
17
- @current_ability ||= Blocky::Ability.new(blocky_current_user)
18
- end
19
-
20
- def devise_resource_name
21
- Blocky.user_class.underscore.gsub('/', '_')
22
- end
23
-
24
- def login_redirect_path
25
- # Try to use Devise's new session path or use the app's root path
26
- devise_new_session_path = "new_#{devise_resource_name}_session_path"
27
- if main_app.respond_to?(devise_new_session_path)
28
- main_app.send(devise_new_session_path)
29
- else
30
- main_app.root_path
31
- end
32
- end
33
-
34
- def redirect_back_or_default(default)
35
- redirect_to(session["#{devise_resource_name}_return_to"] || default)
36
- session["#{devise_resource_name}_return_to"] = nil
37
- end
38
-
39
- def store_location
40
- session["#{devise_resource_name}_return_to"] = request.fullpath.gsub('//', '/')
41
- end
42
-
43
- def unauthorized(exception)
44
- if blocky_current_user
45
- redirect_to main_app.root_url, alert: exception.message
46
- else
47
- store_location
48
- redirect_to login_redirect_path, alert: exception.message
49
- end
50
- end
51
-
52
- end
53
- end
@@ -1,26 +0,0 @@
1
- module Blocky
2
- module ApplicationHelper
3
-
4
- def body_class
5
- @body_class ||= "default"
6
- body_class = "blocky"
7
- body_class += " " + controller.controller_name
8
- body_class += " " + controller.action_name
9
- body_class += " " + @body_class
10
- body_class
11
- end
12
-
13
- def page_title
14
- page = @title
15
- if page
16
- "#{page} | #{site_title}"
17
- else
18
- site_title
19
- end
20
- end
21
-
22
- def site_title
23
- "Manage Content"
24
- end
25
- end
26
- end
@@ -1,11 +0,0 @@
1
- module Blocky
2
- class Ability
3
- include CanCan::Ability
4
-
5
- def initialize(user)
6
- if user
7
- can :manage, Blocky::ContentBlock
8
- end
9
- end
10
- end
11
- end
@@ -1 +0,0 @@
1
- <%= link_to content_block.name, edit_content_block_path(content_block) %>
@@ -1,62 +0,0 @@
1
- <%= form_for @content_block do |form| %>
2
- <div class="breadcrumbs">
3
- <strong>
4
- <%= link_to "Content Blocks", content_blocks_path %>
5
- <i class="fa fa-caret-right"></i>
6
- <code>:<%= @content_block.name %></code>
7
- </strong>
8
- </div>
9
-
10
- <textarea name="content_block[content]" class="content-editor">
11
- <%== @content_block.content.blank? ? "<p><br/></p>" : @content_block.content %>
12
- </textarea>
13
- <div class="buttons">
14
- <%= link_to "Cancel", content_blocks_path, class: "button cancel" %>
15
- <button class="save">Save</button>
16
- </div>
17
- <% end %>
18
-
19
- <% content_for :scripts do %>
20
- <script>
21
- $(function() {
22
-
23
- $('.content-editor').summernote({
24
- codemirror: {
25
- lineNumbers: true,
26
- mode: 'text/html',
27
- theme: 'monokai'
28
- },
29
-
30
- focus: true,
31
- height: 400,
32
-
33
- toolbar: [
34
- ['style', ['bold', 'italic', 'underline', 'clear']],
35
- ['fontsize', ['fontsize']],
36
- ['color', ['color']],
37
- ['para', ['ul', 'ol', 'paragraph']],
38
- ['table', ['table']],
39
- ['insert', ['link', 'picture', 'video']],
40
- ['code', ['codeview', 'fullscreen']]
41
- ],
42
-
43
- onImageUpload: function(files, editor, welEditable) {
44
- data = new FormData();
45
- data.append("file", files[0]);
46
- $.ajax({
47
- data: data,
48
- type: "POST",
49
- url: "../images",
50
- cache: false,
51
- contentType: false,
52
- processData: false,
53
- success: function(url) {
54
- editor.insertImage(welEditable, url);
55
- }
56
- });
57
- }
58
- });
59
- });
60
- </script>
61
- <% end %>
62
-
@@ -1,81 +0,0 @@
1
- <div class="breadcrumbs">
2
- <strong>Content Blocks</strong>
3
- </div>
4
-
5
- <% cache ["v1", Blocky::ContentBlock.maximum(:updated_at)] do %>
6
- <table>
7
- <thead>
8
- <th>URL</th>
9
- <th>Content Key</th>
10
- <th></th>
11
- </thead>
12
- <tbody>
13
- <% @global_content_blocks.each_with_index do |content_block, index| %>
14
- <tr class="global <%= index == 0 ? 'page-start' : '' %>">
15
- <td class="page">
16
- <% if index == 0 %>
17
- All Pages
18
- <% end %>
19
- </td>
20
- <td>
21
- <code>:<%= content_block.name %></code>
22
- </td>
23
- <td>
24
- <%= link_to "Edit", edit_content_block_path(content_block), class: "button" %>
25
- </td>
26
- </tr>
27
- <% end %>
28
- <% @content_blocks.group_by{|content_block| content_block.page_path }.each do |page_path, content_blocks| %>
29
- <% content_blocks.each_with_index do |content_block, index| %>
30
- <tr class="per-page <%= index == 0 ? 'page-start' : '' %>">
31
- <td class="page">
32
- <% if index == 0 %>
33
- <%= link_to page_path, page_path, target: "_blank" %>
34
- <% end %>
35
- </td>
36
- <td>
37
- <code>:<%= content_block.name %></code>
38
- </td>
39
- <td>
40
- <%= link_to "Edit", edit_content_block_path(content_block), class: "button" %>
41
- </td>
42
- </tr>
43
- <% end %>
44
- <% end %>
45
- </tbody>
46
- </table>
47
- <% end %>
48
-
49
- <div class="help">
50
- <h5>How to Create Content Blocks</h5>
51
-
52
- <p>
53
- To create a content block, simply use the <code>blocky</code> helper
54
- and specify a content key in any ERB template:
55
- </p>
56
-
57
- <p>
58
- <code class="code-block">
59
- <span class="tag">&lt;%=</span>
60
- <span class="method">blocky</span>(<span class="symbol">:features</span>)
61
- <span class="tag">%&gt;</span>
62
- </code>
63
- </p>
64
-
65
- <p>
66
- By default, using the same content key on multiple pages
67
- will create a separate content block for each page. To
68
- create a content block that updates across multiple pages,
69
- include the <code>global</code> option when specifying the content block.
70
- </p>
71
-
72
- <p>
73
- <code class="code-block">
74
- <span class="tag">&lt;%=</span>
75
- <span class="method">blocky</span>(<span class="symbol">:contact_email</span>,
76
- <span class="symbol">global:</span>
77
- <span class="keyword">true</span>)
78
- <span class="tag">%&gt;</span>
79
- </code>
80
- </p>
81
- </div>