diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0aaedb9..00b888b 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -19,16 +19,10 @@ jobs:
strategy:
fail-fast: false
matrix:
- ruby:
- - 2.6
- - 2.7
- - 3.0
- - 3.1
- - ruby-head
- - jruby
+ ruby: ['3.0', 3.1, 3.2, ruby-head, jruby]
steps:
- name: Clone repository
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
@@ -38,7 +32,7 @@ jobs:
- name: Run tests
run: ruby --version; bundle exec rspec spec || $ALLOW_FAILURES
- name: Coveralls GitHub Action
- uses: coverallsapp/github-action@v1.1.2
- if: "matrix.ruby == '3.0'"
+ uses: coverallsapp/github-action@v2
+ if: "matrix.ruby == '3.2'"
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.github/workflows/generate-docs.yml b/.github/workflows/generate-docs.yml
new file mode 100644
index 0000000..65aea93
--- /dev/null
+++ b/.github/workflows/generate-docs.yml
@@ -0,0 +1,27 @@
+name: Build & deploy documentation
+on:
+ push:
+ branches:
+ - master
+ workflow_dispatch:
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ name: Update gh-pages with docs
+ steps:
+ - name: Clone repository
+ uses: actions/checkout@v3
+ - name: Set up Ruby
+ uses: ruby/setup-ruby@v1
+ with:
+ ruby-version: "3.1"
+ - name: Install required gem dependencies
+ run: gem install yard --no-document
+ - name: Build YARD Ruby Documentation
+ run: yardoc
+ - name: Deploy
+ uses: peaceiris/actions-gh-pages@v3
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ publish_dir: ./doc/yard
+ publish_branch: gh-pages
diff --git a/Gemfile b/Gemfile
index febdb81..c91b2ac 100644
--- a/Gemfile
+++ b/Gemfile
@@ -16,7 +16,7 @@ group :development, :test do
gem "rdf-vocab", github: "ruby-rdf/rdf-vocab", branch: "develop"
gem 'sxp', github: "dryruby/sxp.rb", branch: "develop"
gem 'rake'
- gem 'simplecov', '~> 0.21', platforms: :mri
+ gem 'simplecov', '~> 0.22', platforms: :mri
gem 'simplecov-lcov', '~> 0.8', platforms: :mri
end
diff --git a/README.md b/README.md
index 0df5317..51790a2 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
A partial RDFS/OWL/schema.org reasoner for [RDF.rb][].
-[![Gem Version](https://badge.fury.io/rb/rdf-reasoner.png)](https://badge.fury.io/rb/rdf-reasoner)
+[![Gem Version](https://badge.fury.io/rb/rdf-reasoner.svg)](https://badge.fury.io/rb/rdf-reasoner)
[![Build Status](https://github.com/ruby-rdf/rdf-reasoner/workflows/CI/badge.svg?branch=develop)](https://github.com/ruby-rdf/rdf-reasoner/actions?query=workflow%3ACI)
[![Coverage Status](https://coveralls.io/repos/ruby-rdf/rdf-reasoner/badge.svg?branch=develop)](https://coveralls.io/github/ruby-rdf/rdf-reasoner?branch=develop)
[![Gitter chat](https://badges.gitter.im/ruby-rdf/rdf.png)](https://gitter.im/ruby-rdf/rdf)
@@ -121,8 +121,8 @@ The `rdf` command-line interface is extended with `entail` and `lint` commands.
## Dependencies
-* [Ruby](https://ruby-lang.org/) (>= 2.6)
-* [RDF.rb](https://rubygems.org/gems/rdf) (~> 3.2)
+* [Ruby](https://ruby-lang.org/) (>= 3.0)
+* [RDF.rb](https://rubygems.org/gems/rdf) (~> 3.3)
## Mailing List
@@ -163,6 +163,6 @@ see or the accompanying {file:UNLICENSE} file.
[SPARQL Query]: https://www.w3.org/TR/2013/REC-sparql11-query-20130321/
[SPARQL Entailment]:https://www.w3.org/TR/sparql11-entailment/
[RDF 1.1]: https://www.w3.org/TR/rdf11-concepts
-[RDF.rb]: https://www.rubydoc.info/github/ruby-rdf/rdf/
+[RDF.rb]: https://ruby-rdf.github.io/rdf/
[RDF Schema]: https://www.w3.org/TR/rdf-schema/
[Rack]: https://rack.github.io/
diff --git a/VERSION b/VERSION
index a3df0a6..ac39a10 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.8.0
+0.9.0
diff --git a/etc/doap.ttl b/etc/doap.ttl
index 4f17cb0..1bf3841 100644
--- a/etc/doap.ttl
+++ b/etc/doap.ttl
@@ -10,7 +10,7 @@
<> a doap:Project, earl:TestSubject, earl:Software ;
doap:name "RDF::Reasoner" ;
- doap:homepage ;
+ doap:homepage ;
doap:license ;
doap:shortdesc "RDFS/OWL/Schema.org Reasoner for RDF.rb."@en ;
doap:description """
diff --git a/rdf-reasoner.gemspec b/rdf-reasoner.gemspec
index d6b18c9..fb9aed6 100755
--- a/rdf-reasoner.gemspec
+++ b/rdf-reasoner.gemspec
@@ -9,6 +9,13 @@ Gem::Specification.new do |gem|
gem.homepage = "https://github.com/ruby-rdf/rdf-reasoner"
gem.license = 'Unlicense'
gem.summary = "RDFS/OWL Reasoner for RDF.rb"
+ gem.metadata = {
+ "documentation_uri" => "https://ruby-rdf.github.io/rdf-reasoner",
+ "bug_tracker_uri" => "https://github.com/ruby-rdf/rdf-reasoner/issues",
+ "homepage_uri" => "https://github.com/ruby-rdf/rdf-reasoner",
+ "mailing_list_uri" => "https://lists.w3.org/Archives/Public/public-rdf-ruby/",
+ "source_code_uri" => "https://github.com/ruby-rdf/rdf-reasoner",
+ }
gem.authors = ['Gregg Kellogg']
gem.email = 'public-rdf-ruby@w3.org'
@@ -23,17 +30,17 @@ Gem::Specification.new do |gem|
the vocabulary ruleset. This can be used to implement
SPARQL Entailment Regimes.).gsub(/\s+/m, ' ')
- gem.required_ruby_version = '>= 2.6'
+ gem.required_ruby_version = '>= 3.0'
gem.requirements = []
- gem.add_runtime_dependency 'rdf', '~> 3.2'
- gem.add_runtime_dependency 'rdf-xsd', '~> 3.2'
+ gem.add_runtime_dependency 'rdf', '~> 3.3'
+ gem.add_runtime_dependency 'rdf-xsd', '~> 3.3'
- gem.add_development_dependency 'rdf-spec', '~> 3.2'
- gem.add_development_dependency 'rdf-vocab', '~> 3.2'
- gem.add_development_dependency 'rdf-turtle', '~> 3.2'
- gem.add_development_dependency 'json-ld', '~> 3.2'
+ gem.add_development_dependency 'rdf-spec', '~> 3.3'
+ gem.add_development_dependency 'rdf-vocab', '~> 3.3'
+ gem.add_development_dependency 'rdf-turtle', '~> 3.3'
+ gem.add_development_dependency 'json-ld', '~> 3.3'
gem.add_development_dependency 'equivalent-xml', '~> 0.6'
- gem.add_development_dependency 'rspec', '~> 3.10'
+ gem.add_development_dependency 'rspec', '~> 3.12'
gem.add_development_dependency 'yard' , '~> 0.9'
gem.post_install_message = nil
end