hatchy 0.0.5.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (500) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +20 -0
  4. data/app/assets/javascripts/hatchy/admin.js +36 -0
  5. data/app/assets/javascripts/hatchy/admin/dashboard.js +26 -0
  6. data/app/assets/javascripts/hatchy/application.js +88 -0
  7. data/app/assets/javascripts/hatchy/bootstrap/affix.js +162 -0
  8. data/app/assets/javascripts/hatchy/bootstrap/alert.js +94 -0
  9. data/app/assets/javascripts/hatchy/bootstrap/bootstrap.js +12 -0
  10. data/app/assets/javascripts/hatchy/bootstrap/button.js +120 -0
  11. data/app/assets/javascripts/hatchy/bootstrap/carousel.js +237 -0
  12. data/app/assets/javascripts/hatchy/bootstrap/collapse.js +211 -0
  13. data/app/assets/javascripts/hatchy/bootstrap/dropdown.js +165 -0
  14. data/app/assets/javascripts/hatchy/bootstrap/modal.js +337 -0
  15. data/app/assets/javascripts/hatchy/bootstrap/popover.js +108 -0
  16. data/app/assets/javascripts/hatchy/bootstrap/scrollspy.js +172 -0
  17. data/app/assets/javascripts/hatchy/bootstrap/tab.js +155 -0
  18. data/app/assets/javascripts/hatchy/bootstrap/tooltip.js +514 -0
  19. data/app/assets/javascripts/hatchy/bootstrap/transition.js +59 -0
  20. data/app/assets/javascripts/hatchy/dashboard.js +24 -0
  21. data/app/assets/javascripts/hatchy/hatchy.js +8 -0
  22. data/app/assets/javascripts/hatchy/home.js +17 -0
  23. data/app/assets/javascripts/hatchy/libraries/jquery.countdown.js +206 -0
  24. data/app/assets/javascripts/hatchy/libraries/owl.carousel.js +1512 -0
  25. data/app/assets/javascripts/hatchy/libraries/pnotify.custom.js +1421 -0
  26. data/app/assets/javascripts/hatchy/libraries/summernote.js +7300 -0
  27. data/app/assets/javascripts/hatchy/projects/contributions/new_contribution.js +57 -0
  28. data/app/assets/javascripts/hatchy/projects/edit.js +59 -0
  29. data/app/assets/javascripts/hatchy/projects/show.js +16 -0
  30. data/app/assets/javascripts/hatchy/users/edit.js +29 -0
  31. data/app/assets/stylesheets/hatchy/admin.scss.erb +68 -0
  32. data/app/assets/stylesheets/hatchy/base.scss +195 -0
  33. data/app/assets/stylesheets/hatchy/bootstrap/_alerts.scss +73 -0
  34. data/app/assets/stylesheets/hatchy/bootstrap/_badges.scss +68 -0
  35. data/app/assets/stylesheets/hatchy/bootstrap/_breadcrumbs.scss +26 -0
  36. data/app/assets/stylesheets/hatchy/bootstrap/_button-groups.scss +244 -0
  37. data/app/assets/stylesheets/hatchy/bootstrap/_buttons.scss +168 -0
  38. data/app/assets/stylesheets/hatchy/bootstrap/_carousel.scss +269 -0
  39. data/app/assets/stylesheets/hatchy/bootstrap/_close.scss +36 -0
  40. data/app/assets/stylesheets/hatchy/bootstrap/_code.scss +69 -0
  41. data/app/assets/stylesheets/hatchy/bootstrap/_component-animations.scss +37 -0
  42. data/app/assets/stylesheets/hatchy/bootstrap/_dropdowns.scss +216 -0
  43. data/app/assets/stylesheets/hatchy/bootstrap/_forms.scss +611 -0
  44. data/app/assets/stylesheets/hatchy/bootstrap/_glyphicons.scss +307 -0
  45. data/app/assets/stylesheets/hatchy/bootstrap/_grid.scss +84 -0
  46. data/app/assets/stylesheets/hatchy/bootstrap/_input-groups.scss +167 -0
  47. data/app/assets/stylesheets/hatchy/bootstrap/_jumbotron.scss +52 -0
  48. data/app/assets/stylesheets/hatchy/bootstrap/_labels.scss +66 -0
  49. data/app/assets/stylesheets/hatchy/bootstrap/_list-group.scss +130 -0
  50. data/app/assets/stylesheets/hatchy/bootstrap/_media.scss +66 -0
  51. data/app/assets/stylesheets/hatchy/bootstrap/_mixins.scss +40 -0
  52. data/app/assets/stylesheets/hatchy/bootstrap/_modals.scss +150 -0
  53. data/app/assets/stylesheets/hatchy/bootstrap/_navbar.scss +662 -0
  54. data/app/assets/stylesheets/hatchy/bootstrap/_navs.scss +242 -0
  55. data/app/assets/stylesheets/hatchy/bootstrap/_normalize.scss +424 -0
  56. data/app/assets/stylesheets/hatchy/bootstrap/_pager.scss +54 -0
  57. data/app/assets/stylesheets/hatchy/bootstrap/_pagination.scss +89 -0
  58. data/app/assets/stylesheets/hatchy/bootstrap/_panels.scss +271 -0
  59. data/app/assets/stylesheets/hatchy/bootstrap/_popovers.scss +131 -0
  60. data/app/assets/stylesheets/hatchy/bootstrap/_print.scss +101 -0
  61. data/app/assets/stylesheets/hatchy/bootstrap/_progress-bars.scss +87 -0
  62. data/app/assets/stylesheets/hatchy/bootstrap/_responsive-embed.scss +35 -0
  63. data/app/assets/stylesheets/hatchy/bootstrap/_responsive-utilities.scss +179 -0
  64. data/app/assets/stylesheets/hatchy/bootstrap/_scaffolding.scss +161 -0
  65. data/app/assets/stylesheets/hatchy/bootstrap/_tables.scss +234 -0
  66. data/app/assets/stylesheets/hatchy/bootstrap/_theme.scss +291 -0
  67. data/app/assets/stylesheets/hatchy/bootstrap/_thumbnails.scss +38 -0
  68. data/app/assets/stylesheets/hatchy/bootstrap/_tooltip.scss +101 -0
  69. data/app/assets/stylesheets/hatchy/bootstrap/_type.scss +298 -0
  70. data/app/assets/stylesheets/hatchy/bootstrap/_utilities.scss +55 -0
  71. data/app/assets/stylesheets/hatchy/bootstrap/_variables.scss +872 -0
  72. data/app/assets/stylesheets/hatchy/bootstrap/_wells.scss +29 -0
  73. data/app/assets/stylesheets/hatchy/bootstrap/mixins/_alerts.scss +14 -0
  74. data/app/assets/stylesheets/hatchy/bootstrap/mixins/_background-variant.scss +12 -0
  75. data/app/assets/stylesheets/hatchy/bootstrap/mixins/_border-radius.scss +18 -0
  76. data/app/assets/stylesheets/hatchy/bootstrap/mixins/_buttons.scss +68 -0
  77. data/app/assets/stylesheets/hatchy/bootstrap/mixins/_center-block.scss +7 -0
  78. data/app/assets/stylesheets/hatchy/bootstrap/mixins/_clearfix.scss +22 -0
  79. data/app/assets/stylesheets/hatchy/bootstrap/mixins/_forms.scss +88 -0
  80. data/app/assets/stylesheets/hatchy/bootstrap/mixins/_gradients.scss +58 -0
  81. data/app/assets/stylesheets/hatchy/bootstrap/mixins/_grid-framework.scss +81 -0
  82. data/app/assets/stylesheets/hatchy/bootstrap/mixins/_grid.scss +122 -0
  83. data/app/assets/stylesheets/hatchy/bootstrap/mixins/_hide-text.scss +21 -0
  84. data/app/assets/stylesheets/hatchy/bootstrap/mixins/_image.scss +33 -0
  85. data/app/assets/stylesheets/hatchy/bootstrap/mixins/_labels.scss +12 -0
  86. data/app/assets/stylesheets/hatchy/bootstrap/mixins/_list-group.scss +32 -0
  87. data/app/assets/stylesheets/hatchy/bootstrap/mixins/_nav-divider.scss +10 -0
  88. data/app/assets/stylesheets/hatchy/bootstrap/mixins/_nav-vertical-align.scss +9 -0
  89. data/app/assets/stylesheets/hatchy/bootstrap/mixins/_opacity.scss +8 -0
  90. data/app/assets/stylesheets/hatchy/bootstrap/mixins/_pagination.scss +24 -0
  91. data/app/assets/stylesheets/hatchy/bootstrap/mixins/_panels.scss +24 -0
  92. data/app/assets/stylesheets/hatchy/bootstrap/mixins/_progress-bar.scss +10 -0
  93. data/app/assets/stylesheets/hatchy/bootstrap/mixins/_reset-filter.scss +8 -0
  94. data/app/assets/stylesheets/hatchy/bootstrap/mixins/_reset-text.scss +18 -0
  95. data/app/assets/stylesheets/hatchy/bootstrap/mixins/_resize.scss +6 -0
  96. data/app/assets/stylesheets/hatchy/bootstrap/mixins/_responsive-visibility.scss +21 -0
  97. data/app/assets/stylesheets/hatchy/bootstrap/mixins/_size.scss +10 -0
  98. data/app/assets/stylesheets/hatchy/bootstrap/mixins/_tab-focus.scss +9 -0
  99. data/app/assets/stylesheets/hatchy/bootstrap/mixins/_table-row.scss +28 -0
  100. data/app/assets/stylesheets/hatchy/bootstrap/mixins/_text-emphasis.scss +12 -0
  101. data/app/assets/stylesheets/hatchy/bootstrap/mixins/_text-overflow.scss +8 -0
  102. data/app/assets/stylesheets/hatchy/bootstrap/mixins/_vendor-prefixes.scss +222 -0
  103. data/app/assets/stylesheets/hatchy/hatchy.scss.erb +72 -0
  104. data/app/assets/stylesheets/hatchy/libraries/owl/owl.carousel.css +71 -0
  105. data/app/assets/stylesheets/hatchy/libraries/owl/owl.theme.css +79 -0
  106. data/app/assets/stylesheets/hatchy/libraries/pnotify.custom.css +178 -0
  107. data/app/assets/stylesheets/hatchy/libraries/summernote.css +1 -0
  108. data/app/assets/stylesheets/hatchy/themes/default/_variables.scss +0 -0
  109. data/app/assets/stylesheets/hatchy/themes/default/mixins.scss +0 -0
  110. data/app/assets/stylesheets/hatchy/themes/default/theme.scss +0 -0
  111. data/app/controllers/hatchy/admin/announcements_controller.rb +61 -0
  112. data/app/controllers/hatchy/admin/application_controller.rb +30 -0
  113. data/app/controllers/hatchy/admin/banks_controller.rb +61 -0
  114. data/app/controllers/hatchy/admin/categories_controller.rb +61 -0
  115. data/app/controllers/hatchy/admin/countries_controller.rb +61 -0
  116. data/app/controllers/hatchy/admin/dashboard_controller.rb +15 -0
  117. data/app/controllers/hatchy/announcements_controller.rb +11 -0
  118. data/app/controllers/hatchy/application_controller.rb +15 -0
  119. data/app/controllers/hatchy/dashboard_controller.rb +8 -0
  120. data/app/controllers/hatchy/home_controller.rb +20 -0
  121. data/app/controllers/hatchy/projects/contributions_controller.rb +60 -0
  122. data/app/controllers/hatchy/projects_controller.rb +99 -0
  123. data/app/controllers/hatchy/users_controller.rb +47 -0
  124. data/app/helpers/hatchy/application_helper.rb +4 -0
  125. data/app/helpers/hatchy/form_helper.rb +30 -0
  126. data/app/helpers/hatchy/layout_helper.rb +43 -0
  127. data/app/models/concerns/hatchy/project_states.rb +173 -0
  128. data/app/models/hatchy/announcement.rb +9 -0
  129. data/app/models/hatchy/bank.rb +6 -0
  130. data/app/models/hatchy/bank_account.rb +7 -0
  131. data/app/models/hatchy/category.rb +16 -0
  132. data/app/models/hatchy/category_follower.rb +7 -0
  133. data/app/models/hatchy/contribution.rb +45 -0
  134. data/app/models/hatchy/country.rb +5 -0
  135. data/app/models/hatchy/project.rb +46 -0
  136. data/app/models/hatchy/project_account.rb +10 -0
  137. data/app/models/hatchy/reward.rb +8 -0
  138. data/app/models/hatchy/user.rb +25 -0
  139. data/app/policies/hatchy/admin/application_policy.rb +7 -0
  140. data/app/policies/hatchy/application_policy.rb +57 -0
  141. data/app/policies/hatchy/project_policy.rb +19 -0
  142. data/app/policies/hatchy/user_policy.rb +16 -0
  143. data/app/uploaders/hatchy/project_uploader.rb +10 -0
  144. data/app/uploaders/hatchy/user_uploader.rb +9 -0
  145. data/app/views/devise/registrations/new.html.haml +23 -0
  146. data/app/views/devise/sessions/new.html.haml +26 -0
  147. data/app/views/devise/shared/_links.html.erb +25 -0
  148. data/app/views/hatchy/admin/announcements/edit.html.haml +10 -0
  149. data/app/views/hatchy/admin/announcements/index.html.haml +10 -0
  150. data/app/views/hatchy/admin/announcements/new.html.haml +10 -0
  151. data/app/views/hatchy/admin/announcements/show.html.haml +13 -0
  152. data/app/views/hatchy/admin/banks/edit.html.haml +10 -0
  153. data/app/views/hatchy/admin/banks/index.html.haml +10 -0
  154. data/app/views/hatchy/admin/banks/new.html.haml +10 -0
  155. data/app/views/hatchy/admin/banks/show.html.haml +13 -0
  156. data/app/views/hatchy/admin/categories/edit.html.haml +10 -0
  157. data/app/views/hatchy/admin/categories/index.html.haml +10 -0
  158. data/app/views/hatchy/admin/categories/new.html.haml +10 -0
  159. data/app/views/hatchy/admin/categories/show.html.haml +13 -0
  160. data/app/views/hatchy/admin/countries/edit.html.haml +10 -0
  161. data/app/views/hatchy/admin/countries/index.html.haml +10 -0
  162. data/app/views/hatchy/admin/countries/new.html.haml +10 -0
  163. data/app/views/hatchy/admin/countries/show.html.haml +13 -0
  164. data/app/views/hatchy/admin/dashboard/_last_updated_table.html.haml +32 -0
  165. data/app/views/hatchy/admin/dashboard/index.html.haml +14 -0
  166. data/app/views/hatchy/admin/shared/_admin_navtabs.html.haml +17 -0
  167. data/app/views/hatchy/admin/shared/_admin_sidebar.html.haml +38 -0
  168. data/app/views/hatchy/admin/shared/_model_form.html.haml +22 -0
  169. data/app/views/hatchy/admin/shared/_model_index.html.haml +31 -0
  170. data/app/views/hatchy/admin/shared/_model_show.html.haml +10 -0
  171. data/app/views/hatchy/dashboard/_projects_you_support.html.haml +8 -0
  172. data/app/views/hatchy/dashboard/_your_projects.html.haml +10 -0
  173. data/app/views/hatchy/dashboard/index.html.haml +8 -0
  174. data/app/views/hatchy/home/_recommended_projects.html.haml +7 -0
  175. data/app/views/hatchy/home/explore.html.haml +29 -0
  176. data/app/views/hatchy/home/index.html.haml +4 -0
  177. data/app/views/hatchy/projects/_reward_fields.html.haml +21 -0
  178. data/app/views/hatchy/projects/contributions/_billing.html.haml +40 -0
  179. data/app/views/hatchy/projects/contributions/_form.html.haml +7 -0
  180. data/app/views/hatchy/projects/contributions/_payment.html.haml +18 -0
  181. data/app/views/hatchy/projects/contributions/_rewards.html.haml +19 -0
  182. data/app/views/hatchy/projects/contributions/new.html.haml +7 -0
  183. data/app/views/hatchy/projects/edit.html.haml +18 -0
  184. data/app/views/hatchy/projects/edit/_account.html.haml +60 -0
  185. data/app/views/hatchy/projects/edit/_analysis_success.html.haml +12 -0
  186. data/app/views/hatchy/projects/edit/_basic.html.haml +24 -0
  187. data/app/views/hatchy/projects/edit/_budget.html.haml +16 -0
  188. data/app/views/hatchy/projects/edit/_description.html.haml +18 -0
  189. data/app/views/hatchy/projects/edit/_goal.html.haml +25 -0
  190. data/app/views/hatchy/projects/edit/_project_card.html.haml +24 -0
  191. data/app/views/hatchy/projects/edit/_project_sidebar.html.haml +67 -0
  192. data/app/views/hatchy/projects/edit/_rewards.html.haml +16 -0
  193. data/app/views/hatchy/projects/edit/_video.html.haml +17 -0
  194. data/app/views/hatchy/projects/new.html.haml +16 -0
  195. data/app/views/hatchy/projects/show.html.haml +63 -0
  196. data/app/views/hatchy/shared/_project.html.haml +29 -0
  197. data/app/views/hatchy/users/edit.html.haml +17 -0
  198. data/app/views/hatchy/users/edit/_about_you.html.haml +37 -0
  199. data/app/views/hatchy/users/edit/_banks_and_cards.html.haml +17 -0
  200. data/app/views/hatchy/users/edit/_data_and_address.html.haml +47 -0
  201. data/app/views/hatchy/users/edit/_notifications.html.haml +16 -0
  202. data/app/views/hatchy/users/show.html.haml +1 -0
  203. data/app/views/layouts/hatchy/_footer.html.haml +1 -0
  204. data/app/views/layouts/hatchy/_navbar.html.haml +32 -0
  205. data/app/views/layouts/hatchy/admin/admin_layout.html.haml +26 -0
  206. data/app/views/layouts/hatchy/application.html.haml +22 -0
  207. data/config/initializers/devise.rb +266 -0
  208. data/config/locales/devise.en.yml +60 -0
  209. data/config/locales/en.yml +146 -0
  210. data/config/routes.rb +54 -0
  211. data/db/countries.txt +252 -0
  212. data/db/migrate/20160111174923_create_hatchy_announcements.rb +10 -0
  213. data/db/migrate/20160111174945_create_hatchy_banks.rb +10 -0
  214. data/db/migrate/20160111175001_create_hatchy_bank_accounts.rb +12 -0
  215. data/db/migrate/20160111175017_create_hatchy_categories.rb +9 -0
  216. data/db/migrate/20160111175037_create_hatchy_contributions.rb +31 -0
  217. data/db/migrate/20160111175055_create_hatchy_countries.rb +14 -0
  218. data/db/migrate/20160111175124_create_hatchy_rewards.rb +14 -0
  219. data/db/migrate/20160111175139_create_hatchy_projects.rb +27 -0
  220. data/db/migrate/20160111175158_create_hatchy_project_accounts.rb +26 -0
  221. data/db/migrate/20160111175249_devise_create_hatchy_users.rb +64 -0
  222. data/db/migrate/20160111181655_create_hatchy_category_followers.rb +10 -0
  223. data/db/seed.rb +43 -0
  224. data/lib/hatchy.rb +24 -0
  225. data/lib/hatchy/country_importer.rb +32 -0
  226. data/lib/hatchy/engine.rb +43 -0
  227. data/lib/hatchy/setup_generator.rb +10 -0
  228. data/lib/hatchy/version.rb +3 -0
  229. data/lib/tasks/hatchy_tasks.rake +18 -0
  230. data/spec/controllers/hatchy/admin/announcements_controller_spec.rb +7 -0
  231. data/spec/controllers/hatchy/admin/application_controller_spec.rb +7 -0
  232. data/spec/controllers/hatchy/admin/banks_controller_spec.rb +7 -0
  233. data/spec/controllers/hatchy/admin/categories_controller_spec.rb +7 -0
  234. data/spec/controllers/hatchy/admin/countries_controller_spec.rb +7 -0
  235. data/spec/controllers/hatchy/admin/dashboard_controller_spec.rb +7 -0
  236. data/spec/controllers/hatchy/announcements_controller_spec.rb +7 -0
  237. data/spec/controllers/hatchy/dashboard_controller_spec.rb +7 -0
  238. data/spec/controllers/hatchy/home_controller_spec.rb +7 -0
  239. data/spec/controllers/hatchy/projects/contributions_controller_spec.rb +7 -0
  240. data/spec/controllers/hatchy/projects_controller_spec.rb +7 -0
  241. data/spec/controllers/hatchy/users_controller_spec.rb +7 -0
  242. data/spec/dummy/README.rdoc +28 -0
  243. data/spec/dummy/Rakefile +6 -0
  244. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  245. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  246. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  247. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  248. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  249. data/spec/dummy/bin/bundle +3 -0
  250. data/spec/dummy/bin/rails +4 -0
  251. data/spec/dummy/bin/rake +4 -0
  252. data/spec/dummy/config.ru +4 -0
  253. data/spec/dummy/config/application.rb +29 -0
  254. data/spec/dummy/config/boot.rb +5 -0
  255. data/spec/dummy/config/database.yml +25 -0
  256. data/spec/dummy/config/environment.rb +5 -0
  257. data/spec/dummy/config/environments/development.rb +37 -0
  258. data/spec/dummy/config/environments/production.rb +78 -0
  259. data/spec/dummy/config/environments/test.rb +39 -0
  260. data/spec/dummy/config/initializers/assets.rb +8 -0
  261. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  262. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  263. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  264. data/spec/dummy/config/initializers/inflections.rb +16 -0
  265. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  266. data/spec/dummy/config/initializers/session_store.rb +3 -0
  267. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  268. data/spec/dummy/config/locales/en.yml +23 -0
  269. data/spec/dummy/config/routes.rb +3 -0
  270. data/spec/dummy/config/secrets.yml +22 -0
  271. data/spec/dummy/db/development.sqlite3 +0 -0
  272. data/spec/dummy/db/schema.rb +207 -0
  273. data/spec/dummy/log/development.log +20486 -0
  274. data/spec/dummy/public/404.html +67 -0
  275. data/spec/dummy/public/422.html +67 -0
  276. data/spec/dummy/public/500.html +66 -0
  277. data/spec/dummy/public/favicon.ico +0 -0
  278. data/spec/dummy/public/uploads/hatchy/project/project_img/1/circus.jpg +0 -0
  279. data/spec/dummy/public/uploads/hatchy/user/profile_img/1/costanza.jpg +0 -0
  280. data/spec/dummy/public/uploads/tmp/1452646096-14084-2585/circus.jpg +0 -0
  281. data/spec/dummy/tmp/cache/assets/development/sass/1ae7eaad6fbe78b7fa091e1570fc6b83fd216672/admin.scss.erbc +0 -0
  282. data/spec/dummy/tmp/cache/assets/development/sass/1ae7eaad6fbe78b7fa091e1570fc6b83fd216672/base.scssc +0 -0
  283. data/spec/dummy/tmp/cache/assets/development/sass/1ae7eaad6fbe78b7fa091e1570fc6b83fd216672/hatchy.scss.erbc +0 -0
  284. data/spec/dummy/tmp/cache/assets/development/sass/4cd2ed92d25169cb17133dbe165a813de108b092/jquery.dataTables.bootstrap.scssc +0 -0
  285. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_alerts.scssc +0 -0
  286. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_badges.scssc +0 -0
  287. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_breadcrumbs.scssc +0 -0
  288. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_button-groups.scssc +0 -0
  289. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_buttons.scssc +0 -0
  290. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_carousel.scssc +0 -0
  291. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_close.scssc +0 -0
  292. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_code.scssc +0 -0
  293. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_component-animations.scssc +0 -0
  294. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_dropdowns.scssc +0 -0
  295. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_forms.scssc +0 -0
  296. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_glyphicons.scssc +0 -0
  297. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_grid.scssc +0 -0
  298. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_input-groups.scssc +0 -0
  299. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_jumbotron.scssc +0 -0
  300. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_labels.scssc +0 -0
  301. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_list-group.scssc +0 -0
  302. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_media.scssc +0 -0
  303. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_mixins.scssc +0 -0
  304. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_modals.scssc +0 -0
  305. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_navbar.scssc +0 -0
  306. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_navs.scssc +0 -0
  307. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_normalize.scssc +0 -0
  308. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_pager.scssc +0 -0
  309. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_pagination.scssc +0 -0
  310. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_panels.scssc +0 -0
  311. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_popovers.scssc +0 -0
  312. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_print.scssc +0 -0
  313. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_progress-bars.scssc +0 -0
  314. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_responsive-embed.scssc +0 -0
  315. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_responsive-utilities.scssc +0 -0
  316. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_scaffolding.scssc +0 -0
  317. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_tables.scssc +0 -0
  318. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_thumbnails.scssc +0 -0
  319. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_tooltip.scssc +0 -0
  320. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_type.scssc +0 -0
  321. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_utilities.scssc +0 -0
  322. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_variables.scssc +0 -0
  323. data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_wells.scssc +0 -0
  324. data/spec/dummy/tmp/cache/assets/development/sass/7ffb18582ef75d2e0545e59d54b66a8ac063388e/pnotify.custom.cssc +0 -0
  325. data/spec/dummy/tmp/cache/assets/development/sass/7ffb18582ef75d2e0545e59d54b66a8ac063388e/summernote.cssc +0 -0
  326. data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_alerts.scssc +0 -0
  327. data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_background-variant.scssc +0 -0
  328. data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_border-radius.scssc +0 -0
  329. data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_buttons.scssc +0 -0
  330. data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_center-block.scssc +0 -0
  331. data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_clearfix.scssc +0 -0
  332. data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_forms.scssc +0 -0
  333. data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_gradients.scssc +0 -0
  334. data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_grid-framework.scssc +0 -0
  335. data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_grid.scssc +0 -0
  336. data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_hide-text.scssc +0 -0
  337. data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_image.scssc +0 -0
  338. data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_labels.scssc +0 -0
  339. data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_list-group.scssc +0 -0
  340. data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_nav-divider.scssc +0 -0
  341. data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_nav-vertical-align.scssc +0 -0
  342. data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_opacity.scssc +0 -0
  343. data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_pagination.scssc +0 -0
  344. data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_panels.scssc +0 -0
  345. data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_progress-bar.scssc +0 -0
  346. data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_reset-filter.scssc +0 -0
  347. data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_reset-text.scssc +0 -0
  348. data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_resize.scssc +0 -0
  349. data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_responsive-visibility.scssc +0 -0
  350. data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_size.scssc +0 -0
  351. data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_tab-focus.scssc +0 -0
  352. data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_table-row.scssc +0 -0
  353. data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_text-emphasis.scssc +0 -0
  354. data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_text-overflow.scssc +0 -0
  355. data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_vendor-prefixes.scssc +0 -0
  356. data/spec/dummy/tmp/cache/assets/development/sass/9082de7479e9f9037daea1156327806c827ee4de/owl.carousel.cssc +0 -0
  357. data/spec/dummy/tmp/cache/assets/development/sass/9082de7479e9f9037daea1156327806c827ee4de/owl.theme.cssc +0 -0
  358. data/spec/dummy/tmp/cache/assets/development/sass/b098c6707accd416c04158e97686f3c60d18a5db/_variables.scssc +0 -0
  359. data/spec/dummy/tmp/cache/assets/development/sass/b098c6707accd416c04158e97686f3c60d18a5db/mixins.scssc +0 -0
  360. data/spec/dummy/tmp/cache/assets/development/sass/b098c6707accd416c04158e97686f3c60d18a5db/theme.scssc +0 -0
  361. data/spec/dummy/tmp/cache/assets/development/sass/c3eb61727e774fdd7a4c50d47dc9321d8c03465b/jquery.dataTables.scssc +0 -0
  362. data/spec/dummy/tmp/cache/assets/development/sprockets/02acd5c42920e30100d000381f279ed8 +0 -0
  363. data/spec/dummy/tmp/cache/assets/development/sprockets/06f25975c6b8ed69acfdec01011eb7bb +0 -0
  364. data/spec/dummy/tmp/cache/assets/development/sprockets/07683e3cd4c5faddd8150344d7f8ce74 +0 -0
  365. data/spec/dummy/tmp/cache/assets/development/sprockets/0a95350d1433847b3b929478b039b141 +0 -0
  366. data/spec/dummy/tmp/cache/assets/development/sprockets/114e00ddb52ee022a79ed4560ec79aa8 +0 -0
  367. data/spec/dummy/tmp/cache/assets/development/sprockets/14a82abe97db49e4cfcce62837ebd7b7 +0 -0
  368. data/spec/dummy/tmp/cache/assets/development/sprockets/1c6272244847e7e1fa1b127ea9c66bff +0 -0
  369. data/spec/dummy/tmp/cache/assets/development/sprockets/1ec4fb0db29fbf0cbf12c32449a988a9 +0 -0
  370. data/spec/dummy/tmp/cache/assets/development/sprockets/249e03ac9621a71cb1f7023fcc915530 +0 -0
  371. data/spec/dummy/tmp/cache/assets/development/sprockets/2600e70eaad40390bb6639885a589d2a +0 -0
  372. data/spec/dummy/tmp/cache/assets/development/sprockets/285362fd93ab9c40902bc5d499f699d8 +0 -0
  373. data/spec/dummy/tmp/cache/assets/development/sprockets/2da2ceb289ce39df011db7062d0d1327 +0 -0
  374. data/spec/dummy/tmp/cache/assets/development/sprockets/2f6ded1a00bc3b095f5c479acb5b3095 +0 -0
  375. data/spec/dummy/tmp/cache/assets/development/sprockets/3488bebbfac5a929b11e49b7403b4d7b +0 -0
  376. data/spec/dummy/tmp/cache/assets/development/sprockets/384156f28d835fc24585e681a46cd5d6 +0 -0
  377. data/spec/dummy/tmp/cache/assets/development/sprockets/39843c3b06d4de6199e87dc88d498201 +0 -0
  378. data/spec/dummy/tmp/cache/assets/development/sprockets/3be516ed9e4cd248c26d9921d29295ec +0 -0
  379. data/spec/dummy/tmp/cache/assets/development/sprockets/3d215563f8c60683272face7ff3c1038 +0 -0
  380. data/spec/dummy/tmp/cache/assets/development/sprockets/4276e0e173b6cfc29b9d6050eafe4bf3 +0 -0
  381. data/spec/dummy/tmp/cache/assets/development/sprockets/44f26650184cffb7192a3ad7d98a9d31 +0 -0
  382. data/spec/dummy/tmp/cache/assets/development/sprockets/497d2e4a82764eb58b4fbbb5fcb45aa2 +0 -0
  383. data/spec/dummy/tmp/cache/assets/development/sprockets/4c23aeaa35b27e7a0d5d3be8ee53c27d +0 -0
  384. data/spec/dummy/tmp/cache/assets/development/sprockets/4deda75c514a17f1f937821be49df47b +0 -0
  385. data/spec/dummy/tmp/cache/assets/development/sprockets/55f31fb7b5e9a4e1062acfdd4135432d +0 -0
  386. data/spec/dummy/tmp/cache/assets/development/sprockets/56567ed0854d6dd03a2dea900b2e9185 +0 -0
  387. data/spec/dummy/tmp/cache/assets/development/sprockets/567ed12a623140fb5eb2bb0591c94d70 +0 -0
  388. data/spec/dummy/tmp/cache/assets/development/sprockets/58abb036e1d10f9b42c55b22ffc8dfcf +0 -0
  389. data/spec/dummy/tmp/cache/assets/development/sprockets/59e8ebcc9e2bd48aefe3a211ef9e8d87 +0 -0
  390. data/spec/dummy/tmp/cache/assets/development/sprockets/5f7fb90ab1019225755f94778855fb8b +0 -0
  391. data/spec/dummy/tmp/cache/assets/development/sprockets/63c5d34e8d06c12346aa262d42bd0084 +0 -0
  392. data/spec/dummy/tmp/cache/assets/development/sprockets/6444bc0df41903ea509632e5127abcce +0 -0
  393. data/spec/dummy/tmp/cache/assets/development/sprockets/65b6d4456ef6974271b9a59fc6ec876f +0 -0
  394. data/spec/dummy/tmp/cache/assets/development/sprockets/6762976f03563abb88a60dd2284077f3 +0 -0
  395. data/spec/dummy/tmp/cache/assets/development/sprockets/6978b21857c4cf9d2472adf77f935dfb +0 -0
  396. data/spec/dummy/tmp/cache/assets/development/sprockets/6a402a89434119334a77b09c04ed6bd8 +0 -0
  397. data/spec/dummy/tmp/cache/assets/development/sprockets/6aea5e2eeb52372c0f4dacc9b5e17629 +0 -0
  398. data/spec/dummy/tmp/cache/assets/development/sprockets/6b0b3bc73b6ef3a71ff8c1235076f2fe +0 -0
  399. data/spec/dummy/tmp/cache/assets/development/sprockets/6de647c9f4ed6eab93fde5b1d14fa8d1 +0 -0
  400. data/spec/dummy/tmp/cache/assets/development/sprockets/73a3722d728be6cf120c161d1a504b69 +0 -0
  401. data/spec/dummy/tmp/cache/assets/development/sprockets/74616b97e75a1dd4f47c89c3682a5962 +0 -0
  402. data/spec/dummy/tmp/cache/assets/development/sprockets/746472d5488bcdba743ae6905b4d9349 +0 -0
  403. data/spec/dummy/tmp/cache/assets/development/sprockets/75ef1b07ff3b729901c05d7693c459bd +0 -0
  404. data/spec/dummy/tmp/cache/assets/development/sprockets/77caa48be4dcd5f1d6f7791702ddbf3d +0 -0
  405. data/spec/dummy/tmp/cache/assets/development/sprockets/788ef0523fa5e97bb2ce29fbec1acd3d +0 -0
  406. data/spec/dummy/tmp/cache/assets/development/sprockets/79842d87a8281f97fa6e29373248487a +0 -0
  407. data/spec/dummy/tmp/cache/assets/development/sprockets/79ea9ff8872eea03ff917b2710b89875 +0 -0
  408. data/spec/dummy/tmp/cache/assets/development/sprockets/79f81993fad700117165d85ea5e66f80 +0 -0
  409. data/spec/dummy/tmp/cache/assets/development/sprockets/7abdb6b3ba312e2e713372cfa9ed6fd5 +0 -0
  410. data/spec/dummy/tmp/cache/assets/development/sprockets/7c817753da2ab2a8909c5f67ca1055c4 +0 -0
  411. data/spec/dummy/tmp/cache/assets/development/sprockets/8387ec69aabd9e9e2922644385d82285 +0 -0
  412. data/spec/dummy/tmp/cache/assets/development/sprockets/893f7993845d6e4c08115ef3898fbbe8 +0 -0
  413. data/spec/dummy/tmp/cache/assets/development/sprockets/8bfa3d2073d730eeae5930950577808b +0 -0
  414. data/spec/dummy/tmp/cache/assets/development/sprockets/8cec29e6f07e8b1786d5fdacf8a715d2 +0 -0
  415. data/spec/dummy/tmp/cache/assets/development/sprockets/8df3635dafa13e99eda2cd17dd9f4698 +0 -0
  416. data/spec/dummy/tmp/cache/assets/development/sprockets/8e08251664adb259d48c3ff9019fb9cf +0 -0
  417. data/spec/dummy/tmp/cache/assets/development/sprockets/94686c27c680e4e11436a2262aa72b55 +0 -0
  418. data/spec/dummy/tmp/cache/assets/development/sprockets/95fcb48e995eb3d264567f7534ff91ee +0 -0
  419. data/spec/dummy/tmp/cache/assets/development/sprockets/9c9def80980301503b1376146256ae2f +0 -0
  420. data/spec/dummy/tmp/cache/assets/development/sprockets/9ccf973914706eef2efa9e6e7e443818 +0 -0
  421. data/spec/dummy/tmp/cache/assets/development/sprockets/9d495bd3c398e7d7b507902bb8f71eeb +0 -0
  422. data/spec/dummy/tmp/cache/assets/development/sprockets/9d71f6be7960469b0582464c006ac743 +0 -0
  423. data/spec/dummy/tmp/cache/assets/development/sprockets/9e985e9ae12f0a0f409840f8de50ec85 +0 -0
  424. data/spec/dummy/tmp/cache/assets/development/sprockets/a12f906dc9d7f98d0d33c14534624207 +0 -0
  425. data/spec/dummy/tmp/cache/assets/development/sprockets/a3241713158b6d467b4ff8c0e86260ef +0 -0
  426. data/spec/dummy/tmp/cache/assets/development/sprockets/a38526dbff17aaff93ad71c58a5fac91 +0 -0
  427. data/spec/dummy/tmp/cache/assets/development/sprockets/a563347af44f552d9777160b9bc2f20c +0 -0
  428. data/spec/dummy/tmp/cache/assets/development/sprockets/a5895b06bddc58da1693d54571f58872 +0 -0
  429. data/spec/dummy/tmp/cache/assets/development/sprockets/a6233feba34a45a0550ca7e06ebeb8b2 +0 -0
  430. data/spec/dummy/tmp/cache/assets/development/sprockets/a62d4f134ec8d16ef50bbf15a53d6b57 +0 -0
  431. data/spec/dummy/tmp/cache/assets/development/sprockets/a7c825ce172c4a095653ab0022a0e979 +0 -0
  432. data/spec/dummy/tmp/cache/assets/development/sprockets/a9612f700869ef313dbd4fe5e23e9361 +0 -0
  433. data/spec/dummy/tmp/cache/assets/development/sprockets/aa1ba41473bb9ff1a6d2be1f794719df +0 -0
  434. data/spec/dummy/tmp/cache/assets/development/sprockets/aac3bc57fb221351f292885c5ee21933 +0 -0
  435. data/spec/dummy/tmp/cache/assets/development/sprockets/aad666db3c05857182302664d9b8cc45 +0 -0
  436. data/spec/dummy/tmp/cache/assets/development/sprockets/ab0cb44cae19250b9348dcd66b5c04d7 +0 -0
  437. data/spec/dummy/tmp/cache/assets/development/sprockets/ad6173f532233499e71f4e8c28e6020d +0 -0
  438. data/spec/dummy/tmp/cache/assets/development/sprockets/adc78e9799ac1c95dee7e858df40b4a8 +0 -0
  439. data/spec/dummy/tmp/cache/assets/development/sprockets/adf03687ee42f87002445c1096069d64 +0 -0
  440. data/spec/dummy/tmp/cache/assets/development/sprockets/aeb4122ebead9e5e9f6a3625fefbae3d +0 -0
  441. data/spec/dummy/tmp/cache/assets/development/sprockets/af6aade4734b90299fb7b16e4bb3e737 +0 -0
  442. data/spec/dummy/tmp/cache/assets/development/sprockets/b5f65e3f4319656fcd1dd0a3f1b66e6d +0 -0
  443. data/spec/dummy/tmp/cache/assets/development/sprockets/bc3e3f14e046b451d6f962e59bf22e0b +0 -0
  444. data/spec/dummy/tmp/cache/assets/development/sprockets/bd49e8df5191d3e15d2ffa14fc384869 +0 -0
  445. data/spec/dummy/tmp/cache/assets/development/sprockets/c37311498380e52a91dbfc2c96425eac +0 -0
  446. data/spec/dummy/tmp/cache/assets/development/sprockets/c60cce66e260d24218c7365bc3401b3e +0 -0
  447. data/spec/dummy/tmp/cache/assets/development/sprockets/c8ee3b2ea3203e3955b4db6e857d346e +0 -0
  448. data/spec/dummy/tmp/cache/assets/development/sprockets/cb3ac6ce6a98f3a3fd0443fcf846239d +0 -0
  449. data/spec/dummy/tmp/cache/assets/development/sprockets/cb758c86a19ec6b77f88402c95add6d4 +0 -0
  450. data/spec/dummy/tmp/cache/assets/development/sprockets/ccffcd47c7db3a6ab7e8006abc792752 +0 -0
  451. data/spec/dummy/tmp/cache/assets/development/sprockets/ce0edb89508050d6ce80d9c608b0e478 +0 -0
  452. data/spec/dummy/tmp/cache/assets/development/sprockets/ce4654bef988a1eb28b9da8d16fd2f65 +0 -0
  453. data/spec/dummy/tmp/cache/assets/development/sprockets/d1ba02c2518f1bd8954e5fb38a6fdac1 +0 -0
  454. data/spec/dummy/tmp/cache/assets/development/sprockets/d3ef307aaa54f919818b4dfb65b612f3 +0 -0
  455. data/spec/dummy/tmp/cache/assets/development/sprockets/d85c828a1b79af337db6fa07b91d05f2 +0 -0
  456. data/spec/dummy/tmp/cache/assets/development/sprockets/d8e52300c14f8f97b4ad8849301d7433 +0 -0
  457. data/spec/dummy/tmp/cache/assets/development/sprockets/d986eea7fe11b3e20c563cdc38db62ad +0 -0
  458. data/spec/dummy/tmp/cache/assets/development/sprockets/db8fa1b50c3d48a484b7f5949e075a57 +0 -0
  459. data/spec/dummy/tmp/cache/assets/development/sprockets/de74bb6959d07da7cff09d3b7d85cd7e +0 -0
  460. data/spec/dummy/tmp/cache/assets/development/sprockets/e3254e9ef9c6add6c4ef3a9eee700e7d +0 -0
  461. data/spec/dummy/tmp/cache/assets/development/sprockets/e37cf58bfbd61c44c57446c460ccc066 +0 -0
  462. data/spec/dummy/tmp/cache/assets/development/sprockets/e45751ceff92085477ef49e2c7f7622e +0 -0
  463. data/spec/dummy/tmp/cache/assets/development/sprockets/e64d1a313c5d885c637c9224d54c6cbd +0 -0
  464. data/spec/dummy/tmp/cache/assets/development/sprockets/e6c4ac31d3e7740403f6d8d50903e3b2 +0 -0
  465. data/spec/dummy/tmp/cache/assets/development/sprockets/e8272a81b13334e8f911097487b72702 +0 -0
  466. data/spec/dummy/tmp/cache/assets/development/sprockets/e93f2eac197dae7e9c54b2a4e17675f3 +0 -0
  467. data/spec/dummy/tmp/cache/assets/development/sprockets/ecc139ef2345848cb162ee60e48a008c +0 -0
  468. data/spec/dummy/tmp/cache/assets/development/sprockets/ef919881a8fe5b6d173257130a00adbc +0 -0
  469. data/spec/dummy/tmp/cache/assets/development/sprockets/f041bae6ba73e8a34bdf8603dca6f761 +0 -0
  470. data/spec/dummy/tmp/cache/assets/development/sprockets/f469cae685b83bf116813dc134ed0d2b +0 -0
  471. data/spec/dummy/tmp/cache/assets/development/sprockets/f8c026bc9f28742f8499ae687002da88 +0 -0
  472. data/spec/dummy/tmp/cache/assets/development/sprockets/f9677a86b9c39422d1720fbc89ab727f +0 -0
  473. data/spec/dummy/tmp/cache/assets/development/sprockets/fc35cea81cbc344664892761d90af504 +0 -0
  474. data/spec/dummy/tmp/cache/assets/development/sprockets/fe23e9bb24f73b37f78fcf7523f4ddc7 +0 -0
  475. data/spec/dummy/tmp/cache/assets/development/sprockets/fe79efd19de6388221ed374971484cbc +0 -0
  476. data/spec/factories/hatchy_announcements.rb +6 -0
  477. data/spec/factories/hatchy_bank_accounts.rb +6 -0
  478. data/spec/factories/hatchy_banks.rb +6 -0
  479. data/spec/factories/hatchy_categories.rb +6 -0
  480. data/spec/factories/hatchy_category_followers.rb +6 -0
  481. data/spec/factories/hatchy_contributions.rb +6 -0
  482. data/spec/factories/hatchy_countries.rb +6 -0
  483. data/spec/factories/hatchy_project_accounts.rb +6 -0
  484. data/spec/factories/hatchy_projects.rb +6 -0
  485. data/spec/factories/hatchy_rewards.rb +6 -0
  486. data/spec/factories/hatchy_users.rb +6 -0
  487. data/spec/models/hatchy/announcement_spec.rb +7 -0
  488. data/spec/models/hatchy/bank_account_spec.rb +7 -0
  489. data/spec/models/hatchy/bank_spec.rb +7 -0
  490. data/spec/models/hatchy/category_follower_spec.rb +7 -0
  491. data/spec/models/hatchy/category_spec.rb +7 -0
  492. data/spec/models/hatchy/contribution_spec.rb +7 -0
  493. data/spec/models/hatchy/country_spec.rb +7 -0
  494. data/spec/models/hatchy/project_account_spec.rb +7 -0
  495. data/spec/models/hatchy/project_spec.rb +7 -0
  496. data/spec/models/hatchy/reward_spec.rb +7 -0
  497. data/spec/models/hatchy/user_spec.rb +7 -0
  498. data/spec/rails_helper.rb +49 -0
  499. data/spec/spec_helper.rb +94 -0
  500. metadata +1019 -0
@@ -0,0 +1,72 @@
1
+ @charset "UTF-8";
2
+
3
+ <% theme = Hatchy.theme %>
4
+
5
+ /*** Variables ***/
6
+ @import "hatchy/themes/<%= theme %>/variables";
7
+ @import "hatchy/bootstrap/variables";
8
+
9
+ /*** Mixins ***/
10
+ @import "hatchy/bootstrap/mixins";
11
+ @import "hatchy/themes/<%= theme %>/mixins";
12
+
13
+ /*** Reset ***/
14
+ @import "hatchy/bootstrap/normalize";
15
+ @import "hatchy/bootstrap/print";
16
+ @import "hatchy/bootstrap/glyphicons";
17
+
18
+ /*** Libraries ***/
19
+ @import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css");
20
+ @import "hatchy/libraries/summernote";
21
+ @import "hatchy/libraries/pnotify.custom";
22
+ @import "hatchy/libraries/owl/owl.carousel";
23
+ @import "hatchy/libraries/owl/owl.theme";
24
+ @import "dataTables/jquery.dataTables";
25
+ @import "dataTables/bootstrap/3/jquery.dataTables.bootstrap";
26
+
27
+ /*** Bootstrap Theming ***/
28
+ // Core CSS
29
+ @import "hatchy/bootstrap/scaffolding";
30
+ @import "hatchy/bootstrap/type";
31
+ @import "hatchy/bootstrap/code";
32
+ @import "hatchy/bootstrap/grid";
33
+ @import "hatchy/bootstrap/tables";
34
+ @import "hatchy/bootstrap/forms";
35
+ @import "hatchy/bootstrap/buttons";
36
+
37
+ // Components
38
+ @import "hatchy/bootstrap/component-animations";
39
+ @import "hatchy/bootstrap/dropdowns";
40
+ @import "hatchy/bootstrap/button-groups";
41
+ @import "hatchy/bootstrap/input-groups";
42
+ @import "hatchy/bootstrap/navs";
43
+ @import "hatchy/bootstrap/navbar";
44
+ @import "hatchy/bootstrap/breadcrumbs";
45
+ @import "hatchy/bootstrap/pagination";
46
+ @import "hatchy/bootstrap/pager";
47
+ @import "hatchy/bootstrap/labels";
48
+ @import "hatchy/bootstrap/badges";
49
+ @import "hatchy/bootstrap/jumbotron";
50
+ @import "hatchy/bootstrap/thumbnails";
51
+ @import "hatchy/bootstrap/alerts";
52
+ @import "hatchy/bootstrap/progress-bars";
53
+ @import "hatchy/bootstrap/media";
54
+ @import "hatchy/bootstrap/list-group";
55
+ @import "hatchy/bootstrap/panels";
56
+ @import "hatchy/bootstrap/responsive-embed";
57
+ @import "hatchy/bootstrap/wells";
58
+ @import "hatchy/bootstrap/close";
59
+
60
+ // Components w/ JavaScript
61
+ @import "hatchy/bootstrap/modals";
62
+ @import "hatchy/bootstrap/tooltip";
63
+ @import "hatchy/bootstrap/popovers";
64
+ @import "hatchy/bootstrap/carousel";
65
+
66
+ // Utility classes
67
+ @import "hatchy/bootstrap/utilities";
68
+ @import "hatchy/bootstrap/responsive-utilities";
69
+ @import "hatchy/base";
70
+
71
+ /*** Theming ***/
72
+ @import "hatchy/themes/<%= theme %>/theme";
@@ -0,0 +1,71 @@
1
+ /*
2
+ * Core Owl Carousel CSS File
3
+ * v1.3.3
4
+ */
5
+
6
+ /* clearfix */
7
+ .owl-carousel .owl-wrapper:after {
8
+ content: ".";
9
+ display: block;
10
+ clear: both;
11
+ visibility: hidden;
12
+ line-height: 0;
13
+ height: 0;
14
+ }
15
+ /* display none until init */
16
+ .owl-carousel{
17
+ display: none;
18
+ position: relative;
19
+ width: 100%;
20
+ -ms-touch-action: pan-y;
21
+ }
22
+ .owl-carousel .owl-wrapper{
23
+ display: none;
24
+ position: relative;
25
+ -webkit-transform: translate3d(0px, 0px, 0px);
26
+ }
27
+ .owl-carousel .owl-wrapper-outer{
28
+ overflow: hidden;
29
+ position: relative;
30
+ width: 100%;
31
+ }
32
+ .owl-carousel .owl-wrapper-outer.autoHeight{
33
+ -webkit-transition: height 500ms ease-in-out;
34
+ -moz-transition: height 500ms ease-in-out;
35
+ -ms-transition: height 500ms ease-in-out;
36
+ -o-transition: height 500ms ease-in-out;
37
+ transition: height 500ms ease-in-out;
38
+ }
39
+
40
+ .owl-carousel .owl-item{
41
+ float: left;
42
+ }
43
+ .owl-controls .owl-page,
44
+ .owl-controls .owl-buttons div{
45
+ cursor: pointer;
46
+ }
47
+ .owl-controls {
48
+ -webkit-user-select: none;
49
+ -khtml-user-select: none;
50
+ -moz-user-select: none;
51
+ -ms-user-select: none;
52
+ user-select: none;
53
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
54
+ }
55
+
56
+ /* mouse grab icon */
57
+ .grabbing {
58
+ cursor:url(grabbing.png) 8 8, move;
59
+ }
60
+
61
+ /* fix */
62
+ .owl-carousel .owl-wrapper,
63
+ .owl-carousel .owl-item{
64
+ -webkit-backface-visibility: hidden;
65
+ -moz-backface-visibility: hidden;
66
+ -ms-backface-visibility: hidden;
67
+ -webkit-transform: translate3d(0,0,0);
68
+ -moz-transform: translate3d(0,0,0);
69
+ -ms-transform: translate3d(0,0,0);
70
+ }
71
+
@@ -0,0 +1,79 @@
1
+ /*
2
+ * Owl Carousel Owl Demo Theme
3
+ * v1.3.3
4
+ */
5
+
6
+ .owl-theme .owl-controls{
7
+ margin-top: 10px;
8
+ text-align: center;
9
+ }
10
+
11
+ /* Styling Next and Prev buttons */
12
+
13
+ .owl-theme .owl-controls .owl-buttons div{
14
+ color: #FFF;
15
+ display: inline-block;
16
+ zoom: 1;
17
+ *display: inline;/*IE7 life-saver */
18
+ margin: 5px;
19
+ padding: 3px 10px;
20
+ font-size: 12px;
21
+ -webkit-border-radius: 30px;
22
+ -moz-border-radius: 30px;
23
+ border-radius: 30px;
24
+ background: #869791;
25
+ filter: Alpha(Opacity=50);/*IE7 fix*/
26
+ opacity: 0.5;
27
+ }
28
+ /* Clickable class fix problem with hover on touch devices */
29
+ /* Use it for non-touch hover action */
30
+ .owl-theme .owl-controls.clickable .owl-buttons div:hover{
31
+ filter: Alpha(Opacity=100);/*IE7 fix*/
32
+ opacity: 1;
33
+ text-decoration: none;
34
+ }
35
+
36
+ /* Styling Pagination*/
37
+
38
+ .owl-theme .owl-controls .owl-page{
39
+ display: inline-block;
40
+ zoom: 1;
41
+ *display: inline;/*IE7 life-saver */
42
+ }
43
+ .owl-theme .owl-controls .owl-page span{
44
+ display: block;
45
+ width: 12px;
46
+ height: 12px;
47
+ margin: 5px 7px;
48
+ filter: Alpha(Opacity=50);/*IE7 fix*/
49
+ opacity: 0.5;
50
+ -webkit-border-radius: 20px;
51
+ -moz-border-radius: 20px;
52
+ border-radius: 20px;
53
+ background: #869791;
54
+ }
55
+
56
+ .owl-theme .owl-controls .owl-page.active span,
57
+ .owl-theme .owl-controls.clickable .owl-page:hover span{
58
+ filter: Alpha(Opacity=100);/*IE7 fix*/
59
+ opacity: 1;
60
+ }
61
+
62
+ /* If PaginationNumbers is true */
63
+
64
+ .owl-theme .owl-controls .owl-page span.owl-numbers{
65
+ height: auto;
66
+ width: auto;
67
+ color: #FFF;
68
+ padding: 2px 10px;
69
+ font-size: 12px;
70
+ -webkit-border-radius: 30px;
71
+ -moz-border-radius: 30px;
72
+ border-radius: 30px;
73
+ }
74
+
75
+ /* preloading images */
76
+ .owl-item.loading{
77
+ min-height: 150px;
78
+ background: url(AjaxLoader.gif) no-repeat center center
79
+ }
@@ -0,0 +1,178 @@
1
+ /*
2
+ Author : Hunter Perrin
3
+ Version : 2.1.0
4
+ Link : http://sciactive.com/pnotify/
5
+ */
6
+ /* -- Notice */
7
+ .ui-pnotify {
8
+ top: 25px;
9
+ right: 25px;
10
+ position: absolute;
11
+ height: auto;
12
+ /* Ensures notices are above everything */
13
+ z-index: 9999;
14
+ }
15
+ /* Hides position: fixed from IE6 */
16
+ html > body > .ui-pnotify {
17
+ position: fixed;
18
+ }
19
+ .ui-pnotify .ui-pnotify-shadow {
20
+ -webkit-box-shadow: 0px 2px 10px rgba(50, 50, 50, 0.5);
21
+ -moz-box-shadow: 0px 2px 10px rgba(50, 50, 50, 0.5);
22
+ box-shadow: 0px 2px 10px rgba(50, 50, 50, 0.5);
23
+ }
24
+ .ui-pnotify-container {
25
+ background-position: 0 0;
26
+ padding: .8em;
27
+ height: 100%;
28
+ margin: 0;
29
+ }
30
+ .ui-pnotify-container.ui-pnotify-sharp {
31
+ -webkit-border-radius: 0;
32
+ -moz-border-radius: 0;
33
+ border-radius: 0;
34
+ }
35
+ .ui-pnotify-title {
36
+ display: block;
37
+ margin-bottom: .4em;
38
+ margin-top: 0;
39
+ }
40
+ .ui-pnotify-text {
41
+ display: block;
42
+ }
43
+ .ui-pnotify-icon, .ui-pnotify-icon span {
44
+ display: block;
45
+ float: left;
46
+ margin-right: .2em;
47
+ }
48
+ /* Alternate stack initial positioning. */
49
+ .ui-pnotify.stack-topleft, .ui-pnotify.stack-bottomleft {
50
+ left: 25px;
51
+ right: auto;
52
+ }
53
+ .ui-pnotify.stack-bottomright, .ui-pnotify.stack-bottomleft {
54
+ bottom: 25px;
55
+ top: auto;
56
+ }
57
+ /*
58
+ Color Scheme: http://paletton.com/palette.php?uid=c1T3n2J040kClXm03%2B%2Bj6RnZguVWm5a
59
+ */
60
+ .brighttheme {
61
+ -webkit-border-radius: 4px;
62
+ -moz-border-radius: 4px;
63
+ border-radius: 4px;
64
+ }
65
+ .brighttheme-notice {
66
+ background-color: #FFFF67;
67
+ border: 1px solid #FFFF00;
68
+ color: #292900;
69
+ }
70
+ .brighttheme-info {
71
+ background-color: #5FC9E2;
72
+ border: 1px solid #05C7F4;
73
+ color: #001519;
74
+ }
75
+ .brighttheme-success {
76
+ background-color: #85F362;
77
+ border: 1px solid #3CFB00;
78
+ color: #082300;
79
+ }
80
+
81
+ .brighttheme-error {
82
+ background-color: #FF7567;
83
+ background-image: repeating-linear-gradient(135deg, transparent, transparent 35px, rgba(255,255,255,.3) 35px, rgba(255,255,255,.3) 70px);
84
+ border: 1px solid #FF1800;
85
+ color: #290400;
86
+ }
87
+ .brighttheme-icon-notice,
88
+ .brighttheme-icon-info,
89
+ .brighttheme-icon-success,
90
+ .brighttheme-icon-closer,
91
+ .brighttheme-icon-sticker {
92
+ position: relative;
93
+ width: 16px;
94
+ height: 16px;
95
+ font-size: 12px;
96
+ font-weight: bold;
97
+ line-height: 16px;
98
+ font-family: "Courier New",Courier,monospace;
99
+ border-radius: 50%;
100
+ }
101
+ .brighttheme-icon-notice:after,
102
+ .brighttheme-icon-info:after,
103
+ .brighttheme-icon-success:after,
104
+ .brighttheme-icon-closer:after,
105
+ .brighttheme-icon-sticker:after {
106
+ position: absolute;
107
+ top: 0;
108
+ left: 4px;
109
+ }
110
+ .brighttheme-icon-notice {
111
+ background-color: #292900;
112
+ color: #FFFF67;
113
+ }
114
+ .brighttheme-icon-notice:after {
115
+ content: "!";
116
+ }
117
+ .brighttheme-icon-info {
118
+ background-color: #001519;
119
+ color: #5FC9E2;
120
+ }
121
+ .brighttheme-icon-info:after {
122
+ content: "i";
123
+ }
124
+ .brighttheme-icon-success {
125
+ background-color: #082300;
126
+ color: #85F362;
127
+ }
128
+ .brighttheme-icon-success:after {
129
+ content: "\002713";
130
+ }
131
+ .brighttheme-icon-error {
132
+ position: relative;
133
+ width: 0;
134
+ height: 0;
135
+ border-left: 8px solid transparent;
136
+ border-right: 8px solid transparent;
137
+ border-bottom: 16px solid #290400;
138
+ font-size: 0;
139
+ line-height: 0;
140
+ color: #FF7567;
141
+ }
142
+ .brighttheme-icon-error:after {
143
+ position: absolute;
144
+ top: 1px;
145
+ left: -4px;
146
+ font-size: 12px;
147
+ font-weight: bold;
148
+ line-height: 16px;
149
+ font-family: "Courier New",Courier,monospace;
150
+ content: "!";
151
+ }
152
+ .brighttheme-icon-closer,
153
+ .brighttheme-icon-sticker {
154
+ display: inline-block;
155
+ }
156
+ .brighttheme-icon-closer:after {
157
+ top: -4px;
158
+ content: "\002715";
159
+ }
160
+ .brighttheme-icon-sticker:after {
161
+ top: -5px;
162
+ content: "\01D1BC";
163
+ -moz-transform: rotate(-90deg);
164
+ -webkit-transform: rotate(-90deg);
165
+ -o-transform: rotate(-90deg);
166
+ -ms-transform: rotate(-90deg);
167
+ transform: rotate(-90deg);
168
+ }
169
+ .brighttheme-icon-sticker.brighttheme-icon-stuck:after {
170
+ -moz-transform: rotate(180deg);
171
+ -webkit-transform: rotate(180deg);
172
+ -o-transform: rotate(180deg);
173
+ -ms-transform: rotate(180deg);
174
+ transform: rotate(180deg);
175
+ }.ui-pnotify-closer, .ui-pnotify-sticker {
176
+ float: right;
177
+ margin-left: .2em;
178
+ }
@@ -0,0 +1 @@
1
+ .note-editor{position:relative;overflow:hidden;border:1px solid #a9a9a9}.note-editor .note-dropzone{position:absolute;z-index:100;display:none;color:#87cefa;background-color:white;opacity:.95;pointer-event:none}.note-editor .note-dropzone .note-dropzone-message{display:table-cell;font-size:28px;font-weight:bold;text-align:center;vertical-align:middle}.note-editor .note-dropzone.hover{color:#098ddf}.note-editor.dragover .note-dropzone{display:table}.note-editor.codeview .note-editing-area .note-editable{display:none}.note-editor.codeview .note-editing-area .note-codable{display:block}.note-editor.fullscreen{position:fixed;top:0;left:0;z-index:1050;width:100%}.note-editor.fullscreen .note-editable{background-color:white}.note-editor.fullscreen .note-resizebar{display:none}.note-editor .note-editing-area{position:relative;overflow:hidden}.note-editor .note-editing-area .note-editable{padding:10px;overflow:auto;color:#000;background-color:#fff;outline:0}.note-editor .note-editing-area .note-editable[contenteditable=true]:empty:not(:focus):before{content:attr(data-placeholder)}.note-editor .note-editing-area .note-editable[contenteditable="false"]{background-color:#e5e5e5}.note-editor .note-editing-area .note-codable{display:none;width:100%;padding:10px;margin-bottom:0;font-family:Menlo,Monaco,monospace,sans-serif;font-size:14px;color:#ccc;background-color:#222;border:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;box-shadow:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;resize:none}.note-editor .note-statusbar{background-color:#f5f5f5}.note-editor .note-statusbar .note-resizebar{width:100%;height:8px;padding-top:1px;cursor:ns-resize}.note-editor .note-statusbar .note-resizebar .note-icon-bar{width:20px;margin:1px auto;border-top:1px solid #a9a9a9}.note-air-editor{outline:0}.note-popover .popover{max-width:none}.note-popover .popover .popover-content a{display:inline-block;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}.note-popover .popover .arrow{left:20px}.note-popover .popover .popover-content,.panel-heading.note-toolbar{padding:0 0 5px 5px;margin:0}.note-popover .popover .popover-content>.btn-group,.panel-heading.note-toolbar>.btn-group{margin-top:5px;margin-right:5px;margin-left:0}.note-popover .popover .popover-content .btn-group .note-table,.panel-heading.note-toolbar .btn-group .note-table{min-width:0;padding:5px}.note-popover .popover .popover-content .btn-group .note-table .note-dimension-picker,.panel-heading.note-toolbar .btn-group .note-table .note-dimension-picker{font-size:18px}.note-popover .popover .popover-content .btn-group .note-table .note-dimension-picker .note-dimension-picker-mousecatcher,.panel-heading.note-toolbar .btn-group .note-table .note-dimension-picker .note-dimension-picker-mousecatcher{position:absolute!important;z-index:3;width:10em;height:10em;cursor:pointer}.note-popover .popover .popover-content .btn-group .note-table .note-dimension-picker .note-dimension-picker-unhighlighted,.panel-heading.note-toolbar .btn-group .note-table .note-dimension-picker .note-dimension-picker-unhighlighted{position:relative!important;z-index:1;width:5em;height:5em;background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIj4+Pjp6ekKlAqjAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKhmnaJzPAAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC') repeat}.note-popover .popover .popover-content .btn-group .note-table .note-dimension-picker .note-dimension-picker-highlighted,.panel-heading.note-toolbar .btn-group .note-table .note-dimension-picker .note-dimension-picker-highlighted{position:absolute!important;z-index:2;width:1em;height:1em;background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIjd6vvD2f9LKLW+AAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKwNDEVT0AAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC') repeat}.note-popover .popover .popover-content .note-style h1,.panel-heading.note-toolbar .note-style h1,.note-popover .popover .popover-content .note-style h2,.panel-heading.note-toolbar .note-style h2,.note-popover .popover .popover-content .note-style h3,.panel-heading.note-toolbar .note-style h3,.note-popover .popover .popover-content .note-style h4,.panel-heading.note-toolbar .note-style h4,.note-popover .popover .popover-content .note-style h5,.panel-heading.note-toolbar .note-style h5,.note-popover .popover .popover-content .note-style h6,.panel-heading.note-toolbar .note-style h6,.note-popover .popover .popover-content .note-style blockquote,.panel-heading.note-toolbar .note-style blockquote{margin:0}.note-popover .popover .popover-content .note-color .dropdown-toggle,.panel-heading.note-toolbar .note-color .dropdown-toggle{width:20px;padding-left:5px}.note-popover .popover .popover-content .note-color .dropdown-menu,.panel-heading.note-toolbar .note-color .dropdown-menu{min-width:340px}.note-popover .popover .popover-content .note-color .dropdown-menu .btn-group,.panel-heading.note-toolbar .note-color .dropdown-menu .btn-group{margin:0}.note-popover .popover .popover-content .note-color .dropdown-menu .btn-group:first-child,.panel-heading.note-toolbar .note-color .dropdown-menu .btn-group:first-child{margin:0 5px}.note-popover .popover .popover-content .note-color .dropdown-menu .btn-group .note-palette-title,.panel-heading.note-toolbar .note-color .dropdown-menu .btn-group .note-palette-title{margin:2px 7px;font-size:12px;text-align:center;border-bottom:1px solid #eee}.note-popover .popover .popover-content .note-color .dropdown-menu .btn-group .note-color-reset,.panel-heading.note-toolbar .note-color .dropdown-menu .btn-group .note-color-reset{padding:0 3px;margin:3px;font-size:11px;cursor:pointer;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.note-popover .popover .popover-content .note-color .dropdown-menu .btn-group .note-color-row,.panel-heading.note-toolbar .note-color .dropdown-menu .btn-group .note-color-row{height:20px}.note-popover .popover .popover-content .note-color .dropdown-menu .btn-group .note-color-reset:hover,.panel-heading.note-toolbar .note-color .dropdown-menu .btn-group .note-color-reset:hover{background:#eee}.note-popover .popover .popover-content .note-para .dropdown-menu,.panel-heading.note-toolbar .note-para .dropdown-menu{min-width:216px;padding:5px}.note-popover .popover .popover-content .note-para .dropdown-menu>div:first-child,.panel-heading.note-toolbar .note-para .dropdown-menu>div:first-child{margin-right:5px}.note-popover .popover .popover-content .dropdown-menu,.panel-heading.note-toolbar .dropdown-menu{min-width:90px}.note-popover .popover .popover-content .dropdown-menu.right,.panel-heading.note-toolbar .dropdown-menu.right{right:0;left:auto}.note-popover .popover .popover-content .dropdown-menu.right::before,.panel-heading.note-toolbar .dropdown-menu.right::before{right:9px;left:auto!important}.note-popover .popover .popover-content .dropdown-menu.right::after,.panel-heading.note-toolbar .dropdown-menu.right::after{right:10px;left:auto!important}.note-popover .popover .popover-content .dropdown-menu.note-check li a i,.panel-heading.note-toolbar .dropdown-menu.note-check li a i{color:deepskyblue;visibility:hidden}.note-popover .popover .popover-content .dropdown-menu.note-check li a.checked i,.panel-heading.note-toolbar .dropdown-menu.note-check li a.checked i{visibility:visible}.note-popover .popover .popover-content .note-fontsize-10,.panel-heading.note-toolbar .note-fontsize-10{font-size:10px}.note-popover .popover .popover-content .note-color-palette,.panel-heading.note-toolbar .note-color-palette{line-height:1}.note-popover .popover .popover-content .note-color-palette div .note-color-btn,.panel-heading.note-toolbar .note-color-palette div .note-color-btn{width:20px;height:20px;padding:0;margin:0;border:1px solid #fff}.note-popover .popover .popover-content .note-color-palette div .note-color-btn:hover,.panel-heading.note-toolbar .note-color-palette div .note-color-btn:hover{border:1px solid #000}.note-dialog>div{display:none}.note-dialog .form-group{margin-right:0;margin-left:0}.note-dialog .note-modal-form{margin:0}.note-dialog .note-image-dialog .note-dropzone{min-height:100px;margin-bottom:10px;font-size:30px;line-height:4;color:lightgray;text-align:center;border:4px dashed lightgray}.note-dialog .note-help-dialog{font-size:12px;color:#ccc;background:transparent;background-color:#222!important;border:0;-webkit-opacity:.9;-khtml-opacity:.9;-moz-opacity:.9;opacity:.9;-ms-filter:alpha(opacity=90);filter:alpha(opacity=90)}.note-dialog .note-help-dialog .modal-content{background:transparent;border:1px solid white;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.note-dialog .note-help-dialog a{font-size:12px;color:white}.note-dialog .note-help-dialog .title{padding-bottom:5px;margin-bottom:10px;font-size:14px;font-weight:bold;color:white;border-bottom:white 1px solid}.note-dialog .note-help-dialog .modal-close{font-size:14px;color:#dd0;cursor:pointer}.note-dialog .note-help-dialog .text-center{margin:10px 0 0}.note-dialog .note-help-dialog .note-shortcut{padding-top:8px;padding-bottom:8px}.note-dialog .note-help-dialog .note-shortcut-row{margin-right:-5px;margin-left:-5px}.note-dialog .note-help-dialog .note-shortcut-col{padding-right:5px;padding-left:5px}.note-dialog .note-help-dialog .note-shortcut-title{font-size:13px;font-weight:bold;color:#dd0}.note-dialog .note-help-dialog .note-shortcut-key{font-family:"Courier New";color:#dd0;text-align:right}.note-handle .note-control-selection{position:absolute;display:none;border:1px solid black}.note-handle .note-control-selection>div{position:absolute}.note-handle .note-control-selection .note-control-selection-bg{width:100%;height:100%;background-color:black;-webkit-opacity:.3;-khtml-opacity:.3;-moz-opacity:.3;opacity:.3;-ms-filter:alpha(opacity=30);filter:alpha(opacity=30)}.note-handle .note-control-selection .note-control-handle{width:7px;height:7px;border:1px solid black}.note-handle .note-control-selection .note-control-holder{width:7px;height:7px;border:1px solid black}.note-handle .note-control-selection .note-control-sizing{width:7px;height:7px;background-color:white;border:1px solid black}.note-handle .note-control-selection .note-control-nw{top:-5px;left:-5px;border-right:0;border-bottom:0}.note-handle .note-control-selection .note-control-ne{top:-5px;right:-5px;border-bottom:0;border-left:none}.note-handle .note-control-selection .note-control-sw{bottom:-5px;left:-5px;border-top:0;border-right:0}.note-handle .note-control-selection .note-control-se{right:-5px;bottom:-5px;cursor:se-resize}.note-handle .note-control-selection .note-control-se.note-control-holder{cursor:default;border-top:0;border-left:none}.note-handle .note-control-selection .note-control-selection-info{right:0;bottom:0;padding:5px;margin:5px;font-size:12px;color:white;background-color:black;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;-webkit-opacity:.7;-khtml-opacity:.7;-moz-opacity:.7;opacity:.7;-ms-filter:alpha(opacity=70);filter:alpha(opacity=70)}
@@ -0,0 +1,61 @@
1
+ module Hatchy
2
+ class Admin::AnnouncementsController < Admin::ApplicationController
3
+ before_action :set_announcement, only: [:edit, :show, :update, :destroy]
4
+
5
+ # GET /announcements
6
+ def index
7
+ @announcements = Hatchy::Announcement.order(:created_at)
8
+ end
9
+
10
+ # GET /announcement/new
11
+ def new
12
+ @announcement = Hatchy::Announcement.new
13
+ end
14
+
15
+ # GET /announcement/:id/edit
16
+ def edit
17
+ end
18
+
19
+ # GET /announcement/:id
20
+ def show
21
+ end
22
+
23
+ # POST /announcement
24
+ def create
25
+ @announcement = Hatchy::Announcement.new(announcement_params)
26
+ if @announcement.valid?
27
+ @announcement.save
28
+ redirect_to admin_announcement_path(@announcement), notice: "Announcement saved successfully"
29
+ else
30
+ render :new
31
+ end
32
+ end
33
+
34
+ # PATCH /announcement/:id
35
+ # PUT /announcement/:id
36
+ def update
37
+ if @announcement.update(announcement_params)
38
+ redirect_to admin_announcement_path(@announcement), notice: 'Announcement was successfully updated.'
39
+ else
40
+ render :edit
41
+ flash[:error] = @announcement.errors.full_messages.to_sentence
42
+ end
43
+ end
44
+
45
+ # DELETE /announcement/1
46
+ def destroy
47
+ @announcement.destroy
48
+ redirect_to admin_announcements_path, notice: 'Announcement was successfully destroyed.'
49
+ end
50
+
51
+ private
52
+ def set_announcement
53
+ @announcement = Hatchy::Announcement.find(params[:id])
54
+ end
55
+
56
+ def announcement_params
57
+ params[:announcement].permit(:message, :starts_at, :ends_at)
58
+ end
59
+
60
+ end
61
+ end