decidim 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of decidim might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/.circleci/config.yml +3 -1
- data/.codeclimate.yml +2 -3
- data/.rubocop.yml +1 -48
- data/.travis.yml +1 -0
- data/Dockerfile +1 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +119 -115
- data/README.md +24 -9
- data/Rakefile +14 -10
- data/decidim-admin/app/assets/javascripts/decidim/admin/application.js.es6 +21 -9
- data/decidim-admin/app/assets/javascripts/decidim/admin/sort_list.component.js.es6 +35 -0
- data/decidim-admin/app/assets/stylesheets/decidim/admin/extra/_language-chooser.scss +4 -0
- data/decidim-admin/app/assets/stylesheets/decidim/admin/extra/_sort.scss +12 -0
- data/decidim-admin/app/controllers/decidim/admin/application_controller.rb +1 -0
- data/decidim-admin/app/controllers/decidim/admin/participatory_process_attachments_controller.rb +4 -0
- data/decidim-admin/app/helpers/decidim/admin/menu_helper.rb +0 -1
- data/decidim-admin/app/models/decidim/admin/participatory_process_user_role.rb +2 -2
- data/decidim-admin/app/views/decidim/admin/categories/index.html.erb +7 -1
- data/decidim-admin/app/views/decidim/admin/exports/_dropdown.html.erb +1 -1
- data/decidim-admin/app/views/decidim/admin/moderations/index.html.erb +6 -2
- data/decidim-admin/app/views/decidim/admin/participatory_process_steps/index.html.erb +1 -0
- data/decidim-admin/app/views/layouts/decidim/admin/_title_bar.html.erb +10 -0
- data/decidim-admin/bin/rails +3 -3
- data/decidim-admin/config/locales/ca.yml +3 -1
- data/decidim-admin/config/locales/en.yml +3 -1
- data/decidim-admin/config/locales/es.yml +3 -1
- data/decidim-admin/config/locales/eu.yml +0 -1
- data/decidim-admin/config/locales/fi.yml +0 -1
- data/decidim-admin/config/locales/fr.yml +0 -1
- data/decidim-admin/config/locales/it.yml +490 -0
- data/decidim-admin/db/migrate/20161102144648_add_admin_participatory_process_user_roles.rb +5 -3
- data/decidim-admin/db/migrate/20170128112958_change_user_groups_verified_to_timestamp.rb +2 -0
- data/decidim-admin/decidim-admin.gemspec +2 -1
- data/decidim-admin/lib/decidim/admin/engine.rb +1 -1
- data/decidim-admin/lib/decidim/admin/test/manage_attachments_examples.rb +3 -3
- data/decidim-admin/spec/commands/reject_user_group_spec.rb +2 -2
- data/decidim-admin/spec/features/admin_copy_participatory_process_spec.rb +2 -2
- data/decidim-admin/spec/features/admin_invite_spec.rb +1 -1
- data/decidim-admin/spec/features/admin_manages_features_spec.rb +2 -2
- data/decidim-admin/spec/features/admin_manages_newsletters_spec.rb +4 -4
- data/decidim-admin/spec/features/admin_manages_organization_spec.rb +6 -6
- data/decidim-admin/spec/features/admin_manages_participatory_process_groups_spec.rb +4 -4
- data/decidim-admin/spec/features/admin_manages_participatory_processes_spec.rb +4 -4
- data/decidim-admin/spec/features/static_pages_spec.rb +4 -4
- data/decidim-admin/spec/forms/organization_form_spec.rb +1 -1
- data/decidim-admin/spec/shared/manage_process_categories_examples.rb +44 -29
- data/decidim-admin/spec/shared/manage_process_steps_examples.rb +3 -3
- data/decidim-admin/spec/shared/manage_processes_examples.rb +1 -1
- data/decidim-admin/spec/shared/participatory_admin_shared_context.rb +3 -3
- data/decidim-admin/spec/spec_helper.rb +3 -2
- data/decidim-api/bin/rails +3 -3
- data/decidim-api/decidim-api.gemspec +2 -1
- data/decidim-api/lib/decidim/api/engine.rb +1 -1
- data/decidim-api/spec/spec_helper.rb +3 -2
- data/decidim-budgets/app/controllers/decidim/budgets/application_controller.rb +1 -1
- data/decidim-budgets/app/models/decidim/budgets/line_item.rb +1 -2
- data/decidim-budgets/app/models/decidim/budgets/order.rb +2 -2
- data/decidim-budgets/app/views/decidim/budgets/projects/_linked_projects.html.erb +1 -1
- data/decidim-budgets/bin/rails +3 -3
- data/decidim-budgets/config/locales/it.yml +126 -0
- data/decidim-budgets/db/migrate/20170127114122_create_projects.rb +2 -0
- data/decidim-budgets/db/migrate/20170130095615_create_orders.rb +2 -0
- data/decidim-budgets/db/migrate/20170130101825_create_line_items.rb +2 -0
- data/decidim-budgets/db/migrate/20170207101750_remove_short_description_from_decidim_projects.rb +2 -0
- data/decidim-budgets/db/migrate/20170215132708_add_reference_to_projects.rb +2 -0
- data/decidim-budgets/db/migrate/20170410074214_remove_not_null_reference_budgets.rb +2 -0
- data/decidim-budgets/db/migrate/20170612101846_migrate_projects_category.rb +15 -0
- data/decidim-budgets/decidim-budgets.gemspec +3 -1
- data/decidim-budgets/lib/decidim/budgets/feature.rb +2 -2
- data/decidim-budgets/spec/features/admin_manages_project_attachments_spec.rb +5 -3
- data/decidim-budgets/spec/features/admin_manages_projects_spec.rb +5 -7
- data/decidim-budgets/spec/features/process_admin_manages_project_attachments_spec.rb +4 -4
- data/decidim-budgets/spec/features/process_admin_manages_projects_spec.rb +5 -8
- data/decidim-budgets/spec/shared/manage_attachments_examples.rb +0 -4
- data/decidim-budgets/spec/shared/manage_projects_examples.rb +3 -3
- data/decidim-budgets/spec/spec_helper.rb +2 -1
- data/decidim-comments/app/assets/javascripts/decidim/comments/bundle.js +0 -0
- data/decidim-comments/app/commands/decidim/comments/create_comment.rb +2 -2
- data/decidim-comments/app/frontend/comments/add_comment_form.component.tsx +1 -0
- data/decidim-comments/app/frontend/comments/comment.component.test.tsx +12 -1
- data/decidim-comments/app/frontend/comments/comment.component.tsx +42 -4
- data/decidim-comments/app/frontend/comments/comment_thread.component.test.tsx +11 -0
- data/decidim-comments/app/frontend/comments/comment_thread.component.tsx +5 -1
- data/decidim-comments/app/frontend/fragments/comment_data.fragment.graphql +3 -0
- data/decidim-comments/app/frontend/support/generate_comments_data.ts +3 -0
- data/decidim-comments/app/frontend/support/schema.ts +18 -12
- data/decidim-comments/app/mailers/decidim/comments/comment_notification_mailer.rb +6 -4
- data/decidim-comments/app/models/decidim/comments/comment.rb +6 -4
- data/decidim-comments/app/models/decidim/comments/comment_vote.rb +1 -2
- data/decidim-comments/app/models/decidim/comments/seed.rb +5 -2
- data/decidim-comments/app/resolvers/decidim/comments/vote_comment_resolver.rb +3 -0
- data/decidim-comments/app/types/decidim/comments/commentable_interface.rb +3 -3
- data/decidim-comments/app/views/decidim/comments/comment_notification_mailer/comment_created.html.erb +1 -1
- data/decidim-comments/app/views/decidim/comments/comment_notification_mailer/reply_created.html.erb +1 -1
- data/decidim-comments/bin/rails +3 -3
- data/decidim-comments/config/locales/ca.yml +5 -0
- data/decidim-comments/config/locales/en.yml +5 -0
- data/decidim-comments/config/locales/es.yml +5 -0
- data/decidim-comments/config/locales/it.yml +65 -0
- data/decidim-comments/db/migrate/20161130143508_create_comments.rb +2 -0
- data/decidim-comments/db/migrate/20161214082645_add_depth_to_comments.rb +2 -0
- data/decidim-comments/db/migrate/20161216102820_add_alignment_to_comments.rb +2 -0
- data/decidim-comments/db/migrate/20161219150806_create_comment_votes.rb +3 -1
- data/decidim-comments/db/migrate/20170123102043_add_user_group_id_to_comments.rb +2 -0
- data/decidim-comments/db/migrate/20170504085413_add_root_commentable_to_comments.rb +2 -0
- data/decidim-comments/db/migrate/20170510091348_update_root_commentable_for_comments.rb +3 -2
- data/decidim-comments/db/migrate/20170510091409_set_root_commentable_null_constraints.rb +2 -0
- data/decidim-comments/decidim-comments.gemspec +2 -1
- data/decidim-comments/lib/decidim/comments/comment_serializer.rb +1 -1
- data/decidim-comments/lib/decidim/comments/commentable.rb +4 -4
- data/decidim-comments/spec/commands/create_comment_spec.rb +2 -2
- data/decidim-comments/spec/features/admin_manages_comments_spec.rb +4 -9
- data/decidim-comments/spec/features/process_admin_manages_comments_spec.rb +5 -11
- data/decidim-comments/spec/mailers/comment_notification_mailer_spec.rb +12 -7
- data/decidim-comments/spec/shared/author_localised_email.rb +26 -0
- data/decidim-comments/spec/spec_helper.rb +1 -1
- data/decidim-dev/config/locales/it.yml +9 -0
- data/decidim-dev/decidim-dev.gemspec +8 -3
- data/decidim-dev/lib/decidim/dev.rb +1 -8
- data/decidim-dev/lib/decidim/dev/railtie.rb +1 -1
- data/decidim-dev/lib/decidim/dev/test/base_spec_helper.rb +6 -4
- data/decidim-dev/lib/decidim/dev/test/rspec_support/capybara.rb +2 -2
- data/decidim-dev/lib/decidim/dev/test/rspec_support/feature.rb +4 -2
- data/decidim-dev/lib/decidim/dev/test/rspec_support/feature_context.rb +28 -8
- data/decidim-dev/lib/decidim/dev/test/rspec_support/translation_helpers.rb +7 -2
- data/decidim-dev/lib/decidim/dev/test/spec_helper.rb +2 -2
- data/decidim-dev/lib/generators/decidim/dummy_generator.rb +1 -1
- data/decidim-meetings/README.md +1 -1
- data/decidim-meetings/app/controllers/decidim/meetings/application_controller.rb +1 -1
- data/decidim-meetings/app/views/decidim/meetings/meetings/_linked_meetings.html.erb +1 -1
- data/decidim-meetings/bin/rails +3 -3
- data/decidim-meetings/config/locales/it.yml +87 -0
- data/decidim-meetings/db/migrate/20161130121354_create_meetings.rb +2 -0
- data/decidim-meetings/db/migrate/20170110142105_close_a_meeting.rb +2 -0
- data/decidim-meetings/db/migrate/20170123151650_add_latitude_and_longitude_to_meetings.rb +2 -0
- data/decidim-meetings/db/migrate/20170129153716_remove_short_description_from_meetings.rb +2 -0
- data/decidim-meetings/db/migrate/20170215132546_add_reference_to_meetings.rb +2 -0
- data/decidim-meetings/db/migrate/20170410074252_remove_not_null_reference_meetings.rb +2 -0
- data/decidim-meetings/db/migrate/20170612101925_migrate_meetings_category.rb +15 -0
- data/decidim-meetings/decidim-meetings.gemspec +3 -1
- data/decidim-meetings/lib/decidim/meetings/feature.rb +2 -2
- data/decidim-meetings/spec/features/admin_manages_meetings_attachments_spec.rb +5 -1
- data/decidim-meetings/spec/features/admin_manages_meetings_spec.rb +5 -7
- data/decidim-meetings/spec/features/explore_meetings_spec.rb +32 -6
- data/decidim-meetings/spec/features/process_admin_manages_meetings_attachments_spec.rb +4 -2
- data/decidim-meetings/spec/features/process_admin_manages_meetings_spec.rb +5 -8
- data/decidim-meetings/spec/shared/manage_attachments_examples.rb +0 -3
- data/decidim-meetings/spec/shared/manage_meetings_examples.rb +11 -11
- data/decidim-meetings/spec/spec_helper.rb +2 -1
- data/decidim-pages/bin/rails +3 -3
- data/decidim-pages/config/locales/it.yml +22 -0
- data/decidim-pages/db/migrate/20161116121353_create_decidim_pages.rb +2 -0
- data/decidim-pages/db/migrate/20161214150429_add_commentable_to_pages.rb +2 -0
- data/decidim-pages/db/migrate/20170110145040_remove_commentable_flag_from_pages.rb +2 -0
- data/decidim-pages/db/migrate/20170220091402_remove_page_feature_titles.rb +2 -0
- data/decidim-pages/decidim-pages.gemspec +3 -1
- data/decidim-pages/spec/features/admin_spec.rb +1 -1
- data/decidim-pages/spec/spec_helper.rb +2 -3
- data/decidim-proposals/app/commands/decidim/proposals/unvote_proposal.rb +34 -0
- data/decidim-proposals/app/commands/decidim/proposals/vote_proposal.rb +39 -0
- data/decidim-proposals/app/controllers/concerns/decidim/proposals/orderable.rb +7 -3
- data/decidim-proposals/app/controllers/decidim/proposals/proposal_votes_controller.rb +18 -8
- data/decidim-proposals/app/models/decidim/proposals/proposal.rb +3 -3
- data/decidim-proposals/app/models/decidim/proposals/proposal_vote.rb +0 -1
- data/decidim-proposals/app/views/decidim/proposals/proposals/_author.html.erb +23 -0
- data/decidim-proposals/app/views/decidim/proposals/proposals/_linked_proposals.html.erb +2 -2
- data/decidim-proposals/app/views/decidim/proposals/proposals/_proposal.html.erb +1 -9
- data/decidim-proposals/app/views/decidim/proposals/proposals/_vote_button.html.erb +2 -6
- data/decidim-proposals/app/views/decidim/proposals/proposals/new.html.erb +1 -1
- data/decidim-proposals/app/views/decidim/proposals/proposals/show.html.erb +1 -11
- data/decidim-proposals/bin/rails +3 -3
- data/decidim-proposals/config/locales/ca.yml +6 -0
- data/decidim-proposals/config/locales/en.yml +6 -0
- data/decidim-proposals/config/locales/es.yml +6 -0
- data/decidim-proposals/config/locales/eu.yml +0 -2
- data/decidim-proposals/config/locales/fi.yml +0 -2
- data/decidim-proposals/config/locales/fr.yml +0 -2
- data/decidim-proposals/config/locales/it.yml +147 -0
- data/decidim-proposals/db/migrate/20161212110850_create_decidim_proposals.rb +2 -0
- data/decidim-proposals/db/migrate/20170112115253_create_proposal_votes.rb +3 -1
- data/decidim-proposals/db/migrate/20170113114245_add_text_search_indexes.rb +2 -0
- data/decidim-proposals/db/migrate/20170118120151_add_counter_cache_votes_to_proposals.rb +2 -0
- data/decidim-proposals/db/migrate/20170120151202_add_user_group_id_to_proposals.rb +2 -0
- data/decidim-proposals/db/migrate/20170131092413_add_answers_to_proposals.rb +2 -0
- data/decidim-proposals/db/migrate/20170205082832_add_index_to_decidim_proposals_proposals_proposal_votes_count.rb +2 -0
- data/decidim-proposals/db/migrate/20170215113152_create_proposal_reports.rb +2 -0
- data/decidim-proposals/db/migrate/20170215131720_add_report_count_to_proposals.rb +2 -0
- data/decidim-proposals/db/migrate/20170215132030_add_reference_to_proposals.rb +2 -0
- data/decidim-proposals/db/migrate/20170220152416_add_hidden_at_to_proposals.rb +2 -0
- data/decidim-proposals/db/migrate/20170228105156_add_geolocalization_fields_to_proposals.rb +2 -0
- data/decidim-proposals/db/migrate/20170307085300_migrate_proposal_reports_data_to_reports.rb +8 -10
- data/decidim-proposals/db/migrate/20170410073742_remove_not_null_reference_proposals.rb +2 -0
- data/decidim-proposals/db/migrate/20170612101809_migrate_proposals_category.rb +15 -0
- data/decidim-proposals/decidim-proposals.gemspec +4 -2
- data/decidim-proposals/lib/decidim/proposals/feature.rb +5 -1
- data/decidim-proposals/lib/decidim/proposals/proposal_serializer.rb +1 -6
- data/decidim-proposals/spec/commands/decidim/proposals/unvote_proposal_spec.rb +26 -0
- data/decidim-proposals/spec/commands/decidim/proposals/vote_proposal_spec.rb +47 -0
- data/decidim-proposals/spec/features/admin_manages_proposals_spec.rb +6 -11
- data/decidim-proposals/spec/features/process_admin_manages_proposals_spec.rb +6 -12
- data/decidim-proposals/spec/features/proposals_spec.rb +38 -12
- data/decidim-proposals/spec/shared/manage_proposals_examples.rb +3 -6
- data/decidim-proposals/spec/spec_helper.rb +2 -1
- data/decidim-results/app/controllers/decidim/results/application_controller.rb +1 -1
- data/decidim-results/app/views/decidim/results/results/_linked_results.html.erb +1 -1
- data/decidim-results/bin/rails +3 -3
- data/decidim-results/config/locales/it.yml +78 -0
- data/decidim-results/db/migrate/20170116104125_create_results.rb +2 -0
- data/decidim-results/db/migrate/20170129164553_remove_short_description_from_results.rb +2 -0
- data/decidim-results/db/migrate/20170215132624_add_reference_to_results.rb +2 -0
- data/decidim-results/db/migrate/20170410074358_remove_not_null_reference_results.rb +2 -0
- data/decidim-results/db/migrate/20170612101951_migrate_results_category.rb +15 -0
- data/decidim-results/decidim-results.gemspec +3 -1
- data/decidim-results/spec/features/admin_manages_results_spec.rb +5 -7
- data/decidim-results/spec/features/process_admin_manages_results_spec.rb +5 -8
- data/decidim-results/spec/shared/manage_results_examples.rb +3 -3
- data/decidim-results/spec/spec_helper.rb +2 -1
- data/decidim-surveys/README.md +24 -0
- data/decidim-surveys/Rakefile +3 -0
- data/decidim-surveys/app/assets/config/admin/decidim_surveys_manifest.js +1 -0
- data/decidim-surveys/app/assets/images/decidim/surveys/icon.svg +1 -0
- data/decidim-surveys/app/assets/javascripts/decidim/surveys/admin/auto_label_by_position.component.js.es6 +33 -0
- data/decidim-surveys/app/assets/javascripts/decidim/surveys/admin/dynamic_fields.component.js.es6 +95 -0
- data/decidim-surveys/app/assets/javascripts/decidim/surveys/admin/surveys.js.es6 +85 -0
- data/decidim-surveys/app/assets/stylesheets/decidim/surveys/surveys.scss +9 -0
- data/decidim-surveys/app/commands/decidim/surveys/admin/update_survey.rb +65 -0
- data/decidim-surveys/app/commands/decidim/surveys/answer_survey.rb +43 -0
- data/decidim-surveys/app/commands/decidim/surveys/create_survey.rb +19 -0
- data/decidim-surveys/app/controllers/decidim/surveys/admin/application_controller.rb +15 -0
- data/decidim-surveys/app/controllers/decidim/surveys/admin/surveys_controller.rb +55 -0
- data/decidim-surveys/app/controllers/decidim/surveys/application_controller.rb +13 -0
- data/decidim-surveys/app/controllers/decidim/surveys/surveys_controller.rb +39 -0
- data/decidim-surveys/app/forms/decidim/surveys/admin/survey_form.rb +19 -0
- data/decidim-surveys/app/forms/decidim/surveys/admin/survey_question_answer_option_form.rb +15 -0
- data/decidim-surveys/app/forms/decidim/surveys/admin/survey_question_form.rb +24 -0
- data/decidim-surveys/app/forms/decidim/surveys/survey_answer_form.rb +36 -0
- data/decidim-surveys/app/forms/decidim/surveys/survey_form.rb +22 -0
- data/decidim-surveys/app/helpers/decidim/surveys/admin/application_helper.rb +39 -0
- data/decidim-surveys/app/models/decidim/surveys/abilities/admin_user.rb +34 -0
- data/decidim-surveys/app/models/decidim/surveys/abilities/current_user.rb +47 -0
- data/decidim-surveys/app/models/decidim/surveys/abilities/process_admin_user.rb +44 -0
- data/decidim-surveys/app/models/decidim/surveys/application_record.rb +10 -0
- data/decidim-surveys/app/models/decidim/surveys/survey.rb +25 -0
- data/decidim-surveys/app/models/decidim/surveys/survey_answer.rb +27 -0
- data/decidim-surveys/app/models/decidim/surveys/survey_question.rb +18 -0
- data/decidim-surveys/app/queries/decidim/surveys/survey_user_answers.rb +28 -0
- data/decidim-surveys/app/views/decidim/surveys/admin/surveys/_answer_option.html.erb +23 -0
- data/decidim-surveys/app/views/decidim/surveys/admin/surveys/_form.html.erb +47 -0
- data/decidim-surveys/app/views/decidim/surveys/admin/surveys/_question.html.erb +57 -0
- data/decidim-surveys/app/views/decidim/surveys/admin/surveys/edit.html.erb +7 -0
- data/decidim-surveys/app/views/decidim/surveys/surveys/show.html.erb +102 -0
- data/decidim-surveys/bin/rails +15 -0
- data/decidim-surveys/config/i18n-tasks.yml +11 -0
- data/decidim-surveys/config/locales/ca.yml +69 -0
- data/decidim-surveys/config/locales/en.yml +73 -0
- data/decidim-surveys/config/locales/es.yml +69 -0
- data/decidim-surveys/config/locales/eu.yml +5 -0
- data/decidim-surveys/config/locales/fi.yml +5 -0
- data/decidim-surveys/config/locales/fr.yml +5 -0
- data/decidim-surveys/config/locales/it.yml +5 -0
- data/decidim-surveys/config/locales/nl.yml +5 -0
- data/decidim-surveys/db/migrate/20170511092231_create_decidim_surveys.rb +15 -0
- data/decidim-surveys/db/migrate/20170515090916_create_decidim_survey_questions.rb +12 -0
- data/decidim-surveys/db/migrate/20170515144119_create_decidim_survey_answers.rb +14 -0
- data/decidim-surveys/db/migrate/20170518085302_add_position_to_surveys_questions.rb +7 -0
- data/decidim-surveys/db/migrate/20170522075938_add_mandatory_to_surveys_questions.rb +7 -0
- data/decidim-surveys/db/migrate/20170524122229_add_question_type_to_surveys_questions.rb +7 -0
- data/decidim-surveys/db/migrate/20170525132233_add_answer_options_to_surveys_questions.rb +7 -0
- data/decidim-surveys/decidim-surveys.gemspec +22 -0
- data/decidim-surveys/lib/decidim/surveys.rb +14 -0
- data/decidim-surveys/lib/decidim/surveys/admin.rb +10 -0
- data/decidim-surveys/lib/decidim/surveys/admin_engine.rb +34 -0
- data/decidim-surveys/lib/decidim/surveys/engine.rb +25 -0
- data/decidim-surveys/lib/decidim/surveys/feature.rb +85 -0
- data/decidim-surveys/lib/decidim/surveys/survey_user_answers_serializer.rb +23 -0
- data/decidim-surveys/lib/decidim/surveys/test/factories.rb +39 -0
- data/decidim-surveys/spec/commands/decidim/surveys/admin/update_survey_spec.rb +147 -0
- data/decidim-surveys/spec/commands/decidim/surveys/answer_survey_spec.rb +71 -0
- data/decidim-surveys/spec/commands/decidim/surveys/create_survey_spec.rb +44 -0
- data/decidim-surveys/spec/factories.rb +3 -0
- data/decidim-surveys/spec/features/admin_manages_surveys_spec.rb +13 -0
- data/decidim-surveys/spec/features/process_admin_manages_surveys_spec.rb +13 -0
- data/decidim-surveys/spec/features/survey_spec.rb +235 -0
- data/decidim-surveys/spec/forms/decidim/surveys/admin/survey_form_spec.rb +64 -0
- data/decidim-surveys/spec/forms/decidim/surveys/admin/survey_question_form_spec.rb +36 -0
- data/decidim-surveys/spec/forms/decidim/surveys/survey_answer_form_spec.rb +36 -0
- data/decidim-surveys/spec/forms/decidim/surveys/survey_form_spec.rb +32 -0
- data/decidim-surveys/spec/models/decidim/surveys/abilities/admin_user_spec.rb +22 -0
- data/decidim-surveys/spec/models/decidim/surveys/abilities/current_user_spec.rb +19 -0
- data/decidim-surveys/spec/models/decidim/surveys/abilities/process_admin_user_spec.rb +23 -0
- data/decidim-surveys/spec/models/decidim/surveys/survey_answer_spec.rb +55 -0
- data/decidim-surveys/spec/models/decidim/surveys/survey_question_spec.rb +19 -0
- data/decidim-surveys/spec/models/decidim/surveys/survey_spec.rb +65 -0
- data/decidim-surveys/spec/queries/decidim/surveys/survey_user_answers_spec.rb +21 -0
- data/decidim-surveys/spec/services/decidim/surveys/surveys/survey_user_answer_serializer_spec.rb +34 -0
- data/decidim-surveys/spec/shared/edit_survey_examples.rb +213 -0
- data/decidim-surveys/spec/shared/export_survey_user_answers_examples.rb +47 -0
- data/decidim-surveys/spec/spec_helper.rb +4 -0
- data/decidim-system/app/controllers/decidim/system/devise/passwords_controller.rb +2 -0
- data/decidim-system/app/helpers/decidim/system/menu_helper.rb +0 -1
- data/decidim-system/bin/rails +3 -3
- data/decidim-system/config/locales/it.yml +66 -0
- data/decidim-system/db/migrate/20160919105637_devise_create_decidim_admins.rb +2 -0
- data/decidim-system/decidim-system.gemspec +2 -1
- data/decidim-system/spec/spec_helper.rb +3 -2
- data/decidim.gemspec +5 -4
- data/docs/geocoding.md +2 -2
- data/docs/how_to_create_a_plugin.md +11 -11
- data/lib/decidim.rb +1 -0
- data/lib/generators/decidim/app_generator.rb +3 -2
- data/lib/generators/decidim/demo_generator.rb +1 -1
- data/lib/generators/decidim/docker_generator.rb +2 -2
- data/lib/generators/decidim/install_generator.rb +3 -6
- data/lib/generators/decidim/templates/initializer.rb +2 -2
- metadata +130 -47
- data/decidim-admin/app/assets/javascripts/decidim/admin/sort_steps.js.es6 +0 -30
- data/decidim-budgets/spec/shared/admin_shared_context.rb +0 -13
- data/decidim-comments/spec/shared/admin_shared_context.rb +0 -13
- data/decidim-meetings/spec/shared/admin_shared_context.rb +0 -13
- data/decidim-proposals/spec/shared/admin_shared_context.rb +0 -13
- data/decidim-results/spec/shared/admin_shared_context.rb +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2c10d3644eb4852419ac0a89edbb23ee872f52e
|
4
|
+
data.tar.gz: ce6ffeb4a16cca018dbf0d6d5e0772282773208b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4996bb61f8a507ac2f4a7943b13dbb55b2cd33c79d5a5de8828cae063cbc722d6398fe8b94459197babc85a51260b29d0a195a821a831c657f308d87e3b20c1
|
7
|
+
data.tar.gz: 9a30cd6f474817a09053a981997a8d8095369b9969357b7581b14c06fd3f955a7d2c29246126e53fa018fde71e5ddaf7464c16a9c8d8d633d20fa1ec270fa387
|
data/.circleci/config.yml
CHANGED
@@ -60,7 +60,9 @@ jobs:
|
|
60
60
|
(cd /code && yarn test -- decidim-results) &&
|
61
61
|
(cd /code/decidim-results && bundle exec rake) &&
|
62
62
|
(cd /code && yarn test -- decidim-budgets) &&
|
63
|
-
(cd /code/decidim-budgets && bundle exec rake)
|
63
|
+
(cd /code/decidim-budgets && bundle exec rake) &&
|
64
|
+
(cd /code && yarn test -- decidim-surveys) &&
|
65
|
+
(cd /code/decidim-surveys && bundle exec rake)
|
64
66
|
;;
|
65
67
|
esac
|
66
68
|
- store_artifacts:
|
data/.codeclimate.yml
CHANGED
@@ -23,6 +23,8 @@ engines:
|
|
23
23
|
- efea7ddea03adadd8177a72831e928a3
|
24
24
|
- 92b3f6841512dd90c0f7bb79618fb351
|
25
25
|
- efea7ddea03adadd8177a72831e928a3
|
26
|
+
exclude_paths:
|
27
|
+
- "decidim-*/spec/**/*"
|
26
28
|
eslint:
|
27
29
|
enabled: false
|
28
30
|
fixme:
|
@@ -44,9 +46,6 @@ ratings:
|
|
44
46
|
- "**.rb"
|
45
47
|
exclude_paths:
|
46
48
|
- "**/vendor/**/*"
|
47
|
-
- "decidim-*/spec/**/*"
|
48
|
-
- "decidim-*/test/**/*"
|
49
|
-
- "decidim-*/db/migrate/**/*"
|
50
49
|
- "**/*.test.js"
|
51
50
|
- "**/*.test.jsx"
|
52
51
|
- "decidim-core/app/assets/stylesheets/decidim/email.css"
|
data/.rubocop.yml
CHANGED
@@ -1,30 +1,7 @@
|
|
1
1
|
# Common configuration.
|
2
2
|
AllCops:
|
3
|
-
# Include common Ruby source files.
|
4
|
-
Include:
|
5
|
-
- '**/*.gemspec'
|
6
|
-
- '**/*.podspec'
|
7
|
-
- '**/*.jbuilder'
|
8
|
-
- '**/*.rake'
|
9
|
-
- '**/*.opal'
|
10
|
-
- '**/config.ru'
|
11
|
-
- '**/Rakefile'
|
12
|
-
- '**/Capfile'
|
13
|
-
- '**/Guardfile'
|
14
|
-
- '**/Podfile'
|
15
|
-
- '**/Thorfile'
|
16
|
-
- '**/Vagrantfile'
|
17
|
-
- '**/Berksfile'
|
18
|
-
- '**/Cheffile'
|
19
|
-
- '**/Vagabondfile'
|
20
|
-
- '**/Fastfile'
|
21
|
-
- '**/*Fastfile'
|
22
3
|
Exclude:
|
23
|
-
- '**/Gemfile'
|
24
|
-
- '**/*.gemspec'
|
25
4
|
- '**/vendor/**/*'
|
26
|
-
- 'decidim-*/test/**/*'
|
27
|
-
- 'decidim-*/db/migrate/**'
|
28
5
|
- 'development_app/**/*'
|
29
6
|
- 'docker_development_app/**/*'
|
30
7
|
- 'spec/decidim_dummy_app/**/*'
|
@@ -95,14 +72,6 @@ Style/Alias:
|
|
95
72
|
- prefer_alias
|
96
73
|
- prefer_alias_method
|
97
74
|
|
98
|
-
Style/AccessorMethodName:
|
99
|
-
Exclude:
|
100
|
-
- "lib/generators/decidim/app_generator.rb"
|
101
|
-
|
102
|
-
Style/AlignArray:
|
103
|
-
Exclude:
|
104
|
-
- 'decidim-*/spec/**/*.rb'
|
105
|
-
|
106
75
|
# Align the elements of a hash literal if they span more than one line.
|
107
76
|
Style/AlignHash:
|
108
77
|
# Alignment of entries using hash rocket as separator. Valid values are:
|
@@ -634,10 +603,6 @@ Style/Lambda:
|
|
634
603
|
- line_count_dependent
|
635
604
|
- lambda
|
636
605
|
- literal
|
637
|
-
Exclude:
|
638
|
-
- 'decidim-api/lib/decidim/api/schema.rb'
|
639
|
-
- 'decidim-api/lib/decidim/api/types/**/*'
|
640
|
-
- 'decidim-core/lib/decidim/query_extensions.rb'
|
641
606
|
|
642
607
|
Style/LambdaCall:
|
643
608
|
EnforcedStyle: call
|
@@ -671,10 +636,6 @@ Style/NumericPredicate:
|
|
671
636
|
SupportedStyles:
|
672
637
|
- predicate
|
673
638
|
- comparison
|
674
|
-
# Exclude RSpec specs because assertions like `expect(1).to be > 0` cause
|
675
|
-
# false positives.
|
676
|
-
Exclude:
|
677
|
-
- 'spec/**/*'
|
678
639
|
|
679
640
|
Style/MethodDefParentheses:
|
680
641
|
EnforcedStyle: require_parentheses
|
@@ -830,7 +791,6 @@ Style/PredicateName:
|
|
830
791
|
# helpers in the form of `have_something` or `be_something`.
|
831
792
|
Exclude:
|
832
793
|
- '**/spec/**/*'
|
833
|
-
- '**/test/**/*'
|
834
794
|
|
835
795
|
Style/PreferredHashMethods:
|
836
796
|
Enabled: true
|
@@ -1123,8 +1083,6 @@ Metrics/LineLength:
|
|
1123
1083
|
URISchemes:
|
1124
1084
|
- http
|
1125
1085
|
- https
|
1126
|
-
Exclude:
|
1127
|
-
- 'decidim-*/spec/**/*.rb'
|
1128
1086
|
|
1129
1087
|
Metrics/MethodLength:
|
1130
1088
|
CountComments: false # count full line comments?
|
@@ -1226,8 +1184,6 @@ Rails/Exit:
|
|
1226
1184
|
- app/**/*.rb
|
1227
1185
|
- config/**/*.rb
|
1228
1186
|
- lib/**/*.rb
|
1229
|
-
Exclude:
|
1230
|
-
- lib/**/*.rake
|
1231
1187
|
|
1232
1188
|
Rails/FindBy:
|
1233
1189
|
Include:
|
@@ -1304,7 +1260,4 @@ Metrics/BlockLength:
|
|
1304
1260
|
- 'decidim-*/lib/**/*/test/**/*'
|
1305
1261
|
- 'decidim-*/lib/**/*/feature.rb'
|
1306
1262
|
- 'decidim-*/spec/**/*.rb'
|
1307
|
-
|
1308
|
-
Lint/HandleExceptions:
|
1309
|
-
Exclude:
|
1310
|
-
- "**/*/Rakefile"
|
1263
|
+
- '**/*.gemspec'
|
data/.travis.yml
CHANGED
data/Dockerfile
CHANGED
@@ -26,6 +26,7 @@ ADD decidim-meetings/decidim-meetings.gemspec /tmp/decidim-meetings/decidim-meet
|
|
26
26
|
ADD decidim-proposals/decidim-proposals.gemspec /tmp/decidim-proposals/decidim-proposals.gemspec
|
27
27
|
ADD decidim-results/decidim-results.gemspec /tmp/decidim-results/decidim-results.gemspec
|
28
28
|
ADD decidim-budgets/decidim-budgets.gemspec /tmp/decidim-proposals/decidim-budgets.gemspec
|
29
|
+
ADD decidim-surveys/decidim-surveys.gemspec /tmp/decidim-surveys/decidim-surveys.gemspec
|
29
30
|
|
30
31
|
ADD package.json /tmp/package.json
|
31
32
|
ADD yarn.lock /tmp/yarn.lock
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,54 +1,53 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
decidim (0.
|
5
|
-
decidim-admin (= 0.
|
6
|
-
decidim-api (= 0.
|
7
|
-
decidim-budgets (= 0.
|
8
|
-
decidim-comments (= 0.
|
9
|
-
decidim-core (= 0.
|
10
|
-
decidim-meetings (= 0.
|
11
|
-
decidim-pages (= 0.
|
12
|
-
decidim-proposals (= 0.
|
13
|
-
decidim-results (= 0.
|
14
|
-
decidim-
|
15
|
-
|
16
|
-
|
17
|
-
decidim-admin (0.2.0)
|
4
|
+
decidim (0.3.0)
|
5
|
+
decidim-admin (= 0.3.0)
|
6
|
+
decidim-api (= 0.3.0)
|
7
|
+
decidim-budgets (= 0.3.0)
|
8
|
+
decidim-comments (= 0.3.0)
|
9
|
+
decidim-core (= 0.3.0)
|
10
|
+
decidim-meetings (= 0.3.0)
|
11
|
+
decidim-pages (= 0.3.0)
|
12
|
+
decidim-proposals (= 0.3.0)
|
13
|
+
decidim-results (= 0.3.0)
|
14
|
+
decidim-surveys (= 0.3.0)
|
15
|
+
decidim-system (= 0.3.0)
|
16
|
+
decidim-admin (0.3.0)
|
18
17
|
active_link_to (~> 1.0.0)
|
19
|
-
decidim-core (= 0.
|
18
|
+
decidim-core (= 0.3.0)
|
20
19
|
devise (~> 4.2)
|
21
20
|
devise-i18n (~> 1.1.0)
|
22
21
|
devise_invitable (~> 1.7.0)
|
23
22
|
foundation_rails_helper (~> 3.0.0.rc)
|
24
23
|
jquery-rails (~> 4.3.1)
|
25
|
-
rails (~> 5.
|
24
|
+
rails (~> 5.1.1)
|
26
25
|
rectify (~> 0.9.1)
|
27
26
|
sassc-rails (~> 1.3.0)
|
28
|
-
decidim-api (0.
|
27
|
+
decidim-api (0.3.0)
|
29
28
|
graphiql-rails (~> 1.4.1)
|
30
29
|
graphql (~> 1.6.0)
|
31
30
|
rack-cors (~> 0.4.0)
|
32
|
-
rails (~> 5.
|
31
|
+
rails (~> 5.1.1)
|
33
32
|
sprockets-es6 (~> 0.9.2)
|
34
|
-
decidim-budgets (0.
|
35
|
-
decidim-comments (= 0.
|
36
|
-
decidim-core (= 0.
|
33
|
+
decidim-budgets (0.3.0)
|
34
|
+
decidim-comments (= 0.3.0)
|
35
|
+
decidim-core (= 0.3.0)
|
37
36
|
kaminari (~> 1.0.1)
|
38
37
|
rectify (~> 0.9.1)
|
39
38
|
searchlight (~> 4.1.0)
|
40
|
-
decidim-comments (0.
|
41
|
-
decidim-core (= 0.
|
39
|
+
decidim-comments (0.3.0)
|
40
|
+
decidim-core (= 0.3.0)
|
42
41
|
jquery-rails (~> 4.0)
|
43
|
-
rails (~> 5.
|
44
|
-
decidim-core (0.
|
42
|
+
rails (~> 5.1.1)
|
43
|
+
decidim-core (0.3.0)
|
45
44
|
active_link_to (~> 1.0.4)
|
46
45
|
autoprefixer-rails (~> 7.1.1)
|
47
46
|
cancancan (~> 2.0.0)
|
48
47
|
carrierwave (~> 1.1.0)
|
49
48
|
date_validator (~> 0.9.0)
|
50
|
-
decidim-api (= 0.
|
51
|
-
devise (~> 4.
|
49
|
+
decidim-api (= 0.3.0)
|
50
|
+
devise (~> 4.3)
|
52
51
|
devise-i18n (~> 1.1.0)
|
53
52
|
file_validators (~> 2.1.0)
|
54
53
|
foundation-rails (~> 6.3.1.0)
|
@@ -65,7 +64,8 @@ PATH
|
|
65
64
|
omniauth-twitter (~> 1.4.0)
|
66
65
|
pg (~> 0.20.0)
|
67
66
|
premailer-rails (~> 1.9.5)
|
68
|
-
rails (~> 5.
|
67
|
+
rails (~> 5.1.1)
|
68
|
+
rails-i18n
|
69
69
|
rectify (~> 0.9.1)
|
70
70
|
redis (~> 3.3.3)
|
71
71
|
rubyzip (= 1.2.1)
|
@@ -73,53 +73,56 @@ PATH
|
|
73
73
|
sprockets-es6 (~> 0.9.2)
|
74
74
|
truncato (~> 0.7.9)
|
75
75
|
wisper (~> 2.0.0)
|
76
|
-
decidim-meetings (0.
|
76
|
+
decidim-meetings (0.3.0)
|
77
77
|
date_validator (~> 0.9)
|
78
|
-
decidim-core (= 0.
|
78
|
+
decidim-core (= 0.3.0)
|
79
79
|
httparty (~> 0.15.0)
|
80
80
|
jquery-tmpl-rails (~> 1.1.0)
|
81
81
|
kaminari (~> 1.0.1)
|
82
82
|
rectify (~> 0.8)
|
83
83
|
searchlight (~> 4.1.0)
|
84
|
-
decidim-pages (0.
|
85
|
-
decidim-comments (= 0.
|
86
|
-
decidim-core (= 0.
|
84
|
+
decidim-pages (0.3.0)
|
85
|
+
decidim-comments (= 0.3.0)
|
86
|
+
decidim-core (= 0.3.0)
|
87
87
|
rectify (~> 0.9.1)
|
88
|
-
decidim-proposals (0.
|
89
|
-
decidim-comments (= 0.
|
90
|
-
decidim-core (= 0.
|
88
|
+
decidim-proposals (0.3.0)
|
89
|
+
decidim-comments (= 0.3.0)
|
90
|
+
decidim-core (= 0.3.0)
|
91
91
|
kaminari (~> 1.0.1)
|
92
92
|
rectify (~> 0.9.1)
|
93
93
|
social-share-button (~> 0.10.0)
|
94
|
-
decidim-results (0.
|
95
|
-
decidim-comments (= 0.
|
96
|
-
decidim-core (= 0.
|
94
|
+
decidim-results (0.3.0)
|
95
|
+
decidim-comments (= 0.3.0)
|
96
|
+
decidim-core (= 0.3.0)
|
97
97
|
kaminari (~> 1.0.1)
|
98
98
|
rectify (~> 0.9.1)
|
99
99
|
searchlight (~> 4.1.0)
|
100
|
-
decidim-
|
100
|
+
decidim-surveys (0.3.0)
|
101
|
+
decidim-core (= 0.3.0)
|
102
|
+
jquery-tmpl-rails (~> 1.1.0)
|
103
|
+
decidim-system (0.3.0)
|
101
104
|
active_link_to (~> 1.0.0)
|
102
|
-
decidim-core (= 0.
|
105
|
+
decidim-core (= 0.3.0)
|
103
106
|
devise (~> 4.2)
|
104
107
|
devise-i18n (~> 1.1.0)
|
105
108
|
devise_invitable (~> 1.7.1)
|
106
109
|
foundation_rails_helper (~> 3.0.0.rc)
|
107
110
|
jquery-rails (~> 4.3.1)
|
108
|
-
rails (~> 5.
|
111
|
+
rails (~> 5.1.1)
|
109
112
|
rectify (~> 0.9.1)
|
110
113
|
sassc-rails (~> 1.3.0)
|
111
114
|
|
112
115
|
PATH
|
113
116
|
remote: decidim-dev
|
114
117
|
specs:
|
115
|
-
decidim-dev (0.
|
118
|
+
decidim-dev (0.3.0)
|
116
119
|
byebug
|
117
120
|
capybara (~> 2.14.0)
|
118
121
|
capybara-screenshot (~> 1.0.14)
|
119
122
|
codecov (~> 0.1.9)
|
120
123
|
database_cleaner (~> 1.6.0)
|
121
124
|
db-query-matchers (~> 0.9.0)
|
122
|
-
decidim (= 0.
|
125
|
+
decidim (= 0.3.0)
|
123
126
|
factory_girl_rails
|
124
127
|
faker (~> 1.7.3)
|
125
128
|
i18n-tasks (= 0.9.15)
|
@@ -127,11 +130,12 @@ PATH
|
|
127
130
|
letter_opener_web (~> 1.3.0)
|
128
131
|
listen (~> 3.1.0)
|
129
132
|
poltergeist (~> 1.15.0)
|
133
|
+
puma (~> 3.8.2)
|
130
134
|
rails-controller-testing (~> 1.0.1)
|
131
135
|
rspec-html-matchers (~> 0.9.1)
|
132
|
-
rspec-rails (~> 3.5)
|
136
|
+
rspec-rails (~> 3.5, < 3.6)
|
133
137
|
rspec-repeat (~> 1.0.2)
|
134
|
-
rubocop (~> 0.
|
138
|
+
rubocop (~> 0.48.1)
|
135
139
|
simplecov (~> 0.13)
|
136
140
|
webmock (~> 3.0.1)
|
137
141
|
wisper-rspec (~> 0.0.3)
|
@@ -139,51 +143,51 @@ PATH
|
|
139
143
|
GEM
|
140
144
|
remote: https://rubygems.org/
|
141
145
|
specs:
|
142
|
-
actioncable (5.
|
143
|
-
actionpack (= 5.
|
144
|
-
nio4r (
|
146
|
+
actioncable (5.1.1)
|
147
|
+
actionpack (= 5.1.1)
|
148
|
+
nio4r (~> 2.0)
|
145
149
|
websocket-driver (~> 0.6.1)
|
146
|
-
actionmailer (5.
|
147
|
-
actionpack (= 5.
|
148
|
-
actionview (= 5.
|
149
|
-
activejob (= 5.
|
150
|
+
actionmailer (5.1.1)
|
151
|
+
actionpack (= 5.1.1)
|
152
|
+
actionview (= 5.1.1)
|
153
|
+
activejob (= 5.1.1)
|
150
154
|
mail (~> 2.5, >= 2.5.4)
|
151
155
|
rails-dom-testing (~> 2.0)
|
152
|
-
actionpack (5.
|
153
|
-
actionview (= 5.
|
154
|
-
activesupport (= 5.
|
156
|
+
actionpack (5.1.1)
|
157
|
+
actionview (= 5.1.1)
|
158
|
+
activesupport (= 5.1.1)
|
155
159
|
rack (~> 2.0)
|
156
160
|
rack-test (~> 0.6.3)
|
157
161
|
rails-dom-testing (~> 2.0)
|
158
162
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
159
|
-
actionview (5.
|
160
|
-
activesupport (= 5.
|
163
|
+
actionview (5.1.1)
|
164
|
+
activesupport (= 5.1.1)
|
161
165
|
builder (~> 3.1)
|
162
|
-
|
166
|
+
erubi (~> 1.4)
|
163
167
|
rails-dom-testing (~> 2.0)
|
164
168
|
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
165
169
|
active_link_to (1.0.4)
|
166
170
|
actionpack
|
167
171
|
addressable
|
168
|
-
activejob (5.
|
169
|
-
activesupport (= 5.
|
172
|
+
activejob (5.1.1)
|
173
|
+
activesupport (= 5.1.1)
|
170
174
|
globalid (>= 0.3.6)
|
171
|
-
activemodel (5.
|
172
|
-
activesupport (= 5.
|
173
|
-
activerecord (5.
|
174
|
-
activemodel (= 5.
|
175
|
-
activesupport (= 5.
|
176
|
-
arel (~>
|
177
|
-
activesupport (5.
|
175
|
+
activemodel (5.1.1)
|
176
|
+
activesupport (= 5.1.1)
|
177
|
+
activerecord (5.1.1)
|
178
|
+
activemodel (= 5.1.1)
|
179
|
+
activesupport (= 5.1.1)
|
180
|
+
arel (~> 8.0)
|
181
|
+
activesupport (5.1.1)
|
178
182
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
179
183
|
i18n (~> 0.7)
|
180
184
|
minitest (~> 5.1)
|
181
185
|
tzinfo (~> 1.1)
|
182
186
|
addressable (2.5.1)
|
183
187
|
public_suffix (~> 2.0, >= 2.0.2)
|
184
|
-
arel (
|
188
|
+
arel (8.0.0)
|
185
189
|
ast (2.3.0)
|
186
|
-
autoprefixer-rails (7.1.1)
|
190
|
+
autoprefixer-rails (7.1.1.2)
|
187
191
|
execjs
|
188
192
|
axiom-types (0.1.1)
|
189
193
|
descendants_tracker (~> 0.0.4)
|
@@ -197,7 +201,7 @@ GEM
|
|
197
201
|
builder (3.2.3)
|
198
202
|
byebug (9.0.6)
|
199
203
|
cancancan (2.0.0)
|
200
|
-
capybara (2.14.
|
204
|
+
capybara (2.14.3)
|
201
205
|
addressable
|
202
206
|
mime-types (>= 1.16)
|
203
207
|
nokogiri (>= 1.3.3)
|
@@ -256,6 +260,7 @@ GEM
|
|
256
260
|
thread
|
257
261
|
thread_safe
|
258
262
|
equalizer (0.0.11)
|
263
|
+
erubi (1.6.0)
|
259
264
|
erubis (2.7.0)
|
260
265
|
execjs (2.7.0)
|
261
266
|
factory_girl (4.8.0)
|
@@ -265,7 +270,7 @@ GEM
|
|
265
270
|
railties (>= 3.0.0)
|
266
271
|
faker (1.7.3)
|
267
272
|
i18n (~> 0.5)
|
268
|
-
faraday (0.
|
273
|
+
faraday (0.12.1)
|
269
274
|
multipart-post (>= 1.2, < 3)
|
270
275
|
ffi (1.9.18)
|
271
276
|
file_validators (2.1.0)
|
@@ -275,18 +280,18 @@ GEM
|
|
275
280
|
railties (>= 3.1.0)
|
276
281
|
sass (>= 3.3.0, < 3.5)
|
277
282
|
sprockets-es6 (>= 0.9.0)
|
278
|
-
foundation_rails_helper (3.0.0
|
279
|
-
actionpack (>= 4.1)
|
280
|
-
activemodel (>= 4.1)
|
281
|
-
activesupport (>= 4.1)
|
282
|
-
railties (>= 4.1)
|
283
|
+
foundation_rails_helper (3.0.0)
|
284
|
+
actionpack (>= 4.1, < 6.0)
|
285
|
+
activemodel (>= 4.1, < 6.0)
|
286
|
+
activesupport (>= 4.1, < 6.0)
|
287
|
+
railties (>= 4.1, < 6.0)
|
283
288
|
tzinfo (~> 1.2, >= 1.2.2)
|
284
289
|
geocoder (1.4.4)
|
285
290
|
globalid (0.4.0)
|
286
291
|
activesupport (>= 4.2.0)
|
287
292
|
graphiql-rails (1.4.1)
|
288
293
|
rails
|
289
|
-
graphql (1.6.
|
294
|
+
graphql (1.6.3)
|
290
295
|
hashdiff (0.3.4)
|
291
296
|
hashie (3.5.5)
|
292
297
|
high_voltage (3.0.0)
|
@@ -342,13 +347,13 @@ GEM
|
|
342
347
|
ruby_dep (~> 1.2)
|
343
348
|
loofah (2.0.3)
|
344
349
|
nokogiri (>= 1.5.9)
|
345
|
-
mail (2.6.
|
350
|
+
mail (2.6.6)
|
346
351
|
mime-types (>= 1.16, < 4)
|
347
352
|
method_source (0.8.2)
|
348
353
|
mime-types (3.1)
|
349
354
|
mime-types-data (~> 3.2015)
|
350
355
|
mime-types-data (3.2016.0521)
|
351
|
-
mini_magick (4.7.
|
356
|
+
mini_magick (4.7.1)
|
352
357
|
mini_portile2 (2.1.0)
|
353
358
|
minitest (5.10.2)
|
354
359
|
multi_json (1.12.1)
|
@@ -358,8 +363,8 @@ GEM
|
|
358
363
|
nokogiri (1.7.2)
|
359
364
|
mini_portile2 (~> 2.1.0)
|
360
365
|
oauth (0.5.3)
|
361
|
-
oauth2 (1.
|
362
|
-
faraday (>= 0.8, < 0.
|
366
|
+
oauth2 (1.4.0)
|
367
|
+
faraday (>= 0.8, < 0.13)
|
363
368
|
jwt (~> 1.0)
|
364
369
|
multi_json (~> 1.3)
|
365
370
|
multi_xml (~> 0.5)
|
@@ -384,7 +389,6 @@ GEM
|
|
384
389
|
omniauth-oauth (~> 1.1)
|
385
390
|
rack
|
386
391
|
orm_adapter (0.5.0)
|
387
|
-
parallel (1.11.2)
|
388
392
|
parser (2.4.0.0)
|
389
393
|
ast (~> 2.2)
|
390
394
|
pg (0.20.0)
|
@@ -401,21 +405,22 @@ GEM
|
|
401
405
|
actionmailer (>= 3, < 6)
|
402
406
|
premailer (~> 1.7, >= 1.7.9)
|
403
407
|
public_suffix (2.0.5)
|
408
|
+
puma (3.8.2)
|
404
409
|
rack (2.0.3)
|
405
410
|
rack-cors (0.4.1)
|
406
411
|
rack-test (0.6.3)
|
407
412
|
rack (>= 1.0)
|
408
|
-
rails (5.
|
409
|
-
actioncable (= 5.
|
410
|
-
actionmailer (= 5.
|
411
|
-
actionpack (= 5.
|
412
|
-
actionview (= 5.
|
413
|
-
activejob (= 5.
|
414
|
-
activemodel (= 5.
|
415
|
-
activerecord (= 5.
|
416
|
-
activesupport (= 5.
|
413
|
+
rails (5.1.1)
|
414
|
+
actioncable (= 5.1.1)
|
415
|
+
actionmailer (= 5.1.1)
|
416
|
+
actionpack (= 5.1.1)
|
417
|
+
actionview (= 5.1.1)
|
418
|
+
activejob (= 5.1.1)
|
419
|
+
activemodel (= 5.1.1)
|
420
|
+
activerecord (= 5.1.1)
|
421
|
+
activesupport (= 5.1.1)
|
417
422
|
bundler (>= 1.3.0, < 2.0)
|
418
|
-
railties (= 5.
|
423
|
+
railties (= 5.1.1)
|
419
424
|
sprockets-rails (>= 2.0.0)
|
420
425
|
rails-controller-testing (1.0.2)
|
421
426
|
actionpack (~> 5.x, >= 5.0.1)
|
@@ -429,9 +434,9 @@ GEM
|
|
429
434
|
rails-i18n (5.0.4)
|
430
435
|
i18n (~> 0.7)
|
431
436
|
railties (~> 5.0)
|
432
|
-
railties (5.
|
433
|
-
actionpack (= 5.
|
434
|
-
activesupport (= 5.
|
437
|
+
railties (5.1.1)
|
438
|
+
actionpack (= 5.1.1)
|
439
|
+
activesupport (= 5.1.1)
|
435
440
|
method_source
|
436
441
|
rake (>= 0.8.7)
|
437
442
|
thor (>= 0.18.1, < 2.0)
|
@@ -451,34 +456,33 @@ GEM
|
|
451
456
|
responders (2.4.0)
|
452
457
|
actionpack (>= 4.2.0, < 5.3)
|
453
458
|
railties (>= 4.2.0, < 5.3)
|
454
|
-
rspec (3.
|
455
|
-
rspec-core (~> 3.
|
456
|
-
rspec-expectations (~> 3.
|
457
|
-
rspec-mocks (~> 3.
|
458
|
-
rspec-core (3.
|
459
|
-
rspec-support (~> 3.
|
460
|
-
rspec-expectations (3.
|
459
|
+
rspec (3.5.0)
|
460
|
+
rspec-core (~> 3.5.0)
|
461
|
+
rspec-expectations (~> 3.5.0)
|
462
|
+
rspec-mocks (~> 3.5.0)
|
463
|
+
rspec-core (3.5.4)
|
464
|
+
rspec-support (~> 3.5.0)
|
465
|
+
rspec-expectations (3.5.0)
|
461
466
|
diff-lcs (>= 1.2.0, < 2.0)
|
462
|
-
rspec-support (~> 3.
|
467
|
+
rspec-support (~> 3.5.0)
|
463
468
|
rspec-html-matchers (0.9.1)
|
464
469
|
nokogiri (~> 1)
|
465
470
|
rspec (>= 3.0.0.a, < 4)
|
466
|
-
rspec-mocks (3.
|
471
|
+
rspec-mocks (3.5.0)
|
467
472
|
diff-lcs (>= 1.2.0, < 2.0)
|
468
|
-
rspec-support (~> 3.
|
469
|
-
rspec-rails (3.
|
473
|
+
rspec-support (~> 3.5.0)
|
474
|
+
rspec-rails (3.5.2)
|
470
475
|
actionpack (>= 3.0)
|
471
476
|
activesupport (>= 3.0)
|
472
477
|
railties (>= 3.0)
|
473
|
-
rspec-core (~> 3.
|
474
|
-
rspec-expectations (~> 3.
|
475
|
-
rspec-mocks (~> 3.
|
476
|
-
rspec-support (~> 3.
|
478
|
+
rspec-core (~> 3.5.0)
|
479
|
+
rspec-expectations (~> 3.5.0)
|
480
|
+
rspec-mocks (~> 3.5.0)
|
481
|
+
rspec-support (~> 3.5.0)
|
477
482
|
rspec-repeat (1.0.2)
|
478
483
|
rspec (~> 3.0)
|
479
|
-
rspec-support (3.
|
480
|
-
rubocop (0.
|
481
|
-
parallel (~> 1.10)
|
484
|
+
rspec-support (3.5.0)
|
485
|
+
rubocop (0.48.1)
|
482
486
|
parser (>= 2.3.3.1, < 3.0)
|
483
487
|
powerpack (~> 0.1)
|
484
488
|
rainbow (>= 1.99.1, < 3.0)
|
@@ -562,4 +566,4 @@ RUBY VERSION
|
|
562
566
|
ruby 2.4.1p111
|
563
567
|
|
564
568
|
BUNDLED WITH
|
565
|
-
1.15.
|
569
|
+
1.15.1
|