From 00a5f654d9c73598154ee7caa34be71432b7ab0a Mon Sep 17 00:00:00 2001 From: tamsin johnson Date: Thu, 16 Dec 2021 20:20:15 -0800 Subject: [PATCH] add support for ruby 3.0 --- .github/workflows/ruby.yml | 2 +- ezid-client.gemspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 419d3f4..f31c6fc 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby-version: ['2.6', '2.7'] + ruby-version: ['2.6', '2.7', '3.0'] steps: - uses: actions/checkout@v2 diff --git a/ezid-client.gemspec b/ezid-client.gemspec index 11b4ea4..59c8fa5 100644 --- a/ezid-client.gemspec +++ b/ezid-client.gemspec @@ -17,7 +17,7 @@ Gem::Specification.new do |spec| spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ["lib"] - spec.required_ruby_version = "~> 2.1" + spec.required_ruby_version = ">= 2.1" spec.add_dependency "hashie", "~> 3.4", ">= 3.4.3" spec.add_dependency "nokogiri"