examples/with_middlewares.rb in upperkut-0.7.0 vs examples/with_middlewares.rb in upperkut-0.7.1
- old
+ new
@@ -32,11 +32,11 @@
config.client_middlewares do |chain|
chain.add ClientMiddleware
end
end
- def perform(items)
- puts "executing........."
+ def perform(_items)
+ puts 'executing.........'
exec_time = rand(80..200)
sleep (exec_time.to_f / 1000.to_f)
end
end