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: 2bc3df02f196004500adff382976c732408a9696
4
- data.tar.gz: 2598541132a9841a10cd3fd8dd28c03735f5d152
3
+ metadata.gz: 4587e352b21ddfa15fbdd2c72e434dc992e33c1a
4
+ data.tar.gz: 6384d6b60124db9fec71043e16ca5c7c95f918e4
5
5
  SHA512:
6
- metadata.gz: d71230e7e8a0d6b7f9133677334e03f398db6fb8b4237d6345b6b9650619f694addd46c8b2c3747d7b287843d0b2906ec1a67e8b1662de8c02af5dcfc7045186
7
- data.tar.gz: 8ab89bb956a8f855012a071864c7c607a10d2aaa96bfd053191f751400f8ee6f0fc6f700b3136703ecaec486e2b28f59885c51d7b7ce9ec92c0e1efc4f89a841
6
+ metadata.gz: 647760053ed448299214f5bb41b0d9a438dd264cebe776d1de836d988d136b39042ceaa783afbcb7abe5c745ad472cedbfa3309c8ebb6e3b3e0f06fc725fca63
7
+ data.tar.gz: 34ecf9612dfbe932663c731685efc12cd09c29dc295fba43abad84fa5b94691bcc5046acf1b2d327ad5eb6851f78170fc3e94f7eef39a89e02bbb2d9d6849bcd
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.66.1'.freeze
2
+ VERSION = '2.66.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
  RUBOCOP_REQUIREMENT = '0.49.1'.freeze
@@ -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'] == "ios" }
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
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.66.1
4
+ version: 2.66.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause