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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bd053f463d602ab8927be7cd6f1da7080cd50e03
4
- data.tar.gz: 672affd48e958f2387e1e01a3b74e5a8324a95d2
3
+ metadata.gz: aa075100beb8138ef6b87269086256a8bec350d3
4
+ data.tar.gz: 3936e78add7dae24b71977a7aa400c6e0b0c8940
5
5
  SHA512:
6
- metadata.gz: 35fc5c588f6b5d90a0b8cd318bf9be218a432985cd7703fe0ab98d1f4c9d01838685e2b137f5e39e3bbd6424f72de3f611e654f01c95d31b3b6c86e0f569f8d9
7
- data.tar.gz: 7b4373ec897884764c0a70c0ea1a03504eb72d8841dad4f64653b01a47c4c2b1186a9bf16b74b16d3ca067ffbb679d3602b12321a22fdff84a6c8a0f3033f3ba
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
- raw_definition['choices'].first['value']
76
+ raw_definition['choices'].try(:first).try :[], 'value'
77
77
  else
78
78
  nil
79
79
  end
@@ -1,3 +1,3 @@
1
1
  module Syncano
2
- VERSION = '4.0.0.alpha2'
2
+ VERSION = '4.0.0.alpha3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: syncano
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.alpha2
4
+ version: 4.0.0.alpha3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Zadrożny