fastlane 2.57.1 → 2.57.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: eff18ec2df85201fb07d168a8303af938118ba2e
|
|
4
|
+
data.tar.gz: 8136610a7b43e7ed3b1fe4ab2174e806114fa3bc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c9d0e9634ff03d8e314630946ed3a24596eb6e3b3740c5859098e9675f22ab828646271ca0c34a972015395f2269b210456d37718c33f1ac8deec08f49622751
|
|
7
|
+
data.tar.gz: fd3794fc550ca0c00ce13fd9665afd418c984194fee0939a2ed99a969a57dec4b59c64e30a650e0d72366e7e74c9c888f83279a56010a12da4e2b8090bfc11fb
|
|
@@ -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
|