entity_store_sequel 0.0.1 → 0.0.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc61c6ab95a1c52b5cee2cbcf9db6b18bec36fd1
|
4
|
+
data.tar.gz: 77b5ed2a8b7ee5a37acd8be2f0ba4ba09d55188f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a715e231138d555f13304e8e74bdde4ea38ca8dedf593da9b6c68ca8821dd4d6ac652c20c07b50782789759b1c8053c5924ded288563352b6cc18fd2fa3a7ad
|
7
|
+
data.tar.gz: 448b10ffd4cc9cf25e1020961cde77a8a4826530b6836b841e8b29040d7bc153c16c8904dc9f49d35acf7922aace8023f7c4cb55ff896aedc3030693a4b9590c
|
@@ -211,6 +211,7 @@ module EntityStoreSequel
|
|
211
211
|
result[item[:id]] = query.order(:entity_version, :id).map do |attrs|
|
212
212
|
begin
|
213
213
|
hash = attrs[:data].to_h
|
214
|
+
hash[:_id] = attrs[:id]
|
214
215
|
hash[:entity_version] = attrs[:entity_version]
|
215
216
|
EntityStore::Config.load_type(attrs[:_type]).new(hash)
|
216
217
|
rescue => e
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: entity_store_sequel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen Binns
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sequel
|