fe 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -5
- data/app/assets/javascripts/fe/fe.admin.js +1 -1
- data/app/assets/javascripts/fe/fe.public.nojquery.js.erb +410 -408
- data/app/controllers/concerns/fe/admin/question_sheets_controller_concern.rb +3 -3
- data/app/controllers/concerns/fe/answer_sheets_controller_concern.rb +16 -2
- data/app/controllers/fe/admin/elements_controller.rb +0 -1
- data/app/controllers/fe/admin/email_templates_controller.rb +15 -15
- data/app/controllers/fe/admin/question_pages_controller.rb +0 -1
- data/app/models/concerns/fe/answer_pages_presenter_concern.rb +13 -0
- data/app/models/concerns/fe/choice_field_concern.rb +10 -4
- data/app/models/fe/element.rb +14 -7
- data/app/models/fe/page.rb +6 -2
- data/app/models/fe/question.rb +2 -2
- data/app/models/fe/question_set.rb +1 -1
- data/app/models/fe/question_sheet.rb +7 -3
- data/app/views/fe/answer_sheets/_incomplete.html.erb +1 -0
- data/db/migrate/20181108201746_create_versions.rb +2 -6
- data/lib/fe/version.rb +1 -1
- data/spec/dummy/app/views/layouts/fe/fe.admin.html.erb +1 -0
- data/spec/dummy/log/test.log +67388 -0
- data/spec/models/fe/application_spec.rb +1 -1
- metadata +25 -8
- data/config/initializers/paper_trail.rb +0 -3
@@ -32,7 +32,7 @@ RSpec.describe Fe::Application, type: :model do
|
|
32
32
|
@text1 = create(:text_field_element, label: 'lvl2 hidden required', question_grid: @grid, required: true) # NOT answered
|
33
33
|
@text2 = create(:text_field_element, label: 'lvl2 hidden required2', question_grid: @grid, required: true) # answered (but doesn't count because hidden)
|
34
34
|
@text3 = create(:text_field_element, label: 'lvl2 hidden optional', question_grid: @grid, required: false) # answered (but doesn't count because hidden)
|
35
|
-
|
35
|
+
|
36
36
|
@text4 = create(:text_field_element, label: 'lvl1 optional', required: false) # answered
|
37
37
|
@text5 = create(:text_field_element, label: 'lvl1 required', required: true, object_name: 'applicant', attribute_name: 'first_name') # answered
|
38
38
|
@text6 = create(:text_field_element, label: 'lvl1 required2', required: true) # NOT answered
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CruGlobal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -28,14 +28,14 @@ dependencies:
|
|
28
28
|
name: acts_as_list
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 0.9.17
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.9.17
|
41
41
|
- !ruby/object:Gem::Dependency
|
@@ -146,14 +146,14 @@ dependencies:
|
|
146
146
|
name: gettext_i18n_rails
|
147
147
|
requirement: !ruby/object:Gem::Requirement
|
148
148
|
requirements:
|
149
|
-
- - "
|
149
|
+
- - ">="
|
150
150
|
- !ruby/object:Gem::Version
|
151
151
|
version: 1.2.3
|
152
152
|
type: :runtime
|
153
153
|
prerelease: false
|
154
154
|
version_requirements: !ruby/object:Gem::Requirement
|
155
155
|
requirements:
|
156
|
-
- - "
|
156
|
+
- - ">="
|
157
157
|
- !ruby/object:Gem::Version
|
158
158
|
version: 1.2.3
|
159
159
|
- !ruby/object:Gem::Dependency
|
@@ -226,6 +226,20 @@ dependencies:
|
|
226
226
|
- - ">="
|
227
227
|
- !ruby/object:Gem::Version
|
228
228
|
version: '0'
|
229
|
+
- !ruby/object:Gem::Dependency
|
230
|
+
name: rails-dummy
|
231
|
+
requirement: !ruby/object:Gem::Requirement
|
232
|
+
requirements:
|
233
|
+
- - ">="
|
234
|
+
- !ruby/object:Gem::Version
|
235
|
+
version: '0'
|
236
|
+
type: :development
|
237
|
+
prerelease: false
|
238
|
+
version_requirements: !ruby/object:Gem::Requirement
|
239
|
+
requirements:
|
240
|
+
- - ">="
|
241
|
+
- !ruby/object:Gem::Version
|
242
|
+
version: '0'
|
229
243
|
description: A rails engine that facilitates question/answer stuff
|
230
244
|
email:
|
231
245
|
- andrewroth@gmail.com
|
@@ -480,7 +494,6 @@ files:
|
|
480
494
|
- app/views/layouts/fe/_error_messages_for.html.erb
|
481
495
|
- app/views/layouts/fe/application.html.erb
|
482
496
|
- app/views/layouts/fe/fe_admin.html.erb
|
483
|
-
- config/initializers/paper_trail.rb
|
484
497
|
- config/locales/en.yml
|
485
498
|
- config/routes.rb
|
486
499
|
- db/migrate/20131003041856_core.rb
|
@@ -538,6 +551,7 @@ files:
|
|
538
551
|
- spec/dummy/app/models/person.rb
|
539
552
|
- spec/dummy/app/models/user.rb
|
540
553
|
- spec/dummy/app/views/layouts/application.html.erb
|
554
|
+
- spec/dummy/app/views/layouts/fe/fe.admin.html.erb
|
541
555
|
- spec/dummy/bin/bundle
|
542
556
|
- spec/dummy/bin/rails
|
543
557
|
- spec/dummy/bin/rake
|
@@ -590,6 +604,7 @@ files:
|
|
590
604
|
- spec/dummy/db/migrate/20160204164613_add_visible_and_visibility_cache_key_to_reference_sheets.fe_engine.rb
|
591
605
|
- spec/dummy/db/migrate/20181108201746_create_versions.rb
|
592
606
|
- spec/dummy/db/schema.rb
|
607
|
+
- spec/dummy/log/test.log
|
593
608
|
- spec/dummy/public/404.html
|
594
609
|
- spec/dummy/public/422.html
|
595
610
|
- spec/dummy/public/500.html
|
@@ -664,7 +679,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
664
679
|
- !ruby/object:Gem::Version
|
665
680
|
version: '0'
|
666
681
|
requirements: []
|
667
|
-
rubygems_version: 3.
|
682
|
+
rubygems_version: 3.1.6
|
668
683
|
signing_key:
|
669
684
|
specification_version: 4
|
670
685
|
summary: Form Engine
|
@@ -690,6 +705,7 @@ test_files:
|
|
690
705
|
- spec/dummy/app/models/person.rb
|
691
706
|
- spec/dummy/app/models/user.rb
|
692
707
|
- spec/dummy/app/views/layouts/application.html.erb
|
708
|
+
- spec/dummy/app/views/layouts/fe/fe.admin.html.erb
|
693
709
|
- spec/dummy/bin/bundle
|
694
710
|
- spec/dummy/bin/rails
|
695
711
|
- spec/dummy/bin/rake
|
@@ -742,6 +758,7 @@ test_files:
|
|
742
758
|
- spec/dummy/db/migrate/20160204164613_add_visible_and_visibility_cache_key_to_reference_sheets.fe_engine.rb
|
743
759
|
- spec/dummy/db/migrate/20181108201746_create_versions.rb
|
744
760
|
- spec/dummy/db/schema.rb
|
761
|
+
- spec/dummy/log/test.log
|
745
762
|
- spec/dummy/public/404.html
|
746
763
|
- spec/dummy/public/422.html
|
747
764
|
- spec/dummy/public/500.html
|