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,12 @@
1
+ //= require 'hatchy/bootstrap/transition'
2
+ //= require 'hatchy/bootstrap/affix'
3
+ //= require 'hatchy/bootstrap/alert'
4
+ //= require 'hatchy/bootstrap/button'
5
+ //= require 'hatchy/bootstrap/carousel'
6
+ //= require 'hatchy/bootstrap/collapse'
7
+ //= require 'hatchy/bootstrap/dropdown'
8
+ //= require 'hatchy/bootstrap/modal'
9
+ //= require 'hatchy/bootstrap/scrollspy'
10
+ //= require 'hatchy/bootstrap/tab'
11
+ //= require 'hatchy/bootstrap/tooltip'
12
+ //= require 'hatchy/bootstrap/popover'
@@ -0,0 +1,120 @@
1
+ /* ========================================================================
2
+ * Bootstrap: button.js v3.3.5
3
+ * http://getbootstrap.com/javascript/#buttons
4
+ * ========================================================================
5
+ * Copyright 2011-2015 Twitter, Inc.
6
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
7
+ * ======================================================================== */
8
+
9
+
10
+ +function ($) {
11
+ 'use strict';
12
+
13
+ // BUTTON PUBLIC CLASS DEFINITION
14
+ // ==============================
15
+
16
+ var Button = function (element, options) {
17
+ this.$element = $(element)
18
+ this.options = $.extend({}, Button.DEFAULTS, options)
19
+ this.isLoading = false
20
+ }
21
+
22
+ Button.VERSION = '3.3.5'
23
+
24
+ Button.DEFAULTS = {
25
+ loadingText: 'loading...'
26
+ }
27
+
28
+ Button.prototype.setState = function (state) {
29
+ var d = 'disabled'
30
+ var $el = this.$element
31
+ var val = $el.is('input') ? 'val' : 'html'
32
+ var data = $el.data()
33
+
34
+ state += 'Text'
35
+
36
+ if (data.resetText == null) $el.data('resetText', $el[val]())
37
+
38
+ // push to event loop to allow forms to submit
39
+ setTimeout($.proxy(function () {
40
+ $el[val](data[state] == null ? this.options[state] : data[state])
41
+
42
+ if (state == 'loadingText') {
43
+ this.isLoading = true
44
+ $el.addClass(d).attr(d, d)
45
+ } else if (this.isLoading) {
46
+ this.isLoading = false
47
+ $el.removeClass(d).removeAttr(d)
48
+ }
49
+ }, this), 0)
50
+ }
51
+
52
+ Button.prototype.toggle = function () {
53
+ var changed = true
54
+ var $parent = this.$element.closest('[data-toggle="buttons"]')
55
+
56
+ if ($parent.length) {
57
+ var $input = this.$element.find('input')
58
+ if ($input.prop('type') == 'radio') {
59
+ if ($input.prop('checked')) changed = false
60
+ $parent.find('.active').removeClass('active')
61
+ this.$element.addClass('active')
62
+ } else if ($input.prop('type') == 'checkbox') {
63
+ if (($input.prop('checked')) !== this.$element.hasClass('active')) changed = false
64
+ this.$element.toggleClass('active')
65
+ }
66
+ $input.prop('checked', this.$element.hasClass('active'))
67
+ if (changed) $input.trigger('change')
68
+ } else {
69
+ this.$element.attr('aria-pressed', !this.$element.hasClass('active'))
70
+ this.$element.toggleClass('active')
71
+ }
72
+ }
73
+
74
+
75
+ // BUTTON PLUGIN DEFINITION
76
+ // ========================
77
+
78
+ function Plugin(option) {
79
+ return this.each(function () {
80
+ var $this = $(this)
81
+ var data = $this.data('bs.button')
82
+ var options = typeof option == 'object' && option
83
+
84
+ if (!data) $this.data('bs.button', (data = new Button(this, options)))
85
+
86
+ if (option == 'toggle') data.toggle()
87
+ else if (option) data.setState(option)
88
+ })
89
+ }
90
+
91
+ var old = $.fn.button
92
+
93
+ $.fn.button = Plugin
94
+ $.fn.button.Constructor = Button
95
+
96
+
97
+ // BUTTON NO CONFLICT
98
+ // ==================
99
+
100
+ $.fn.button.noConflict = function () {
101
+ $.fn.button = old
102
+ return this
103
+ }
104
+
105
+
106
+ // BUTTON DATA-API
107
+ // ===============
108
+
109
+ $(document)
110
+ .on('click.bs.button.data-api', '[data-toggle^="button"]', function (e) {
111
+ var $btn = $(e.target)
112
+ if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn')
113
+ Plugin.call($btn, 'toggle')
114
+ if (!($(e.target).is('input[type="radio"]') || $(e.target).is('input[type="checkbox"]'))) e.preventDefault()
115
+ })
116
+ .on('focus.bs.button.data-api blur.bs.button.data-api', '[data-toggle^="button"]', function (e) {
117
+ $(e.target).closest('.btn').toggleClass('focus', /^focus(in)?$/.test(e.type))
118
+ })
119
+
120
+ }(jQuery);
@@ -0,0 +1,237 @@
1
+ /* ========================================================================
2
+ * Bootstrap: carousel.js v3.3.5
3
+ * http://getbootstrap.com/javascript/#carousel
4
+ * ========================================================================
5
+ * Copyright 2011-2015 Twitter, Inc.
6
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
7
+ * ======================================================================== */
8
+
9
+
10
+ +function ($) {
11
+ 'use strict';
12
+
13
+ // CAROUSEL CLASS DEFINITION
14
+ // =========================
15
+
16
+ var Carousel = function (element, options) {
17
+ this.$element = $(element)
18
+ this.$indicators = this.$element.find('.carousel-indicators')
19
+ this.options = options
20
+ this.paused = null
21
+ this.sliding = null
22
+ this.interval = null
23
+ this.$active = null
24
+ this.$items = null
25
+
26
+ this.options.keyboard && this.$element.on('keydown.bs.carousel', $.proxy(this.keydown, this))
27
+
28
+ this.options.pause == 'hover' && !('ontouchstart' in document.documentElement) && this.$element
29
+ .on('mouseenter.bs.carousel', $.proxy(this.pause, this))
30
+ .on('mouseleave.bs.carousel', $.proxy(this.cycle, this))
31
+ }
32
+
33
+ Carousel.VERSION = '3.3.5'
34
+
35
+ Carousel.TRANSITION_DURATION = 600
36
+
37
+ Carousel.DEFAULTS = {
38
+ interval: 5000,
39
+ pause: 'hover',
40
+ wrap: true,
41
+ keyboard: true
42
+ }
43
+
44
+ Carousel.prototype.keydown = function (e) {
45
+ if (/input|textarea/i.test(e.target.tagName)) return
46
+ switch (e.which) {
47
+ case 37: this.prev(); break
48
+ case 39: this.next(); break
49
+ default: return
50
+ }
51
+
52
+ e.preventDefault()
53
+ }
54
+
55
+ Carousel.prototype.cycle = function (e) {
56
+ e || (this.paused = false)
57
+
58
+ this.interval && clearInterval(this.interval)
59
+
60
+ this.options.interval
61
+ && !this.paused
62
+ && (this.interval = setInterval($.proxy(this.next, this), this.options.interval))
63
+
64
+ return this
65
+ }
66
+
67
+ Carousel.prototype.getItemIndex = function (item) {
68
+ this.$items = item.parent().children('.item')
69
+ return this.$items.index(item || this.$active)
70
+ }
71
+
72
+ Carousel.prototype.getItemForDirection = function (direction, active) {
73
+ var activeIndex = this.getItemIndex(active)
74
+ var willWrap = (direction == 'prev' && activeIndex === 0)
75
+ || (direction == 'next' && activeIndex == (this.$items.length - 1))
76
+ if (willWrap && !this.options.wrap) return active
77
+ var delta = direction == 'prev' ? -1 : 1
78
+ var itemIndex = (activeIndex + delta) % this.$items.length
79
+ return this.$items.eq(itemIndex)
80
+ }
81
+
82
+ Carousel.prototype.to = function (pos) {
83
+ var that = this
84
+ var activeIndex = this.getItemIndex(this.$active = this.$element.find('.item.active'))
85
+
86
+ if (pos > (this.$items.length - 1) || pos < 0) return
87
+
88
+ if (this.sliding) return this.$element.one('slid.bs.carousel', function () { that.to(pos) }) // yes, "slid"
89
+ if (activeIndex == pos) return this.pause().cycle()
90
+
91
+ return this.slide(pos > activeIndex ? 'next' : 'prev', this.$items.eq(pos))
92
+ }
93
+
94
+ Carousel.prototype.pause = function (e) {
95
+ e || (this.paused = true)
96
+
97
+ if (this.$element.find('.next, .prev').length && $.support.transition) {
98
+ this.$element.trigger($.support.transition.end)
99
+ this.cycle(true)
100
+ }
101
+
102
+ this.interval = clearInterval(this.interval)
103
+
104
+ return this
105
+ }
106
+
107
+ Carousel.prototype.next = function () {
108
+ if (this.sliding) return
109
+ return this.slide('next')
110
+ }
111
+
112
+ Carousel.prototype.prev = function () {
113
+ if (this.sliding) return
114
+ return this.slide('prev')
115
+ }
116
+
117
+ Carousel.prototype.slide = function (type, next) {
118
+ var $active = this.$element.find('.item.active')
119
+ var $next = next || this.getItemForDirection(type, $active)
120
+ var isCycling = this.interval
121
+ var direction = type == 'next' ? 'left' : 'right'
122
+ var that = this
123
+
124
+ if ($next.hasClass('active')) return (this.sliding = false)
125
+
126
+ var relatedTarget = $next[0]
127
+ var slideEvent = $.Event('slide.bs.carousel', {
128
+ relatedTarget: relatedTarget,
129
+ direction: direction
130
+ })
131
+ this.$element.trigger(slideEvent)
132
+ if (slideEvent.isDefaultPrevented()) return
133
+
134
+ this.sliding = true
135
+
136
+ isCycling && this.pause()
137
+
138
+ if (this.$indicators.length) {
139
+ this.$indicators.find('.active').removeClass('active')
140
+ var $nextIndicator = $(this.$indicators.children()[this.getItemIndex($next)])
141
+ $nextIndicator && $nextIndicator.addClass('active')
142
+ }
143
+
144
+ var slidEvent = $.Event('slid.bs.carousel', { relatedTarget: relatedTarget, direction: direction }) // yes, "slid"
145
+ if ($.support.transition && this.$element.hasClass('slide')) {
146
+ $next.addClass(type)
147
+ $next[0].offsetWidth // force reflow
148
+ $active.addClass(direction)
149
+ $next.addClass(direction)
150
+ $active
151
+ .one('bsTransitionEnd', function () {
152
+ $next.removeClass([type, direction].join(' ')).addClass('active')
153
+ $active.removeClass(['active', direction].join(' '))
154
+ that.sliding = false
155
+ setTimeout(function () {
156
+ that.$element.trigger(slidEvent)
157
+ }, 0)
158
+ })
159
+ .emulateTransitionEnd(Carousel.TRANSITION_DURATION)
160
+ } else {
161
+ $active.removeClass('active')
162
+ $next.addClass('active')
163
+ this.sliding = false
164
+ this.$element.trigger(slidEvent)
165
+ }
166
+
167
+ isCycling && this.cycle()
168
+
169
+ return this
170
+ }
171
+
172
+
173
+ // CAROUSEL PLUGIN DEFINITION
174
+ // ==========================
175
+
176
+ function Plugin(option) {
177
+ return this.each(function () {
178
+ var $this = $(this)
179
+ var data = $this.data('bs.carousel')
180
+ var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option)
181
+ var action = typeof option == 'string' ? option : options.slide
182
+
183
+ if (!data) $this.data('bs.carousel', (data = new Carousel(this, options)))
184
+ if (typeof option == 'number') data.to(option)
185
+ else if (action) data[action]()
186
+ else if (options.interval) data.pause().cycle()
187
+ })
188
+ }
189
+
190
+ var old = $.fn.carousel
191
+
192
+ $.fn.carousel = Plugin
193
+ $.fn.carousel.Constructor = Carousel
194
+
195
+
196
+ // CAROUSEL NO CONFLICT
197
+ // ====================
198
+
199
+ $.fn.carousel.noConflict = function () {
200
+ $.fn.carousel = old
201
+ return this
202
+ }
203
+
204
+
205
+ // CAROUSEL DATA-API
206
+ // =================
207
+
208
+ var clickHandler = function (e) {
209
+ var href
210
+ var $this = $(this)
211
+ var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) // strip for ie7
212
+ if (!$target.hasClass('carousel')) return
213
+ var options = $.extend({}, $target.data(), $this.data())
214
+ var slideIndex = $this.attr('data-slide-to')
215
+ if (slideIndex) options.interval = false
216
+
217
+ Plugin.call($target, options)
218
+
219
+ if (slideIndex) {
220
+ $target.data('bs.carousel').to(slideIndex)
221
+ }
222
+
223
+ e.preventDefault()
224
+ }
225
+
226
+ $(document)
227
+ .on('click.bs.carousel.data-api', '[data-slide]', clickHandler)
228
+ .on('click.bs.carousel.data-api', '[data-slide-to]', clickHandler)
229
+
230
+ $(window).on('load', function () {
231
+ $('[data-ride="carousel"]').each(function () {
232
+ var $carousel = $(this)
233
+ Plugin.call($carousel, $carousel.data())
234
+ })
235
+ })
236
+
237
+ }(jQuery);
@@ -0,0 +1,211 @@
1
+ /* ========================================================================
2
+ * Bootstrap: collapse.js v3.3.5
3
+ * http://getbootstrap.com/javascript/#collapse
4
+ * ========================================================================
5
+ * Copyright 2011-2015 Twitter, Inc.
6
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
7
+ * ======================================================================== */
8
+
9
+
10
+ +function ($) {
11
+ 'use strict';
12
+
13
+ // COLLAPSE PUBLIC CLASS DEFINITION
14
+ // ================================
15
+
16
+ var Collapse = function (element, options) {
17
+ this.$element = $(element)
18
+ this.options = $.extend({}, Collapse.DEFAULTS, options)
19
+ this.$trigger = $('[data-toggle="collapse"][href="#' + element.id + '"],' +
20
+ '[data-toggle="collapse"][data-target="#' + element.id + '"]')
21
+ this.transitioning = null
22
+
23
+ if (this.options.parent) {
24
+ this.$parent = this.getParent()
25
+ } else {
26
+ this.addAriaAndCollapsedClass(this.$element, this.$trigger)
27
+ }
28
+
29
+ if (this.options.toggle) this.toggle()
30
+ }
31
+
32
+ Collapse.VERSION = '3.3.5'
33
+
34
+ Collapse.TRANSITION_DURATION = 350
35
+
36
+ Collapse.DEFAULTS = {
37
+ toggle: true
38
+ }
39
+
40
+ Collapse.prototype.dimension = function () {
41
+ var hasWidth = this.$element.hasClass('width')
42
+ return hasWidth ? 'width' : 'height'
43
+ }
44
+
45
+ Collapse.prototype.show = function () {
46
+ if (this.transitioning || this.$element.hasClass('in')) return
47
+
48
+ var activesData
49
+ var actives = this.$parent && this.$parent.children('.panel').children('.in, .collapsing')
50
+
51
+ if (actives && actives.length) {
52
+ activesData = actives.data('bs.collapse')
53
+ if (activesData && activesData.transitioning) return
54
+ }
55
+
56
+ var startEvent = $.Event('show.bs.collapse')
57
+ this.$element.trigger(startEvent)
58
+ if (startEvent.isDefaultPrevented()) return
59
+
60
+ if (actives && actives.length) {
61
+ Plugin.call(actives, 'hide')
62
+ activesData || actives.data('bs.collapse', null)
63
+ }
64
+
65
+ var dimension = this.dimension()
66
+
67
+ this.$element
68
+ .removeClass('collapse')
69
+ .addClass('collapsing')[dimension](0)
70
+ .attr('aria-expanded', true)
71
+
72
+ this.$trigger
73
+ .removeClass('collapsed')
74
+ .attr('aria-expanded', true)
75
+
76
+ this.transitioning = 1
77
+
78
+ var complete = function () {
79
+ this.$element
80
+ .removeClass('collapsing')
81
+ .addClass('collapse in')[dimension]('')
82
+ this.transitioning = 0
83
+ this.$element
84
+ .trigger('shown.bs.collapse')
85
+ }
86
+
87
+ if (!$.support.transition) return complete.call(this)
88
+
89
+ var scrollSize = $.camelCase(['scroll', dimension].join('-'))
90
+
91
+ this.$element
92
+ .one('bsTransitionEnd', $.proxy(complete, this))
93
+ .emulateTransitionEnd(Collapse.TRANSITION_DURATION)[dimension](this.$element[0][scrollSize])
94
+ }
95
+
96
+ Collapse.prototype.hide = function () {
97
+ if (this.transitioning || !this.$element.hasClass('in')) return
98
+
99
+ var startEvent = $.Event('hide.bs.collapse')
100
+ this.$element.trigger(startEvent)
101
+ if (startEvent.isDefaultPrevented()) return
102
+
103
+ var dimension = this.dimension()
104
+
105
+ this.$element[dimension](this.$element[dimension]())[0].offsetHeight
106
+
107
+ this.$element
108
+ .addClass('collapsing')
109
+ .removeClass('collapse in')
110
+ .attr('aria-expanded', false)
111
+
112
+ this.$trigger
113
+ .addClass('collapsed')
114
+ .attr('aria-expanded', false)
115
+
116
+ this.transitioning = 1
117
+
118
+ var complete = function () {
119
+ this.transitioning = 0
120
+ this.$element
121
+ .removeClass('collapsing')
122
+ .addClass('collapse')
123
+ .trigger('hidden.bs.collapse')
124
+ }
125
+
126
+ if (!$.support.transition) return complete.call(this)
127
+
128
+ this.$element
129
+ [dimension](0)
130
+ .one('bsTransitionEnd', $.proxy(complete, this))
131
+ .emulateTransitionEnd(Collapse.TRANSITION_DURATION)
132
+ }
133
+
134
+ Collapse.prototype.toggle = function () {
135
+ this[this.$element.hasClass('in') ? 'hide' : 'show']()
136
+ }
137
+
138
+ Collapse.prototype.getParent = function () {
139
+ return $(this.options.parent)
140
+ .find('[data-toggle="collapse"][data-parent="' + this.options.parent + '"]')
141
+ .each($.proxy(function (i, element) {
142
+ var $element = $(element)
143
+ this.addAriaAndCollapsedClass(getTargetFromTrigger($element), $element)
144
+ }, this))
145
+ .end()
146
+ }
147
+
148
+ Collapse.prototype.addAriaAndCollapsedClass = function ($element, $trigger) {
149
+ var isOpen = $element.hasClass('in')
150
+
151
+ $element.attr('aria-expanded', isOpen)
152
+ $trigger
153
+ .toggleClass('collapsed', !isOpen)
154
+ .attr('aria-expanded', isOpen)
155
+ }
156
+
157
+ function getTargetFromTrigger($trigger) {
158
+ var href
159
+ var target = $trigger.attr('data-target')
160
+ || (href = $trigger.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') // strip for ie7
161
+
162
+ return $(target)
163
+ }
164
+
165
+
166
+ // COLLAPSE PLUGIN DEFINITION
167
+ // ==========================
168
+
169
+ function Plugin(option) {
170
+ return this.each(function () {
171
+ var $this = $(this)
172
+ var data = $this.data('bs.collapse')
173
+ var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option)
174
+
175
+ if (!data && options.toggle && /show|hide/.test(option)) options.toggle = false
176
+ if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)))
177
+ if (typeof option == 'string') data[option]()
178
+ })
179
+ }
180
+
181
+ var old = $.fn.collapse
182
+
183
+ $.fn.collapse = Plugin
184
+ $.fn.collapse.Constructor = Collapse
185
+
186
+
187
+ // COLLAPSE NO CONFLICT
188
+ // ====================
189
+
190
+ $.fn.collapse.noConflict = function () {
191
+ $.fn.collapse = old
192
+ return this
193
+ }
194
+
195
+
196
+ // COLLAPSE DATA-API
197
+ // =================
198
+
199
+ $(document).on('click.bs.collapse.data-api', '[data-toggle="collapse"]', function (e) {
200
+ var $this = $(this)
201
+
202
+ if (!$this.attr('data-target')) e.preventDefault()
203
+
204
+ var $target = getTargetFromTrigger($this)
205
+ var data = $target.data('bs.collapse')
206
+ var option = data ? 'toggle' : $this.data()
207
+
208
+ Plugin.call($target, option)
209
+ })
210
+
211
+ }(jQuery);