From e6d122631d6975b603288d6fcc9f886c7227f2e0 Mon Sep 17 00:00:00 2001 From: kamsharipova Date: Mon, 20 Feb 2017 10:30:46 +0300 Subject: [PATCH] args added to with_lock method, version increased --- lib/dao/gateway/base.rb | 2 +- lib/dao/gateway/version.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dao/gateway/base.rb b/lib/dao/gateway/base.rb index a6af31a..004f594 100644 --- a/lib/dao/gateway/base.rb +++ b/lib/dao/gateway/base.rb @@ -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 diff --git a/lib/dao/gateway/version.rb b/lib/dao/gateway/version.rb index 3478069..3440d96 100644 --- a/lib/dao/gateway/version.rb +++ b/lib/dao/gateway/version.rb @@ -1,5 +1,5 @@ module Dao module Gateway - VERSION = '1.4.0' + VERSION = '1.5.0' end end