Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimistic ruby-3 support #148

Merged
merged 1 commit into from
May 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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