faulty 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 67b20b18497c36c64f2a3dc7d16de761af0c22c0a38d93f3101534a5ac85e26d
4
- data.tar.gz: 3d880b9a143939ab8ef4a22393c4bb8fa2b724d0bb02986bf52ac06ac3e5cf0b
3
+ metadata.gz: a2d947943e6b9d5bf8481bc3b37f417c14f6ee37f7ccc359b37eb83c5d1da63f
4
+ data.tar.gz: 2ba752577fbf1a9e9ddf4b9754a1382d603435efb463158b55f5ac1eabe1b75e
5
5
  SHA512:
6
- metadata.gz: 379c17805a9c647d71fac74e5190b6c077ef55c6d42b797f68dff008e602b005053a86c0c41572c761f32df25436b918e68f61049adf613e3a61a1a779d0364d
7
- data.tar.gz: a7ff7c19ec6759282ec0f17ffe72f2a56aa5a41d83221ca53040f676951f8346fa2fa83fbe20c71a4ef843be9d2dfbbe0d23380d94342173e8bf41632d74ad12
6
+ metadata.gz: 3d23f2e4b3aee70fceca72c2cc73f712a01ee6b86fdcc8d6fb68433573e224724d9f181300695bba7780265d1a294be1b991c4bff5ee24f6eb152d6650f834f9
7
+ data.tar.gz: 589ac68d52e00f82b7f7b562ae64f140bb7accc86b34247324e95b8e4c67ba9b79f40d71b6929398ab75738d9ea27c1a61a1162cde8003cc54dd0ade2171c79d
data/.gitignore CHANGED
@@ -2,6 +2,7 @@
2
2
  /Gemfile.lock
3
3
  /vendor/
4
4
  /.ruby-version
5
+ /*.gem
5
6
 
6
7
  /coverage/
7
8
  /doc/
@@ -0,0 +1,7 @@
1
+ ## Release v0.1.1
2
+
3
+ * Fix a crash when Storage::FaultTolerantProxy created a status stub
4
+
5
+ ## Release v0.1.0
6
+
7
+ Initial public release
@@ -167,10 +167,8 @@ module Faulty
167
167
  # @return [Status] The stub status
168
168
  def stub_status(circuit)
169
169
  Faulty::Status.new(
170
- cool_down: circuit.options.cool_down,
171
- stub: true,
172
- sample_threshold: circuit.options.sample_threshold,
173
- rate_threshold: circuit.options.rate_threshold
170
+ options: circuit.options,
171
+ stub: true
174
172
  )
175
173
  end
176
174
  end
@@ -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.0')
6
+ Gem::Version.new('0.1.1')
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faulty
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Howard
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-27 00:00:00.000000000 Z
11
+ date: 2020-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -232,7 +232,7 @@ dependencies:
232
232
  - - "~>"
233
233
  - !ruby/object:Gem::Version
234
234
  version: 0.9.25
235
- description:
235
+ description:
236
236
  email:
237
237
  - jmhoward0@gmail.com
238
238
  executables: []
@@ -244,6 +244,7 @@ files:
244
244
  - ".rubocop.yml"
245
245
  - ".travis.yml"
246
246
  - ".yardopts"
247
+ - CHANGELOG.md
247
248
  - Gemfile
248
249
  - LICENSE.txt
249
250
  - README.md
@@ -284,7 +285,7 @@ homepage: https://github.com/ParentSquare/faulty
284
285
  licenses:
285
286
  - MIT
286
287
  metadata: {}
287
- post_install_message:
288
+ post_install_message:
288
289
  rdoc_options: []
289
290
  require_paths:
290
291
  - lib
@@ -299,8 +300,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
299
300
  - !ruby/object:Gem::Version
300
301
  version: '0'
301
302
  requirements: []
302
- rubygems_version: 3.1.4
303
- signing_key:
303
+ rubygems_version: 3.0.8
304
+ signing_key:
304
305
  specification_version: 4
305
306
  summary: Fault-tolerance tools for ruby based on circuit-breakers
306
307
  test_files: []