ndb 1.23.0 → 1.23.3

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: b98f84e2270350aeedc33adbefa34c92578719db643e446dc6c6aac76326b79c
4
+ data.tar.gz: 6e279a586775b63320ef9a22bced85c780e451e3ad8328e0f06cd23779704c98
5
5
  SHA512:
6
- metadata.gz: 6a02fa75d3235bb7644c4d9014f6f8d4550850f722a4ad3facd149a787044236ae6e547d89d25271979469a58e69a9dce5a1d2680f18705ba74d8659855c2212
7
- data.tar.gz: db763d23e3ad03d302cd73e3c5048daabb8bcfd13b6e421c2cb2704b6613ecd741e42b085e00a818ebb9784a6313ac7742fd0092d4efd945d338bad0716c3656
6
+ metadata.gz: 1c02da6411910a6c6c298adc86a077b4afab76de9646a4fa6e2aadb910659f86049b267a6b74a922106b5fb08e3a8fa087030a8210c4557503d2e3002bf4bc5a
7
+ data.tar.gz: 5769d3a30324046bc90947dffedb9a1ee34f928df5d69ca97fe336800afdd809b7166811bf43f1e868b86ac92a01852ff36ac95692d210299eaf9f8906c17bcd
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.3"
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.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - thadeu