Skip to content

Commit

Permalink
bump the oldest supported Ruby version to 2.7 (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
slonopotamus authored Oct 23, 2024
1 parent f30a827 commit 72c5d6f
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
needs: activate
strategy:
matrix:
ruby: ['jruby-9.3', 'jruby-9.4', '2.6', '3.3']
ruby: ['jruby-9.4', '2.7', '3.3']
os: [ubuntu-latest, windows-latest]
include:
- ruby: '3.3'
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ require:
- rubocop-rspec
AllCops:
NewCops: enable
TargetRubyVersion: 2.6
TargetRubyVersion: 2.7
Gemspec/RequireMFA:
Enabled: false
Layout/LineLength:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ For a detailed view of what has changed, refer to the {uri-repo}/commits/master[

* fix crash when running in environments with non-Unicode locale (#475)
* update Font Awesome Solid to 6.6.0
* bump the oldest supported Ruby version to 2.7

== 2.1.3 (2024-05-12) - @slonopotamus

Expand Down
2 changes: 1 addition & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Detailed installation and usage instructions can be found on the https://docs.as
== Installation

{project-name} is published on RubyGems.org.
{project-name} requires Ruby 2.6 or newer.
{project-name} requires Ruby 2.7 or newer.
You can install the published gem using the following command:

[source,shell script]
Expand Down
2 changes: 1 addition & 1 deletion asciidoctor-epub3.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Gem::Specification.new do |s|
s.homepage = 'https://github.com/asciidoctor/asciidoctor-epub3'
s.license = 'MIT'

s.required_ruby_version = '>= 2.6.0'
s.required_ruby_version = '>= 2.7.0'

files = begin
(result = Open3.popen3('git ls-files -z') { |_, out| out.read }.split %(\0)).empty? ? Dir['**/*'] : result
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ This is no longer the case. If you followed the old rules, chances are your docu

== Prerequisites

All that's needed to use {project-name} is Ruby 2.5 or newer and a few Ruby gems (including at least Asciidoctor 1.5.6), which we'll explain how to install in the next section.
All that's needed to use {project-name} is Ruby 2.7 or newer and a few Ruby gems, which we'll explain how to install in the next section.

To check if you have Ruby available, use the `ruby` command to query the installed version:

Expand Down

0 comments on commit 72c5d6f

Please sign in to comment.