├── .gitignore ├── .rubocop ├── .rubocop.yml ├── .rubocop_todo.yml ├── .travis.yml ├── Gemfile ├── Gemfile.lock ├── Procfile ├── README.md ├── Rakefile ├── app ├── assets │ ├── config │ │ └── manifest.js │ ├── images │ │ └── .keep │ ├── javascripts │ │ ├── application.js │ │ ├── index.js │ │ ├── noises.js │ │ ├── pages.js │ │ ├── pet_interactions.js │ │ └── pettings.js │ └── stylesheets │ │ ├── application.scss │ │ ├── index.scss │ │ ├── noises.scss │ │ ├── pages.scss │ │ ├── pet_interactions.scss │ │ ├── pettings.scss │ │ └── scaffolds.scss ├── controllers │ ├── application_controller.rb │ ├── concerns │ │ └── .keep │ ├── index_controller.rb │ ├── noises_controller.rb │ ├── pages_controller.rb │ ├── pet_interactions_controller.rb │ ├── pettings_controller.rb │ └── registrations_controller.rb ├── jobs │ └── application_job.rb ├── mailers │ └── application_mailer.rb ├── models │ ├── application_record.rb │ ├── concerns │ │ └── .keep │ ├── noise.rb │ ├── page.rb │ ├── pet.rb │ ├── pet_interaction.rb │ └── petting.rb ├── validators │ └── css_hex_color_validator.rb ├── views │ ├── devise │ │ ├── confirmations │ │ │ └── new.html.erb │ │ ├── mailer │ │ │ ├── confirmation_instructions.html.erb │ │ │ ├── password_change.html.erb │ │ │ ├── reset_password_instructions.html.erb │ │ │ └── unlock_instructions.html.erb │ │ ├── passwords │ │ │ ├── edit.html.erb │ │ │ └── new.html.erb │ │ ├── registrations │ │ │ ├── edit.html.erb │ │ │ └── new.html.erb │ │ ├── sessions │ │ │ └── new.html.erb │ │ ├── shared │ │ │ └── _links.html.erb │ │ └── unlocks │ │ │ └── new.html.erb │ ├── index │ │ ├── naptime.html.erb │ │ └── view.html.erb │ ├── layouts │ │ ├── application.html.erb │ │ ├── mailer.html.erb │ │ └── mailer.text.erb │ ├── noises │ │ ├── _form.html.erb │ │ ├── _noise.json.jbuilder │ │ ├── edit.html.erb │ │ ├── index.html.erb │ │ ├── index.json.jbuilder │ │ ├── new.html.erb │ │ ├── show.html.erb │ │ └── show.json.jbuilder │ ├── pages │ │ ├── _noise_fields.html.erb │ │ ├── _page.json.jbuilder │ │ ├── edit.html.erb │ │ ├── show.html.erb │ │ └── show.json.jbuilder │ ├── pet_interactions │ │ ├── _form.html.erb │ │ ├── _pet_interaction.json.jbuilder │ │ ├── edit.html.erb │ │ ├── index.html.erb │ │ ├── index.json.jbuilder │ │ ├── new.html.erb │ │ ├── show.html.erb │ │ └── show.json.jbuilder │ └── pettings │ │ ├── _form.html.erb │ │ ├── _petting.json.jbuilder │ │ ├── index.html.erb │ │ ├── index.json.jbuilder │ │ ├── show.html.erb │ │ └── show.json.jbuilder └── workers │ └── pettings_inserter_worker.rb ├── bin ├── bundle ├── rails ├── rake ├── setup ├── spring └── update ├── config.ru ├── config ├── application.rb ├── boot.rb ├── database.yml ├── environment.rb ├── environments │ ├── development.rb │ ├── production.rb │ └── test.rb ├── initializers │ ├── application_controller_renderer.rb │ ├── assets.rb │ ├── backtrace_silencers.rb │ ├── cookies_serializer.rb │ ├── devise.rb │ ├── filter_parameter_logging.rb │ ├── inflections.rb │ ├── mime_types.rb │ ├── new_framework_defaults.rb │ ├── passenger.rb │ ├── rack_attack.rb │ ├── redis.rb │ ├── rollbar.rb │ ├── session_store.rb │ └── wrap_parameters.rb ├── locales │ ├── devise.en.yml │ └── en.yml ├── puma.rb ├── routes.rb ├── secrets.yml └── spring.rb ├── db ├── migrate │ ├── 20170212144821_devise_create_pets.rb │ ├── 20170212145201_create_pages.rb │ ├── 20170212155142_add_page_to_pet.rb │ ├── 20170212163618_create_friendly_id_slugs.rb │ ├── 20170212165756_create_pettings.rb │ ├── 20170213025442_add_name_to_pet.rb │ ├── 20170213070718_add_attachment_background_to_pages.rb │ ├── 20170215161210_create_noises.rb │ ├── 20170215161229_add_attachment_sound_to_noises.rb │ ├── 20170219235739_add_indexes_to_pettings.rb │ ├── 20170219235842_add_indexes_to_pages.rb │ ├── 20170219235920_add_indexes_to_noises.rb │ ├── 20170221120125_add_received_pettings_count_to_pet.rb │ ├── 20170221120141_add_performed_pettings_count_to_pet.rb │ ├── 20170221121835_add_url_index_to_page.rb │ ├── 20170221153509_add_text_color_to_page.rb │ ├── 20170224082913_create_pet_interactions.rb │ ├── 20170224095731_add_show_petters_to_page.rb │ └── 20170224100248_add_allow_anon_petting_to_pages.rb ├── schema.rb └── seeds.rb ├── lib ├── assets │ └── .keep └── tasks │ ├── .keep │ └── pettings.rake ├── log └── .keep ├── public ├── 404.html ├── 422.html ├── 500.html ├── apple-touch-icon-precomposed.png ├── apple-touch-icon.png ├── backgrounds │ └── original │ │ └── missing.png ├── favicon.ico ├── naptime.jpg └── robots.txt ├── rails_best_practices_output.html ├── test ├── controllers │ ├── .keep │ ├── index_controller_test.rb │ ├── noises_controller_test.rb │ ├── pages_controller_test.rb │ ├── pet_interactions_controller_test.rb │ └── pettings_controller_test.rb ├── fixtures │ ├── .keep │ ├── files │ │ └── .keep │ ├── noises.yml │ ├── pages.yml │ ├── pet_interactions.yml │ ├── pets.yml │ └── pettings.yml ├── helpers │ └── .keep ├── integration │ ├── .keep │ ├── actual_petting_test.rb │ └── new_pet_test.rb ├── mailers │ └── .keep ├── models │ ├── .keep │ ├── noise_test.rb │ ├── page_test.rb │ ├── pet_interaction_test.rb │ ├── pet_test.rb │ └── petting_test.rb └── test_helper.rb ├── tmp └── .keep └── vendor └── assets ├── javascripts └── .keep └── stylesheets └── .keep /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/.gitignore -------------------------------------------------------------------------------- /.rubocop: -------------------------------------------------------------------------------- 1 | --rails 2 | --display-cop-names 3 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.rubocop_todo.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/.rubocop_todo.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/.travis.yml -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/Procfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/Rakefile -------------------------------------------------------------------------------- /app/assets/config/manifest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/assets/config/manifest.js -------------------------------------------------------------------------------- /app/assets/images/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/assets/javascripts/application.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/assets/javascripts/application.js -------------------------------------------------------------------------------- /app/assets/javascripts/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/assets/javascripts/index.js -------------------------------------------------------------------------------- /app/assets/javascripts/noises.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/assets/javascripts/noises.js -------------------------------------------------------------------------------- /app/assets/javascripts/pages.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/assets/javascripts/pages.js -------------------------------------------------------------------------------- /app/assets/javascripts/pet_interactions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/assets/javascripts/pet_interactions.js -------------------------------------------------------------------------------- /app/assets/javascripts/pettings.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/assets/javascripts/pettings.js -------------------------------------------------------------------------------- /app/assets/stylesheets/application.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/assets/stylesheets/application.scss -------------------------------------------------------------------------------- /app/assets/stylesheets/index.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/assets/stylesheets/index.scss -------------------------------------------------------------------------------- /app/assets/stylesheets/noises.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/assets/stylesheets/noises.scss -------------------------------------------------------------------------------- /app/assets/stylesheets/pages.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/assets/stylesheets/pages.scss -------------------------------------------------------------------------------- /app/assets/stylesheets/pet_interactions.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/assets/stylesheets/pet_interactions.scss -------------------------------------------------------------------------------- /app/assets/stylesheets/pettings.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/assets/stylesheets/pettings.scss -------------------------------------------------------------------------------- /app/assets/stylesheets/scaffolds.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/assets/stylesheets/scaffolds.scss -------------------------------------------------------------------------------- /app/controllers/application_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/controllers/application_controller.rb -------------------------------------------------------------------------------- /app/controllers/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/controllers/index_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/controllers/index_controller.rb -------------------------------------------------------------------------------- /app/controllers/noises_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/controllers/noises_controller.rb -------------------------------------------------------------------------------- /app/controllers/pages_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/controllers/pages_controller.rb -------------------------------------------------------------------------------- /app/controllers/pet_interactions_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/controllers/pet_interactions_controller.rb -------------------------------------------------------------------------------- /app/controllers/pettings_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/controllers/pettings_controller.rb -------------------------------------------------------------------------------- /app/controllers/registrations_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/controllers/registrations_controller.rb -------------------------------------------------------------------------------- /app/jobs/application_job.rb: -------------------------------------------------------------------------------- 1 | class ApplicationJob < ActiveJob::Base 2 | end 3 | -------------------------------------------------------------------------------- /app/mailers/application_mailer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/mailers/application_mailer.rb -------------------------------------------------------------------------------- /app/models/application_record.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/models/application_record.rb -------------------------------------------------------------------------------- /app/models/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/models/noise.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/models/noise.rb -------------------------------------------------------------------------------- /app/models/page.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/models/page.rb -------------------------------------------------------------------------------- /app/models/pet.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/models/pet.rb -------------------------------------------------------------------------------- /app/models/pet_interaction.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/models/pet_interaction.rb -------------------------------------------------------------------------------- /app/models/petting.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/models/petting.rb -------------------------------------------------------------------------------- /app/validators/css_hex_color_validator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/validators/css_hex_color_validator.rb -------------------------------------------------------------------------------- /app/views/devise/confirmations/new.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/devise/confirmations/new.html.erb -------------------------------------------------------------------------------- /app/views/devise/mailer/confirmation_instructions.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/devise/mailer/confirmation_instructions.html.erb -------------------------------------------------------------------------------- /app/views/devise/mailer/password_change.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/devise/mailer/password_change.html.erb -------------------------------------------------------------------------------- /app/views/devise/mailer/reset_password_instructions.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/devise/mailer/reset_password_instructions.html.erb -------------------------------------------------------------------------------- /app/views/devise/mailer/unlock_instructions.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/devise/mailer/unlock_instructions.html.erb -------------------------------------------------------------------------------- /app/views/devise/passwords/edit.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/devise/passwords/edit.html.erb -------------------------------------------------------------------------------- /app/views/devise/passwords/new.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/devise/passwords/new.html.erb -------------------------------------------------------------------------------- /app/views/devise/registrations/edit.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/devise/registrations/edit.html.erb -------------------------------------------------------------------------------- /app/views/devise/registrations/new.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/devise/registrations/new.html.erb -------------------------------------------------------------------------------- /app/views/devise/sessions/new.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/devise/sessions/new.html.erb -------------------------------------------------------------------------------- /app/views/devise/shared/_links.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/devise/shared/_links.html.erb -------------------------------------------------------------------------------- /app/views/devise/unlocks/new.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/devise/unlocks/new.html.erb -------------------------------------------------------------------------------- /app/views/index/naptime.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/index/naptime.html.erb -------------------------------------------------------------------------------- /app/views/index/view.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/index/view.html.erb -------------------------------------------------------------------------------- /app/views/layouts/application.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/layouts/application.html.erb -------------------------------------------------------------------------------- /app/views/layouts/mailer.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/layouts/mailer.html.erb -------------------------------------------------------------------------------- /app/views/layouts/mailer.text.erb: -------------------------------------------------------------------------------- 1 | <%= yield %> 2 | -------------------------------------------------------------------------------- /app/views/noises/_form.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/noises/_form.html.erb -------------------------------------------------------------------------------- /app/views/noises/_noise.json.jbuilder: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/noises/_noise.json.jbuilder -------------------------------------------------------------------------------- /app/views/noises/edit.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/noises/edit.html.erb -------------------------------------------------------------------------------- /app/views/noises/index.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/noises/index.html.erb -------------------------------------------------------------------------------- /app/views/noises/index.json.jbuilder: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/noises/index.json.jbuilder -------------------------------------------------------------------------------- /app/views/noises/new.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/noises/new.html.erb -------------------------------------------------------------------------------- /app/views/noises/show.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/noises/show.html.erb -------------------------------------------------------------------------------- /app/views/noises/show.json.jbuilder: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/noises/show.json.jbuilder -------------------------------------------------------------------------------- /app/views/pages/_noise_fields.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/pages/_noise_fields.html.erb -------------------------------------------------------------------------------- /app/views/pages/_page.json.jbuilder: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/pages/_page.json.jbuilder -------------------------------------------------------------------------------- /app/views/pages/edit.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/pages/edit.html.erb -------------------------------------------------------------------------------- /app/views/pages/show.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/pages/show.html.erb -------------------------------------------------------------------------------- /app/views/pages/show.json.jbuilder: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/pages/show.json.jbuilder -------------------------------------------------------------------------------- /app/views/pet_interactions/_form.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/pet_interactions/_form.html.erb -------------------------------------------------------------------------------- /app/views/pet_interactions/_pet_interaction.json.jbuilder: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/pet_interactions/_pet_interaction.json.jbuilder -------------------------------------------------------------------------------- /app/views/pet_interactions/edit.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/pet_interactions/edit.html.erb -------------------------------------------------------------------------------- /app/views/pet_interactions/index.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/pet_interactions/index.html.erb -------------------------------------------------------------------------------- /app/views/pet_interactions/index.json.jbuilder: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/pet_interactions/index.json.jbuilder -------------------------------------------------------------------------------- /app/views/pet_interactions/new.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/pet_interactions/new.html.erb -------------------------------------------------------------------------------- /app/views/pet_interactions/show.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/pet_interactions/show.html.erb -------------------------------------------------------------------------------- /app/views/pet_interactions/show.json.jbuilder: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/pet_interactions/show.json.jbuilder -------------------------------------------------------------------------------- /app/views/pettings/_form.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/pettings/_form.html.erb -------------------------------------------------------------------------------- /app/views/pettings/_petting.json.jbuilder: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/pettings/_petting.json.jbuilder -------------------------------------------------------------------------------- /app/views/pettings/index.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/pettings/index.html.erb -------------------------------------------------------------------------------- /app/views/pettings/index.json.jbuilder: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/pettings/index.json.jbuilder -------------------------------------------------------------------------------- /app/views/pettings/show.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/pettings/show.html.erb -------------------------------------------------------------------------------- /app/views/pettings/show.json.jbuilder: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/views/pettings/show.json.jbuilder -------------------------------------------------------------------------------- /app/workers/pettings_inserter_worker.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/app/workers/pettings_inserter_worker.rb -------------------------------------------------------------------------------- /bin/bundle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/bin/bundle -------------------------------------------------------------------------------- /bin/rails: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/bin/rails -------------------------------------------------------------------------------- /bin/rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/bin/rake -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/bin/setup -------------------------------------------------------------------------------- /bin/spring: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/bin/spring -------------------------------------------------------------------------------- /bin/update: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/bin/update -------------------------------------------------------------------------------- /config.ru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/config.ru -------------------------------------------------------------------------------- /config/application.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/config/application.rb -------------------------------------------------------------------------------- /config/boot.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/config/boot.rb -------------------------------------------------------------------------------- /config/database.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/config/database.yml -------------------------------------------------------------------------------- /config/environment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/config/environment.rb -------------------------------------------------------------------------------- /config/environments/development.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/config/environments/development.rb -------------------------------------------------------------------------------- /config/environments/production.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/config/environments/production.rb -------------------------------------------------------------------------------- /config/environments/test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/config/environments/test.rb -------------------------------------------------------------------------------- /config/initializers/application_controller_renderer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/config/initializers/application_controller_renderer.rb -------------------------------------------------------------------------------- /config/initializers/assets.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/config/initializers/assets.rb -------------------------------------------------------------------------------- /config/initializers/backtrace_silencers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/config/initializers/backtrace_silencers.rb -------------------------------------------------------------------------------- /config/initializers/cookies_serializer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/config/initializers/cookies_serializer.rb -------------------------------------------------------------------------------- /config/initializers/devise.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/config/initializers/devise.rb -------------------------------------------------------------------------------- /config/initializers/filter_parameter_logging.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/config/initializers/filter_parameter_logging.rb -------------------------------------------------------------------------------- /config/initializers/inflections.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/config/initializers/inflections.rb -------------------------------------------------------------------------------- /config/initializers/mime_types.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/config/initializers/mime_types.rb -------------------------------------------------------------------------------- /config/initializers/new_framework_defaults.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/config/initializers/new_framework_defaults.rb -------------------------------------------------------------------------------- /config/initializers/passenger.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/config/initializers/passenger.rb -------------------------------------------------------------------------------- /config/initializers/rack_attack.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/config/initializers/rack_attack.rb -------------------------------------------------------------------------------- /config/initializers/redis.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/config/initializers/redis.rb -------------------------------------------------------------------------------- /config/initializers/rollbar.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/config/initializers/rollbar.rb -------------------------------------------------------------------------------- /config/initializers/session_store.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/config/initializers/session_store.rb -------------------------------------------------------------------------------- /config/initializers/wrap_parameters.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/config/initializers/wrap_parameters.rb -------------------------------------------------------------------------------- /config/locales/devise.en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/config/locales/devise.en.yml -------------------------------------------------------------------------------- /config/locales/en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/config/locales/en.yml -------------------------------------------------------------------------------- /config/puma.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/config/puma.rb -------------------------------------------------------------------------------- /config/routes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/config/routes.rb -------------------------------------------------------------------------------- /config/secrets.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/config/secrets.yml -------------------------------------------------------------------------------- /config/spring.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/config/spring.rb -------------------------------------------------------------------------------- /db/migrate/20170212144821_devise_create_pets.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/db/migrate/20170212144821_devise_create_pets.rb -------------------------------------------------------------------------------- /db/migrate/20170212145201_create_pages.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/db/migrate/20170212145201_create_pages.rb -------------------------------------------------------------------------------- /db/migrate/20170212155142_add_page_to_pet.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/db/migrate/20170212155142_add_page_to_pet.rb -------------------------------------------------------------------------------- /db/migrate/20170212163618_create_friendly_id_slugs.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/db/migrate/20170212163618_create_friendly_id_slugs.rb -------------------------------------------------------------------------------- /db/migrate/20170212165756_create_pettings.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/db/migrate/20170212165756_create_pettings.rb -------------------------------------------------------------------------------- /db/migrate/20170213025442_add_name_to_pet.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/db/migrate/20170213025442_add_name_to_pet.rb -------------------------------------------------------------------------------- /db/migrate/20170213070718_add_attachment_background_to_pages.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/db/migrate/20170213070718_add_attachment_background_to_pages.rb -------------------------------------------------------------------------------- /db/migrate/20170215161210_create_noises.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/db/migrate/20170215161210_create_noises.rb -------------------------------------------------------------------------------- /db/migrate/20170215161229_add_attachment_sound_to_noises.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/db/migrate/20170215161229_add_attachment_sound_to_noises.rb -------------------------------------------------------------------------------- /db/migrate/20170219235739_add_indexes_to_pettings.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/db/migrate/20170219235739_add_indexes_to_pettings.rb -------------------------------------------------------------------------------- /db/migrate/20170219235842_add_indexes_to_pages.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/db/migrate/20170219235842_add_indexes_to_pages.rb -------------------------------------------------------------------------------- /db/migrate/20170219235920_add_indexes_to_noises.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/db/migrate/20170219235920_add_indexes_to_noises.rb -------------------------------------------------------------------------------- /db/migrate/20170221120125_add_received_pettings_count_to_pet.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/db/migrate/20170221120125_add_received_pettings_count_to_pet.rb -------------------------------------------------------------------------------- /db/migrate/20170221120141_add_performed_pettings_count_to_pet.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/db/migrate/20170221120141_add_performed_pettings_count_to_pet.rb -------------------------------------------------------------------------------- /db/migrate/20170221121835_add_url_index_to_page.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/db/migrate/20170221121835_add_url_index_to_page.rb -------------------------------------------------------------------------------- /db/migrate/20170221153509_add_text_color_to_page.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/db/migrate/20170221153509_add_text_color_to_page.rb -------------------------------------------------------------------------------- /db/migrate/20170224082913_create_pet_interactions.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/db/migrate/20170224082913_create_pet_interactions.rb -------------------------------------------------------------------------------- /db/migrate/20170224095731_add_show_petters_to_page.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/db/migrate/20170224095731_add_show_petters_to_page.rb -------------------------------------------------------------------------------- /db/migrate/20170224100248_add_allow_anon_petting_to_pages.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/db/migrate/20170224100248_add_allow_anon_petting_to_pages.rb -------------------------------------------------------------------------------- /db/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/db/schema.rb -------------------------------------------------------------------------------- /db/seeds.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/db/seeds.rb -------------------------------------------------------------------------------- /lib/assets/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib/tasks/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib/tasks/pettings.rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/lib/tasks/pettings.rake -------------------------------------------------------------------------------- /log/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/public/404.html -------------------------------------------------------------------------------- /public/422.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/public/422.html -------------------------------------------------------------------------------- /public/500.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/public/500.html -------------------------------------------------------------------------------- /public/apple-touch-icon-precomposed.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/apple-touch-icon.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/backgrounds/original/missing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/public/backgrounds/original/missing.png -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/naptime.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/public/naptime.jpg -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/public/robots.txt -------------------------------------------------------------------------------- /rails_best_practices_output.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/rails_best_practices_output.html -------------------------------------------------------------------------------- /test/controllers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/controllers/index_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/test/controllers/index_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/noises_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/test/controllers/noises_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/pages_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/test/controllers/pages_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/pet_interactions_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/test/controllers/pet_interactions_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/pettings_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/test/controllers/pettings_controller_test.rb -------------------------------------------------------------------------------- /test/fixtures/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/files/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/noises.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/test/fixtures/noises.yml -------------------------------------------------------------------------------- /test/fixtures/pages.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/test/fixtures/pages.yml -------------------------------------------------------------------------------- /test/fixtures/pet_interactions.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/test/fixtures/pet_interactions.yml -------------------------------------------------------------------------------- /test/fixtures/pets.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/test/fixtures/pets.yml -------------------------------------------------------------------------------- /test/fixtures/pettings.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/test/fixtures/pettings.yml -------------------------------------------------------------------------------- /test/helpers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/integration/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/integration/actual_petting_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/test/integration/actual_petting_test.rb -------------------------------------------------------------------------------- /test/integration/new_pet_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/test/integration/new_pet_test.rb -------------------------------------------------------------------------------- /test/mailers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/models/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/models/noise_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/test/models/noise_test.rb -------------------------------------------------------------------------------- /test/models/page_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/test/models/page_test.rb -------------------------------------------------------------------------------- /test/models/pet_interaction_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/test/models/pet_interaction_test.rb -------------------------------------------------------------------------------- /test/models/pet_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/test/models/pet_test.rb -------------------------------------------------------------------------------- /test/models/petting_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/test/models/petting_test.rb -------------------------------------------------------------------------------- /test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ineffyble/pleasepet/HEAD/test/test_helper.rb -------------------------------------------------------------------------------- /tmp/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/assets/javascripts/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/assets/stylesheets/.keep: -------------------------------------------------------------------------------- 1 | --------------------------------------------------------------------------------