Skip to content

Commit 763a416

Browse files
authored
Upgrade SDK to 0.6.0 (#44)
1 parent 410f2d5 commit 763a416

3 files changed

Lines changed: 17 additions & 15 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ jobs:
2525
ruby-version: ${{ matrix.rubyVersion }}
2626

2727
- name: Install bundle
28-
run: bundle install
28+
run: |
29+
bundle config set path /tmp/bundle-dir
30+
bundle install
2931
3032
- name: Lint and test
3133
run: bundle exec rake TESTOPTS="--verbose"

Gemfile.lock

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,23 @@ GEM
1313
specs:
1414
ast (2.4.2)
1515
base64 (0.2.0)
16-
bigdecimal (3.1.9)
17-
google-protobuf (4.31.1)
16+
bigdecimal (3.2.2)
17+
google-protobuf (4.32.0)
1818
bigdecimal
1919
rake (>= 13)
20-
google-protobuf (4.31.1-aarch64-linux-gnu)
20+
google-protobuf (4.32.0-aarch64-linux-gnu)
2121
bigdecimal
2222
rake (>= 13)
23-
google-protobuf (4.31.1-arm64-darwin)
23+
google-protobuf (4.32.0-arm64-darwin)
2424
bigdecimal
2525
rake (>= 13)
26-
google-protobuf (4.31.1-x86-linux-gnu)
26+
google-protobuf (4.32.0-x86-linux-gnu)
2727
bigdecimal
2828
rake (>= 13)
29-
google-protobuf (4.31.1-x86_64-darwin)
29+
google-protobuf (4.32.0-x86_64-darwin)
3030
bigdecimal
3131
rake (>= 13)
32-
google-protobuf (4.31.1-x86_64-linux-gnu)
32+
google-protobuf (4.32.0-x86_64-linux-gnu)
3333
bigdecimal
3434
rake (>= 13)
3535
googleapis-common-protos-types (1.19.0)
@@ -66,7 +66,7 @@ GEM
6666
racc
6767
racc (1.8.1)
6868
rainbow (3.1.1)
69-
rake (13.2.1)
69+
rake (13.3.0)
7070
regexp_parser (2.10.0)
7171
rubocop (1.70.0)
7272
json (~> 2.3)
@@ -81,19 +81,19 @@ GEM
8181
rubocop-ast (1.37.0)
8282
parser (>= 3.3.1.0)
8383
ruby-progressbar (1.13.0)
84-
temporalio (0.5.0)
84+
temporalio (0.6.0)
8585
google-protobuf (>= 3.25.0)
8686
logger
87-
temporalio (0.5.0-aarch64-linux)
87+
temporalio (0.6.0-aarch64-linux)
8888
google-protobuf (>= 3.25.0)
8989
logger
90-
temporalio (0.5.0-arm64-darwin)
90+
temporalio (0.6.0-arm64-darwin)
9191
google-protobuf (>= 3.25.0)
9292
logger
93-
temporalio (0.5.0-x86_64-darwin)
93+
temporalio (0.6.0-x86_64-darwin)
9494
google-protobuf (>= 3.25.0)
9595
logger
96-
temporalio (0.5.0-x86_64-linux)
96+
temporalio (0.6.0-x86_64-linux)
9797
google-protobuf (>= 3.25.0)
9898
logger
9999
unicode-display_width (3.1.4)

message_passing_simple/greeting_workflow.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def apply_language_with_lookup(new_language)
7070
# We use a mutex so that, if this handler is executed multiple times, each execution can schedule the activity
7171
# only when the previously scheduled activity has completed. This ensures that multiple calls to
7272
# apply_language_with_lookup are processed in order.
73-
@apply_language_mutex ||= Mutex.new
73+
@apply_language_mutex ||= Temporalio::Workflow::Mutex.new
7474
@apply_language_mutex.synchronize do
7575
greeting = Temporalio::Workflow.execute_activity(
7676
CallGreetingService, new_language, start_to_close_timeout: 10

0 commit comments

Comments
 (0)