canistor 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/canistor/version.rb +1 -1
- data/lib/canistor.rb +0 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0db8b15cc4d48bb737af43f199bd418d0a4b79c205c4f67dc241a2c3d08eb386
|
4
|
+
data.tar.gz: 035a3cca90ea0d94336427f1d6554104e8a30ec0da4e6b6ead66c721afcd402d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a38f47802510c25f54642e4e8c795680f93069aab74c94fca026b772eeae80f40c15630f4bed6e1e02015ccb10a0565476fbffcb2e23c1ff399d4ccf945b7ab
|
7
|
+
data.tar.gz: f17ff958dbe963a2a3c822bda49ff839e8be254231338ea8c43e7e8b7653269a6b752cf9161b5dbe84f0264100722a0a466a4d48ad029111b73d43925a55364a
|
data/lib/canistor/version.rb
CHANGED
data/lib/canistor.rb
CHANGED
@@ -172,11 +172,6 @@ module Canistor
|
|
172
172
|
end
|
173
173
|
end
|
174
174
|
|
175
|
-
# Returns true when Canistor should fail the operation and false otherwise.
|
176
|
-
def self.fail?(operation)
|
177
|
-
@fail.include?(operation)
|
178
|
-
end
|
179
|
-
|
180
175
|
# Executes the block when the operation is in the failure queue and removes
|
181
176
|
# one instance of the operation.
|
182
177
|
def self.take_fail(operation, &block)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: canistor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manfred Stienstra
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|