apisonator 2.101.0 → 2.101.1.pre1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/Gemfile.on_prem.lock +1 -1
- data/lib/3scale/backend/application.rb +2 -1
- data/lib/3scale/backend/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95432eaf44d416b6d5051cd84c62d1fc489ae81f1f09267f9603e6a9a685e2cf
|
4
|
+
data.tar.gz: 9bca93e88e1e7a7d19b756771852c28945fc4f0846d0053e2fbc440df2b5bf03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9092418b9600a5e2c803321f7a507ceeb95e6d9e0b870585f94d3c0a63045ffad78cb2d774bda9009a729731db8b57decef6a32ed1bce2dcfec1ff7065307435
|
7
|
+
data.tar.gz: 8231a8943f345852c5f830b32407c8cd2d9b1082fe259e266e919309022868ada6fe1361b19e64a6d57b2aaff5eae649a7e09fe39653f77a26132c8293c8485a
|
data/Gemfile.lock
CHANGED
data/Gemfile.on_prem.lock
CHANGED
@@ -230,11 +230,12 @@ module ThreeScale
|
|
230
230
|
# Loads the usage limits affected by the metrics received, that is, the
|
231
231
|
# limits that are defined for those metrics plus all their ancestors in
|
232
232
|
# the metrics hierarchy.
|
233
|
+
# Raises MetricInvalid when a metric does not exist.
|
233
234
|
def load_usage_limits_affected_by(metric_names)
|
234
235
|
metric_ids = metric_names.flat_map do |name|
|
235
236
|
[name] + Metric.ascendants(service_id, name)
|
236
237
|
end.uniq.map do |name|
|
237
|
-
Metric.load_id(service_id, name)
|
238
|
+
Metric.load_id(service_id, name) || raise(MetricInvalid.new(name))
|
238
239
|
end
|
239
240
|
|
240
241
|
# IDs are sorted to be able to use the memoizer
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apisonator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.101.
|
4
|
+
version: 2.101.1.pre1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Ciganek
|
@@ -16,7 +16,7 @@ authors:
|
|
16
16
|
autorequire:
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
|
-
date: 2020-06-
|
19
|
+
date: 2020-06-05 00:00:00.000000000 Z
|
20
20
|
dependencies: []
|
21
21
|
description: This gem provides a daemon that handles authorization and reporting of
|
22
22
|
web services managed by 3scale.
|