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

Bump Ruby and Rails #19

Merged
merged 2 commits into from
Nov 10, 2023
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
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,26 @@ jobs:
test:
strategy:
matrix:
ruby: ["2.5", "2.6", "2.7", "3.0"]
ruby: ["3.0", "3.1", "3.2"]
gemfile: [Gemfile]
include:
- ruby: "2.7"
gemfile: "gemfiles/rails-6.0.gemfile"
- ruby: "2.6"
gemfile: "gemfiles/rails-5.2.gemfile"
- ruby: "3.2"
gemfile: "gemfiles/rails-7.0.gemfile"
- ruby: "3.2"
gemfile: "gemfiles/rails-6.1.gemfile"

env:
BUNDLE_GEMFILE: "${{ matrix.gemfile }}"

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake
- name: Send coverage
uses: paambaati/codeclimate-action@v2.7.5
uses: paambaati/codeclimate-action@v5
env:
CC_TEST_REPORTER_ID: 921d046db793707b7d0c0d1305970a137fdf98fbc6ceeb6c355c44757040244f
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.2
3.2.2
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
## Not released yet

## 0.6.1

- Reflect ownership transfer https://github.com/wantedly/open_api_annotator/pull/18
- Bump Ruby and Rails https://github.com/wantedly/open_api_annotator/pull/19
- Supported Rubies: 3.0, 3.1, 3.2
- Supported Rails: 6.1, 7.0, 7.1

## 0.6.0
- Support Ruby 3.0 and Rails 6.1
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails-5.2.gemfile → gemfiles/rails-6.1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
# Specify your gem's dependencies in open_api_annotator.gemspec
gemspec path: '..'

gem 'railties', '~> 5.2.0'
gem 'railties', '~> 6.1.0'
2 changes: 1 addition & 1 deletion gemfiles/rails-6.0.gemfile → gemfiles/rails-7.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
# Specify your gem's dependencies in open_api_annotator.gemspec
gemspec path: '..'

gem 'railties', '~> 6.0.0'
gem 'railties', '~> 7.0.0'
2 changes: 1 addition & 1 deletion lib/open_api_annotator/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module OpenApiAnnotator
VERSION = "0.6.0"
VERSION = "0.6.1"
end
2 changes: 1 addition & 1 deletion open_api_annotator.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
spec.add_dependency "open_api", ">= 0.5.0"
spec.add_dependency "active_model_serializers", "~> 0.10.0"

rails_versions = ['>= 5.0', '< 6.2']
rails_versions = ['>= 5.0', '< 7.2']
spec.add_dependency "actionpack", rails_versions
spec.add_dependency "railties", rails_versions

Expand Down