diff --git a/.github/workflows/rspec.yml b/.github/workflows/rspec.yml index b072daa..5bfa545 100644 --- a/.github/workflows/rspec.yml +++ b/.github/workflows/rspec.yml @@ -7,12 +7,14 @@ on: jobs: rspec: runs-on: ubuntu-latest + strategy: + matrix: + ruby-version: ['3.2', '3.3', '3.4'] steps: - uses: actions/checkout@v3 - uses: ruby/setup-ruby@v1 with: - ruby-version: '3.0.0' + ruby-version: ${{ matrix.ruby-version }} bundler-cache: true - - run: gem install bundler -v '< 2.0' - run: bundle install - run: bundle exec rake spec diff --git a/CHANGELOG.md b/CHANGELOG.md index e8e7b94..9850025 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ ## Unreleased +- Require Ruby 3.2.0 or higher + ## v1.5.0 - Require Faraday v2 diff --git a/README.md b/README.md index a14643c..fb13d01 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Qiita API v2 client library and CLI tool, written in Ruby. ## Install -Note: requires Ruby 3.0.0 or higher. +Note: requires Ruby 3.2.0 or higher. ```bash gem install qiita diff --git a/qiita.gemspec b/qiita.gemspec index ee53473..c58b4d6 100644 --- a/qiita.gemspec +++ b/qiita.gemspec @@ -15,6 +15,8 @@ Gem::Specification.new do |spec| spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ["lib"] + spec.required_ruby_version = '>= 3.2.0' + spec.add_dependency "activesupport" spec.add_dependency 'faraday', '>= 2', '< 3' spec.add_dependency "rack"