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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6699e5d9837fa2b01b1e3090ba2c61462dab7cd50aa1d1eb0e0fe60b74ad1c63
4
- data.tar.gz: 50b324572af09df12e403e478aa98fd62e6122398b98d58f9a3d57b6e1aedd82
3
+ metadata.gz: 0db8b15cc4d48bb737af43f199bd418d0a4b79c205c4f67dc241a2c3d08eb386
4
+ data.tar.gz: 035a3cca90ea0d94336427f1d6554104e8a30ec0da4e6b6ead66c721afcd402d
5
5
  SHA512:
6
- metadata.gz: 0a9906a2e22060800250f8655e6a508c0dc0fee836935f749a2627a2d99778033adbbb377ab22d805f35b6697d0226af7067b9e55cb294550732efe819196f11
7
- data.tar.gz: 7b61d2d5a7b6ab65186bfe8e0f9644d8b120da66ec7a0197af88166f008c44a9a75e0b0d44ccdf7cc3b41be117d7a92c832f7201ff7c8f5a97a1ca1883f1c9cb
6
+ metadata.gz: 3a38f47802510c25f54642e4e8c795680f93069aab74c94fca026b772eeae80f40c15630f4bed6e1e02015ccb10a0565476fbffcb2e23c1ff399d4ccf945b7ab
7
+ data.tar.gz: f17ff958dbe963a2a3c822bda49ff839e8be254231338ea8c43e7e8b7653269a6b752cf9161b5dbe84f0264100722a0a466a4d48ad029111b73d43925a55364a
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Canistor
4
- VERSION = '0.1.2'
4
+ VERSION = '0.1.3'
5
5
  end
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.2
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-12 00:00:00.000000000 Z
11
+ date: 2018-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler