Skip to content

Commit 0c0c877

Browse files
authored
Bump Ruby to 3.3 (#41)
* bump to Ruby 3.3 * Version bump + Changelog * adding ostruct in gemfile
1 parent 5be8928 commit 0c0c877

165 files changed

Lines changed: 228366 additions & 177469 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/test_and_publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ jobs:
99
tests:
1010
strategy:
1111
matrix:
12-
# Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
13-
ruby: [2.7, '3.0', 3.1, 3.2]
12+
ruby: ['3.3', '3.4', '4.0']
1413
runs-on: ubuntu-latest
1514

1615
steps:
@@ -47,7 +46,7 @@ jobs:
4746
- name: Set up Ruby
4847
uses: ruby/setup-ruby@v1
4948
with:
50-
ruby-version: 3.2
49+
ruby-version: '3.4'
5150
bundler-cache: true
5251
- name: Prepare credentials
5352
env:

.github/workflows/test_only.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ jobs:
77
tests:
88
strategy:
99
matrix:
10-
# Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
11-
ruby: [2.7, '3.0', 3.1, 3.2]
10+
ruby: ['3.3', '3.4', '4.0']
1211
runs-on: ubuntu-latest
1312

1413
steps:
@@ -31,7 +30,7 @@ jobs:
3130
- name: Set up Ruby
3231
uses: ruby/setup-ruby@v1
3332
with:
34-
ruby-version: '3.2'
33+
ruby-version: '3.4'
3534
bundler-cache: true
3635
- name: Set up Node
3736
uses: actions/setup-node@v2

.rubocop.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ inherit_from:
44
inherit_gem:
55
prettier: rubocop.yml
66

7-
require:
7+
plugins:
88
- rubocop-faker
99
- rubocop-performance
1010
- rubocop-sorbet
@@ -14,7 +14,7 @@ AllCops:
1414
DisplayStyleGuide: true
1515
DisplayCopNames: true
1616
SuggestExtensions: false
17-
TargetRubyVersion: 2.6
17+
TargetRubyVersion: 3.3
1818
Exclude:
1919
- 'bin/*'
2020
- 'vendor/**/*'
@@ -34,3 +34,14 @@ Style:
3434

3535
Gemspec/RequiredRubyVersion:
3636
Enabled: false
37+
38+
# `delete` and `revive` mirror Shotgrid's REST verbs; they are imperative
39+
# actions that happen to return `true` on success, not predicates.
40+
Naming/PredicateMethod:
41+
Exclude:
42+
- 'lib/shotgrid_api_ruby/entities.rb'
43+
44+
# Sorbet `sig` cannot reference an anonymous `&` block parameter, so the
45+
# explicit `&block` form is required wherever a method has a Sorbet signature.
46+
Naming/BlockForwarding:
47+
EnforcedStyle: explicit

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.2.0
1+
3.3.11

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.2.0.8] - 2026-05-10
11+
12+
### Added
13+
14+
- Explicit dependency on `ostruct` (no longer in default gems on Ruby 4.0+)
15+
16+
### Changed
17+
18+
- Bumped minimum Ruby to 3.3 and updated the CI matrix to non-EOL versions (3.3, 3.4, 4.0)
19+
- Upgraded Sorbet/Tapioca stack (sorbet-static now ships arm64-darwin-25 binaries)
20+
- Bumped RuboCop and migrated `require:` extensions to the new `plugins:` syntax; `TargetRubyVersion` raised to 3.3
21+
- Refreshed gem RBIs against the updated dependencies
22+
23+
### Fixed
24+
25+
- Gemspec metadata: `homepage_uri`, `source_code_uri` and `changelog_uri` were silently overwritten by a subsequent `spec.metadata = {…}` assignment; consolidated into a single hash literal so all entries are published
26+
1027
## [0.2.0.6] - 2023-01-29
1128

1229
### Added

0 commit comments

Comments
 (0)