├── .gitignore ├── .rvmrc ├── CHANGELOG ├── MIT-LICENSE ├── README.md ├── Rakefile ├── VERSION ├── app ├── controllers │ ├── results_controller.rb │ └── surveyor_controller.rb ├── helpers │ ├── results_helper.rb │ └── surveyor_helper.rb ├── models │ ├── answer.rb │ ├── dependency.rb │ ├── dependency_condition.rb │ ├── question.rb │ ├── question_group.rb │ ├── response.rb │ ├── response_set.rb │ ├── survey.rb │ ├── survey_section.rb │ ├── survey_section_sweeper.rb │ ├── validation.rb │ └── validation_condition.rb └── views │ ├── layouts │ ├── results.html.erb │ └── surveyor_default.html.erb │ ├── partials │ ├── _answer.html.haml │ ├── _dependents.html.haml │ ├── _question.html.haml │ ├── _question_group.html.haml │ ├── _section.html.haml │ └── _section_menu.html.haml │ ├── results │ ├── index.html.erb │ └── show.html.erb │ └── surveyor │ ├── edit.html.haml │ ├── new.html.haml │ └── show.html.haml ├── ci-env.sh ├── config └── routes.rb ├── features ├── redcap_parser.feature ├── step_definitions │ ├── parser_steps.rb │ ├── surveyor_steps.rb │ └── web_steps.rb ├── support │ ├── REDCapDemoDatabase_DataDictionary.csv │ ├── env.rb │ ├── paths.rb │ └── redcap_siblings.csv ├── surveyor.feature └── surveyor_parser.feature ├── generators ├── extend_surveyor │ ├── extend_surveyor_generator.rb │ └── templates │ │ ├── EXTENDING_SURVEYOR │ │ └── extensions │ │ ├── surveyor_controller.rb │ │ └── surveyor_custom.html.erb └── surveyor │ ├── surveyor_generator.rb │ └── templates │ ├── README │ ├── assets │ ├── images │ │ ├── next.gif │ │ └── prev.gif │ ├── javascripts │ │ ├── jquery.surveyor.js │ │ └── jquery.tools.min.js │ └── stylesheets │ │ ├── dateinput.css │ │ ├── reset.css │ │ ├── results.css │ │ └── sass │ │ └── surveyor.sass │ ├── locales │ ├── surveyor_en.yml │ ├── surveyor_es.yml │ └── surveyor_he.yml │ ├── migrate │ ├── add_correct_answer_id_to_questions.rb │ ├── add_default_value_to_answers.rb │ ├── add_display_order_to_surveys.rb │ ├── add_index_to_response_sets.rb │ ├── add_index_to_surveys.rb │ ├── add_section_id_to_responses.rb │ ├── add_unique_indicies.rb │ ├── create_answers.rb │ ├── create_dependencies.rb │ ├── create_dependency_conditions.rb │ ├── create_question_groups.rb │ ├── create_questions.rb │ ├── create_response_sets.rb │ ├── create_responses.rb │ ├── create_survey_sections.rb │ ├── create_surveys.rb │ ├── create_validation_conditions.rb │ └── create_validations.rb │ ├── surveys │ ├── kitchen_sink_survey.rb │ └── quiz.rb │ └── tasks │ └── surveyor.rb ├── hudson.rakefile ├── init_testbed.rakefile ├── lib ├── formtastic │ └── surveyor_builder.rb ├── surveyor.rb ├── surveyor │ ├── acts_as_response.rb │ ├── common.rb │ ├── models │ │ ├── answer_methods.rb │ │ ├── dependency_condition_methods.rb │ │ ├── dependency_methods.rb │ │ ├── question_group_methods.rb │ │ ├── question_methods.rb │ │ ├── response_methods.rb │ │ ├── response_set_methods.rb │ │ ├── survey_methods.rb │ │ ├── survey_section_methods.rb │ │ ├── validation_condition_methods.rb │ │ └── validation_methods.rb │ ├── parser.rb │ ├── redcap_parser.rb │ ├── surveyor_controller_methods.rb │ └── unparser.rb └── tasks │ └── surveyor_tasks.rake ├── rails └── init.rb ├── spec ├── controllers │ └── surveyor_controller_spec.rb ├── factories.rb ├── helpers │ └── surveyor_helper_spec.rb ├── lib │ ├── common_spec.rb │ ├── parser_spec.rb │ ├── redcap_parser_spec.rb │ └── unparser_spec.rb ├── models │ ├── answer_spec.rb │ ├── dependency_condition_spec.rb │ ├── dependency_spec.rb │ ├── question_group_spec.rb │ ├── question_spec.rb │ ├── response_set_spec.rb │ ├── response_spec.rb │ ├── survey_section_spec.rb │ ├── survey_spec.rb │ ├── validation_condition_spec.rb │ └── validation_spec.rb ├── rcov.opts ├── spec.opts └── spec_helper.rb ├── surveyor.gemspec └── testbed └── Gemfile /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/.gitignore -------------------------------------------------------------------------------- /.rvmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/.rvmrc -------------------------------------------------------------------------------- /CHANGELOG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/CHANGELOG -------------------------------------------------------------------------------- /MIT-LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/MIT-LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/Rakefile -------------------------------------------------------------------------------- /VERSION: -------------------------------------------------------------------------------- 1 | 0.19.3 2 | -------------------------------------------------------------------------------- /app/controllers/results_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/app/controllers/results_controller.rb -------------------------------------------------------------------------------- /app/controllers/surveyor_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/app/controllers/surveyor_controller.rb -------------------------------------------------------------------------------- /app/helpers/results_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/app/helpers/results_helper.rb -------------------------------------------------------------------------------- /app/helpers/surveyor_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/app/helpers/surveyor_helper.rb -------------------------------------------------------------------------------- /app/models/answer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/app/models/answer.rb -------------------------------------------------------------------------------- /app/models/dependency.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/app/models/dependency.rb -------------------------------------------------------------------------------- /app/models/dependency_condition.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/app/models/dependency_condition.rb -------------------------------------------------------------------------------- /app/models/question.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/app/models/question.rb -------------------------------------------------------------------------------- /app/models/question_group.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/app/models/question_group.rb -------------------------------------------------------------------------------- /app/models/response.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/app/models/response.rb -------------------------------------------------------------------------------- /app/models/response_set.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/app/models/response_set.rb -------------------------------------------------------------------------------- /app/models/survey.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/app/models/survey.rb -------------------------------------------------------------------------------- /app/models/survey_section.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/app/models/survey_section.rb -------------------------------------------------------------------------------- /app/models/survey_section_sweeper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/app/models/survey_section_sweeper.rb -------------------------------------------------------------------------------- /app/models/validation.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/app/models/validation.rb -------------------------------------------------------------------------------- /app/models/validation_condition.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/app/models/validation_condition.rb -------------------------------------------------------------------------------- /app/views/layouts/results.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/app/views/layouts/results.html.erb -------------------------------------------------------------------------------- /app/views/layouts/surveyor_default.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/app/views/layouts/surveyor_default.html.erb -------------------------------------------------------------------------------- /app/views/partials/_answer.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/app/views/partials/_answer.html.haml -------------------------------------------------------------------------------- /app/views/partials/_dependents.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/app/views/partials/_dependents.html.haml -------------------------------------------------------------------------------- /app/views/partials/_question.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/app/views/partials/_question.html.haml -------------------------------------------------------------------------------- /app/views/partials/_question_group.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/app/views/partials/_question_group.html.haml -------------------------------------------------------------------------------- /app/views/partials/_section.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/app/views/partials/_section.html.haml -------------------------------------------------------------------------------- /app/views/partials/_section_menu.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/app/views/partials/_section_menu.html.haml -------------------------------------------------------------------------------- /app/views/results/index.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/app/views/results/index.html.erb -------------------------------------------------------------------------------- /app/views/results/show.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/app/views/results/show.html.erb -------------------------------------------------------------------------------- /app/views/surveyor/edit.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/app/views/surveyor/edit.html.haml -------------------------------------------------------------------------------- /app/views/surveyor/new.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/app/views/surveyor/new.html.haml -------------------------------------------------------------------------------- /app/views/surveyor/show.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/app/views/surveyor/show.html.haml -------------------------------------------------------------------------------- /ci-env.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/ci-env.sh -------------------------------------------------------------------------------- /config/routes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/config/routes.rb -------------------------------------------------------------------------------- /features/redcap_parser.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/features/redcap_parser.feature -------------------------------------------------------------------------------- /features/step_definitions/parser_steps.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/features/step_definitions/parser_steps.rb -------------------------------------------------------------------------------- /features/step_definitions/surveyor_steps.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/features/step_definitions/surveyor_steps.rb -------------------------------------------------------------------------------- /features/step_definitions/web_steps.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/features/step_definitions/web_steps.rb -------------------------------------------------------------------------------- /features/support/REDCapDemoDatabase_DataDictionary.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/features/support/REDCapDemoDatabase_DataDictionary.csv -------------------------------------------------------------------------------- /features/support/env.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/features/support/env.rb -------------------------------------------------------------------------------- /features/support/paths.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/features/support/paths.rb -------------------------------------------------------------------------------- /features/support/redcap_siblings.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/features/support/redcap_siblings.csv -------------------------------------------------------------------------------- /features/surveyor.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/features/surveyor.feature -------------------------------------------------------------------------------- /features/surveyor_parser.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/features/surveyor_parser.feature -------------------------------------------------------------------------------- /generators/extend_surveyor/extend_surveyor_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/extend_surveyor/extend_surveyor_generator.rb -------------------------------------------------------------------------------- /generators/extend_surveyor/templates/EXTENDING_SURVEYOR: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/extend_surveyor/templates/EXTENDING_SURVEYOR -------------------------------------------------------------------------------- /generators/extend_surveyor/templates/extensions/surveyor_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/extend_surveyor/templates/extensions/surveyor_controller.rb -------------------------------------------------------------------------------- /generators/extend_surveyor/templates/extensions/surveyor_custom.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/extend_surveyor/templates/extensions/surveyor_custom.html.erb -------------------------------------------------------------------------------- /generators/surveyor/surveyor_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/surveyor_generator.rb -------------------------------------------------------------------------------- /generators/surveyor/templates/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/templates/README -------------------------------------------------------------------------------- /generators/surveyor/templates/assets/images/next.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/templates/assets/images/next.gif -------------------------------------------------------------------------------- /generators/surveyor/templates/assets/images/prev.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/templates/assets/images/prev.gif -------------------------------------------------------------------------------- /generators/surveyor/templates/assets/javascripts/jquery.surveyor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/templates/assets/javascripts/jquery.surveyor.js -------------------------------------------------------------------------------- /generators/surveyor/templates/assets/javascripts/jquery.tools.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/templates/assets/javascripts/jquery.tools.min.js -------------------------------------------------------------------------------- /generators/surveyor/templates/assets/stylesheets/dateinput.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/templates/assets/stylesheets/dateinput.css -------------------------------------------------------------------------------- /generators/surveyor/templates/assets/stylesheets/reset.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/templates/assets/stylesheets/reset.css -------------------------------------------------------------------------------- /generators/surveyor/templates/assets/stylesheets/results.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/templates/assets/stylesheets/results.css -------------------------------------------------------------------------------- /generators/surveyor/templates/assets/stylesheets/sass/surveyor.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/templates/assets/stylesheets/sass/surveyor.sass -------------------------------------------------------------------------------- /generators/surveyor/templates/locales/surveyor_en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/templates/locales/surveyor_en.yml -------------------------------------------------------------------------------- /generators/surveyor/templates/locales/surveyor_es.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/templates/locales/surveyor_es.yml -------------------------------------------------------------------------------- /generators/surveyor/templates/locales/surveyor_he.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/templates/locales/surveyor_he.yml -------------------------------------------------------------------------------- /generators/surveyor/templates/migrate/add_correct_answer_id_to_questions.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/templates/migrate/add_correct_answer_id_to_questions.rb -------------------------------------------------------------------------------- /generators/surveyor/templates/migrate/add_default_value_to_answers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/templates/migrate/add_default_value_to_answers.rb -------------------------------------------------------------------------------- /generators/surveyor/templates/migrate/add_display_order_to_surveys.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/templates/migrate/add_display_order_to_surveys.rb -------------------------------------------------------------------------------- /generators/surveyor/templates/migrate/add_index_to_response_sets.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/templates/migrate/add_index_to_response_sets.rb -------------------------------------------------------------------------------- /generators/surveyor/templates/migrate/add_index_to_surveys.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/templates/migrate/add_index_to_surveys.rb -------------------------------------------------------------------------------- /generators/surveyor/templates/migrate/add_section_id_to_responses.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/templates/migrate/add_section_id_to_responses.rb -------------------------------------------------------------------------------- /generators/surveyor/templates/migrate/add_unique_indicies.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/templates/migrate/add_unique_indicies.rb -------------------------------------------------------------------------------- /generators/surveyor/templates/migrate/create_answers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/templates/migrate/create_answers.rb -------------------------------------------------------------------------------- /generators/surveyor/templates/migrate/create_dependencies.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/templates/migrate/create_dependencies.rb -------------------------------------------------------------------------------- /generators/surveyor/templates/migrate/create_dependency_conditions.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/templates/migrate/create_dependency_conditions.rb -------------------------------------------------------------------------------- /generators/surveyor/templates/migrate/create_question_groups.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/templates/migrate/create_question_groups.rb -------------------------------------------------------------------------------- /generators/surveyor/templates/migrate/create_questions.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/templates/migrate/create_questions.rb -------------------------------------------------------------------------------- /generators/surveyor/templates/migrate/create_response_sets.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/templates/migrate/create_response_sets.rb -------------------------------------------------------------------------------- /generators/surveyor/templates/migrate/create_responses.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/templates/migrate/create_responses.rb -------------------------------------------------------------------------------- /generators/surveyor/templates/migrate/create_survey_sections.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/templates/migrate/create_survey_sections.rb -------------------------------------------------------------------------------- /generators/surveyor/templates/migrate/create_surveys.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/templates/migrate/create_surveys.rb -------------------------------------------------------------------------------- /generators/surveyor/templates/migrate/create_validation_conditions.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/templates/migrate/create_validation_conditions.rb -------------------------------------------------------------------------------- /generators/surveyor/templates/migrate/create_validations.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/templates/migrate/create_validations.rb -------------------------------------------------------------------------------- /generators/surveyor/templates/surveys/kitchen_sink_survey.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/templates/surveys/kitchen_sink_survey.rb -------------------------------------------------------------------------------- /generators/surveyor/templates/surveys/quiz.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/templates/surveys/quiz.rb -------------------------------------------------------------------------------- /generators/surveyor/templates/tasks/surveyor.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/generators/surveyor/templates/tasks/surveyor.rb -------------------------------------------------------------------------------- /hudson.rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/hudson.rakefile -------------------------------------------------------------------------------- /init_testbed.rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/init_testbed.rakefile -------------------------------------------------------------------------------- /lib/formtastic/surveyor_builder.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/lib/formtastic/surveyor_builder.rb -------------------------------------------------------------------------------- /lib/surveyor.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/lib/surveyor.rb -------------------------------------------------------------------------------- /lib/surveyor/acts_as_response.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/lib/surveyor/acts_as_response.rb -------------------------------------------------------------------------------- /lib/surveyor/common.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/lib/surveyor/common.rb -------------------------------------------------------------------------------- /lib/surveyor/models/answer_methods.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/lib/surveyor/models/answer_methods.rb -------------------------------------------------------------------------------- /lib/surveyor/models/dependency_condition_methods.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/lib/surveyor/models/dependency_condition_methods.rb -------------------------------------------------------------------------------- /lib/surveyor/models/dependency_methods.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/lib/surveyor/models/dependency_methods.rb -------------------------------------------------------------------------------- /lib/surveyor/models/question_group_methods.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/lib/surveyor/models/question_group_methods.rb -------------------------------------------------------------------------------- /lib/surveyor/models/question_methods.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/lib/surveyor/models/question_methods.rb -------------------------------------------------------------------------------- /lib/surveyor/models/response_methods.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/lib/surveyor/models/response_methods.rb -------------------------------------------------------------------------------- /lib/surveyor/models/response_set_methods.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/lib/surveyor/models/response_set_methods.rb -------------------------------------------------------------------------------- /lib/surveyor/models/survey_methods.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/lib/surveyor/models/survey_methods.rb -------------------------------------------------------------------------------- /lib/surveyor/models/survey_section_methods.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/lib/surveyor/models/survey_section_methods.rb -------------------------------------------------------------------------------- /lib/surveyor/models/validation_condition_methods.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/lib/surveyor/models/validation_condition_methods.rb -------------------------------------------------------------------------------- /lib/surveyor/models/validation_methods.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/lib/surveyor/models/validation_methods.rb -------------------------------------------------------------------------------- /lib/surveyor/parser.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/lib/surveyor/parser.rb -------------------------------------------------------------------------------- /lib/surveyor/redcap_parser.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/lib/surveyor/redcap_parser.rb -------------------------------------------------------------------------------- /lib/surveyor/surveyor_controller_methods.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/lib/surveyor/surveyor_controller_methods.rb -------------------------------------------------------------------------------- /lib/surveyor/unparser.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/lib/surveyor/unparser.rb -------------------------------------------------------------------------------- /lib/tasks/surveyor_tasks.rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/lib/tasks/surveyor_tasks.rake -------------------------------------------------------------------------------- /rails/init.rb: -------------------------------------------------------------------------------- 1 | # For Rails 2.3 gem engine to work 2 | require 'surveyor' -------------------------------------------------------------------------------- /spec/controllers/surveyor_controller_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/spec/controllers/surveyor_controller_spec.rb -------------------------------------------------------------------------------- /spec/factories.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/spec/factories.rb -------------------------------------------------------------------------------- /spec/helpers/surveyor_helper_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/spec/helpers/surveyor_helper_spec.rb -------------------------------------------------------------------------------- /spec/lib/common_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/spec/lib/common_spec.rb -------------------------------------------------------------------------------- /spec/lib/parser_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/spec/lib/parser_spec.rb -------------------------------------------------------------------------------- /spec/lib/redcap_parser_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/spec/lib/redcap_parser_spec.rb -------------------------------------------------------------------------------- /spec/lib/unparser_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/spec/lib/unparser_spec.rb -------------------------------------------------------------------------------- /spec/models/answer_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/spec/models/answer_spec.rb -------------------------------------------------------------------------------- /spec/models/dependency_condition_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/spec/models/dependency_condition_spec.rb -------------------------------------------------------------------------------- /spec/models/dependency_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/spec/models/dependency_spec.rb -------------------------------------------------------------------------------- /spec/models/question_group_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/spec/models/question_group_spec.rb -------------------------------------------------------------------------------- /spec/models/question_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/spec/models/question_spec.rb -------------------------------------------------------------------------------- /spec/models/response_set_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/spec/models/response_set_spec.rb -------------------------------------------------------------------------------- /spec/models/response_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/spec/models/response_spec.rb -------------------------------------------------------------------------------- /spec/models/survey_section_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/spec/models/survey_section_spec.rb -------------------------------------------------------------------------------- /spec/models/survey_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/spec/models/survey_spec.rb -------------------------------------------------------------------------------- /spec/models/validation_condition_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/spec/models/validation_condition_spec.rb -------------------------------------------------------------------------------- /spec/models/validation_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/spec/models/validation_spec.rb -------------------------------------------------------------------------------- /spec/rcov.opts: -------------------------------------------------------------------------------- 1 | --exclude "spec/*,gems/*" 2 | --rails -------------------------------------------------------------------------------- /spec/spec.opts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/spec/spec.opts -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /surveyor.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/surveyor.gemspec -------------------------------------------------------------------------------- /testbed/Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brian-lc/surveyor/HEAD/testbed/Gemfile --------------------------------------------------------------------------------