faulty 0.1.1 → 0.1.2

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: a2d947943e6b9d5bf8481bc3b37f417c14f6ee37f7ccc359b37eb83c5d1da63f
4
- data.tar.gz: 2ba752577fbf1a9e9ddf4b9754a1382d603435efb463158b55f5ac1eabe1b75e
3
+ metadata.gz: e1da265b4bb2e4ae865726930ec3855a03d31c3b47c92b9ef08d7519cdb9d9d9
4
+ data.tar.gz: a2fdbb6d1ccdfb7be6c68467ce45a802644ef4f9a61769e8b7387d626307facd
5
5
  SHA512:
6
- metadata.gz: 3d23f2e4b3aee70fceca72c2cc73f712a01ee6b86fdcc8d6fb68433573e224724d9f181300695bba7780265d1a294be1b991c4bff5ee24f6eb152d6650f834f9
7
- data.tar.gz: 589ac68d52e00f82b7f7b562ae64f140bb7accc86b34247324e95b8e4c67ba9b79f40d71b6929398ab75738d9ea27c1a61a1162cde8003cc54dd0ade2171c79d
6
+ metadata.gz: 2ad680693b76db3f3d420d7ded71269c8ad669c23bffa0e4ab598d8d0772955c70479d1497ea51b7aa9691b8438e06bc83ff13d4f3e3f6842a3327971dcbb4d3
7
+ data.tar.gz: 2890441590276ecd72e16ee9866955b027a3e1df26907f9cc71a94f3f1161c01ea30665860bcf526fe871e84a10a7c9c728c050bbf961d8b9d670b4a6fb4bbfa
@@ -1,3 +1,7 @@
1
+ ## Release v0.1.2
2
+
3
+ * Fix Storage::FaultTolerantProxy open and reopen methods
4
+
1
5
  ## Release v0.1.1
2
6
 
3
7
  * Fix a crash when Storage::FaultTolerantProxy created a status stub
@@ -53,8 +53,8 @@ module Faulty
53
53
  # @see Interface#open
54
54
  # @param (see Interface#open)
55
55
  # @return (see Interface#open)
56
- def open(circuit)
57
- @storage.open(circuit)
56
+ def open(circuit, opened_at)
57
+ @storage.open(circuit, opened_at)
58
58
  rescue StandardError => e
59
59
  options.notifier.notify(:storage_failure, circuit: circuit, action: :open, error: e)
60
60
  false
@@ -65,8 +65,8 @@ module Faulty
65
65
  # @see Interface#reopen
66
66
  # @param (see Interface#reopen)
67
67
  # @return (see Interface#reopen)
68
- def reopen(circuit)
69
- @storage.reopen(circuit)
68
+ def reopen(circuit, opened_at, previous_opened_at)
69
+ @storage.reopen(circuit, opened_at, previous_opened_at)
70
70
  rescue StandardError => e
71
71
  options.notifier.notify(:storage_failure, circuit: circuit, action: :reopen, error: e)
72
72
  false
@@ -3,6 +3,6 @@
3
3
  module Faulty
4
4
  # The current Faulty version
5
5
  def self.version
6
- Gem::Version.new('0.1.1')
6
+ Gem::Version.new('0.1.2')
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faulty
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Howard