immudb 0.2.0 → 0.2.1

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
  SHA256:
3
- metadata.gz: 0200e6229a8e67d2592feb14e0375910e5c62bf358ee826357fc4b0b03b17751
4
- data.tar.gz: dcb8aab1b18fd45882517b7a4aaa76801ec0fdd8881676084df490e57af354b6
3
+ metadata.gz: 6613867a47544d8be8461ef7facd0b8bef751666fe3a438b8d1bdd5aeb124a78
4
+ data.tar.gz: '049dbf81f8e5619c80d2e348e95c5a50bf357e8167a84df914635eeba33f06aa'
5
5
  SHA512:
6
- metadata.gz: a0b20a298d7deb3783b988486c414d7486e242709cbb7b13fbab8579159cdb757ff68f870233a38da5a0aa0813c6c98415967a07bf4f808fc4a48764bec4204b
7
- data.tar.gz: 5d2f796fea4da4e067f197a47469ae6bb95ccb4a24b4e81982948e113c79c7244827be5e33e8010431268975854f6d5802b6610a1f65ccafe71b4b25a356e87e
6
+ metadata.gz: 44584bdbd863fdf2acb4df2550689c9088f79326a26c701dbd0f31a5284afc11029eca69b9a2306d27b2b82427b45db76372b898a403bb30367908781b011bf6
7
+ data.tar.gz: 75e72bcedcc5e8372a9d4805c9f679da74dca59b29729aeb471f83e9ff59c1fbf32cd3ebd61516870b1c78746c9334e61dca46ecf4564656110e3bba15bc7704
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.2.1 (2023-10-26)
2
+
3
+ - Added support for immudb 1.9DOM
4
+
1
5
  ## 0.2.0 (2023-05-11)
2
6
 
3
7
  - Dropped support for Ruby < 3
@@ -38,6 +38,9 @@ module Immudb
38
38
  mdbs = "".b
39
39
  if !@metadata.nil?
40
40
  mdbs = @metadata.bytes
41
+ if mdbs.nil?
42
+ mdbs = "".b
43
+ end
41
44
  end
42
45
  md.update([mdbs.length].pack("n"))
43
46
  md.update(mdbs)
@@ -22,5 +22,9 @@ module Immudb
22
22
  bi = bi + inner_hash
23
23
  Digest::SHA256.digest(bi)
24
24
  end
25
+
26
+ def bytes
27
+ nil
28
+ end
25
29
  end
26
30
  end
@@ -1,3 +1,3 @@
1
1
  module Immudb
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
data/lib/immudb.rb CHANGED
@@ -4,30 +4,30 @@ require "openssl"
4
4
  require "time"
5
5
 
6
6
  # grpc
7
- require "immudb/grpc/schema_services_pb"
7
+ require_relative "immudb/grpc/schema_services_pb"
8
8
 
9
9
  # modules
10
- require "immudb/client"
11
- require "immudb/constants"
12
- require "immudb/database"
13
- require "immudb/dual_proof"
14
- require "immudb/entry_spec"
15
- require "immudb/htree"
16
- require "immudb/inclusion_proof"
17
- require "immudb/interceptor"
18
- require "immudb/kv"
19
- require "immudb/kv_metadata"
20
- require "immudb/linear_proof"
21
- require "immudb/root_service"
22
- require "immudb/schema"
23
- require "immudb/sql_result"
24
- require "immudb/state"
25
- require "immudb/store"
26
- require "immudb/tx"
27
- require "immudb/tx_entry"
28
- require "immudb/tx_header"
29
- require "immudb/tx_metadata"
30
- require "immudb/version"
10
+ require_relative "immudb/client"
11
+ require_relative "immudb/constants"
12
+ require_relative "immudb/database"
13
+ require_relative "immudb/dual_proof"
14
+ require_relative "immudb/entry_spec"
15
+ require_relative "immudb/htree"
16
+ require_relative "immudb/inclusion_proof"
17
+ require_relative "immudb/interceptor"
18
+ require_relative "immudb/kv"
19
+ require_relative "immudb/kv_metadata"
20
+ require_relative "immudb/linear_proof"
21
+ require_relative "immudb/root_service"
22
+ require_relative "immudb/schema"
23
+ require_relative "immudb/sql_result"
24
+ require_relative "immudb/state"
25
+ require_relative "immudb/store"
26
+ require_relative "immudb/tx"
27
+ require_relative "immudb/tx_entry"
28
+ require_relative "immudb/tx_header"
29
+ require_relative "immudb/tx_metadata"
30
+ require_relative "immudb/version"
31
31
 
32
32
  module Immudb
33
33
  class Error < StandardError; end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: immudb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-12 00:00:00.000000000 Z
11
+ date: 2023-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc