Skip to content

Commit 6253f67

Browse files
committed
upgrade rails to 7.2.x version; clean up unsupported rails and ruby version
1 parent ebb1d76 commit 6253f67

14 files changed

+30
-49
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,13 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
gemfile:
17-
- Gemfile.rails-5.2-stable
18-
- Gemfile.rails-6.0-stable
1917
- Gemfile.rails-6.1-stable
2018
- Gemfile.rails-7.0-stable
21-
ruby-version: ['3.1', '3.0', '2.7']
19+
- Gemfile.rails-7.2-stable
20+
ruby-version: ['3.1', '3.0']
2221
exclude:
23-
- gemfile: Gemfile.rails-6.0-stable
22+
- gemfile: Gemfile.rails-7.2-stable
2423
ruby-version: "3.0"
25-
- gemfile: Gemfile.rails-6.0-stable
26-
ruby-version: "3.1"
27-
- gemfile: Gemfile.rails-5.2-stable
28-
ruby-version: "3.0"
29-
- gemfile: Gemfile.rails-5.2-stable
30-
ruby-version: "3.1"
3124
env:
3225
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}
3326
steps:

.github/workflows/gem-push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313

1414
steps:
1515
- uses: actions/checkout@v3
16-
- name: Set up Ruby 3.0
16+
- name: Set up Ruby 3.1
1717
uses: ruby/setup-ruby@v1
1818
with:
19-
ruby-version: 3.0
19+
ruby-version: 3.1
2020

2121
- name: Publish to RubyGems
2222
env:

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ tmp
2121
polymorphic_integer_type_test
2222
gemfiles/*.lock
2323
.idea/
24+
.ruby-version
25+
mysql
26+
polymorphic_integer_type_test-*

CHANGELOG.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### Changed
1+
# Changelog
22

33
## v3.2.1 (2023-12-14)
44

@@ -16,4 +16,13 @@
1616

1717
- Fixed polymorphic_foreign_association_extension.rb to be compatible with other reflection than `has_many` and `has_one`.
1818

19-
### Changed
19+
## v3.3.0 (2024-10-29)
20+
21+
### Changed
22+
23+
- Upgrade rails support version to be compatible with 7.2
24+
25+
### Removed
26+
27+
- Remove unsupported rails versions(5.0, 5.2, 6.0) and ruby version(2.7)
28+

gemfiles/Gemfile.rails-5.0-stable

Lines changed: 0 additions & 8 deletions
This file was deleted.

gemfiles/Gemfile.rails-5.2-stable

Lines changed: 0 additions & 7 deletions
This file was deleted.

gemfiles/Gemfile.rails-6.0-stable

Lines changed: 0 additions & 7 deletions
This file was deleted.

gemfiles/Gemfile.rails-6.1-stable

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ source "https://rubygems.org"
55
gemspec path: ".."
66

77
gem "activerecord", github: "rails/rails", branch: "6-1-stable"
8+
gem "sqlite3", "~> 1.4"

gemfiles/Gemfile.rails-7.0-stable

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ source "https://rubygems.org"
55
gemspec path: ".."
66

77
gem "activerecord", github: "rails/rails", branch: "7-0-stable"
8+
gem "sqlite3", "~> 1.4"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ source "https://rubygems.org"
44

55
gemspec path: ".."
66

7-
gem "activerecord", github: "rails/rails", branch: "5-1-stable"
7+
gem "activerecord", github: "rails/rails", branch: "7-2-stable"

0 commit comments

Comments
 (0)