hssc_surveyor 1.4.1.pre

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (212) hide show
  1. data/.gitignore +28 -0
  2. data/.rspec +1 -0
  3. data/CHANGELOG.md +198 -0
  4. data/Gemfile +5 -0
  5. data/Gemfile.rails_version +19 -0
  6. data/MIT-LICENSE +20 -0
  7. data/README.md +186 -0
  8. data/Rakefile +105 -0
  9. data/app/controllers/surveyor_controller.rb +6 -0
  10. data/app/helpers/results_helper.rb +20 -0
  11. data/app/helpers/survey_form_builder.rb +37 -0
  12. data/app/helpers/surveyor_helper.rb +3 -0
  13. data/app/inputs/quiet_input.rb +5 -0
  14. data/app/inputs/surveyor_check_boxes_input.rb +35 -0
  15. data/app/inputs/surveyor_radio_input.rb +18 -0
  16. data/app/models/answer.rb +4 -0
  17. data/app/models/dependency.rb +4 -0
  18. data/app/models/dependency_condition.rb +4 -0
  19. data/app/models/question.rb +4 -0
  20. data/app/models/question_group.rb +5 -0
  21. data/app/models/response.rb +5 -0
  22. data/app/models/response_set.rb +4 -0
  23. data/app/models/survey.rb +4 -0
  24. data/app/models/survey_section.rb +5 -0
  25. data/app/models/survey_section_sweeper.rb +15 -0
  26. data/app/models/survey_translation.rb +5 -0
  27. data/app/models/validation.rb +4 -0
  28. data/app/models/validation_condition.rb +4 -0
  29. data/app/views/layouts/results.html.erb +13 -0
  30. data/app/views/layouts/surveyor_default.html.erb +12 -0
  31. data/app/views/partials/_answer.html.haml +25 -0
  32. data/app/views/partials/_dependents.html.haml +5 -0
  33. data/app/views/partials/_question.html.haml +41 -0
  34. data/app/views/partials/_question_group.html.haml +44 -0
  35. data/app/views/partials/_section.html.haml +12 -0
  36. data/app/views/partials/_section_menu.html.haml +12 -0
  37. data/app/views/surveyor/edit.html.haml +24 -0
  38. data/app/views/surveyor/export.json.rabl +85 -0
  39. data/app/views/surveyor/new.html.haml +24 -0
  40. data/app/views/surveyor/show.html.haml +74 -0
  41. data/app/views/surveyor/show.json.rabl +15 -0
  42. data/ci-exec.sh +56 -0
  43. data/config/routes.rb +8 -0
  44. data/cucumber.yml +10 -0
  45. data/doc/REPRESENTATIONS.md +34 -0
  46. data/doc/api_id_schema.json +7 -0
  47. data/doc/question types.png +0 -0
  48. data/doc/response_set_schema.json +54 -0
  49. data/doc/surveyor question combinations.png +0 -0
  50. data/doc/surveyor reject or delete decision matrix.png +0 -0
  51. data/doc/surveyor_models.png +0 -0
  52. data/doc/surveyor_models2.png +0 -0
  53. data/doc/surveyor_timestamp_schema.json +9 -0
  54. data/features/ajax_submissions.feature +140 -0
  55. data/features/export_to_json.feature +344 -0
  56. data/features/internationalization.feature +121 -0
  57. data/features/no_duplicates.feature +110 -0
  58. data/features/show_survey.feature +71 -0
  59. data/features/step_definitions/parser_steps.rb +145 -0
  60. data/features/step_definitions/surveyor_steps.rb +325 -0
  61. data/features/step_definitions/ui_steps.rb +25 -0
  62. data/features/step_definitions/web_steps.rb +225 -0
  63. data/features/support/REDCapDemoDatabase_DataDictionary.csv +127 -0
  64. data/features/support/database_cleaner.rb +16 -0
  65. data/features/support/env.rb +56 -0
  66. data/features/support/hooks.rb +4 -0
  67. data/features/support/paths.rb +39 -0
  68. data/features/support/redcap_new_headers.csv +1 -0
  69. data/features/support/redcap_siblings.csv +1 -0
  70. data/features/support/redcap_whitespace.csv +1 -0
  71. data/features/support/selectors.rb +39 -0
  72. data/features/support/simultaneous_ajax.rb +101 -0
  73. data/features/support/single_quit_selenium_driver.rb +23 -0
  74. data/features/support/slow_updates.rb +18 -0
  75. data/features/surveyor.feature +895 -0
  76. data/features/surveyor_dependencies.feature +476 -0
  77. data/features/surveyor_parser.feature +504 -0
  78. data/features/z_redcap_parser.feature +62 -0
  79. data/lib/assets/images/surveyor/next.gif +0 -0
  80. data/lib/assets/images/surveyor/prev.gif +0 -0
  81. data/lib/assets/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  82. data/lib/assets/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  83. data/lib/assets/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  84. data/lib/assets/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  85. data/lib/assets/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  86. data/lib/assets/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  87. data/lib/assets/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  88. data/lib/assets/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  89. data/lib/assets/images/ui-icons_222222_256x240.png +0 -0
  90. data/lib/assets/images/ui-icons_2e83ff_256x240.png +0 -0
  91. data/lib/assets/images/ui-icons_454545_256x240.png +0 -0
  92. data/lib/assets/images/ui-icons_888888_256x240.png +0 -0
  93. data/lib/assets/images/ui-icons_cd0a0a_256x240.png +0 -0
  94. data/lib/assets/javascripts/surveyor/jquery-1.9.0.js +9555 -0
  95. data/lib/assets/javascripts/surveyor/jquery-ui-1.10.0.custom.js +14850 -0
  96. data/lib/assets/javascripts/surveyor/jquery-ui-timepicker-addon.js +1919 -0
  97. data/lib/assets/javascripts/surveyor/jquery.maskedinput.js +338 -0
  98. data/lib/assets/javascripts/surveyor/jquery.selectToUISlider.js +240 -0
  99. data/lib/assets/javascripts/surveyor/jquery.surveyor.js +156 -0
  100. data/lib/assets/stylesheets/surveyor/jquery-ui-1.10.0.custom.css +1174 -0
  101. data/lib/assets/stylesheets/surveyor/jquery-ui-timepicker-addon.css +11 -0
  102. data/lib/assets/stylesheets/surveyor/reset.css +48 -0
  103. data/lib/assets/stylesheets/surveyor/results.css +125 -0
  104. data/lib/assets/stylesheets/surveyor/ui.slider.extras.css +110 -0
  105. data/lib/assets/stylesheets/surveyor.sass +132 -0
  106. data/lib/generators/surveyor/custom_generator.rb +18 -0
  107. data/lib/generators/surveyor/install_generator.rb +102 -0
  108. data/lib/generators/surveyor/templates/app/assets/javascripts/surveyor_all.js +6 -0
  109. data/lib/generators/surveyor/templates/app/assets/stylesheets/surveyor_all.css +9 -0
  110. data/lib/generators/surveyor/templates/app/controllers/surveyor_controller.rb +40 -0
  111. data/lib/generators/surveyor/templates/app/views/layouts/surveyor_custom.html.erb +13 -0
  112. data/lib/generators/surveyor/templates/config/locales/surveyor_en.yml +19 -0
  113. data/lib/generators/surveyor/templates/config/locales/surveyor_es.yml +19 -0
  114. data/lib/generators/surveyor/templates/config/locales/surveyor_he.yml +19 -0
  115. data/lib/generators/surveyor/templates/config/locales/surveyor_ko.yml +19 -0
  116. data/lib/generators/surveyor/templates/db/migrate/add_api_id_to_question_groups.rb +10 -0
  117. data/lib/generators/surveyor/templates/db/migrate/add_api_ids.rb +14 -0
  118. data/lib/generators/surveyor/templates/db/migrate/add_api_ids_to_response_sets_and_responses.rb +12 -0
  119. data/lib/generators/surveyor/templates/db/migrate/add_attachment_to_response.rb +5 -0
  120. data/lib/generators/surveyor/templates/db/migrate/add_correct_answer_id_to_questions.rb +10 -0
  121. data/lib/generators/surveyor/templates/db/migrate/add_default_value_to_answers.rb +10 -0
  122. data/lib/generators/surveyor/templates/db/migrate/add_display_order_to_surveys.rb +10 -0
  123. data/lib/generators/surveyor/templates/db/migrate/add_display_type_to_answers.rb +14 -0
  124. data/lib/generators/surveyor/templates/db/migrate/add_index_to_response_sets.rb +10 -0
  125. data/lib/generators/surveyor/templates/db/migrate/add_index_to_surveys.rb +10 -0
  126. data/lib/generators/surveyor/templates/db/migrate/add_input_mask_attributes_to_answer.rb +12 -0
  127. data/lib/generators/surveyor/templates/db/migrate/add_section_id_to_responses.rb +12 -0
  128. data/lib/generators/surveyor/templates/db/migrate/add_unique_index_on_access_code_and_version_in_surveys.rb +10 -0
  129. data/lib/generators/surveyor/templates/db/migrate/add_unique_indicies.rb +18 -0
  130. data/lib/generators/surveyor/templates/db/migrate/add_version_to_surveys.rb +10 -0
  131. data/lib/generators/surveyor/templates/db/migrate/api_ids_must_be_unique.rb +23 -0
  132. data/lib/generators/surveyor/templates/db/migrate/create_answers.rb +38 -0
  133. data/lib/generators/surveyor/templates/db/migrate/create_dependencies.rb +23 -0
  134. data/lib/generators/surveyor/templates/db/migrate/create_dependency_conditions.rb +30 -0
  135. data/lib/generators/surveyor/templates/db/migrate/create_question_groups.rb +28 -0
  136. data/lib/generators/surveyor/templates/db/migrate/create_questions.rb +37 -0
  137. data/lib/generators/surveyor/templates/db/migrate/create_response_sets.rb +23 -0
  138. data/lib/generators/surveyor/templates/db/migrate/create_responses.rb +34 -0
  139. data/lib/generators/surveyor/templates/db/migrate/create_survey_sections.rb +30 -0
  140. data/lib/generators/surveyor/templates/db/migrate/create_survey_translations.rb +19 -0
  141. data/lib/generators/surveyor/templates/db/migrate/create_surveys.rb +32 -0
  142. data/lib/generators/surveyor/templates/db/migrate/create_validation_conditions.rb +33 -0
  143. data/lib/generators/surveyor/templates/db/migrate/create_validations.rb +21 -0
  144. data/lib/generators/surveyor/templates/db/migrate/drop_unique_index_on_access_code_in_surveys.rb +10 -0
  145. data/lib/generators/surveyor/templates/db/migrate/update_blank_api_ids_on_question_group.rb +22 -0
  146. data/lib/generators/surveyor/templates/db/migrate/update_blank_versions_on_surveys.rb +13 -0
  147. data/lib/generators/surveyor/templates/surveys/EXTENDING_SURVEYOR.md +52 -0
  148. data/lib/generators/surveyor/templates/surveys/MODIFYING_SURVEYOR.md +91 -0
  149. data/lib/generators/surveyor/templates/surveys/date_survey.rb +16 -0
  150. data/lib/generators/surveyor/templates/surveys/kitchen_sink_survey.rb +284 -0
  151. data/lib/generators/surveyor/templates/surveys/languages.rb +14 -0
  152. data/lib/generators/surveyor/templates/surveys/quiz.rb +11 -0
  153. data/lib/generators/surveyor/templates/surveys/translations/languages.es.yml +18 -0
  154. data/lib/generators/surveyor/templates/surveys/translations/languages.he.yml +18 -0
  155. data/lib/generators/surveyor/templates/surveys/translations/languages.ko.yml +18 -0
  156. data/lib/generators/surveyor/templates/vendor/assets/stylesheets/custom.sass +5 -0
  157. data/lib/surveyor/acts_as_response.rb +17 -0
  158. data/lib/surveyor/common.rb +59 -0
  159. data/lib/surveyor/engine.rb +10 -0
  160. data/lib/surveyor/helpers/asset_pipeline.rb +13 -0
  161. data/lib/surveyor/helpers/formtastic_custom_input.rb +13 -0
  162. data/lib/surveyor/helpers/surveyor_helper_methods.rb +103 -0
  163. data/lib/surveyor/models/answer_methods.rb +86 -0
  164. data/lib/surveyor/models/dependency_condition_methods.rb +72 -0
  165. data/lib/surveyor/models/dependency_methods.rb +60 -0
  166. data/lib/surveyor/models/question_group_methods.rb +61 -0
  167. data/lib/surveyor/models/question_methods.rb +115 -0
  168. data/lib/surveyor/models/response_methods.rb +132 -0
  169. data/lib/surveyor/models/response_set_methods.rb +196 -0
  170. data/lib/surveyor/models/survey_methods.rb +103 -0
  171. data/lib/surveyor/models/survey_section_methods.rb +56 -0
  172. data/lib/surveyor/models/survey_translation_methods.rb +33 -0
  173. data/lib/surveyor/models/validation_condition_methods.rb +56 -0
  174. data/lib/surveyor/models/validation_methods.rb +48 -0
  175. data/lib/surveyor/mustache_context.rb +11 -0
  176. data/lib/surveyor/parser.rb +428 -0
  177. data/lib/surveyor/redcap_parser.rb +289 -0
  178. data/lib/surveyor/surveyor_controller_methods.rb +237 -0
  179. data/lib/surveyor/unparser.rb +147 -0
  180. data/lib/surveyor/version.rb +3 -0
  181. data/lib/surveyor.rb +13 -0
  182. data/lib/tasks/surveyor_tasks.rake +88 -0
  183. data/rails/init.rb +1 -0
  184. data/spec/controllers/surveyor_controller_spec.rb +307 -0
  185. data/spec/factories.rb +161 -0
  186. data/spec/helpers/formtastic_custom_input_spec.rb +15 -0
  187. data/spec/helpers/surveyor_helper_spec.rb +118 -0
  188. data/spec/lib/benchmark_spec.rb +22 -0
  189. data/spec/lib/chinese_survey.rb +14 -0
  190. data/spec/lib/common_spec.rb +34 -0
  191. data/spec/lib/parser_spec.rb +204 -0
  192. data/spec/lib/rake_kitchen_sink.rb +40 -0
  193. data/spec/lib/redcap_parser_spec.rb +75 -0
  194. data/spec/lib/tasks_spec.rake +26 -0
  195. data/spec/lib/unparser_spec.rb +126 -0
  196. data/spec/models/answer_spec.rb +175 -0
  197. data/spec/models/dependency_condition_spec.rb +439 -0
  198. data/spec/models/dependency_spec.rb +101 -0
  199. data/spec/models/question_group_spec.rb +93 -0
  200. data/spec/models/question_spec.rb +207 -0
  201. data/spec/models/response_set_spec.rb +477 -0
  202. data/spec/models/response_spec.rb +218 -0
  203. data/spec/models/survey_section_spec.rb +85 -0
  204. data/spec/models/survey_spec.rb +191 -0
  205. data/spec/models/validation_condition_spec.rb +113 -0
  206. data/spec/models/validation_spec.rb +74 -0
  207. data/spec/rcov.opts +2 -0
  208. data/spec/spec.opts +4 -0
  209. data/spec/spec_helper.rb +56 -0
  210. data/stacktests.sh +65 -0
  211. data/surveyor.gemspec +45 -0
  212. metadata +657 -0
metadata ADDED
@@ -0,0 +1,657 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: hssc_surveyor
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.4.1.pre
5
+ prerelease: 6
6
+ platform: ruby
7
+ authors:
8
+ - Andrew Cates
9
+ - Brian Chamberlain
10
+ - Mark Yoon
11
+ autorequire:
12
+ bindir: bin
13
+ cert_chain: []
14
+ date: 2013-08-19 00:00:00.000000000 Z
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: rails
18
+ requirement: !ruby/object:Gem::Requirement
19
+ none: false
20
+ requirements:
21
+ - - ~>
22
+ - !ruby/object:Gem::Version
23
+ version: '3.0'
24
+ type: :runtime
25
+ prerelease: false
26
+ version_requirements: !ruby/object:Gem::Requirement
27
+ none: false
28
+ requirements:
29
+ - - ~>
30
+ - !ruby/object:Gem::Version
31
+ version: '3.0'
32
+ - !ruby/object:Gem::Dependency
33
+ name: haml
34
+ requirement: !ruby/object:Gem::Requirement
35
+ none: false
36
+ requirements:
37
+ - - ! '>='
38
+ - !ruby/object:Gem::Version
39
+ version: 3.1.3
40
+ - - <
41
+ - !ruby/object:Gem::Version
42
+ version: '5.0'
43
+ type: :runtime
44
+ prerelease: false
45
+ version_requirements: !ruby/object:Gem::Requirement
46
+ none: false
47
+ requirements:
48
+ - - ! '>='
49
+ - !ruby/object:Gem::Version
50
+ version: 3.1.3
51
+ - - <
52
+ - !ruby/object:Gem::Version
53
+ version: '5.0'
54
+ - !ruby/object:Gem::Dependency
55
+ name: sass
56
+ requirement: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ - !ruby/object:Gem::Dependency
71
+ name: fastercsv
72
+ requirement: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 1.5.4
78
+ type: :runtime
79
+ prerelease: false
80
+ version_requirements: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ~>
84
+ - !ruby/object:Gem::Version
85
+ version: 1.5.4
86
+ - !ruby/object:Gem::Dependency
87
+ name: formtastic
88
+ requirement: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: 2.1.0
94
+ type: :runtime
95
+ prerelease: false
96
+ version_requirements: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ~>
100
+ - !ruby/object:Gem::Version
101
+ version: 2.1.0
102
+ - !ruby/object:Gem::Dependency
103
+ name: uuidtools
104
+ requirement: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ~>
108
+ - !ruby/object:Gem::Version
109
+ version: '2.1'
110
+ type: :runtime
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ~>
116
+ - !ruby/object:Gem::Version
117
+ version: '2.1'
118
+ - !ruby/object:Gem::Dependency
119
+ name: mustache
120
+ requirement: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - '='
124
+ - !ruby/object:Gem::Version
125
+ version: 0.99.4
126
+ type: :runtime
127
+ prerelease: false
128
+ version_requirements: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - '='
132
+ - !ruby/object:Gem::Version
133
+ version: 0.99.4
134
+ - !ruby/object:Gem::Dependency
135
+ name: rabl
136
+ requirement: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ~>
140
+ - !ruby/object:Gem::Version
141
+ version: 0.6.13
142
+ type: :runtime
143
+ prerelease: false
144
+ version_requirements: !ruby/object:Gem::Requirement
145
+ none: false
146
+ requirements:
147
+ - - ~>
148
+ - !ruby/object:Gem::Version
149
+ version: 0.6.13
150
+ - !ruby/object:Gem::Dependency
151
+ name: paperclip
152
+ requirement: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ! '>='
156
+ - !ruby/object:Gem::Version
157
+ version: '0'
158
+ type: :runtime
159
+ prerelease: false
160
+ version_requirements: !ruby/object:Gem::Requirement
161
+ none: false
162
+ requirements:
163
+ - - ! '>='
164
+ - !ruby/object:Gem::Version
165
+ version: '0'
166
+ - !ruby/object:Gem::Dependency
167
+ name: yard
168
+ requirement: !ruby/object:Gem::Requirement
169
+ none: false
170
+ requirements:
171
+ - - ! '>='
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ none: false
178
+ requirements:
179
+ - - ! '>='
180
+ - !ruby/object:Gem::Version
181
+ version: '0'
182
+ - !ruby/object:Gem::Dependency
183
+ name: rake
184
+ requirement: !ruby/object:Gem::Requirement
185
+ none: false
186
+ requirements:
187
+ - - ! '>='
188
+ - !ruby/object:Gem::Version
189
+ version: 0.9.2
190
+ type: :development
191
+ prerelease: false
192
+ version_requirements: !ruby/object:Gem::Requirement
193
+ none: false
194
+ requirements:
195
+ - - ! '>='
196
+ - !ruby/object:Gem::Version
197
+ version: 0.9.2
198
+ - !ruby/object:Gem::Dependency
199
+ name: rspec-rails
200
+ requirement: !ruby/object:Gem::Requirement
201
+ none: false
202
+ requirements:
203
+ - - ~>
204
+ - !ruby/object:Gem::Version
205
+ version: 2.9.0
206
+ type: :development
207
+ prerelease: false
208
+ version_requirements: !ruby/object:Gem::Requirement
209
+ none: false
210
+ requirements:
211
+ - - ~>
212
+ - !ruby/object:Gem::Version
213
+ version: 2.9.0
214
+ - !ruby/object:Gem::Dependency
215
+ name: bundler
216
+ requirement: !ruby/object:Gem::Requirement
217
+ none: false
218
+ requirements:
219
+ - - ~>
220
+ - !ruby/object:Gem::Version
221
+ version: '1.0'
222
+ - - ! '>='
223
+ - !ruby/object:Gem::Version
224
+ version: 1.0.21
225
+ type: :development
226
+ prerelease: false
227
+ version_requirements: !ruby/object:Gem::Requirement
228
+ none: false
229
+ requirements:
230
+ - - ~>
231
+ - !ruby/object:Gem::Version
232
+ version: '1.0'
233
+ - - ! '>='
234
+ - !ruby/object:Gem::Version
235
+ version: 1.0.21
236
+ - !ruby/object:Gem::Dependency
237
+ name: factory_girl
238
+ requirement: !ruby/object:Gem::Requirement
239
+ none: false
240
+ requirements:
241
+ - - ~>
242
+ - !ruby/object:Gem::Version
243
+ version: 2.1.2
244
+ type: :development
245
+ prerelease: false
246
+ version_requirements: !ruby/object:Gem::Requirement
247
+ none: false
248
+ requirements:
249
+ - - ~>
250
+ - !ruby/object:Gem::Version
251
+ version: 2.1.2
252
+ - !ruby/object:Gem::Dependency
253
+ name: sqlite3
254
+ requirement: !ruby/object:Gem::Requirement
255
+ none: false
256
+ requirements:
257
+ - - ! '>='
258
+ - !ruby/object:Gem::Version
259
+ version: '0'
260
+ type: :development
261
+ prerelease: false
262
+ version_requirements: !ruby/object:Gem::Requirement
263
+ none: false
264
+ requirements:
265
+ - - ! '>='
266
+ - !ruby/object:Gem::Version
267
+ version: '0'
268
+ - !ruby/object:Gem::Dependency
269
+ name: cucumber-rails
270
+ requirement: !ruby/object:Gem::Requirement
271
+ none: false
272
+ requirements:
273
+ - - ~>
274
+ - !ruby/object:Gem::Version
275
+ version: 1.1.1
276
+ type: :development
277
+ prerelease: false
278
+ version_requirements: !ruby/object:Gem::Requirement
279
+ none: false
280
+ requirements:
281
+ - - ~>
282
+ - !ruby/object:Gem::Version
283
+ version: 1.1.1
284
+ - !ruby/object:Gem::Dependency
285
+ name: database_cleaner
286
+ requirement: !ruby/object:Gem::Requirement
287
+ none: false
288
+ requirements:
289
+ - - ~>
290
+ - !ruby/object:Gem::Version
291
+ version: 0.6.7
292
+ type: :development
293
+ prerelease: false
294
+ version_requirements: !ruby/object:Gem::Requirement
295
+ none: false
296
+ requirements:
297
+ - - ~>
298
+ - !ruby/object:Gem::Version
299
+ version: 0.6.7
300
+ - !ruby/object:Gem::Dependency
301
+ name: launchy
302
+ requirement: !ruby/object:Gem::Requirement
303
+ none: false
304
+ requirements:
305
+ - - ~>
306
+ - !ruby/object:Gem::Version
307
+ version: 2.0.5
308
+ type: :development
309
+ prerelease: false
310
+ version_requirements: !ruby/object:Gem::Requirement
311
+ none: false
312
+ requirements:
313
+ - - ~>
314
+ - !ruby/object:Gem::Version
315
+ version: 2.0.5
316
+ - !ruby/object:Gem::Dependency
317
+ name: capybara
318
+ requirement: !ruby/object:Gem::Requirement
319
+ none: false
320
+ requirements:
321
+ - - ~>
322
+ - !ruby/object:Gem::Version
323
+ version: 1.1.1
324
+ type: :development
325
+ prerelease: false
326
+ version_requirements: !ruby/object:Gem::Requirement
327
+ none: false
328
+ requirements:
329
+ - - ~>
330
+ - !ruby/object:Gem::Version
331
+ version: 1.1.1
332
+ - !ruby/object:Gem::Dependency
333
+ name: ci_reporter
334
+ requirement: !ruby/object:Gem::Requirement
335
+ none: false
336
+ requirements:
337
+ - - '='
338
+ - !ruby/object:Gem::Version
339
+ version: 1.6.6
340
+ type: :development
341
+ prerelease: false
342
+ version_requirements: !ruby/object:Gem::Requirement
343
+ none: false
344
+ requirements:
345
+ - - '='
346
+ - !ruby/object:Gem::Version
347
+ version: 1.6.6
348
+ - !ruby/object:Gem::Dependency
349
+ name: json_spec
350
+ requirement: !ruby/object:Gem::Requirement
351
+ none: false
352
+ requirements:
353
+ - - ~>
354
+ - !ruby/object:Gem::Version
355
+ version: 1.0.3
356
+ type: :development
357
+ prerelease: false
358
+ version_requirements: !ruby/object:Gem::Requirement
359
+ none: false
360
+ requirements:
361
+ - - ~>
362
+ - !ruby/object:Gem::Version
363
+ version: 1.0.3
364
+ description:
365
+ email: catesa@musc.edu
366
+ executables: []
367
+ extensions: []
368
+ extra_rdoc_files: []
369
+ files:
370
+ - .gitignore
371
+ - .rspec
372
+ - CHANGELOG.md
373
+ - Gemfile
374
+ - Gemfile.rails_version
375
+ - MIT-LICENSE
376
+ - README.md
377
+ - Rakefile
378
+ - app/controllers/surveyor_controller.rb
379
+ - app/helpers/results_helper.rb
380
+ - app/helpers/survey_form_builder.rb
381
+ - app/helpers/surveyor_helper.rb
382
+ - app/inputs/quiet_input.rb
383
+ - app/inputs/surveyor_check_boxes_input.rb
384
+ - app/inputs/surveyor_radio_input.rb
385
+ - app/models/answer.rb
386
+ - app/models/dependency.rb
387
+ - app/models/dependency_condition.rb
388
+ - app/models/question.rb
389
+ - app/models/question_group.rb
390
+ - app/models/response.rb
391
+ - app/models/response_set.rb
392
+ - app/models/survey.rb
393
+ - app/models/survey_section.rb
394
+ - app/models/survey_section_sweeper.rb
395
+ - app/models/survey_translation.rb
396
+ - app/models/validation.rb
397
+ - app/models/validation_condition.rb
398
+ - app/views/layouts/results.html.erb
399
+ - app/views/layouts/surveyor_default.html.erb
400
+ - app/views/partials/_answer.html.haml
401
+ - app/views/partials/_dependents.html.haml
402
+ - app/views/partials/_question.html.haml
403
+ - app/views/partials/_question_group.html.haml
404
+ - app/views/partials/_section.html.haml
405
+ - app/views/partials/_section_menu.html.haml
406
+ - app/views/surveyor/edit.html.haml
407
+ - app/views/surveyor/export.json.rabl
408
+ - app/views/surveyor/new.html.haml
409
+ - app/views/surveyor/show.html.haml
410
+ - app/views/surveyor/show.json.rabl
411
+ - ci-exec.sh
412
+ - config/routes.rb
413
+ - cucumber.yml
414
+ - doc/REPRESENTATIONS.md
415
+ - doc/api_id_schema.json
416
+ - doc/question types.png
417
+ - doc/response_set_schema.json
418
+ - doc/surveyor question combinations.png
419
+ - doc/surveyor reject or delete decision matrix.png
420
+ - doc/surveyor_models.png
421
+ - doc/surveyor_models2.png
422
+ - doc/surveyor_timestamp_schema.json
423
+ - features/ajax_submissions.feature
424
+ - features/export_to_json.feature
425
+ - features/internationalization.feature
426
+ - features/no_duplicates.feature
427
+ - features/show_survey.feature
428
+ - features/step_definitions/parser_steps.rb
429
+ - features/step_definitions/surveyor_steps.rb
430
+ - features/step_definitions/ui_steps.rb
431
+ - features/step_definitions/web_steps.rb
432
+ - features/support/REDCapDemoDatabase_DataDictionary.csv
433
+ - features/support/database_cleaner.rb
434
+ - features/support/env.rb
435
+ - features/support/hooks.rb
436
+ - features/support/paths.rb
437
+ - features/support/redcap_new_headers.csv
438
+ - features/support/redcap_siblings.csv
439
+ - features/support/redcap_whitespace.csv
440
+ - features/support/selectors.rb
441
+ - features/support/simultaneous_ajax.rb
442
+ - features/support/single_quit_selenium_driver.rb
443
+ - features/support/slow_updates.rb
444
+ - features/surveyor.feature
445
+ - features/surveyor_dependencies.feature
446
+ - features/surveyor_parser.feature
447
+ - features/z_redcap_parser.feature
448
+ - lib/assets/images/surveyor/next.gif
449
+ - lib/assets/images/surveyor/prev.gif
450
+ - lib/assets/images/ui-bg_flat_0_aaaaaa_40x100.png
451
+ - lib/assets/images/ui-bg_flat_75_ffffff_40x100.png
452
+ - lib/assets/images/ui-bg_glass_55_fbf9ee_1x400.png
453
+ - lib/assets/images/ui-bg_glass_65_ffffff_1x400.png
454
+ - lib/assets/images/ui-bg_glass_75_dadada_1x400.png
455
+ - lib/assets/images/ui-bg_glass_75_e6e6e6_1x400.png
456
+ - lib/assets/images/ui-bg_glass_95_fef1ec_1x400.png
457
+ - lib/assets/images/ui-bg_highlight-soft_75_cccccc_1x100.png
458
+ - lib/assets/images/ui-icons_222222_256x240.png
459
+ - lib/assets/images/ui-icons_2e83ff_256x240.png
460
+ - lib/assets/images/ui-icons_454545_256x240.png
461
+ - lib/assets/images/ui-icons_888888_256x240.png
462
+ - lib/assets/images/ui-icons_cd0a0a_256x240.png
463
+ - lib/assets/javascripts/surveyor/jquery-1.9.0.js
464
+ - lib/assets/javascripts/surveyor/jquery-ui-1.10.0.custom.js
465
+ - lib/assets/javascripts/surveyor/jquery-ui-timepicker-addon.js
466
+ - lib/assets/javascripts/surveyor/jquery.maskedinput.js
467
+ - lib/assets/javascripts/surveyor/jquery.selectToUISlider.js
468
+ - lib/assets/javascripts/surveyor/jquery.surveyor.js
469
+ - lib/assets/stylesheets/surveyor.sass
470
+ - lib/assets/stylesheets/surveyor/jquery-ui-1.10.0.custom.css
471
+ - lib/assets/stylesheets/surveyor/jquery-ui-timepicker-addon.css
472
+ - lib/assets/stylesheets/surveyor/reset.css
473
+ - lib/assets/stylesheets/surveyor/results.css
474
+ - lib/assets/stylesheets/surveyor/ui.slider.extras.css
475
+ - lib/generators/surveyor/custom_generator.rb
476
+ - lib/generators/surveyor/install_generator.rb
477
+ - lib/generators/surveyor/templates/app/assets/javascripts/surveyor_all.js
478
+ - lib/generators/surveyor/templates/app/assets/stylesheets/surveyor_all.css
479
+ - lib/generators/surveyor/templates/app/controllers/surveyor_controller.rb
480
+ - lib/generators/surveyor/templates/app/views/layouts/surveyor_custom.html.erb
481
+ - lib/generators/surveyor/templates/config/locales/surveyor_en.yml
482
+ - lib/generators/surveyor/templates/config/locales/surveyor_es.yml
483
+ - lib/generators/surveyor/templates/config/locales/surveyor_he.yml
484
+ - lib/generators/surveyor/templates/config/locales/surveyor_ko.yml
485
+ - lib/generators/surveyor/templates/db/migrate/add_api_id_to_question_groups.rb
486
+ - lib/generators/surveyor/templates/db/migrate/add_api_ids.rb
487
+ - lib/generators/surveyor/templates/db/migrate/add_api_ids_to_response_sets_and_responses.rb
488
+ - lib/generators/surveyor/templates/db/migrate/add_attachment_to_response.rb
489
+ - lib/generators/surveyor/templates/db/migrate/add_correct_answer_id_to_questions.rb
490
+ - lib/generators/surveyor/templates/db/migrate/add_default_value_to_answers.rb
491
+ - lib/generators/surveyor/templates/db/migrate/add_display_order_to_surveys.rb
492
+ - lib/generators/surveyor/templates/db/migrate/add_display_type_to_answers.rb
493
+ - lib/generators/surveyor/templates/db/migrate/add_index_to_response_sets.rb
494
+ - lib/generators/surveyor/templates/db/migrate/add_index_to_surveys.rb
495
+ - lib/generators/surveyor/templates/db/migrate/add_input_mask_attributes_to_answer.rb
496
+ - lib/generators/surveyor/templates/db/migrate/add_section_id_to_responses.rb
497
+ - lib/generators/surveyor/templates/db/migrate/add_unique_index_on_access_code_and_version_in_surveys.rb
498
+ - lib/generators/surveyor/templates/db/migrate/add_unique_indicies.rb
499
+ - lib/generators/surveyor/templates/db/migrate/add_version_to_surveys.rb
500
+ - lib/generators/surveyor/templates/db/migrate/api_ids_must_be_unique.rb
501
+ - lib/generators/surveyor/templates/db/migrate/create_answers.rb
502
+ - lib/generators/surveyor/templates/db/migrate/create_dependencies.rb
503
+ - lib/generators/surveyor/templates/db/migrate/create_dependency_conditions.rb
504
+ - lib/generators/surveyor/templates/db/migrate/create_question_groups.rb
505
+ - lib/generators/surveyor/templates/db/migrate/create_questions.rb
506
+ - lib/generators/surveyor/templates/db/migrate/create_response_sets.rb
507
+ - lib/generators/surveyor/templates/db/migrate/create_responses.rb
508
+ - lib/generators/surveyor/templates/db/migrate/create_survey_sections.rb
509
+ - lib/generators/surveyor/templates/db/migrate/create_survey_translations.rb
510
+ - lib/generators/surveyor/templates/db/migrate/create_surveys.rb
511
+ - lib/generators/surveyor/templates/db/migrate/create_validation_conditions.rb
512
+ - lib/generators/surveyor/templates/db/migrate/create_validations.rb
513
+ - lib/generators/surveyor/templates/db/migrate/drop_unique_index_on_access_code_in_surveys.rb
514
+ - lib/generators/surveyor/templates/db/migrate/update_blank_api_ids_on_question_group.rb
515
+ - lib/generators/surveyor/templates/db/migrate/update_blank_versions_on_surveys.rb
516
+ - lib/generators/surveyor/templates/surveys/EXTENDING_SURVEYOR.md
517
+ - lib/generators/surveyor/templates/surveys/MODIFYING_SURVEYOR.md
518
+ - lib/generators/surveyor/templates/surveys/date_survey.rb
519
+ - lib/generators/surveyor/templates/surveys/kitchen_sink_survey.rb
520
+ - lib/generators/surveyor/templates/surveys/languages.rb
521
+ - lib/generators/surveyor/templates/surveys/quiz.rb
522
+ - lib/generators/surveyor/templates/surveys/translations/languages.es.yml
523
+ - lib/generators/surveyor/templates/surveys/translations/languages.he.yml
524
+ - lib/generators/surveyor/templates/surveys/translations/languages.ko.yml
525
+ - lib/generators/surveyor/templates/vendor/assets/stylesheets/custom.sass
526
+ - lib/surveyor.rb
527
+ - lib/surveyor/acts_as_response.rb
528
+ - lib/surveyor/common.rb
529
+ - lib/surveyor/engine.rb
530
+ - lib/surveyor/helpers/asset_pipeline.rb
531
+ - lib/surveyor/helpers/formtastic_custom_input.rb
532
+ - lib/surveyor/helpers/surveyor_helper_methods.rb
533
+ - lib/surveyor/models/answer_methods.rb
534
+ - lib/surveyor/models/dependency_condition_methods.rb
535
+ - lib/surveyor/models/dependency_methods.rb
536
+ - lib/surveyor/models/question_group_methods.rb
537
+ - lib/surveyor/models/question_methods.rb
538
+ - lib/surveyor/models/response_methods.rb
539
+ - lib/surveyor/models/response_set_methods.rb
540
+ - lib/surveyor/models/survey_methods.rb
541
+ - lib/surveyor/models/survey_section_methods.rb
542
+ - lib/surveyor/models/survey_translation_methods.rb
543
+ - lib/surveyor/models/validation_condition_methods.rb
544
+ - lib/surveyor/models/validation_methods.rb
545
+ - lib/surveyor/mustache_context.rb
546
+ - lib/surveyor/parser.rb
547
+ - lib/surveyor/redcap_parser.rb
548
+ - lib/surveyor/surveyor_controller_methods.rb
549
+ - lib/surveyor/unparser.rb
550
+ - lib/surveyor/version.rb
551
+ - lib/tasks/surveyor_tasks.rake
552
+ - rails/init.rb
553
+ - spec/controllers/surveyor_controller_spec.rb
554
+ - spec/factories.rb
555
+ - spec/helpers/formtastic_custom_input_spec.rb
556
+ - spec/helpers/surveyor_helper_spec.rb
557
+ - spec/lib/benchmark_spec.rb
558
+ - spec/lib/chinese_survey.rb
559
+ - spec/lib/common_spec.rb
560
+ - spec/lib/parser_spec.rb
561
+ - spec/lib/rake_kitchen_sink.rb
562
+ - spec/lib/redcap_parser_spec.rb
563
+ - spec/lib/tasks_spec.rake
564
+ - spec/lib/unparser_spec.rb
565
+ - spec/models/answer_spec.rb
566
+ - spec/models/dependency_condition_spec.rb
567
+ - spec/models/dependency_spec.rb
568
+ - spec/models/question_group_spec.rb
569
+ - spec/models/question_spec.rb
570
+ - spec/models/response_set_spec.rb
571
+ - spec/models/response_spec.rb
572
+ - spec/models/survey_section_spec.rb
573
+ - spec/models/survey_spec.rb
574
+ - spec/models/validation_condition_spec.rb
575
+ - spec/models/validation_spec.rb
576
+ - spec/rcov.opts
577
+ - spec/spec.opts
578
+ - spec/spec_helper.rb
579
+ - stacktests.sh
580
+ - surveyor.gemspec
581
+ homepage: https://github.com/HSSC/surveyor
582
+ licenses: []
583
+ post_install_message: Thanks for installing surveyor! The time has come to run the
584
+ surveyor generator and migrate your database, even if you are upgrading.
585
+ rdoc_options: []
586
+ require_paths:
587
+ - lib
588
+ required_ruby_version: !ruby/object:Gem::Requirement
589
+ none: false
590
+ requirements:
591
+ - - ! '>='
592
+ - !ruby/object:Gem::Version
593
+ version: '0'
594
+ required_rubygems_version: !ruby/object:Gem::Requirement
595
+ none: false
596
+ requirements:
597
+ - - ! '>'
598
+ - !ruby/object:Gem::Version
599
+ version: 1.3.1
600
+ requirements: []
601
+ rubyforge_project:
602
+ rubygems_version: 1.8.24
603
+ signing_key:
604
+ specification_version: 3
605
+ summary: A rails (gem) plugin to enable surveys in your application
606
+ test_files:
607
+ - features/ajax_submissions.feature
608
+ - features/export_to_json.feature
609
+ - features/internationalization.feature
610
+ - features/no_duplicates.feature
611
+ - features/show_survey.feature
612
+ - features/step_definitions/parser_steps.rb
613
+ - features/step_definitions/surveyor_steps.rb
614
+ - features/step_definitions/ui_steps.rb
615
+ - features/step_definitions/web_steps.rb
616
+ - features/support/REDCapDemoDatabase_DataDictionary.csv
617
+ - features/support/database_cleaner.rb
618
+ - features/support/env.rb
619
+ - features/support/hooks.rb
620
+ - features/support/paths.rb
621
+ - features/support/redcap_new_headers.csv
622
+ - features/support/redcap_siblings.csv
623
+ - features/support/redcap_whitespace.csv
624
+ - features/support/selectors.rb
625
+ - features/support/simultaneous_ajax.rb
626
+ - features/support/single_quit_selenium_driver.rb
627
+ - features/support/slow_updates.rb
628
+ - features/surveyor.feature
629
+ - features/surveyor_dependencies.feature
630
+ - features/surveyor_parser.feature
631
+ - features/z_redcap_parser.feature
632
+ - spec/controllers/surveyor_controller_spec.rb
633
+ - spec/factories.rb
634
+ - spec/helpers/formtastic_custom_input_spec.rb
635
+ - spec/helpers/surveyor_helper_spec.rb
636
+ - spec/lib/benchmark_spec.rb
637
+ - spec/lib/chinese_survey.rb
638
+ - spec/lib/common_spec.rb
639
+ - spec/lib/parser_spec.rb
640
+ - spec/lib/rake_kitchen_sink.rb
641
+ - spec/lib/redcap_parser_spec.rb
642
+ - spec/lib/tasks_spec.rake
643
+ - spec/lib/unparser_spec.rb
644
+ - spec/models/answer_spec.rb
645
+ - spec/models/dependency_condition_spec.rb
646
+ - spec/models/dependency_spec.rb
647
+ - spec/models/question_group_spec.rb
648
+ - spec/models/question_spec.rb
649
+ - spec/models/response_set_spec.rb
650
+ - spec/models/response_spec.rb
651
+ - spec/models/survey_section_spec.rb
652
+ - spec/models/survey_spec.rb
653
+ - spec/models/validation_condition_spec.rb
654
+ - spec/models/validation_spec.rb
655
+ - spec/rcov.opts
656
+ - spec/spec.opts
657
+ - spec/spec_helper.rb