Skip to content

Commit 81817b9

Browse files
committed
Drop Ruby 3.1, support Ruby 3.4
1 parent 4512224 commit 81817b9

File tree

11 files changed

+640
-345
lines changed

11 files changed

+640
-345
lines changed

.github/workflows/build-gems.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: Build Gems
22
on:
3+
pull_request:
34
push:
45
branches:
56
- main
@@ -23,7 +24,7 @@ jobs:
2324
- name: Setup Ruby and Rust
2425
uses: oxidize-rb/actions/setup-ruby-and-rust@v1
2526
with:
26-
ruby-version: "3.3"
27+
ruby-version: "3.4"
2728
bundler-cache: true
2829
cargo-cache: true
2930
cargo-vendor: true
@@ -35,7 +36,7 @@ jobs:
3536
id: cross-gem
3637
with:
3738
platform: ${{ matrix.rubyPlatform }}
38-
ruby-versions: "3.1,3.2,3.3"
39+
ruby-versions: "3.2,3.3,3.4"
3940
working-directory: ./temporalio
4041

4142
- name: Upload gem
@@ -55,7 +56,7 @@ jobs:
5556
- name: Setup Ruby and Rust
5657
uses: oxidize-rb/actions/setup-ruby-and-rust@v1
5758
with:
58-
ruby-version: "3.3"
59+
ruby-version: "3.4"
5960
bundler-cache: true
6061
cargo-cache: true
6162
cache-version: v1-source
@@ -85,7 +86,7 @@ jobs:
8586
# TODO(cretz): Enable windows-latest if we can figure out Windows issue, see
8687
# https://github.com/temporalio/sdk-ruby/issues/172
8788
os: [ubuntu-latest, macos-intel, macos-latest]
88-
rubyVersion: ["3.1", "3.2", "3.3"]
89+
rubyVersion: ["3.2", "3.3", "3.4"]
8990
include:
9091
- os: ubuntu-latest
9192
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)