Skip to content

Commit 337f6c0

Browse files
committed
fix: drop Ruby 3.1
1 parent 7b78380 commit 337f6c0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/ruby.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
--health-retries=3
3636
strategy:
3737
matrix:
38-
ruby: [3.1, 3.2, 3.3]
38+
ruby: [3.2, 3.3]
3939
steps:
4040
- uses: actions/checkout@v4
4141
- name: Set up Ruby
@@ -49,10 +49,8 @@ jobs:
4949
- name: Test with PostgreSQL
5050
env:
5151
MITERU_DATABASE: postgresql://postgres:postgres@localhost:5432/test
52-
run: |
53-
bundle exec rake
52+
run: bundle exec rake
5453
- name: Test with MySQL
5554
env:
5655
MITERU_DATABASE: mysql2://mysql:[email protected]:3306/test
57-
run: |
58-
bundle exec rake
56+
run: bundle exec rake

miteru.gemspec

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ Gem::Specification.new do |spec|
1616
spec.homepage = "https://github.com/ninoseki/miteru"
1717
spec.license = "MIT"
1818

19+
spec.required_ruby_version = ">= 3.2"
20+
1921
# Specify which files should be added to the gem when it is released.
2022
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
2123
spec.files = Dir.chdir(File.expand_path(__dir__)) do

0 commit comments

Comments
 (0)