bbc-cosmos-tools 0.0.5 → 0.0.6
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eaf0d70ac4348428e9a88d7c793be076cfe110e8
|
4
|
+
data.tar.gz: 605e4e41c4a1b12f40befac74d7709e5fea70751
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e99485c53617e7c5c0f3c45f2d00649371409bca2949ac5df0de91e46ffac12a120e749ed8f2147f2e259dabe75284b0f8e2e2eb0e24283f6e9c9d9197baca38
|
7
|
+
data.tar.gz: f101152cf7ec14b515594796f513d4f2fdc664945b14f0eb452ac2df24d375c889e69f5ea78fcd09bee8e4415c4546ac896db4d32fe6ed7bf995920dd585022d
|
@@ -29,8 +29,12 @@ module BBC
|
|
29
29
|
end
|
30
30
|
|
31
31
|
def self.parameters(data)
|
32
|
-
|
33
|
-
|
32
|
+
if data['Parameters']
|
33
|
+
parameters = data['Parameters'].reduce({}) do |object, (key, value)|
|
34
|
+
object.tap { |o| o[key] = value['Default'] }
|
35
|
+
end
|
36
|
+
else
|
37
|
+
{}
|
34
38
|
end
|
35
39
|
end
|
36
40
|
|