Skip to content

Commit

Permalink
Bump ruby requirement to >= 3.1 (#166)
Browse files Browse the repository at this point in the history
Merge pull request 166
  • Loading branch information
ntkme authored Oct 30, 2024
1 parent ac92ab9 commit 8cf9df9
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- "ubuntu-latest"
- "windows-latest"
ruby_version:
- "2.7"
- "3.1"
- "3.3"
steps:
- uses: actions/checkout@v4
Expand All @@ -40,7 +40,7 @@ jobs:
fail-fast: false
matrix:
ruby_version:
- "2.7"
- "3.1"
steps:
- uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: true
matrix:
ruby_version: ["2.7"]
ruby_version: ["3.1"]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ inherit_gem:
rubocop-jekyll: .rubocop.yml

AllCops:
TargetRubyVersion: 2.7
TargetRubyVersion: 3.1
SuggestExtensions: false
Exclude:
- vendor/**/*
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,7 @@ To use latest Jekyll and Jekyll Sass Converter on GitHub Pages,

### Requirements

- Minimum Ruby Version: `Ruby 2.6.0` (all platforms).
- Minimum Rubygems Version: `3.3.22` (for Linux-based platforms).
- Minimum Ruby Version: `Ruby 3.1.0` (all platforms).

### Dropped `implementation` Option

Expand Down
2 changes: 1 addition & 1 deletion jekyll-sass-converter.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
spec.files = `git ls-files -z`.split("\x0").grep(%r!^lib/!)
spec.require_paths = ["lib"]

spec.required_ruby_version = ">= 2.7.0"
spec.required_ruby_version = ">= 3.1.0"

spec.add_dependency "sass-embedded", "~> 1.54"
end
2 changes: 1 addition & 1 deletion lib/jekyll/converters/sass.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
module Jekyll
module Converters
class Sass < Scss
EXTENSION_PATTERN = %r!^\.sass$!i.freeze
EXTENSION_PATTERN = %r!^\.sass$!i

safe true
priority :low
Expand Down
2 changes: 1 addition & 1 deletion lib/jekyll/converters/scss.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
module Jekyll
module Converters
class Scss < Converter
EXTENSION_PATTERN = %r!^\.scss$!i.freeze
EXTENSION_PATTERN = %r!^\.scss$!i

SyntaxError = Class.new(ArgumentError)

Expand Down

0 comments on commit 8cf9df9

Please sign in to comment.