surveyor 0.20.0 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. data/.gitignore +26 -0
  2. data/Gemfile +11 -0
  3. data/Gemfile.rails_version +13 -0
  4. data/README.md +40 -22
  5. data/Rakefile +92 -29
  6. data/app/helpers/survey_form_builder.rb +37 -0
  7. data/app/helpers/surveyor_helper.rb +9 -9
  8. data/app/views/partials/_answer.html.haml +1 -1
  9. data/app/views/partials/_question.html.haml +3 -3
  10. data/app/views/partials/_question_group.html.haml +2 -2
  11. data/app/views/partials/_section.html.haml +1 -1
  12. data/app/views/surveyor/edit.html.haml +11 -3
  13. data/app/views/surveyor/new.html.haml +8 -1
  14. data/ci-exec.sh +50 -0
  15. data/config/routes.rb +9 -13
  16. data/cucumber.yml +10 -0
  17. data/doc/question types.png +0 -0
  18. data/features/redcap_parser.feature +1 -1
  19. data/features/step_definitions/common_setps.rb +3 -0
  20. data/features/step_definitions/parser_steps.rb +8 -1
  21. data/features/step_definitions/surveyor_steps.rb +33 -9
  22. data/features/step_definitions/web_steps.rb +85 -165
  23. data/features/support/env.rb +40 -46
  24. data/features/support/paths.rb +4 -4
  25. data/features/support/selectors.rb +39 -0
  26. data/features/surveyor.feature +63 -13
  27. data/features/surveyor_dependencies.feature +289 -0
  28. data/features/surveyor_parser.feature +29 -20
  29. data/lib/formtastic/surveyor_builder.rb +9 -9
  30. data/lib/generators/surveyor/custom_generator.rb +17 -0
  31. data/lib/generators/surveyor/install_generator.rb +50 -0
  32. data/{generators/extend_surveyor/templates/extensions → lib/generators/surveyor/templates/app/controllers}/surveyor_controller.rb +0 -0
  33. data/{generators/extend_surveyor/templates/extensions → lib/generators/surveyor/templates/app/views/layouts}/surveyor_custom.html.erb +0 -0
  34. data/{generators/surveyor/templates → lib/generators/surveyor/templates/config}/locales/surveyor_en.yml +0 -0
  35. data/{generators/surveyor/templates → lib/generators/surveyor/templates/config}/locales/surveyor_es.yml +0 -0
  36. data/{generators/surveyor/templates → lib/generators/surveyor/templates/config}/locales/surveyor_he.yml +0 -0
  37. data/{generators/surveyor/templates → lib/generators/surveyor/templates/db}/migrate/add_api_ids.rb +0 -0
  38. data/{generators/surveyor/templates → lib/generators/surveyor/templates/db}/migrate/add_correct_answer_id_to_questions.rb +0 -0
  39. data/{generators/surveyor/templates → lib/generators/surveyor/templates/db}/migrate/add_default_value_to_answers.rb +0 -0
  40. data/{generators/surveyor/templates → lib/generators/surveyor/templates/db}/migrate/add_display_order_to_surveys.rb +0 -0
  41. data/{generators/surveyor/templates → lib/generators/surveyor/templates/db}/migrate/add_display_type_to_answers.rb +0 -0
  42. data/{generators/surveyor/templates → lib/generators/surveyor/templates/db}/migrate/add_index_to_response_sets.rb +0 -0
  43. data/{generators/surveyor/templates → lib/generators/surveyor/templates/db}/migrate/add_index_to_surveys.rb +0 -0
  44. data/{generators/surveyor/templates → lib/generators/surveyor/templates/db}/migrate/add_section_id_to_responses.rb +0 -0
  45. data/{generators/surveyor/templates → lib/generators/surveyor/templates/db}/migrate/add_unique_indicies.rb +0 -0
  46. data/{generators/surveyor/templates → lib/generators/surveyor/templates/db}/migrate/create_answers.rb +0 -0
  47. data/{generators/surveyor/templates → lib/generators/surveyor/templates/db}/migrate/create_dependencies.rb +0 -0
  48. data/{generators/surveyor/templates → lib/generators/surveyor/templates/db}/migrate/create_dependency_conditions.rb +0 -0
  49. data/{generators/surveyor/templates → lib/generators/surveyor/templates/db}/migrate/create_question_groups.rb +0 -0
  50. data/{generators/surveyor/templates → lib/generators/surveyor/templates/db}/migrate/create_questions.rb +0 -0
  51. data/{generators/surveyor/templates → lib/generators/surveyor/templates/db}/migrate/create_response_sets.rb +0 -0
  52. data/{generators/surveyor/templates → lib/generators/surveyor/templates/db}/migrate/create_responses.rb +0 -0
  53. data/{generators/surveyor/templates → lib/generators/surveyor/templates/db}/migrate/create_survey_sections.rb +0 -0
  54. data/{generators/surveyor/templates → lib/generators/surveyor/templates/db}/migrate/create_surveys.rb +0 -0
  55. data/{generators/surveyor/templates → lib/generators/surveyor/templates/db}/migrate/create_validation_conditions.rb +0 -0
  56. data/{generators/surveyor/templates → lib/generators/surveyor/templates/db}/migrate/create_validations.rb +0 -0
  57. data/{generators/surveyor/templates/assets/images → lib/generators/surveyor/templates/public/images/surveyor}/next.gif +0 -0
  58. data/{generators/surveyor/templates/assets/images → lib/generators/surveyor/templates/public/images/surveyor}/prev.gif +0 -0
  59. data/lib/generators/surveyor/templates/public/javascripts/surveyor/jquery.blockUI.js +499 -0
  60. data/{generators/surveyor/templates/assets/javascripts → lib/generators/surveyor/templates/public/javascripts/surveyor}/jquery.surveyor.js +47 -4
  61. data/{generators/surveyor/templates/assets/javascripts → lib/generators/surveyor/templates/public/javascripts/surveyor}/jquery.tools.min.js +0 -0
  62. data/{generators/surveyor/templates/assets → lib/generators/surveyor/templates/public}/stylesheets/sass/custom.sass +0 -0
  63. data/{generators/surveyor/templates/assets → lib/generators/surveyor/templates/public}/stylesheets/sass/surveyor.sass +2 -2
  64. data/{generators/surveyor/templates/assets/stylesheets → lib/generators/surveyor/templates/public/stylesheets/surveyor}/dateinput.css +0 -0
  65. data/{generators/surveyor/templates/assets/stylesheets → lib/generators/surveyor/templates/public/stylesheets/surveyor}/reset.css +0 -0
  66. data/{generators/surveyor/templates/assets/stylesheets → lib/generators/surveyor/templates/public/stylesheets/surveyor}/results.css +0 -0
  67. data/{generators/extend_surveyor/templates/EXTENDING_SURVEYOR → lib/generators/surveyor/templates/surveys/EXTENDING_SURVEYOR.md} +0 -0
  68. data/{generators → lib/generators}/surveyor/templates/surveys/kitchen_sink_survey.rb +0 -0
  69. data/{generators → lib/generators}/surveyor/templates/surveys/quiz.rb +0 -0
  70. data/lib/surveyor.rb +7 -0
  71. data/lib/surveyor/engine.rb +12 -0
  72. data/lib/surveyor/models/answer_methods.rb +0 -1
  73. data/lib/surveyor/models/dependency_condition_methods.rb +1 -3
  74. data/lib/surveyor/models/question_methods.rb +0 -1
  75. data/lib/surveyor/models/response_methods.rb +2 -2
  76. data/lib/surveyor/models/response_set_methods.rb +30 -14
  77. data/lib/surveyor/models/survey_methods.rb +2 -1
  78. data/lib/surveyor/models/survey_section_methods.rb +1 -2
  79. data/lib/surveyor/parser.rb +9 -7
  80. data/lib/surveyor/redcap_parser.rb +10 -7
  81. data/lib/surveyor/surveyor_controller_methods.rb +45 -11
  82. data/lib/surveyor/version.rb +3 -0
  83. data/lib/tasks/surveyor_tasks.rake +2 -2
  84. data/rails/init.rb +0 -1
  85. data/spec/controllers/surveyor_controller_spec.rb +81 -35
  86. data/spec/helpers/surveyor_helper_spec.rb +7 -1
  87. data/spec/models/dependency_condition_spec.rb +76 -63
  88. data/spec/models/response_set_spec.rb +52 -47
  89. data/spec/models/response_spec.rb +19 -16
  90. data/spec/spec_helper.rb +21 -44
  91. data/surveyor.gemspec +25 -176
  92. metadata +302 -77
  93. data/CHANGELOG +0 -335
  94. data/VERSION +0 -1
  95. data/ci-env.sh +0 -29
  96. data/generators/extend_surveyor/extend_surveyor_generator.rb +0 -21
  97. data/generators/surveyor/surveyor_generator.rb +0 -69
  98. data/generators/surveyor/templates/README +0 -10
  99. data/generators/surveyor/templates/tasks/surveyor.rb +0 -4
  100. data/hudson.rakefile +0 -33
  101. data/init_testbed.rakefile +0 -55
  102. data/testbed/Gemfile +0 -13
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: surveyor
3
3
  version: !ruby/object:Gem::Version
4
- hash: 79
4
+ hash: 75
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 20
8
+ - 21
9
9
  - 0
10
- version: 0.20.0
10
+ version: 0.21.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Brian Chamberlain
@@ -16,39 +16,41 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-07-11 00:00:00 -05:00
20
- default_executable:
19
+ date: 2011-11-10 00:00:00 Z
21
20
  dependencies:
22
21
  - !ruby/object:Gem::Dependency
23
- name: haml
22
+ name: rails
24
23
  prerelease: false
25
24
  requirement: &id001 !ruby/object:Gem::Requirement
26
25
  none: false
27
26
  requirements:
28
- - - ">="
27
+ - - ~>
29
28
  - !ruby/object:Gem::Version
30
- hash: 3
29
+ hash: 7
31
30
  segments:
31
+ - 3
32
32
  - 0
33
- version: "0"
33
+ version: "3.0"
34
34
  type: :runtime
35
35
  version_requirements: *id001
36
36
  - !ruby/object:Gem::Dependency
37
- name: sass
37
+ name: haml
38
38
  prerelease: false
39
39
  requirement: &id002 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
- - - ">="
42
+ - - ~>
43
43
  - !ruby/object:Gem::Version
44
- hash: 3
44
+ hash: 5
45
45
  segments:
46
- - 0
47
- version: "0"
46
+ - 3
47
+ - 1
48
+ - 3
49
+ version: 3.1.3
48
50
  type: :runtime
49
51
  version_requirements: *id002
50
52
  - !ruby/object:Gem::Dependency
51
- name: fastercsv
53
+ name: sass
52
54
  prerelease: false
53
55
  requirement: &id003 !ruby/object:Gem::Requirement
54
56
  none: false
@@ -62,23 +64,41 @@ dependencies:
62
64
  type: :runtime
63
65
  version_requirements: *id003
64
66
  - !ruby/object:Gem::Dependency
65
- name: formtastic
67
+ name: fastercsv
66
68
  prerelease: false
67
69
  requirement: &id004 !ruby/object:Gem::Requirement
68
70
  none: false
69
71
  requirements:
70
- - - ">="
72
+ - - ~>
71
73
  - !ruby/object:Gem::Version
72
- hash: 3
74
+ hash: 11
73
75
  segments:
74
- - 0
75
- version: "0"
76
+ - 1
77
+ - 5
78
+ - 4
79
+ version: 1.5.4
76
80
  type: :runtime
77
81
  version_requirements: *id004
78
82
  - !ruby/object:Gem::Dependency
79
- name: uuid
83
+ name: formtastic
80
84
  prerelease: false
81
85
  requirement: &id005 !ruby/object:Gem::Requirement
86
+ none: false
87
+ requirements:
88
+ - - ~>
89
+ - !ruby/object:Gem::Version
90
+ hash: 23
91
+ segments:
92
+ - 1
93
+ - 2
94
+ - 4
95
+ version: 1.2.4
96
+ type: :runtime
97
+ version_requirements: *id005
98
+ - !ruby/object:Gem::Dependency
99
+ name: uuid
100
+ prerelease: false
101
+ requirement: &id006 !ruby/object:Gem::Requirement
82
102
  none: false
83
103
  requirements:
84
104
  - - ">="
@@ -88,11 +108,11 @@ dependencies:
88
108
  - 0
89
109
  version: "0"
90
110
  type: :runtime
91
- version_requirements: *id005
111
+ version_requirements: *id006
92
112
  - !ruby/object:Gem::Dependency
93
113
  name: yard
94
114
  prerelease: false
95
- requirement: &id006 !ruby/object:Gem::Requirement
115
+ requirement: &id007 !ruby/object:Gem::Requirement
96
116
  none: false
97
117
  requirements:
98
118
  - - ">="
@@ -102,24 +122,190 @@ dependencies:
102
122
  - 0
103
123
  version: "0"
104
124
  type: :development
105
- version_requirements: *id006
125
+ version_requirements: *id007
126
+ - !ruby/object:Gem::Dependency
127
+ name: rake
128
+ prerelease: false
129
+ requirement: &id008 !ruby/object:Gem::Requirement
130
+ none: false
131
+ requirements:
132
+ - - "="
133
+ - !ruby/object:Gem::Version
134
+ hash: 49
135
+ segments:
136
+ - 0
137
+ - 8
138
+ - 7
139
+ version: 0.8.7
140
+ type: :development
141
+ version_requirements: *id008
142
+ - !ruby/object:Gem::Dependency
143
+ name: rspec-rails
144
+ prerelease: false
145
+ requirement: &id009 !ruby/object:Gem::Requirement
146
+ none: false
147
+ requirements:
148
+ - - ~>
149
+ - !ruby/object:Gem::Version
150
+ hash: 23
151
+ segments:
152
+ - 2
153
+ - 6
154
+ - 0
155
+ version: 2.6.0
156
+ type: :development
157
+ version_requirements: *id009
158
+ - !ruby/object:Gem::Dependency
159
+ name: bundler
160
+ prerelease: false
161
+ requirement: &id010 !ruby/object:Gem::Requirement
162
+ none: false
163
+ requirements:
164
+ - - ~>
165
+ - !ruby/object:Gem::Version
166
+ hash: 15
167
+ segments:
168
+ - 1
169
+ - 0
170
+ version: "1.0"
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ hash: 61
174
+ segments:
175
+ - 1
176
+ - 0
177
+ - 21
178
+ version: 1.0.21
179
+ type: :development
180
+ version_requirements: *id010
181
+ - !ruby/object:Gem::Dependency
182
+ name: factory_girl
183
+ prerelease: false
184
+ requirement: &id011 !ruby/object:Gem::Requirement
185
+ none: false
186
+ requirements:
187
+ - - ~>
188
+ - !ruby/object:Gem::Version
189
+ hash: 15
190
+ segments:
191
+ - 2
192
+ - 1
193
+ - 2
194
+ version: 2.1.2
195
+ type: :development
196
+ version_requirements: *id011
197
+ - !ruby/object:Gem::Dependency
198
+ name: sqlite3
199
+ prerelease: false
200
+ requirement: &id012 !ruby/object:Gem::Requirement
201
+ none: false
202
+ requirements:
203
+ - - ">="
204
+ - !ruby/object:Gem::Version
205
+ hash: 3
206
+ segments:
207
+ - 0
208
+ version: "0"
209
+ type: :development
210
+ version_requirements: *id012
211
+ - !ruby/object:Gem::Dependency
212
+ name: cucumber-rails
213
+ prerelease: false
214
+ requirement: &id013 !ruby/object:Gem::Requirement
215
+ none: false
216
+ requirements:
217
+ - - ~>
218
+ - !ruby/object:Gem::Version
219
+ hash: 17
220
+ segments:
221
+ - 1
222
+ - 1
223
+ - 1
224
+ version: 1.1.1
225
+ type: :development
226
+ version_requirements: *id013
227
+ - !ruby/object:Gem::Dependency
228
+ name: database_cleaner
229
+ prerelease: false
230
+ requirement: &id014 !ruby/object:Gem::Requirement
231
+ none: false
232
+ requirements:
233
+ - - ~>
234
+ - !ruby/object:Gem::Version
235
+ hash: 9
236
+ segments:
237
+ - 0
238
+ - 6
239
+ - 7
240
+ version: 0.6.7
241
+ type: :development
242
+ version_requirements: *id014
243
+ - !ruby/object:Gem::Dependency
244
+ name: launchy
245
+ prerelease: false
246
+ requirement: &id015 !ruby/object:Gem::Requirement
247
+ none: false
248
+ requirements:
249
+ - - ~>
250
+ - !ruby/object:Gem::Version
251
+ hash: 5
252
+ segments:
253
+ - 2
254
+ - 0
255
+ - 5
256
+ version: 2.0.5
257
+ type: :development
258
+ version_requirements: *id015
259
+ - !ruby/object:Gem::Dependency
260
+ name: capybara
261
+ prerelease: false
262
+ requirement: &id016 !ruby/object:Gem::Requirement
263
+ none: false
264
+ requirements:
265
+ - - ~>
266
+ - !ruby/object:Gem::Version
267
+ hash: 17
268
+ segments:
269
+ - 1
270
+ - 1
271
+ - 1
272
+ version: 1.1.1
273
+ type: :development
274
+ version_requirements: *id016
275
+ - !ruby/object:Gem::Dependency
276
+ name: ci_reporter
277
+ prerelease: false
278
+ requirement: &id017 !ruby/object:Gem::Requirement
279
+ none: false
280
+ requirements:
281
+ - - ~>
282
+ - !ruby/object:Gem::Version
283
+ hash: 3
284
+ segments:
285
+ - 1
286
+ - 6
287
+ version: "1.6"
288
+ type: :development
289
+ version_requirements: *id017
106
290
  description:
107
291
  email: yoon@northwestern.edu
108
292
  executables: []
109
293
 
110
294
  extensions: []
111
295
 
112
- extra_rdoc_files:
113
- - README.md
296
+ extra_rdoc_files: []
297
+
114
298
  files:
115
- - CHANGELOG
299
+ - .gitignore
300
+ - Gemfile
301
+ - Gemfile.rails_version
116
302
  - MIT-LICENSE
117
303
  - README.md
118
304
  - Rakefile
119
- - VERSION
120
305
  - app/controllers/results_controller.rb
121
306
  - app/controllers/surveyor_controller.rb
122
307
  - app/helpers/results_helper.rb
308
+ - app/helpers/survey_form_builder.rb
123
309
  - app/helpers/surveyor_helper.rb
124
310
  - app/models/answer.rb
125
311
  - app/models/dependency.rb
@@ -146,11 +332,14 @@ files:
146
332
  - app/views/surveyor/edit.html.haml
147
333
  - app/views/surveyor/new.html.haml
148
334
  - app/views/surveyor/show.html.haml
149
- - ci-env.sh
335
+ - ci-exec.sh
150
336
  - config/routes.rb
337
+ - cucumber.yml
338
+ - doc/question types.png
151
339
  - doc/surveyor_models.png
152
340
  - doc/surveyor_models2.png
153
341
  - features/redcap_parser.feature
342
+ - features/step_definitions/common_setps.rb
154
343
  - features/step_definitions/parser_steps.rb
155
344
  - features/step_definitions/surveyor_steps.rb
156
345
  - features/step_definitions/web_steps.rb
@@ -160,55 +349,55 @@ files:
160
349
  - features/support/redcap_new_headers.csv
161
350
  - features/support/redcap_siblings.csv
162
351
  - features/support/redcap_whitespace.csv
352
+ - features/support/selectors.rb
163
353
  - features/surveyor.feature
354
+ - features/surveyor_dependencies.feature
164
355
  - features/surveyor_parser.feature
165
- - generators/extend_surveyor/extend_surveyor_generator.rb
166
- - generators/extend_surveyor/templates/EXTENDING_SURVEYOR
167
- - generators/extend_surveyor/templates/extensions/surveyor_controller.rb
168
- - generators/extend_surveyor/templates/extensions/surveyor_custom.html.erb
169
- - generators/surveyor/surveyor_generator.rb
170
- - generators/surveyor/templates/README
171
- - generators/surveyor/templates/assets/images/next.gif
172
- - generators/surveyor/templates/assets/images/prev.gif
173
- - generators/surveyor/templates/assets/javascripts/jquery.surveyor.js
174
- - generators/surveyor/templates/assets/javascripts/jquery.tools.min.js
175
- - generators/surveyor/templates/assets/stylesheets/dateinput.css
176
- - generators/surveyor/templates/assets/stylesheets/reset.css
177
- - generators/surveyor/templates/assets/stylesheets/results.css
178
- - generators/surveyor/templates/assets/stylesheets/sass/custom.sass
179
- - generators/surveyor/templates/assets/stylesheets/sass/surveyor.sass
180
- - generators/surveyor/templates/locales/surveyor_en.yml
181
- - generators/surveyor/templates/locales/surveyor_es.yml
182
- - generators/surveyor/templates/locales/surveyor_he.yml
183
- - generators/surveyor/templates/migrate/add_api_ids.rb
184
- - generators/surveyor/templates/migrate/add_correct_answer_id_to_questions.rb
185
- - generators/surveyor/templates/migrate/add_default_value_to_answers.rb
186
- - generators/surveyor/templates/migrate/add_display_order_to_surveys.rb
187
- - generators/surveyor/templates/migrate/add_display_type_to_answers.rb
188
- - generators/surveyor/templates/migrate/add_index_to_response_sets.rb
189
- - generators/surveyor/templates/migrate/add_index_to_surveys.rb
190
- - generators/surveyor/templates/migrate/add_section_id_to_responses.rb
191
- - generators/surveyor/templates/migrate/add_unique_indicies.rb
192
- - generators/surveyor/templates/migrate/create_answers.rb
193
- - generators/surveyor/templates/migrate/create_dependencies.rb
194
- - generators/surveyor/templates/migrate/create_dependency_conditions.rb
195
- - generators/surveyor/templates/migrate/create_question_groups.rb
196
- - generators/surveyor/templates/migrate/create_questions.rb
197
- - generators/surveyor/templates/migrate/create_response_sets.rb
198
- - generators/surveyor/templates/migrate/create_responses.rb
199
- - generators/surveyor/templates/migrate/create_survey_sections.rb
200
- - generators/surveyor/templates/migrate/create_surveys.rb
201
- - generators/surveyor/templates/migrate/create_validation_conditions.rb
202
- - generators/surveyor/templates/migrate/create_validations.rb
203
- - generators/surveyor/templates/surveys/kitchen_sink_survey.rb
204
- - generators/surveyor/templates/surveys/quiz.rb
205
- - generators/surveyor/templates/tasks/surveyor.rb
206
- - hudson.rakefile
207
- - init_testbed.rakefile
208
356
  - lib/formtastic/surveyor_builder.rb
357
+ - lib/generators/surveyor/custom_generator.rb
358
+ - lib/generators/surveyor/install_generator.rb
359
+ - lib/generators/surveyor/templates/app/controllers/surveyor_controller.rb
360
+ - lib/generators/surveyor/templates/app/views/layouts/surveyor_custom.html.erb
361
+ - lib/generators/surveyor/templates/config/locales/surveyor_en.yml
362
+ - lib/generators/surveyor/templates/config/locales/surveyor_es.yml
363
+ - lib/generators/surveyor/templates/config/locales/surveyor_he.yml
364
+ - lib/generators/surveyor/templates/db/migrate/add_api_ids.rb
365
+ - lib/generators/surveyor/templates/db/migrate/add_correct_answer_id_to_questions.rb
366
+ - lib/generators/surveyor/templates/db/migrate/add_default_value_to_answers.rb
367
+ - lib/generators/surveyor/templates/db/migrate/add_display_order_to_surveys.rb
368
+ - lib/generators/surveyor/templates/db/migrate/add_display_type_to_answers.rb
369
+ - lib/generators/surveyor/templates/db/migrate/add_index_to_response_sets.rb
370
+ - lib/generators/surveyor/templates/db/migrate/add_index_to_surveys.rb
371
+ - lib/generators/surveyor/templates/db/migrate/add_section_id_to_responses.rb
372
+ - lib/generators/surveyor/templates/db/migrate/add_unique_indicies.rb
373
+ - lib/generators/surveyor/templates/db/migrate/create_answers.rb
374
+ - lib/generators/surveyor/templates/db/migrate/create_dependencies.rb
375
+ - lib/generators/surveyor/templates/db/migrate/create_dependency_conditions.rb
376
+ - lib/generators/surveyor/templates/db/migrate/create_question_groups.rb
377
+ - lib/generators/surveyor/templates/db/migrate/create_questions.rb
378
+ - lib/generators/surveyor/templates/db/migrate/create_response_sets.rb
379
+ - lib/generators/surveyor/templates/db/migrate/create_responses.rb
380
+ - lib/generators/surveyor/templates/db/migrate/create_survey_sections.rb
381
+ - lib/generators/surveyor/templates/db/migrate/create_surveys.rb
382
+ - lib/generators/surveyor/templates/db/migrate/create_validation_conditions.rb
383
+ - lib/generators/surveyor/templates/db/migrate/create_validations.rb
384
+ - lib/generators/surveyor/templates/public/images/surveyor/next.gif
385
+ - lib/generators/surveyor/templates/public/images/surveyor/prev.gif
386
+ - lib/generators/surveyor/templates/public/javascripts/surveyor/jquery.blockUI.js
387
+ - lib/generators/surveyor/templates/public/javascripts/surveyor/jquery.surveyor.js
388
+ - lib/generators/surveyor/templates/public/javascripts/surveyor/jquery.tools.min.js
389
+ - lib/generators/surveyor/templates/public/stylesheets/sass/custom.sass
390
+ - lib/generators/surveyor/templates/public/stylesheets/sass/surveyor.sass
391
+ - lib/generators/surveyor/templates/public/stylesheets/surveyor/dateinput.css
392
+ - lib/generators/surveyor/templates/public/stylesheets/surveyor/reset.css
393
+ - lib/generators/surveyor/templates/public/stylesheets/surveyor/results.css
394
+ - lib/generators/surveyor/templates/surveys/EXTENDING_SURVEYOR.md
395
+ - lib/generators/surveyor/templates/surveys/kitchen_sink_survey.rb
396
+ - lib/generators/surveyor/templates/surveys/quiz.rb
209
397
  - lib/surveyor.rb
210
398
  - lib/surveyor/acts_as_response.rb
211
399
  - lib/surveyor/common.rb
400
+ - lib/surveyor/engine.rb
212
401
  - lib/surveyor/models/answer_methods.rb
213
402
  - lib/surveyor/models/dependency_condition_methods.rb
214
403
  - lib/surveyor/models/dependency_methods.rb
@@ -224,6 +413,7 @@ files:
224
413
  - lib/surveyor/redcap_parser.rb
225
414
  - lib/surveyor/surveyor_controller_methods.rb
226
415
  - lib/surveyor/unparser.rb
416
+ - lib/surveyor/version.rb
227
417
  - lib/tasks/surveyor_tasks.rake
228
418
  - rails/init.rb
229
419
  - spec/controllers/surveyor_controller_spec.rb
@@ -249,8 +439,6 @@ files:
249
439
  - spec/spec.opts
250
440
  - spec/spec_helper.rb
251
441
  - surveyor.gemspec
252
- - testbed/Gemfile
253
- has_rdoc: true
254
442
  homepage: http://github.com/NUBIC/surveyor
255
443
  licenses: []
256
444
 
@@ -280,9 +468,46 @@ required_rubygems_version: !ruby/object:Gem::Requirement
280
468
  requirements: []
281
469
 
282
470
  rubyforge_project:
283
- rubygems_version: 1.6.2
471
+ rubygems_version: 1.8.10
284
472
  signing_key:
285
473
  specification_version: 3
286
474
  summary: A rails (gem) plugin to enable surveys in your application
287
- test_files: []
288
-
475
+ test_files:
476
+ - features/redcap_parser.feature
477
+ - features/step_definitions/common_setps.rb
478
+ - features/step_definitions/parser_steps.rb
479
+ - features/step_definitions/surveyor_steps.rb
480
+ - features/step_definitions/web_steps.rb
481
+ - features/support/REDCapDemoDatabase_DataDictionary.csv
482
+ - features/support/env.rb
483
+ - features/support/paths.rb
484
+ - features/support/redcap_new_headers.csv
485
+ - features/support/redcap_siblings.csv
486
+ - features/support/redcap_whitespace.csv
487
+ - features/support/selectors.rb
488
+ - features/surveyor.feature
489
+ - features/surveyor_dependencies.feature
490
+ - features/surveyor_parser.feature
491
+ - spec/controllers/surveyor_controller_spec.rb
492
+ - spec/factories.rb
493
+ - spec/helpers/surveyor_helper_spec.rb
494
+ - spec/lib/benchmark_spec.rb
495
+ - spec/lib/common_spec.rb
496
+ - spec/lib/parser_spec.rb
497
+ - spec/lib/redcap_parser_spec.rb
498
+ - spec/lib/unparser_spec.rb
499
+ - spec/models/answer_spec.rb
500
+ - spec/models/dependency_condition_spec.rb
501
+ - spec/models/dependency_spec.rb
502
+ - spec/models/question_group_spec.rb
503
+ - spec/models/question_spec.rb
504
+ - spec/models/response_set_spec.rb
505
+ - spec/models/response_spec.rb
506
+ - spec/models/survey_section_spec.rb
507
+ - spec/models/survey_spec.rb
508
+ - spec/models/validation_condition_spec.rb
509
+ - spec/models/validation_spec.rb
510
+ - spec/rcov.opts
511
+ - spec/spec.opts
512
+ - spec/spec_helper.rb
513
+ has_rdoc: