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,53 @@
|
|
1
|
+
require_dependency "social_networking/application_controller"
|
2
|
+
|
3
|
+
module SocialNetworking
|
4
|
+
# Manage Participants.
|
5
|
+
class ProfilesController < ApplicationController
|
6
|
+
rescue_from ActiveRecord::RecordNotFound, with: :record_not_found
|
7
|
+
|
8
|
+
def index
|
9
|
+
group_participants = current_participant.active_group.active_participants
|
10
|
+
render json: Serializers::ProfileSerializer.from_collection(Profile
|
11
|
+
.where(participant_id: group_participants.pluck(:id)))
|
12
|
+
end
|
13
|
+
|
14
|
+
def show
|
15
|
+
if params[:id]
|
16
|
+
profile = Profile.find(params[:id])
|
17
|
+
else
|
18
|
+
profile = Profile
|
19
|
+
.find_or_initialize_by(
|
20
|
+
participant_id: current_participant.id) do |profile_new|
|
21
|
+
begin
|
22
|
+
SharedItem.create(
|
23
|
+
item: profile_new,
|
24
|
+
action_type: Profile::Actions.created)
|
25
|
+
rescue ActiveRecord::StatementInvalid
|
26
|
+
logger.info("Shared item already created for existing profile.")
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
render json: Serializers::ProfileSerializer.new(profile).to_serialized
|
32
|
+
end
|
33
|
+
|
34
|
+
def update
|
35
|
+
profile = current_participant.social_networking_profile
|
36
|
+
if profile.update(profile_params)
|
37
|
+
render json: Serializers::ProfileSerializer.new(profile).to_serialized
|
38
|
+
else
|
39
|
+
render json: { error: profile.errors.full_messages }, status: 400
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
private
|
44
|
+
|
45
|
+
def profile_params
|
46
|
+
params.permit(:icon_name)
|
47
|
+
end
|
48
|
+
|
49
|
+
def record_not_found
|
50
|
+
render json: { error: "profile not found" }, status: 404
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
@@ -0,0 +1,95 @@
|
|
1
|
+
require_dependency "social_networking/application_controller"
|
2
|
+
|
3
|
+
module SocialNetworking
|
4
|
+
# Manage shared items
|
5
|
+
class SharedItemController < ApplicationController
|
6
|
+
SHARED_ITEM_PAGE_SIZE = 5
|
7
|
+
|
8
|
+
skip_before_action :verify_authenticity_token
|
9
|
+
def hide
|
10
|
+
shared_item_to_hide = SharedItem.find_by_id(shared_item_params[:id])
|
11
|
+
if current_participant.id == shared_item_to_hide.item.participant.id
|
12
|
+
if shared_item_to_hide.update_attribute(:is_public, false)
|
13
|
+
status = :accepted
|
14
|
+
else
|
15
|
+
status = :internal_server_error
|
16
|
+
end
|
17
|
+
else
|
18
|
+
status = :unauthorized
|
19
|
+
end
|
20
|
+
|
21
|
+
respond_to do |format|
|
22
|
+
format.html { render nothing: true, status: status }
|
23
|
+
format.js { render nothing: true, status: status }
|
24
|
+
format.json { render nothing: true, status: status }
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
def page
|
29
|
+
items_by_page = []
|
30
|
+
requested_page = shared_item_params[:page]
|
31
|
+
start_index =
|
32
|
+
requested_page ? requested_page.to_i * SHARED_ITEM_PAGE_SIZE : 0
|
33
|
+
feed_items_page =
|
34
|
+
aggregate_feed_items(
|
35
|
+
Participant.find(shared_item_params[:participant_id]),
|
36
|
+
requested_page.to_i
|
37
|
+
)
|
38
|
+
|
39
|
+
if feed_items_page.size >= start_index
|
40
|
+
feed_items =
|
41
|
+
feed_items_page.sort_by { |item| item[:createdAtRaw] }.reverse!
|
42
|
+
items_by_page =
|
43
|
+
feed_items[start_index..(start_index + SHARED_ITEM_PAGE_SIZE - 1)]
|
44
|
+
end
|
45
|
+
|
46
|
+
render json: { feedItems: items_by_page }
|
47
|
+
end
|
48
|
+
|
49
|
+
private
|
50
|
+
|
51
|
+
def shared_item_params
|
52
|
+
params.permit(:id, :participant_id, :page)
|
53
|
+
end
|
54
|
+
|
55
|
+
def group_shared_items(participant, requested_page)
|
56
|
+
SocialNetworking::SharedItem
|
57
|
+
.joins(participant: [{ memberships: :group }])
|
58
|
+
.where(groups: { id: participant.active_group.id })
|
59
|
+
.order(created_at: :desc)
|
60
|
+
.limit(SHARED_ITEM_PAGE_SIZE * (requested_page + 1))
|
61
|
+
.includes(:comments, :likes)
|
62
|
+
end
|
63
|
+
|
64
|
+
def aggregate_feed_items(participant, page)
|
65
|
+
on_the_minds_for_pariticipant_group(participant, page) +
|
66
|
+
nudges_for_participant_group(participant, page) +
|
67
|
+
shared_items_for_participant_group(participant, page)
|
68
|
+
end
|
69
|
+
|
70
|
+
def on_the_minds_for_pariticipant_group(participant, page)
|
71
|
+
Serializers::OnTheMindStatementSerializer
|
72
|
+
.from_collection(
|
73
|
+
OnTheMindStatement.joins(participant: [{ memberships: :group }])
|
74
|
+
.where(groups: { id: participant.active_group.id })
|
75
|
+
.order(created_at: :desc)
|
76
|
+
.limit(SHARED_ITEM_PAGE_SIZE * (page + 1))
|
77
|
+
.includes(:comments, :likes))
|
78
|
+
end
|
79
|
+
|
80
|
+
def nudges_for_participant_group(participant, page)
|
81
|
+
Serializers::NudgeSerializer
|
82
|
+
.from_collection(
|
83
|
+
Nudge.joins(initiator: [{ memberships: :group }])
|
84
|
+
.where(groups: { id: participant.active_group.id })
|
85
|
+
.order(created_at: :desc)
|
86
|
+
.limit(SHARED_ITEM_PAGE_SIZE * (page + 1))
|
87
|
+
.includes(:comments))
|
88
|
+
end
|
89
|
+
|
90
|
+
def shared_items_for_participant_group(participant, requested_page)
|
91
|
+
Serializers::SharedItemSerializer
|
92
|
+
.from_collection(group_shared_items(participant, requested_page))
|
93
|
+
end
|
94
|
+
end
|
95
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
require_dependency "social_networking/application_controller"
|
2
|
+
|
3
|
+
module SocialNetworking
|
4
|
+
# Sends back static templates.
|
5
|
+
class TemplatesController < ApplicationController
|
6
|
+
# Renders either the engine template if it exists or the host template.
|
7
|
+
def page
|
8
|
+
@path = params[:path].gsub(/[^_a-z\/]+/m, "")
|
9
|
+
template = "social_networking/templates/#{ @path }.html"
|
10
|
+
|
11
|
+
render file: template, layout: nil
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
module SocialNetworking
|
2
|
+
# A helper for aggregating "todo" items.
|
3
|
+
class ActionItem
|
4
|
+
class << self
|
5
|
+
attr_writer :source_class_name
|
6
|
+
|
7
|
+
def for(participant)
|
8
|
+
return [] if @source_class_name.nil?
|
9
|
+
|
10
|
+
@source_class_name.constantize.for(participant)
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module SocialNetworking
|
2
|
+
# A comment written by a Participant and attached to a piece of content.
|
3
|
+
class Comment < ActiveRecord::Base
|
4
|
+
belongs_to :participant
|
5
|
+
belongs_to :item, polymorphic: true
|
6
|
+
|
7
|
+
validates :participant, :item, :text, presence: true
|
8
|
+
|
9
|
+
scope :for_today, lambda {
|
10
|
+
where(arel_table[:created_at]
|
11
|
+
.gteq(Date.today.beginning_of_day)
|
12
|
+
.and(arel_table[:created_at].lteq(Date.today.end_of_day)))
|
13
|
+
}
|
14
|
+
|
15
|
+
scope :for_week, lambda {
|
16
|
+
where(arel_table[:created_at]
|
17
|
+
.gteq(Time.current.advance(days: -7).beginning_of_day))
|
18
|
+
}
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
module SocialNetworking
|
2
|
+
module Concerns
|
3
|
+
# adds scops to Membership class
|
4
|
+
module Membership
|
5
|
+
extend ActiveSupport::Concern
|
6
|
+
def comments
|
7
|
+
SocialNetworking::Comment.where(participant: participant)
|
8
|
+
end
|
9
|
+
|
10
|
+
def likes
|
11
|
+
SocialNetworking::Like.where(participant: participant)
|
12
|
+
end
|
13
|
+
|
14
|
+
def nudges
|
15
|
+
SocialNetworking::Nudge.where(initiator_id: participant)
|
16
|
+
end
|
17
|
+
|
18
|
+
def goals
|
19
|
+
SocialNetworking::Goal.where(participant: participant)
|
20
|
+
end
|
21
|
+
|
22
|
+
def on_the_minds
|
23
|
+
SocialNetworking::OnTheMindStatement.where(participant: participant)
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
module SocialNetworking
|
2
|
+
module Concerns
|
3
|
+
# adds associations to Participant class
|
4
|
+
module Participant
|
5
|
+
extend ActiveSupport::Concern
|
6
|
+
|
7
|
+
included do
|
8
|
+
has_many :social_networking_comments,
|
9
|
+
class_name: "SocialNetworking::Comment",
|
10
|
+
dependent: :destroy
|
11
|
+
has_many :social_networking_goals,
|
12
|
+
class_name: "SocialNetworking::Goal",
|
13
|
+
dependent: :destroy
|
14
|
+
has_many :social_networking_likes,
|
15
|
+
class_name: "SocialNetworking::Like",
|
16
|
+
dependent: :destroy
|
17
|
+
has_many :initiator_nudges,
|
18
|
+
foreign_key: :initiator_id,
|
19
|
+
class_name: "SocialNetworking::Nudge",
|
20
|
+
dependent: :destroy
|
21
|
+
has_many :recipient_nudges,
|
22
|
+
foreign_key: :recipient_id,
|
23
|
+
class_name: "SocialNetworking::Nudge",
|
24
|
+
dependent: :destroy
|
25
|
+
has_many :social_networking_on_the_mind_statements,
|
26
|
+
class_name: "SocialNetworking::OnTheMindStatement",
|
27
|
+
dependent: :destroy
|
28
|
+
has_one :social_networking_profile,
|
29
|
+
class_name: "SocialNetworking::Profile",
|
30
|
+
dependent: :destroy
|
31
|
+
|
32
|
+
validates :email, presence: true, if: "contact_preference == 'email'"
|
33
|
+
validates :phone_number, presence: true, if: :phone_number?
|
34
|
+
|
35
|
+
private
|
36
|
+
|
37
|
+
def phone_number?
|
38
|
+
%w(sms phone).include?(contact_preference)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,91 @@
|
|
1
|
+
module SocialNetworking
|
2
|
+
# Something to be completed by a Participant.
|
3
|
+
class Goal < ActiveRecord::Base
|
4
|
+
# create a mini DSL for types of Goal actions
|
5
|
+
ACTION_TYPES = %w( created completed did_not_complete )
|
6
|
+
Actions = Struct.new(*ACTION_TYPES.map(&:to_sym))
|
7
|
+
.new(*(ACTION_TYPES.map { |t| t.gsub(/_/, " ") }))
|
8
|
+
|
9
|
+
belongs_to :participant
|
10
|
+
has_many :comments, as: "item"
|
11
|
+
has_many :likes, as: "item"
|
12
|
+
|
13
|
+
validates :participant, :description, presence: true
|
14
|
+
validate :not_due_in_the_past, on: :create
|
15
|
+
validate :due_before_membership_ends, on: :create
|
16
|
+
|
17
|
+
# Within the last day, used for shared item generation
|
18
|
+
scope :did_not_complete, (lambda do
|
19
|
+
where(deleted_at: nil, completed_at: nil)
|
20
|
+
.where(arel_table[:due_on].lt(Time.zone.today))
|
21
|
+
.where(arel_table[:due_on].gteq(Time.zone.today - 1.day))
|
22
|
+
end)
|
23
|
+
|
24
|
+
def to_serialized
|
25
|
+
if due_on
|
26
|
+
{
|
27
|
+
description: description,
|
28
|
+
dueOn: due_on.to_s(:participant_date)
|
29
|
+
}
|
30
|
+
else
|
31
|
+
{}
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
def shared_description
|
36
|
+
"Goal: #{description}"
|
37
|
+
end
|
38
|
+
|
39
|
+
# Necessary for legacy front-end code.
|
40
|
+
# rubocop:disable Style/PredicateName
|
41
|
+
def is_completed
|
42
|
+
completed_at?
|
43
|
+
end
|
44
|
+
# rubocop:enable Style/PredicateName
|
45
|
+
|
46
|
+
# Necessary for legacy front-end code.
|
47
|
+
# rubocop:disable Style/PredicateName
|
48
|
+
def is_deleted
|
49
|
+
deleted_at?
|
50
|
+
end
|
51
|
+
# rubocop:enable Style/PredicateName
|
52
|
+
|
53
|
+
def action
|
54
|
+
if is_completed
|
55
|
+
"Completed"
|
56
|
+
elsif due_on && due_on < Time.zone.today
|
57
|
+
"Did Not Complete"
|
58
|
+
else
|
59
|
+
"Created"
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
private
|
64
|
+
|
65
|
+
def not_due_in_the_past
|
66
|
+
return if due_on.nil? || due_on >= Date.today
|
67
|
+
|
68
|
+
errors.add :due_on, "must not be in the past"
|
69
|
+
end
|
70
|
+
|
71
|
+
def due_before_membership_ends
|
72
|
+
return if due_on.nil? ||
|
73
|
+
participant_id.nil? ||
|
74
|
+
participant.active_membership_end_date.nil? ||
|
75
|
+
due_on <= participant.active_membership_end_date
|
76
|
+
|
77
|
+
errors.add :due_on, "must be during study enrollment"
|
78
|
+
end
|
79
|
+
|
80
|
+
scope :for_today, lambda {
|
81
|
+
where(arel_table[:created_at]
|
82
|
+
.gteq(Date.today.beginning_of_day)
|
83
|
+
.and(arel_table[:created_at].lteq(Date.today.end_of_day)))
|
84
|
+
}
|
85
|
+
|
86
|
+
scope :for_week, lambda {
|
87
|
+
where(arel_table[:created_at]
|
88
|
+
.gteq(Time.current.advance(days: -7).beginning_of_day))
|
89
|
+
}
|
90
|
+
end
|
91
|
+
end
|
@@ -0,0 +1,37 @@
|
|
1
|
+
module SocialNetworking
|
2
|
+
# A sign of approval of a piece of content by a Participant.
|
3
|
+
class Like < ActiveRecord::Base
|
4
|
+
belongs_to :participant
|
5
|
+
belongs_to :item, polymorphic: true
|
6
|
+
|
7
|
+
validates :participant, :item, presence: true
|
8
|
+
# a Participant may only Like an item once
|
9
|
+
validates :item_id, uniqueness: { scope: [:item_type, :participant_id] }
|
10
|
+
|
11
|
+
scope :for_today,
|
12
|
+
lambda {
|
13
|
+
where(arel_table[:created_at]
|
14
|
+
.gteq(Date.today.beginning_of_day)
|
15
|
+
.and(arel_table[:created_at].lteq(Date.today.end_of_day)))
|
16
|
+
}
|
17
|
+
|
18
|
+
scope :for_week,
|
19
|
+
lambda {
|
20
|
+
where(arel_table[:created_at]
|
21
|
+
.gteq(Time.current.advance(days: -7).beginning_of_day))
|
22
|
+
}
|
23
|
+
|
24
|
+
def item_description
|
25
|
+
case item_type
|
26
|
+
when "SocialNetworking::OnTheMindStatement"
|
27
|
+
Shareable.new(item).description
|
28
|
+
when "SocialNetworking::SharedItem"
|
29
|
+
if item
|
30
|
+
Shareable.new(item.item).description
|
31
|
+
else
|
32
|
+
Shareable.new(nil).description
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
module SocialNetworking
|
2
|
+
# Sends sms or emails to participants.
|
3
|
+
class Notification
|
4
|
+
include Sms
|
5
|
+
attr_reader :current_participant,
|
6
|
+
:mailer,
|
7
|
+
:recipient,
|
8
|
+
:message_body,
|
9
|
+
:subject
|
10
|
+
|
11
|
+
def initialize(
|
12
|
+
current_participant:,
|
13
|
+
mailer:,
|
14
|
+
recipient:,
|
15
|
+
message_body:,
|
16
|
+
subject:)
|
17
|
+
@current_participant = current_participant
|
18
|
+
@mailer = mailer
|
19
|
+
@message_body = message_body
|
20
|
+
@recipient = recipient
|
21
|
+
@subject = subject
|
22
|
+
end
|
23
|
+
|
24
|
+
def notify
|
25
|
+
return if current_participant == recipient
|
26
|
+
if recipient.contact_preference == "email"
|
27
|
+
send_email
|
28
|
+
else
|
29
|
+
send_sms(recipient, message_body)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
def send_email
|
34
|
+
mailer
|
35
|
+
.notify(
|
36
|
+
recipient: recipient,
|
37
|
+
body: message_body,
|
38
|
+
subject: subject)
|
39
|
+
.deliver_now
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
module SocialNetworking
|
2
|
+
# A form of contact between two Participants.
|
3
|
+
class Nudge < ActiveRecord::Base
|
4
|
+
belongs_to :initiator,
|
5
|
+
class_name: "Participant",
|
6
|
+
foreign_key: "initiator_id"
|
7
|
+
belongs_to :recipient, class_name: "Participant"
|
8
|
+
has_many :comments, as: "item"
|
9
|
+
|
10
|
+
accepts_nested_attributes_for :recipient
|
11
|
+
|
12
|
+
alias_attribute :participant_id, :initiator_id
|
13
|
+
|
14
|
+
validates :initiator, :recipient, presence: true
|
15
|
+
|
16
|
+
def self.search(recipient_id = nil)
|
17
|
+
if recipient_id
|
18
|
+
select(:initiator_id)
|
19
|
+
.where(recipient_id: recipient_id)
|
20
|
+
.where("created_at > ?", 1.day.ago)
|
21
|
+
.group(:initiator_id)
|
22
|
+
else
|
23
|
+
all
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
scope :for_today, lambda {
|
28
|
+
where(arel_table[:created_at]
|
29
|
+
.gteq(Date.today.beginning_of_day)
|
30
|
+
.and(arel_table[:created_at].lteq(Date.today.end_of_day)))
|
31
|
+
}
|
32
|
+
|
33
|
+
scope :for_week, lambda {
|
34
|
+
where(arel_table[:created_at]
|
35
|
+
.gteq(Time.current.advance(days: -7).beginning_of_day))
|
36
|
+
}
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
module SocialNetworking
|
2
|
+
# A statement by a Participant to be shared with the Group.
|
3
|
+
class OnTheMindStatement < ActiveRecord::Base
|
4
|
+
belongs_to :participant
|
5
|
+
has_many :comments, as: "item", dependent: :destroy
|
6
|
+
has_many :likes, as: "item", dependent: :destroy
|
7
|
+
|
8
|
+
validates :participant, :description, presence: true
|
9
|
+
|
10
|
+
scope :for_today, lambda {
|
11
|
+
where(
|
12
|
+
"created_at <= ? AND created_at >= ?",
|
13
|
+
Date.today.end_of_day,
|
14
|
+
Date.today.beginning_of_day
|
15
|
+
)
|
16
|
+
}
|
17
|
+
|
18
|
+
scope :for_week, lambda {
|
19
|
+
where("created_at >= ?", Time.current.advance(days: -7).beginning_of_day)
|
20
|
+
}
|
21
|
+
|
22
|
+
def shared_description
|
23
|
+
description
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,88 @@
|
|
1
|
+
module SocialNetworking
|
2
|
+
# A set of data representing a Social Profile belonging to a Participant.
|
3
|
+
class Profile < ActiveRecord::Base
|
4
|
+
ACTION_TYPES = %w( created completed )
|
5
|
+
Actions = Struct.new(*ACTION_TYPES.map(&:to_sym)).new(*ACTION_TYPES)
|
6
|
+
|
7
|
+
after_create :share_profile
|
8
|
+
|
9
|
+
belongs_to :participant
|
10
|
+
has_many :profile_answers,
|
11
|
+
class_name: "SocialNetworking::ProfileAnswer",
|
12
|
+
foreign_key: :social_networking_profile_id,
|
13
|
+
dependent: :destroy
|
14
|
+
has_many :comments, as: "item"
|
15
|
+
has_many :likes, as: "item"
|
16
|
+
|
17
|
+
validates :participant, presence: true
|
18
|
+
validates :participant_id, uniqueness: true
|
19
|
+
|
20
|
+
delegate :latest_action_at, :active_membership_end_date,
|
21
|
+
to: :participant
|
22
|
+
|
23
|
+
def self.icon_names
|
24
|
+
%w(
|
25
|
+
art
|
26
|
+
bike
|
27
|
+
bolt
|
28
|
+
bookshelf
|
29
|
+
die
|
30
|
+
fashion
|
31
|
+
flower
|
32
|
+
genius
|
33
|
+
heart
|
34
|
+
helicopter
|
35
|
+
hourglass
|
36
|
+
keyboard
|
37
|
+
magnifyingglass
|
38
|
+
megaphone2
|
39
|
+
microphone
|
40
|
+
music
|
41
|
+
paintbrush2
|
42
|
+
plane
|
43
|
+
polaroidcamera
|
44
|
+
present
|
45
|
+
recycle
|
46
|
+
scooter
|
47
|
+
shipwheel
|
48
|
+
shoeprints
|
49
|
+
star
|
50
|
+
travelerbag
|
51
|
+
ufo
|
52
|
+
umbrella
|
53
|
+
weather)
|
54
|
+
end
|
55
|
+
|
56
|
+
def to_serialized
|
57
|
+
{}
|
58
|
+
end
|
59
|
+
|
60
|
+
def started?
|
61
|
+
profile_answers.any?
|
62
|
+
end
|
63
|
+
|
64
|
+
def description
|
65
|
+
"Welcome, #{user_name}!"
|
66
|
+
end
|
67
|
+
|
68
|
+
def shared_description
|
69
|
+
"Profile Created: #{participant.display_name}"
|
70
|
+
end
|
71
|
+
|
72
|
+
def user_name
|
73
|
+
if participant.is_admin
|
74
|
+
Rails.application.config.moderating_participant_display_name
|
75
|
+
else
|
76
|
+
participant.display_name
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
private
|
81
|
+
|
82
|
+
def share_profile
|
83
|
+
SharedItem.create(
|
84
|
+
item: self,
|
85
|
+
action_type: Profile::Actions.created)
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
module SocialNetworking
|
2
|
+
# A question that is posed to participants when a profile is being created or
|
3
|
+
# updated.
|
4
|
+
class ProfileAnswer < ActiveRecord::Base
|
5
|
+
belongs_to :profile,
|
6
|
+
class_name: "SocialNetworking::Profile",
|
7
|
+
foreign_key: :social_networking_profile_id
|
8
|
+
belongs_to :profile_question,
|
9
|
+
class_name: "SocialNetworking::ProfileQuestion",
|
10
|
+
foreign_key: :social_networking_profile_question_id
|
11
|
+
|
12
|
+
validates :profile, :profile_question, presence: true
|
13
|
+
validates :social_networking_profile_question_id, uniqueness: {
|
14
|
+
scope: :social_networking_profile_id, message: "has already been answered"
|
15
|
+
}
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
module SocialNetworking
|
2
|
+
# A question that is posed to participants when a profile is being created or
|
3
|
+
# updated.
|
4
|
+
class ProfileQuestion < ActiveRecord::Base
|
5
|
+
belongs_to :group,
|
6
|
+
class_name: "ThinkFeelDoEngine::Group",
|
7
|
+
foreign_key: :group_id
|
8
|
+
|
9
|
+
has_many :profile_answers,
|
10
|
+
class_name: "SocialNetworking::ProfileAnswer",
|
11
|
+
foreign_key: :social_networking_profile_question_id,
|
12
|
+
dependent: :destroy
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
module SocialNetworking
|
2
|
+
module Reports
|
3
|
+
# Scenario: a Participant comments on a feed item.
|
4
|
+
class Comment
|
5
|
+
def self.columns
|
6
|
+
%w( participant_id occurred_at item_type text )
|
7
|
+
end
|
8
|
+
|
9
|
+
def self.all
|
10
|
+
Participant.select(:id, :study_id).map do |participant|
|
11
|
+
::SocialNetworking::Comment
|
12
|
+
.where(participant_id: participant.id).map do |comment|
|
13
|
+
item = (comment.item.try(:item) || comment.item)
|
14
|
+
next if item.nil?
|
15
|
+
|
16
|
+
{
|
17
|
+
participant_id: participant.study_id,
|
18
|
+
occurred_at: comment.created_at.iso8601,
|
19
|
+
item_type: item.class.to_s,
|
20
|
+
text: comment.text
|
21
|
+
}
|
22
|
+
end
|
23
|
+
end.flatten.compact
|
24
|
+
end
|
25
|
+
|
26
|
+
def self.to_csv
|
27
|
+
ThinkFeelDoEngine::Reports::Reporter.new(self).write_csv
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|