corm 0.0.11 → 0.0.12
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.
- data/lib/corm/model.rb +2 -2
- metadata +2 -2
data/lib/corm/model.rb
CHANGED
|
@@ -41,7 +41,7 @@ module Corm
|
|
|
41
41
|
elsif type.start_with?('set') && type['json']
|
|
42
42
|
Set.new(value.nil? ? [] : value.map{|s| MultiJson.decode s})
|
|
43
43
|
elsif type.start_with?('set')
|
|
44
|
-
Set.new
|
|
44
|
+
Set.new(value.to_a)
|
|
45
45
|
elsif type.start_with?('map') && type['json']
|
|
46
46
|
hash = {}
|
|
47
47
|
(value || {}).each do |k, v|
|
|
@@ -72,7 +72,7 @@ module Corm
|
|
|
72
72
|
elsif type.start_with?('set') && type['json']
|
|
73
73
|
Set.new(value.nil? ? [] : value.map{|s| MultiJson.encode s})
|
|
74
74
|
elsif type.start_with?('set')
|
|
75
|
-
Set.new
|
|
75
|
+
Set.new(value.to_a)
|
|
76
76
|
elsif type.start_with?('map') && type['json']
|
|
77
77
|
hash = {}
|
|
78
78
|
(value || {}).each do |k, v|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: corm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.12
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2015-
|
|
12
|
+
date: 2015-05-05 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: cassandra-driver
|