pesto 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pesto.rb +0 -8
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df40866b281d6ef5590098404180ca334fcbdb57
|
4
|
+
data.tar.gz: 8f0878c78f7cb2b10199b943ed187bea3840646c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbb914544774964b5be6d8204f78df332a9eb9512f7c70fd3b4af7dac545f85652b9725b3e18c4a9b0cf855079d410b2e6c505f436b4b5791d70bcf8d58b67b7
|
7
|
+
data.tar.gz: 51791f1f534e3c48c11b0faee8806d9f742aef5e4d0b7b36aff22d6298ae830930d5ae112b9dae4df71dd35c9e59f8e45a17aade2db78128bdcb0ac87ee8398f
|
data/lib/pesto.rb
CHANGED
@@ -98,10 +98,6 @@ module Pesto
|
|
98
98
|
raise "#{err} (#{name})"
|
99
99
|
end
|
100
100
|
|
101
|
-
def lockm(_names = [], opts = {})
|
102
|
-
lock(_names, opts)
|
103
|
-
end
|
104
|
-
|
105
101
|
def unlock(_names)
|
106
102
|
_names = [_names] if _names.is_a?(String)
|
107
103
|
names = _names.uniq
|
@@ -126,10 +122,6 @@ module Pesto
|
|
126
122
|
val > 0 ? 1 : 0
|
127
123
|
end
|
128
124
|
|
129
|
-
def unlockm(_names)
|
130
|
-
unlock(_names)
|
131
|
-
end
|
132
|
-
|
133
125
|
private
|
134
126
|
|
135
127
|
def lock_hash(name)
|