circuit_switch 0.5.0 → 0.5.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/circuit_switch/builder.rb +1 -1
- data/lib/circuit_switch/core.rb +0 -4
- data/lib/circuit_switch/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 49d14d6e01b518ab369100ad1158bceaef24169f1f42f06203e2e9770156295f
|
|
4
|
+
data.tar.gz: 93871c6a146d7d010bfab916bc4f0b6b2374b85cb542131d1a25e2990a2ec5ad
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9b19fa18b5d5e41ba88bb2642abd7fea451b95e52439059ebe6392623a258d120c3649b4cb8e0a688c59973382f6ec98a07035cc61bcac5abfe4ed988cbc7e12
|
|
7
|
+
data.tar.gz: 20de1194f649ce2a752d425c09182d9a45a707e044bb272db96ad17e65228e84760447de861d244ed1c159fc22dd01ea2845aec894e2164a91db4107e45a77ac
|
data/CHANGELOG.md
CHANGED
data/lib/circuit_switch/core.rb
CHANGED
|
@@ -13,10 +13,6 @@ module CircuitSwitch
|
|
|
13
13
|
if close_if_reach_limit && run_limit_count == 0
|
|
14
14
|
raise CircuitSwitchError.new('Can\'t set limit_count to 0 when close_if_reach_limit is true')
|
|
15
15
|
end
|
|
16
|
-
if close_if_reach_limit.nil?
|
|
17
|
-
Logger.new($stdout).info('Default value for close_if_reach_limit is modified from true to false at ver 0.2.0.')
|
|
18
|
-
@close_if_reach_limit = false
|
|
19
|
-
end
|
|
20
16
|
|
|
21
17
|
return self if evaluate(close_if) || !evaluate(run_if)
|
|
22
18
|
return self if close_if_reach_limit && switch.reached_run_limit?(run_limit_count)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: circuit_switch
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- makicamel
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-12-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activejob
|
|
@@ -162,7 +162,7 @@ metadata:
|
|
|
162
162
|
homepage_uri: https://github.com/makicamel/circuit_switch
|
|
163
163
|
source_code_uri: https://github.com/makicamel/circuit_switch
|
|
164
164
|
changelog_uri: https://github.com/makicamel/circuit_switch/blob/main/CHANGELOG.md
|
|
165
|
-
post_install_message:
|
|
165
|
+
post_install_message:
|
|
166
166
|
rdoc_options: []
|
|
167
167
|
require_paths:
|
|
168
168
|
- lib
|
|
@@ -177,8 +177,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
177
177
|
- !ruby/object:Gem::Version
|
|
178
178
|
version: '0'
|
|
179
179
|
requirements: []
|
|
180
|
-
rubygems_version: 3.
|
|
181
|
-
signing_key:
|
|
180
|
+
rubygems_version: 3.2.32
|
|
181
|
+
signing_key:
|
|
182
182
|
specification_version: 4
|
|
183
183
|
summary: Circuit switch with report tools
|
|
184
184
|
test_files: []
|