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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e7934f51d95937873fa7f9b092f43c67c7f60a26
4
- data.tar.gz: 6e3cdd75c545d2f456a0fe4fbf8eb277c2dfcaf0
3
+ metadata.gz: 3f0c2e61a5e213f12e68eeacd23b51069650ac90
4
+ data.tar.gz: e5a83f60f6488ccf6c474e9ac9ac4172e17a640a
5
5
  SHA512:
6
- metadata.gz: 80480640eb4e829944c9dfa750794531b39212fc7bb98b1ad1a0d82a7611abb2b8f8e0b96f2fe34df13c130231f377551aae236746ff1501d8f7f88886d4b7db
7
- data.tar.gz: c71c70fc9ec4c278551511b5863315af3bf82232d2deb142c1d5728a5f004c0b4d25b09c29b16bec82130425f42d442fa2290da033847594d4ae8519463184c6
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
- trailers = display_family.fetch("trailer", {}).fetch("value")
638
- next if trailers.nil?
639
-
640
- trailers.each do |trailer|
641
- trailer_data = trailer["value"]
642
- next if trailer_data.nil?
643
- data = {
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
@@ -1,4 +1,4 @@
1
1
  module Spaceship
2
- VERSION = "0.31.0".freeze
2
+ VERSION = "0.31.1".freeze
3
3
  DESCRIPTION = "Ruby library to access the Apple Dev Center and iTunes Connect".freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spaceship
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.31.0
4
+ version: 0.31.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause