freno-client 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/freno/client.rb +2 -1
- data/lib/freno/client/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f680a8adbf86c47eff50bcc58ae7b79993ef3f2f3c57ad99c9512937f92ba80
|
4
|
+
data.tar.gz: 50cf87848d1284d171457112ed5a297fd063532f78ef0399e5d669b1bc3ded33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6037e296652844e51cb469d3d6ca6dbb55e2baaa08c8c726b2885ad1b3ba6dd21857a85562d5b1491fb6b6cb86859ddc5fec0420f05089bb0c871c6ac69713cb
|
7
|
+
data.tar.gz: 352a0abcea1e4fb28d2e920812a1d95a8051b62e52ff8a1cbaf05340aff3409150ad74d6292461908e4c7a9408dce7507910ff6ae4448f7cf62a9f1c048cd0f9
|
data/lib/freno/client.rb
CHANGED
@@ -172,11 +172,12 @@ module Freno
|
|
172
172
|
requests = Array(request)
|
173
173
|
end
|
174
174
|
|
175
|
+
with = Array(with)
|
175
176
|
validate!(with)
|
176
177
|
|
177
178
|
requests.each do |request|
|
178
179
|
decorators[request] ||= []
|
179
|
-
decorators[request] +=
|
180
|
+
decorators[request] += with
|
180
181
|
decorated_requests[request] = nil
|
181
182
|
end
|
182
183
|
end
|
data/lib/freno/client/version.rb
CHANGED