fastlane 2.66.1 → 2.66.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4587e352b21ddfa15fbdd2c72e434dc992e33c1a
|
4
|
+
data.tar.gz: 6384d6b60124db9fec71043e16ca5c7c95f918e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 647760053ed448299214f5bb41b0d9a438dd264cebe776d1de836d988d136b39042ceaa783afbcb7abe5c745ad472cedbfa3309c8ebb6e3b3e0f06fc725fca63
|
7
|
+
data.tar.gz: 34ecf9612dfbe932663c731685efc12cd09c29dc295fba43abad84fa5b94691bcc5046acf1b2d327ad5eb6851f78170fc3e94f7eef39a89e02bbb2d9d6849bcd
|
@@ -63,7 +63,9 @@ module Spaceship::TestFlight
|
|
63
63
|
def latest_installed_date
|
64
64
|
return nil unless latest_install_info
|
65
65
|
latest_installed_date_value = latest_install_info["latestInstalledDate"]
|
66
|
-
return latest_installed_date_value
|
66
|
+
return nil unless latest_installed_date_value
|
67
|
+
|
68
|
+
return latest_installed_date_value.to_i
|
67
69
|
end
|
68
70
|
|
69
71
|
def pretty_install_date
|
@@ -12,6 +12,8 @@ module Spaceship
|
|
12
12
|
|
13
13
|
def find_platform(versions, search_platform: nil)
|
14
14
|
# We only support platforms that exist ATM
|
15
|
+
search_platform = search_platform.to_sym if search_platform
|
16
|
+
|
15
17
|
platform = versions.detect do |p|
|
16
18
|
['ios', 'osx', 'appletvos'].include? p['platformString']
|
17
19
|
end
|
@@ -21,9 +23,9 @@ module Spaceship
|
|
21
23
|
# If your app has versions for both iOS and tvOS we will default to returning the iOS version for now.
|
22
24
|
# This is intentional as we need to do more work to support apps that have hybrid versions.
|
23
25
|
if versions.length > 1 && search_platform.nil?
|
24
|
-
platform = versions.detect { |p| p['platformString'] ==
|
26
|
+
platform = versions.detect { |p| p['platformString'].to_sym == :ios }
|
25
27
|
elsif !search_platform.nil?
|
26
|
-
platform = versions.detect { |p| p['platformString'] == search_platform }
|
28
|
+
platform = versions.detect { |p| p['platformString'].to_sym == search_platform }
|
27
29
|
end
|
28
30
|
platform
|
29
31
|
end
|