Skip to content

Commit 3e780b5

Browse files
committed
Finish 3.2.1
2 parents cc8d6d3 + 7751315 commit 3e780b5

File tree

6 files changed

+96
-59
lines changed

6 files changed

+96
-59
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
ruby:
2323
- 2.6
2424
- 2.7
25-
- 3.0
25+
- "3.0"
2626
- 3.1
2727
- ruby-head
2828
- jruby
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build & deploy documentation
2+
on:
3+
push:
4+
branches:
5+
- master
6+
workflow_dispatch:
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
name: Update gh-pages with docs
11+
steps:
12+
- name: Clone repository
13+
uses: actions/checkout@v2
14+
- name: Set up Ruby
15+
uses: ruby/setup-ruby@v1
16+
with:
17+
ruby-version: "3.1"
18+
- name: Install required gem dependencies
19+
run: gem install yard --no-document
20+
- name: Build YARD Ruby Documentation
21+
run: yardoc
22+
- name: Deploy
23+
uses: peaceiris/actions-gh-pages@v3
24+
with:
25+
github_token: ${{ secrets.GITHUB_TOKEN }}
26+
publish_dir: ./doc/yard
27+
publish_branch: gh-pages

README.md

Lines changed: 36 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,28 @@ This is a meta-distribution of [RDF.rb][] including all currently available
44
and usable parsing/serialization extensions, intended to make producing and
55
consuming [Linked Data][] with Ruby as quick & easy as possible.
66

7-
* <http://www.rubydoc.info/github/ruby-rdf/linkeddata>
8-
97
[![Gem Version](https://badge.fury.io/rb/linkeddata.png)](http://badge.fury.io/rb/linkeddata)
108
[![Build Status](https://github.com/ruby-rdf/linkeddata/workflows/CI/badge.svg?branch=develop)](https://github.com/ruby-rdf/linkeddata/actions?query=workflow%3ACI)
119
[![Gitter chat](https://badges.gitter.im/ruby-rdf/rdf.png)](https://gitter.im/ruby-rdf/rdf)
1210

1311
## Features
1412

1513
* Includes [N-Triples][] and [N-Quads][] support using [RDF.rb][].
14+
* Includes [JSON-LD][] support using the [JSON::LD][] and [JSON::LD::Preloaded] gems.
15+
* Includes [RDFa][] support using the [RDF::RDFa][] gem.
1616
* Includes [RDF/XML][] support using the [RDF::RDFXML][] gem.
1717
* Includes [Microdata][] support using the [RDF::Microdata][] gem.
1818
* Includes [Notation3][] support using the [RDF::N3][] gem.
19+
* Includes [TriG][] support using the [RDF::TriG][] gem.
20+
* Includes [TriX][] support using the [RDF::TriX][] gem.
21+
* Includes [Turtle][] support using the [RDF::Turtle][] gem.
22+
* Includes [CSVW][] support for tabular data using the [RDF::Tabular][] gem.
23+
* Includes [YAML-LD][] support using the [YAML_LD][] gem.
1924
* Includes [RDF Dataset Normalization][Normalization] support using the [RDF::Normalize][] gem.
2025
* Includes [RDFS][], [schema.org][] and limited [OWL][] reasoning using the [RDF::Reasoner][] gem.
21-
* Includes [RDFa][] support using the [RDF::RDFa][] gem.
2226
* Includes [RDF/JSON][] support using the [RDF::JSON][] gem.
2327
* Includes [SHACL][] support using the [SHACL][] gem.
2428
* Includes [ShEx][] support using the [ShEx][] gem.
25-
* Includes [TriG][] support using the [RDF::TriG][] gem.
26-
* Includes [TriX][] support using the [RDF::TriX][] gem.
27-
* Includes [Turtle][] support using the [RDF::Turtle][] gem.
28-
* Includes [JSON-LD][] support using the [JSON::LD][] and [JSON::LD::Preloaded] gems.
29-
* Includes [CSVW][] support for tabular data using the [RDF::Tabular][] gem.
3029
* Includes [LD Patch][] support using the [LD::Patch][] gem.
3130
* Includes Aggregate Repository support using [RDF::AggregateRepo][], which allows graphs and repositories to be aggregated from multiple sources.
3231
* Includes [SPARQL][] support using the [SPARQL][SPARQL gem] and [SPARQL::Client][] gems
@@ -108,32 +107,33 @@ see <http://unlicense.org/> or the accompanying {file:UNLICENSE} file.
108107
[YARD-GS]: https://rubydoc.info/docs/yard/file/docs/GettingStarted.md
109108
[PDD]: https://unlicense.org/#unlicensing-contributions
110109

111-
[RDF.rb]: http://www.rubydoc.info/github/ruby-rdf/rdf
112-
[RDF::AggregateRepo]: http://www.rubydoc.info/github/ruby-rdf/rdf-aggregate-repo
113-
[RDF::HamsterRepo]: http://www.rubydoc.info/github/ruby-rdf/rdf-hamster-repo
114-
[RDF::Isomorphic]: http://www.rubydoc.info/github/ruby-rdf/rdf-isomorphic
115-
[RDF::JSON]: http://www.rubydoc.info/github/ruby-rdf/rdf-json
116-
[RDF::Microdata]: http://www.rubydoc.info/github/ruby-rdf/rdf-microdata
117-
[RDF::N3]: http://www.rubydoc.info/github/ruby-rdf/rdf-n3
118-
[RDF::Normalize]: http://www.rubydoc.info/github/ruby-rdf/rdf-normalize
119-
[RDF::Ordredepo]: http://www.rubydoc.info/github/ruby-rdf/rdf-ordered-repo
120-
[RDF::Raptor]: http://www.rubydoc.info/github/ruby-rdf/rdf-raptor
121-
[RDF::RDFa]: http://www.rubydoc.info/github/ruby-rdf/rdf-rdfa
122-
[RDF::RDFXML]: http://www.rubydoc.info/github/ruby-rdf/rdf-rdfxml
123-
[RDF::Reasoner]: http://www.rubydoc.info/github/ruby-rdf/rdf-reasoner
124-
[RDF::Tabular]: http://www.rubydoc.info/github/ruby-rdf/rdf-tabular
125-
[RDF::TriG]: http://www.rubydoc.info/github/ruby-rdf/rdf-trig
126-
[RDF::TriX]: http://www.rubydoc.info/github/ruby-rdf/rdf-trix
127-
[RDF::Turtle]: http://www.rubydoc.info/github/ruby-rdf/rdf-turtle
128-
[RDF::Vocab]: http://www.rubydoc.info/github/ruby-rdf/rdf-vocab
129-
[RDF::XSD]: http://www.rubydoc.info/github/ruby-rdf/rdf-xsd
130-
[JSON::LD]: http://www.rubydoc.info/github/ruby-rdf/json-ld
131-
[JSON::LD::Preloaded]: http://www.rubydoc.info/github/ruby-rdf/json-ld-preloaded
132-
[LD::Patch]: http://www.rubydoc.info/github/ruby-rdf/ld-patch
133-
[SHACL gem]: http://www.rubydoc.info/github/ruby-rdf/shacl
134-
[ShEx gem]: http://www.rubydoc.info/github/ruby-rdf/shex
135-
[SPARQL gem]: http://www.rubydoc.info/github/ruby-rdf/sparql
136-
[SPARQL::Client]: http://www.rubydoc.info/github/ruby-rdf/sparql-client
110+
[RDF.rb]: https://ruby-rdf.github.io/rdf
111+
[RDF::AggregateRepo]: https://ruby-rdf.github.io/rdf-aggregate-repo
112+
[RDF::HamsterRepo]: https://ruby-rdf.github.io/rdf-hamster-repo
113+
[RDF::Isomorphic]: https://ruby-rdf.github.io/rdf-isomorphic
114+
[RDF::JSON]: https://ruby-rdf.github.io/rdf-json
115+
[RDF::Microdata]: https://ruby-rdf.github.io/rdf-microdata
116+
[RDF::N3]: https://ruby-rdf.github.io/rdf-n3
117+
[RDF::Normalize]: https://ruby-rdf.github.io/rdf-normalize
118+
[RDF::Ordredepo]: https://ruby-rdf.github.io/rdf-ordered-repo
119+
[RDF::Raptor]: https://ruby-rdf.github.io/rdf-raptor
120+
[RDF::RDFa]: https://ruby-rdf.github.io/rdf-rdfa
121+
[RDF::RDFXML]: https://ruby-rdf.github.io/rdf-rdfxml
122+
[RDF::Reasoner]: https://ruby-rdf.github.io/rdf-reasoner
123+
[RDF::Tabular]: https://ruby-rdf.github.io/rdf-tabular
124+
[RDF::TriG]: https://ruby-rdf.github.io/rdf-trig
125+
[RDF::TriX]: https://ruby-rdf.github.io/rdf-trix
126+
[RDF::Turtle]: https://ruby-rdf.github.io/rdf-turtle
127+
[RDF::Vocab]: https://ruby-rdf.github.io/rdf-vocab
128+
[RDF::XSD]: https://ruby-rdf.github.io/rdf-xsd
129+
[JSON::LD]: https://ruby-rdf.github.io/json-ld
130+
[JSON::LD::Preloaded]: https://ruby-rdf.github.io/json-ld-preloaded
131+
[LD::Patch]: https://ruby-rdf.github.io/ld-patch
132+
[SHACL gem]: https://ruby-rdf.github.io/shacl
133+
[ShEx gem]: https://ruby-rdf.github.io/shex
134+
[SPARQL gem]: https://ruby-rdf.github.io/sparql
135+
[SPARQL::Client]: https://ruby-rdf.github.io/sparql-client
136+
[YAML_LD]: https://ruby-rdf.github.io/yaml-ld
137137

138138
[Linked Data]: http://linkeddata.org/
139139
[CSVW]: https://www.w3.org/standards/techs/csv#w3c_all
@@ -158,4 +158,5 @@ see <http://unlicense.org/> or the accompanying {file:UNLICENSE} file.
158158
[TriG]: http://www.w3.org/TR/trig/
159159
[TriX]: http://www.w3.org/2004/03/trix/
160160
[Turtle]: http://www.w3.org/TR/turtle/
161-
[XSD Datatypes]: http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#built-in-datatypes
161+
[XSD Datatypes]: http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#built-in-datatypes
162+
[YAML-LD]: https://json-ld.github.io/yaml-ld/spec

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.2.0
1+
3.2.1

lib/linkeddata.rb

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ module LinkedData
1010
# @see https://rubygems.org/gems/json-ld-preloaded
1111
require 'json/ld/preloaded'
1212

13+
# @see https://rubygems.org/gems/ld-patch
14+
require 'ld/patch'
15+
1316
# @see https://rubygems.org/gems/rdf-aggregate-repo
1417
require 'rdf/aggregate_repo'
1518

@@ -73,8 +76,8 @@ module LinkedData
7376
# @see https://rubygems.org/gems/sparql-client
7477
require 'sparql/client'
7578

76-
# @see https://rubygems.org/gems/ld-patch
77-
require 'ld/patch'
79+
# @see https://rubygems.org/gems/yaml-ld
80+
require 'yaml_ld'
7881

7982
include RDF
8083
end

linkeddata.gemspec

Lines changed: 26 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
11
#!/usr/bin/env ruby -rubygems
22
# -*- encoding: utf-8 -*-
33

4-
is_java = RUBY_PLATFORM == 'java'
5-
64
Gem::Specification.new do |gem|
75
gem.version = File.read('VERSION').chomp
86
gem.date = File.mtime('VERSION').strftime('%Y-%m-%d')
97

108
gem.name = 'linkeddata'
11-
gem.homepage = 'https://ruby-rdf.github.com/'
9+
gem.homepage = 'https://ruby-rdf.github.io/linkeddata'
1210
gem.license = 'Unlicense'
1311
gem.summary = 'Linked Data for Ruby.'
1412
gem.description = 'A metadistribution of RDF.rb including a full set of parsing/serialization plugins.'
13+
gem.metadata = {
14+
"documentation_uri" => "http://rdf.greggkellogg.net/yard/index.html",
15+
"bug_tracker_uri" => "https://github.com/ruby-rdf/rdf/issues",
16+
"homepage_uri" => "https://github.com/ruby-rdf/linkeddata",
17+
"mailing_list_uri" => "https://lists.w3.org/Archives/Public/public-rdf-ruby/",
18+
"source_code_uri" => "https://github.com/ruby-rdf/linkeddata",
19+
}
1520

1621
gem.authors = ['Arto Bendiken', 'Ben Lavender', 'Gregg Kellogg', 'Tom Johnson']
1722
gem.email = 'public-rdf-ruby@w3.org'
@@ -22,35 +27,36 @@ Gem::Specification.new do |gem|
2227

2328
gem.required_ruby_version = '>= 2.6'
2429
gem.requirements = []
25-
gem.add_runtime_dependency 'rdf', '~> 3.2'
26-
gem.add_runtime_dependency 'rdf-aggregate-repo', '~> 3.2'
30+
gem.add_runtime_dependency 'rdf', '~> 3.2', '>= 3.2.9'
31+
gem.add_runtime_dependency 'rdf-aggregate-repo', '~> 3.2', '>= 3.2.1'
2732
gem.add_runtime_dependency 'rdf-hamster-repo', '~> 3.2'
28-
gem.add_runtime_dependency 'rdf-isomorphic', '~> 3.2'
33+
gem.add_runtime_dependency 'rdf-isomorphic', '~> 3.2', '>= 3.2.1'
2934
gem.add_runtime_dependency 'rdf-json', '~> 3.2'
30-
gem.add_runtime_dependency 'rdf-microdata', '~> 3.2'
31-
gem.add_runtime_dependency 'rdf-n3', '~> 3.2'
35+
gem.add_runtime_dependency 'rdf-microdata', '~> 3.2', '>= 3.2.1'
36+
gem.add_runtime_dependency 'rdf-n3', '~> 3.2', '>= 3.2.1'
3237
gem.add_runtime_dependency 'rdf-normalize', '~> 0.5'
33-
gem.add_runtime_dependency 'rdf-ordered-repo', '~> 3.2'
38+
gem.add_runtime_dependency 'rdf-ordered-repo', '~> 3.2', '>= 3.2.1'
3439
gem.add_runtime_dependency 'rdf-rdfa', '~> 3.2'
3540
gem.add_runtime_dependency 'rdf-rdfxml', '~> 3.2'
3641
gem.add_runtime_dependency 'rdf-reasoner', '~> 0.8'
37-
gem.add_runtime_dependency 'rdf-tabular', '~> 3.2'
42+
gem.add_runtime_dependency 'rdf-tabular', '~> 3.2', '>= 3.2.1'
3843
gem.add_runtime_dependency 'rdf-trig', '~> 3.2'
3944
gem.add_runtime_dependency 'rdf-trix', '~> 3.2'
40-
gem.add_runtime_dependency 'rdf-turtle', '~> 3.2'
41-
gem.add_runtime_dependency 'rdf-vocab', '~> 3.2'
42-
gem.add_runtime_dependency 'rdf-xsd', '~> 3.2'
43-
gem.add_runtime_dependency 'json-ld', '~> 3.2'
45+
gem.add_runtime_dependency 'rdf-turtle', '~> 3.2', '>= 3.2.1'
46+
gem.add_runtime_dependency 'rdf-vocab', '~> 3.2', '>= 3.2.1'
47+
gem.add_runtime_dependency 'rdf-xsd', '~> 3.2', '>= 3.2.1'
48+
gem.add_runtime_dependency 'json-ld', '~> 3.2', '>= 3.2.3'
4449
gem.add_runtime_dependency 'json-ld-preloaded', '~> 3.2'
4550
gem.add_runtime_dependency 'ld-patch', '~> 3.2'
46-
gem.add_runtime_dependency 'shacl', '~> 0.2'
47-
gem.add_runtime_dependency 'shex', '~> 0.7'
48-
gem.add_runtime_dependency 'sparql', '~> 3.2'
49-
gem.add_runtime_dependency 'sparql-client', '~> 3.2'
50-
gem.add_runtime_dependency 'nokogiri', '~> 1.12', '>= 1.12.5'
51+
gem.add_runtime_dependency 'shacl', '~> 0.2', '>= 0.2.1'
52+
gem.add_runtime_dependency 'shex', '~> 0.7', '>= 0.7.1'
53+
gem.add_runtime_dependency 'sparql', '~> 3.2', '>= 3.2.4'
54+
gem.add_runtime_dependency 'sparql-client', '~> 3.2', '>= 3.2.1'
55+
gem.add_runtime_dependency 'nokogiri', '~> 1.13', '>= 1.13.8'
5156
#gem.add_runtime_dependency 'equivalent-xml', '~> 0.6'
57+
gem.add_runtime_dependency 'yaml-ld', '~> 0.0'
5258
gem.add_development_dependency 'yard', '~> 0.9'
53-
gem.add_development_dependency 'rspec', '~> 3.10'
59+
gem.add_development_dependency 'rspec', '~> 3.11'
5460
gem.add_development_dependency 'rspec-its', '~> 1.3'
5561
gem.add_development_dependency 'rdf-spec', '~> 3.2'
5662
gem.post_install_message = nil

0 commit comments

Comments
 (0)