Skip to content

Commit

Permalink
args added to with_lock method, version increased
Browse files Browse the repository at this point in the history
  • Loading branch information
kamsharipova committed Feb 20, 2017
1 parent 97f6f14 commit e6d1226
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/dao/gateway/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def with_transaction(&_block)
raise TransactionNotSupported
end

def with_lock(_id, &_block)
def with_lock(_id, *_args, &_block)
raise LockNotSupported
end

Expand Down
2 changes: 1 addition & 1 deletion lib/dao/gateway/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Dao
module Gateway
VERSION = '1.4.0'
VERSION = '1.5.0'
end
end

0 comments on commit e6d1226

Please sign in to comment.