ndb 1.23.0 → 1.23.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3f3e70618f03c074b9d6fdd58739a8a6e4b1d0e6633a035739b56904a5037e4e
4
- data.tar.gz: 2aaecf544de4a09223133501696f87c6028b5b3bdb3e48a0ccb6de806264739d
3
+ metadata.gz: d7d86c1e2ec34a219492de0bb8ae05d5ec1a7551e03aacee81284e030ba941b0
4
+ data.tar.gz: ba28538f32352f1a3a530296770a78f35dc0c5aa4cfb764c84a37fe8e676c943
5
5
  SHA512:
6
- metadata.gz: 6a02fa75d3235bb7644c4d9014f6f8d4550850f722a4ad3facd149a787044236ae6e547d89d25271979469a58e69a9dce5a1d2680f18705ba74d8659855c2212
7
- data.tar.gz: db763d23e3ad03d302cd73e3c5048daabb8bcfd13b6e421c2cb2704b6613ecd741e42b085e00a818ebb9784a6313ac7742fd0092d4efd945d338bad0716c3656
6
+ metadata.gz: 153adbb22e2fb22bb8cc6da2416679e7228ccd08bf538f00975f0eedd2c8f84f3c8f49498a775ba1e5a28bbc8a262c573287af7fbadade2453862e53f2a166ff
7
+ data.tar.gz: de0fe61d2c3447f4ec7600c18aee7b5888c4ff0963e47958498da7d1378539749c4046b4f49ca4a01d463dac164409029c2c2e8e17737a7953f972e8a6ef071c
data/lib/ndb/errors.rb CHANGED
@@ -40,6 +40,8 @@ module Ndb
40
40
  # An update or a delete of a transaction matched nothing (no such
41
41
  # document, or its guard does not match): nothing of it was written.
42
42
  class TxConflict < Error; end
43
+ # A key rotation while another one is not finished (ndb key rotate).
44
+ class KeyRotating < Error; end
43
45
  class UnknownCollection < Error; end
44
46
  class UniqueViolation < Error; end
45
47
  class CatalogConflict < Error; end
@@ -161,6 +163,7 @@ module Ndb
161
163
  "locked" => Locked,
162
164
  "lock_expired" => LockExpired,
163
165
  "tx_conflict" => TxConflict,
166
+ "key_rotating" => KeyRotating,
164
167
  "unknown_operator" => UnknownOperator,
165
168
  "no_update" => NoUpdate,
166
169
  "conflicting_update" => ConflictingUpdate,
data/lib/ndb/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ndb
4
- VERSION = "1.23.0"
4
+ VERSION = "1.23.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ndb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.23.0
4
+ version: 1.23.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - thadeu