poms 2.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/poms/fields.rb +6 -0
- data/lib/poms/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44472a89a690f6181bd0705849dfd50e3f3de6fa
|
4
|
+
data.tar.gz: 6e6fa3ccc4349d7e8e41cf9b84f487424aadb35a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c0f996b98d940391e922906c92fbb87b8b580cce05af18c2a882784847790e14ac7456038b40dea1cb435f33b5ad125ea885489588ddafed35e6a272b1587e6
|
7
|
+
data.tar.gz: e2d26cc111a8e896b97a09171953964fdf670d8b7b6363073eb37e2a55a7e0e828887eb159797e9aa193a00ce80d3a7cdca7c78e555d4234a47b0d97ca3844ec
|
data/CHANGELOG.md
CHANGED
data/lib/poms/fields.rb
CHANGED
@@ -18,6 +18,12 @@ module Poms
|
|
18
18
|
value_of_type(item, 'descriptions', type)
|
19
19
|
end
|
20
20
|
|
21
|
+
def broadcasters(item)
|
22
|
+
Array(item['broadcasters']).map do |key_value_pair|
|
23
|
+
key_value_pair['value']
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
21
27
|
# Returns the images from the hash
|
22
28
|
def images(item)
|
23
29
|
item['images'].try(:sort_by) do |i|
|
data/lib/poms/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: poms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Kruijsen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|