Skip to content

Commit

Permalink
Skip parameter to fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
flash-gordon committed Jan 4, 2025
1 parent 67fde21 commit 47977c8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions Gemfile.devtools
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ end

group :tools do
gem "rubocop", "~> 1.69.2"
gem "readline"
gem "byebug"
end
4 changes: 2 additions & 2 deletions lib/dry/validation/macros.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ module Registrar
# @see Macro
#
# @api public
def register_macro(name, ...)
macros.register(name, ...)
def register_macro(...)
macros.register(...)
self
end
end
Expand Down
2 changes: 2 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
rescue LoadError
end

Warning.process { |w| raise w }

require "yaml"
require "i18n"
require "dry/validation"
Expand Down

0 comments on commit 47977c8

Please sign in to comment.