From 060df55cbea59179bfed9a5eba012724077704df Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Mon, 13 Dec 2021 12:24:41 -0800 Subject: [PATCH 1/3] Update documentation, dependencies, and version sync for 3.2. --- .github/workflows/ci.yml | 1 - README.md | 4 ++-- VERSION | 2 +- sinatra-rdf.gemspec | 4 ++-- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f475deb..49464ae 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 578064f..8a5f8ed 100644 --- a/README.md +++ b/README.md @@ -119,8 +119,8 @@ operation and details of the content negotiation. ## Dependencies -* [Sinatra](https://rubygems.org/gems/sinatra) (~> 2.0) -* [Rack::RDF](https://rubygems.org/gems/rack-rdf) (~> 3.1) +* [Sinatra](https://rubygems.org/gems/sinatra) (~> 2.1) +* [Rack::RDF](https://rubygems.org/gems/rack-rdf) (~> 3.2) ## Installation diff --git a/VERSION b/VERSION index ef538c2..944880f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.1.2 +3.2.0 diff --git a/sinatra-rdf.gemspec b/sinatra-rdf.gemspec index 5274ef7..8c5a428 100755 --- a/sinatra-rdf.gemspec +++ b/sinatra-rdf.gemspec @@ -20,9 +20,9 @@ Gem::Specification.new do |gem| gem.executables = %w() gem.require_paths = %w(lib) - gem.required_ruby_version = '>= 2.4' + gem.required_ruby_version = '>= 2.6' gem.requirements = [] - gem.add_runtime_dependency 'rack-rdf', '~> 3.1', '>= 3.1.2' + gem.add_runtime_dependency 'rack-rdf', '~> 3.2' gem.add_runtime_dependency 'sinatra', '~> 2.1' gem.add_development_dependency 'yard' , '~> 0.9' From 1f504d2d5099844dca4c51261e0da7e465e43547 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Sun, 26 Dec 2021 22:47:13 -0800 Subject: [PATCH 2/3] 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 49464ae..1c88477 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 73f7ae1aeceb5983468e20e78d7f04d8e49d33a6 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Wed, 29 Dec 2021 12:31:51 -0800 Subject: [PATCH 3/3] Update README. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8a5f8ed..8c0ce2e 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ This version is based on [rack-linkeddata][] without the hard dependency on the ## Features * Implements [HTTP content negotiation][conneg] for RDF content types using - the [`Rack::RDF`][Rack::RDF] middleware. + the `[Rack::RDF][Rack::RDF]` middleware. * Supports all [RDF.rb][] -compatible serialization formats. * Supports both classic and modular Sinatra applications. @@ -92,7 +92,7 @@ run My::Application ## Description `Sinatra::RDF` is a thin Sinatra-specific wrapper around the -[`Rack::RDF`][Rack::RDF] middleware, which implements Linked +`[Rack::RDF][Rack::RDF]` middleware, which implements Linked Data content negotiation for Rack applications. At the moment the Sinatra extension simply corresponds