From 6fdb4c8d69cb2b35b2af6eb66a3f92fd88206977 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Mon, 13 Dec 2021 11:49:40 -0800 Subject: [PATCH 1/4] Update documentation, dependencies, and version sync for 3.2. --- .github/workflows/ci.yml | 1 - README.md | 8 ++++---- VERSION | 2 +- rdf-microdata.gemspec | 14 +++++++------- 4 files changed, 12 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 16487f8..bf13839 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,6 @@ jobs: fail-fast: false matrix: ruby: - - 2.5 - 2.6 - 2.7 - 3.0 diff --git a/README.md b/README.md index 1f502c5..aa37494 100755 --- a/README.md +++ b/README.md @@ -46,11 +46,11 @@ GRDDL-type triple generation, such as for html>head>title anchor tags. If the `RDFa` parser is available, {RDF::Microdata::Format} will not assert content type `text/html` or file extension `.html`, as this is also asserted by RDFa. Instead, the RDFa reader will invoke the microdata reader if an `@itemscope` attribute is detected. ## Dependencies -* [RDF.rb](https://rubygems.org/gems/rdf) (~> 3.1) -* [RDF::RDFa](https://rubygems.org/gems/rdf-xsd) (~> 3.1) -* [RDF::XSD](https://rubygems.org/gems/rdf-xsd) (~> 3.1) +* [RDF.rb](https://rubygems.org/gems/rdf) (~> 3.2) +* [RDF::RDFa](https://rubygems.org/gems/rdf-xsd) (~> 3.2) +* [RDF::XSD](https://rubygems.org/gems/rdf-xsd) (~> 3.2) * [HTMLEntities](https://rubygems.org/gems/htmlentities) ('~> 4.3') -* [Nokogiri](https://rubygems.org/gems/nokogiri) (~> 1.10) +* [Nokogiri](https://rubygems.org/gems/nokogiri) (~> 1.12) ## Documentation Full documentation available on [Rubydoc.info][Microdata doc] diff --git a/VERSION b/VERSION index 0aec50e..944880f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.1.4 +3.2.0 diff --git a/rdf-microdata.gemspec b/rdf-microdata.gemspec index f184dbd..0c74ae5 100755 --- a/rdf-microdata.gemspec +++ b/rdf-microdata.gemspec @@ -18,11 +18,11 @@ Gem::Specification.new do |gem| gem.files = %w(AUTHORS README.md UNLICENSE VERSION) + Dir.glob('lib/**/*.rb') + Dir.glob('etc/*') gem.require_paths = %w(lib) - gem.required_ruby_version = '>= 2.4' + gem.required_ruby_version = '>= 2.6' gem.requirements = [] - gem.add_runtime_dependency 'rdf', '~> 3.1', '>= 3.1.13' - gem.add_runtime_dependency 'rdf-rdfa', '~> 3.1', '>= 3.1.3' - gem.add_runtime_dependency 'rdf-xsd', '~> 3.1' + gem.add_runtime_dependency 'rdf', '~> 3.2' + gem.add_runtime_dependency 'rdf-rdfa', '~> 3.2' + gem.add_runtime_dependency 'rdf-xsd', '~> 3.2' gem.add_runtime_dependency 'htmlentities', '~> 4.3' gem.add_runtime_dependency 'nokogiri' , '~> 1.12' @@ -31,10 +31,10 @@ Gem::Specification.new do |gem| gem.add_development_dependency 'rspec', '~> 3.10' gem.add_development_dependency 'rspec-its', '~> 1.3' - gem.add_development_dependency 'rdf-spec', '~> 3.1' + gem.add_development_dependency 'rdf-spec', '~> 3.2' gem.add_development_dependency 'rdf-turtle', '~> 3.1' - gem.add_development_dependency 'rdf-isomorphic', '~> 3.1' - gem.add_development_dependency 'json-ld', '~> 3.1' + gem.add_development_dependency 'rdf-isomorphic', '~> 3.2' + gem.add_development_dependency 'json-ld', '~> 3.2' gem.post_install_message = nil end From 8f35e21fae9538f83756432be53ffe34bcb1b198 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Mon, 13 Dec 2021 14:45:33 -0800 Subject: [PATCH 2/4] Sync more gem versions. --- rdf-microdata.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rdf-microdata.gemspec b/rdf-microdata.gemspec index 0c74ae5..022b88f 100755 --- a/rdf-microdata.gemspec +++ b/rdf-microdata.gemspec @@ -32,7 +32,7 @@ Gem::Specification.new do |gem| gem.add_development_dependency 'rspec-its', '~> 1.3' gem.add_development_dependency 'rdf-spec', '~> 3.2' - gem.add_development_dependency 'rdf-turtle', '~> 3.1' + gem.add_development_dependency 'rdf-turtle', '~> 3.2' gem.add_development_dependency 'rdf-isomorphic', '~> 3.2' gem.add_development_dependency 'json-ld', '~> 3.2' From 84746ae0bf68b31cf85389b3f345857f7386fa5f Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Sun, 26 Dec 2021 22:37:25 -0800 Subject: [PATCH 3/4] CI on Ruby 3.1. --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bf13839..c9ba8f2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,6 +23,7 @@ jobs: - 2.6 - 2.7 - 3.0 + - 3.1 - ruby-head - jruby steps: From 34b6051541c46a5e3329f3b4a64167a3c744c3ee Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Wed, 29 Dec 2021 11:55:45 -0800 Subject: [PATCH 4/4] Minor yardoc update. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index aa37494..d886b88 100755 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Install with 'gem install rdf-microdata' Microdata to RDF transformation is undergoing active development. This implementation attempts to be up-to-date as of the time of release, and is being used in developing the [Microdata RDF][] specification. -This implementation includes support for the proposed [@itemprop-reverse](https://www.w3.org/wiki/WebSchemas/InverseProperties#Proposed_Action:_New_attribute_.40itemprop-reverse) attribute. +This implementation includes support for the proposed [``@itemprop-reverse``](https://www.w3.org/wiki/WebSchemas/InverseProperties#Proposed_Action:_New_attribute_.40itemprop-reverse) attribute. ### Microdata Registry The parser uses a build-in version of the [Microdata RDF][] registry.