fastlane 2.57.0.beta.20170914010003 → 2.57.0.beta.20170915010002
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 +4 -4
- data/cert/lib/cert/runner.rb +1 -1
- data/fastlane/lib/fastlane/actions/reset_simulator_contents.rb +2 -1
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane_core/lib/fastlane_core/cert_checker.rb +11 -6
- data/fastlane_core/lib/fastlane_core/ipa_upload_package_builder.rb +2 -2
- data/supply/lib/supply/client.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2edb706d1e63f871a9cde1ecd4689ba602c7b864
|
4
|
+
data.tar.gz: 71bf3395c7763ab06fbeacec59f2805b775722a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d2975ce22b2c3df0481a7875d1f32b48a4a8cdba20721103fa9271c291ed7264e4df09db6c5daaebe64d20a34da9e6b1338c16181a8be1852947196ed9032a0
|
7
|
+
data.tar.gz: 6961bb33ad1c6f3028a883096f3a01e1c3f2197221e97fc563ddf9a5e1604d12a6421d68d362e35f9b05eab1471371ff9f1c02f0a6fa30188e95a3831794065e
|
data/cert/lib/cert/runner.rb
CHANGED
@@ -5,7 +5,7 @@ module Cert
|
|
5
5
|
def launch
|
6
6
|
run
|
7
7
|
|
8
|
-
installed = FastlaneCore::CertChecker.installed?(ENV["CER_FILE_PATH"])
|
8
|
+
installed = FastlaneCore::CertChecker.installed?(ENV["CER_FILE_PATH"], Cert.config[:keychain_path], Cert.config[:keychain_password])
|
9
9
|
UI.message "Verifying the certificate is properly installed locally..."
|
10
10
|
UI.user_error!("Could not find the newly generated certificate installed", show_github_issues: true) unless installed
|
11
11
|
UI.success "Successfully installed certificate #{ENV['CER_CERTIFICATE_ID']}"
|
@@ -3,7 +3,8 @@ module Fastlane
|
|
3
3
|
class ResetSimulatorContentsAction < Action
|
4
4
|
def self.run(params)
|
5
5
|
if Helper.xcode_at_least?("9")
|
6
|
-
UI.
|
6
|
+
UI.important("Resetting simulators currently doesn't work with Xcode 9, stay tuned as we are working to add support for all new tools.")
|
7
|
+
return
|
7
8
|
end
|
8
9
|
|
9
10
|
if params[:ios]
|
@@ -3,10 +3,10 @@ require 'tempfile'
|
|
3
3
|
module FastlaneCore
|
4
4
|
# This class checks if a specific certificate is installed on the current mac
|
5
5
|
class CertChecker
|
6
|
-
def self.installed?(path)
|
6
|
+
def self.installed?(path, keychain = nil, password = nil)
|
7
7
|
UI.user_error!("Could not find file '#{path}'") unless File.exist?(path)
|
8
8
|
|
9
|
-
ids = installed_identies
|
9
|
+
ids = installed_identies(keychain, password)
|
10
10
|
finger_print = sha1_fingerprint(path)
|
11
11
|
|
12
12
|
return ids.include? finger_print
|
@@ -17,10 +17,10 @@ module FastlaneCore
|
|
17
17
|
installed?(path)
|
18
18
|
end
|
19
19
|
|
20
|
-
def self.installed_identies
|
20
|
+
def self.installed_identies(keychain, password)
|
21
21
|
install_wwdr_certificate unless wwdr_certificate_installed?
|
22
22
|
|
23
|
-
available = list_available_identities
|
23
|
+
available = list_available_identities(keychain, password)
|
24
24
|
# Match for this text against word boundaries to avoid edge cases around multiples of 10 identities!
|
25
25
|
if /\b0 valid identities found\b/ =~ available
|
26
26
|
UI.error([
|
@@ -44,8 +44,13 @@ module FastlaneCore
|
|
44
44
|
return ids
|
45
45
|
end
|
46
46
|
|
47
|
-
def self.list_available_identities
|
48
|
-
|
47
|
+
def self.list_available_identities(keychain, password)
|
48
|
+
keychain = File.expand_path(keychain)
|
49
|
+
locked = keychain and !system("security show-keychain-info #{keychain} >/dev/null 2>/dev/null")
|
50
|
+
`security unlock -p #{password} #{keychain}` if locked
|
51
|
+
`security find-identity -v -p codesigning #{keychain}`
|
52
|
+
ensure
|
53
|
+
`security lock #{keychain}` if locked
|
49
54
|
end
|
50
55
|
|
51
56
|
def self.wwdr_certificate_installed?
|
@@ -34,8 +34,8 @@ module FastlaneCore
|
|
34
34
|
private
|
35
35
|
|
36
36
|
def copy_ipa(ipa_path)
|
37
|
-
ipa_file_name = Digest::
|
38
|
-
resulting_path = File.join(self.package_path,
|
37
|
+
ipa_file_name = "#{File.basename(ipa_path, '.ipa')}(#{Digest::SHA256.file(ipa_path).hexdigest}).ipa"
|
38
|
+
resulting_path = File.join(self.package_path, ipa_file_name)
|
39
39
|
FileUtils.cp(ipa_path, resulting_path)
|
40
40
|
|
41
41
|
return resulting_path
|
data/supply/lib/supply/client.rb
CHANGED
@@ -161,7 +161,7 @@ module Supply
|
|
161
161
|
|
162
162
|
result = call_google_api { android_publisher.list_apks(current_package_name, current_edit.id) }
|
163
163
|
|
164
|
-
return result.apks.map(&:version_code)
|
164
|
+
return Array(result.apks).map(&:version_code)
|
165
165
|
end
|
166
166
|
|
167
167
|
# Get a list of all apk listings (changelogs) - returns the list
|
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.0.beta.
|
4
|
+
version: 2.57.0.beta.20170915010002
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
@@ -15,7 +15,7 @@ authors:
|
|
15
15
|
autorequire:
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
|
-
date: 2017-09-
|
18
|
+
date: 2017-09-15 00:00:00.000000000 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: slack-notifier
|