Skip to content

Commit

Permalink
Loosen Rails dependency (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbuehlmann authored Nov 6, 2023
1 parent 6e79a4b commit 8bacf09
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ jobs:
- { ruby: "3.0", rails: "7.0.x" }
- { ruby: "3.1", rails: "7.0.x" }
- { ruby: "3.2", rails: "7.0.x" }
- { ruby: "2.5", rails: "7.1.x" }
- { ruby: "2.6", rails: "7.1.x" }
- { ruby: "2.7", rails: "7.1.x" }
- { ruby: "3.0", rails: "7.1.x" }
- { ruby: "2.7", rails: "head" }
- { ruby: "3.0", rails: "head" }
- { ruby: "3.1", rails: "head" }
- { ruby: "3.2", rails: "head" }
Expand Down
4 changes: 4 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ appraise "rails-7.0.x" do
gem "rails", "~> 7.0.0"
end

appraise "rails-7.1.x" do
gem "rails", "~> 7.1.0"
end

appraise "rails-head" do
gem "rails", github: "rails/rails", branch: "main"
end
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ 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]
- Add Rails 7.1 support ([#49](https://github.com/komposable/dekorator/pull/49))

## Removed
- Add Rails 7.0 on CI tests via Appraisals ([#47](https://github.com/komposable/dekorator/pull/47))
- Drop Ruby 2.5 and 2.6 support ([#47](https://github.com/komposable/dekorator/pull/47))
Expand Down
6 changes: 3 additions & 3 deletions dekorator.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Gem::Specification.new do |spec|

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

spec.add_runtime_dependency "actionview", ">= 6.0", "< 7.1"
spec.add_runtime_dependency "activerecord", ">= 6.0", "< 7.1"
spec.add_runtime_dependency "activesupport", ">= 6.0", "< 7.1"
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"
end
14 changes: 14 additions & 0 deletions gemfiles/rails_7.1.x.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "rails", "~> 7.1.0"
gem "appraisal", require: false
gem "rubocop", require: false
gem "rubocop-performance", require: false
gem "rubocop-rspec", require: false
gem "rspec", require: false
gem "rspec-rails", require: false
gem "simplecov", require: false

gemspec path: "../"

0 comments on commit 8bacf09

Please sign in to comment.