Commit 8d6aac8
chore: update Ruby version from 3.1 to 3.4 in workflows and README (#22)
**Requirements**
- [ ] I have added test coverage for new or changed functionality
- [x] I have followed the repository's [pull request submission
guidelines](../blob/main/CONTRIBUTING.md#submitting-pull-requests)
- [x] I have validated my changes against all supported platform
versions
**Related issues**
- [Failing CI
job](https://github.com/launchdarkly/openfeature-ruby-server/actions/runs/23911603051/job/69734764063)
— `Bundler found conflicting requirements for the Ruby version` when
running with Ruby 3.1.7.
**Describe the solution you've provided**
The `openfeature-sdk ~> 0.6.0` dependency requires Ruby >= 3.4, and the
gemspec's `required_ruby_version` was already updated to `>= 3.4` in
#16. However, three workflows and the README still referenced Ruby 3.1:
1. **`release-please.yml`** — used `ruby-version: 3.1` for the CI step
during release → updated to `3.4`
2. **`manual-publish.yml`** — used `ruby-version: 3.1` for the
build-and-test step → updated to `3.4`
3. **`manual-publish-docs.yml`** — used `ruby-version: 3.1` for
`setup-ruby` → updated to `3.4`
4. **`README.md`** — stated "Ruby 3.1 and above" → updated to "Ruby 3.4
and above"
**Describe alternatives you've considered**
- **Widening `openfeature-sdk` to `~> 0.4`** to restore Ruby 3.1
support: Rejected per reviewer feedback — the intent is to keep
`openfeature-sdk ~> 0.6.0` and require Ruby 3.4+.
**Additional context**
The `ci.yml` workflow was already updated to Ruby 3.4 in #16; only the
release/publish workflows were missed.
**Human review checklist**
- [ ] Verify no other files still reference Ruby 3.1 (e.g. grep for
`3.1` across `.github/`)
Link to Devin session:
https://app.devin.ai/sessions/0a8e066ab2c447618bcefa0be007594a
Requested by: @kinyoklion
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Low Risk**
> Low risk: updates only CI/release GitHub Actions configuration and
README text, with no runtime code changes. Main risk is CI/publish
failures if Ruby 3.4 environment assumptions differ from prior runs.
>
> **Overview**
> Aligns automation and documentation with the project’s Ruby 3.4+
requirement by updating GitHub Actions workflows to run build/test,
release, and docs publishing using Ruby `3.4` instead of `3.1`.
>
> Updates the README to state support for Ruby `3.4` and above.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
53daf5e. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>1 parent 132afc2 commit 8d6aac8
4 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments