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: ca75da75c0371ee57e8f87d2177691af50e1c231
4
- data.tar.gz: a64bb369cb3b59e6fc065fdc209d4011499a8137
3
+ metadata.gz: bc61c6ab95a1c52b5cee2cbcf9db6b18bec36fd1
4
+ data.tar.gz: 77b5ed2a8b7ee5a37acd8be2f0ba4ba09d55188f
5
5
  SHA512:
6
- metadata.gz: 8e31b881de426b9590058dfe63cbc877e1921da6560e93b00c43e8a4082ffe2b75567861bfb47b4f5628c987caa9a8379afa4f524e7eb106ce0c266c48b0aecb
7
- data.tar.gz: 0a7a1d86c96dc4cabd20b4b85d2cff026c74ffd197a96705058081f15c37a161504aa15190b6fa386da3941de709dcb5f93f94e54141d7044d9d857147c5f550
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
@@ -1,3 +1,3 @@
1
1
  module EntityStoreSequel
2
- VERSION = "0.0.1".freeze
2
+ VERSION = "0.0.2".freeze
3
3
  end
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.1
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-05 00:00:00.000000000 Z
11
+ date: 2016-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sequel