syncano 4.0.0.alpha2 → 4.0.0.alpha3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/syncano/schema/attribute_definition.rb +1 -1
- data/lib/syncano/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa075100beb8138ef6b87269086256a8bec350d3
|
4
|
+
data.tar.gz: 3936e78add7dae24b71977a7aa400c6e0b0c8940
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 318b70c4ca4044b66995f484eee3d54516fea5ab58d7dcf86e43915720e0ba63e352ce77ebd05658f7e5b0ed920fb68a99301511b56cfaef3c735c7f4450e862
|
7
|
+
data.tar.gz: 12895b67594bf1f958013c84dc35a3a4f539bfd7e25893f288dfc662ce3ba3a26ffdd1885114d9f57dddee4da6d769763ee23402fdcfe320e1bdb517174f8c97
|
@@ -73,7 +73,7 @@ module Syncano
|
|
73
73
|
elsif raw_definition['type'].present? && raw_definition['type'].to_sym == :field
|
74
74
|
{}
|
75
75
|
elsif raw_definition['type'].present? && raw_definition['type'].to_sym == :choice
|
76
|
-
|
76
|
+
raw_definition['choices'].try(:first).try :[], 'value'
|
77
77
|
else
|
78
78
|
nil
|
79
79
|
end
|
data/lib/syncano/version.rb
CHANGED