lib/redlock.rb in redlock-1.2.1 vs lib/redlock.rb in redlock-1.2.2
- old
+ new
@@ -1,8 +1,9 @@
require 'redlock/version'
module Redlock
autoload :Client, 'redlock/client'
+ autoload :Scripts, 'redlock/scripts'
class LockError < StandardError
def initialize(resource)
super "failed to acquire lock on '#{resource}'".freeze
end