surveillance 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (276) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +42 -0
  4. data/Rakefile +23 -0
  5. data/app/assets/javascripts/surveillance.js +6 -0
  6. data/app/assets/javascripts/surveillance/admin.coffee +4 -0
  7. data/app/assets/javascripts/surveillance/admin/matrix-questions.coffee +18 -0
  8. data/app/assets/javascripts/surveillance/application.js +17 -0
  9. data/app/assets/javascripts/surveillance/collections/branch_rule_collection.coffee +2 -0
  10. data/app/assets/javascripts/surveillance/form.coffee +7 -0
  11. data/app/assets/javascripts/surveillance/manifest.coffee +7 -0
  12. data/app/assets/javascripts/surveillance/models/branch_rule.coffee +21 -0
  13. data/app/assets/javascripts/surveillance/models/question.coffee +19 -0
  14. data/app/assets/javascripts/surveillance/models/questions/choosable_question.coffee +15 -0
  15. data/app/assets/javascripts/surveillance/models/questions/matrix.coffee +19 -0
  16. data/app/assets/javascripts/surveillance/models/questions/matrix_question.coffee +7 -0
  17. data/app/assets/javascripts/surveillance/models/questions/number.coffee +17 -0
  18. data/app/assets/javascripts/surveillance/vendor/backbone.min.js +1 -0
  19. data/app/assets/javascripts/surveillance/vendor/bootstrap.js +2118 -0
  20. data/app/assets/javascripts/surveillance/vendor/jquery-ui-sortable.js +2256 -0
  21. data/app/assets/javascripts/surveillance/vendor/jquery.scrollto.js +210 -0
  22. data/app/assets/javascripts/surveillance/vendor/underscore.min.js +5 -0
  23. data/app/assets/javascripts/surveillance/views/attempt_view.coffee +74 -0
  24. data/app/assets/javascripts/surveillance/views/question_view.coffee +53 -0
  25. data/app/assets/javascripts/surveillance/views/questions/choice_view.coffee +52 -0
  26. data/app/assets/javascripts/surveillance/views/questions/matrix_question_view.coffee +26 -0
  27. data/app/assets/javascripts/surveillance/views/questions/matrix_view.coffee +21 -0
  28. data/app/assets/javascripts/surveillance/views/questions/number_view.coffee +19 -0
  29. data/app/assets/javascripts/surveillance/views/questions/order.coffee +9 -0
  30. data/app/assets/javascripts/surveillance/views/questions/select_matrix_view.coffee +31 -0
  31. data/app/assets/javascripts/surveillance/views/section_view.coffee +54 -0
  32. data/app/assets/stylesheets/surveillance/admin.sass +1 -0
  33. data/app/assets/stylesheets/surveillance/application.css +14 -0
  34. data/app/assets/stylesheets/surveillance/fonts/glyphicons-halflings-regular.eot +0 -0
  35. data/app/assets/stylesheets/surveillance/fonts/glyphicons-halflings-regular.svg +229 -0
  36. data/app/assets/stylesheets/surveillance/fonts/glyphicons-halflings-regular.ttf +0 -0
  37. data/app/assets/stylesheets/surveillance/fonts/glyphicons-halflings-regular.woff +0 -0
  38. data/app/assets/stylesheets/surveillance/overrides.sass +2 -0
  39. data/app/assets/stylesheets/surveillance/vendor/bootstrap.css +6175 -0
  40. data/app/controllers/concerns/surveillance/attempts_management_concern.rb +51 -0
  41. data/app/controllers/concerns/surveillance/base_controller_concern.rb +37 -0
  42. data/app/controllers/surveillance/admin/attempts_controller.rb +38 -0
  43. data/app/controllers/surveillance/admin/base_controller.rb +15 -0
  44. data/app/controllers/surveillance/admin/exports_controller.rb +24 -0
  45. data/app/controllers/surveillance/admin/options_controller.rb +44 -0
  46. data/app/controllers/surveillance/admin/questions_controller.rb +59 -0
  47. data/app/controllers/surveillance/admin/sections_controller.rb +46 -0
  48. data/app/controllers/surveillance/admin/surveys_controller.rb +43 -0
  49. data/app/controllers/surveillance/application_controller.rb +7 -0
  50. data/app/controllers/surveillance/response/attempts_controller.rb +50 -0
  51. data/app/controllers/surveillance/response/base_controller.rb +38 -0
  52. data/app/controllers/surveillance/response/partial_attempts_controller.rb +15 -0
  53. data/app/controllers/surveillance/surveys_controller.rb +6 -0
  54. data/app/helpers/surveillance/admin/exports_helper.rb +37 -0
  55. data/app/helpers/surveillance/application_helper.rb +84 -0
  56. data/app/models/surveillance/answer.rb +56 -0
  57. data/app/models/surveillance/answer_content.rb +7 -0
  58. data/app/models/surveillance/attempt.rb +146 -0
  59. data/app/models/surveillance/branch_rule.rb +52 -0
  60. data/app/models/surveillance/field_setting.rb +6 -0
  61. data/app/models/surveillance/option.rb +18 -0
  62. data/app/models/surveillance/question.rb +50 -0
  63. data/app/models/surveillance/section.rb +16 -0
  64. data/app/models/surveillance/survey.rb +38 -0
  65. data/app/views/layouts/surveillance/application.html.haml +11 -0
  66. data/app/views/surveillance/admin/attempts/index.html.haml +47 -0
  67. data/app/views/surveillance/admin/attempts/list.html.haml +11 -0
  68. data/app/views/surveillance/admin/attempts/overview.html.haml +6 -0
  69. data/app/views/surveillance/admin/attempts/show.html.haml +62 -0
  70. data/app/views/surveillance/admin/exports/show.rxls +39 -0
  71. data/app/views/surveillance/admin/options/_field.html.haml +11 -0
  72. data/app/views/surveillance/admin/options/_form.html.haml +8 -0
  73. data/app/views/surveillance/admin/options/_list.html.haml +10 -0
  74. data/app/views/surveillance/admin/options/_option.html.haml +13 -0
  75. data/app/views/surveillance/admin/options/edit.html.haml +7 -0
  76. data/app/views/surveillance/admin/options/new.html.haml +7 -0
  77. data/app/views/surveillance/admin/questions/_form.html.haml +35 -0
  78. data/app/views/surveillance/admin/questions/_list.html.haml +17 -0
  79. data/app/views/surveillance/admin/questions/_question.html.haml +27 -0
  80. data/app/views/surveillance/admin/questions/edit.html.haml +7 -0
  81. data/app/views/surveillance/admin/questions/new.html.haml +4 -0
  82. data/app/views/surveillance/admin/sections/_form.html.haml +16 -0
  83. data/app/views/surveillance/admin/sections/_list.html.haml +13 -0
  84. data/app/views/surveillance/admin/sections/_section.html.haml +16 -0
  85. data/app/views/surveillance/admin/sections/edit.html.haml +7 -0
  86. data/app/views/surveillance/admin/sections/new.html.haml +4 -0
  87. data/app/views/surveillance/admin/surveys/_form.html.haml +22 -0
  88. data/app/views/surveillance/admin/surveys/_list.html.haml +13 -0
  89. data/app/views/surveillance/admin/surveys/_survey.html.haml +32 -0
  90. data/app/views/surveillance/admin/surveys/edit.html.haml +7 -0
  91. data/app/views/surveillance/admin/surveys/index.html.haml +1 -0
  92. data/app/views/surveillance/admin/surveys/new.html.haml +4 -0
  93. data/app/views/surveillance/field/date/_form.html.haml +5 -0
  94. data/app/views/surveillance/field/date/_overview.html.haml +2 -0
  95. data/app/views/surveillance/field/date/_show.html.haml +10 -0
  96. data/app/views/surveillance/field/matrix/_form.html.haml +40 -0
  97. data/app/views/surveillance/field/matrix/_overview.html.haml +19 -0
  98. data/app/views/surveillance/field/matrix/_questions_fields.html.haml +11 -0
  99. data/app/views/surveillance/field/matrix/_settings.html.haml +18 -0
  100. data/app/views/surveillance/field/matrix/_show.html.haml +22 -0
  101. data/app/views/surveillance/field/multiple_choices/_form.html.haml +18 -0
  102. data/app/views/surveillance/field/multiple_choices/_settings.html.haml +21 -0
  103. data/app/views/surveillance/field/multiple_choices/_show.html.haml +21 -0
  104. data/app/views/surveillance/field/multiple_choices_matrix/_form.html.haml +33 -0
  105. data/app/views/surveillance/field/multiple_choices_matrix/_show.html.haml +1 -0
  106. data/app/views/surveillance/field/number/_form.html.haml +5 -0
  107. data/app/views/surveillance/field/number/_overview.html.haml +2 -0
  108. data/app/views/surveillance/field/number/_settings.html.haml +2 -0
  109. data/app/views/surveillance/field/number/_show.html.haml +10 -0
  110. data/app/views/surveillance/field/order/_form.html.haml +17 -0
  111. data/app/views/surveillance/field/order/_overview.html.haml +22 -0
  112. data/app/views/surveillance/field/order/_settings.html.haml +11 -0
  113. data/app/views/surveillance/field/order/_show.html.haml +8 -0
  114. data/app/views/surveillance/field/select_matrix/_form.html.haml +17 -0
  115. data/app/views/surveillance/field/shared/_rules_form.html.haml +30 -0
  116. data/app/views/surveillance/field/shared/settings/_boolean.html.haml +9 -0
  117. data/app/views/surveillance/field/shared/settings/_number.html.haml +5 -0
  118. data/app/views/surveillance/field/single_choice/_form.html.haml +16 -0
  119. data/app/views/surveillance/field/single_choice/_overview.html.haml +14 -0
  120. data/app/views/surveillance/field/single_choice/_settings.html.haml +2 -0
  121. data/app/views/surveillance/field/single_choice/_show.html.haml +21 -0
  122. data/app/views/surveillance/field/single_select/_form.html.haml +4 -0
  123. data/app/views/surveillance/field/single_select/_overview.html.haml +14 -0
  124. data/app/views/surveillance/field/single_select/_show.html.haml +13 -0
  125. data/app/views/surveillance/field/text/_form.html.haml +5 -0
  126. data/app/views/surveillance/field/text/_overview.html.haml +2 -0
  127. data/app/views/surveillance/field/text/_show.html.haml +10 -0
  128. data/app/views/surveillance/field/text_area/_form.html.haml +5 -0
  129. data/app/views/surveillance/field/text_area/_overview.html.haml +1 -0
  130. data/app/views/surveillance/field/text_area/_show.html.haml +10 -0
  131. data/app/views/surveillance/response/attempts/complete.html.haml +11 -0
  132. data/app/views/surveillance/response/attempts/edit.html.haml +15 -0
  133. data/app/views/surveillance/sections/_section.html.haml +24 -0
  134. data/app/views/surveillance/surveys/_survey.html.haml +4 -0
  135. data/app/views/surveillance/surveys/index.html.haml +8 -0
  136. data/app/views/surveillance/surveys/show.html.haml +15 -0
  137. data/config/locales/surveillance.fr.yml +165 -0
  138. data/config/routes.rb +30 -0
  139. data/db/migrate/20130626115136_create_surveillance_surveys.rb +13 -0
  140. data/db/migrate/20130626115805_create_surveillance_sections.rb +12 -0
  141. data/db/migrate/20130626130351_create_surveillance_questions.rb +14 -0
  142. data/db/migrate/20130702111125_create_surveillance_options.rb +11 -0
  143. data/db/migrate/20130703113456_create_surveillance_attempts.rb +11 -0
  144. data/db/migrate/20130703115649_create_surveillance_answers.rb +11 -0
  145. data/db/migrate/20130703115723_create_surveillance_answer_contents.rb +10 -0
  146. data/db/migrate/20130710151627_create_surveillance_field_settings.rb +11 -0
  147. data/db/migrate/20130711100032_create_surveillance_answers_options_join_table.rb +7 -0
  148. data/db/migrate/20130729143002_create_surveillance_branch_rules.rb +14 -0
  149. data/db/migrate/20140212153506_add_state_to_surveillance_attempts.rb +6 -0
  150. data/db/migrate/20140213101147_add_access_token_to_surveillance_attempts.rb +5 -0
  151. data/db/migrate/20140213133036_add_partial_to_surveillance_questions.rb +5 -0
  152. data/lib/generators/surveillance/install/install_generator.rb +34 -0
  153. data/lib/generators/surveillance/install/templates/initializer.rb +51 -0
  154. data/lib/surveillance.rb +61 -0
  155. data/lib/surveillance/branch_action.rb +5 -0
  156. data/lib/surveillance/branch_condition.rb +5 -0
  157. data/lib/surveillance/engine.rb +13 -0
  158. data/lib/surveillance/field.rb +58 -0
  159. data/lib/surveillance/field/base.rb +149 -0
  160. data/lib/surveillance/field/date.rb +17 -0
  161. data/lib/surveillance/field/matrix.rb +66 -0
  162. data/lib/surveillance/field/matrix_question.rb +13 -0
  163. data/lib/surveillance/field/multiple_choices.rb +29 -0
  164. data/lib/surveillance/field/multiple_choices_matrix.rb +13 -0
  165. data/lib/surveillance/field/number.rb +34 -0
  166. data/lib/surveillance/field/order.rb +40 -0
  167. data/lib/surveillance/field/order_question.rb +22 -0
  168. data/lib/surveillance/field/other_choice.rb +28 -0
  169. data/lib/surveillance/field/select_matrix.rb +13 -0
  170. data/lib/surveillance/field/single_choice.rb +36 -0
  171. data/lib/surveillance/field/single_select.rb +31 -0
  172. data/lib/surveillance/field/text.rb +13 -0
  173. data/lib/surveillance/field/text_area.rb +6 -0
  174. data/lib/surveillance/partials_collection.rb +7 -0
  175. data/lib/surveillance/setting.rb +24 -0
  176. data/lib/surveillance/settings_collection.rb +17 -0
  177. data/lib/surveillance/validators.rb +7 -0
  178. data/lib/surveillance/validators/answer_validator.rb +9 -0
  179. data/lib/surveillance/version.rb +3 -0
  180. data/lib/tasks/surveillance_tasks.rake +4 -0
  181. data/spec/dummy/README.rdoc +28 -0
  182. data/spec/dummy/Rakefile +6 -0
  183. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  184. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  185. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  186. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  187. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  188. data/spec/dummy/bin/bundle +3 -0
  189. data/spec/dummy/bin/rails +4 -0
  190. data/spec/dummy/bin/rake +4 -0
  191. data/spec/dummy/config.ru +4 -0
  192. data/spec/dummy/config/application.rb +28 -0
  193. data/spec/dummy/config/boot.rb +5 -0
  194. data/spec/dummy/config/database.yml +25 -0
  195. data/spec/dummy/config/environment.rb +5 -0
  196. data/spec/dummy/config/environments/development.rb +29 -0
  197. data/spec/dummy/config/environments/production.rb +80 -0
  198. data/spec/dummy/config/environments/test.rb +36 -0
  199. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  200. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  201. data/spec/dummy/config/initializers/inflections.rb +16 -0
  202. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  203. data/spec/dummy/config/initializers/secret_token.rb +12 -0
  204. data/spec/dummy/config/initializers/session_store.rb +3 -0
  205. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  206. data/spec/dummy/config/locales/en.yml +23 -0
  207. data/spec/dummy/config/locales/rails.fr.yml +226 -0
  208. data/spec/dummy/config/routes.rb +3 -0
  209. data/spec/dummy/db/development.sqlite3 +0 -0
  210. data/spec/dummy/db/migrate/20140113224541_create_surveillance_surveys.surveillance.rb +14 -0
  211. data/spec/dummy/db/migrate/20140113224542_create_surveillance_sections.surveillance.rb +13 -0
  212. data/spec/dummy/db/migrate/20140113224543_create_surveillance_questions.surveillance.rb +15 -0
  213. data/spec/dummy/db/migrate/20140113224544_create_surveillance_options.surveillance.rb +12 -0
  214. data/spec/dummy/db/migrate/20140113224545_create_surveillance_attempts.surveillance.rb +12 -0
  215. data/spec/dummy/db/migrate/20140113224546_create_surveillance_answers.surveillance.rb +12 -0
  216. data/spec/dummy/db/migrate/20140113224547_create_surveillance_answer_contents.surveillance.rb +11 -0
  217. data/spec/dummy/db/migrate/20140113224548_create_surveillance_field_settings.surveillance.rb +12 -0
  218. data/spec/dummy/db/migrate/20140113224549_create_surveillance_answers_options_join_table.surveillance.rb +8 -0
  219. data/spec/dummy/db/migrate/20140113224550_create_surveillance_branch_rules.surveillance.rb +15 -0
  220. data/spec/dummy/db/schema.rb +103 -0
  221. data/spec/dummy/log/development.log +38066 -0
  222. data/spec/dummy/public/404.html +58 -0
  223. data/spec/dummy/public/422.html +58 -0
  224. data/spec/dummy/public/500.html +57 -0
  225. data/spec/dummy/public/favicon.ico +0 -0
  226. data/spec/dummy/spec +1 -0
  227. data/spec/dummy/tmp/cache/assets/development/sprockets/0018421aaf29044fbd13363bbdfd8f44 +0 -0
  228. data/spec/dummy/tmp/cache/assets/development/sprockets/017d7a30ec05c0fb0265fb5167c73ee9 +0 -0
  229. data/spec/dummy/tmp/cache/assets/development/sprockets/034b76adeb89d6ca63cd9eea649331f5 +0 -0
  230. data/spec/dummy/tmp/cache/assets/development/sprockets/05de8fbfacab66a0efe4f9790b2ac723 +0 -0
  231. data/spec/dummy/tmp/cache/assets/development/sprockets/0811effcff3b9107d49398bdba7488e5 +0 -0
  232. data/spec/dummy/tmp/cache/assets/development/sprockets/0d45beae32861dc508fc2db09b9d95b3 +0 -0
  233. data/spec/dummy/tmp/cache/assets/development/sprockets/0d4961f3da5a0d5234736a6abbf42226 +0 -0
  234. data/spec/dummy/tmp/cache/assets/development/sprockets/0f491ed240e1a27bbc05e5213afd48bb +0 -0
  235. data/spec/dummy/tmp/cache/assets/development/sprockets/10e2a0dbdbb68c055e8b7ccd6f2906d8 +0 -0
  236. data/spec/dummy/tmp/cache/assets/development/sprockets/1173cdef6c662a55ef590489fe26e8fe +0 -0
  237. data/spec/dummy/tmp/cache/assets/development/sprockets/1b3e93127523ec0f3c93bcd91d4390dc +0 -0
  238. data/spec/dummy/tmp/cache/assets/development/sprockets/1bb56fbf17ccbb14dcbaa4d6d639e620 +0 -0
  239. data/spec/dummy/tmp/cache/assets/development/sprockets/2bd0ba6a1598c9fa67081d8f906db6f8 +0 -0
  240. data/spec/dummy/tmp/cache/assets/development/sprockets/3fbe053f103de46cc1b320f059b99c1f +0 -0
  241. data/spec/dummy/tmp/cache/assets/development/sprockets/4144b095447efb810a548b99e41df9eb +0 -0
  242. data/spec/dummy/tmp/cache/assets/development/sprockets/421d097cb8d88f975d8ccf75c9e5e306 +0 -0
  243. data/spec/dummy/tmp/cache/assets/development/sprockets/474bc1c9055df6cc1cdff58817a6cb41 +0 -0
  244. data/spec/dummy/tmp/cache/assets/development/sprockets/4829d251eeb22cdbd05b27b6ba809538 +0 -0
  245. data/spec/dummy/tmp/cache/assets/development/sprockets/4f584ca3f0c8ec62906e6f03bc5963c2 +0 -0
  246. data/spec/dummy/tmp/cache/assets/development/sprockets/55d647d88e01b91b2a146e7db0481c09 +0 -0
  247. data/spec/dummy/tmp/cache/assets/development/sprockets/62db8b5885b79c5dc0667fab0fbf46bb +0 -0
  248. data/spec/dummy/tmp/cache/assets/development/sprockets/7080a4d265fe784c9704db71f81da832 +0 -0
  249. data/spec/dummy/tmp/cache/assets/development/sprockets/7220af243fd39e3dffd233252e4a8c17 +0 -0
  250. data/spec/dummy/tmp/cache/assets/development/sprockets/7cd0e5bfe12b86ed494d02e8e5b62bbf +0 -0
  251. data/spec/dummy/tmp/cache/assets/development/sprockets/7e37a8ae2a50653b388d57c573d12548 +0 -0
  252. data/spec/dummy/tmp/cache/assets/development/sprockets/8113790dad1da8858c82cfc3eb14ef87 +0 -0
  253. data/spec/dummy/tmp/cache/assets/development/sprockets/83997102fc04f275cd6cd8c1ddb55835 +0 -0
  254. data/spec/dummy/tmp/cache/assets/development/sprockets/8a7b047a16adbc640e03eaabe4a4fe93 +0 -0
  255. data/spec/dummy/tmp/cache/assets/development/sprockets/90b48fb4bfa22ddcd063734065d27086 +0 -0
  256. data/spec/dummy/tmp/cache/assets/development/sprockets/935886b24c90d344752d2a80e3657801 +0 -0
  257. data/spec/dummy/tmp/cache/assets/development/sprockets/9606a6d70af63ce3fea26ded0a69d5c2 +0 -0
  258. data/spec/dummy/tmp/cache/assets/development/sprockets/97db73fdf0bbab24fb92892c61ec7a9b +0 -0
  259. data/spec/dummy/tmp/cache/assets/development/sprockets/a23bb60554e715c228ae3cdfb5d81807 +0 -0
  260. data/spec/dummy/tmp/cache/assets/development/sprockets/ad17e102b9f9288a9e919b0b0a2ab05b +0 -0
  261. data/spec/dummy/tmp/cache/assets/development/sprockets/c26ae1f6640b52c232bd392a6e2f7110 +0 -0
  262. data/spec/dummy/tmp/cache/assets/development/sprockets/c6cb3deca0f08bd9569d00fca09272da +0 -0
  263. data/spec/dummy/tmp/cache/assets/development/sprockets/d39b4eebbd0042342e10497a34fd6378 +0 -0
  264. data/spec/dummy/tmp/cache/assets/development/sprockets/d5ee573b2abdcdc245a830bde2dd76f3 +0 -0
  265. data/spec/dummy/tmp/cache/assets/development/sprockets/d6487e59842ff206d84f6de5e3a7400c +0 -0
  266. data/spec/dummy/tmp/cache/assets/development/sprockets/dafa124ddd0e828d7c5c0a5c4db455ba +0 -0
  267. data/spec/dummy/tmp/cache/assets/development/sprockets/e5bbd03518f9abc3e9bc1373c74fd3f1 +0 -0
  268. data/spec/dummy/tmp/cache/assets/development/sprockets/ed5aa255edff522c2e36e6f0151ff747 +0 -0
  269. data/spec/dummy/tmp/cache/assets/development/sprockets/ee263a426f6530013f86aa860448fa91 +0 -0
  270. data/spec/dummy/tmp/cache/assets/development/sprockets/efa0c4d855d425fdf4b63ab26c45e94c +0 -0
  271. data/spec/dummy/tmp/cache/assets/development/sprockets/f2881259fd5bad1c0a5b1ab5dff97c47 +0 -0
  272. data/spec/dummy/tmp/cache/assets/development/sprockets/f34108e540cff2fbc32036da452ca6ae +0 -0
  273. data/spec/dummy/tmp/cache/assets/development/sprockets/f7e7e00ef8efc13c6a2628e453344440 +0 -0
  274. data/spec/dummy/tmp/cache/assets/development/sprockets/f9a44009076e46b0f35af5e7031a1871 +0 -0
  275. data/spec/spec_helper.rb +87 -0
  276. metadata +598 -0
@@ -0,0 +1,58 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <style>
6
+ body {
7
+ background-color: #EFEFEF;
8
+ color: #2E2F30;
9
+ text-align: center;
10
+ font-family: arial, sans-serif;
11
+ }
12
+
13
+ div.dialog {
14
+ width: 25em;
15
+ margin: 4em auto 0 auto;
16
+ border: 1px solid #CCC;
17
+ border-right-color: #999;
18
+ border-left-color: #999;
19
+ border-bottom-color: #BBB;
20
+ border-top: #B00100 solid 4px;
21
+ border-top-left-radius: 9px;
22
+ border-top-right-radius: 9px;
23
+ background-color: white;
24
+ padding: 7px 4em 0 4em;
25
+ }
26
+
27
+ h1 {
28
+ font-size: 100%;
29
+ color: #730E15;
30
+ line-height: 1.5em;
31
+ }
32
+
33
+ body > p {
34
+ width: 33em;
35
+ margin: 0 auto 1em;
36
+ padding: 1em 0;
37
+ background-color: #F7F7F7;
38
+ border: 1px solid #CCC;
39
+ border-right-color: #999;
40
+ border-bottom-color: #999;
41
+ border-bottom-left-radius: 4px;
42
+ border-bottom-right-radius: 4px;
43
+ border-top-color: #DADADA;
44
+ color: #666;
45
+ box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
46
+ }
47
+ </style>
48
+ </head>
49
+
50
+ <body>
51
+ <!-- This file lives in public/404.html -->
52
+ <div class="dialog">
53
+ <h1>The page you were looking for doesn't exist.</h1>
54
+ <p>You may have mistyped the address or the page may have moved.</p>
55
+ </div>
56
+ <p>If you are the application owner check the logs for more information.</p>
57
+ </body>
58
+ </html>
@@ -0,0 +1,58 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <style>
6
+ body {
7
+ background-color: #EFEFEF;
8
+ color: #2E2F30;
9
+ text-align: center;
10
+ font-family: arial, sans-serif;
11
+ }
12
+
13
+ div.dialog {
14
+ width: 25em;
15
+ margin: 4em auto 0 auto;
16
+ border: 1px solid #CCC;
17
+ border-right-color: #999;
18
+ border-left-color: #999;
19
+ border-bottom-color: #BBB;
20
+ border-top: #B00100 solid 4px;
21
+ border-top-left-radius: 9px;
22
+ border-top-right-radius: 9px;
23
+ background-color: white;
24
+ padding: 7px 4em 0 4em;
25
+ }
26
+
27
+ h1 {
28
+ font-size: 100%;
29
+ color: #730E15;
30
+ line-height: 1.5em;
31
+ }
32
+
33
+ body > p {
34
+ width: 33em;
35
+ margin: 0 auto 1em;
36
+ padding: 1em 0;
37
+ background-color: #F7F7F7;
38
+ border: 1px solid #CCC;
39
+ border-right-color: #999;
40
+ border-bottom-color: #999;
41
+ border-bottom-left-radius: 4px;
42
+ border-bottom-right-radius: 4px;
43
+ border-top-color: #DADADA;
44
+ color: #666;
45
+ box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
46
+ }
47
+ </style>
48
+ </head>
49
+
50
+ <body>
51
+ <!-- This file lives in public/422.html -->
52
+ <div class="dialog">
53
+ <h1>The change you wanted was rejected.</h1>
54
+ <p>Maybe you tried to change something you didn't have access to.</p>
55
+ </div>
56
+ <p>If you are the application owner check the logs for more information.</p>
57
+ </body>
58
+ </html>
@@ -0,0 +1,57 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <style>
6
+ body {
7
+ background-color: #EFEFEF;
8
+ color: #2E2F30;
9
+ text-align: center;
10
+ font-family: arial, sans-serif;
11
+ }
12
+
13
+ div.dialog {
14
+ width: 25em;
15
+ margin: 4em auto 0 auto;
16
+ border: 1px solid #CCC;
17
+ border-right-color: #999;
18
+ border-left-color: #999;
19
+ border-bottom-color: #BBB;
20
+ border-top: #B00100 solid 4px;
21
+ border-top-left-radius: 9px;
22
+ border-top-right-radius: 9px;
23
+ background-color: white;
24
+ padding: 7px 4em 0 4em;
25
+ }
26
+
27
+ h1 {
28
+ font-size: 100%;
29
+ color: #730E15;
30
+ line-height: 1.5em;
31
+ }
32
+
33
+ body > p {
34
+ width: 33em;
35
+ margin: 0 auto 1em;
36
+ padding: 1em 0;
37
+ background-color: #F7F7F7;
38
+ border: 1px solid #CCC;
39
+ border-right-color: #999;
40
+ border-bottom-color: #999;
41
+ border-bottom-left-radius: 4px;
42
+ border-bottom-right-radius: 4px;
43
+ border-top-color: #DADADA;
44
+ color: #666;
45
+ box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
46
+ }
47
+ </style>
48
+ </head>
49
+
50
+ <body>
51
+ <!-- This file lives in public/500.html -->
52
+ <div class="dialog">
53
+ <h1>We're sorry, but something went wrong.</h1>
54
+ </div>
55
+ <p>If you are the application owner check the logs for more information.</p>
56
+ </body>
57
+ </html>
File without changes
@@ -0,0 +1 @@
1
+ spec/dummy/../../spec
@@ -0,0 +1,87 @@
1
+ require 'rubygems'
2
+ require 'spork'
3
+ require 'pp'
4
+
5
+ # uncomment the following line to use spork with the debugger
6
+ # require 'spork/ext/ruby-debug'
7
+
8
+ Spork.prefork do
9
+ ENV["RAILS_ENV"] ||= 'test'
10
+
11
+ unless ENV['DRB']
12
+ require 'simplecov'
13
+ SimpleCov.start 'rails'
14
+ end
15
+
16
+ require "rails/application"
17
+
18
+ Spork.trap_method(Rails::Application, :eager_load!)
19
+ Spork.trap_method(Rails::Application::RoutesReloader, :reload!)
20
+
21
+ require File.expand_path("../dummy/config/environment", __FILE__)
22
+ require 'rspec/rails'
23
+ require 'rspec/autorun'
24
+
25
+ require 'shoulda/matchers/integrations/rspec'
26
+
27
+ RSpec.configure do |config|
28
+ ### Mock Framework
29
+ #
30
+ # If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
31
+ #
32
+ config.mock_framework = :rspec
33
+
34
+ config.before(:suite) do
35
+ DatabaseCleaner.clean_with(:truncation)
36
+ end
37
+
38
+ config.before(:each) do
39
+ DatabaseCleaner.strategy = :truncation
40
+ end
41
+
42
+ config.before(:each) do
43
+ DatabaseCleaner.start
44
+ end
45
+
46
+ config.after(:each) do
47
+ DatabaseCleaner.clean
48
+ end
49
+
50
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
51
+ # examples within a transaction, remove the following line or assign false
52
+ # instead of true.
53
+ config.use_transactional_fixtures = false
54
+
55
+ # If true, the base class of anonymous controllers will be inferred
56
+ # automatically. This will be the default behavior in future versions of
57
+ # rspec-rails.
58
+ config.infer_base_class_for_anonymous_controllers = false
59
+
60
+ # Run specs in random order to surface order dependencies. If you find an
61
+ # order dependency and want to debug it, you can fix the order by providing
62
+ # the seed, which is printed after each run.
63
+ # --seed 1234
64
+ config.order = "random"
65
+
66
+ # config.render_views = true
67
+ end
68
+
69
+ end
70
+
71
+ Spork.each_run do
72
+ if ENV['DRB']
73
+ require 'simplecov'
74
+ SimpleCov.start 'rails'
75
+ end
76
+
77
+ ActiveRecord::Migration.check_pending! if defined?(ActiveRecord::Migration)
78
+
79
+ require 'capybara/rspec'
80
+
81
+ # Requires supporting ruby files with custom matchers and macros, etc,
82
+ # in spec/support/ and its subdirectories.
83
+ Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
84
+ Dir[Rails.root.join("lib/**/*.rb")].each { |f| require f }
85
+
86
+ FactoryGirl.reload
87
+ end
metadata ADDED
@@ -0,0 +1,598 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: surveillance
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Valentin Ballestrino
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-01-10 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '3.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '3.2'
27
+ - !ruby/object:Gem::Dependency
28
+ name: decent_exposure
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: haml
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: haml-rails
57
+ requirement: !ruby/object:Gem::Requirement
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
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: coffee-rails
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: 3.0.0
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: 3.0.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: jquery-rails
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '2.0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '2.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: sass-rails
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '3.0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '3.0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: simple_form
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: aasm
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: spreadsheet_on_rails
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: sqlite3
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: rspec-rails
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: 3.0.0.beta
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
179
+ - !ruby/object:Gem::Version
180
+ version: 3.0.0.beta
181
+ - !ruby/object:Gem::Dependency
182
+ name: factory_girl_rails
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - "~>"
186
+ - !ruby/object:Gem::Version
187
+ version: '4.0'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - "~>"
193
+ - !ruby/object:Gem::Version
194
+ version: '4.0'
195
+ - !ruby/object:Gem::Dependency
196
+ name: shoulda-matchers
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: '0'
202
+ type: :development
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
209
+ - !ruby/object:Gem::Dependency
210
+ name: database_cleaner
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ version: '0'
216
+ type: :development
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - ">="
221
+ - !ruby/object:Gem::Version
222
+ version: '0'
223
+ - !ruby/object:Gem::Dependency
224
+ name: spork
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - "~>"
228
+ - !ruby/object:Gem::Version
229
+ version: 1.0rc
230
+ type: :development
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - "~>"
235
+ - !ruby/object:Gem::Version
236
+ version: 1.0rc
237
+ - !ruby/object:Gem::Dependency
238
+ name: guard-spork
239
+ requirement: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - ">="
242
+ - !ruby/object:Gem::Version
243
+ version: '0'
244
+ type: :development
245
+ prerelease: false
246
+ version_requirements: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - ">="
249
+ - !ruby/object:Gem::Version
250
+ version: '0'
251
+ - !ruby/object:Gem::Dependency
252
+ name: guard-rspec
253
+ requirement: !ruby/object:Gem::Requirement
254
+ requirements:
255
+ - - ">="
256
+ - !ruby/object:Gem::Version
257
+ version: '0'
258
+ type: :development
259
+ prerelease: false
260
+ version_requirements: !ruby/object:Gem::Requirement
261
+ requirements:
262
+ - - ">="
263
+ - !ruby/object:Gem::Version
264
+ version: '0'
265
+ - !ruby/object:Gem::Dependency
266
+ name: terminal-notifier-guard
267
+ requirement: !ruby/object:Gem::Requirement
268
+ requirements:
269
+ - - ">="
270
+ - !ruby/object:Gem::Version
271
+ version: '0'
272
+ type: :development
273
+ prerelease: false
274
+ version_requirements: !ruby/object:Gem::Requirement
275
+ requirements:
276
+ - - ">="
277
+ - !ruby/object:Gem::Version
278
+ version: '0'
279
+ - !ruby/object:Gem::Dependency
280
+ name: simplecov
281
+ requirement: !ruby/object:Gem::Requirement
282
+ requirements:
283
+ - - ">="
284
+ - !ruby/object:Gem::Version
285
+ version: '0'
286
+ type: :development
287
+ prerelease: false
288
+ version_requirements: !ruby/object:Gem::Requirement
289
+ requirements:
290
+ - - ">="
291
+ - !ruby/object:Gem::Version
292
+ version: '0'
293
+ description: Allows you to give your users the ability to create polls in your Rails
294
+ app
295
+ email:
296
+ - vala@glyph.fr
297
+ executables: []
298
+ extensions: []
299
+ extra_rdoc_files: []
300
+ files:
301
+ - MIT-LICENSE
302
+ - README.md
303
+ - Rakefile
304
+ - app/assets/javascripts/surveillance.js
305
+ - app/assets/javascripts/surveillance/admin.coffee
306
+ - app/assets/javascripts/surveillance/admin/matrix-questions.coffee
307
+ - app/assets/javascripts/surveillance/application.js
308
+ - app/assets/javascripts/surveillance/collections/branch_rule_collection.coffee
309
+ - app/assets/javascripts/surveillance/form.coffee
310
+ - app/assets/javascripts/surveillance/manifest.coffee
311
+ - app/assets/javascripts/surveillance/models/branch_rule.coffee
312
+ - app/assets/javascripts/surveillance/models/question.coffee
313
+ - app/assets/javascripts/surveillance/models/questions/choosable_question.coffee
314
+ - app/assets/javascripts/surveillance/models/questions/matrix.coffee
315
+ - app/assets/javascripts/surveillance/models/questions/matrix_question.coffee
316
+ - app/assets/javascripts/surveillance/models/questions/number.coffee
317
+ - app/assets/javascripts/surveillance/vendor/backbone.min.js
318
+ - app/assets/javascripts/surveillance/vendor/bootstrap.js
319
+ - app/assets/javascripts/surveillance/vendor/jquery-ui-sortable.js
320
+ - app/assets/javascripts/surveillance/vendor/jquery.scrollto.js
321
+ - app/assets/javascripts/surveillance/vendor/underscore.min.js
322
+ - app/assets/javascripts/surveillance/views/attempt_view.coffee
323
+ - app/assets/javascripts/surveillance/views/question_view.coffee
324
+ - app/assets/javascripts/surveillance/views/questions/choice_view.coffee
325
+ - app/assets/javascripts/surveillance/views/questions/matrix_question_view.coffee
326
+ - app/assets/javascripts/surveillance/views/questions/matrix_view.coffee
327
+ - app/assets/javascripts/surveillance/views/questions/number_view.coffee
328
+ - app/assets/javascripts/surveillance/views/questions/order.coffee
329
+ - app/assets/javascripts/surveillance/views/questions/select_matrix_view.coffee
330
+ - app/assets/javascripts/surveillance/views/section_view.coffee
331
+ - app/assets/stylesheets/surveillance/admin.sass
332
+ - app/assets/stylesheets/surveillance/application.css
333
+ - app/assets/stylesheets/surveillance/fonts/glyphicons-halflings-regular.eot
334
+ - app/assets/stylesheets/surveillance/fonts/glyphicons-halflings-regular.svg
335
+ - app/assets/stylesheets/surveillance/fonts/glyphicons-halflings-regular.ttf
336
+ - app/assets/stylesheets/surveillance/fonts/glyphicons-halflings-regular.woff
337
+ - app/assets/stylesheets/surveillance/overrides.sass
338
+ - app/assets/stylesheets/surveillance/vendor/bootstrap.css
339
+ - app/controllers/concerns/surveillance/attempts_management_concern.rb
340
+ - app/controllers/concerns/surveillance/base_controller_concern.rb
341
+ - app/controllers/surveillance/admin/attempts_controller.rb
342
+ - app/controllers/surveillance/admin/base_controller.rb
343
+ - app/controllers/surveillance/admin/exports_controller.rb
344
+ - app/controllers/surveillance/admin/options_controller.rb
345
+ - app/controllers/surveillance/admin/questions_controller.rb
346
+ - app/controllers/surveillance/admin/sections_controller.rb
347
+ - app/controllers/surveillance/admin/surveys_controller.rb
348
+ - app/controllers/surveillance/application_controller.rb
349
+ - app/controllers/surveillance/response/attempts_controller.rb
350
+ - app/controllers/surveillance/response/base_controller.rb
351
+ - app/controllers/surveillance/response/partial_attempts_controller.rb
352
+ - app/controllers/surveillance/surveys_controller.rb
353
+ - app/helpers/surveillance/admin/exports_helper.rb
354
+ - app/helpers/surveillance/application_helper.rb
355
+ - app/models/surveillance/answer.rb
356
+ - app/models/surveillance/answer_content.rb
357
+ - app/models/surveillance/attempt.rb
358
+ - app/models/surveillance/branch_rule.rb
359
+ - app/models/surveillance/field_setting.rb
360
+ - app/models/surveillance/option.rb
361
+ - app/models/surveillance/question.rb
362
+ - app/models/surveillance/section.rb
363
+ - app/models/surveillance/survey.rb
364
+ - app/views/layouts/surveillance/application.html.haml
365
+ - app/views/surveillance/admin/attempts/index.html.haml
366
+ - app/views/surveillance/admin/attempts/list.html.haml
367
+ - app/views/surveillance/admin/attempts/overview.html.haml
368
+ - app/views/surveillance/admin/attempts/show.html.haml
369
+ - app/views/surveillance/admin/exports/show.rxls
370
+ - app/views/surveillance/admin/options/_field.html.haml
371
+ - app/views/surveillance/admin/options/_form.html.haml
372
+ - app/views/surveillance/admin/options/_list.html.haml
373
+ - app/views/surveillance/admin/options/_option.html.haml
374
+ - app/views/surveillance/admin/options/edit.html.haml
375
+ - app/views/surveillance/admin/options/new.html.haml
376
+ - app/views/surveillance/admin/questions/_form.html.haml
377
+ - app/views/surveillance/admin/questions/_list.html.haml
378
+ - app/views/surveillance/admin/questions/_question.html.haml
379
+ - app/views/surveillance/admin/questions/edit.html.haml
380
+ - app/views/surveillance/admin/questions/new.html.haml
381
+ - app/views/surveillance/admin/sections/_form.html.haml
382
+ - app/views/surveillance/admin/sections/_list.html.haml
383
+ - app/views/surveillance/admin/sections/_section.html.haml
384
+ - app/views/surveillance/admin/sections/edit.html.haml
385
+ - app/views/surveillance/admin/sections/new.html.haml
386
+ - app/views/surveillance/admin/surveys/_form.html.haml
387
+ - app/views/surveillance/admin/surveys/_list.html.haml
388
+ - app/views/surveillance/admin/surveys/_survey.html.haml
389
+ - app/views/surveillance/admin/surveys/edit.html.haml
390
+ - app/views/surveillance/admin/surveys/index.html.haml
391
+ - app/views/surveillance/admin/surveys/new.html.haml
392
+ - app/views/surveillance/field/date/_form.html.haml
393
+ - app/views/surveillance/field/date/_overview.html.haml
394
+ - app/views/surveillance/field/date/_show.html.haml
395
+ - app/views/surveillance/field/matrix/_form.html.haml
396
+ - app/views/surveillance/field/matrix/_overview.html.haml
397
+ - app/views/surveillance/field/matrix/_questions_fields.html.haml
398
+ - app/views/surveillance/field/matrix/_settings.html.haml
399
+ - app/views/surveillance/field/matrix/_show.html.haml
400
+ - app/views/surveillance/field/multiple_choices/_form.html.haml
401
+ - app/views/surveillance/field/multiple_choices/_settings.html.haml
402
+ - app/views/surveillance/field/multiple_choices/_show.html.haml
403
+ - app/views/surveillance/field/multiple_choices_matrix/_form.html.haml
404
+ - app/views/surveillance/field/multiple_choices_matrix/_show.html.haml
405
+ - app/views/surveillance/field/number/_form.html.haml
406
+ - app/views/surveillance/field/number/_overview.html.haml
407
+ - app/views/surveillance/field/number/_settings.html.haml
408
+ - app/views/surveillance/field/number/_show.html.haml
409
+ - app/views/surveillance/field/order/_form.html.haml
410
+ - app/views/surveillance/field/order/_overview.html.haml
411
+ - app/views/surveillance/field/order/_settings.html.haml
412
+ - app/views/surveillance/field/order/_show.html.haml
413
+ - app/views/surveillance/field/select_matrix/_form.html.haml
414
+ - app/views/surveillance/field/shared/_rules_form.html.haml
415
+ - app/views/surveillance/field/shared/settings/_boolean.html.haml
416
+ - app/views/surveillance/field/shared/settings/_number.html.haml
417
+ - app/views/surveillance/field/single_choice/_form.html.haml
418
+ - app/views/surveillance/field/single_choice/_overview.html.haml
419
+ - app/views/surveillance/field/single_choice/_settings.html.haml
420
+ - app/views/surveillance/field/single_choice/_show.html.haml
421
+ - app/views/surveillance/field/single_select/_form.html.haml
422
+ - app/views/surveillance/field/single_select/_overview.html.haml
423
+ - app/views/surveillance/field/single_select/_show.html.haml
424
+ - app/views/surveillance/field/text/_form.html.haml
425
+ - app/views/surveillance/field/text/_overview.html.haml
426
+ - app/views/surveillance/field/text/_show.html.haml
427
+ - app/views/surveillance/field/text_area/_form.html.haml
428
+ - app/views/surveillance/field/text_area/_overview.html.haml
429
+ - app/views/surveillance/field/text_area/_show.html.haml
430
+ - app/views/surveillance/response/attempts/complete.html.haml
431
+ - app/views/surveillance/response/attempts/edit.html.haml
432
+ - app/views/surveillance/sections/_section.html.haml
433
+ - app/views/surveillance/surveys/_survey.html.haml
434
+ - app/views/surveillance/surveys/index.html.haml
435
+ - app/views/surveillance/surveys/show.html.haml
436
+ - config/locales/surveillance.fr.yml
437
+ - config/routes.rb
438
+ - db/migrate/20130626115136_create_surveillance_surveys.rb
439
+ - db/migrate/20130626115805_create_surveillance_sections.rb
440
+ - db/migrate/20130626130351_create_surveillance_questions.rb
441
+ - db/migrate/20130702111125_create_surveillance_options.rb
442
+ - db/migrate/20130703113456_create_surveillance_attempts.rb
443
+ - db/migrate/20130703115649_create_surveillance_answers.rb
444
+ - db/migrate/20130703115723_create_surveillance_answer_contents.rb
445
+ - db/migrate/20130710151627_create_surveillance_field_settings.rb
446
+ - db/migrate/20130711100032_create_surveillance_answers_options_join_table.rb
447
+ - db/migrate/20130729143002_create_surveillance_branch_rules.rb
448
+ - db/migrate/20140212153506_add_state_to_surveillance_attempts.rb
449
+ - db/migrate/20140213101147_add_access_token_to_surveillance_attempts.rb
450
+ - db/migrate/20140213133036_add_partial_to_surveillance_questions.rb
451
+ - lib/generators/surveillance/install/install_generator.rb
452
+ - lib/generators/surveillance/install/templates/initializer.rb
453
+ - lib/surveillance.rb
454
+ - lib/surveillance/branch_action.rb
455
+ - lib/surveillance/branch_condition.rb
456
+ - lib/surveillance/engine.rb
457
+ - lib/surveillance/field.rb
458
+ - lib/surveillance/field/base.rb
459
+ - lib/surveillance/field/date.rb
460
+ - lib/surveillance/field/matrix.rb
461
+ - lib/surveillance/field/matrix_question.rb
462
+ - lib/surveillance/field/multiple_choices.rb
463
+ - lib/surveillance/field/multiple_choices_matrix.rb
464
+ - lib/surveillance/field/number.rb
465
+ - lib/surveillance/field/order.rb
466
+ - lib/surveillance/field/order_question.rb
467
+ - lib/surveillance/field/other_choice.rb
468
+ - lib/surveillance/field/select_matrix.rb
469
+ - lib/surveillance/field/single_choice.rb
470
+ - lib/surveillance/field/single_select.rb
471
+ - lib/surveillance/field/text.rb
472
+ - lib/surveillance/field/text_area.rb
473
+ - lib/surveillance/partials_collection.rb
474
+ - lib/surveillance/setting.rb
475
+ - lib/surveillance/settings_collection.rb
476
+ - lib/surveillance/validators.rb
477
+ - lib/surveillance/validators/answer_validator.rb
478
+ - lib/surveillance/version.rb
479
+ - lib/tasks/surveillance_tasks.rake
480
+ - spec/dummy/README.rdoc
481
+ - spec/dummy/Rakefile
482
+ - spec/dummy/app/assets/javascripts/application.js
483
+ - spec/dummy/app/assets/stylesheets/application.css
484
+ - spec/dummy/app/controllers/application_controller.rb
485
+ - spec/dummy/app/helpers/application_helper.rb
486
+ - spec/dummy/app/views/layouts/application.html.erb
487
+ - spec/dummy/bin/bundle
488
+ - spec/dummy/bin/rails
489
+ - spec/dummy/bin/rake
490
+ - spec/dummy/config.ru
491
+ - spec/dummy/config/application.rb
492
+ - spec/dummy/config/boot.rb
493
+ - spec/dummy/config/database.yml
494
+ - spec/dummy/config/environment.rb
495
+ - spec/dummy/config/environments/development.rb
496
+ - spec/dummy/config/environments/production.rb
497
+ - spec/dummy/config/environments/test.rb
498
+ - spec/dummy/config/initializers/backtrace_silencers.rb
499
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
500
+ - spec/dummy/config/initializers/inflections.rb
501
+ - spec/dummy/config/initializers/mime_types.rb
502
+ - spec/dummy/config/initializers/secret_token.rb
503
+ - spec/dummy/config/initializers/session_store.rb
504
+ - spec/dummy/config/initializers/wrap_parameters.rb
505
+ - spec/dummy/config/locales/en.yml
506
+ - spec/dummy/config/locales/rails.fr.yml
507
+ - spec/dummy/config/routes.rb
508
+ - spec/dummy/db/development.sqlite3
509
+ - spec/dummy/db/migrate/20140113224541_create_surveillance_surveys.surveillance.rb
510
+ - spec/dummy/db/migrate/20140113224542_create_surveillance_sections.surveillance.rb
511
+ - spec/dummy/db/migrate/20140113224543_create_surveillance_questions.surveillance.rb
512
+ - spec/dummy/db/migrate/20140113224544_create_surveillance_options.surveillance.rb
513
+ - spec/dummy/db/migrate/20140113224545_create_surveillance_attempts.surveillance.rb
514
+ - spec/dummy/db/migrate/20140113224546_create_surveillance_answers.surveillance.rb
515
+ - spec/dummy/db/migrate/20140113224547_create_surveillance_answer_contents.surveillance.rb
516
+ - spec/dummy/db/migrate/20140113224548_create_surveillance_field_settings.surveillance.rb
517
+ - spec/dummy/db/migrate/20140113224549_create_surveillance_answers_options_join_table.surveillance.rb
518
+ - spec/dummy/db/migrate/20140113224550_create_surveillance_branch_rules.surveillance.rb
519
+ - spec/dummy/db/schema.rb
520
+ - spec/dummy/log/development.log
521
+ - spec/dummy/public/404.html
522
+ - spec/dummy/public/422.html
523
+ - spec/dummy/public/500.html
524
+ - spec/dummy/public/favicon.ico
525
+ - spec/dummy/spec
526
+ - spec/dummy/tmp/cache/assets/development/sprockets/0018421aaf29044fbd13363bbdfd8f44
527
+ - spec/dummy/tmp/cache/assets/development/sprockets/017d7a30ec05c0fb0265fb5167c73ee9
528
+ - spec/dummy/tmp/cache/assets/development/sprockets/034b76adeb89d6ca63cd9eea649331f5
529
+ - spec/dummy/tmp/cache/assets/development/sprockets/05de8fbfacab66a0efe4f9790b2ac723
530
+ - spec/dummy/tmp/cache/assets/development/sprockets/0811effcff3b9107d49398bdba7488e5
531
+ - spec/dummy/tmp/cache/assets/development/sprockets/0d45beae32861dc508fc2db09b9d95b3
532
+ - spec/dummy/tmp/cache/assets/development/sprockets/0d4961f3da5a0d5234736a6abbf42226
533
+ - spec/dummy/tmp/cache/assets/development/sprockets/0f491ed240e1a27bbc05e5213afd48bb
534
+ - spec/dummy/tmp/cache/assets/development/sprockets/10e2a0dbdbb68c055e8b7ccd6f2906d8
535
+ - spec/dummy/tmp/cache/assets/development/sprockets/1173cdef6c662a55ef590489fe26e8fe
536
+ - spec/dummy/tmp/cache/assets/development/sprockets/1b3e93127523ec0f3c93bcd91d4390dc
537
+ - spec/dummy/tmp/cache/assets/development/sprockets/1bb56fbf17ccbb14dcbaa4d6d639e620
538
+ - spec/dummy/tmp/cache/assets/development/sprockets/2bd0ba6a1598c9fa67081d8f906db6f8
539
+ - spec/dummy/tmp/cache/assets/development/sprockets/3fbe053f103de46cc1b320f059b99c1f
540
+ - spec/dummy/tmp/cache/assets/development/sprockets/4144b095447efb810a548b99e41df9eb
541
+ - spec/dummy/tmp/cache/assets/development/sprockets/421d097cb8d88f975d8ccf75c9e5e306
542
+ - spec/dummy/tmp/cache/assets/development/sprockets/474bc1c9055df6cc1cdff58817a6cb41
543
+ - spec/dummy/tmp/cache/assets/development/sprockets/4829d251eeb22cdbd05b27b6ba809538
544
+ - spec/dummy/tmp/cache/assets/development/sprockets/4f584ca3f0c8ec62906e6f03bc5963c2
545
+ - spec/dummy/tmp/cache/assets/development/sprockets/55d647d88e01b91b2a146e7db0481c09
546
+ - spec/dummy/tmp/cache/assets/development/sprockets/62db8b5885b79c5dc0667fab0fbf46bb
547
+ - spec/dummy/tmp/cache/assets/development/sprockets/7080a4d265fe784c9704db71f81da832
548
+ - spec/dummy/tmp/cache/assets/development/sprockets/7220af243fd39e3dffd233252e4a8c17
549
+ - spec/dummy/tmp/cache/assets/development/sprockets/7cd0e5bfe12b86ed494d02e8e5b62bbf
550
+ - spec/dummy/tmp/cache/assets/development/sprockets/7e37a8ae2a50653b388d57c573d12548
551
+ - spec/dummy/tmp/cache/assets/development/sprockets/8113790dad1da8858c82cfc3eb14ef87
552
+ - spec/dummy/tmp/cache/assets/development/sprockets/83997102fc04f275cd6cd8c1ddb55835
553
+ - spec/dummy/tmp/cache/assets/development/sprockets/8a7b047a16adbc640e03eaabe4a4fe93
554
+ - spec/dummy/tmp/cache/assets/development/sprockets/90b48fb4bfa22ddcd063734065d27086
555
+ - spec/dummy/tmp/cache/assets/development/sprockets/935886b24c90d344752d2a80e3657801
556
+ - spec/dummy/tmp/cache/assets/development/sprockets/9606a6d70af63ce3fea26ded0a69d5c2
557
+ - spec/dummy/tmp/cache/assets/development/sprockets/97db73fdf0bbab24fb92892c61ec7a9b
558
+ - spec/dummy/tmp/cache/assets/development/sprockets/a23bb60554e715c228ae3cdfb5d81807
559
+ - spec/dummy/tmp/cache/assets/development/sprockets/ad17e102b9f9288a9e919b0b0a2ab05b
560
+ - spec/dummy/tmp/cache/assets/development/sprockets/c26ae1f6640b52c232bd392a6e2f7110
561
+ - spec/dummy/tmp/cache/assets/development/sprockets/c6cb3deca0f08bd9569d00fca09272da
562
+ - spec/dummy/tmp/cache/assets/development/sprockets/d39b4eebbd0042342e10497a34fd6378
563
+ - spec/dummy/tmp/cache/assets/development/sprockets/d5ee573b2abdcdc245a830bde2dd76f3
564
+ - spec/dummy/tmp/cache/assets/development/sprockets/d6487e59842ff206d84f6de5e3a7400c
565
+ - spec/dummy/tmp/cache/assets/development/sprockets/dafa124ddd0e828d7c5c0a5c4db455ba
566
+ - spec/dummy/tmp/cache/assets/development/sprockets/e5bbd03518f9abc3e9bc1373c74fd3f1
567
+ - spec/dummy/tmp/cache/assets/development/sprockets/ed5aa255edff522c2e36e6f0151ff747
568
+ - spec/dummy/tmp/cache/assets/development/sprockets/ee263a426f6530013f86aa860448fa91
569
+ - spec/dummy/tmp/cache/assets/development/sprockets/efa0c4d855d425fdf4b63ab26c45e94c
570
+ - spec/dummy/tmp/cache/assets/development/sprockets/f2881259fd5bad1c0a5b1ab5dff97c47
571
+ - spec/dummy/tmp/cache/assets/development/sprockets/f34108e540cff2fbc32036da452ca6ae
572
+ - spec/dummy/tmp/cache/assets/development/sprockets/f7e7e00ef8efc13c6a2628e453344440
573
+ - spec/dummy/tmp/cache/assets/development/sprockets/f9a44009076e46b0f35af5e7031a1871
574
+ - spec/spec_helper.rb
575
+ homepage: http://www.glyph.fr
576
+ licenses: []
577
+ metadata: {}
578
+ post_install_message:
579
+ rdoc_options: []
580
+ require_paths:
581
+ - lib
582
+ required_ruby_version: !ruby/object:Gem::Requirement
583
+ requirements:
584
+ - - ">="
585
+ - !ruby/object:Gem::Version
586
+ version: '0'
587
+ required_rubygems_version: !ruby/object:Gem::Requirement
588
+ requirements:
589
+ - - ">="
590
+ - !ruby/object:Gem::Version
591
+ version: '0'
592
+ requirements: []
593
+ rubyforge_project:
594
+ rubygems_version: 2.6.8
595
+ signing_key:
596
+ specification_version: 4
597
+ summary: Dynamic poll creation Rails engine
598
+ test_files: []