Skip to content

Commit c10c66d

Browse files
simirafaelfranca
authored andcommitted
Drop support to unsupported Ruby and Rails versions
Rails >= 7.0 Ruby >= 3.1
1 parent 5509e6c commit c10c66d

7 files changed

Lines changed: 34 additions & 11 deletions

File tree

.github/workflows/ruby.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,18 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
ruby: [3.3, 3.2, 3.1, '3.0']
19+
ruby: [3.1, 3.2, 3.3, 3.4]
2020
gemfile:
2121
- Gemfile
22-
- gemfiles/Gemfile-rails-6-0
23-
- gemfiles/Gemfile-rails-6-1
22+
- gemfiles/Gemfile-rails-7-2
23+
- gemfiles/Gemfile-rails-7-1
24+
- gemfiles/Gemfile-rails-7-0
25+
exclude:
26+
- ruby: 3.1
27+
gemfile: Gemfile
28+
- ruby: 3.4
29+
gemfile: gemfiles/Gemfile-rails-7-0
30+
2431
env:
2532
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
2633
steps:

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ source "https://rubygems.org"
44

55
gemspec
66

7-
gem "actionview"
7+
gem "actionview", "~> 8.0.0"
88
gem "railties"
99
gem "minitest"
1010
gem "mocha"

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ PLATFORMS
166166
ruby
167167

168168
DEPENDENCIES
169-
actionview
169+
actionview (~> 8.0.0)
170170
better_html!
171171
minitest
172172
mocha
@@ -179,4 +179,4 @@ DEPENDENCIES
179179
ruby_memcheck
180180

181181
BUNDLED WITH
182-
2.6.2
182+
2.6.3

better_html.gemspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
1616
s.description = "Better HTML for Rails. Provides sane html helpers that make it easier to do the right thing."
1717
s.license = "MIT"
1818

19-
s.required_ruby_version = ">= 3.0.0"
19+
s.required_ruby_version = ">= 3.1.0"
2020

2121
s.metadata = {
2222
"bug_tracker_uri" => "https://github.com/Shopify/better-html/issues",
@@ -29,8 +29,8 @@ Gem::Specification.new do |s|
2929
s.files = Dir["{app,config,db,lib,ext}/**/*", "MIT-LICENSE", "Rakefile", "README.rdoc"]
3030
s.require_paths = ["lib"]
3131

32-
s.add_dependency("actionview", ">= 6.0")
33-
s.add_dependency("activesupport", ">= 6.0")
32+
s.add_dependency("actionview", ">= 7.0")
33+
s.add_dependency("activesupport", ">= 7.0")
3434
s.add_dependency("ast", "~> 2.0")
3535
s.add_dependency("erubi", "~> 1.4")
3636
s.add_dependency("parser", ">= 2.4")
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ source "https://rubygems.org"
44

55
gemspec path: ".."
66

7-
gem "actionview", "~> 6.0.0"
7+
gem "actionview", "~> 7.0.0"
88
gem "railties"
99
gem "rake-compiler"
1010
gem "minitest"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ source "https://rubygems.org"
44

55
gemspec path: ".."
66

7-
gem "actionview", "~> 6.1.0"
7+
gem "actionview", "~> 7.1.0"
88
gem "railties"
99
gem "rake-compiler"
1010
gem "minitest"

gemfiles/Gemfile-rails-7-2

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# frozen_string_literal: true
2+
3+
source "https://rubygems.org"
4+
5+
gemspec path: ".."
6+
7+
gem "actionview", "~> 7.2.0"
8+
gem "railties"
9+
gem "rake-compiler"
10+
gem "minitest"
11+
gem "mocha"
12+
gem "ruby_memcheck"
13+
14+
group :deployment, :test do
15+
gem "pry-byebug"
16+
end

0 commit comments

Comments
 (0)