From be0d84e6547bbfded16fdde0e80239768ff1f68e Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Fri, 28 Jan 2022 11:46:04 -0800 Subject: [PATCH 1/6] Update documentation links to use gh-pages, and add action to publish gh-pages from Yard docs. --- .github/workflows/ci.yml | 2 +- .github/workflows/generate-docs.yml | 27 +++++++++++++++++++++++++++ README.md | 2 +- etc/doap.ttl | 2 +- rdf-reasoner.gemspec | 7 +++++++ 5 files changed, 37 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/generate-docs.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0aaedb9..9a760e1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: ruby: - 2.6 - 2.7 - - 3.0 + - "3.0" - 3.1 - ruby-head - jruby diff --git a/.github/workflows/generate-docs.yml b/.github/workflows/generate-docs.yml new file mode 100644 index 0000000..b8d16ed --- /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@v2 + - 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/README.md b/README.md index 0df5317..33e3739 100644 --- a/README.md +++ b/README.md @@ -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/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..62501c7 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' From 31c78d18a7e1376f50e39a4047bcb01afd051ff5 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Wed, 4 Jan 2023 13:36:05 -0800 Subject: [PATCH 2/6] CI on 3.2. --- .github/workflows/ci.yml | 10 ++-------- .github/workflows/generate-docs.yml | 2 +- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9a760e1..c3e9a06 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: [2.6, 2.7, '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: diff --git a/.github/workflows/generate-docs.yml b/.github/workflows/generate-docs.yml index b8d16ed..65aea93 100644 --- a/.github/workflows/generate-docs.yml +++ b/.github/workflows/generate-docs.yml @@ -10,7 +10,7 @@ jobs: name: Update gh-pages with docs steps: - name: Clone repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: From 5069fb85d999856de05f51d7253e98cb9c4022a6 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Wed, 3 May 2023 14:49:51 -0700 Subject: [PATCH 3/6] Update badges --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 33e3739..78c810b 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) From d29c5d359423167bffaa9aa4cc83351b0c11c47c Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Sat, 26 Aug 2023 13:03:28 -0700 Subject: [PATCH 4/6] Updates for version 0.9 with minimum Ruby version 3.0. --- .github/workflows/ci.yml | 6 +++--- README.md | 4 ++-- VERSION | 2 +- rdf-reasoner.gemspec | 8 ++++---- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c3e9a06..00b888b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: [2.6, 2.7, '3.0', 3.1, 3.2, ruby-head, jruby] + ruby: ['3.0', 3.1, 3.2, ruby-head, jruby] steps: - name: Clone repository uses: actions/checkout@v3 @@ -32,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/README.md b/README.md index 78c810b..51790a2 100644 --- a/README.md +++ b/README.md @@ -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 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/rdf-reasoner.gemspec b/rdf-reasoner.gemspec index 62501c7..c2b116e 100755 --- a/rdf-reasoner.gemspec +++ b/rdf-reasoner.gemspec @@ -30,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', '~> 3.3' gem.add_runtime_dependency 'rdf-xsd', '~> 3.2' 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 '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 From b7c0131d69c2463de65fcc643a90a090c75c18b1 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Sun, 27 Aug 2023 13:47:20 -0700 Subject: [PATCH 5/6] Update dependencies. --- rdf-reasoner.gemspec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rdf-reasoner.gemspec b/rdf-reasoner.gemspec index c2b116e..fb9aed6 100755 --- a/rdf-reasoner.gemspec +++ b/rdf-reasoner.gemspec @@ -33,11 +33,11 @@ Gem::Specification.new do |gem| gem.required_ruby_version = '>= 3.0' gem.requirements = [] gem.add_runtime_dependency 'rdf', '~> 3.3' - gem.add_runtime_dependency 'rdf-xsd', '~> 3.2' + 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 '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.12' From 24c5594eb9581ac5f2eb481caa74fc8d32ab63ac Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Fri, 1 Sep 2023 14:02:20 -0700 Subject: [PATCH 6/6] simplecov 0.22. --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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