rapidfire 5.0.0 → 8.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/app/models/rapidfire/question.rb +1 -1
- data/app/models/rapidfire/survey.rb +1 -1
- data/app/services/rapidfire/attempt_builder.rb +2 -1
- data/app/views/rapidfire/attempts/_form.html.erb +8 -0
- data/lib/rapidfire/version.rb +1 -1
- data/spec/controllers/rapidfire/attempts_controller_spec.rb +1 -1
- data/spec/dummy/config/environments/development.rb +1 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +1 -3
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +90 -0
- data/spec/dummy/log/test.log +7067 -70435
- data/spec/factories/answers_factory.rb +4 -4
- data/spec/factories/attempts_factory.rb +2 -2
- data/spec/factories/questions_factory.rb +7 -7
- data/spec/factories/surveys_factory.rb +3 -3
- data/spec/factories/users_factory.rb +2 -2
- data/spec/features/rapidfire/answering_questions_spec.rb +25 -8
- data/spec/features/rapidfire/editing_answers_spec.rb +6 -6
- data/spec/features/rapidfire/managing_questions_spec.rb +3 -3
- data/spec/features/rapidfire/managing_surveys_spec.rb +18 -3
- data/spec/models/rapidfire/answer_spec.rb +2 -2
- data/spec/models/rapidfire/question_spec.rb +3 -3
- data/spec/models/rapidfire/questions/checkbox_spec.rb +3 -3
- data/spec/models/rapidfire/questions/date_spec.rb +2 -2
- data/spec/models/rapidfire/questions/file_spec.rb +2 -2
- data/spec/models/rapidfire/questions/multi_file_spec.rb +2 -2
- data/spec/models/rapidfire/questions/numeric_spec.rb +2 -2
- data/spec/models/rapidfire/questions/select_spec.rb +3 -3
- data/spec/models/rapidfire/survey_spec.rb +1 -1
- data/spec/serializers/rapidfire/question_result_serializer_spec.rb +1 -1
- data/spec/services/rapidfire/attempt_builder_spec.rb +5 -5
- data/spec/services/rapidfire/question_form_spec.rb +3 -3
- data/spec/services/rapidfire/survey_results_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/spec/support/rapidfire/answer_spec_helper.rb +12 -12
- data/spec/support/rapidfire/question_spec_helper.rb +7 -7
- data/spec/tasks/change_delimiter_from_comma_to_srsn_spec.rb +8 -8
- metadata +39 -125
- data/spec/dummy/tmp/capybara/capybara-202304042341376066162578.html +0 -29
- data/spec/dummy/tmp/capybara/capybara-202304042343302647462912.html +0 -29
- data/spec/dummy/tmp/capybara/capybara-202304042343539524195351.html +0 -29
- data/spec/dummy/tmp/capybara/capybara-202304042344039569698410.html +0 -29
- data/spec/dummy/tmp/capybara/capybara-202304042344107081227684.html +0 -29
- data/spec/dummy/tmp/capybara/capybara-202304042346131668826835.html +0 -29
- data/spec/dummy/tmp/capybara/capybara-202304042346251478672095.html +0 -29
- data/spec/dummy/tmp/capybara/capybara-202304042346382011987550.html +0 -29
- data/spec/dummy/tmp/capybara/capybara-20230404234755589239852.html +0 -29
- data/spec/dummy/tmp/capybara/capybara-202304042348377947112508.html +0 -29
- data/spec/dummy/tmp/capybara/capybara-202304042348502970551073.html +0 -55
- data/spec/dummy/tmp/capybara/capybara-202304042351403473706214.html +0 -29
- data/spec/dummy/tmp/capybara/capybara-202304042352069122239363.html +0 -29
- data/spec/dummy/tmp/capybara/capybara-202304042353148433036065.html +0 -29
- data/spec/dummy/tmp/capybara/capybara-202304042353383278368450.html +0 -29
- data/spec/dummy/tmp/capybara/capybara-202304042358431743077504.html +0 -20
- data/spec/dummy/tmp/capybara/capybara-202304042358433434523512.html +0 -20
- data/spec/dummy/tmp/capybara/capybara-202304042358434379121493.html +0 -20
- data/spec/dummy/tmp/capybara/capybara-202304042358492996621343.html +0 -20
- data/spec/dummy/tmp/storage/2e/vk/2evksypp3ct4p9cjihfxwomru17i +0 -1
- data/spec/dummy/tmp/storage/9k/xt/9kxth5brdkw4huy7lciesekum0pt +0 -1
- data/spec/dummy/tmp/storage/cu/44/cu4452jrce4gd0ebcqop1d22kwbs +0 -1
- data/spec/dummy/tmp/storage/dl/oy/dloy0dbuquwe0f48bhugjca71pbv +0 -1
- data/spec/dummy/tmp/storage/h5/vc/h5vcb12f2cviqinrckfmmz4wtsa7 +0 -1
- data/spec/dummy/tmp/storage/ht/4x/ht4xma120asy3gd0fpeseddjzb2l +0 -1
- data/spec/dummy/tmp/storage/ip/au/ipauutuc5vy678hrwz4jx3rvm0n6 +0 -1
- data/spec/dummy/tmp/storage/j1/uy/j1uyrkrosby81sgq1mf59bs7oqee +0 -1
- data/spec/dummy/tmp/storage/nj/vv/njvvpx93zptrmlwbwiuxmxyh1jnf +0 -1
- data/spec/dummy/tmp/storage/nv/nx/nvnxlyvw3vd8xsq2sa4eazqepgbn +0 -1
- data/spec/dummy/tmp/storage/of/b4/ofb41sjj1mp33qs3wsivadhuts3p +0 -1
- data/spec/dummy/tmp/storage/og/ee/ogeerywp2y4szmnlrc5fnuya2evl +0 -1
- data/spec/dummy/tmp/storage/wz/oc/wzocvk4ahpp7kwc951u7f78nj259 +0 -1
- data/spec/dummy/tmp/storage/z3/vx/z3vxuitmnxld08m0qvt9057uyglc +0 -1
- data/spec/dummy/tmp/storage-7.0.0-ruby-3.2.0/k8/br/k8br0vtpgmpqxrl8mdsceymh3c8d +0 -1
- data/spec/dummy/tmp/storage-7.0.0-ruby-3.2.0/mw/le/mwle6olsgsk8h2pxvklj5q0yr9sc +0 -1
- data/spec/dummy/tmp/storage-7.0.0-ruby-3.2.0/o1/2w/o12whqlkt6rc0yaq3b6fsowmewdp +0 -1
- data/spec/dummy/tmp/storage-7.0.0-ruby-3.2.0/o9/2g/o92go6wavds5oht0dso6m1ybvbh4 +0 -1
- data/spec/dummy/tmp/storage-7.0.0-ruby-3.2.0/om/7f/om7frlle7xz8pybxbydeq1q20hro +0 -1
- data/spec/dummy/tmp/storage-7.0.0-ruby-3.2.0/q6/78/q678f1u8v1nv07dbtm85knmw3b9q +0 -1
- data/spec/dummy/tmp/storage-7.0.0-ruby-3.2.0/r4/wp/r4wpzje2mix0dtl8r2f4akh18fm1 +0 -1
- data/spec/dummy/tmp/storage-7.0.0-ruby-3.2.0/v1/h9/v1h9cuuwtwvz8p6fl574qum6k4ig +0 -1
- data/spec/dummy/tmp/storage-7.0.0-ruby-3.2.0/vb/mw/vbmwrl014lccj3jo61vojqscfxha +0 -1
- data/spec/dummy/tmp/storage-7.0.0-ruby-3.2.0/wn/q4/wnq49hhhxvh4gnc2782lf4zzlz46 +0 -1
- data/spec/dummy/tmp/storage-7.0.0-ruby-3.2.0/ya/go/yago1kn4o7p8jfob0cxetrif714s +0 -1
- /data/spec/dummy/tmp/{storage-7.0.0-ruby-3.2.0/40/x5/40x5xe5nmit9ngld2lngzfjp6r6x → storage--ruby-3.3.5/81/2n/812ne4iy4c40lvvdigsg8z02b1v1} +0 -0
- /data/spec/dummy/tmp/{storage-7.0.0-ruby-3.2.0/7h/za/7hza4otjknyyo14szs2az8wiu7ai → storage--ruby-3.3.5/85/bs/85bsmaecej0491dey4t9jpci9yw3} +0 -0
- /data/spec/dummy/tmp/{storage-7.0.0-ruby-3.2.0/1b/cx/1bcxhbuf0bwp8uduq76gye1v11al → storage--ruby-3.3.5/8y/7b/8y7bhqwxh5cad8xau7nfhtukxcsc} +0 -0
- /data/spec/dummy/tmp/{storage-7.0.0-ruby-3.2.0/ad/ct/adct5ysy5mq6kyptqk5q3fzfpwui → storage--ruby-3.3.5/93/z6/93z6nje4f921vgdwa3lkuf49xocr} +0 -0
- /data/spec/dummy/tmp/{storage-7.0.0-ruby-3.2.0/bl/yo/blyo13wkf0l9igpyq4anaqbomz0h → storage--ruby-3.3.5/at/qk/atqksrev4s0ic4srii57aspu4o6z} +0 -0
- /data/spec/dummy/tmp/{storage-7.0.0-ruby-3.2.0/cc/g8/ccg8282dt6ixi4yvvwjt4noqa6pj → storage--ruby-3.3.5/bi/j3/bij3puzjsfm39colnpqstpu6ggv7} +0 -0
- /data/spec/dummy/tmp/{storage-7.0.0-ruby-3.2.0/d3/gj/d3gjt0qoinigrbao1anp4hmvedjm → storage--ruby-3.3.5/cx/4p/cx4pp9ugdv2xndwll28mo8jhjgig} +0 -0
- /data/spec/dummy/tmp/{storage-7.0.0-ruby-3.2.0/n7/ja/n7jacvu07s9z9ai7acjq8kovdh02 → storage--ruby-3.3.5/gv/9c/gv9cand9rqcew9sceoirbfm9l2bl} +0 -0
- /data/spec/dummy/tmp/{storage-7.0.0-ruby-3.2.0/f2/bv/f2bvz6ws3xfrk17dpzhyacx3kys2 → storage--ruby-3.3.5/m2/ce/m2cehdwpmdl0s5vgylxc1tcbxlr2} +0 -0
- /data/spec/dummy/tmp/{storage-7.0.0-ruby-3.2.0/f8/3z/f83z2f041tfpu39ygi0gu32wai8x → storage--ruby-3.3.5/md/rj/mdrjgxirkdtyfijfwdxn37dswspm} +0 -0
- /data/spec/dummy/tmp/{storage-7.0.0-ruby-3.2.0/gt/rc/gtrco13ij0i2vi27t6wm1jhcve5p → storage--ruby-3.3.5/xv/oi/xvoijswvk9a0blrua7x5yl94a6qw} +0 -0
- /data/spec/dummy/tmp/{storage-7.0.0-ruby-3.2.0/qq/kc/qqkciwi2vymum1556755n85po1j9 → storage--ruby-3.3.5/z6/cw/z6cw41euxe15z3ao5wkypp0y9liw} +0 -0
@@ -1,29 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Dummy</title>
|
5
|
-
|
6
|
-
</head>
|
7
|
-
<body>
|
8
|
-
|
9
|
-
<h2>Please answer these Questions</h2>
|
10
|
-
<hr/>
|
11
|
-
|
12
|
-
<p>Some introduction</p>
|
13
|
-
|
14
|
-
<form class="new_attempt" id="new_attempt" enctype="multipart/form-data" action="/rapidfire/surveys/1/attempts" accept-charset="UTF-8" method="post">
|
15
|
-
|
16
|
-
<div class='multifile_question' >
|
17
|
-
|
18
|
-
<div class="form-group">
|
19
|
-
<label for="attempt_1_answer_text">Images</label>
|
20
|
-
<input name="attempt[1][files][]" type="hidden" value="" autocomplete="off" /><input multiple="multiple" type="file" name="attempt[1][files][]" id="attempt_1_files" />
|
21
|
-
</div>
|
22
|
-
</div>
|
23
|
-
|
24
|
-
<input type="submit" name="commit" value="Save" data-disable-with="Save" />
|
25
|
-
</form>
|
26
|
-
|
27
|
-
|
28
|
-
</body>
|
29
|
-
</html>
|
@@ -1,29 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Dummy</title>
|
5
|
-
|
6
|
-
</head>
|
7
|
-
<body>
|
8
|
-
|
9
|
-
<h2>Please answer these Questions</h2>
|
10
|
-
<hr/>
|
11
|
-
|
12
|
-
<p>Some introduction</p>
|
13
|
-
|
14
|
-
<form class="new_attempt" id="new_attempt" enctype="multipart/form-data" action="/rapidfire/surveys/1/attempts" accept-charset="UTF-8" method="post">
|
15
|
-
|
16
|
-
<div class='multifile_question' >
|
17
|
-
|
18
|
-
<div class="form-group">
|
19
|
-
<label for="attempt_1_answer_text">Images</label>
|
20
|
-
<input name="attempt[1][files][]" type="hidden" value="" autocomplete="off" /><input multiple="multiple" type="file" name="attempt[1][files][]" id="attempt_1_files" />
|
21
|
-
</div>
|
22
|
-
</div>
|
23
|
-
|
24
|
-
<input type="submit" name="commit" value="Save" data-disable-with="Save" />
|
25
|
-
</form>
|
26
|
-
|
27
|
-
|
28
|
-
</body>
|
29
|
-
</html>
|
@@ -1,29 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Dummy</title>
|
5
|
-
|
6
|
-
</head>
|
7
|
-
<body>
|
8
|
-
|
9
|
-
<h2>Please answer these Questions</h2>
|
10
|
-
<hr/>
|
11
|
-
|
12
|
-
<p>Some introduction</p>
|
13
|
-
|
14
|
-
<form class="new_attempt" id="new_attempt" enctype="multipart/form-data" action="/rapidfire/surveys/1/attempts" accept-charset="UTF-8" method="post">
|
15
|
-
|
16
|
-
<div class='multifile_question' >
|
17
|
-
|
18
|
-
<div class="form-group">
|
19
|
-
<label for="attempt_1_answer_text">Images</label>
|
20
|
-
<input name="attempt[1][files][]" type="hidden" value="" autocomplete="off" /><input multiple="multiple" type="file" name="attempt[1][files][]" id="attempt_1_files" />
|
21
|
-
</div>
|
22
|
-
</div>
|
23
|
-
|
24
|
-
<input type="submit" name="commit" value="Save" data-disable-with="Save" />
|
25
|
-
</form>
|
26
|
-
|
27
|
-
|
28
|
-
</body>
|
29
|
-
</html>
|
@@ -1,20 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Dummy</title>
|
5
|
-
|
6
|
-
</head>
|
7
|
-
<body>
|
8
|
-
|
9
|
-
<h2>Please answer these Questions</h2>
|
10
|
-
<hr/>
|
11
|
-
|
12
|
-
<p>Some introduction</p>
|
13
|
-
|
14
|
-
<form class="new_attempt" id="new_attempt" action="/rapidfire/surveys/1/attempts" accept-charset="UTF-8" method="post">
|
15
|
-
<input type="submit" name="commit" value="Save" data-disable-with="Save" />
|
16
|
-
</form>
|
17
|
-
|
18
|
-
|
19
|
-
</body>
|
20
|
-
</html>
|
@@ -1,20 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Dummy</title>
|
5
|
-
|
6
|
-
</head>
|
7
|
-
<body>
|
8
|
-
|
9
|
-
<h2>Please answer these Questions</h2>
|
10
|
-
<hr/>
|
11
|
-
|
12
|
-
<p>Some introduction</p>
|
13
|
-
|
14
|
-
<form class="new_attempt" id="new_attempt" action="/rapidfire/surveys/1/attempts" accept-charset="UTF-8" method="post">
|
15
|
-
<input type="submit" name="commit" value="Save" data-disable-with="Save" />
|
16
|
-
</form>
|
17
|
-
|
18
|
-
|
19
|
-
</body>
|
20
|
-
</html>
|
@@ -1,20 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Dummy</title>
|
5
|
-
|
6
|
-
</head>
|
7
|
-
<body>
|
8
|
-
|
9
|
-
<h2>Please answer these Questions</h2>
|
10
|
-
<hr/>
|
11
|
-
|
12
|
-
<p>Some introduction</p>
|
13
|
-
|
14
|
-
<form class="new_attempt" id="new_attempt" action="/rapidfire/surveys/1/attempts" accept-charset="UTF-8" method="post">
|
15
|
-
<input type="submit" name="commit" value="Save" data-disable-with="Save" />
|
16
|
-
</form>
|
17
|
-
|
18
|
-
|
19
|
-
</body>
|
20
|
-
</html>
|
@@ -1,20 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Dummy</title>
|
5
|
-
|
6
|
-
</head>
|
7
|
-
<body>
|
8
|
-
|
9
|
-
<h2>Please answer these Questions</h2>
|
10
|
-
<hr/>
|
11
|
-
|
12
|
-
<p>Some introduction</p>
|
13
|
-
|
14
|
-
<form class="new_attempt" id="new_attempt" action="/rapidfire/surveys/1/attempts" accept-charset="UTF-8" method="post">
|
15
|
-
<input type="submit" name="commit" value="Save" data-disable-with="Save" />
|
16
|
-
</form>
|
17
|
-
|
18
|
-
|
19
|
-
</body>
|
20
|
-
</html>
|
@@ -1 +0,0 @@
|
|
1
|
-
one
|
@@ -1 +0,0 @@
|
|
1
|
-
one
|
@@ -1 +0,0 @@
|
|
1
|
-
two
|
@@ -1 +0,0 @@
|
|
1
|
-
one
|
@@ -1 +0,0 @@
|
|
1
|
-
one
|
@@ -1 +0,0 @@
|
|
1
|
-
one
|
@@ -1 +0,0 @@
|
|
1
|
-
one
|
@@ -1 +0,0 @@
|
|
1
|
-
one
|
@@ -1 +0,0 @@
|
|
1
|
-
two
|
@@ -1 +0,0 @@
|
|
1
|
-
one
|
@@ -1 +0,0 @@
|
|
1
|
-
one
|
@@ -1 +0,0 @@
|
|
1
|
-
two
|
@@ -1 +0,0 @@
|
|
1
|
-
one
|
@@ -1 +0,0 @@
|
|
1
|
-
one
|
@@ -1 +0,0 @@
|
|
1
|
-
one
|
@@ -1 +0,0 @@
|
|
1
|
-
one
|
@@ -1 +0,0 @@
|
|
1
|
-
one
|
@@ -1 +0,0 @@
|
|
1
|
-
one
|
@@ -1 +0,0 @@
|
|
1
|
-
one
|
@@ -1 +0,0 @@
|
|
1
|
-
one
|
@@ -1 +0,0 @@
|
|
1
|
-
two
|
@@ -1 +0,0 @@
|
|
1
|
-
two
|
@@ -1 +0,0 @@
|
|
1
|
-
two
|
@@ -1 +0,0 @@
|
|
1
|
-
one
|
@@ -1 +0,0 @@
|
|
1
|
-
one
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|