diff --git a/.gitignore b/.gitignore index 8c050aad..eb3cbc2d 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ Gemfile.lock temporalio/test/golangworker/golangworker temporalio/.yardoc temporalio/doc -temporalio/pkg \ No newline at end of file +temporalio/pkg +temporalio/lib/temporalio/internal/bridge/temporalio_bridge.bundle diff --git a/temporalio/.rubocop.yml b/temporalio/.rubocop.yml index 3e0f467a..34517dc0 100644 --- a/temporalio/.rubocop.yml +++ b/temporalio/.rubocop.yml @@ -4,7 +4,7 @@ inherit_mode: AllCops: NewCops: enable - TargetRubyVersion: 3.1 + TargetRubyVersion: 3.2 SuggestExtensions: false Exclude: - ext/**/* @@ -18,11 +18,6 @@ AllCops: # Keep cop rule settings in alphabetical order. For each rule setting, provide # justification for the change from default. -# Temporarily disabled per https://github.com/rake-compiler/rake-compiler-dock/issues/145#issuecomment-2596848639 -# until that is fixed -Gemspec/RequiredRubyVersion: - Enabled: false - # We want our classes in a certain order Layout/ClassStructure: Enabled: true @@ -105,4 +100,4 @@ Style/RequireOrder: # We are ok with large amount of keyword args Metrics/ParameterLists: - CountKeywordArgs: false \ No newline at end of file + CountKeywordArgs: false diff --git a/temporalio/.tool-versions b/temporalio/.tool-versions new file mode 100644 index 00000000..9f00cc14 --- /dev/null +++ b/temporalio/.tool-versions @@ -0,0 +1 @@ +ruby 3.3.7 diff --git a/temporalio/temporalio.gemspec b/temporalio/temporalio.gemspec index 6222fdd3..b989a75e 100644 --- a/temporalio/temporalio.gemspec +++ b/temporalio/temporalio.gemspec @@ -23,6 +23,7 @@ Gem::Specification.new do |spec| spec.require_paths = ['lib'] spec.extensions = ['ext/Cargo.toml'] spec.metadata['rubygems_mfa_required'] = 'true' + spec.required_ruby_version = '>= 3.2.0' spec.add_dependency 'google-protobuf', '>= 3.25.0' spec.add_dependency 'logger' diff --git a/temporalio/test/contrib/open_telemetry_test.rb b/temporalio/test/contrib/open_telemetry_test.rb index e8dd7a57..fed1eaa1 100644 --- a/temporalio/test/contrib/open_telemetry_test.rb +++ b/temporalio/test/contrib/open_telemetry_test.rb @@ -1,7 +1,6 @@ # frozen_string_literal: true require 'opentelemetry/sdk' -require 'set' require 'temporalio/contrib/open_telemetry' require 'test'