Skip to content

Commit ba95790

Browse files
committed
dep: set required_ruby_version to ">= 2.5.0"
this matches the oldest version of Rails (6.0/6.1)
1 parent 9a03acf commit ba95790

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
ruby: ["2.2", "2.3", "2.4", "2.5", "2.6", "2.7", "3.0", "3.1", "3.2", "ruby-head", "truffleruby-head"]
23+
ruby: ["2.5", "2.6", "2.7", "3.0", "3.1", "3.2", "ruby-head", "truffleruby-head"]
2424
runs-on: ubuntu-latest
2525
steps:
2626
- uses: actions/checkout@v3
@@ -51,7 +51,7 @@ jobs:
5151
strategy:
5252
fail-fast: false
5353
matrix:
54-
ruby: ["jruby-9.2", "jruby-9.3", "jruby-head"]
54+
ruby: ["jruby-9.3", "jruby-9.4", "jruby-head"]
5555
runs-on: ubuntu-latest
5656
steps:
5757
- uses: actions/checkout@v3

rails-html-sanitizer.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Gem::Specification.new do |spec|
1313
spec.homepage = "https://github.com/rails/rails-html-sanitizer"
1414
spec.license = "MIT"
1515

16+
spec.required_ruby_version = ">= 2.5.0"
17+
1618
spec.metadata = {
1719
"bug_tracker_uri" => "https://github.com/rails/rails-html-sanitizer/issues",
1820
"changelog_uri" => "https://github.com/rails/rails-html-sanitizer/blob/v#{spec.version}/CHANGELOG.md",

0 commit comments

Comments
 (0)