Skip to content

Commit a9034b8

Browse files
authored
Drop Ruby 3.1, support Ruby 3.4 (#194)
1 parent 4512224 commit a9034b8

36 files changed

+1373
-1115
lines changed

.github/workflows/build-gems.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Setup Ruby and Rust
2424
uses: oxidize-rb/actions/setup-ruby-and-rust@v1
2525
with:
26-
ruby-version: "3.3"
26+
ruby-version: "3.4"
2727
bundler-cache: true
2828
cargo-cache: true
2929
cargo-vendor: true
@@ -35,7 +35,7 @@ jobs:
3535
id: cross-gem
3636
with:
3737
platform: ${{ matrix.rubyPlatform }}
38-
ruby-versions: "3.1,3.2,3.3"
38+
ruby-versions: "3.2,3.3,3.4"
3939
working-directory: ./temporalio
4040

4141
- name: Upload gem
@@ -55,7 +55,7 @@ jobs:
5555
- name: Setup Ruby and Rust
5656
uses: oxidize-rb/actions/setup-ruby-and-rust@v1
5757
with:
58-
ruby-version: "3.3"
58+
ruby-version: "3.4"
5959
bundler-cache: true
6060
cargo-cache: true
6161
cache-version: v1-source
@@ -85,7 +85,7 @@ jobs:
8585
# TODO(cretz): Enable windows-latest if we can figure out Windows issue, see
8686
# https://github.com/temporalio/sdk-ruby/issues/172
8787
os: [ubuntu-latest, macos-intel, macos-latest]
88-
rubyVersion: ["3.1", "3.2", "3.3"]
88+
rubyVersion: ["3.2", "3.3", "3.4"]
8989
include:
9090
- os: ubuntu-latest
9191
rubyPlatform: x86_64-linux

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
# https://github.com/temporalio/sdk-ruby/issues/172
2525
os: [ubuntu-latest, macos-latest]
2626
# Earliest and latest supported
27-
rubyVersion: ["3.2", "3.3"]
27+
rubyVersion: ["3.2", "3.4"]
2828

2929
include:
3030
- os: ubuntu-latest

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div style="overflow: hidden"><img src="https://raw.githubusercontent.com/temporalio/assets/main/files/w/ruby.png" alt="Temporal Ruby SDK" /></div>
22

3-
![Ruby 3.1 | 3.2 | 3.3](https://img.shields.io/badge/ruby-3.1%20%7C%203.2%20%7C%203.3-blue.svg?style=for-the-badge)
3+
![Ruby 3.2 | 3.3 | 3.4](https://img.shields.io/badge/ruby-3.2%20|%203.3%20|%203.4-blue.svg?style=for-the-badge)
44
[![MIT](https://img.shields.io/github/license/temporalio/sdk-ruby.svg?style=for-the-badge)](LICENSE)
55
[![Gem](https://img.shields.io/gem/v/temporalio?style=for-the-badge)](https://rubygems.org/gems/temporalio)
66

@@ -76,7 +76,7 @@ until the SDK is marked stable.
7676

7777
### Installation
7878

79-
The Ruby SDK works with Ruby 3.1, 3.2, and 3.3. 3.4 support will be added soon, and 3.1 support will be dropped soon.
79+
The Ruby SDK works with Ruby 3.2, 3.3, and 3.4.
8080

8181
Can require in a Gemfile like:
8282

temporalio/.rubocop.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ Metrics/ModuleLength:
6464
Metrics/PerceivedComplexity:
6565
Max: 40
6666

67+
# We want the `*args` syntax instead of `*` so we can document clearly in YARD
68+
Style/ArgumentsForwarding:
69+
UseAnonymousForwarding: false
70+
6771
# We want classes to be documented
6872
Style/Documentation:
6973
Enabled: true

0 commit comments

Comments
 (0)