lib/sequel/plugins/synchronize.rb in umbrellio-sequel-plugins-0.7.0.52 vs lib/sequel/plugins/synchronize.rb in umbrellio-sequel-plugins-0.8.0.73
- old
+ new
@@ -2,11 +2,11 @@
# Allows you to use PostgreSQL transaction advisory locks for application-level mutexes
module Sequel::Plugins::Synchronize
module ClassMethods
# Watch Sequel::Synchronize#synchronize_with
- def synchronize_with(*args, &block)
- db.extension(:synchronize).synchronize_with(*args, &block)
+ def synchronize_with(...)
+ db.extension(:synchronize).synchronize_with(...)
end
end
module InstanceMethods
# Just like Sequel::Synchronize#synchronize_with,