Skip to content

Commit db88be4

Browse files
committed
update required ruby version to >= 3.2
1 parent e688c05 commit db88be4

11 files changed

Lines changed: 20 additions & 20 deletions

File tree

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ orbs:
66
jobs:
77
lint:
88
docker:
9-
- image: cimg/ruby:3.1
9+
- image: cimg/ruby:3.2
1010
steps:
1111
- checkout
1212
- ruby/install-deps
@@ -16,7 +16,7 @@ jobs:
1616

1717
test:
1818
docker:
19-
- image: cimg/ruby:3.1
19+
- image: cimg/ruby:3.2
2020
environment:
2121
CI: 'true'
2222
CODECOV_TOKEN: ${CODECOV_TOKEN}
@@ -34,7 +34,7 @@ jobs:
3434

3535
htmlproofer:
3636
docker:
37-
- image: cimg/ruby:3.1
37+
- image: cimg/ruby:3.2
3838
steps:
3939
- checkout
4040
- ruby/install-deps

.github/agents/code-quality.agent.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,22 @@ You are an expert Ruby code quality specialist for jekyll-polyglot, a Jekyll i18
88

99
## Your Expertise
1010

11-
- **Ruby standards knowledge:** You understand Ruby 3.1+ conventions and idioms
11+
- **Ruby standards knowledge:** You understand Ruby 3.2+ conventions and idioms
1212
- **RuboCop enforcement:** You can identify code that violates the project's specific `.rubocop.yml` rules
1313
- **Jekyll plugin architecture:** You understand hooks, patches, and Liquid filters in the context of Jekyll plugins
1414
- **Code smell detection:** You recognize anti-patterns and suggest idiomatic Ruby solutions
1515
- **Test quality:** You evaluate RSpec test structure and effectiveness
1616

1717
## Project Knowledge
1818

19-
- **Tech Stack:** Ruby 3.1.0+, Jekyll >= 4.0, RSpec for testing, RuboCop for linting
19+
- **Tech Stack:** Ruby 3.2.0+, Jekyll >= 4.0, RSpec for testing, RuboCop for linting
2020
- **File Structure:**
2121
- `lib/jekyll/polyglot/` – Core plugin code (hooks, patches, liquid filters)
2222
- `lib/jekyll/polyglot/hooks/` – Jekyll hook integrations
2323
- `lib/jekyll/polyglot/patches/` – Extensions to Jekyll core classes
2424
- `lib/jekyll/polyglot/liquid/` – Liquid filters and custom tags
2525
- `spec/` – RSpec test suite
26-
- **Key Config:** `.rubocop.yml` (TargetRubyVersion: 3.1, LineLength disabled, specific indentation rules)
26+
- **Key Config:** `.rubocop.yml` (TargetRubyVersion: 3.2, LineLength disabled, specific indentation rules)
2727

2828
## Commands You Can Run
2929

.github/agents/docs.agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ You are a technical writer responsible for keeping jekyll-polyglot documentation
1414

1515
## Project knowledge
1616

17-
**Tech Stack:** Ruby 3.1.0+, Jekyll >= 4.0, RSpec, RuboCop
17+
**Tech Stack:** Ruby 3.2.0+, Jekyll >= 4.0, RSpec, RuboCop
1818

1919
**Main Documentation Files** (root directory):
2020

.github/copilot-instructions.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
- **Type**: Ruby gem / Jekyll plugin
88
- **Size**: ~516 lines of source code across 11 files
9-
- **Primary Language**: Ruby 3.1.0+
9+
- **Primary Language**: Ruby 3.2.0+
1010
- **Framework Dependencies**: Jekyll >= 4.0
1111
- **Testing Framework**: RSpec with SimpleCov coverage
1212
- **Linting**: RuboCop with performance and RSpec plugins
@@ -75,9 +75,9 @@ spec/
7575
site/ # Example polyglot blog (multi-language demo)
7676
7777
Configuration & Build:
78-
.rubocop.yml # RuboCop linting rules (TargetRubyVersion: 3.1)
78+
.rubocop.yml # RuboCop linting rules (TargetRubyVersion: 3.2)
7979
.rspec # RSpec configuration (outputs rspec.xml, rspec.json)
80-
.circleci/config.yml # CircleCI pipeline (Ruby 3.1 Docker image)
80+
.circleci/config.yml # CircleCI pipeline (Ruby 3.2 Docker image)
8181
codecov.yml # Codecov coverage threshold (80% target)
8282
jekyll-polyglot.gemspec # Gem specification (version, dependencies, metadata)
8383
Gemfile # Development dependencies
@@ -87,7 +87,7 @@ Configuration & Build:
8787

8888
CircleCI automatically runs these steps on every PR:
8989

90-
1. **Build job**: Runs on Ruby 3.1 Docker image, installs dependencies via `ruby/install-deps` orb
90+
1. **Build job**: Runs on Ruby 3.2 Docker image, installs dependencies via `ruby/install-deps` orb
9191
2. **Test job**: Runs `./test.sh` which:
9292
- Executes `bundle exec rubocop` (linting)
9393
- Executes `COVERAGE=true bundle exec rspec` (tests + coverage)
@@ -124,7 +124,7 @@ The plugin groups Jekyll documents by their permalink across languages:
124124

125125
**RuboCop enforces all style rules.** Configuration in `.rubocop.yml` requires:
126126

127-
- Ruby 3.1+ syntax
127+
- Ruby 3.2+ syntax
128128
- 2-space indentation
129129
- No line length limit (disabled in config)
130130
- Specific method indentation rules (see config file)

.github/workflows/copilot-setup-steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Set up Ruby
3232
uses: ruby/setup-ruby@v1
3333
with:
34-
ruby-version: "3.1"
34+
ruby-version: "3.2"
3535
bundler-cache: true
3636

3737
- name: Verify setup with linting

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ require:
33

44
AllCops:
55
NewCops: enable
6-
TargetRubyVersion: 3.1
6+
TargetRubyVersion: 3.2
77
Exclude:
88
- 'bin/**/*'
99
- 'db/**/*'

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jekyll serve
8686

8787
## Key Requirements
8888

89-
- **Ruby 3.1.0 or higher**
89+
- **Ruby 3.2.0 or higher**
9090
- **Bundler** for dependency management
9191
- All code must pass **RuboCop** linting
9292
- New features must include tests (aim for >90% coverage)

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ group :test do
66
gem 'codecov', '~> 0.6.0'
77
gem 'html-proofer', '5.1.1'
88
gem 'minitest', '>= 5.16.3'
9-
gem 'nokogiri', '>= 1.14.3'
9+
gem 'nokogiri', '>= 1.19.3'
1010
gem 'rspec', '>= 3.11.0'
1111
gem 'rspec_junit_formatter', '>= 0.6.0'
1212
gem 'rspec-mocks', '>= 3.11.0'

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
jekyll-polyglot (1.12.0)
4+
jekyll-polyglot (1.13.0)
55
jekyll (>= 4.0, >= 3.0)
66

77
GEM

ai_docs/SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
### Ruby Compatibility
3939

40-
- Support **Ruby 3.1.0+**
40+
- Support **Ruby 3.2.0+**
4141
- Use syntax compatible with this version range
4242
- Test code on the minimum supported version before release
4343

0 commit comments

Comments
 (0)