fastlane 2.20.0.beta.20170302010029 → 2.20.0.beta.20170303010054

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: d738801d7c6cb865f0adee7a933b7ce7c122f51e
4
- data.tar.gz: 381d3174d244de98dcfb130c0cec7fddce80d4c8
3
+ metadata.gz: 1f2dd050d5013210fe778c5179873cf71fa6a545
4
+ data.tar.gz: 05f7b24da69a3e008999ad816318d52b6601da98
5
5
  SHA512:
6
- metadata.gz: 5fea9808e8f2e28cdd4004b15b4b35c69f70f08123511619bbf3520e52c9f9ffbde20eed2eab58d598e49777ed64cb6ea32c268d95ce97b888c800d29689bdd3
7
- data.tar.gz: 3215d62c344751563b951d3b4a5f75dc98ed3b2402e0e1d205260c702a5e626dde61764c1c76edfccf525998c047b39fb00bfec4029920ff8c25c8565249a3d4
6
+ metadata.gz: d71e09d6ff71b81aa6038a9d1ea7898231848f18c9f609e7a5b5d343b8b5aacaad799ebf4dfd90ceff61924390a91c856c9a4c5c313af2517ed7ee0287496d72
7
+ data.tar.gz: f5b0a59813bdbaafcc69f67056f74bcef40f698fda676d97fd7c9248647bad02a0a31974c3db47865d2635b20f99d0c040b3e7f26713b9664cf505cf784c06e3
@@ -218,7 +218,8 @@ module Fastlane
218
218
  "Ruby Lib Dir" => anonymized_path(RbConfig::CONFIG['libdir']),
219
219
  "OpenSSL Version" => OpenSSL::OPENSSL_VERSION,
220
220
  "Is contained" => Helper.contained_fastlane?.to_s,
221
- "Is homebrew" => Helper.homebrew?.to_s
221
+ "Is homebrew" => Helper.homebrew?.to_s,
222
+ "Is installed via Fabric.app" => Helper.mac_app?.to_s
222
223
  }
223
224
 
224
225
  if Helper.mac?
@@ -51,7 +51,7 @@ module Fastlane
51
51
 
52
52
  # Optional
53
53
  command << "-betaDistributionEmails '#{params[:emails]}'" if params[:emails]
54
- command << "-betaDistributionReleaseNotesFilePath '#{params[:notes_path]}'" if params[:notes_path]
54
+ command << "-betaDistributionReleaseNotesFilePath '#{File.expand_path(params[:notes_path])}'" if params[:notes_path]
55
55
  command << "-betaDistributionGroupAliases '#{params[:groups]}'" if params[:groups]
56
56
  command << "-betaDistributionNotifications #{(params[:notifications] ? 'true' : 'false')}"
57
57
 
@@ -1,4 +1,4 @@
1
1
  module Fastlane
2
- VERSION = '2.20.0.beta.20170302010029'.freeze
2
+ VERSION = '2.20.0.beta.20170303010054'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  end
@@ -81,6 +81,8 @@ module FastlaneCore
81
81
  "bundle update #{gem_name.downcase}"
82
82
  elsif Helper.contained_fastlane? || Helper.homebrew?
83
83
  "fastlane update_fastlane"
84
+ elsif Helper.mac_app?
85
+ "the Fabric app. Launch the app and navigate to the fastlane tab to get the most recent version."
84
86
  else
85
87
  "sudo gem update #{gem_name.downcase}"
86
88
  end
@@ -97,12 +97,28 @@ module Sigh
97
97
 
98
98
  return results if Sigh.config[:skip_certificate_verification]
99
99
 
100
+ UI.message "Verifying certificates..."
100
101
  return results.find_all do |a|
101
- # Also make sure we have the certificate installed on the local machine
102
102
  installed = false
103
- a.certificates.each do |cert|
103
+
104
+ # Attempts to download all certificats from this profile
105
+ # for checking if they are installed.
106
+ # `cert.download_raw` can fail if the user is a
107
+ # "member" and not an a "admin"
108
+ raw_certs = a.certificates.map do |cert|
109
+ begin
110
+ raw_cert = cert.download_raw
111
+ rescue => error
112
+ UI.important("Cannot download cert #{cert.id} - #{error.message}")
113
+ raw_cert = nil
114
+ end
115
+ raw_cert
116
+ end.compact
117
+
118
+ # Makes sure we have the certificate installed on the local machine
119
+ raw_certs.each do |raw_cert|
104
120
  file = Tempfile.new('cert')
105
- file.write(cert.download_raw)
121
+ file.write(raw_cert)
106
122
  file.close
107
123
  if FastlaneCore::CertChecker.installed?(file.path)
108
124
  installed = true
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.20.0.beta.20170302010029
4
+ version: 2.20.0.beta.20170303010054
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2017-03-02 00:00:00.000000000 Z
17
+ date: 2017-03-03 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: slack-notifier
@@ -1294,23 +1294,23 @@ metadata: {}
1294
1294
  post_install_message:
1295
1295
  rdoc_options: []
1296
1296
  require_paths:
1297
- - gym/lib
1298
- - cert/lib
1299
- - supply/lib
1300
- - deliver/lib
1297
+ - pem/lib
1301
1298
  - screengrab/lib
1299
+ - snapshot/lib
1300
+ - fastlane_core/lib
1301
+ - supply/lib
1302
1302
  - scan/lib
1303
1303
  - frameit/lib
1304
1304
  - sigh/lib
1305
- - fastlane_core/lib
1306
- - pem/lib
1307
- - credentials_manager/lib
1308
- - snapshot/lib
1309
- - pilot/lib
1310
1305
  - fastlane/lib
1306
+ - gym/lib
1307
+ - deliver/lib
1308
+ - produce/lib
1311
1309
  - spaceship/lib
1310
+ - pilot/lib
1312
1311
  - match/lib
1313
- - produce/lib
1312
+ - cert/lib
1313
+ - credentials_manager/lib
1314
1314
  required_ruby_version: !ruby/object:Gem::Requirement
1315
1315
  requirements:
1316
1316
  - - ">="