Skip to content

Commit 266b10a

Browse files
authored
Merge pull request #189 from publify/update-supported-rubies
Drop support for Ruby 3.0 and 3.1
2 parents c353a35 + a76ea94 commit 266b10a

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

.github/workflows/ruby.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
strategy:
2929
matrix:
30-
ruby: ["3.0", "3.1", "3.2", "3.3", "3.4"]
30+
ruby: ["3.2", "3.3", "3.4"]
3131
gemfile:
3232
- rails_61
3333
- rails_70

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ AllCops:
1818
- 'spec/dummy/bin/*'
1919
- 'spec/dummy/db/schema.rb'
2020
NewCops: enable
21-
TargetRubyVersion: 3.0
21+
TargetRubyVersion: 3.2
2222

2323
Rails:
2424
Enabled: true

app/models/content.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# frozen_string_literal: true
22

3-
require "set"
43
require "uri"
54

65
class Content < ApplicationRecord

lib/text_filter_plugin.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ def self.help_text
100100
""
101101
end
102102

103-
def self.sanitize(*args)
104-
(@sanitizer ||= Rails::Html::WhiteListSanitizer.new).sanitize(*args)
103+
def self.sanitize(*)
104+
(@sanitizer ||= Rails::Html::WhiteListSanitizer.new).sanitize(*)
105105
end
106106

107107
def self.default_helper_module!; end

publify_core.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
1717

1818
s.files = File.read("Manifest.txt").split
1919

20-
s.required_ruby_version = ">= 3.0.0"
20+
s.required_ruby_version = ">= 3.2.0"
2121

2222
s.add_dependency "aasm", "~> 5.0"
2323
s.add_dependency "akismet", "~> 3.0"

0 commit comments

Comments
 (0)