Skip to content

Commit

Permalink
Update rubies and rails supports (#164)
Browse files Browse the repository at this point in the history
* fix: update sqlite gem requirements
* Drop ruby 2.7 and Rails 6.0
  • Loading branch information
nicolas-brousse authored Jul 13, 2024
1 parent 0b56d68 commit 1f38381
Show file tree
Hide file tree
Showing 21 changed files with 227 additions and 228 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,21 @@ jobs:
strategy:
matrix:
versions:
- { ruby: "2.7", rails: "6.0", rubygems: "default" }
- { ruby: "3.0", rails: "6.0", rubygems: "default" }
- { ruby: "2.7", rails: "6.1", rubygems: "default" }
- { ruby: "3.0", rails: "6.1", rubygems: "default" }
- { ruby: "3.1", rails: "6.1", rubygems: "default" }
- { ruby: "2.7", rails: "7.0", rubygems: "default" }
- { ruby: "3.2", rails: "6.1", rubygems: "default" }
- { ruby: "3.3", rails: "6.1", rubygems: "default" }
- { ruby: "3.0", rails: "7.0", rubygems: "default" }
- { ruby: "3.1", rails: "7.0", rubygems: "default" }
- { ruby: "3.2", rails: "7.0", rubygems: "default" }
- { ruby: "2.7", rails: "7.1", rubygems: "default" }
- { ruby: "3.3", rails: "7.0", rubygems: "default" }
- { ruby: "3.0", rails: "7.1", rubygems: "default" }
- { ruby: "3.1", rails: "7.1", rubygems: "default" }
- { ruby: "3.2", rails: "7.1", rubygems: "default" }
- { ruby: "3.0", rails: "head", rubygems: "latest" }
- { ruby: "3.3", rails: "7.1", rubygems: "default" }
- { ruby: "3.1", rails: "head", rubygems: "latest" }
- { ruby: "3.2", rails: "head", rubygems: "latest" }
- { ruby: "3.3", rails: "head", rubygems: "latest" }
action_text: ['with', 'without']
view_component: ['2.0', '3.0']

Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
/spec/reports/
/spec/internal/log
/spec/internal/public
/spec/internal/db/combustion_test.sqlite
/spec/internal/db/*.sqlite
/spec/internal/db/*.sqlite-*
/tmp/

# appraisal
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ inherit_from: .rubocop_todo.yml

AllCops:
SuggestExtensions: false
TargetRubyVersion: 2.7
TargetRubyVersion: 3.0
NewCops: enable
Exclude:
- '.git/**/*'
Expand Down
9 changes: 0 additions & 9 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
# frozen_string_literal: true

appraise "rails-6.0_vc-2.0" do
gem "rails", "~> 6.0.0"
end

appraise "rails-6.0_vc-3.0" do
gem "rails", "~> 6.0.0"
gem "view_component", ">= 3.0.0", "< 4.0"
end

appraise "rails-6.1_vc-2.0" do
gem "rails", "~> 6.1.0"
end
Expand Down
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Added
- Added parent_component configuration for field components (#160)
- Added Ruby 3.3 support (#164)

### Removed
- Drop Ruby 2.7 support (#164)
- Drop Rails 6.0 support (#164)

## [0.2.6] - 2023-10-11
### Added
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ gem "rubocop", require: false
gem "rubocop-performance", require: false
gem "rubocop-rspec", require: false
gem "simplecov", require: false, group: :test
gem "sqlite3", require: false, group: :test
gem "sqlite3", "~> 1.4", group: :test
Loading

0 comments on commit 1f38381

Please sign in to comment.