Skip to content

Commit

Permalink
Add 3.3.0 to matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
flash-gordon committed Jan 31, 2025
1 parent ce2103f commit 55f53b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
ruby:
- "3.4"
- "3.3"
# ensure 3.3.0 passes
# see https://github.com/dry-rb/dry-types/issues/478
- "3.3.0"
- "3.2"
- "3.1"
include:
Expand Down
4 changes: 2 additions & 2 deletions lib/dry/types/sum.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ def call_unsafe(input)
# @return [Object]
#
# @api private
def call_safe(input, &)
left.call_safe(input) { right.call_safe(input, &) }
def call_safe(input, &block)
left.call_safe(input) { right.call_safe(input, &block) }
end

# @param [Object] input
Expand Down

0 comments on commit 55f53b2

Please sign in to comment.