Skip to content

Commit

Permalink
Updated travis config & readme indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
rwojsznis committed Jul 23, 2014
1 parent d9551d1 commit 020bc8d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 020bc8d

Please sign in to comment.