surveyor 0.18.2 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -1
- data/CHANGELOG +12 -0
- data/Rakefile +1 -0
- data/VERSION +1 -1
- data/app/helpers/surveyor_helper.rb +40 -22
- data/app/views/layouts/surveyor_default.html.erb +0 -1
- data/app/views/partials/_answer.html.haml +19 -58
- data/app/views/partials/_dependents.html.haml +5 -0
- data/app/views/partials/_question.html.haml +24 -72
- data/app/views/partials/_question_group.html.haml +30 -39
- data/app/views/partials/_section.html.haml +10 -11
- data/app/views/partials/_section_menu.html.haml +5 -0
- data/app/views/surveyor/edit.html.haml +13 -25
- data/app/views/surveyor/new.html.haml +6 -3
- data/features/{redcap.feature → redcap_parser.feature} +0 -0
- data/features/step_definitions/parser_steps.rb +71 -0
- data/features/step_definitions/surveyor_steps.rb +8 -78
- data/features/support/paths.rb +2 -0
- data/features/surveyor.feature +30 -168
- data/features/surveyor_parser.feature +157 -0
- data/generators/surveyor/surveyor_generator.rb +2 -1
- data/generators/surveyor/templates/assets/images/next.gif +0 -0
- data/generators/surveyor/templates/assets/images/prev.gif +0 -0
- data/generators/surveyor/templates/assets/javascripts/jquery.surveyor.js +46 -0
- data/generators/surveyor/templates/assets/javascripts/jquery.tools.min.js +204 -0
- data/generators/surveyor/templates/assets/stylesheets/dateinput.css +149 -0
- data/generators/surveyor/templates/assets/stylesheets/sass/surveyor.sass +84 -226
- data/generators/surveyor/templates/migrate/add_default_value_to_answers.rb +9 -0
- data/lib/formtastic/surveyor_builder.rb +83 -0
- data/lib/surveyor.rb +5 -0
- data/lib/surveyor/models/answer_methods.rb +8 -3
- data/lib/surveyor/models/question_group_methods.rb +1 -1
- data/lib/surveyor/models/question_methods.rb +6 -2
- data/lib/surveyor/models/response_methods.rb +2 -12
- data/lib/surveyor/models/response_set_methods.rb +25 -71
- data/lib/surveyor/surveyor_controller_methods.rb +29 -28
- data/lib/tasks/surveyor_tasks.rake +1 -15
- data/spec/controllers/surveyor_controller_spec.rb +40 -8
- data/spec/helpers/surveyor_helper_spec.rb +53 -0
- data/spec/models/answer_spec.rb +14 -9
- data/spec/models/dependency_condition_spec.rb +56 -61
- data/spec/models/question_group_spec.rb +3 -3
- data/spec/models/question_spec.rb +10 -0
- data/spec/models/response_set_spec.rb +72 -62
- data/surveyor.gemspec +21 -58
- data/testbed/Gemfile +1 -0
- metadata +34 -60
- data/app/helpers/survey_form_builder.rb +0 -37
- data/generators/surveyor/templates/assets/images/222222_11x11_icon_arrows_leftright.gif +0 -0
- data/generators/surveyor/templates/assets/images/222222_11x11_icon_arrows_updown.gif +0 -0
- data/generators/surveyor/templates/assets/images/222222_11x11_icon_close.gif +0 -0
- data/generators/surveyor/templates/assets/images/222222_11x11_icon_doc.gif +0 -0
- data/generators/surveyor/templates/assets/images/222222_11x11_icon_folder_closed.gif +0 -0
- data/generators/surveyor/templates/assets/images/222222_11x11_icon_folder_open.gif +0 -0
- data/generators/surveyor/templates/assets/images/222222_11x11_icon_minus.gif +0 -0
- data/generators/surveyor/templates/assets/images/222222_11x11_icon_plus.gif +0 -0
- data/generators/surveyor/templates/assets/images/222222_11x11_icon_resize_se.gif +0 -0
- data/generators/surveyor/templates/assets/images/222222_35x9_colorpicker_indicator.gif.gif +0 -0
- data/generators/surveyor/templates/assets/images/222222_7x7_arrow_down.gif +0 -0
- data/generators/surveyor/templates/assets/images/222222_7x7_arrow_left.gif +0 -0
- data/generators/surveyor/templates/assets/images/222222_7x7_arrow_right.gif +0 -0
- data/generators/surveyor/templates/assets/images/222222_7x7_arrow_up.gif +0 -0
- data/generators/surveyor/templates/assets/images/454545_11x11_icon_arrows_leftright.gif +0 -0
- data/generators/surveyor/templates/assets/images/454545_11x11_icon_arrows_updown.gif +0 -0
- data/generators/surveyor/templates/assets/images/454545_11x11_icon_close.gif +0 -0
- data/generators/surveyor/templates/assets/images/454545_11x11_icon_doc.gif +0 -0
- data/generators/surveyor/templates/assets/images/454545_11x11_icon_folder_closed.gif +0 -0
- data/generators/surveyor/templates/assets/images/454545_11x11_icon_folder_open.gif +0 -0
- data/generators/surveyor/templates/assets/images/454545_11x11_icon_minus.gif +0 -0
- data/generators/surveyor/templates/assets/images/454545_11x11_icon_plus.gif +0 -0
- data/generators/surveyor/templates/assets/images/454545_7x7_arrow_down.gif +0 -0
- data/generators/surveyor/templates/assets/images/454545_7x7_arrow_left.gif +0 -0
- data/generators/surveyor/templates/assets/images/454545_7x7_arrow_right.gif +0 -0
- data/generators/surveyor/templates/assets/images/454545_7x7_arrow_up.gif +0 -0
- data/generators/surveyor/templates/assets/images/888888_11x11_icon_arrows_leftright.gif +0 -0
- data/generators/surveyor/templates/assets/images/888888_11x11_icon_arrows_updown.gif +0 -0
- data/generators/surveyor/templates/assets/images/888888_11x11_icon_close.gif +0 -0
- data/generators/surveyor/templates/assets/images/888888_11x11_icon_doc.gif +0 -0
- data/generators/surveyor/templates/assets/images/888888_11x11_icon_folder_closed.gif +0 -0
- data/generators/surveyor/templates/assets/images/888888_11x11_icon_folder_open.gif +0 -0
- data/generators/surveyor/templates/assets/images/888888_11x11_icon_minus.gif +0 -0
- data/generators/surveyor/templates/assets/images/888888_11x11_icon_plus.gif +0 -0
- data/generators/surveyor/templates/assets/images/888888_7x7_arrow_down.gif +0 -0
- data/generators/surveyor/templates/assets/images/888888_7x7_arrow_left.gif +0 -0
- data/generators/surveyor/templates/assets/images/888888_7x7_arrow_right.gif +0 -0
- data/generators/surveyor/templates/assets/images/888888_7x7_arrow_up.gif +0 -0
- data/generators/surveyor/templates/assets/images/dadada_40x100_textures_02_glass_75.png +0 -0
- data/generators/surveyor/templates/assets/images/e6e6e6_40x100_textures_02_glass_75.png +0 -0
- data/generators/surveyor/templates/assets/images/ffffff_40x100_textures_01_flat_0.png +0 -0
- data/generators/surveyor/templates/assets/images/ffffff_40x100_textures_02_glass_65.png +0 -0
- data/generators/surveyor/templates/assets/javascripts/accessibleUISlider.jQuery.js +0 -201
- data/generators/surveyor/templates/assets/javascripts/jquery-1.2.6.js +0 -3549
- data/generators/surveyor/templates/assets/javascripts/jquery-ui-personalized-1.5.3.js +0 -7616
- data/generators/surveyor/templates/assets/javascripts/jquery.form.js +0 -637
- data/generators/surveyor/templates/assets/javascripts/surveyor.js +0 -40
- data/generators/surveyor/templates/assets/stylesheets/jquery-ui-slider-additions.css +0 -71
- data/generators/surveyor/templates/assets/stylesheets/ui.theme.css +0 -851
- data/spec/views/surveyor/show.html.haml_spec.rb +0 -32
- data/uninstall.rb +0 -1
There are too many changes on this page to be displayed.
The amount of changes on this page would crash your brower.
You can still verify the content by downloading the gem file manually.