quby-compiler 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/quby/compiler/services/quby_proxy.rb +3 -3
- data/lib/quby/compiler/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 35f6d497ab4582a277697ec47f369e4fddbf40a0b778cd7b7761a884b1bb6d3b
|
|
4
|
+
data.tar.gz: 28908d63291dc2515ac6564f29d461e482ab088cdc92d1c60e5b87fc199aaf96
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7eb0710c37e9d7cac15c96e001559a1149b7c04c2bf7443f85fd4fa6ff7d8cdabbf2bd65c017cf85444ef632ab3075b010f6615856880bb1e8c0aac82bd7311b
|
|
7
|
+
data.tar.gz: 310c0691e5488ffb6d3b1b5ae925f8d0603e2e22ad1bc06f8d491980b265585d65f29f4dce03979b1d743a9183507f229576013542cfa1561961f7936625da79
|
data/CHANGELOG.md
CHANGED
|
@@ -30,9 +30,6 @@ module Quby
|
|
|
30
30
|
@hidden_questions = {} # hash containing questions hidden by other questions
|
|
31
31
|
|
|
32
32
|
for question in questions_flat
|
|
33
|
-
if question.hidden && question.type != :check_box
|
|
34
|
-
d_qtypes[question.key.to_s] = { depends: :present } unless options[:without_depends]
|
|
35
|
-
end
|
|
36
33
|
unless question.hidden && (question.type == :check_box || question.type == :hidden)
|
|
37
34
|
vars << question.key.to_s
|
|
38
35
|
end
|
|
@@ -184,6 +181,9 @@ module Quby
|
|
|
184
181
|
if hidden = @hidden_questions[question.key.to_s]
|
|
185
182
|
d_qtypes[question.key.to_s][:depends] ||= hidden unless options[:without_depends]
|
|
186
183
|
end
|
|
184
|
+
if question.hidden && question.type != :check_box
|
|
185
|
+
d_qtypes[question.key.to_s][:depends] = :present unless options[:without_depends]
|
|
186
|
+
end
|
|
187
187
|
end
|
|
188
188
|
|
|
189
189
|
def generate_question_titles
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: quby-compiler
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marten Veldthuis
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-12-
|
|
11
|
+
date: 2021-12-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activemodel
|