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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 324af40178b78644a54749f57358ffc016ddc98adbca8e3b3497bf3349867bb3
4
- data.tar.gz: 2fb306d4df121ce824fb3f2dfead4bf074d93c21b837c995610c3bb43f0671ec
3
+ metadata.gz: 3a7d5bc06eadca59c26ea908e391927f8cf75fbd5ddaceb66f1a0ca58e46a767
4
+ data.tar.gz: e9c121291ede4b1a7f22c0cfe5bd9146c5617d60cd2e6c64a143af1b9f652bfd
5
5
  SHA512:
6
- metadata.gz: 5b6bade9c752328f024cc45ead71ee1d56007a283c8acf54c974da0b1a533c43585d3e1e53ea0805492284bf824cc8e403e6950942a2a998e7e8df13bcb768d6
7
- data.tar.gz: aebe1d54b00a7dabebbef8cd764c3ef3c59f2ae131e150841901f5d64104d2ebe5f408bf2ca8484905f9345f3d2da0eda7d0538833eb576681dab6ba8443cd07
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.com/rdf/etc/doap.nq")
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.add_default(false)
25
+ aggregate.default(false)
25
26
 
26
27
  # Use a single named graph
27
- aggregate.add_named(RDF::URI("https://greggkellogg.net/foaf#me"))
28
+ aggregate.named(RDF::URI("https://greggkellogg.net/foaf#me"))
28
29
 
29
30
  # Retrieve all contexts
30
- aggreggate.contexts.to_a #=> [RDF::URI("https://greggkellogg.net/foaf#me")]
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.com/
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.0
1
+ 3.2.1
@@ -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
- graph.sources.each do |s|
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.0
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: 2021-12-07 00:00:00.000000000 Z
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: