From 3ec29488a0ce3d00a6e3ec49908fb4ad9b9cd011 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Tue, 26 Oct 2021 13:34:25 -0700 Subject: [PATCH 1/2] Use rack-rdf 3.1.2. --- .github/workflows/ci.yml | 7 ++++--- .travis.yml | 14 -------------- sinatra-rdf.gemspec | 2 +- 3 files changed, 5 insertions(+), 18 deletions(-) delete mode 100644 .travis.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 83a230e..f475deb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,15 +15,16 @@ jobs: runs-on: ubuntu-latest env: CI: true + ALLOW_FAILURES: ${{ endsWith(matrix.ruby, 'head') }} strategy: fail-fast: false matrix: ruby: - - 2.4 - 2.5 - 2.6 - 2.7 - #- ruby-head # net-http-persistent + - 3.0 + - ruby-head - jruby steps: - name: Clone repository @@ -35,5 +36,5 @@ jobs: - name: Install dependencies run: bundle install --jobs 4 --retry 3 - name: Run tests - run: bundle exec rspec spec + run: ruby --version; bundle exec rspec spec || $ALLOW_FAILURES diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index e100f8f..0000000 --- a/.travis.yml +++ /dev/null @@ -1,14 +0,0 @@ -language: ruby -script: "bundle exec rspec spec" -rvm: - - 2.4 - - 2.5 - - 2.6 - - 2.7 - - jruby -cache: bundler -sudo: false -matrix: - allow_failures: - - rvm: jruby -dist: trusty diff --git a/sinatra-rdf.gemspec b/sinatra-rdf.gemspec index 096d88e..5274ef7 100755 --- a/sinatra-rdf.gemspec +++ b/sinatra-rdf.gemspec @@ -22,7 +22,7 @@ Gem::Specification.new do |gem| gem.required_ruby_version = '>= 2.4' gem.requirements = [] - gem.add_runtime_dependency 'rack-rdf', '~> 3.1', '>= 3.1.1' + gem.add_runtime_dependency 'rack-rdf', '~> 3.1', '>= 3.1.2' gem.add_runtime_dependency 'sinatra', '~> 2.1' gem.add_development_dependency 'yard' , '~> 0.9' From 9f930d000507398f595faccba085e66c0a7f1658 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Tue, 26 Oct 2021 13:35:04 -0700 Subject: [PATCH 2/2] Version 3.1.2. --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 94ff29c..ef538c2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.1.1 +3.1.2