social_networking 0.9.3
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/README.md +84 -0
- data/Rakefile +66 -0
- data/app/assets/images/social_networking/_profile_icon_admin.png +0 -0
- data/app/assets/images/social_networking/profile_icon_art.png +0 -0
- data/app/assets/images/social_networking/profile_icon_bike.png +0 -0
- data/app/assets/images/social_networking/profile_icon_bolt.png +0 -0
- data/app/assets/images/social_networking/profile_icon_bookshelf.png +0 -0
- data/app/assets/images/social_networking/profile_icon_die.png +0 -0
- data/app/assets/images/social_networking/profile_icon_fashion.png +0 -0
- data/app/assets/images/social_networking/profile_icon_flower.png +0 -0
- data/app/assets/images/social_networking/profile_icon_genius.png +0 -0
- data/app/assets/images/social_networking/profile_icon_heart.png +0 -0
- data/app/assets/images/social_networking/profile_icon_helicopter.png +0 -0
- data/app/assets/images/social_networking/profile_icon_hourglass.png +0 -0
- data/app/assets/images/social_networking/profile_icon_keyboard.png +0 -0
- data/app/assets/images/social_networking/profile_icon_magnifyingglass.png +0 -0
- data/app/assets/images/social_networking/profile_icon_megaphone2.png +0 -0
- data/app/assets/images/social_networking/profile_icon_microphone.png +0 -0
- data/app/assets/images/social_networking/profile_icon_music.png +0 -0
- data/app/assets/images/social_networking/profile_icon_paintbrush2.png +0 -0
- data/app/assets/images/social_networking/profile_icon_plane.png +0 -0
- data/app/assets/images/social_networking/profile_icon_polaroidcamera.png +0 -0
- data/app/assets/images/social_networking/profile_icon_present.png +0 -0
- data/app/assets/images/social_networking/profile_icon_questionmark.png +0 -0
- data/app/assets/images/social_networking/profile_icon_recycle.png +0 -0
- data/app/assets/images/social_networking/profile_icon_scooter.png +0 -0
- data/app/assets/images/social_networking/profile_icon_shipwheel.png +0 -0
- data/app/assets/images/social_networking/profile_icon_shoeprints.png +0 -0
- data/app/assets/images/social_networking/profile_icon_star.png +0 -0
- data/app/assets/images/social_networking/profile_icon_travelerbag.png +0 -0
- data/app/assets/images/social_networking/profile_icon_ufo.png +0 -0
- data/app/assets/images/social_networking/profile_icon_umbrella.png +0 -0
- data/app/assets/images/social_networking/profile_icon_weather.png +0 -0
- data/app/assets/javascripts/notices.js +92 -0
- data/app/assets/javascripts/shared/new_shareable_form.js.erb +28 -0
- data/app/assets/javascripts/social_networking/app.js +15 -0
- data/app/assets/javascripts/social_networking/controllers/goal-controller.js +166 -0
- data/app/assets/javascripts/social_networking/controllers/home-controller.js +260 -0
- data/app/assets/javascripts/social_networking/controllers/nudge-controller.js +19 -0
- data/app/assets/javascripts/social_networking/controllers/participant-controller.js +34 -0
- data/app/assets/javascripts/social_networking/controllers/participants-controller.js +17 -0
- data/app/assets/javascripts/social_networking/controllers/profile-answer-controller.js +104 -0
- data/app/assets/javascripts/social_networking/controllers/profile-controller.js +55 -0
- data/app/assets/javascripts/social_networking/controllers/profile-question-controller.js +21 -0
- data/app/assets/javascripts/social_networking/controllers/profile-questions-controller.js +14 -0
- data/app/assets/javascripts/social_networking/controllers/profiles-controller.js +17 -0
- data/app/assets/javascripts/social_networking/directives.js +29 -0
- data/app/assets/javascripts/social_networking/filters.js +15 -0
- data/app/assets/javascripts/social_networking/resources/comments-resource.js +26 -0
- data/app/assets/javascripts/social_networking/resources/goals-resource.js +39 -0
- data/app/assets/javascripts/social_networking/resources/likes-resource.js +26 -0
- data/app/assets/javascripts/social_networking/resources/nudges-resource.js +27 -0
- data/app/assets/javascripts/social_networking/resources/on-your-mind-resource.js +29 -0
- data/app/assets/javascripts/social_networking/resources/participants-resource.js +23 -0
- data/app/assets/javascripts/social_networking/resources/profile-answer-resource.js +44 -0
- data/app/assets/javascripts/social_networking/resources/profiles-resource.js +35 -0
- data/app/assets/javascripts/social_networking/services/Alert.js +29 -0
- data/app/assets/javascripts/social_networking/services/focus-service.js +15 -0
- data/app/assets/javascripts/social_networking/services/goal-tool-service.js +75 -0
- data/app/assets/javascripts/social_networking/services/home-tool-service.js +89 -0
- data/app/assets/javascripts/social_networking/services/profile-answer-tool-service.js +49 -0
- data/app/assets/javascripts/social_networking.js +10 -0
- data/app/assets/stylesheets/social_networking/base.css.scss +140 -0
- data/app/assets/stylesheets/social_networking.css +1 -0
- data/app/controllers/concerns/sms.rb +28 -0
- data/app/controllers/social_networking/application_controller.rb +29 -0
- data/app/controllers/social_networking/comments_controller.rb +73 -0
- data/app/controllers/social_networking/concerns/invalid_auth_token.rb +21 -0
- data/app/controllers/social_networking/concerns/profile_page/feed.rb +72 -0
- data/app/controllers/social_networking/concerns/show_feed.rb +44 -0
- data/app/controllers/social_networking/goals_controller.rb +83 -0
- data/app/controllers/social_networking/homes_controller.rb +12 -0
- data/app/controllers/social_networking/likes_controller.rb +76 -0
- data/app/controllers/social_networking/nudges_controller.rb +64 -0
- data/app/controllers/social_networking/on_the_mind_statements_controller.rb +30 -0
- data/app/controllers/social_networking/participants_controller.rb +28 -0
- data/app/controllers/social_networking/profile_answers_controller.rb +79 -0
- data/app/controllers/social_networking/profile_icon_controller.rb +26 -0
- data/app/controllers/social_networking/profile_pages_controller.rb +87 -0
- data/app/controllers/social_networking/profiles_controller.rb +53 -0
- data/app/controllers/social_networking/shared_item_controller.rb +95 -0
- data/app/controllers/social_networking/templates_controller.rb +14 -0
- data/app/mailers/social_networking/mailer.rb +9 -0
- data/app/models/social_networking/action_item.rb +14 -0
- data/app/models/social_networking/comment.rb +20 -0
- data/app/models/social_networking/concerns/membership.rb +27 -0
- data/app/models/social_networking/concerns/participant.rb +43 -0
- data/app/models/social_networking/goal.rb +91 -0
- data/app/models/social_networking/like.rb +37 -0
- data/app/models/social_networking/notification.rb +42 -0
- data/app/models/social_networking/nudge.rb +38 -0
- data/app/models/social_networking/on_the_mind_statement.rb +26 -0
- data/app/models/social_networking/profile.rb +88 -0
- data/app/models/social_networking/profile_answer.rb +17 -0
- data/app/models/social_networking/profile_question.rb +14 -0
- data/app/models/social_networking/reports/comment.rb +31 -0
- data/app/models/social_networking/reports/goal.rb +32 -0
- data/app/models/social_networking/reports/like.rb +35 -0
- data/app/models/social_networking/reports/nudge.rb +27 -0
- data/app/models/social_networking/reports/off_topic_post.rb +27 -0
- data/app/models/social_networking/reports/tool_share.rb +27 -0
- data/app/models/social_networking/serializers/comment_serializer.rb +18 -0
- data/app/models/social_networking/serializers/goal_serializer.rb +23 -0
- data/app/models/social_networking/serializers/like_serializer.rb +18 -0
- data/app/models/social_networking/serializers/nudge_serializer.rb +24 -0
- data/app/models/social_networking/serializers/on_the_mind_statement_serializer.rb +21 -0
- data/app/models/social_networking/serializers/participant_serializer.rb +15 -0
- data/app/models/social_networking/serializers/profile_answer_serializer.rb +16 -0
- data/app/models/social_networking/serializers/profile_question_serializer.rb +13 -0
- data/app/models/social_networking/serializers/profile_serializer.rb +28 -0
- data/app/models/social_networking/serializers/serializer.rb +16 -0
- data/app/models/social_networking/serializers/shared_item_serializer.rb +38 -0
- data/app/models/social_networking/shareable.rb +17 -0
- data/app/models/social_networking/shared_item.rb +21 -0
- data/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb +57 -0
- data/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb +67 -0
- data/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb +57 -0
- data/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb +62 -0
- data/app/views/social_networking/coach/patient_dashboards/tables/_social_summary_totals.html.erb +39 -0
- data/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb +22 -0
- data/app/views/social_networking/coach/patient_dashboards/tables/nudges/_nudges.html.erb +5 -0
- data/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb +22 -0
- data/app/views/social_networking/goals/tool.html.erb +116 -0
- data/app/views/social_networking/homes/_action_items.html.erb +13 -0
- data/app/views/social_networking/homes/show.html.erb +64 -0
- data/app/views/social_networking/mailer/notify.html.erb +11 -0
- data/app/views/social_networking/profile_pages/_profile_questions.html.erb +79 -0
- data/app/views/social_networking/profile_pages/index.html.erb +27 -0
- data/app/views/social_networking/profile_pages/show.html.erb +106 -0
- data/app/views/social_networking/shared/_comment_form.html.erb +25 -0
- data/app/views/social_networking/shared/_infinite_feed.html.erb +94 -0
- data/app/views/social_networking/shared/_nav.html.erb +11 -0
- data/app/views/social_networking/shared/_sharing_fields.html +11 -0
- data/app/views/social_networking/templates/social_networking/goals/_summary.html +1 -0
- data/config/brakeman.ignore +25 -0
- data/config/brakeman.yml +0 -0
- data/config/initializers/datetime_formats.rb +5 -0
- data/config/initializers/think_feel_do_dashboard.rb +2 -0
- data/config/routes.rb +25 -0
- data/db/migrate/20140827154926_create_social_networking_nudges.rb +40 -0
- data/db/migrate/20140827154939_create_social_networking_likes.rb +29 -0
- data/db/migrate/20140827154953_create_social_networking_comments.rb +30 -0
- data/db/migrate/20140904201719_create_social_networking_goals.rb +31 -0
- data/db/migrate/20140910123000_create_social_networking_shared_items.rb +11 -0
- data/db/migrate/20140911193832_create_social_networking_on_the_mind_statements.rb +28 -0
- data/db/migrate/20140915185648_create_social_networking_profiles.rb +30 -0
- data/db/migrate/20140915190627_create_social_networking_profile_questions.rb +14 -0
- data/db/migrate/20140915190633_create_social_networking_profile_answers.rb +31 -0
- data/db/migrate/20140916163621_add_profile_to_social_networking_profile_answers.rb +23 -0
- data/db/migrate/20140917151905_populate_profiles_for_existing_participants.rb +9 -0
- data/db/migrate/20140930141007_add_unique_constraint_to_profile_answers.rb +8 -0
- data/db/migrate/20141001130941_drop_participant_id_from_shared_items.rb +6 -0
- data/db/migrate/20141003191233_add_action_type_to_shared_items.rb +5 -0
- data/db/migrate/20141006200325_add_item_label_to_shared_items.rb +5 -0
- data/db/migrate/20141007141541_add_uniqueness_constraint_to_likes.rb +8 -0
- data/db/migrate/20141008150325_add_icon_name_to_profiles.rb +5 -0
- data/db/migrate/20141015222822_remove_unused_profile_question_columns.rb +7 -0
- data/db/migrate/20141016015415_seed_profile_questions.rb +16 -0
- data/db/migrate/20141016164443_remove_active_from_profiles.rb +5 -0
- data/db/migrate/20141106102625_add_active_to_profiles.rb +5 -0
- data/db/migrate/20141106104713_seed_active_field_of_profiles.rb +9 -0
- data/db/migrate/20141223203142_add_participant_id_to_social_networking_shared_items.rb +6 -0
- data/db/migrate/20141223203721_add_participant_id_to_social_networking_shared_items_data_migration.rb +9 -0
- data/db/migrate/20150317173959_add_completed_at_to_goals.rb +5 -0
- data/db/migrate/20150317174425_populate_completed_at_in_goals.rb +7 -0
- data/db/migrate/20150317180057_remove_is_completed_from_goals.rb +5 -0
- data/db/migrate/20150318133032_add_deleted_at_to_social_networking_goals.rb +5 -0
- data/db/migrate/20150318133127_populate_deleted_at_in_social_networking_goals.rb +7 -0
- data/db/migrate/20150318133353_remove_is_deleted_from_social_networking_goals.rb +5 -0
- data/db/migrate/20150327143224_add_index_to_comment_items_and_item_types.rb +5 -0
- data/db/migrate/20150327143244_add_index_to_like_item_id_and_item_types.rb +5 -0
- data/db/migrate/20150327185721_add_indices_to_on_the_mind_statements.rb +6 -0
- data/db/migrate/20150327185856_add_indices_to_nudges.rb +7 -0
- data/db/migrate/20150327185919_add_indices_to_shared_items.rb +5 -0
- data/db/migrate/20151211204425_change_column_default_social_networking_profiles_active_to_false.rb +9 -0
- data/lib/social_networking/engine.rb +29 -0
- data/lib/social_networking/version.rb +4 -0
- data/lib/social_networking.rb +5 -0
- data/lib/tasks/seed.rake +17 -0
- data/lib/tasks/social_networking_tasks.rake +4 -0
- data/spec/controllers/social_networking/comments_controller_spec.rb +139 -0
- data/spec/controllers/social_networking/concerns/profile_page/feed_spec.rb +57 -0
- data/spec/controllers/social_networking/concerns/show_feed_spec.rb +46 -0
- data/spec/controllers/social_networking/goals_controller_spec.rb +178 -0
- data/spec/controllers/social_networking/likes_controller_spec.rb +152 -0
- data/spec/controllers/social_networking/nudges_controller_spec.rb +88 -0
- data/spec/controllers/social_networking/on_the_mind_statements_controller_spec.rb +61 -0
- data/spec/controllers/social_networking/participants_controller_spec.rb +67 -0
- data/spec/controllers/social_networking/profile_answers_controller_spec.rb +95 -0
- data/spec/controllers/social_networking/profile_pages_controller_spec.rb +57 -0
- data/spec/controllers/social_networking/profiles_controller_spec.rb +45 -0
- data/spec/controllers/social_networking/shared_item_controller_spec.rb +69 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/images/profile_icon_art.png +0 -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 +11 -0
- data/spec/dummy/app/helpers/application_helper.rb +3 -0
- data/spec/dummy/app/models/arm.rb +17 -0
- data/spec/dummy/app/models/membership.rb +3 -0
- data/spec/dummy/app/models/participant.rb +41 -0
- data/spec/dummy/app/views/layouts/tool.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/application.rb +29 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +85 -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 +82 -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/social_networking.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/routes.rb +10 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/migrate/001_create_participants.rb +8 -0
- data/spec/dummy/db/migrate/002_add_participant_fields.rb +7 -0
- data/spec/dummy/db/migrate/003_create_arms.rb +8 -0
- data/spec/dummy/db/migrate/005_add_null_false_to_arms.rb +6 -0
- data/spec/dummy/db/migrate/006_add_has_woz_to_arm.rb +5 -0
- data/spec/dummy/db/migrate/008_add_studyid_to_participant.rb +5 -0
- data/spec/dummy/db/migrate/20150309210518_create_activities.rb +8 -0
- data/spec/dummy/db/schema.rb +139 -0
- data/spec/dummy/log/test.log +2570 -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/spec/javascripts/support/jasmine.yml +50 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/04efcdd6c2cbcd95a83d2aa0d4995f89 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/068970f71c3f6012607d13ba3bd51ca9 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/0929783dcb5284a33ab0ec76571eddd5 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/09ba850e0d40810a04aff16561dfa5f4 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/0d398091cc9b33caf4ff46ecf5b6f74f +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/12c8d4b7c877e3cd4448dd1b00707da6 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/140a7d4959b7b37b837ba2f3cb2bf417 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/154ab867cda672ff401a3baac54b7898 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/1960708584396db585aae1018ea4a492 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/1d762895546253dcc6e595df571755b1 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/1ed203a64343e4f8e85e690a0b5d0f7b +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/1f952a4b9967316acf409ccd34e8ec87 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/1f98bd082d83bfdad92f9ba01b42748a +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/22350041706de3dfa9cee230711d3ce9 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/22e8cb4f46663942b588d7944872c0f8 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/26231c6b41d81e442dab3d83badd2f01 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/27bf280d84e06ed90ff687aaf602df7e +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2860af66d6d959cb8944e1c48d098de7 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/28a86db440573315a22085e2b4036c0d +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/29a82a5df9e04680f19b956360385c06 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2a1b3faed5adcc0e4e23cdcc0ce8d71d +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2b872bba3bb8628d6f86243fc6e703d7 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/31531d40219fb9de72f7d435f0bc6d29 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/367532405470b3383c6a711508e349b2 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/36e5455272bf2b78c940e9852c3ea676 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/39d7bdd486b95f83727fc7fd46c39ae6 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/3a1337d692c1f9efc14d7160cf945f74 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/3d8940a03a5b8bb523a7162b7b7535d0 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/3f1cbf42da24a1936d09dc953596ef9a +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/3f4fed38607dba45acf166564186df46 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/40e5c19eafa92b2835c4d00b48700e96 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/43d2fda02ff963968b06162a6d0d374d +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/45d1b5e6429202866237cdeb6eeb9f2d +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/4b6e85ac359577dc45d431be6388f2a9 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/4be94805fb74f8b23ca1eca6ed0bd632 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/4c5ff0a55b551701250f16d458ba51b4 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/4d20040fe1d18366899d8caf56ec3888 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/4eaff946c4e170a052634f6d0a84b35c +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/541a3d0737bf0f253387f6b0b7d6a5d3 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/54c84618c8cf7d618f6151ea3fd88114 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/560219db5ee91f876afa37ef5649c1d0 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/572be3bb00fd4fc080a02f811f61c09a +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/5a3c0221e63dd66e2d75cbabc62576bc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/5a6a2bae028eaea543a5bb7f29e24c25 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/5ab8b4a262c6429d3bb919a0afc62f40 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/5b931c69c9352477eca01b56f003018d +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/5d1fd03e2719b5fbff6134e24275b83c +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/60e0db4345ca1045d312904ddcd94658 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/61bf02a12fdd04ae613f77f050bb0bd2 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/674b2ac4d809a9b90cee9866f1e8bfcc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/68526121585196fdc97da101d374ff68 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/688e7d80db8815937c45205e7ce92dfa +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/6c170dcde21cf22cc343417ec75314eb +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/6d23eac698f5f61de3f7eecfaeddf1b4 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/6dffaae88127986895220191266ec704 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/6e06d0075cb88c7364b07464dbfb7688 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/728cf3650010e91e100cae55401a5830 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/738cdc373678c00120e4d6d7ffb705de +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/7a2651faf6bb6a23a8effe61630fd700 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/7a2a8769a0ec115fed298f3e5c93c1dd +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/7c24a1204ee1746620faad54fbed946c +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/7cdc143a7c7fe71a82e354732c18246c +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/7e999b5ecb325df8accc83846ce2c61f +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/895691afa586f44640776cab8bd383c3 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/8bba4a518cf75d823dba13f41424a984 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/8d441dad671546638ccdca205d3536a3 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/8d70cef1f0db4662b80f108e80fe5b65 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/9146770e078971e34abce1d944074147 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/968ae7fc17099ef0889f64467a8cb734 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/976e87a00faf3e5602358931e689d3b0 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/9c1b782e0a2c7965e1ceed6ab002b8ff +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/9c2f58c58ad455cd5d72ac9815d59b7b +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/9f689c6ccaf5f847ad59b7783174476d +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/a1ccfd0880e598423474a088a3119000 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/a23da29f740b4ea1d2379dc17c8326ee +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/a2fa117e42b34a2ffea76d5ca64a3f1a +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/a3cef68f2556ddb2a541e62c00ae540d +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/aa29d745f690c694480985c15036192f +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/aa8aab7ae37043423b88c004cb8f4cdf +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/aa962b4cca6151633f9ab8ff34d0c520 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/abaa0de19245ca2c68191677f4559081 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/ac2b3b35971cf44d8178142506e5d5b7 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/ae29456edfe833786eea7c66707c7da4 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/af34abeaf80d5a3bda55ab5a4b80b0dd +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/b3d20fc65bd5b869e10d000c3d63f169 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/b518c9877d28db6188b4f30f924b8a46 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/b57dd1a0f84680cfbb1dcc22a56d96b8 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/ba4b67f6691a50192907c834193e9d58 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/bd5422edbbd5c7fc844657da6abacea8 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/c2986c18be3b9e2260ebc2ec3f7cf68e +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/c3c4b1d5dd84fe989d8d71a0742b7955 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/c3c84972cc743ef7ce0be72922c4d7ef +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/c486fa9d8abbb7b603dcba17f821f070 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/c58e24e3502e2b6da83a2d6d6700e15a +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/c5f7d3bee0ba777ca31ce3f567809224 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/c947fc97ebed89ec8585c68c9f8390b7 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/ca1466177f0af6f86edc281e3c251a0d +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/ca28a1bafeeac300a63b1bbf3ab8c897 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/cacbdab68eef233cd46010371da08c43 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/cc8d8966f154f7c7da3cce88f0b47fc9 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d030f0f26628011570880089419315ce +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d1d96db186996c39eb8f5259c167da27 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d47cfb4b568753042b07393d36056556 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d7ac57921e5445b1ccb0e9a0dd15d9b1 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d8ceef4f981c72fb022ff0c99b2f177d +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d8d46208b57987aafef4d0a7955f4151 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/dafd05a502959ae10f9e01822ab180c8 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e085fbe577186379fb7420be5bf18607 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e1a08a4120e766f3afacb299b2e29230 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e21891a7e3b4ca614f61ed71a863ead0 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e2dee3d404c3b593266ad9ff6a3735d0 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e37b8f12cd510587012353ad9d06913a +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e76cbbf8dcf00082c47c01d37044d6d7 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e7a9e5cc7b084b587c2edcaa960b8e15 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e8a2ef95023e57ce5c183606a22fd449 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/ebb42cb2d4235b4e1dae3dea9db2e67f +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/ec89e89474a7c877cc323153779a9c8a +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f2b564985f4ff06a50afbc400dffd487 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f4024efb009df86e896190a181da8478 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f56f31437c53a543d321fadf298f946f +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/fc84963b480f54a41ad1983db1a1474a +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/-Kl7eLvnXvAQpHHO0RSxE7GCGE0tSG5KH-OUa6OVtik.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/-WU-JqepVF-DTdSlRu6uS8xIVrtSADfFfhDqjqQQedA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/-j1cnxD6WVjsz8CRyaZZNOoh_lze6qj0pOgzaVlR4qs.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/-pkorL6LfkzJf0__OamvnwkpHhzdEISIQtyhWteTjNs.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/0FOD13MGeTXbv6iHubo9MNlLYMcv9Jb7cUWv-3uU9xw.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/0I70zaRtFNDZYHW6TjZiMrISeghHV3u6UoklahKOQrA.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/0M7l1lWcLbUw_-2zKwRqbE74S0zPeZCzjjA1mU_H02c.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/0hz5HR6RzEgs0jqntLhqM_FHIgeXlBy9JLRxwLre9nA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/11j_zBUWnB_noYdpXX6yTXk83ylkKjCC6x9CUd6tHJI.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/1m8-kDbSQWt1HM-BYSKNtW-OrfzNvGGUTJaZ9rNZxwA.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/1wTclBfuQl0hyPD9bV1c360UrolsRqSkXwW82TXt60w.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/28FMT4a_EiOtu-dpXX3pgYypD248pYbd2-N8LC2AK-k.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/2EqlKwzfGGe0jVya_ah5rs9LZyIw-xTAuEgkerY4TOY.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/2h2DyYyVNypgZ_X43AvwfBAD0MnoRmclnTf-9zKDHes.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/2vMyUMkVHhTF0xlxZ4MR9MfAtifhkXhnNT_yiRyBztI.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/36bjILgscvAaTKgrGP7RQne8CVH5XS2KWN5XD3xBnm4.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/3e87gYbgeDYaP8698l6nAqE5cMrTGbhRNCrknbLrGJE.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/3xV_Wbs0ECPCzZ15J4b-jdz7MgHLwKBPA0XPajF_wfU.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/4NrGbarSfwsf0W_ggaGlTw0LKz6B1lFRlPEbNcg0mAo.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/4NsobJgC2SmxE8K1j8wfVF8A1saRJpmr2J3Ud-V7QFQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/4frttnlbfUjitowHOAIeln9xuEFU3RZpqu_PH9IBh1w.cache +3 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/4idVT75AxzWeKPFKRcvjHcrfSG9vLgOh92UCQ0NJhuI.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/4merYQ2M1201BAz6XtjFzj5JAews34QuwydGzr2x99s.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/58uXxkZLLaPd09smeocWKFQd35od2IRdpcgKBSAibCE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/5Ksy8krRwIia3k3HciPFXChZTc03x3IMdY0dIXbTAxU.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/5gfjkEM4e5wWzc-hLf4YfFDda3M8Tq0Mc5l5xglUNXQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/5mB1_oGW8Dvt0yRzmW6V2Nl7YAg_B1JgatQDDyfIJ-k.cache +3 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/60XhepG7gj3RkZz5kJij1tiOspZ-tYpfDF3x6Op_qIw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/68cGGmmrte-5ECDHO-ncmQwzR-Rh4vD84YHs67Hysh0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/6RHMH5Mbj47VK94CkdISUfhZSvyPg0rlvQ_hEted0fY.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/6XbZpmNHcZscIKL-OAohGcM2rGkVzQPtEhgyMvi4lvE.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/6ZR1jD36DG0Gg9CH9O9anQhwjsmmJDJqOTl1upPJua8.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/6vKulvrY_lwn1VnETAo3w3LkCtomqosV4Ee7g2_Z4fY.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/77vKYy51Jr9VFLeSL5t8N9UZGLGyC6dgKU-sDqYrFGM.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/7YE-1oMQQdcewPg7d072ky3wl5aFFkmeu2WhbSne9xA.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/7x_7AKaqtE4SJtFhwXw-R_NtVDJ5uiTBO5-_Symqsv8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/88L_9W2TxasY7ylZUgtG8QrPeh6H0FFv72G4Ucm0P9Q.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/89t5I0yd6cdBsdVcuaWGTFXCOZ32tkLZx358JHi77Ks.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/8EllqE_b9MFGDmrvnO6pKhmhMfTtUOJAlNlvAC_t0vc.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/8oJB5cwVs0UjcszfU9BSogRPzpYwFvGPvKl4cync7qs.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/96dgkJ06tOBt34tT84AvWgnpGkNwTHa4nlPDRkNtNkE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/9U8iQEEqiOPuxSGeGN-WhxCF73z-GD8odYXs2_HZ2iA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/9ajfYu2m83ZNU-xoicMF1F1IxW3QBovL2ZVo76FyKwU.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/9auLnF2MX77my31UDbHJ4PDw3v2XXC3uTwN2qYxtofw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/9dMFObFT2EnVycRFfQT3llUJhfXimv4qfev51SuAvDw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/AINQZl10AtaJqHZyyNZdVqmuCjRXMHBoF3uVRzTV5D0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/AlNYO1xK40rhHfFyRYGxXTHHJDg20nuatO1w4_dHWag.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Amf6TOEJj52Y_q8SFAO2_alayaDbHjYmyCY4xFH5pRw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/AzFhw57UjRaXPes4x1rH89UL4dK1tJ4lmI-MGunACZI.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/BMNEGqDE_k0Y_ZLiyGs2U1rGheuZkRbcY3h9j1zucxQ.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/BPYjK4i8yqdGrlDJYymCpvtdq0Snmnwa2k2qaS_7t14.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/BjTft4o-tKWvIPKtvf5AkkAUPLObFIT_do6Jm7tVKkQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/CCpDzdG3W13gZeA5EFZRfTgO-ThiqqfRcOTz286AtH0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Ca4arIhUzvVjosagcB8jsaBlFEdzjJpGfb6jjeLgkxE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/CcBydNOQmljUdbJuOzv105nCjVkTtnHoTT-r6kiPLk4.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/CcTGAtIJmw1CnyheeZBIpUBzQ9mMEEp576BgKx6c8VQ.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Chi2RCxRj8eEfPJxEJddjhdgReDg4bUY3dMPiKq2PWY.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Cm5YNa35Mpa_Cg8f1h-NnORBopbu1sgkf9pHJwNelk4.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Cxgk3uQ4gVJPQqwn5P893pNo10Ymbe7VqJqiAQUOcQs.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/D9QZrZJ63_XOdiSyzVkL5di0X0USCC2QBRcasQhhtXg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/DOnD8st_2PDNu_jghE9jb2em-wWMmCaWylTxNUd_gnE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/DafDaaltFmFz2oPyaLKSFmhcIQTMLDBUlS6uJgkNMZE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/DxGBFYs6zLSeYDW1JbTUbjf2Ik2n0ACzYKYbtGtkqSg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/DyLaLMPso-ByMEkpb6IBwyCPWiPjrcB2boVURoj2s_o.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/E03RtAomRVfV9kzAYE7db9qN8aJglXLJDbT39IheYa0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/EBhopqgX8x1a7hHpixQP7SafeUa5poT9jUqyv-_4hp4.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/EEtFS2SnA4hDQgK02Y_tdC6IypLaGKf0zmTbzk_P548.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/EKbTxMQiibHNFMKIy7PPXSJwrevhl6dvBouZm0R8iOI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/EZZhD9Dm8b88dOoZlfo_pgoDXBeVpJPaMxGJ7o9rP38.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/EqTGxHK2drCdyrWWK0L_qeI2xdZFg-yeAjl-mdFzT_w.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/F0DB8SF2vleu8oyBOqSJNWzYv3Xeq1jMgI0W3Qr2Mis.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/FBOWggWkBK_75B_Ra3WQrEKEwWBw6MPeJV7XrXyJ6rc.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/FMNxBdDAGb_B08SbmLbkVOBMDsoSRDc4say1jccF7XQ.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/FltaQce9Y1CpZf73yxwYPYVZQG6pdlqMSF1ND6526AA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Ghi37MhO6Av2HBvVSRv54q9X4ovVskDNEeHyiDRi43k.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/GiIOrHqX_kacv_9z2B630MniSnPcl-xF_oMtnNZxJlE.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/GxQzUlvpTSYIngAYQR8ZwD61-5pa4UcBTL-93JTXwQA.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/HR5TgeriOCfs8vqLY3y-vOTxbDGJCAqVe7ejhduAopQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Hb6tiUleBb7lJtBtixNk6wDERPxLwj-atd-7VWhK-KY.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/HliBSFWaOzYo2Tp3NLqFI0dzOaBUqQ_Eb8A-ijIK-P4.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/I1mtmpmoauZKzIfX4Nuxd32-RLvBfEiAUoo7eUrLW9U.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/IBOMe6hFUXo2Advx7iSiCAMORK5GOff43DQNiObLYSw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ID2TAnevxW1Sn4vt0mFIx6MFmaO8T0oib-Ts4Qwjdqc.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/IHzO5EE1hIa7YDQm7mLOPEbRg_qj0CUojrNel_s5uHo.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/IPN_5r0HPnY6qHZ11JCXMC8qz7cp5-9D_tyyc-aXS9A.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/IiUZ72U5K2rvRG13qyVr0mVNpRxVf21SN6q6LNVjFbw.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Ik6jghOUPFUi4cbv9k1K_AuBIhcg-xcgiAlSiBiVsE8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/JdCbaxFb2mtb-XqPLC3e5ZCBk7mndLzgtCy4dK-itaU.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/JuVksXNe-kUWuYYnKrVv8aOBAgkh42yZnuebyXEMQbQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/JwdAo29vaIOkPuWtbEYRc-bnsclGbxlZ04D1Q9X5ZAU.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/K5HD2xy8qRP6Rg6axUTrEo1BVTgm-5v-nW-5z0eUv7k.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/KK7-YeBGe7vnm2wYNbTGQUaEC7Mk8kRc7zW5UuLxVzs.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/KUCMeIyfSJYgKme_2CX2kMgCHm_1HD8JpWuVcWR-i9g.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Kgm7eaversrfhbkxWftCN-_bA_oRA3BKhucRIo6hZfM.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/LDgFmC-Qowab8Ty7v1oMXq5DbpMJHpyXCzj-fb3ofUI.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/LF9cqLCpCKK45hkoU03HjB0E9QTYR8ZHkSkT_-XnU4g.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/LIcuPhyoVCaRDqHJjy5ynh6GhFolAaiuvLCj5fYNtUw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Lz6c89-eVWWBPzKydxpqoxLA5MiFnolTehDXJ0328gg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/M3KzXbqZJ7cj-odtR9LLGv3NWQ3uU8zCU8qroa6lGdY.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/M6YIECYiSiGWlv5UEyLrgKjfVAuUtHEND8pgLmsrfXs.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/M7jIBHnObqQu1ZUYeLq7bez0wYEzNT5T0qyJjQoOW44.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/McykCRHHDQzN7wHpJqyYfnBIlEHpJpdLUdNDD6TS2u4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/MfMOUf3woUN-NpXdXIbtu2vD6bO0Hg_eBltVYKxBXHw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/MvHFm2BpzYmTgbZ-dfIVI4bJM1Xdot_L2_UY8jdR-DU.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Mvj-qtsI7_IQw81ywgayhNuCB6WhIXNgebDykUiNM1c.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/NCdhWqZzyU9KMA24yVZfhbZZgrfaVcSXygDttZDK0pw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/NIDczTDvwoT4E54H7IvQQCQQUp5ETf5jTc959elSVIM.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/NIUmtg76CDA3k56ZRix2c2zk0g74kUfkQKAEC1URX70.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/NQbnRV4ZOz2kD4dJZLNdDxGtLHdmG78aWKD9ic5UJU0.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Nbe9MxX5L18mY_SvrY1LmQ28DBdtWXfHtv01sAy44PI.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/NbnwIH6yXuD_o6lDRhBz4zoOVnS0nb_LNyzv6fIcHWQ.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Npi3B0esj5mnRmKjcrZEqvfYMEXq1m0Wnxetpf893Ek.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/O7WC0awRTG2hcvxKVDJ6LrdGEuL7YxocQUw2d-UTbmY.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/O8akbUwAbmIKY-AhITimq-JDQ6IgsO3Hvq2v5etufFw.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ObCOiweEGWKEn5G8eWQSfR887Yi702tPObaLkMNES_c.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ObdIdL7E4w4UDFLndzcRZdowkN29A8XsaRSpzEJuX6Q.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/P6OiAJ-x0gq4A1ixHfODhauG0uur5LrRcQvDhBRuhwY.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/PDE7K8QSxh6yZVGnJad2XasYtPFfvBLda2RK1xbCCY0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/PF8jVe43kt3aGtP3z27ER33XQAxvW8tm052sXDGIOys.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/PHYKuXWTpxrRcx9fvzzIKXlTQFMqkGZBF_cF6Nm9e6M.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/PUOQ3QLfR6Uv0QkilH_-HsbbNmamc-jwyhXVCO7MfrQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/PciIOqCmmInt_D8J2zH0HO7BHzNLzweZxxbp8InJiJM.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/PiiYSGME8IETnMv8wyHabAQ8dQLWJuCADRytXzz2zt4.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Pt5L_9FIrEh4mV-ugTXsC4X4tB0GVcXO-Rhd--an-JQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/QBSeAI4UcQXnJOpFdPKOzdXpYMn62qm4wyPNhH6QPWw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/QIFmyb6W-9jQUOxWYNkuzoyERR5U5ev-iiREa8yHD3o.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/QOXYmHR1W-37X6qAZOGFTMhj7dzBQf5a-xMk7QC6q1s.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/RehYfMoP35mzUqugLaaC0GETUfRE1JIQrpQKWKxchx8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/S-AysoDTJXWRWEmgTJ4vBioZ-ei5lG8LdRJzUcJakdg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/S-sKK_R__vzg8OGRsBZ0LpjXpZi5sVq6zX6YLWiXk1M.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/SuerJAVpvUaoie-SfM_yjcRr068zE3idcmMoLPRMcCo.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/SwmVDeL6mLTd9eCHwreqXojuYW9Z4JovoCtbQ9k8hEg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/TLBmbsLhiGNq2J6hgc88yclTEcC2qLlzvjerRvKF58I.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/TapmroTKPi1dfKnnO63VVain9GhrJMOMwunRiNWug0A.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Tfb52ZLkIuepuhjA112-KHiNeNmMlzA9dWwrVQHUnIg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/TfukQ5et-BTh27AZKYewwVWUXj5gQgl5p06fGAtgUzU.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ToOIJ6rRF-bcKueaGgRsc5azdRPlF5YSRC07G6LnMqw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Tv3lc0P580mhM6shD-eCsvmWfu23x2JptWMo1a5Y6LQ.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/U2HqX5LYZZX1xzabfbxzuG-SN95k5wf3UWQDKL4oKdk.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/UEWzEPlOqBrWXkWr86Mbnvp9UkmpEwmbO70QyXFDtQg.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/UKuAcJLE961hTJhJ3_g8IVkP8hi4SJ1ibMriqluQBSc.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Ufjo8SEMhwSXNbt1ELV1w2W0AK2RqvKuRCfj8oDSrA0.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/VZ7WrbhwonPow-gjNSy--48-OwcgHeuIRt6pzlIe9u0.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/VgPnbsqytPuO0Ik1c4tlPVmDmgrzRG1Aimzxq_gtF8g.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/VteJsc6Hoxg5CZ4n3j7NOtJX28yOxGkudHXcjnk97zE.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/WE0KN5RFSUAZBNZTuJwbweRCIn9UK30RPxMfhEur8Vo.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/WG-ciVUsY3cyQnpsMU4ynT7daEL-azSsM80uYZ-o6dc.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/WGsBp-eP0POzBqmwMV94nqQfdgvXWB3XfjV7RTkjkOg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Wau-56jMKZeemv9I0TxR_dtytVmnmROvaYf0KdWgqYg.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/WiWBeG7nAbiu_mXHNvoUeP2aj0Na4CIPOJTRKxVpxlw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/WtWLSNQ4YXD4jE30EAvu-u2a8fDUdeT_pwiNQbo4XXA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/XDOG9yeFGOOsKQuWaYsp0MjtyAHkwaOYDJx1KqPQqj8.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/XQhSvqFG85BZLLEp_oF2j7bieWIMWg-zlSuszqJeKyI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/XRVCsMytpsgXocEtryMQ4AadQJxP4AIPi6KVkC42U2s.cache +3 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/XXVczR_0vWS_qIBG3EDaNjMQpTiYH6ECDQndmW5pXzs.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/X_MQ9TWcE5TDPhl09G9Li2hoOdKTSA5izEmEEOCOZNI.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/XyguOxuYT1L5Jfk17rGm94Whvggm9cvVkqzys3KT8mI.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/YOyYkTNmHljba-4nIjr7YlZrp92tHj4SJKjwrhMYQJg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Yk1-v76F4OYZ1k1_rAPHA-hUAe-YlipmKqyqLmjMsRc.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Ywk2BN6P76hLuAdQbZ4Nc6G2wktEfe_zkj8oNw4xdeU.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Z5odkgR_R_ktxsQY6qUG-MvjDrJhv24j-WK0QMGM5ng.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ZQn3l7rP-xxUdl_jjSQct3rxoUttJeMgHb2ybJ93N1g.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ZXKM3i6yC9CFe9EI4Lr04ETqpxg_Uuk5ny2bjfvCMeY.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ZdeGHCEgJIB_xlZrcZbh5r4aMXNunY758y88lOekfgM.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ZqnS90DE28NUw_6pK4c_GHg37lyMRxzaNokLtumrGuw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ZsrUGj5ZywDWkhL2v00eXJhp0LOft9cyy8-Pj-FG3bA.cache +3 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Zxnusb32A7CoqOHB2Tjp16CP_qqWlgqbQnCA_RmnI50.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/__AC7Z_FqlhYG9oxaczHWS1e6maUCDzh0uAPaSpLq-c.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/aHPvKxs51MX35Xze9EAH3gMFtFT7xLnWAYekruLMowk.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/aLM_bJa3T9DXSpahbXWBUPmdcQ2GK52WeNMKZLziddg.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/aYCniUe-p50gfl8R-x-tLzw9gwDNiDejz7ZLz-pAurk.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/apVY7wqE7LI-obDiPEOoKECYgryYKXdvfH7G1pJCYZk.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/b00jXZKeSk2UFD3EDfE4EM3NlB6TPqIebPh_eMyvtRI.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/bEDuOC-9tuNJfs1O_ETbdBd3TemlYiNAoTPjz_tF4Ro.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/bFZWUiCGWDkULcMHm0lXvKbRgd7pYCx5z_HgbOAJrtw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/bGNuR3zk0GYl5tIMXOliWkEMwoPajsn8G8-H8IaaKFM.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/bUcg2IbTydeXQGoBxVq8JjCK5vvrVbCRzMdsk0gEfro.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/c2-xhBhHuDQ18UqrywUsHcesxhGgeM0SN9Hj7PUaIaI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/cIgOLivvJH0wPxcVUuY_GOryMxsmNTzpoN8JMYSHSk0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/cUvXZ1vgv0OTq9xr8MkPIvKc28hGbId1ScYsjr1LTZc.cache +3 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/cYcbi0jHCkxqGMvSAKiKXX9GerYUwyhqVcXP43KC1_I.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/cp3C_61cvaRZTpODT60UbNn0cSR7z5BW53HYd-vd9tI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/dOi-CrHTYJLnAfsdZZJEN3bq3V7JGW9It5wfvQqnYzY.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/dSkaNtPExYPg597s1b2-o2o8_XuXLN7j4Gne8LZR6RA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/dqC5ODoKUPXTSAuMAGrDXyUuDm1FoQncJnVXb6v8jQ4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/dr9BJa7e4iREcymymCYoLl-okhqVKxHHzNoTQCnjC18.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/dxPuuU3VNipmW54dOCVKtORPyj5z1IU7MW9BsEBoBcw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/e22rez_TAzCLZctNdq-zAiP7-t5Zh8hJWE1gC8rxTSk.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/e80l5ji8v14PeKrs2A6ZdU_LkcmltBUAZTKcZHuRJpc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/eK2IOSBshTxbfBo3uzy07d4WKl8ppywhWAKI9hcJqoQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/eL0Nfr5axdnFnGPXMC2SkfXd9uTCOxRoDKnJ7Vps1uc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/eZObR9SH1s20kypLgB0rLGmIC-Ll66ZQ79HmdGHwa5w.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/eZVyo072fXRF4KZ06h0fshCrgb7bKsva9cmRynWgiZ0.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/f0OKdH7LiosD9hRyDNWR4eK9ptcMWA2fprcTC7w_sXk.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/fKpvsDHPIWjQRMlHlizdWTXnmpQDeVoUz8pE344Saqw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/fLocVliVeNk4-LsW7PkE39-D27LdR5wXtZDnCwWuULo.cache +3 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/fVyNL2Un9HUR3622TjU85auW2fSUbrJ8ASJ9WFiXVbM.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ffXLLR9pjEH7-T6mhmtJ-rgKx6pHmNLTQyRGKuFfGTM.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/foP6St1ZFh7tPJ6-OTXNSsBHODKKfBHxHIxiZpqSesU.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/gbmpclxhgONHHW_721C5CsP4nXTqQlxKT86KFyy0ipU.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/gsCOAZfr_83VLXC2TwQaRNZ3ZZGKCaQepnKGGhbxlQY.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/h311hZIjLayedPYKGX4F70pd7_KJw9p7kGRgpZBU2-I.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/hSnla4B2Unwgd36Mq6EBcjCb5qOU2hekM-5Lgzy7qLM.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/hUTE-BEK7NX8ZZJugAuZ92lnQIuwgY3vv7BlKJbsN_8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/hcqQUR3J5bMmOJizmOpNgo_htWMG44ZpdxLXJUFaRNE.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/i-cFTL-n782xOJabM0bWMco1Vm-xcNLJ6fJtb9FVFSI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/i0mNdudzhegd8m6dd1_q72ktVU4wZDQaS5LQN-dowCI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/i8iwntg0Se16dVEAr72QPrBAQtibMImbIunXfpTy5ew.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/iiFEzxeGGYD9iI9TNO4atgZJ2w0E1kxi_uvGdhx8-Kg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/itjNE6IOYTi2X17GuYC5fT0xoUps56TOrQdlJ88Bxa4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/jJlWAA3M15ikrIazNk78ZcRXpHMsZH_TaeZutaQ5NR0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/jYVWrF6-TVzMcWev8TuMmpT-GniTbGR6e1_38VABfxw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/jZssewsl1yI_3-K1YMFnVTCjNEuEFMmoHbTl_vfZ-VU.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/jbJF1droqyhqp5h5l-iP9karh9cPv4x3Kmou9yWzIXc.cache +3 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/jh1S56lmjVNr9VMsNW5H_Hy05zEip4oHEOhhqczxe18.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/jmsRL4nMm_H3M_i1aqT4IZ7PCmZD1ulMM3L3dwDJ2yA.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/kOUEFXuesLUObuWQij6odPvyaGiECt9o8m905gd3lg8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/kOr0zJx74dUNhRklB5BKj8RD1DkDVLiG0_FqJ9IUi1k.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/kgZAcv19yFcBmON0zkiLpzrzFptPqZBXN0xokTuTeWU.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/kkvf85VAn71xSQxc0Wh-fVHNW5Wg_Wezr-IHXtDO7mg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/knfBTwFijllikUk2c9juNk5739SIiMtkkPyk-Zlw7RY.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/kwcEp-SIbbT6cqUM2tsFlhhBn8U3p44qg7r2iihczhY.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/l2TT9Ach0-Wfts1BqqULGc4wnq1jDt64pfVpYW6EYGA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/lPGrU3YTLsaSPyAwMjgSqH62xNgT8l4mJyStU4M2HmQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/lk_8x6ACJYNqOsJKqP-Dpa7BbvEZ_5jYNvDc9dsfDGE.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ls9Qil1-yog8RWKdH8T8i00ka9Vqj64QOWj9EkOXxz4.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ltyPWLF2VUlhhKAsYXHXO2ixixV9BhdeUsIKO69kfJE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/m-htitJ2TPs0yjT3xWeVkjm4X3K4b7b8YLe1tbKCSkc.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/n0_HLWeEiWiXI-KYa9WErM_bc1WHkaaMl60D4Cd4U7Q.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/n2XDoLQdTJNTD6rsFgzokc7853aIHQyhL8Kb65QelKI.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/n4DCCaovNhmNgeUVm-U15kvZE1kJaXh2Z50lGDbpqOA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/n4OWXbnHG3_g4qeGy51KHkrI4NbQQablVwKWQK9HT4w.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/nUdkYc2e9S0n_eiiZq4YszatZtdM8nHbSoXrFE0t4Q8.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ndeNJHEb5qUCNJEeRjIlm3Wwl3vLWw_uzhXN94EN82g.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/o4Nxd0EO3mN1PTewaWMti08d4sR3D3h8ShaEc5-AOWg.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/oG_vhJrPiae7svjKHHzNii7vjT7kWxwJf9SkazDD04I.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/oh3XPU6acFoUTO-NiOpURopt64xtQ9VRzVILeF6bvw0.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ooiXZIVFyv9RCY2iAmFE7fVLJoycB-Nc1iqHbnWavic.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/otjX8B8d9Ct3r-qgL_8L3xOQhdCprDRBq-G20ymrqmU.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/p-r_EWD6NJqkuffjVaNK3mG0UxgW_qBEHF-U_st8U10.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/p7d3aFcLbvwVTmf8ffT85qelQIjwk8uCdZuJKrbw8g0.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/pMfcYR3BUgwXGqc7eRNzAaJEr2ba8YJWgzcVqNOIqQc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/pVGU_kOT-m3fEKzY7klpTg4RtinAWRAsW-DcqgnZOFU.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/paDJT7gEr9lFhQ6D1_lI6Jya-xfLyeffW4iW-m9r1hI.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/pzmcyomcCfx5st42nGYe23gAldnSi4SxSGdrklTd0As.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/q--nfMlsyUr-aGz0nAnxL7zG6r62oedX_Kzec_ALqwM.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/q1C_2EldZlh1J41JoV7p16Rc8yWMYHP6AiOGfFmpWTk.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/qFNmsPZ5EG6zmPOXrLvGFd8ah_soiEWrCN9Ez460f8o.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/qISxXQ-GEfd6l1PBIZIfnlZD-boAPW8U-pEVHzCbn94.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/qU1bIdouDcAAH7yOyi1jXT35YhzKzC6GoKis09Ifx-8.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/qYvjSTT4rb8DNoRvWrFMd1mf_QBacH_PiyinVwetmF0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/qgQXG4V3UmkS8uljc-0chxUJj1Z-IIAguDg7Pkpi-nU.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/qmkcOPZJ8Pk8jPUuFXUfJCs-EPt1r5Woo9JJTBrIfLk.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/r8hZ8BYAI22INI0dLoZ4sMmNLxYSNlf-7TSSuJV5VEM.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/rN_Me58n7DwLhgc8swgX_Iul3oliHYxJ-_4brHtNwOI.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/rS4zpW74ZX0p4-dg_WR7DxcFYkM1FN-7HcFEbXHxnBk.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/rlSB5wQtvu5VpBEZDGObuCL2I75RHV1rz-6m2o9-7VU.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/rt15qdKb7ZBQzuxPM2ORzcHid5J2Kwnn1rn055er5H4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ry4Em-igN7wETkrtsiGy0eRxJigZdKRQ1c4WcPjeqFw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/smMaXntAkBY9K79e5KdrleGpp48yLpQTfOmw0fw9q_M.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/t2fqnmSq_YRr-uCuJIRsO-whwzwEgSiuYcfOKxhKYnI.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/t3kDZRsibVL_zZiJ4zEWTK2Lo0e886NMFcNAe6Jzk-k.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/tGZIFYEBSTjSkjKrwGwtUJrWlkZxp9SNYGncRPJxkPw.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/tPF6H9NRpGO3whu2y5_e_R_1EACKdCwu5437D83qJT0.cache +3 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/tbOjwZGYOnJYGMrlol8573MQo99XeZ36h7sTYO5kRnM.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/u6anhh2MfB136hhlNJfBdYNTz2aIM-m6IvTpcugcnbg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/uTHXb8Z0YxI7aLS5rA7Hra9zeZyrR8g8nSRmtdCw4m4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/uXq77_WjvTZc7AMiuNJOCYpYrckylrd1Pld_bnQf3_c.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ubom7B2wHpngDC6jgnbQKDT9EmMm9cBUShWwDqo1-CE.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/umoBebMy9sh8zzQ6wycCgfPSxrbomAylG4Q2cO-55Q0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/uof9mxHLUaEFljZKO1k-p7ZBnbvtiF8a28vPWfGZyNY.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/v-hRKqo9nlO7BV1_X_7l947UJfqhYQJP1qf84_Kli4Y.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/vrR6tQPP1nTpZ2KC7Wzau0PvwY_3bAo2rq3Jt6Rgzn8.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/vuJvLF6Q8OehmqodaXLZ4YuxwdpBdHxhm1vDho27lGg.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/wKkts-yt5g9fWSjQRSFvxKO_ydrKEO9McNcpuD2SWxE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/wOrYIa0sH_v6i-Ek_3hsvyxoTZMKaMYvoj1C9M2KBAc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/xG_WEVWVEONt2tgNVT_kPhp_lwChu-RdrMbm7zpljNY.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/yHNsSYW80oc0mE_Pk3KpwQDo0pt5ZhBJaNm-9qnnAmU.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/yPdAc0mIZhK3czuFCQqfLgg6fhHQ3fI6cpb3m0z543U.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/yfehLO7-7POX4WwqPUrmmihLDUnIfJeuTNeTZUQjHRI.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/yiUCgoKMXZsv6S2bTAR5a0trcf-ybB5ILcLn_1CshWg.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/yxJJQqViHnVAHmkBRknRcLhXHhbm8gNCY3dehutSE2o.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/zCypVswL7JI63bjCKAL3xzAG18RkyDyhfcZH5vG0yFA.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/zSpdf9_FUcbIoPziXn2RB7VtupqSWZkrHjtaUDy--fg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/zX1tSlHWzasEqWDoN-qhYjJ7OPJFpt4VSdnmQFL71BI.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/zYM0NAbeJMJNqeHt2y8XotOfznNZDwJcRErpRZNOvtE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/zZmpdlcNT78O4lO0a6gRp_0T_V8MMVWgUEYi_asFQFM.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/zkf4XwOA97_1ibVYSSH5BlnyOYjMCzXnigoxz8-wgqM.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/zwGauLixHsh96P0HWJ2irnfYj2Auy2qxdf4WgH1y9JQ.cache +2 -0
- data/spec/dummy/tmp/jasmine/assets/boot.js +153 -0
- data/spec/dummy/tmp/jasmine/assets/jasmine-console-reporter.js +131 -0
- data/spec/dummy/tmp/jasmine/assets/jasmine-console-shims.js +38 -0
- data/spec/dummy/tmp/jasmine/assets/jasmine-html.js +474 -0
- data/spec/dummy/tmp/jasmine/assets/jasmine-specs.css +1 -0
- data/spec/dummy/tmp/jasmine/assets/jasmine-specs.js +22277 -0
- data/spec/dummy/tmp/jasmine/assets/jasmine.css +58 -0
- data/spec/dummy/tmp/jasmine/assets/jasmine.js +3455 -0
- data/spec/dummy/tmp/jasmine/assets/json2.js +489 -0
- data/spec/dummy/tmp/jasmine/runner.html +22 -0
- data/spec/features/goal_tool_spec.rb +108 -0
- data/spec/features/home_tool_spec.rb +44 -0
- data/spec/fixtures/participants.yml +17 -0
- data/spec/fixtures/social_networking/comments.yml +4 -0
- data/spec/fixtures/social_networking/goals.yml +67 -0
- data/spec/fixtures/social_networking/likes.yml +3 -0
- data/spec/fixtures/social_networking/nudges.yml +19 -0
- data/spec/fixtures/social_networking/on_the_mind_statements.yml +7 -0
- data/spec/fixtures/social_networking/profile_answers.yml +17 -0
- data/spec/fixtures/social_networking/profile_questions.yml +8 -0
- data/spec/fixtures/social_networking/profiles.yml +5 -0
- data/spec/fixtures/social_networking/shared_items.yml +3 -0
- data/spec/javascripts/helpers/angular-mocks.js +2287 -0
- data/spec/javascripts/helpers/sinon-1.14.1.js +5931 -0
- data/spec/javascripts/social_networking/goal-controller_spec.js +191 -0
- data/spec/javascripts/social_networking/home-controller_spec.js +351 -0
- data/spec/javascripts/social_networking/new_shareable_form_spec.js +91 -0
- data/spec/javascripts/social_networking/notices_spec.js +44 -0
- data/spec/javascripts/social_networking/profile/profile-answer-controller_spec.js +174 -0
- data/spec/javascripts/social_networking/profile/profile-controller_spec.js +80 -0
- data/spec/javascripts/social_networking/services/AlertSpec.js +43 -0
- data/spec/mailers/social_networking/mailer_spec.rb +20 -0
- data/spec/models/social_networking/comment_spec.rb +38 -0
- data/spec/models/social_networking/concerns/participant_spec.rb +32 -0
- data/spec/models/social_networking/goal_spec.rb +120 -0
- data/spec/models/social_networking/like_spec.rb +90 -0
- data/spec/models/social_networking/notification_spec.rb +55 -0
- data/spec/models/social_networking/nudge_spec.rb +40 -0
- data/spec/models/social_networking/on_the_mind_statement_spec.rb +87 -0
- data/spec/models/social_networking/profile_answer_spec.rb +18 -0
- data/spec/models/social_networking/profile_spec.rb +42 -0
- data/spec/models/social_networking/reports/comment_report_spec.rb +37 -0
- data/spec/models/social_networking/reports/goal_report_spec.rb +39 -0
- data/spec/models/social_networking/reports/like_report_spec.rb +41 -0
- data/spec/models/social_networking/reports/nudge_report_spec.rb +35 -0
- data/spec/models/social_networking/reports/off_topic_post_report_spec.rb +35 -0
- data/spec/models/social_networking/reports/tool_share_report_spec.rb +37 -0
- data/spec/models/social_networking/serializers/comment_serializer_spec.rb +42 -0
- data/spec/models/social_networking/serializers/like_serializer_spec.rb +46 -0
- data/spec/models/social_networking/serializers/nudge_serializer_spec.rb +48 -0
- data/spec/models/social_networking/serializers/on_the_mind_statement_serializer_spec.rb +45 -0
- data/spec/models/social_networking/serializers/shared_item_serializer_spec.rb +55 -0
- data/spec/models/social_networking/shareable_spec.rb +40 -0
- data/spec/models/social_networking/shared_item_spec.rb +27 -0
- data/spec/spec_helper.rb +29 -0
- data/spec/support/controller_helpers.rb +19 -0
- data/spec/support/feature_helpers.rb +9 -0
- data/spec/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb_spec.rb +40 -0
- data/spec/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb_spec.rb +121 -0
- data/spec/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb_spec.rb +31 -0
- data/spec/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb_spec.rb +43 -0
- data/spec/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb_spec.rb +46 -0
- data/spec/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb_spec.rb +46 -0
- data/spec/views/social_networking/goals/tool.html.erb_spec.rb +27 -0
- data/spec/views/social_networking/profile_pages/_profile_questions.html.erb_spec.rb +81 -0
- data/vendor/assets/javascripts/angular-resource.min.js +13 -0
- data/vendor/assets/javascripts/angular-resource.min.js.map +8 -0
- data/vendor/assets/javascripts/angular.js +25584 -0
- data/vendor/assets/javascripts/angular.min.js +247 -0
- data/vendor/assets/javascripts/angular.min.js.map +8 -0
- data/vendor/assets/javascripts/jquery.toaster.js +173 -0
- data/vendor/assets/javascripts/moment.min.js +6 -0
- data/vendor/assets/javascripts/ng-infinite-scroll.min.js +2 -0
- metadata +1483 -0
@@ -0,0 +1,73 @@
|
|
1
|
+
require_dependency "social_networking/application_controller"
|
2
|
+
|
3
|
+
module SocialNetworking
|
4
|
+
# Manage Comments.
|
5
|
+
class CommentsController < ApplicationController
|
6
|
+
rescue_from ActiveRecord::RecordNotFound, with: :record_not_found
|
7
|
+
|
8
|
+
def create
|
9
|
+
@comment = Comment.new(sanitized_params)
|
10
|
+
|
11
|
+
if @comment.save
|
12
|
+
set_recipient
|
13
|
+
build_notification.notify
|
14
|
+
render json: Serializers::CommentSerializer.new(@comment).to_serialized
|
15
|
+
else
|
16
|
+
render json: { error: model_errors }, status: 400
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
private
|
21
|
+
|
22
|
+
def record_not_found
|
23
|
+
render json: { error: "not found" }, status: 404
|
24
|
+
end
|
25
|
+
|
26
|
+
def sanitized_params
|
27
|
+
s_params = { participant_id: current_participant.id }
|
28
|
+
[:itemId, :itemType, :text].each do |param|
|
29
|
+
unless params[param].nil?
|
30
|
+
s_params[param.to_s.underscore.to_sym] = params[param]
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
s_params
|
35
|
+
end
|
36
|
+
|
37
|
+
def model_errors
|
38
|
+
@comment.errors.full_messages.join(", ")
|
39
|
+
end
|
40
|
+
|
41
|
+
def build_notification
|
42
|
+
Notification.new(
|
43
|
+
current_participant: current_participant,
|
44
|
+
mailer: Mailer,
|
45
|
+
recipient: @recipient,
|
46
|
+
message_body: message_body,
|
47
|
+
subject: "You received a COMMENT on "\
|
48
|
+
"#{t('application_name', default: 'ThinkFeelDo')}")
|
49
|
+
end
|
50
|
+
|
51
|
+
def set_recipient
|
52
|
+
if @comment.item_type == "SocialNetworking::SharedItem"
|
53
|
+
comment_item_participant_id =
|
54
|
+
SharedItem.find(@comment.item_id).item_type.constantize
|
55
|
+
.find(@comment.item.item_id).participant_id
|
56
|
+
@recipient = Participant.find(comment_item_participant_id)
|
57
|
+
else
|
58
|
+
@recipient = Participant
|
59
|
+
.find(@comment.item_type.constantize
|
60
|
+
.find(@comment.item_id).participant_id)
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
def message_body
|
65
|
+
profile_url = social_networking_profile_url
|
66
|
+
|
67
|
+
["You've sparked some activity! Log in [#{profile_url}] to see \
|
68
|
+
who commented on your post.",
|
69
|
+
"Someone commented on your post! Log in [#{profile_url}] to\
|
70
|
+
learn more."].sample
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
module SocialNetworking
|
2
|
+
module Concerns
|
3
|
+
# Rescues exception when authenticity token has expired
|
4
|
+
module InvalidAuthToken
|
5
|
+
extend ActiveSupport::Concern
|
6
|
+
|
7
|
+
included do
|
8
|
+
rescue_from ActionController::InvalidAuthenticityToken,
|
9
|
+
with: :invalid_auth_token_redirect
|
10
|
+
end
|
11
|
+
|
12
|
+
private
|
13
|
+
|
14
|
+
def invalid_auth_token_redirect
|
15
|
+
redirect_to "/",
|
16
|
+
alert: "Your authenticity token expired. "\
|
17
|
+
"Please try again."
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,72 @@
|
|
1
|
+
module SocialNetworking
|
2
|
+
module Concerns
|
3
|
+
module ProfilePage
|
4
|
+
# Displays feed data for profile page.
|
5
|
+
class Feed
|
6
|
+
attr_reader :participant_id, :page
|
7
|
+
SHARED_ITEM_PAGE_SIZE = 5
|
8
|
+
|
9
|
+
def initialize(participant_id:, page:)
|
10
|
+
@participant_id = participant_id
|
11
|
+
@page = page.try(:to_i) || 0
|
12
|
+
end
|
13
|
+
|
14
|
+
def page_items
|
15
|
+
if feed_items.size >= start_index
|
16
|
+
sorted_feed_items[
|
17
|
+
start_index..(start_index + SHARED_ITEM_PAGE_SIZE - 1)
|
18
|
+
]
|
19
|
+
else
|
20
|
+
[]
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
private
|
25
|
+
|
26
|
+
def feed_items
|
27
|
+
on_the_mind_statements + nudges + shared_items
|
28
|
+
end
|
29
|
+
|
30
|
+
def nudges
|
31
|
+
Serializers::NudgeSerializer
|
32
|
+
.from_collection(
|
33
|
+
Nudge
|
34
|
+
.where(initiator_id: participant_id)
|
35
|
+
.order(created_at: :desc)
|
36
|
+
.limit(SHARED_ITEM_PAGE_SIZE * (page + 1))
|
37
|
+
.includes(:comments))
|
38
|
+
end
|
39
|
+
|
40
|
+
def on_the_mind_statements
|
41
|
+
Serializers::OnTheMindStatementSerializer
|
42
|
+
.from_collection(
|
43
|
+
OnTheMindStatement
|
44
|
+
.where(participant_id: participant_id)
|
45
|
+
.order(created_at: :desc)
|
46
|
+
.limit(SHARED_ITEM_PAGE_SIZE * (page + 1))
|
47
|
+
.includes(:comments, :likes))
|
48
|
+
end
|
49
|
+
|
50
|
+
def shared_items
|
51
|
+
Serializers::SharedItemSerializer
|
52
|
+
.from_collection(
|
53
|
+
SharedItem
|
54
|
+
.includes(:item, :comments)
|
55
|
+
.joins(:participant)
|
56
|
+
.where(participant_id: participant_id)
|
57
|
+
.order(created_at: :desc)
|
58
|
+
.limit(SHARED_ITEM_PAGE_SIZE * (page + 1))
|
59
|
+
)
|
60
|
+
end
|
61
|
+
|
62
|
+
def sorted_feed_items
|
63
|
+
feed_items.sort_by { |item| item[:createdAtRaw] }.reverse!
|
64
|
+
end
|
65
|
+
|
66
|
+
def start_index
|
67
|
+
page * SHARED_ITEM_PAGE_SIZE
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
@@ -0,0 +1,44 @@
|
|
1
|
+
module SocialNetworking
|
2
|
+
module Concerns
|
3
|
+
# Collects data for feed/profiles page.
|
4
|
+
module ShowFeed
|
5
|
+
def feed_data_for(participant, context)
|
6
|
+
@participant = participant
|
7
|
+
@context = context
|
8
|
+
|
9
|
+
{
|
10
|
+
action_items: action_items,
|
11
|
+
feed_items: [],
|
12
|
+
member_profiles: member_profiles,
|
13
|
+
profile_path: @context.social_networking_profile_path
|
14
|
+
}
|
15
|
+
end
|
16
|
+
|
17
|
+
private
|
18
|
+
|
19
|
+
def active_group
|
20
|
+
@participant.active_group
|
21
|
+
end
|
22
|
+
|
23
|
+
def action_items
|
24
|
+
items = ActionItem.for(@participant)
|
25
|
+
current_profile = Profile.find_by_participant_id(@participant.id)
|
26
|
+
unless current_profile.try(:started?)
|
27
|
+
items.unshift(
|
28
|
+
link: @context.social_networking_profile_path,
|
29
|
+
label: "Create a Profile"
|
30
|
+
)
|
31
|
+
end
|
32
|
+
|
33
|
+
items
|
34
|
+
end
|
35
|
+
|
36
|
+
def member_profiles
|
37
|
+
return unless active_group
|
38
|
+
Serializers::ProfileSerializer.from_collection(
|
39
|
+
Profile.where(
|
40
|
+
participant_id: active_group.active_participants.pluck(:id)))
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
@@ -0,0 +1,83 @@
|
|
1
|
+
require_dependency "social_networking/application_controller"
|
2
|
+
|
3
|
+
module SocialNetworking
|
4
|
+
# Manage Goals.
|
5
|
+
class GoalsController < ApplicationController
|
6
|
+
rescue_from ActiveRecord::RecordNotFound, with: :record_not_found
|
7
|
+
|
8
|
+
def tool
|
9
|
+
goals = Goal.where(participant_id: current_participant.id)
|
10
|
+
render template: "social_networking/goals/tool",
|
11
|
+
locals: {
|
12
|
+
goals: Serializers::GoalSerializer.from_collection(goals)
|
13
|
+
}
|
14
|
+
end
|
15
|
+
|
16
|
+
def index
|
17
|
+
goals = Goal.where(participant_id: current_participant.id)
|
18
|
+
|
19
|
+
render json: Serializers::GoalSerializer.from_collection(goals)
|
20
|
+
end
|
21
|
+
|
22
|
+
def create
|
23
|
+
@goal = Goal.new(sanitized_params)
|
24
|
+
|
25
|
+
if @goal.save
|
26
|
+
SharedItem.create(item: @goal, action_type: Goal::Actions.created)
|
27
|
+
render json: Serializers::GoalSerializer.new(@goal).to_serialized
|
28
|
+
else
|
29
|
+
render json: { error: model_errors }, status: 400
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
def update
|
34
|
+
@goal = Goal.where(
|
35
|
+
participant_id: current_participant.id,
|
36
|
+
id: params[:id]
|
37
|
+
).first || fail(ActiveRecord::RecordNotFound)
|
38
|
+
|
39
|
+
if @goal.update(sanitized_params)
|
40
|
+
if @is_completed_set
|
41
|
+
SharedItem.create(item: @goal, action_type: Goal::Actions.completed)
|
42
|
+
end
|
43
|
+
render json: Serializers::GoalSerializer.new(@goal).to_serialized
|
44
|
+
else
|
45
|
+
render json: { error: model_errors }, status: 400
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
private
|
50
|
+
|
51
|
+
def record_not_found
|
52
|
+
render json: { error: "not found" }, status: 404
|
53
|
+
end
|
54
|
+
|
55
|
+
def sanitized_params
|
56
|
+
s_params = { participant_id: current_participant.id }
|
57
|
+
[:description, :isCompleted, :isDeleted, :dueOn].each do |param|
|
58
|
+
unless params[param].nil?
|
59
|
+
s_params[param.to_s.underscore.to_sym] = params[param]
|
60
|
+
end
|
61
|
+
end
|
62
|
+
transform_goal_params(s_params)
|
63
|
+
end
|
64
|
+
|
65
|
+
def model_errors
|
66
|
+
@goal.errors.full_messages.join(", ")
|
67
|
+
end
|
68
|
+
|
69
|
+
def transform_goal_params(params)
|
70
|
+
if true == params[:is_completed]
|
71
|
+
params[:completed_at] = DateTime.now
|
72
|
+
@is_completed_set = true
|
73
|
+
end
|
74
|
+
if true == params[:is_deleted]
|
75
|
+
params[:deleted_at] = DateTime.now
|
76
|
+
@is_deleted_set = true
|
77
|
+
end
|
78
|
+
params.delete(:is_completed)
|
79
|
+
params.delete(:is_deleted)
|
80
|
+
params
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
require_dependency "social_networking/application_controller"
|
2
|
+
|
3
|
+
module SocialNetworking
|
4
|
+
# Provide Participant home page tools.
|
5
|
+
class HomesController < ApplicationController
|
6
|
+
include Concerns::ShowFeed
|
7
|
+
|
8
|
+
def show
|
9
|
+
render locals: feed_data_for(current_participant, self)
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,76 @@
|
|
1
|
+
require_dependency "social_networking/application_controller"
|
2
|
+
|
3
|
+
module SocialNetworking
|
4
|
+
# Manage Likes.
|
5
|
+
class LikesController < ApplicationController
|
6
|
+
rescue_from ActiveRecord::RecordNotFound, with: :record_not_found
|
7
|
+
|
8
|
+
def create
|
9
|
+
@like = Like.new(sanitized_params)
|
10
|
+
|
11
|
+
if @like.save
|
12
|
+
set_recipient
|
13
|
+
build_notification.notify
|
14
|
+
render json: Serializers::LikeSerializer.new(@like).to_serialized
|
15
|
+
else
|
16
|
+
render json: { error: model_errors }, status: 400
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
private
|
21
|
+
|
22
|
+
def record_not_found
|
23
|
+
render json: { error: "not found" }, status: 404
|
24
|
+
end
|
25
|
+
|
26
|
+
def sanitized_params
|
27
|
+
s_params = { participant_id: current_participant.id }
|
28
|
+
[:itemId, :itemType].each do |param|
|
29
|
+
unless params[param].nil?
|
30
|
+
s_params[param.to_s.underscore.to_sym] = params[param]
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
s_params
|
35
|
+
end
|
36
|
+
|
37
|
+
def set_recipient
|
38
|
+
if @like.item_type == "SocialNetworking::SharedItem"
|
39
|
+
like_item_participant_id =
|
40
|
+
SharedItem.find(@like.item_id).item_type.constantize
|
41
|
+
.find(@like.item.item_id).participant_id
|
42
|
+
@recipient = Participant.find(like_item_participant_id)
|
43
|
+
else
|
44
|
+
@recipient = Participant
|
45
|
+
.find(@like.item_type.constantize
|
46
|
+
.find(@like.item_id).participant_id)
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
def model_errors
|
51
|
+
@like.errors.full_messages.join(", ")
|
52
|
+
end
|
53
|
+
|
54
|
+
def message_body
|
55
|
+
profile_url = social_networking_profile_url
|
56
|
+
|
57
|
+
[
|
58
|
+
"Someone liked your post! " \
|
59
|
+
"Log in (#{profile_url}) to see who.",
|
60
|
+
"People like what you're doing! " \
|
61
|
+
"Log in (#{profile_url}) " \
|
62
|
+
"to see what's happening!"
|
63
|
+
].sample
|
64
|
+
end
|
65
|
+
|
66
|
+
def build_notification
|
67
|
+
Notification.new(
|
68
|
+
current_participant: current_participant,
|
69
|
+
mailer: Mailer,
|
70
|
+
recipient: @recipient,
|
71
|
+
message_body: message_body,
|
72
|
+
subject: "Someone LIKED what you did on "\
|
73
|
+
"#{t('application_name', default: 'ThinkFeelDo')}")
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
@@ -0,0 +1,64 @@
|
|
1
|
+
require_dependency "social_networking/application_controller"
|
2
|
+
|
3
|
+
# Controller used to Manage Nudges.
|
4
|
+
module SocialNetworking
|
5
|
+
# Manage Nudges.
|
6
|
+
class NudgesController < ApplicationController
|
7
|
+
before_action :set_recipient
|
8
|
+
|
9
|
+
def index
|
10
|
+
@nudges = Nudge.search(sanitized_params[:recipient_id])
|
11
|
+
render json: Serializers::NudgeSerializer.from_collection(@nudges)
|
12
|
+
end
|
13
|
+
|
14
|
+
def create
|
15
|
+
@nudge = Nudge.new(sanitized_params)
|
16
|
+
|
17
|
+
if @nudge.save
|
18
|
+
build_notification.notify
|
19
|
+
render json: { message: "Nudge sent!" }
|
20
|
+
else
|
21
|
+
render json: { error: model_errors }, status: 400
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
private
|
26
|
+
|
27
|
+
def sanitized_params
|
28
|
+
{
|
29
|
+
initiator_id: current_participant.id,
|
30
|
+
recipient_id: params[:recipientId]
|
31
|
+
}
|
32
|
+
end
|
33
|
+
|
34
|
+
def model_errors
|
35
|
+
@nudge.errors.full_messages.join(", ")
|
36
|
+
end
|
37
|
+
|
38
|
+
def build_notification
|
39
|
+
Notification.new(
|
40
|
+
current_participant: current_participant,
|
41
|
+
mailer: Mailer,
|
42
|
+
recipient: @recipient,
|
43
|
+
message_body: message_body,
|
44
|
+
subject: "You've been NUDGED on "\
|
45
|
+
"#{t('application_name', default: 'ThinkFeelDo')}")
|
46
|
+
end
|
47
|
+
|
48
|
+
def message_body
|
49
|
+
profile_url = social_networking_profile_url
|
50
|
+
["You've been nudged by #{current_participant.display_name}! Log \
|
51
|
+
in (#{profile_url}) to view details.",
|
52
|
+
"#{current_participant.display_name} just nudged you! Log in \
|
53
|
+
(#{profile_url}) to view your nudge!",
|
54
|
+
"Hey! #{current_participant.display_name} nudged you! Don't leave \
|
55
|
+
them hanging - log in (#{profile_url}) to say hi!",
|
56
|
+
"Psst - you've been nudged by #{current_participant.display_name}! \
|
57
|
+
Log in (#{profile_url}) to support a fellow group member!"].sample
|
58
|
+
end
|
59
|
+
|
60
|
+
def set_recipient
|
61
|
+
@recipient = Participant.find(sanitized_params[:recipient_id])
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
require_dependency "social_networking/application_controller"
|
2
|
+
|
3
|
+
module SocialNetworking
|
4
|
+
# Manage OnTheMindStatements.
|
5
|
+
class OnTheMindStatementsController < ApplicationController
|
6
|
+
def create
|
7
|
+
@on_the_mind_statement = OnTheMindStatement.new(sanitized_params)
|
8
|
+
|
9
|
+
if @on_the_mind_statement.save
|
10
|
+
render json: Serializers::OnTheMindStatementSerializer
|
11
|
+
.new(@on_the_mind_statement).to_serialized
|
12
|
+
else
|
13
|
+
render json: { error: model_errors }, status: 400
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
private
|
18
|
+
|
19
|
+
def sanitized_params
|
20
|
+
{
|
21
|
+
participant_id: current_participant.id,
|
22
|
+
description: params[:description]
|
23
|
+
}
|
24
|
+
end
|
25
|
+
|
26
|
+
def model_errors
|
27
|
+
@on_the_mind_statement.errors.full_messages.join(", ")
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
require_dependency "social_networking/application_controller"
|
2
|
+
|
3
|
+
module SocialNetworking
|
4
|
+
# Manage Participants.
|
5
|
+
class ParticipantsController < ApplicationController
|
6
|
+
rescue_from ActiveRecord::RecordNotFound, with: :record_not_found
|
7
|
+
|
8
|
+
def index
|
9
|
+
participants = Participant.all
|
10
|
+
|
11
|
+
render json: Serializers::ParticipantSerializer
|
12
|
+
.from_collection(participants)
|
13
|
+
end
|
14
|
+
|
15
|
+
def show
|
16
|
+
participant = Participant.find(params[:id])
|
17
|
+
|
18
|
+
render json: Serializers::ParticipantSerializer.new(participant)
|
19
|
+
.to_serialized
|
20
|
+
end
|
21
|
+
|
22
|
+
private
|
23
|
+
|
24
|
+
def record_not_found
|
25
|
+
render json: { error: "participant not found" }, status: 404
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,79 @@
|
|
1
|
+
require_dependency "social_networking/application_controller"
|
2
|
+
|
3
|
+
module SocialNetworking
|
4
|
+
# Manage Participants.
|
5
|
+
class ProfileAnswersController < ApplicationController
|
6
|
+
rescue_from ActiveRecord::RecordNotFound, with: :record_not_found
|
7
|
+
|
8
|
+
def index
|
9
|
+
if !profile_answer_params[:profile_id].blank? &&
|
10
|
+
!profile_answer_params[:profile_question_id].blank?
|
11
|
+
|
12
|
+
answer = ProfileAnswer.where(
|
13
|
+
social_networking_profile_id:
|
14
|
+
profile_answer_params[:profile_id],
|
15
|
+
social_networking_profile_question_id:
|
16
|
+
profile_answer_params[:profile_question_id]).first
|
17
|
+
end
|
18
|
+
|
19
|
+
if answer
|
20
|
+
render json:
|
21
|
+
Serializers::ProfileAnswerSerializer.new(answer).to_serialized
|
22
|
+
else
|
23
|
+
render json: {}, status: 404
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
def show
|
28
|
+
end
|
29
|
+
|
30
|
+
def create
|
31
|
+
profile_id = current_participant.social_networking_profile.try(:id)
|
32
|
+
@profile_answer = ProfileAnswer
|
33
|
+
.new(social_networking_profile_id: profile_id,
|
34
|
+
social_networking_profile_question_id:
|
35
|
+
profile_answer_params[:profile_question_id],
|
36
|
+
answer_text: profile_answer_params[:answer_text])
|
37
|
+
|
38
|
+
if @profile_answer.save
|
39
|
+
render json: Serializers::ProfileAnswerSerializer
|
40
|
+
.new(@profile_answer).to_serialized
|
41
|
+
else
|
42
|
+
render json: { error: model_errors }, status: 400
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
def update
|
47
|
+
@profile_answer = current_participant
|
48
|
+
.social_networking_profile
|
49
|
+
.profile_answers
|
50
|
+
.where(id: profile_answer_params[:id]).first! ||
|
51
|
+
fail(ActiveRecord::RecordNotFound)
|
52
|
+
|
53
|
+
if @profile_answer
|
54
|
+
.update(answer_text: profile_answer_params[:answer_text])
|
55
|
+
render json: Serializers::ProfileAnswerSerializer
|
56
|
+
.new(@profile_answer).to_serialized
|
57
|
+
else
|
58
|
+
render json: { error: model_errors }, status: 400
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
private
|
63
|
+
|
64
|
+
def profile_answer_params
|
65
|
+
params.permit(:profile_id,
|
66
|
+
:profile_question_id,
|
67
|
+
:id, :answer_text,
|
68
|
+
:profile_answer)
|
69
|
+
end
|
70
|
+
|
71
|
+
def model_errors
|
72
|
+
@profile_answer.errors.full_messages.join(", ")
|
73
|
+
end
|
74
|
+
|
75
|
+
def record_not_found
|
76
|
+
render json: { error: "profile not found" }, status: 404
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
require_dependency "social_networking/application_controller"
|
2
|
+
|
3
|
+
module SocialNetworking
|
4
|
+
# Manage profile icons.
|
5
|
+
class ProfileIconController < ApplicationController
|
6
|
+
skip_before_action :verify_authenticity_token
|
7
|
+
|
8
|
+
def save
|
9
|
+
profile = Profile.find(profile_icon_params[:profile_id])
|
10
|
+
profile.icon_name = profile_icon_params[:icon_name]
|
11
|
+
profile.save
|
12
|
+
|
13
|
+
respond_to do |format|
|
14
|
+
format.html { render nothing: true, status: :accepted }
|
15
|
+
format.js { render nothing: true, status: :accepted }
|
16
|
+
format.json { render nothing: true, status: :accepted }
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
private
|
21
|
+
|
22
|
+
def profile_icon_params
|
23
|
+
params.require(:profile).permit(:profile_id, :icon_name)
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,87 @@
|
|
1
|
+
require_dependency "social_networking/application_controller"
|
2
|
+
|
3
|
+
module SocialNetworking
|
4
|
+
# Manage Participants.
|
5
|
+
class ProfilePagesController < ApplicationController
|
6
|
+
include Concerns::ProfilePage
|
7
|
+
rescue_from ActiveRecord::RecordNotFound, with: :record_not_found
|
8
|
+
before_action :set_current_profile,
|
9
|
+
:set_profile_questions,
|
10
|
+
:set_profile_icon_names,
|
11
|
+
:set_navigation_status_context
|
12
|
+
def index
|
13
|
+
end
|
14
|
+
|
15
|
+
def show
|
16
|
+
store_nudge_initiators(@profile.participant_id)
|
17
|
+
set_member_profiles
|
18
|
+
end
|
19
|
+
|
20
|
+
def page
|
21
|
+
render json: { feedItems: feed.page_items }
|
22
|
+
end
|
23
|
+
|
24
|
+
private
|
25
|
+
|
26
|
+
def feed
|
27
|
+
Concerns::ProfilePage::Feed.new(
|
28
|
+
participant_id: profile_page_params[:participant_id],
|
29
|
+
page: profile_page_params[:page])
|
30
|
+
end
|
31
|
+
|
32
|
+
def profile_page_params
|
33
|
+
params
|
34
|
+
.permit(:id, :participant_id, :page)
|
35
|
+
end
|
36
|
+
|
37
|
+
def active_group
|
38
|
+
current_participant.active_group
|
39
|
+
end
|
40
|
+
|
41
|
+
def set_navigation_status_context
|
42
|
+
current_participant.navigation_status.context = nil
|
43
|
+
end
|
44
|
+
|
45
|
+
def set_member_profiles
|
46
|
+
return unless active_group
|
47
|
+
@member_profiles = Serializers::ProfileSerializer.from_collection(
|
48
|
+
Profile.where(
|
49
|
+
participant_id: active_group.active_participants.pluck(:id)))
|
50
|
+
end
|
51
|
+
|
52
|
+
def set_current_profile
|
53
|
+
if profile_id
|
54
|
+
@profile = Profile.find(profile_id)
|
55
|
+
else
|
56
|
+
@profile = Profile
|
57
|
+
.find_or_initialize_by(
|
58
|
+
participant_id: current_participant.id)
|
59
|
+
@profile.update_attributes(active: true)
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
def store_nudge_initiators(participant_id)
|
64
|
+
@nudging_display_names = Nudge
|
65
|
+
.search(participant_id)
|
66
|
+
.map { |nudge| nudge.initiator.display_name }
|
67
|
+
end
|
68
|
+
|
69
|
+
def set_profile_questions
|
70
|
+
@profile_questions = current_participant
|
71
|
+
.active_group
|
72
|
+
.social_networking_profile_questions
|
73
|
+
end
|
74
|
+
|
75
|
+
def record_not_found
|
76
|
+
render json: { error: "profile not found" }, status: 404
|
77
|
+
end
|
78
|
+
|
79
|
+
def profile_id
|
80
|
+
profile_page_params[:id]
|
81
|
+
end
|
82
|
+
|
83
|
+
def set_profile_icon_names
|
84
|
+
@profile_icons = Profile.icon_names
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|