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
- SHA1:
3
- metadata.gz: 361d28851423cc180b280e05f09e16ba108a2e45
4
- data.tar.gz: 7e2b036a72a4ecc2e3d5798adec32f9b2b7ee689
2
+ SHA256:
3
+ metadata.gz: d0f1f2da50886f86ac4b540fafbadc39f2e342b5c57d5f296a9adaa12ab6fd42
4
+ data.tar.gz: ba3a2d035712119ed15726fd478ef51e4cd425543c8d79ebaa7bf92d03da38d8
5
5
  SHA512:
6
- metadata.gz: d4eb8021d8ff9ed24ab68e23efff0a4b2bb14fac2f1871016d3342e8b707291f905490d4b4f6cfbf3e40449ab7e30f4b32686a6b5a70f89a86a66208d3010da9
7
- data.tar.gz: 47849c8300bf7bbe69dfaf46c9d7fb0e441b07a73b4da9164be5ecdf0ffc115aae0585584ff61d63d118252637dc8fd26a9202cc76bc188841315cbf51ef0c54
6
+ metadata.gz: a49ab249eee30a128688ab382ee6a3013d114c38a87e948c0ea614ab725e5e6bda7e5747d78070ceb419b513a3aaa5628becd05760081d8f8e467f7c06c43352
7
+ data.tar.gz: e6e4a84d0c2640f66f73aa5576b308a8de60e5d14c65f5254b0d8e71bef403349a0e0d5427e4d0a179f137c915ae9c66646518ddc30a4ff4873c1595fb98c2cc
@@ -1,8 +1,9 @@
1
- require 'sequel'
2
- require 'uri'
1
+ require 'bson'
2
+ require 'entity_store'
3
3
  require 'json'
4
4
  require 'pigeon_hole'
5
- require 'entity_store'
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::InvalidObjectId
151
+ rescue BSON::ObjectId::Invalid
151
152
  raise NotFound.new(id) if options.fetch(:raise_exception, true)
152
153
  nil
153
154
  end
@@ -1,3 +1,3 @@
1
1
  module EntityStoreSequel
2
- VERSION = "0.0.12".freeze
2
+ VERSION = "0.1.0".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.12
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-01-26 00:00:00.000000000 Z
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: '1.8'
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: '1.8'
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.5.1
120
+ rubygems_version: 2.7.4
121
121
  signing_key:
122
122
  specification_version: 4
123
123
  summary: Sequel body for Entity Store