diff --git a/.travis.yml b/.travis.yml index 5d5d53a..558f108 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,11 +5,11 @@ services: rvm: - 1.9.3 - - jruby-19mode - - rbx + - jruby-1.7.11 + - rbx-2.2.9 - 2.0.0 - 2.1.0 - - ruby-head + - 2.1.2 notifications: email: false diff --git a/README.md b/README.md index f9d2855..f8c9972 100644 --- a/README.md +++ b/README.md @@ -86,11 +86,11 @@ class Worker begin # I can do the work # ... - ensure - # You probably want to manually release lock after work is done - # This method can be safely called even if lock wasn't acquired - # by current worker (thread). For more references see RedisLock class - lock.release! + ensure + # You probably want to manually release lock after work is done + # This method can be safely called even if lock wasn't acquired + # by current worker (thread). For more references see RedisLock class + lock.release! end else # reschedule, raise an error or do whatever you want