diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index eabf505..a669c03 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,7 +19,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: ["3.1", "3.2", "3.3", "3.4", "4.0"] + ruby: ["3.2", "3.3", "3.4", "4.0"] steps: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 diff --git a/.standard.yml b/.standard.yml index d41defb..67be296 100644 --- a/.standard.yml +++ b/.standard.yml @@ -1,6 +1,6 @@ # For available configuration options, see: # https://github.com/standardrb/standard -ruby_version: 3.0 +ruby_version: 3.2 ignore: - 'pkg/**/*' diff --git a/CHANGELOG.md b/CHANGELOG.md index dbddda9..9f7a0d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ ## [Unreleased] +- Drop support for Ruby 3.1, which reached end-of-life on 2025-03-31. The gem now requires Ruby >= 3.2. ## [0.7.0] - 2025-04-12 - Added a new (and better) way to organize your project with _tailwind.css and styles.tailwindcss files [#26](https://github.com/vormwald/jekyll-tailwindcss/pull/26) diff --git a/Gemfile b/Gemfile index b0b6d95..cfce334 100644 --- a/Gemfile +++ b/Gemfile @@ -15,12 +15,6 @@ gem "csv" gem "logger" gem "base64" -# transitive deps whose newer releases require ruby >= 3.2; CI still tests ruby 3.1 -gem "rdoc", "< 8" # rdoc 8 requires ruby >= 3.2 and pulls in rbs (also >= 3.2) -gem "erb", "< 5" # erb >= 6 requires ruby >= 3.2 -gem "sass-embedded", "< 1.77.1" # sass-embedded >= 1.77.1 requires ruby >= 3.2 -gem "google-protobuf", "< 4.36" # google-protobuf >= 4.36 requires ruby >= 3.2 - group :development, :test do gem "irb", "~> 1.14" end diff --git a/Gemfile.lock b/Gemfile.lock index c91ec0d..2205f41 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -12,29 +12,26 @@ GEM ast (2.4.2) base64 (0.2.0) bigdecimal (4.1.2) - cgi (0.5.2) colorator (1.1.0) concurrent-ruby (1.3.5) csv (3.3.2) - date (3.5.1) diff-lcs (1.5.1) em-websocket (0.5.3) eventmachine (>= 0.12.9) http_parser.rb (~> 0) - erb (4.0.4.1) - cgi (>= 0.3.3) + erb (6.0.7) eventmachine (1.2.7) ffi (1.17.4) ffi (1.17.4-arm64-darwin) ffi (1.17.4-x86_64-linux-gnu) forwardable-extended (2.6.0) - google-protobuf (4.35.1) + google-protobuf (4.36.0) bigdecimal rake (~> 13.3) - google-protobuf (4.35.1-arm64-darwin) + google-protobuf (4.36.0-arm64-darwin) bigdecimal rake (~> 13.3) - google-protobuf (4.35.1-x86_64-linux-gnu) + google-protobuf (4.36.0-x86_64-linux-gnu) bigdecimal rake (~> 13.3) http_parser.rb (0.8.0) @@ -92,9 +89,6 @@ GEM prettyprint prettyprint (0.2.0) prism (1.9.0) - psych (5.4.0) - date - stringio public_suffix (6.0.1) racc (1.8.1) rainbow (3.1.1) @@ -102,9 +96,14 @@ GEM rb-fsevent (0.11.2) rb-inotify (0.11.1) ffi (~> 1.0) - rdoc (7.2.0) + rbs (4.1.3) + logger + prism (>= 1.6.0) + tsort + rdoc (8.0.0) erb - psych (>= 4.0.0) + prism (>= 1.6.0) + rbs (>= 4.0.0) tsort regexp_parser (2.10.0) reline (0.7.0) @@ -141,13 +140,13 @@ GEM rubocop-ast (>= 1.31.1, < 2.0) ruby-progressbar (1.13.0) safe_yaml (1.0.5) - sass-embedded (1.77.0) - google-protobuf (>= 3.25, < 5.0) - rake (>= 13.0.0) - sass-embedded (1.77.0-arm64-darwin) - google-protobuf (>= 3.25, < 5.0) - sass-embedded (1.77.0-x86_64-linux-gnu) - google-protobuf (>= 3.25, < 5.0) + sass-embedded (1.103.1) + google-protobuf (~> 4.31) + rake (>= 13) + sass-embedded (1.103.1-arm64-darwin) + google-protobuf (~> 4.31) + sass-embedded (1.103.1-x86_64-linux-gnu) + google-protobuf (~> 4.31) standard (1.44.0) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.0) @@ -160,7 +159,6 @@ GEM standard-performance (1.6.0) lint_roller (~> 1.1) rubocop-performance (~> 1.23.0) - stringio (3.2.0) tailwindcss-ruby (4.0.6) tailwindcss-ruby (4.0.6-arm64-darwin) tailwindcss-ruby (4.0.6-x86_64-linux-gnu) @@ -178,16 +176,12 @@ PLATFORMS DEPENDENCIES base64 csv - erb (< 5) - google-protobuf (< 4.36) irb (~> 1.14) jekyll (~> 4.3) jekyll-tailwindcss! logger rake (~> 13.0) - rdoc (< 8) rspec (~> 3.0) - sass-embedded (< 1.77.1) standard (~> 1.3) BUNDLED WITH diff --git a/jekyll-tailwindcss.gemspec b/jekyll-tailwindcss.gemspec index a5b15ce..bc091e5 100644 --- a/jekyll-tailwindcss.gemspec +++ b/jekyll-tailwindcss.gemspec @@ -10,7 +10,7 @@ Gem::Specification.new do |spec| spec.summary = "Integrate Tailwind CSS into your Jekyll site." spec.homepage = "https://github.com/vormwald/jekyll-tailwindcss" spec.license = "MIT" - spec.required_ruby_version = ">= 3.1.0" + spec.required_ruby_version = ">= 3.2.0" spec.metadata["homepage_uri"] = spec.homepage spec.metadata["changelog_uri"] = "https://github.com/vormwald/jekyll-tailwindcss/blob/main/CHANGELOG.md" spec.metadata["source_code_uri"] = "https://github.com/vormwald/jekyll-tailwindcss"