From c3ac011277cf73ccbdcbc0457cd4eb21c3d5afeb Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Sat, 26 Aug 2023 13:06:53 -0700 Subject: [PATCH] Updates for version 3.3.0 with minimum Ruby version 3.0. --- .github/workflows/ci.yml | 9 ++------- Gemfile | 2 +- README.md | 4 ++-- VERSION | 2 +- rdf-spec.gemspec | 12 ++++++------ 5 files changed, 12 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 306b8ac..ce959e1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,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 @@ -40,7 +40,7 @@ jobs: run: ruby --version; bundle exec rspec spec || $ALLOW_FAILURES - name: Coveralls GitHub Action uses: coverallsapp/github-action@v2 - if: "matrix.ruby == '3.0'" + if: "matrix.ruby == '3.2'" with: github-token: ${{ secrets.GITHUB_TOKEN }} wintests: @@ -66,8 +66,3 @@ jobs: run: bundle install --jobs 4 --retry 3 - name: Run tests run: ruby --version; bundle exec rspec spec || $ALLOW_FAILURES - - name: Coveralls GitHub Action - uses: coverallsapp/github-action@v2 - if: "matrix.ruby == '3.0'" - with: - github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/Gemfile b/Gemfile index 6c2ee4d..5769462 100644 --- a/Gemfile +++ b/Gemfile @@ -10,6 +10,6 @@ group :debug do end group :development, :test do - gem 'simplecov', '~> 0.21', platforms: :mri + gem 'simplecov', '~> 0.22', platforms: :mri gem 'simplecov-lcov', '~> 0.8', platforms: :mri end \ No newline at end of file diff --git a/README.md b/README.md index 9f15f0f..6c55658 100644 --- a/README.md +++ b/README.md @@ -30,8 +30,8 @@ Note that in most cases, if the instance is empty and mutable, the appropriate s ## Dependencies -* [RDF.rb](https://rubygems.org/gems/rdf) (~> 3.2) -* [RSpec](https://rubygems.org/gems/rspec) (~> 3.10) +* [RDF.rb](https://rubygems.org/gems/rdf) (~> 3.3) +* [RSpec](https://rubygems.org/gems/rspec) (~> 3.12) ## Installation diff --git a/VERSION b/VERSION index 944880f..15a2799 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.2.0 +3.3.0 diff --git a/rdf-spec.gemspec b/rdf-spec.gemspec index 16f7119..067b31a 100755 --- a/rdf-spec.gemspec +++ b/rdf-spec.gemspec @@ -25,15 +25,15 @@ Gem::Specification.new do |gem| gem.files = %w(AUTHORS CREDITS README.md UNLICENSE VERSION) + Dir.glob('etc/*') + Dir.glob('lib/**/*.rb') + Dir.glob('spec/*.rb') gem.require_paths = %w(lib) - 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 'amazing_print', '~> 1.4' - gem.add_runtime_dependency 'rdf-isomorphic', '~> 3.2' - gem.add_runtime_dependency 'rspec', '~> 3.10' + gem.add_runtime_dependency 'rdf', '~> 3.3' + gem.add_runtime_dependency 'amazing_print', '~> 1.5' + gem.add_runtime_dependency 'rdf-isomorphic', '~> 3.3' + gem.add_runtime_dependency 'rspec', '~> 3.12' gem.add_runtime_dependency 'rspec-its', '~> 1.3' gem.add_runtime_dependency 'rexml', '~> 3.2' # For Webmock - gem.add_runtime_dependency 'webmock', '~> 3.14' + gem.add_runtime_dependency 'webmock', '~> 3.19' gem.add_development_dependency 'yard' , '~> 0.9' gem.post_install_message = nil end