spaceship 0.31.0 → 0.31.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spaceship/tunes/app_version.rb +7 -12
- data/lib/spaceship/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f0c2e61a5e213f12e68eeacd23b51069650ac90
|
4
|
+
data.tar.gz: e5a83f60f6488ccf6c474e9ac9ac4172e17a640a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86aa61975fc122b1628eb7f7747b6438905365217a4e7e2a5af600272397962b1c39f168d316949b1b1c9cfe05d28eabaf34854a153814cc0ac4ea9a67bac4da
|
7
|
+
data.tar.gz: 0ca235f9c282e58389152c4d1ff8d065fafaa8472cd75991e1a039e98f1ee33eda5fb1af985cbf617835db5e3adaba10d6a2dfae611610aca5d64a56f3b2b201
|
@@ -634,18 +634,13 @@ module Spaceship
|
|
634
634
|
result = []
|
635
635
|
|
636
636
|
display_families.each do |display_family|
|
637
|
-
|
638
|
-
next if
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
device_type: display_family['name'],
|
645
|
-
language: row["language"]
|
646
|
-
}.merge(trailer_data)
|
647
|
-
result << Tunes::AppTrailer.factory(data)
|
648
|
-
end
|
637
|
+
trailer_data = display_family.fetch("trailer", {}).fetch("value")
|
638
|
+
next if trailer_data.nil?
|
639
|
+
data = {
|
640
|
+
device_type: display_family['name'],
|
641
|
+
language: row["language"]
|
642
|
+
}.merge(trailer_data)
|
643
|
+
result << Tunes::AppTrailer.factory(data)
|
649
644
|
end
|
650
645
|
|
651
646
|
return result
|
data/lib/spaceship/version.rb
CHANGED