hatchy 0.0.5.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/Rakefile +20 -0
- data/app/assets/javascripts/hatchy/admin.js +36 -0
- data/app/assets/javascripts/hatchy/admin/dashboard.js +26 -0
- data/app/assets/javascripts/hatchy/application.js +88 -0
- data/app/assets/javascripts/hatchy/bootstrap/affix.js +162 -0
- data/app/assets/javascripts/hatchy/bootstrap/alert.js +94 -0
- data/app/assets/javascripts/hatchy/bootstrap/bootstrap.js +12 -0
- data/app/assets/javascripts/hatchy/bootstrap/button.js +120 -0
- data/app/assets/javascripts/hatchy/bootstrap/carousel.js +237 -0
- data/app/assets/javascripts/hatchy/bootstrap/collapse.js +211 -0
- data/app/assets/javascripts/hatchy/bootstrap/dropdown.js +165 -0
- data/app/assets/javascripts/hatchy/bootstrap/modal.js +337 -0
- data/app/assets/javascripts/hatchy/bootstrap/popover.js +108 -0
- data/app/assets/javascripts/hatchy/bootstrap/scrollspy.js +172 -0
- data/app/assets/javascripts/hatchy/bootstrap/tab.js +155 -0
- data/app/assets/javascripts/hatchy/bootstrap/tooltip.js +514 -0
- data/app/assets/javascripts/hatchy/bootstrap/transition.js +59 -0
- data/app/assets/javascripts/hatchy/dashboard.js +24 -0
- data/app/assets/javascripts/hatchy/hatchy.js +8 -0
- data/app/assets/javascripts/hatchy/home.js +17 -0
- data/app/assets/javascripts/hatchy/libraries/jquery.countdown.js +206 -0
- data/app/assets/javascripts/hatchy/libraries/owl.carousel.js +1512 -0
- data/app/assets/javascripts/hatchy/libraries/pnotify.custom.js +1421 -0
- data/app/assets/javascripts/hatchy/libraries/summernote.js +7300 -0
- data/app/assets/javascripts/hatchy/projects/contributions/new_contribution.js +57 -0
- data/app/assets/javascripts/hatchy/projects/edit.js +59 -0
- data/app/assets/javascripts/hatchy/projects/show.js +16 -0
- data/app/assets/javascripts/hatchy/users/edit.js +29 -0
- data/app/assets/stylesheets/hatchy/admin.scss.erb +68 -0
- data/app/assets/stylesheets/hatchy/base.scss +195 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_alerts.scss +73 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_badges.scss +68 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_breadcrumbs.scss +26 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_button-groups.scss +244 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_buttons.scss +168 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_carousel.scss +269 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_close.scss +36 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_code.scss +69 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_component-animations.scss +37 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_dropdowns.scss +216 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_forms.scss +611 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_glyphicons.scss +307 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_grid.scss +84 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_input-groups.scss +167 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_jumbotron.scss +52 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_labels.scss +66 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_list-group.scss +130 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_media.scss +66 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_mixins.scss +40 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_modals.scss +150 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_navbar.scss +662 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_navs.scss +242 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_normalize.scss +424 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_pager.scss +54 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_pagination.scss +89 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_panels.scss +271 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_popovers.scss +131 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_print.scss +101 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_progress-bars.scss +87 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_responsive-embed.scss +35 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_responsive-utilities.scss +179 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_scaffolding.scss +161 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_tables.scss +234 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_theme.scss +291 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_thumbnails.scss +38 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_tooltip.scss +101 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_type.scss +298 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_utilities.scss +55 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_variables.scss +872 -0
- data/app/assets/stylesheets/hatchy/bootstrap/_wells.scss +29 -0
- data/app/assets/stylesheets/hatchy/bootstrap/mixins/_alerts.scss +14 -0
- data/app/assets/stylesheets/hatchy/bootstrap/mixins/_background-variant.scss +12 -0
- data/app/assets/stylesheets/hatchy/bootstrap/mixins/_border-radius.scss +18 -0
- data/app/assets/stylesheets/hatchy/bootstrap/mixins/_buttons.scss +68 -0
- data/app/assets/stylesheets/hatchy/bootstrap/mixins/_center-block.scss +7 -0
- data/app/assets/stylesheets/hatchy/bootstrap/mixins/_clearfix.scss +22 -0
- data/app/assets/stylesheets/hatchy/bootstrap/mixins/_forms.scss +88 -0
- data/app/assets/stylesheets/hatchy/bootstrap/mixins/_gradients.scss +58 -0
- data/app/assets/stylesheets/hatchy/bootstrap/mixins/_grid-framework.scss +81 -0
- data/app/assets/stylesheets/hatchy/bootstrap/mixins/_grid.scss +122 -0
- data/app/assets/stylesheets/hatchy/bootstrap/mixins/_hide-text.scss +21 -0
- data/app/assets/stylesheets/hatchy/bootstrap/mixins/_image.scss +33 -0
- data/app/assets/stylesheets/hatchy/bootstrap/mixins/_labels.scss +12 -0
- data/app/assets/stylesheets/hatchy/bootstrap/mixins/_list-group.scss +32 -0
- data/app/assets/stylesheets/hatchy/bootstrap/mixins/_nav-divider.scss +10 -0
- data/app/assets/stylesheets/hatchy/bootstrap/mixins/_nav-vertical-align.scss +9 -0
- data/app/assets/stylesheets/hatchy/bootstrap/mixins/_opacity.scss +8 -0
- data/app/assets/stylesheets/hatchy/bootstrap/mixins/_pagination.scss +24 -0
- data/app/assets/stylesheets/hatchy/bootstrap/mixins/_panels.scss +24 -0
- data/app/assets/stylesheets/hatchy/bootstrap/mixins/_progress-bar.scss +10 -0
- data/app/assets/stylesheets/hatchy/bootstrap/mixins/_reset-filter.scss +8 -0
- data/app/assets/stylesheets/hatchy/bootstrap/mixins/_reset-text.scss +18 -0
- data/app/assets/stylesheets/hatchy/bootstrap/mixins/_resize.scss +6 -0
- data/app/assets/stylesheets/hatchy/bootstrap/mixins/_responsive-visibility.scss +21 -0
- data/app/assets/stylesheets/hatchy/bootstrap/mixins/_size.scss +10 -0
- data/app/assets/stylesheets/hatchy/bootstrap/mixins/_tab-focus.scss +9 -0
- data/app/assets/stylesheets/hatchy/bootstrap/mixins/_table-row.scss +28 -0
- data/app/assets/stylesheets/hatchy/bootstrap/mixins/_text-emphasis.scss +12 -0
- data/app/assets/stylesheets/hatchy/bootstrap/mixins/_text-overflow.scss +8 -0
- data/app/assets/stylesheets/hatchy/bootstrap/mixins/_vendor-prefixes.scss +222 -0
- data/app/assets/stylesheets/hatchy/hatchy.scss.erb +72 -0
- data/app/assets/stylesheets/hatchy/libraries/owl/owl.carousel.css +71 -0
- data/app/assets/stylesheets/hatchy/libraries/owl/owl.theme.css +79 -0
- data/app/assets/stylesheets/hatchy/libraries/pnotify.custom.css +178 -0
- data/app/assets/stylesheets/hatchy/libraries/summernote.css +1 -0
- data/app/assets/stylesheets/hatchy/themes/default/_variables.scss +0 -0
- data/app/assets/stylesheets/hatchy/themes/default/mixins.scss +0 -0
- data/app/assets/stylesheets/hatchy/themes/default/theme.scss +0 -0
- data/app/controllers/hatchy/admin/announcements_controller.rb +61 -0
- data/app/controllers/hatchy/admin/application_controller.rb +30 -0
- data/app/controllers/hatchy/admin/banks_controller.rb +61 -0
- data/app/controllers/hatchy/admin/categories_controller.rb +61 -0
- data/app/controllers/hatchy/admin/countries_controller.rb +61 -0
- data/app/controllers/hatchy/admin/dashboard_controller.rb +15 -0
- data/app/controllers/hatchy/announcements_controller.rb +11 -0
- data/app/controllers/hatchy/application_controller.rb +15 -0
- data/app/controllers/hatchy/dashboard_controller.rb +8 -0
- data/app/controllers/hatchy/home_controller.rb +20 -0
- data/app/controllers/hatchy/projects/contributions_controller.rb +60 -0
- data/app/controllers/hatchy/projects_controller.rb +99 -0
- data/app/controllers/hatchy/users_controller.rb +47 -0
- data/app/helpers/hatchy/application_helper.rb +4 -0
- data/app/helpers/hatchy/form_helper.rb +30 -0
- data/app/helpers/hatchy/layout_helper.rb +43 -0
- data/app/models/concerns/hatchy/project_states.rb +173 -0
- data/app/models/hatchy/announcement.rb +9 -0
- data/app/models/hatchy/bank.rb +6 -0
- data/app/models/hatchy/bank_account.rb +7 -0
- data/app/models/hatchy/category.rb +16 -0
- data/app/models/hatchy/category_follower.rb +7 -0
- data/app/models/hatchy/contribution.rb +45 -0
- data/app/models/hatchy/country.rb +5 -0
- data/app/models/hatchy/project.rb +46 -0
- data/app/models/hatchy/project_account.rb +10 -0
- data/app/models/hatchy/reward.rb +8 -0
- data/app/models/hatchy/user.rb +25 -0
- data/app/policies/hatchy/admin/application_policy.rb +7 -0
- data/app/policies/hatchy/application_policy.rb +57 -0
- data/app/policies/hatchy/project_policy.rb +19 -0
- data/app/policies/hatchy/user_policy.rb +16 -0
- data/app/uploaders/hatchy/project_uploader.rb +10 -0
- data/app/uploaders/hatchy/user_uploader.rb +9 -0
- data/app/views/devise/registrations/new.html.haml +23 -0
- data/app/views/devise/sessions/new.html.haml +26 -0
- data/app/views/devise/shared/_links.html.erb +25 -0
- data/app/views/hatchy/admin/announcements/edit.html.haml +10 -0
- data/app/views/hatchy/admin/announcements/index.html.haml +10 -0
- data/app/views/hatchy/admin/announcements/new.html.haml +10 -0
- data/app/views/hatchy/admin/announcements/show.html.haml +13 -0
- data/app/views/hatchy/admin/banks/edit.html.haml +10 -0
- data/app/views/hatchy/admin/banks/index.html.haml +10 -0
- data/app/views/hatchy/admin/banks/new.html.haml +10 -0
- data/app/views/hatchy/admin/banks/show.html.haml +13 -0
- data/app/views/hatchy/admin/categories/edit.html.haml +10 -0
- data/app/views/hatchy/admin/categories/index.html.haml +10 -0
- data/app/views/hatchy/admin/categories/new.html.haml +10 -0
- data/app/views/hatchy/admin/categories/show.html.haml +13 -0
- data/app/views/hatchy/admin/countries/edit.html.haml +10 -0
- data/app/views/hatchy/admin/countries/index.html.haml +10 -0
- data/app/views/hatchy/admin/countries/new.html.haml +10 -0
- data/app/views/hatchy/admin/countries/show.html.haml +13 -0
- data/app/views/hatchy/admin/dashboard/_last_updated_table.html.haml +32 -0
- data/app/views/hatchy/admin/dashboard/index.html.haml +14 -0
- data/app/views/hatchy/admin/shared/_admin_navtabs.html.haml +17 -0
- data/app/views/hatchy/admin/shared/_admin_sidebar.html.haml +38 -0
- data/app/views/hatchy/admin/shared/_model_form.html.haml +22 -0
- data/app/views/hatchy/admin/shared/_model_index.html.haml +31 -0
- data/app/views/hatchy/admin/shared/_model_show.html.haml +10 -0
- data/app/views/hatchy/dashboard/_projects_you_support.html.haml +8 -0
- data/app/views/hatchy/dashboard/_your_projects.html.haml +10 -0
- data/app/views/hatchy/dashboard/index.html.haml +8 -0
- data/app/views/hatchy/home/_recommended_projects.html.haml +7 -0
- data/app/views/hatchy/home/explore.html.haml +29 -0
- data/app/views/hatchy/home/index.html.haml +4 -0
- data/app/views/hatchy/projects/_reward_fields.html.haml +21 -0
- data/app/views/hatchy/projects/contributions/_billing.html.haml +40 -0
- data/app/views/hatchy/projects/contributions/_form.html.haml +7 -0
- data/app/views/hatchy/projects/contributions/_payment.html.haml +18 -0
- data/app/views/hatchy/projects/contributions/_rewards.html.haml +19 -0
- data/app/views/hatchy/projects/contributions/new.html.haml +7 -0
- data/app/views/hatchy/projects/edit.html.haml +18 -0
- data/app/views/hatchy/projects/edit/_account.html.haml +60 -0
- data/app/views/hatchy/projects/edit/_analysis_success.html.haml +12 -0
- data/app/views/hatchy/projects/edit/_basic.html.haml +24 -0
- data/app/views/hatchy/projects/edit/_budget.html.haml +16 -0
- data/app/views/hatchy/projects/edit/_description.html.haml +18 -0
- data/app/views/hatchy/projects/edit/_goal.html.haml +25 -0
- data/app/views/hatchy/projects/edit/_project_card.html.haml +24 -0
- data/app/views/hatchy/projects/edit/_project_sidebar.html.haml +67 -0
- data/app/views/hatchy/projects/edit/_rewards.html.haml +16 -0
- data/app/views/hatchy/projects/edit/_video.html.haml +17 -0
- data/app/views/hatchy/projects/new.html.haml +16 -0
- data/app/views/hatchy/projects/show.html.haml +63 -0
- data/app/views/hatchy/shared/_project.html.haml +29 -0
- data/app/views/hatchy/users/edit.html.haml +17 -0
- data/app/views/hatchy/users/edit/_about_you.html.haml +37 -0
- data/app/views/hatchy/users/edit/_banks_and_cards.html.haml +17 -0
- data/app/views/hatchy/users/edit/_data_and_address.html.haml +47 -0
- data/app/views/hatchy/users/edit/_notifications.html.haml +16 -0
- data/app/views/hatchy/users/show.html.haml +1 -0
- data/app/views/layouts/hatchy/_footer.html.haml +1 -0
- data/app/views/layouts/hatchy/_navbar.html.haml +32 -0
- data/app/views/layouts/hatchy/admin/admin_layout.html.haml +26 -0
- data/app/views/layouts/hatchy/application.html.haml +22 -0
- data/config/initializers/devise.rb +266 -0
- data/config/locales/devise.en.yml +60 -0
- data/config/locales/en.yml +146 -0
- data/config/routes.rb +54 -0
- data/db/countries.txt +252 -0
- data/db/migrate/20160111174923_create_hatchy_announcements.rb +10 -0
- data/db/migrate/20160111174945_create_hatchy_banks.rb +10 -0
- data/db/migrate/20160111175001_create_hatchy_bank_accounts.rb +12 -0
- data/db/migrate/20160111175017_create_hatchy_categories.rb +9 -0
- data/db/migrate/20160111175037_create_hatchy_contributions.rb +31 -0
- data/db/migrate/20160111175055_create_hatchy_countries.rb +14 -0
- data/db/migrate/20160111175124_create_hatchy_rewards.rb +14 -0
- data/db/migrate/20160111175139_create_hatchy_projects.rb +27 -0
- data/db/migrate/20160111175158_create_hatchy_project_accounts.rb +26 -0
- data/db/migrate/20160111175249_devise_create_hatchy_users.rb +64 -0
- data/db/migrate/20160111181655_create_hatchy_category_followers.rb +10 -0
- data/db/seed.rb +43 -0
- data/lib/hatchy.rb +24 -0
- data/lib/hatchy/country_importer.rb +32 -0
- data/lib/hatchy/engine.rb +43 -0
- data/lib/hatchy/setup_generator.rb +10 -0
- data/lib/hatchy/version.rb +3 -0
- data/lib/tasks/hatchy_tasks.rake +18 -0
- data/spec/controllers/hatchy/admin/announcements_controller_spec.rb +7 -0
- data/spec/controllers/hatchy/admin/application_controller_spec.rb +7 -0
- data/spec/controllers/hatchy/admin/banks_controller_spec.rb +7 -0
- data/spec/controllers/hatchy/admin/categories_controller_spec.rb +7 -0
- data/spec/controllers/hatchy/admin/countries_controller_spec.rb +7 -0
- data/spec/controllers/hatchy/admin/dashboard_controller_spec.rb +7 -0
- data/spec/controllers/hatchy/announcements_controller_spec.rb +7 -0
- data/spec/controllers/hatchy/dashboard_controller_spec.rb +7 -0
- data/spec/controllers/hatchy/home_controller_spec.rb +7 -0
- data/spec/controllers/hatchy/projects/contributions_controller_spec.rb +7 -0
- data/spec/controllers/hatchy/projects_controller_spec.rb +7 -0
- data/spec/controllers/hatchy/users_controller_spec.rb +7 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +29 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +78 -0
- data/spec/dummy/config/environments/test.rb +39 -0
- data/spec/dummy/config/initializers/assets.rb +8 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +3 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +207 -0
- data/spec/dummy/log/development.log +20486 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/public/uploads/hatchy/project/project_img/1/circus.jpg +0 -0
- data/spec/dummy/public/uploads/hatchy/user/profile_img/1/costanza.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1452646096-14084-2585/circus.jpg +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/1ae7eaad6fbe78b7fa091e1570fc6b83fd216672/admin.scss.erbc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/1ae7eaad6fbe78b7fa091e1570fc6b83fd216672/base.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/1ae7eaad6fbe78b7fa091e1570fc6b83fd216672/hatchy.scss.erbc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4cd2ed92d25169cb17133dbe165a813de108b092/jquery.dataTables.bootstrap.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_alerts.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_badges.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_breadcrumbs.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_button-groups.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_buttons.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_carousel.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_close.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_code.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_component-animations.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_dropdowns.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_forms.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_glyphicons.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_grid.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_input-groups.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_jumbotron.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_labels.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_list-group.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_media.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_mixins.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_modals.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_navbar.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_navs.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_normalize.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_pager.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_pagination.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_panels.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_popovers.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_print.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_progress-bars.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_responsive-embed.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_responsive-utilities.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_scaffolding.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_tables.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_thumbnails.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_tooltip.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_type.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_utilities.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_variables.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5abc7faa8d65750bfbc9bb398645121a327e7af5/_wells.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/7ffb18582ef75d2e0545e59d54b66a8ac063388e/pnotify.custom.cssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/7ffb18582ef75d2e0545e59d54b66a8ac063388e/summernote.cssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_alerts.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_background-variant.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_border-radius.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_buttons.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_center-block.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_clearfix.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_forms.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_gradients.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_grid-framework.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_grid.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_hide-text.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_image.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_labels.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_list-group.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_nav-divider.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_nav-vertical-align.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_opacity.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_pagination.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_panels.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_progress-bar.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_reset-filter.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_reset-text.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_resize.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_responsive-visibility.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_size.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_tab-focus.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_table-row.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_text-emphasis.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_text-overflow.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/89c944581dfef47a3aa150f4bf2513c369606c18/_vendor-prefixes.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9082de7479e9f9037daea1156327806c827ee4de/owl.carousel.cssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9082de7479e9f9037daea1156327806c827ee4de/owl.theme.cssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/b098c6707accd416c04158e97686f3c60d18a5db/_variables.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/b098c6707accd416c04158e97686f3c60d18a5db/mixins.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/b098c6707accd416c04158e97686f3c60d18a5db/theme.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/c3eb61727e774fdd7a4c50d47dc9321d8c03465b/jquery.dataTables.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/02acd5c42920e30100d000381f279ed8 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/06f25975c6b8ed69acfdec01011eb7bb +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/07683e3cd4c5faddd8150344d7f8ce74 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/0a95350d1433847b3b929478b039b141 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/114e00ddb52ee022a79ed4560ec79aa8 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/14a82abe97db49e4cfcce62837ebd7b7 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/1c6272244847e7e1fa1b127ea9c66bff +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/1ec4fb0db29fbf0cbf12c32449a988a9 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/249e03ac9621a71cb1f7023fcc915530 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2600e70eaad40390bb6639885a589d2a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/285362fd93ab9c40902bc5d499f699d8 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2da2ceb289ce39df011db7062d0d1327 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2f6ded1a00bc3b095f5c479acb5b3095 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/3488bebbfac5a929b11e49b7403b4d7b +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/384156f28d835fc24585e681a46cd5d6 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/39843c3b06d4de6199e87dc88d498201 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/3be516ed9e4cd248c26d9921d29295ec +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/3d215563f8c60683272face7ff3c1038 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/4276e0e173b6cfc29b9d6050eafe4bf3 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/44f26650184cffb7192a3ad7d98a9d31 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/497d2e4a82764eb58b4fbbb5fcb45aa2 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/4c23aeaa35b27e7a0d5d3be8ee53c27d +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/4deda75c514a17f1f937821be49df47b +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/55f31fb7b5e9a4e1062acfdd4135432d +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/56567ed0854d6dd03a2dea900b2e9185 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/567ed12a623140fb5eb2bb0591c94d70 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/58abb036e1d10f9b42c55b22ffc8dfcf +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/59e8ebcc9e2bd48aefe3a211ef9e8d87 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/5f7fb90ab1019225755f94778855fb8b +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/63c5d34e8d06c12346aa262d42bd0084 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/6444bc0df41903ea509632e5127abcce +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/65b6d4456ef6974271b9a59fc6ec876f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/6762976f03563abb88a60dd2284077f3 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/6978b21857c4cf9d2472adf77f935dfb +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/6a402a89434119334a77b09c04ed6bd8 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/6aea5e2eeb52372c0f4dacc9b5e17629 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/6b0b3bc73b6ef3a71ff8c1235076f2fe +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/6de647c9f4ed6eab93fde5b1d14fa8d1 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/73a3722d728be6cf120c161d1a504b69 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/74616b97e75a1dd4f47c89c3682a5962 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/746472d5488bcdba743ae6905b4d9349 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/75ef1b07ff3b729901c05d7693c459bd +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/77caa48be4dcd5f1d6f7791702ddbf3d +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/788ef0523fa5e97bb2ce29fbec1acd3d +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/79842d87a8281f97fa6e29373248487a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/79ea9ff8872eea03ff917b2710b89875 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/79f81993fad700117165d85ea5e66f80 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/7abdb6b3ba312e2e713372cfa9ed6fd5 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/7c817753da2ab2a8909c5f67ca1055c4 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/8387ec69aabd9e9e2922644385d82285 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/893f7993845d6e4c08115ef3898fbbe8 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/8bfa3d2073d730eeae5930950577808b +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/8cec29e6f07e8b1786d5fdacf8a715d2 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/8df3635dafa13e99eda2cd17dd9f4698 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/8e08251664adb259d48c3ff9019fb9cf +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/94686c27c680e4e11436a2262aa72b55 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/95fcb48e995eb3d264567f7534ff91ee +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/9c9def80980301503b1376146256ae2f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/9ccf973914706eef2efa9e6e7e443818 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/9d495bd3c398e7d7b507902bb8f71eeb +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/9d71f6be7960469b0582464c006ac743 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/9e985e9ae12f0a0f409840f8de50ec85 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a12f906dc9d7f98d0d33c14534624207 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a3241713158b6d467b4ff8c0e86260ef +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a38526dbff17aaff93ad71c58a5fac91 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a563347af44f552d9777160b9bc2f20c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a5895b06bddc58da1693d54571f58872 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a6233feba34a45a0550ca7e06ebeb8b2 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a62d4f134ec8d16ef50bbf15a53d6b57 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a7c825ce172c4a095653ab0022a0e979 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a9612f700869ef313dbd4fe5e23e9361 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/aa1ba41473bb9ff1a6d2be1f794719df +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/aac3bc57fb221351f292885c5ee21933 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/aad666db3c05857182302664d9b8cc45 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ab0cb44cae19250b9348dcd66b5c04d7 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ad6173f532233499e71f4e8c28e6020d +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/adc78e9799ac1c95dee7e858df40b4a8 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/adf03687ee42f87002445c1096069d64 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/aeb4122ebead9e5e9f6a3625fefbae3d +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/af6aade4734b90299fb7b16e4bb3e737 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/b5f65e3f4319656fcd1dd0a3f1b66e6d +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/bc3e3f14e046b451d6f962e59bf22e0b +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/bd49e8df5191d3e15d2ffa14fc384869 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c37311498380e52a91dbfc2c96425eac +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c60cce66e260d24218c7365bc3401b3e +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c8ee3b2ea3203e3955b4db6e857d346e +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/cb3ac6ce6a98f3a3fd0443fcf846239d +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/cb758c86a19ec6b77f88402c95add6d4 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ccffcd47c7db3a6ab7e8006abc792752 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ce0edb89508050d6ce80d9c608b0e478 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ce4654bef988a1eb28b9da8d16fd2f65 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d1ba02c2518f1bd8954e5fb38a6fdac1 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d3ef307aaa54f919818b4dfb65b612f3 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d85c828a1b79af337db6fa07b91d05f2 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d8e52300c14f8f97b4ad8849301d7433 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d986eea7fe11b3e20c563cdc38db62ad +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/db8fa1b50c3d48a484b7f5949e075a57 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/de74bb6959d07da7cff09d3b7d85cd7e +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e3254e9ef9c6add6c4ef3a9eee700e7d +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e37cf58bfbd61c44c57446c460ccc066 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e45751ceff92085477ef49e2c7f7622e +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e64d1a313c5d885c637c9224d54c6cbd +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e6c4ac31d3e7740403f6d8d50903e3b2 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e8272a81b13334e8f911097487b72702 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e93f2eac197dae7e9c54b2a4e17675f3 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ecc139ef2345848cb162ee60e48a008c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ef919881a8fe5b6d173257130a00adbc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f041bae6ba73e8a34bdf8603dca6f761 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f469cae685b83bf116813dc134ed0d2b +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f8c026bc9f28742f8499ae687002da88 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f9677a86b9c39422d1720fbc89ab727f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/fc35cea81cbc344664892761d90af504 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/fe23e9bb24f73b37f78fcf7523f4ddc7 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/fe79efd19de6388221ed374971484cbc +0 -0
- data/spec/factories/hatchy_announcements.rb +6 -0
- data/spec/factories/hatchy_bank_accounts.rb +6 -0
- data/spec/factories/hatchy_banks.rb +6 -0
- data/spec/factories/hatchy_categories.rb +6 -0
- data/spec/factories/hatchy_category_followers.rb +6 -0
- data/spec/factories/hatchy_contributions.rb +6 -0
- data/spec/factories/hatchy_countries.rb +6 -0
- data/spec/factories/hatchy_project_accounts.rb +6 -0
- data/spec/factories/hatchy_projects.rb +6 -0
- data/spec/factories/hatchy_rewards.rb +6 -0
- data/spec/factories/hatchy_users.rb +6 -0
- data/spec/models/hatchy/announcement_spec.rb +7 -0
- data/spec/models/hatchy/bank_account_spec.rb +7 -0
- data/spec/models/hatchy/bank_spec.rb +7 -0
- data/spec/models/hatchy/category_follower_spec.rb +7 -0
- data/spec/models/hatchy/category_spec.rb +7 -0
- data/spec/models/hatchy/contribution_spec.rb +7 -0
- data/spec/models/hatchy/country_spec.rb +7 -0
- data/spec/models/hatchy/project_account_spec.rb +7 -0
- data/spec/models/hatchy/project_spec.rb +7 -0
- data/spec/models/hatchy/reward_spec.rb +7 -0
- data/spec/models/hatchy/user_spec.rb +7 -0
- data/spec/rails_helper.rb +49 -0
- data/spec/spec_helper.rb +94 -0
- metadata +1019 -0
@@ -0,0 +1,47 @@
|
|
1
|
+
module Hatchy
|
2
|
+
class UsersController < ApplicationController
|
3
|
+
before_action :set_user, only: [:show, :edit, :update]
|
4
|
+
after_action :verify_authorized, except:[:show]
|
5
|
+
|
6
|
+
# GET users/:id
|
7
|
+
def show
|
8
|
+
end
|
9
|
+
|
10
|
+
# GET /users/:id/edit
|
11
|
+
def edit
|
12
|
+
authorize @user
|
13
|
+
@user.build_bank_account unless @user.bank_account
|
14
|
+
end
|
15
|
+
|
16
|
+
# PATCH /users/:id
|
17
|
+
# PUT /users/:id
|
18
|
+
def update
|
19
|
+
authorize @user
|
20
|
+
if @user.update(user_params)
|
21
|
+
redirect_to edit_user_path(@user, anchor: params[:anchor]), notice:'User was successfully updated.'
|
22
|
+
else
|
23
|
+
render :edit
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
private
|
28
|
+
|
29
|
+
def user_params
|
30
|
+
params[:user].permit(
|
31
|
+
:country_id, :address_state, :address_city,
|
32
|
+
:address_zip,:address_street, :address_number,
|
33
|
+
:document, :phone, :mobile, :subs_projects,
|
34
|
+
:first_name, :last_name, :locale, :newsletter, :profile_img,
|
35
|
+
:cover_img, :facebook_link, :twitter_link,
|
36
|
+
:other_link, :about,
|
37
|
+
bank_account_attributes:
|
38
|
+
[:bank_id, :user_id, :account, :agency, :account_digit, :agency_digit]
|
39
|
+
)
|
40
|
+
end
|
41
|
+
|
42
|
+
def set_user
|
43
|
+
@user = Hatchy::User.find(params[:id])
|
44
|
+
end
|
45
|
+
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
module Hatchy::FormHelper
|
2
|
+
def errors_for(form, field)
|
3
|
+
content_tag(:p, form.object.errors[field].try(:first), class: 'help-block')
|
4
|
+
end
|
5
|
+
|
6
|
+
def form_group_for(form, field, opts={}, &block)
|
7
|
+
label = opts.fetch(:label){true}
|
8
|
+
has_errors = form.object.errors[field].present?
|
9
|
+
content_tag :div, class: "form-group #{'has-error' if has_errors}" do
|
10
|
+
concat form.label(field, class: 'col-sm-2 control-label') if label
|
11
|
+
concat capture(&block)
|
12
|
+
concat errors_for(form, field)
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
def form_disabled(f, attr)
|
17
|
+
json_object = f.object.safe_params.to_json
|
18
|
+
json_object.exclude? attr.to_s
|
19
|
+
end
|
20
|
+
|
21
|
+
def link_to_add_fields(name, f, association)
|
22
|
+
new_object = f.object.send(association).klass.new
|
23
|
+
id = new_object.object_id
|
24
|
+
fields = f.fields_for(association, new_object, child_index: id) do |builder|
|
25
|
+
render(association.to_s.singularize + "_fields", f: builder)
|
26
|
+
end
|
27
|
+
link_to(name, 'javascript:void(0)', class: "btn btn-default add_fields", data: {id: id, fields: fields.gsub("\n", "")})
|
28
|
+
end
|
29
|
+
|
30
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
module Hatchy::LayoutHelper
|
2
|
+
def flash_messages(opts={})
|
3
|
+
@layout_flash = opts.fetch(:layout_flash){true}
|
4
|
+
capture do
|
5
|
+
flash.each do |name, msg|
|
6
|
+
concat (
|
7
|
+
content_tag :div, id:"flash", data:{type:"#{name}", message:"#{msg}"}, class: 'hidden' do
|
8
|
+
content_tag :p, "loading flash"
|
9
|
+
end
|
10
|
+
)
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
def navbar_type
|
16
|
+
@nav_type.nil? ? 'navbar-static-top' : @nav_type
|
17
|
+
end
|
18
|
+
|
19
|
+
def show_layout_flash?
|
20
|
+
@layout_flash.nil? ? true : @layout_flash
|
21
|
+
end
|
22
|
+
|
23
|
+
def show_layout_footer?
|
24
|
+
@layout_footer.nil? ? true : @layout_footer
|
25
|
+
end
|
26
|
+
|
27
|
+
def user_profile
|
28
|
+
if current_user.profile_img?
|
29
|
+
current_user.profile_img_url.to_s
|
30
|
+
else
|
31
|
+
'http://www.temazkalite.com/img-demo/unknown-user.gif'
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
def get_indicator(percent)
|
36
|
+
return '' if percent < 0 # none
|
37
|
+
return 'info' if percent < 34 # < 1/100 of max
|
38
|
+
return 'success' if percent < 67 # < 1/10 of max
|
39
|
+
return 'warning' if percent < 84 # < 1/3 of max
|
40
|
+
'danger' # > 1/3 of max
|
41
|
+
end
|
42
|
+
|
43
|
+
end
|
@@ -0,0 +1,173 @@
|
|
1
|
+
module Hatchy::ProjectStates
|
2
|
+
extend ActiveSupport::Concern
|
3
|
+
|
4
|
+
included do
|
5
|
+
|
6
|
+
before_create :send_to_draft
|
7
|
+
validate :with_status
|
8
|
+
before_save :set_dates, if: lambda { |project| project.online? }
|
9
|
+
|
10
|
+
|
11
|
+
def send_to_draft
|
12
|
+
self.status = "draft"
|
13
|
+
self.send_to_draft_at = Time.now
|
14
|
+
end
|
15
|
+
|
16
|
+
def send_to_analysis
|
17
|
+
if self.status == "draft"
|
18
|
+
self.status = "analysis"
|
19
|
+
else
|
20
|
+
errors[:status] << "Project must be in draft first to be in analysis"
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
def send_to_rejected
|
25
|
+
if self.status == "analysis"
|
26
|
+
self.status = "rejected"
|
27
|
+
self.rejected_at = Time.now
|
28
|
+
else
|
29
|
+
errors[:status] << "Project must be in analysis first to be rejected"
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
def send_to_approved
|
34
|
+
if self.status == "analysis"
|
35
|
+
self.status = "approved"
|
36
|
+
else
|
37
|
+
self.errors[:status] << "Project must be in analysis first to be approved"
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
def push_to_online
|
42
|
+
if self.status == "approved"
|
43
|
+
self.status = "online"
|
44
|
+
else
|
45
|
+
self.errors[:status] << "Project must be approved first to be online"
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
def push_to_trash
|
50
|
+
if self.status == "draft" or self.status == "rejected" or self.status == "analysis"
|
51
|
+
self.status = "deleted"
|
52
|
+
else
|
53
|
+
self.errors[:status] << "Project must be in draft, rejected or analysis first to be deleted"
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
# States
|
58
|
+
def draft?
|
59
|
+
self.status == "draft"
|
60
|
+
end
|
61
|
+
def analysis?
|
62
|
+
self.status == "analysis"
|
63
|
+
end
|
64
|
+
def approved?
|
65
|
+
self.status == "approved"
|
66
|
+
end
|
67
|
+
def rejected?
|
68
|
+
self.status == "rejected"
|
69
|
+
end
|
70
|
+
def trash?
|
71
|
+
self.status == "trash"
|
72
|
+
end
|
73
|
+
def failed?
|
74
|
+
self.status == "failed"
|
75
|
+
end
|
76
|
+
def online?
|
77
|
+
self.status == "online"
|
78
|
+
end
|
79
|
+
def successful?
|
80
|
+
self.status == "successful"
|
81
|
+
end
|
82
|
+
|
83
|
+
def safe_params
|
84
|
+
case self.status
|
85
|
+
when "draft"
|
86
|
+
draft_params
|
87
|
+
when "analysis", "approved"
|
88
|
+
approved_params
|
89
|
+
when "online", "successful"
|
90
|
+
online_params
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
private
|
95
|
+
def with_status
|
96
|
+
case self.status
|
97
|
+
when "draft"
|
98
|
+
validates_presence_of :city
|
99
|
+
when "analysis"
|
100
|
+
validates_presence_of :about, :headline, :goal, :online_days, :budget, :project_img
|
101
|
+
when "approved"
|
102
|
+
validates_presence_of :about, :headline, :goal, :online_days, :budget, :project_img, :video_url
|
103
|
+
when "online"
|
104
|
+
validates_presence_of :about, :headline, :goal, :online_days, :budget, :project_img, :video_url, :account
|
105
|
+
when "successful"
|
106
|
+
validates_presence_of :about, :headline, :goal, :online_days, :budget, :project_img, :video_url, :account
|
107
|
+
when "failed"
|
108
|
+
validates_presence_of :about, :headline, :goal, :online_days, :budget, :project_img, :video_url, :account
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
protected
|
113
|
+
def set_dates
|
114
|
+
self.online_date = Time.now
|
115
|
+
self.expires_at = self.online_date + self.online_days.days
|
116
|
+
end
|
117
|
+
|
118
|
+
# TODO: change to pundit authorization
|
119
|
+
def draft_params
|
120
|
+
[ :about, :budget, :category_id,:city,
|
121
|
+
:goal, :headline,
|
122
|
+
:name, :online_date, :online_days,
|
123
|
+
:project_img, :short_url, :status,
|
124
|
+
:video_url,
|
125
|
+
|
126
|
+
rewards_attributes:[
|
127
|
+
:_destroy, :deliver_at, :description,
|
128
|
+
:id, :max_contributions, :min_value,
|
129
|
+
:project_id
|
130
|
+
]
|
131
|
+
]
|
132
|
+
end
|
133
|
+
|
134
|
+
def approved_params
|
135
|
+
[ :about, :budget, :category_id,:city,
|
136
|
+
:goal, :headline,
|
137
|
+
:name, :online_date, :online_days,
|
138
|
+
:project_img, :short_url, :status,
|
139
|
+
:video_url,
|
140
|
+
|
141
|
+
rewards_attributes:[
|
142
|
+
:_destroy, :deliver_at, :description,
|
143
|
+
:id, :max_contributions, :min_value,
|
144
|
+
:project_id
|
145
|
+
],
|
146
|
+
|
147
|
+
account_attributes:[
|
148
|
+
:account, :account_digit, :account_type,
|
149
|
+
:address_city, :address_number, :address_state,
|
150
|
+
:address_street,:address_zip, :agency,
|
151
|
+
:agency_digit, :bank_id, :email,
|
152
|
+
:owner_document,:owner_name, :phone,
|
153
|
+
:project_id
|
154
|
+
]
|
155
|
+
]
|
156
|
+
end
|
157
|
+
|
158
|
+
def online_params
|
159
|
+
[ :about, :budget,
|
160
|
+
:headline,
|
161
|
+
:project_img, :video_url,
|
162
|
+
|
163
|
+
rewards_attributes:[
|
164
|
+
:_destroy, :deliver_at, :description,
|
165
|
+
:id, :max_contributions, :min_value,
|
166
|
+
:project_id
|
167
|
+
]
|
168
|
+
]
|
169
|
+
end
|
170
|
+
|
171
|
+
|
172
|
+
end
|
173
|
+
end
|
@@ -0,0 +1,9 @@
|
|
1
|
+
module Hatchy
|
2
|
+
class Announcement < ActiveRecord::Base
|
3
|
+
def self.current(hidden_ids=nil)
|
4
|
+
result = where("starts_at <= :now and ends_at >= :now", now: Time.zone.now)
|
5
|
+
result = result.where("id not in (?)", hidden_ids) if hidden_ids.present?
|
6
|
+
result
|
7
|
+
end
|
8
|
+
end
|
9
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module Hatchy
|
2
|
+
class Category < ActiveRecord::Base
|
3
|
+
has_many :projects, class_name:'Hatchy::Project'
|
4
|
+
has_many :category_followers
|
5
|
+
has_many :users, through: :category_followers
|
6
|
+
validates :name, presence: true, uniqueness: true
|
7
|
+
|
8
|
+
def self.with_projects
|
9
|
+
where("exists(select * from hatchy_projects where hatchy_projects.category_id = hatchy_categories.id and hatchy_projects.status not in('draft', 'rejected'))")
|
10
|
+
end
|
11
|
+
|
12
|
+
def total_projects
|
13
|
+
@total_projects ||= self.projects.where(status:'online').count
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
module Hatchy
|
2
|
+
class Contribution < ActiveRecord::Base
|
3
|
+
attr_accessor :card_number, :card_verification
|
4
|
+
belongs_to :user, class_name:'Hatchy::User'
|
5
|
+
belongs_to :reward, class_name:'Hatchy::Reward'
|
6
|
+
belongs_to :project, class_name:'Hatchy::Project'
|
7
|
+
belongs_to :country, class_name:'Hatchy::Country'
|
8
|
+
|
9
|
+
validates_presence_of :user, :project, :value, :email,
|
10
|
+
:name, :address_street, :address_number, :address_city,
|
11
|
+
:address_state, :address_zip, :address_phone
|
12
|
+
|
13
|
+
validates_numericality_of :value, greater_than_or_equal_to: 10.00
|
14
|
+
validate :validate_card, on: :create
|
15
|
+
validate :reward_is_from_project, :value_greater_equal_than_reward,
|
16
|
+
:cant_contribute_if_max_contribution
|
17
|
+
|
18
|
+
private
|
19
|
+
|
20
|
+
def reward_is_from_project
|
21
|
+
return unless reward
|
22
|
+
errors.add(:reward, "Reward must belong to this project") unless reward.project == project
|
23
|
+
end
|
24
|
+
|
25
|
+
def value_greater_equal_than_reward
|
26
|
+
return unless reward
|
27
|
+
unless value.to_f >= reward.min_value
|
28
|
+
errors.add(:value, "Value needs to be greater or equal to the reward's value",
|
29
|
+
minimum_value: reward.min_value)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
def cant_contribute_if_max_contribution
|
34
|
+
return unless reward && reward.max_contributions > 0
|
35
|
+
end
|
36
|
+
|
37
|
+
def validate_card
|
38
|
+
unless credit_card.valid?
|
39
|
+
credit_card.errors.full_messages.each do |m|
|
40
|
+
errors.add(:base, m)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
module Hatchy
|
2
|
+
class Project < ActiveRecord::Base
|
3
|
+
include Hatchy::ProjectStates
|
4
|
+
|
5
|
+
has_one :account, class_name:'Hatchy::ProjectAccount'
|
6
|
+
has_many :rewards, class_name:'Hatchy::Reward'
|
7
|
+
has_many :contributions, class_name:'Hatchy::Contribution'
|
8
|
+
has_many :payments, through: :contributions
|
9
|
+
belongs_to :user, class_name:'Hatchy::User'
|
10
|
+
belongs_to :category, class_name:'Hatchy::Category'
|
11
|
+
|
12
|
+
accepts_nested_attributes_for :account
|
13
|
+
accepts_nested_attributes_for :rewards, allow_destroy: true
|
14
|
+
|
15
|
+
mount_uploader :project_img, Hatchy::ProjectUploader
|
16
|
+
validates :name, presence: true, uniqueness: true
|
17
|
+
|
18
|
+
scope :recommended, -> { where(recommended: true, status:'online') }
|
19
|
+
scope :recent, -> { where(online_date: 5.days.ago.. Time.current) }
|
20
|
+
scope :online_category, -> (category_id) {where("status='online' AND category_id= ?", category_id)}
|
21
|
+
|
22
|
+
def video
|
23
|
+
unless self.video_url.blank?
|
24
|
+
VideoInfo.new(self.video_url).embed_code(iframe_attributes: { width: 560, height: 315, frameborder: 0, class: "embed-responsive-item"})
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
def total_contributors
|
29
|
+
self.contributions.select(:user_id).distinct.count
|
30
|
+
end
|
31
|
+
|
32
|
+
def total_contributions
|
33
|
+
self.contributions.where(status:"pending").sum(:value).to_f
|
34
|
+
end
|
35
|
+
|
36
|
+
def total_percentage
|
37
|
+
contributions = total_contributions
|
38
|
+
percentage = (contributions / self.goal) * 100
|
39
|
+
if percentage >= 100
|
40
|
+
100
|
41
|
+
else
|
42
|
+
percentage.round(2)
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|