Skip to content

Commit

Permalink
Drop Rails 6.0, Ruby 2.7 and Add Ruby 3.3 support (#53)
Browse files Browse the repository at this point in the history
* Drop Rails 6.0 support
* Drop ruby 2.7 support
* Add ruby 3.3 support
  • Loading branch information
nicolas-brousse authored Mar 6, 2024
1 parent b3fe68e commit bf77c6b
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 18 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,19 @@ jobs:
strategy:
matrix:
versions:
- { ruby: "2.7", rails: "6.0.x" }
- { ruby: "3.0", rails: "6.0.x" }
- { ruby: "2.7", rails: "6.1.x" }
- { ruby: "3.0", rails: "6.1.x" }
- { ruby: "3.1", rails: "6.1.x" }
- { ruby: "2.7", rails: "7.0.x" }
- { ruby: "3.0", rails: "7.0.x" }
- { ruby: "3.1", rails: "7.0.x" }
- { ruby: "3.2", rails: "7.0.x" }
- { ruby: "2.7", rails: "7.1.x" }
- { ruby: "3.3", rails: "7.0.x" }
- { ruby: "3.0", rails: "7.1.x" }
- { ruby: "3.1", rails: "7.1.x" }
- { ruby: "3.2", rails: "7.1.x" }
- { ruby: "2.7", rails: "head" }
- { ruby: "3.0", rails: "head" }
- { ruby: "3.3", rails: "7.1.x" }
- { ruby: "3.1", rails: "head" }
- { ruby: "3.2", rails: "head" }
- { ruby: "3.3", rails: "head" }

env:
BUNDLE_GEMFILE: gemfiles/rails_${{ matrix.versions.rails }}.gemfile
Expand Down
4 changes: 0 additions & 4 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# frozen_string_literal: true

appraise "rails-6.0.x" do
gem "rails", "~> 6.0.0"
end

appraise "rails-6.1.x" do
gem "rails", "~> 6.1.0"
end
Expand Down
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ 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]
Nothing yet.
### Added
- Add Ruby 3.3 support ([#53](https://github.com/komposable/dekorator/pull/53))
### Removed
- Drop Ruby 2.7 support ([#53](https://github.com/komposable/dekorator/pull/53))
- Drop Rails 6.0 support ([#53](https://github.com/komposable/dekorator/pull/53))

## [1.4.0] - 2023-11-09
### Changed
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ This gem has been inspired by our Rails development practices at [Pantographe](h

## Compatibility

* Ruby 2.7+
* Rails 6.0+
* Ruby 3.0+
* Rails 6.1+

## Installation

Expand Down
8 changes: 4 additions & 4 deletions dekorator.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ Gem::Specification.new do |spec|
spec.files = Dir["CHANGELOG.md", "LICENSE.txt", "README.md", "lib/**/*"]
spec.require_paths = ["lib"]

spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
spec.required_ruby_version = Gem::Requirement.new(">= 3.0.0")

spec.add_runtime_dependency "actionview", ">= 6.0", "< 7.2"
spec.add_runtime_dependency "activerecord", ">= 6.0", "< 7.2"
spec.add_runtime_dependency "activesupport", ">= 6.0", "< 7.2"
spec.add_runtime_dependency "actionview", ">= 6.1", "< 7.2"
spec.add_runtime_dependency "activerecord", ">= 6.1", "< 7.2"
spec.add_runtime_dependency "activesupport", ">= 6.1", "< 7.2"
end

0 comments on commit bf77c6b

Please sign in to comment.