rdf-aggregate-repo 3.2.0 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -5
- data/VERSION +1 -1
- data/lib/rdf/aggregate_repo.rb +2 -2
- metadata +8 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a7d5bc06eadca59c26ea908e391927f8cf75fbd5ddaceb66f1a0ca58e46a767
|
4
|
+
data.tar.gz: e9c121291ede4b1a7f22c0cfe5bd9146c5617d60cd2e6c64a143af1b9f652bfd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 979c263051562bcbb0e3a36c360c913250e2e940fe57aec560b0133fa4dd294ec96dedf1ec90ae3a22879aff8100dba01ca28d7224f1b09659e6facbcf484319
|
7
|
+
data.tar.gz: 8832ab836d118874d99dc79864fbaf177fe6a3935c73edab273083e3723dac4affec34741cc43b82bd097f8d296ef194aa1ab61aeffcda461165a46858217f10
|
data/README.md
CHANGED
@@ -14,20 +14,21 @@ Maps named graphs from one or more `RDF::Queryable` instances into a single data
|
|
14
14
|
## Examples
|
15
15
|
|
16
16
|
require 'rdf'
|
17
|
+
require 'rdf/aggregate_repo
|
17
18
|
require 'rdf/nquads'
|
18
|
-
repo = RDF::Repository.load("https://ruby-rdf.github.
|
19
|
+
repo = RDF::Repository.load("https://ruby-rdf.github.io/rdf/etc/doap.nq")
|
19
20
|
|
20
21
|
# Instantiate a new aggregate repo based on an existing repo
|
21
22
|
aggregate = RDF::AggregateRepo.new(repo)
|
22
23
|
|
23
24
|
# Use the default graph from the repo as the default graph of the aggregate
|
24
|
-
aggregate.
|
25
|
+
aggregate.default(false)
|
25
26
|
|
26
27
|
# Use a single named graph
|
27
|
-
aggregate.
|
28
|
+
aggregate.named(RDF::URI("https://greggkellogg.net/foaf#me"))
|
28
29
|
|
29
30
|
# Retrieve all contexts
|
30
|
-
aggreggate.
|
31
|
+
aggreggate.aggregate.graph_names #=> [RDF::URI("https://greggkellogg.net/foaf#me")]
|
31
32
|
|
32
33
|
## Dependencies
|
33
34
|
|
@@ -67,7 +68,7 @@ This repository uses [Git Flow](https://github.com/nvie/gitflow) to mange develo
|
|
67
68
|
This is free and unencumbered public domain software. For more information,
|
68
69
|
see <https://unlicense.org/> or the accompanying {file:UNLICENSE} file.
|
69
70
|
|
70
|
-
[RDF.rb]: https://ruby-rdf.github.
|
71
|
+
[RDF.rb]: https://ruby-rdf.github.io/
|
71
72
|
[RDF Datasets]: https://www.w3.org/TR/rdf11-concepts/#dfn-rdf-dataset
|
72
73
|
[YARD]: https://yardoc.org/
|
73
74
|
[YARD-GS]: https://rubydoc.info/docs/yard/file/docs/GettingStarted.md
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.2.
|
1
|
+
3.2.1
|
data/lib/rdf/aggregate_repo.rb
CHANGED
@@ -268,9 +268,9 @@ module RDF
|
|
268
268
|
# Otherwise, create a MergeGraph from the set of pairs of source and graph_name
|
269
269
|
RDF::MergeGraph.new(name: nil) do |graph|
|
270
270
|
if defaults == [false]
|
271
|
-
|
271
|
+
sources.each do |s|
|
272
272
|
# Add default graph from each source
|
273
|
-
source s, false
|
273
|
+
graph.source s, false
|
274
274
|
end
|
275
275
|
else
|
276
276
|
defaults.each do |graph_name|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdf-aggregate-repo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregg Kellogg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rdf
|
@@ -111,7 +111,12 @@ files:
|
|
111
111
|
homepage: https://github.com/ruby-rdf/rdf-aggregate-repo
|
112
112
|
licenses:
|
113
113
|
- Unlicense
|
114
|
-
metadata:
|
114
|
+
metadata:
|
115
|
+
documentation_uri: https://ruby-rdf.github.io/rdf-aggregate-repo
|
116
|
+
bug_tracker_uri: https://github.com/ruby-rdf/rdf-aggregate-repo/issues
|
117
|
+
homepage_uri: https://github.com/ruby-rdf/rdf-aggregate-repo
|
118
|
+
mailing_list_uri: https://lists.w3.org/Archives/Public/public-rdf-ruby/
|
119
|
+
source_code_uri: https://github.com/ruby-rdf/rdf-aggregate-repo
|
115
120
|
post_install_message:
|
116
121
|
rdoc_options: []
|
117
122
|
require_paths:
|