Skip to content

Commit 2172f35

Browse files
committed
Requires Ruby 3.2.0 or higher
1 parent 41aa0fc commit 2172f35

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

.github/workflows/rspec.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@ on:
77
jobs:
88
rspec:
99
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
ruby-version: ['3.2', '3.3', '3.4']
1013
steps:
1114
- uses: actions/checkout@v3
1215
- uses: ruby/setup-ruby@v1
1316
with:
14-
ruby-version: '3.0.0'
17+
ruby-version: ${{ matrix.ruby-version }}
1518
bundler-cache: true
16-
- run: gem install bundler -v '< 2.0'
1719
- run: bundle install
1820
- run: bundle exec rake spec

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## Unreleased
22

3+
- Require Ruby 3.2.0 or higher
4+
35
## v1.5.0
46

57
- Require Faraday v2

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Qiita API v2 client library and CLI tool, written in Ruby.
77

88
## Install
99

10-
Note: requires Ruby 3.0.0 or higher.
10+
Note: requires Ruby 3.2.0 or higher.
1111

1212
```bash
1313
gem install qiita

qiita.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ Gem::Specification.new do |spec|
1515
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
1616
spec.require_paths = ["lib"]
1717

18+
spec.required_ruby_version = '>= 3.2.0'
19+
1820
spec.add_dependency "activesupport"
1921
spec.add_dependency 'faraday', '>= 2', '< 3'
2022
spec.add_dependency "rack"

0 commit comments

Comments
 (0)