quby-compiler 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/quby/compiler/entities/questions/string_question.rb +4 -1
- 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: 298486fbde9a0b1e4873a639011c6a4fe6c00dd98430a42d2a79afdb0fb92584
|
4
|
+
data.tar.gz: e79bee94168384f1c17fa9abdfd2f9f0d4fd6036a166047474d44f4ab95c7da7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23233110d98eae072f27e537f2a2ad2c60e47c7a9b76448502f9f73f1ccc3ee8dbda257e88c048b37c74a38f90afeff239e261dd0f6e85a1fe219c534078f880
|
7
|
+
data.tar.gz: b2a3ab1acf6c92160a9a5a23affcb8b9174f032b476d3deb613d5f1d6e352e15bb2447f9a8ed2bdb0ab91f2364e6dc29b378294b0094b516256ee077d5dc3b6e
|
data/CHANGELOG.md
CHANGED
@@ -6,7 +6,10 @@ module Quby
|
|
6
6
|
module Questions
|
7
7
|
class StringQuestion < Question
|
8
8
|
def as_json(options = {})
|
9
|
-
super.merge(autocomplete: @autocomplete
|
9
|
+
super.merge(autocomplete: @autocomplete)
|
10
|
+
super.merge(autocomplete: @autocomplete).tap do |json|
|
11
|
+
json[:setsTextvar] = sets_textvar if sets_textvar
|
12
|
+
end
|
10
13
|
end
|
11
14
|
end
|
12
15
|
end
|
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.5.
|
4
|
+
version: 0.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marten Veldthuis
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|