Skip to content

Commit f1339c4

Browse files
authored
Set required_ruby_version to >= 3.2.0 in the gemspec (#258)
1 parent 9ce9025 commit f1339c4

File tree

5 files changed

+6
-9
lines changed

5 files changed

+6
-9
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ Gemfile.lock
66
temporalio/test/golangworker/golangworker
77
temporalio/.yardoc
88
temporalio/doc
9-
temporalio/pkg
9+
temporalio/pkg
10+
temporalio/lib/temporalio/internal/bridge/temporalio_bridge.bundle

temporalio/.rubocop.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ inherit_mode:
44

55
AllCops:
66
NewCops: enable
7-
TargetRubyVersion: 3.1
7+
TargetRubyVersion: 3.2
88
SuggestExtensions: false
99
Exclude:
1010
- ext/**/*
@@ -18,11 +18,6 @@ AllCops:
1818
# Keep cop rule settings in alphabetical order. For each rule setting, provide
1919
# justification for the change from default.
2020

21-
# Temporarily disabled per https://github.com/rake-compiler/rake-compiler-dock/issues/145#issuecomment-2596848639
22-
# until that is fixed
23-
Gemspec/RequiredRubyVersion:
24-
Enabled: false
25-
2621
# We want our classes in a certain order
2722
Layout/ClassStructure:
2823
Enabled: true
@@ -105,4 +100,4 @@ Style/RequireOrder:
105100

106101
# We are ok with large amount of keyword args
107102
Metrics/ParameterLists:
108-
CountKeywordArgs: false
103+
CountKeywordArgs: false

temporalio/.tool-versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ruby 3.3.7

temporalio/temporalio.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Gem::Specification.new do |spec|
2323
spec.require_paths = ['lib']
2424
spec.extensions = ['ext/Cargo.toml']
2525
spec.metadata['rubygems_mfa_required'] = 'true'
26+
spec.required_ruby_version = '>= 3.2.0'
2627

2728
spec.add_dependency 'google-protobuf', '>= 3.25.0'
2829
spec.add_dependency 'logger'

temporalio/test/contrib/open_telemetry_test.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# frozen_string_literal: true
22

33
require 'opentelemetry/sdk'
4-
require 'set'
54
require 'temporalio/contrib/open_telemetry'
65
require 'test'
76

0 commit comments

Comments
 (0)