fastlane 2.57.2 → 2.58.0.beta.20170919010003
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/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 +1 -1
- data/fastlane_core/lib/fastlane_core/ui/github_issue_inspector_reporter.rb +0 -1
- data/snapshot/lib/snapshot/reports_generator.rb +0 -1
- data/snapshot/lib/snapshot/test_command_generator.rb +2 -10
- metadata +17 -20
- data/fastlane/lib/.DS_Store +0 -0
- data/fastlane/lib/assets/.DS_Store +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 062d1ebef3c070002849d24fadc7665693f5adf0
|
4
|
+
data.tar.gz: 731ede3f44e04f2b7c2f22a3fcfd132ad860d0f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa91a3786f1301d51c2bf9815151fae38c4bc2d0a39db93c2524e6305075d0fb0483125ac61653f43999b84942b73f9cb52c01c6814ac4ab7f3335ffc9970c1c
|
7
|
+
data.tar.gz: 63149c261201f11f14499902524e8ba28930705879b4c383917809fa66de609cac8e351729569f7f0b44875a01540cf76d83d45ca9d915b68bffef902955cb71
|
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,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,7 +34,7 @@ module FastlaneCore
|
|
34
34
|
private
|
35
35
|
|
36
36
|
def copy_ipa(ipa_path)
|
37
|
-
ipa_file_name = "#{File.basename(ipa_path, '.ipa')}
|
37
|
+
ipa_file_name = "#{File.basename(ipa_path, '.ipa')}(#{Digest::SHA256.file(ipa_path).hexdigest}).ipa"
|
38
38
|
resulting_path = File.join(self.package_path, ipa_file_name)
|
39
39
|
FileUtils.cp(ipa_path, resulting_path)
|
40
40
|
|
@@ -17,7 +17,6 @@ module Fastlane
|
|
17
17
|
report.issues[0..(NUMBER_OF_ISSUES_INLINE - 1)].each { |issue| print_issue_full(issue) }
|
18
18
|
|
19
19
|
if report.issues.count > NUMBER_OF_ISSUES_INLINE
|
20
|
-
report.url.sub!('\'', '%27')
|
21
20
|
puts "and #{report.total_results - NUMBER_OF_ISSUES_INLINE} more at: #{report.url}"
|
22
21
|
puts ""
|
23
22
|
end
|
@@ -55,17 +55,9 @@ 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
|
-
|
66
58
|
# There should only be more than 1 device type if
|
67
|
-
# it is iOS
|
68
|
-
# device in the array, and they are not all iOS
|
59
|
+
# it is iOS, therefore, if there is more than 1
|
60
|
+
# device in the array, and they are not all iOS
|
69
61
|
# as checked above, that would imply that this is a mixed bag
|
70
62
|
return devices.count == 1
|
71
63
|
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.
|
4
|
+
version: 2.58.0.beta.20170919010003
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
@@ -828,8 +828,6 @@ files:
|
|
828
828
|
- deliver/lib/deliver/upload_price_tier.rb
|
829
829
|
- deliver/lib/deliver/upload_screenshots.rb
|
830
830
|
- fastlane/README.md
|
831
|
-
- fastlane/lib/.DS_Store
|
832
|
-
- fastlane/lib/assets/.DS_Store
|
833
831
|
- fastlane/lib/assets/ActionDetails.md.erb
|
834
832
|
- fastlane/lib/assets/Actions.md.erb
|
835
833
|
- fastlane/lib/assets/AppfileTemplate
|
@@ -1444,24 +1442,24 @@ metadata:
|
|
1444
1442
|
post_install_message:
|
1445
1443
|
rdoc_options: []
|
1446
1444
|
require_paths:
|
1447
|
-
-
|
1448
|
-
-
|
1449
|
-
-
|
1445
|
+
- spaceship/lib
|
1446
|
+
- scan/lib
|
1447
|
+
- sigh/lib
|
1448
|
+
- snapshot/lib
|
1449
|
+
- screengrab/lib
|
1450
1450
|
- fastlane/lib
|
1451
|
-
-
|
1452
|
-
-
|
1451
|
+
- cert/lib
|
1452
|
+
- pem/lib
|
1453
1453
|
- gym/lib
|
1454
|
+
- produce/lib
|
1455
|
+
- deliver/lib
|
1456
|
+
- supply/lib
|
1454
1457
|
- match/lib
|
1455
|
-
-
|
1458
|
+
- frameit/lib
|
1459
|
+
- credentials_manager/lib
|
1456
1460
|
- pilot/lib
|
1457
1461
|
- precheck/lib
|
1458
|
-
-
|
1459
|
-
- scan/lib
|
1460
|
-
- screengrab/lib
|
1461
|
-
- sigh/lib
|
1462
|
-
- snapshot/lib
|
1463
|
-
- spaceship/lib
|
1464
|
-
- supply/lib
|
1462
|
+
- fastlane_core/lib
|
1465
1463
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1466
1464
|
requirements:
|
1467
1465
|
- - ">="
|
@@ -1469,15 +1467,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1469
1467
|
version: 2.0.0
|
1470
1468
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1471
1469
|
requirements:
|
1472
|
-
- - "
|
1470
|
+
- - ">"
|
1473
1471
|
- !ruby/object:Gem::Version
|
1474
|
-
version:
|
1472
|
+
version: 1.3.1
|
1475
1473
|
requirements: []
|
1476
1474
|
rubyforge_project:
|
1477
|
-
rubygems_version: 2.
|
1475
|
+
rubygems_version: 2.4.5.1
|
1478
1476
|
signing_key:
|
1479
1477
|
specification_version: 4
|
1480
1478
|
summary: The easiest way to automate beta deployments and releases for your iOS and
|
1481
1479
|
Android apps
|
1482
1480
|
test_files: []
|
1483
|
-
has_rdoc:
|
data/fastlane/lib/.DS_Store
DELETED
Binary file
|
Binary file
|