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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/History.md +7 -0
- data/ext/mdbx_ext/database.c +7 -1
- data/lib/mdbx.rb +1 -1
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebac91a21c1f1c16214f94cead64d97c1773fb0689cdb6a4a0487bc3dbf12f63
|
4
|
+
data.tar.gz: 6e527eeb9bd430742c1057699653f50c9c9437a3b4770a9213dfb0a3c7102eb1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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:
|
data/ext/mdbx_ext/database.c
CHANGED
@@ -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
|
-
|
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
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.
|
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-
|
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.
|
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
|