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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8759a0fd7801e78197ad7a28d88efceda1c16f72710b546d8adb4d2492c82188
4
- data.tar.gz: 47f7a81bac855c37ec0e2b89fa82e8b3480e06ca5243a9739544564ccb4acc35
3
+ metadata.gz: 298486fbde9a0b1e4873a639011c6a4fe6c00dd98430a42d2a79afdb0fb92584
4
+ data.tar.gz: e79bee94168384f1c17fa9abdfd2f9f0d4fd6036a166047474d44f4ab95c7da7
5
5
  SHA512:
6
- metadata.gz: d98714fc2fb0e96c630629e19e2175350f3ccfe3ef8a0a3c176bcc014c4ef2113cad02d73a9c4fcb1624941ceebc7dc29c6ec882c3b288cfb3bcd613138379d9
7
- data.tar.gz: ee969c707b4f87674de8ae77f828f5dfb477895955c3cba4a846b874cf75a8fac559fe7fa51f8db1c7905feb695f89cd7a675fba5dde11239ca689a618e65541
6
+ metadata.gz: 23233110d98eae072f27e537f2a2ad2c60e47c7a9b76448502f9f73f1ccc3ee8dbda257e88c048b37c74a38f90afeff239e261dd0f6e85a1fe219c534078f880
7
+ data.tar.gz: b2a3ab1acf6c92160a9a5a23affcb8b9174f032b476d3deb613d5f1d6e352e15bb2447f9a8ed2bdb0ab91f2364e6dc29b378294b0094b516256ee077d5dc3b6e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ # 0.5.4
2
+
3
+ * quby2:
4
+ * add setsTextvar to string questions
5
+
1
6
  # 0.5.3
2
7
 
3
8
  * roqua.json:
@@ -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, size: @size)
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
@@ -1,5 +1,5 @@
1
1
  module Quby
2
2
  module Compiler
3
- VERSION = "0.5.3"
3
+ VERSION = "0.5.4"
4
4
  end
5
5
  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.3
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-06-13 00:00:00.000000000 Z
11
+ date: 2023-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel