lib/rake/funnel/tasks/timing.rb in rake-funnel-0.22.1 vs lib/rake/funnel/tasks/timing.rb in rake-funnel-0.22.2
- old
+ new
@@ -52,24 +52,24 @@
p.setup do
Rake::Application.class_eval do
orig_display_error_message = instance_method(:display_error_message)
- define_method(:display_error_message) do |*ex|
- orig_display_error_message.bind(self).call(*ex)
+ define_method(:display_error_message) do |*args|
+ orig_display_error_message.bind(self).call(*args)
report_invoker.call(failed: true)
end
orig_display_error_message
end
end
p.reset do |memo|
Rake::Application.class_eval do
- define_method(:display_error_message) do |*ex|
- memo.bind(self).call(*ex)
+ define_method(:display_error_message) do |*args|
+ memo.bind(self).call(*args)
end
end
end
end
end
@@ -92,11 +92,11 @@
end
end
p.reset do |memo|
Rake::Task.class_eval do
- define_method(:execute) do |*ex|
- memo.bind(self).call(*ex)
+ define_method(:execute) do |*args|
+ memo.bind(self).call(*args)
end
end
end
end
end