mdbx 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: ad20dc19f790a03c428f1d37d082e55934708b11db27bafca68d53ddf47a8e74
4
- data.tar.gz: 91425da92a3a2747993800ba2a56d1e6314d886fd4e928e034bd299c35186808
3
+ metadata.gz: ebac91a21c1f1c16214f94cead64d97c1773fb0689cdb6a4a0487bc3dbf12f63
4
+ data.tar.gz: 6e527eeb9bd430742c1057699653f50c9c9437a3b4770a9213dfb0a3c7102eb1
5
5
  SHA512:
6
- metadata.gz: 7c450fe97457401622eee77174e0ee77b16d7620c8842fb4045289972cc0f99a52533c790197a54a3e03c05db391cf64bbbb630e92fe64a7d0467de7b70ea079
7
- data.tar.gz: b793386005b3fc04659de9fa608b75a5bba56b9257c5b472d570f19a3c4ca93a14b0f8de44b01a4be2ea2aaa8aa2ec2fb8f632eef183acf0421c50e00be9c652
6
+ metadata.gz: 9159f1033372110bb223b3dcfbbfce48e167da861cb078493d21293f85978c3ecbf744f02dbf6e4833aedb5669897c6d13f8662bf4a5a6d8ac05f5495643885e
7
+ data.tar.gz: e3c23310cf9e05e51f5c0a21dbc50ca7bb60219b776c3745e0f527ec4df201927298e627fed6ab49871bdd4c734ea19810160a317540101d102460bd82392411
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/History.md CHANGED
@@ -1,6 +1,13 @@
1
1
  # Release History for MDBX
2
2
 
3
3
  ---
4
+ ## v0.2.1 [2021-04-06] Mahlon E. Smith <mahlon@martini.nu>
5
+
6
+ Enhancement:
7
+
8
+ - Automatically stringify any argument to the collection() method.
9
+
10
+
4
11
  ## v0.2.0 [2021-03-19] Mahlon E. Smith <mahlon@martini.nu>
5
12
 
6
13
  Enhancement:
@@ -603,7 +603,13 @@ rmdbx_set_subdb( int argc, VALUE *argv, VALUE self )
603
603
  strcpy( prev_db, db->subdb );
604
604
  }
605
605
 
606
- db->subdb = NIL_P( subdb ) ? NULL : StringValueCStr( subdb );
606
+ if ( NIL_P(subdb) ) {
607
+ db->subdb = NULL;
608
+ }
609
+ else {
610
+ subdb = rb_funcall( subdb, rb_intern("to_s"), 0 );
611
+ db->subdb = StringValueCStr( subdb );
612
+ }
607
613
  rmdbx_close_dbi( db );
608
614
 
609
615
  /*
data/lib/mdbx.rb CHANGED
@@ -10,7 +10,7 @@ require 'mdbx_ext'
10
10
  module MDBX
11
11
 
12
12
  # The version of this gem.
13
- VERSION = '0.2.0'
13
+ VERSION = '0.2.1'
14
14
 
15
15
  end # module MDBX
16
16
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mdbx
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
  - Mahlon E. Smith
@@ -34,7 +34,7 @@ cert_chain:
34
34
  49pOzX5KHZLTS9DKeaP/xcGPz6C8MiwQdYrZarr2SHRASX1zFa79rkItO8kE6RDr
35
35
  b6WDF79UvZ55ajtE00TiwqjQL/ZPEtbd
36
36
  -----END CERTIFICATE-----
37
- date: 2021-03-19 00:00:00.000000000 Z
37
+ date: 2021-04-06 00:00:00.000000000 Z
38
38
  dependencies:
39
39
  - !ruby/object:Gem::Dependency
40
40
  name: pry
@@ -215,7 +215,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
215
215
  - !ruby/object:Gem::Version
216
216
  version: '0'
217
217
  requirements: []
218
- rubygems_version: 3.1.4
218
+ rubygems_version: 3.2.11
219
219
  signing_key:
220
220
  specification_version: 4
221
221
  summary: A ruby binding to libmdbx, an improved version of the Lightning Memory Mapped
metadata.gz.sig CHANGED
Binary file