diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e19d03a..466ec17 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -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 @@ -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: diff --git a/bin/release b/bin/release index 3c48dcf..86df076 100755 --- a/bin/release +++ b/bin/release @@ -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 diff --git a/db_lock.gemspec b/db_lock.gemspec index e62da89..971e895 100644 --- a/db_lock.gemspec +++ b/db_lock.gemspec @@ -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'