Skip to content

Commit

Permalink
Optimistic ruby-3 support (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkon authored May 26, 2022
1 parent 040081f commit 4c98ebc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
ruby-version: '3.1'
bundler-cache: true
cache-version: mysql-7.0
- name: Rubocop
Expand All @@ -27,7 +27,7 @@ jobs:
strategy:
matrix:
activerecord: ['6.1', '7.0']
ruby: ['2.7', '3.0']
ruby: ['2.7', '3.0', '3.1', '3.2']
services:
mysql:
image: mysql:5.7
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
strategy:
matrix:
activerecord: ['6.1', '7.0']
ruby: ['2.7', '3.0']
ruby: ['2.7', '3.0', '3.1', '3.2']

services:
sql.data:
Expand Down
1 change: 1 addition & 0 deletions bin/release
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ VERSION=$version gem build ${name}.gemspec
echo "Creating GitHub release"
link=`gh release create v${version} --target $sha --generate-notes`
echo $link
git fetch --tags origin

file="${name}-${version}.gem"
read -p "Push to rubygems? (y/n) " yn
Expand Down
2 changes: 1 addition & 1 deletion db_lock.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Gem::Specification.new do |s|

s.files = Dir['{app,config,db,lib}/**/*', 'MIT-LICENSE', 'README.md']

s.required_ruby_version = '>= 2.7', '< 3.1'
s.required_ruby_version = '>= 2.7', '< 4'

s.add_dependency 'activerecord', '>= 6.1', '< 7.1'

Expand Down

0 comments on commit 4c98ebc

Please sign in to comment.