rdf-lmdb 0.3.5 → 0.3.6
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 +4 -4
- data/lib/rdf/lmdb/version.rb +1 -1
- data/lib/rdf/lmdb.rb +3 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8bd37a5a5b62c89a2096f857dea6461798dc5bfc48d155b902979d97cf949214
|
4
|
+
data.tar.gz: f332981a1cfb15aa127d3a73b1356a5664221f057944ec21febf1c8c863de261
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbda446d51f8d780de5bee1aa772a05ded8263eb820aa758c320f96cdd892b8fedb3925e409225d315bf17570604c4a63097e62bb8d9e776025042eb98b54776
|
7
|
+
data.tar.gz: 50f8483a107b10593bcc527ec7f25ef5e3505ebe1d21b6ee2cde2286142bf308036130365e2e810e0a498a6e283f6cb2c17d3c2b1c4fc3f302de86fb2daa4966
|
data/lib/rdf/lmdb/version.rb
CHANGED
data/lib/rdf/lmdb.rb
CHANGED
@@ -463,6 +463,8 @@ Currently you have to dump from the old layout and reload the new one. Sorry!
|
|
463
463
|
|
464
464
|
@dbs[:stmt2g].each_value spack do |gpack|
|
465
465
|
gint = gpack.unpack1 ?J
|
466
|
+
# setting the default graph to zero seems like something
|
467
|
+
# i would do
|
466
468
|
next if has_graph and gint == 0
|
467
469
|
graph = resolve_term gpack, cache: cache, write: true
|
468
470
|
block.call RDF::Statement(*spo, graph_name: graph)
|
@@ -516,7 +518,7 @@ Currently you have to dump from the old layout and reload the new one. Sorry!
|
|
516
518
|
pattern = pattern.to_h
|
517
519
|
|
518
520
|
# flag if the graph is a variable
|
519
|
-
gv =
|
521
|
+
gv = pattern[:graph_name] && pattern[:graph_name].variable?
|
520
522
|
|
521
523
|
# hash of terms we get from the pattern
|
522
524
|
thash = pattern.reject { |_, v| !v or v.variable? }
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdf-lmdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dorian Taylor
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-06-16 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: bundler
|