lib/lhm/invoker.rb in lhm-2.1.0 vs lib/lhm/invoker.rb in lhm-2.2.0

- old
+ new

@@ -45,19 +45,19 @@ if !options.include?(:atomic_switch) if supports_atomic_switch? options[:atomic_switch] = true else raise Error.new( - "Using mysql #{version_string}. You must explicitly set " + - "options[:atomic_switch] (re SqlHelper#supports_atomic_switch?)") + "Using mysql #{version_string}. You must explicitly set " \ + 'options[:atomic_switch] (re SqlHelper#supports_atomic_switch?)') end end if options[:throttler] options[:throttler] = Throttler::Factory.create_throttler(*options[:throttler]) elsif options[:throttle] || options[:stride] # we still support the throttle and stride as a Fixnum input - warn "throttle option will no longer accept a Fixnum in the next versions." + warn 'throttle option will no longer accept a Fixnum in the next versions.' options[:throttler] = Throttler::LegacyTime.new(options[:throttle], options[:stride]) else options[:throttler] = Lhm.throttler end