Skip to content

Commit

Permalink
Fix warnings (#282)
Browse files Browse the repository at this point in the history
* Add base64 to gemspec for Ruby 3.4.0

* Fix not to raise expectations to stop warning
  • Loading branch information
jeffschoner authored Jan 16, 2024
1 parent 95d62d2 commit 3e0dae7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/unit/lib/temporal/activity_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def execute(a, b:, c:)
it 'does not raise an ArgumentError' do
expect {
described_class.execute_in_context(context, input)
}.not_to raise_error(ArgumentError, 'wrong number of arguments (given 2, expected 1; required keywords: b, c)')
}.not_to raise_error
end

it 'returns #execute result' do
Expand Down
2 changes: 1 addition & 1 deletion spec/unit/lib/temporal/workflow_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def execute(a, b:, c:)
it 'does not raise an ArgumentError' do
expect {
described_class.execute_in_context(ctx, input)
}.not_to raise_error(ArgumentError, 'wrong number of arguments (given 2, expected 1; required keywords: b, c)')
}.not_to raise_error
end
end
end
Expand Down
1 change: 1 addition & 0 deletions temporal.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Gem::Specification.new do |spec|
spec.require_paths = ['lib']
spec.files = Dir["{lib,rbi}/**/*.*"] + %w(temporal.gemspec Gemfile LICENSE README.md)

spec.add_dependency 'base64'
spec.add_dependency 'grpc'
spec.add_dependency 'oj'

Expand Down

0 comments on commit 3e0dae7

Please sign in to comment.