diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2c2cf91..46658fe 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -46,7 +46,7 @@ jobs: strategy: matrix: - ruby: ['3.0', '3.1', '3.2', '3.3'] + ruby: ['3.1', '3.2', '3.3'] rails: ['6.1', '7.0', '7.1'] env: diff --git a/.rubocop.yml b/.rubocop.yml index 5081017..29351ea 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -6,7 +6,7 @@ require: AllCops: NewCops: enable - TargetRubyVersion: 3.0 + TargetRubyVersion: 3.1 Metrics/BlockLength: Exclude: diff --git a/README.md b/README.md index ea56fd4..d63cf47 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ This gem allows you to specify enum value translations in your I18n locale files ## Requirements This gem only supports actively maintained versions of Ruby and Rails. Currently, that is: -* Ruby 3.0+ +* Ruby 3.1+ * Rails 6.1+ It may work with older versions, but it is not officially supported. diff --git a/human_enum.gemspec b/human_enum.gemspec index c546e39..b663601 100644 --- a/human_enum.gemspec +++ b/human_enum.gemspec @@ -11,7 +11,7 @@ Gem::Specification.new do |spec| spec.email = ['893971+rafasoares@users.noreply.github.com'] # Should always be the lowest maintained version of Ruby - spec.required_ruby_version = '>= 3.0.0' + spec.required_ruby_version = '>= 3.1' spec.summary = 'Adds simple and easy I18n support for Rails enums' spec.description = 'This gem allows you to specify enum value translations