fastlane 2.57.1 → 2.57.2

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: 7b1f8e18b20ab63c04f88572ab8bc6ccabd57f10
4
- data.tar.gz: 83a59cd5631eede7c2be184545f763a18d3cdd35
3
+ metadata.gz: eff18ec2df85201fb07d168a8303af938118ba2e
4
+ data.tar.gz: 8136610a7b43e7ed3b1fe4ab2174e806114fa3bc
5
5
  SHA512:
6
- metadata.gz: ac6870d1884aaf5430acc5358782e958747ca70d17122dd468c2e91e0d5d8b71a4116c4616d305cee93fefffea9316542b959ad1fafb7fadbc9e4dc17b2f9700
7
- data.tar.gz: 93692379b226b192534ed8152bb15ba18ebfc0022215e1338d99d9a12e77af7ca8c3910700a41fcbe160b3859d866ea4c25c9b0e2ef187767b3fa4948a858a7a
6
+ metadata.gz: c9d0e9634ff03d8e314630946ed3a24596eb6e3b3740c5859098e9675f22ab828646271ca0c34a972015395f2269b210456d37718c33f1ac8deec08f49622751
7
+ data.tar.gz: fd3794fc550ca0c00ce13fd9665afd418c984194fee0939a2ed99a969a57dec4b59c64e30a650e0d72366e7e74c9c888f83279a56010a12da4e2b8090bfc11fb
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.57.1'.freeze
2
+ VERSION = '2.57.2'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  MINIMUM_XCODE_RELEASE = "7.0".freeze
5
5
  end
@@ -88,6 +88,7 @@ module Snapshot
88
88
  'Apple TV 1080p' => 'Apple TV',
89
89
  'Apple TV 4K (at 1080p)' => 'Apple TV 4K (at 1080p)',
90
90
  'Apple TV 4K' => 'Apple TV 4K',
91
+ 'Apple TV' => 'Apple TV',
91
92
  'Mac' => 'Mac'
92
93
  }
93
94
  end
@@ -55,9 +55,17 @@ module Snapshot
55
55
  end
56
56
  # Return true if all devices are iOS devices
57
57
  return true unless all_ios.include?(false)
58
+
59
+ all_tvos = devices.map do |device|
60
+ device = device.downcase
61
+ device.start_with?('apple tv')
62
+ end
63
+ # Return true if all devices are iOS devices
64
+ return true unless all_tvos.include?(false)
65
+
58
66
  # There should only be more than 1 device type if
59
- # it is iOS, therefore, if there is more than 1
60
- # device in the array, and they are not all iOS
67
+ # it is iOS or tvOS, therefore, if there is more than 1
68
+ # device in the array, and they are not all iOS or tvOS
61
69
  # as checked above, that would imply that this is a mixed bag
62
70
  return devices.count == 1
63
71
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.57.1
4
+ version: 2.57.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause