entity_store_sequel 0.0.12 → 0.1.0
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
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d0f1f2da50886f86ac4b540fafbadc39f2e342b5c57d5f296a9adaa12ab6fd42
|
4
|
+
data.tar.gz: ba3a2d035712119ed15726fd478ef51e4cd425543c8d79ebaa7bf92d03da38d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a49ab249eee30a128688ab382ee6a3013d114c38a87e948c0ea614ab725e5e6bda7e5747d78070ceb419b513a3aaa5628becd05760081d8f8e467f7c06c43352
|
7
|
+
data.tar.gz: e6e4a84d0c2640f66f73aa5576b308a8de60e5d14c65f5254b0d8e71bef403349a0e0d5427e4d0a179f137c915ae9c66646518ddc30a4ff4873c1595fb98c2cc
|
@@ -1,8 +1,9 @@
|
|
1
|
-
require '
|
2
|
-
require '
|
1
|
+
require 'bson'
|
2
|
+
require 'entity_store'
|
3
3
|
require 'json'
|
4
4
|
require 'pigeon_hole'
|
5
|
-
require '
|
5
|
+
require 'sequel'
|
6
|
+
require 'uri'
|
6
7
|
|
7
8
|
module EntityStoreSequel
|
8
9
|
class PostgresEntityStore
|
@@ -147,7 +148,7 @@ module EntityStoreSequel
|
|
147
148
|
ids.each do |id|
|
148
149
|
begin
|
149
150
|
BSON::ObjectId.from_string(id)
|
150
|
-
rescue BSON::
|
151
|
+
rescue BSON::ObjectId::Invalid
|
151
152
|
raise NotFound.new(id) if options.fetch(:raise_exception, true)
|
152
153
|
nil
|
153
154
|
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
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen Binns
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sequel
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '3.0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '3.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: hatchet
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
117
|
version: '0'
|
118
118
|
requirements: []
|
119
119
|
rubyforge_project:
|
120
|
-
rubygems_version: 2.4
|
120
|
+
rubygems_version: 2.7.4
|
121
121
|
signing_key:
|
122
122
|
specification_version: 4
|
123
123
|
summary: Sequel body for Entity Store
|