Skip to content

Commit 06c7044

Browse files
authored
Update required ruby version to >= 2.6.0 (#72)
In #69 we re-added Emoji support and this makes use of `{Extended Pictograph}` but we now see this error with Ruby 2.5 (and, presumably, below): > invalid character property name {Extended_Pictographic}: > /[[^\p{letter}]&&[^ \d_\-\n\r\p{Extended_Pictographic}]]/ Ruby 2.5 is no longer supported as it was marked end of life since [31 Mar 2021](https://endoflife.date/ruby) so we might as well drop support for it in this library rather than trying to fix this issue.
1 parent e2185c0 commit 06c7044

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
test:
1111
strategy:
1212
matrix:
13-
ruby: [ 2.5, 2.6, 2.7, 3.0, jruby, truffleruby-head ]
13+
ruby: [ 2.6, 2.7, 3.0, jruby, truffleruby-head ]
1414
fail-fast: false
1515
max-parallel: 10
1616
runs-on: ubuntu-latest

babosa.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ Gem::Specification.new do |s|
2525
s.add_development_dependency "rspec", ">= 3.7.0"
2626
s.add_development_dependency "standard", ">= 1.1.7"
2727
s.add_development_dependency "simplecov"
28+
29+
s.required_ruby_version = ">= 2.6.0"
2830

2931
s.cert_chain = [File.expand_path("certs/parndt.pem", __dir__)]
3032
if $PROGRAM_NAME.end_with?("gem") && ARGV.include?("build") && ARGV.include?(__FILE__)

0 commit comments

Comments
 (0)