fastlane 2.19.3 → 2.20.0.beta.20170302010029

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: 1496a1d8a6fffcecbb9d7a8c3a21ac1ed842fe86
4
- data.tar.gz: 8be92007e92ce7011ff2b54f14272dd4af0009c0
3
+ metadata.gz: d738801d7c6cb865f0adee7a933b7ce7c122f51e
4
+ data.tar.gz: 381d3174d244de98dcfb130c0cec7fddce80d4c8
5
5
  SHA512:
6
- metadata.gz: e3caf9e1ef2022d0675cf11cac48779297c426c6bd9e88780a82c8cfeeeacab5183adc14568869bd422578b69a475cba98c98ebbb08bc45c1851f150d5234008
7
- data.tar.gz: eb6c02a50c47c506d8f4026c58c2dd87b90546238c58bfb6890643df57abdea5a77afbd961472851ce20dff2ac674fb865d277d2d8f7cb081967b3ac53ffd22e
6
+ metadata.gz: 5fea9808e8f2e28cdd4004b15b4b35c69f70f08123511619bbf3520e52c9f9ffbde20eed2eab58d598e49777ed64cb6ea32c268d95ce97b888c800d29689bdd3
7
+ data.tar.gz: 3215d62c344751563b951d3b4a5f75dc98ed3b2402e0e1d205260c702a5e626dde61764c1c76edfccf525998c047b39fb00bfec4029920ff8c25c8565249a3d4
data/README.md CHANGED
@@ -79,7 +79,7 @@ xcode-select --install
79
79
  </tr>
80
80
  <tr>
81
81
  <td width="33%"><code>brew cask install fastlane</code></td>
82
- <td width="33%"><a href="https://download.fastlane.tools/">Download the zip file</a>. Then double click on the <code>install</code> script (or run it in a terminal window).</td>
82
+ <td width="33%"><a href="https://download.fastlane.tools/fastlane.zip">Download the zip file</a>. Then double click on the <code>install</code> script (or run it in a terminal window).</td>
83
83
  <td width="33%"><code>sudo gem install fastlane -NV</code></td>
84
84
  </tr>
85
85
  </table>
data/fastlane/README.md CHANGED
@@ -119,7 +119,7 @@ xcode-select --install
119
119
  </tr>
120
120
  <tr>
121
121
  <td width="33%"><code>brew cask install fastlane</code></td>
122
- <td width="33%"><a href="https://download.fastlane.tools">Download the zip file</a>. Then double click on the <code>install</code> script (or run it in a terminal window).</td>
122
+ <td width="33%"><a href="https://download.fastlane.tools/fastlane.zip">Download the zip file</a>. Then double click on the <code>install</code> script (or run it in a terminal window).</td>
123
123
  <td width="33%"><code>sudo gem install fastlane -NV</code></td>
124
124
  </tr>
125
125
  </table>
@@ -5,15 +5,11 @@ module Fastlane
5
5
  require 'supply'
6
6
  require 'supply/options'
7
7
 
8
- # If no APK params were provided, try to fill in the values from lane context, preferring
9
- # the multiple APKs over the single APK if set.
10
- if params[:apk_paths].nil? && params[:apk].nil?
11
- all_apk_paths = Actions.lane_context[SharedValues::GRADLE_ALL_APK_OUTPUT_PATHS] || []
12
- if all_apk_paths.size > 1
13
- params[:apk_paths] = all_apk_paths
14
- else
15
- params[:apk] = Actions.lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH]
16
- end
8
+ all_apk_paths = Actions.lane_context[SharedValues::GRADLE_ALL_APK_OUTPUT_PATHS] || []
9
+ if all_apk_paths.length > 1
10
+ params[:apk_paths] ||= all_apk_paths
11
+ else
12
+ params[:apk] ||= Actions.lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH]
17
13
  end
18
14
 
19
15
  Supply.config = params # we already have the finished config
@@ -29,7 +29,7 @@ module Fastlane
29
29
  output << "</tr>"
30
30
  output << "<tr>"
31
31
  output << "<td width=\"33%\"><code>brew cask install fastlane</code></td>"
32
- output << "<td width=\"33%\"><a href=\"https://download.fastlane.tools\">Download the zip file</a>. Then double click on the <code>install</code> script (or run it in a terminal window).</td>"
32
+ output << "<td width=\"33%\"><a href=\"https://download.fastlane.tools/fastlane.zip\">Download the zip file</a>. Then double click on the <code>install</code> script (or run it in a terminal window).</td>"
33
33
  output << "<td width=\"33%\"><code>sudo gem install fastlane -NV</code></td>"
34
34
  output << "</tr>"
35
35
  output << "</table>"
@@ -218,8 +218,7 @@ 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,
222
- "Is installed via Fabric.app" => Helper.mac_app?.to_s
221
+ "Is homebrew" => Helper.homebrew?.to_s
223
222
  }
224
223
 
225
224
  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 '#{File.expand_path(params[:notes_path])}'" if params[:notes_path]
54
+ command << "-betaDistributionReleaseNotesFilePath '#{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.19.3'.freeze
2
+ VERSION = '2.20.0.beta.20170302010029'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  end
@@ -224,11 +224,7 @@ module FastlaneCore
224
224
  logs_destination_dir = File.expand_path(logs_destination_dir)
225
225
  os_version = FastlaneCore::CommandExecutor.execute(command: 'sw_vers -productVersion', print_all: false, print_command: false)
226
226
 
227
- host_computer_supports_logarchives = Gem::Version.new(os_version) >= Gem::Version.new('10.12.0')
228
- device_supports_logarchives = Gem::Version.new(device.os_version) >= Gem::Version.new('10.0')
229
-
230
- are_logarchives_supported = device_supports_logarchives && host_computer_supports_logarchives
231
- if are_logarchives_supported
227
+ if Gem::Version.new(os_version) >= Gem::Version.new('10.12.0')
232
228
  copy_logarchive(device, log_identity, logs_destination_dir)
233
229
  else
234
230
  copy_logfile(device, log_identity, logs_destination_dir)
@@ -81,8 +81,6 @@ 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."
86
84
  else
87
85
  "sudo gem update #{gem_name.downcase}"
88
86
  end
@@ -29,7 +29,7 @@ xcode-select --install
29
29
  </tr>
30
30
  <tr>
31
31
  <td width="33%"><code>brew cask install fastlane</code></td>
32
- <td width="33%"><a href="https://download.fastlane.tools">Download the zip file</a>. Then double click on the <code>install</code> script (or run it in a terminal window).</td>
32
+ <td width="33%"><a href="https://download.fastlane.tools/fastlane.zip">Download the zip file</a>. Then double click on the <code>install</code> script (or run it in a terminal window).</td>
33
33
  <td width="33%"><code>sudo gem install fastlane -NV</code></td>
34
34
  </tr>
35
35
  </table>
@@ -15,7 +15,7 @@ module Screengrab
15
15
  program :name, 'screengrab'
16
16
  program :version, Fastlane::VERSION
17
17
  program :description, 'CLI for \'screengrab\' - Automate taking localized screenshots of your Android app on emulators or real devices'
18
- program :help, 'Authors', 'Andrea Falcone <asfalcone@google.com>, Michael Furtak <mfurtak@google.com>'
18
+ program :help, 'Authors', 'Andrea Falcone <afalcone@twitter.com>, Michael Furtak <mfurtak@twitter.com>'
19
19
  program :help, 'Website', 'https://fastlane.tools'
20
20
  program :help, 'GitHub', 'https://github.com/fastlane/screengrab'
21
21
  program :help_formatter, :compact
@@ -97,38 +97,20 @@ module Sigh
97
97
 
98
98
  return results if Sigh.config[:skip_certificate_verification]
99
99
 
100
- UI.message "Verifying certificates..."
101
- return results.find_all do |current_profile|
100
+ return results.find_all do |a|
101
+ # Also make sure we have the certificate installed on the local machine
102
102
  installed = false
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 = current_profile.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
- { downloaded: raw_cert, cert: cert }
116
- end
117
-
118
- # Makes sure we have the certificate installed on the local machine
119
- raw_certs.each do |current_cert|
120
- # Skip certificates that failed to download
121
- next unless current_cert[:downloaded]
103
+ a.certificates.each do |cert|
122
104
  file = Tempfile.new('cert')
123
- file.write(current_cert[:downloaded])
105
+ file.write(cert.download_raw)
124
106
  file.close
125
107
  if FastlaneCore::CertChecker.installed?(file.path)
126
108
  installed = true
127
109
  else
128
- UI.message("Certificate for Provisioning Profile '#{current_profile.name}' not available locally: #{current_cert[:cert].id}, skipping this one...")
110
+ UI.message("Certificate for Provisioning Profile '#{a.name}' not available locally: #{cert.id}, skipping this one...")
129
111
  end
130
112
  end
131
- installed && current_profile.certificate_valid?
113
+ installed && a.certificate_valid?
132
114
  end
133
115
  end
134
116
 
@@ -38,6 +38,8 @@ module Snapshot
38
38
  system("open '#{export_path}'") unless Snapshot.config[:skip_open_summary]
39
39
  end
40
40
 
41
+ private
42
+
41
43
  def available_devices
42
44
  # The order IS important, since those names are used to check for include?
43
45
  # and the iPhone 6 is inlucded in the iPhone 6 Plus
@@ -51,14 +53,14 @@ module Snapshot
51
53
  'iPhone6' => "iPhone6 (4.7-Inch)",
52
54
  'iPhone5' => "iPhone5 (4-Inch)",
53
55
  'iPhone4' => "iPhone4 (3.5-Inch)",
54
- 'iPhoneSE' => "iPhone SE",
56
+ 'iPhone SE' => "iPhone SE",
55
57
  'iPad2' => "iPad2",
56
58
  'iPadAir2' => 'iPad Air 2',
57
59
  'iPadPro(12.9-inch)' => 'iPad Air Pro (12.9 inch)',
58
60
  'iPadPro(9.7-inch)' => 'iPad Air Pro (9.7 inch)',
59
61
  'iPadPro(9.7inch)' => "iPad Pro (9.7 inch)",
60
62
  'iPadPro(12.9inch)' => "iPad Pro (12.9 inch)",
61
- 'iPadPro' => "iPad Pro",
63
+ 'iPad Pro' => "iPad Pro",
62
64
  'iPad' => "iPad",
63
65
  'Mac' => "Mac"
64
66
  }
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.19.3
4
+ version: 2.20.0.beta.20170302010029
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-07 00:00:00.000000000 Z
17
+ date: 2017-03-02 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: slack-notifier
@@ -1179,7 +1179,6 @@ files:
1179
1179
  - sigh/lib/sigh/resign.rb
1180
1180
  - sigh/lib/sigh/runner.rb
1181
1181
  - snapshot/README.md
1182
- - snapshot/lib/.DS_Store
1183
1182
  - snapshot/lib/assets/SnapfileTemplate
1184
1183
  - snapshot/lib/assets/SnapshotHelper.swift
1185
1184
  - snapshot/lib/assets/SnapshotHelper2-3.swift
@@ -1295,23 +1294,23 @@ metadata: {}
1295
1294
  post_install_message:
1296
1295
  rdoc_options: []
1297
1296
  require_paths:
1297
+ - gym/lib
1298
1298
  - cert/lib
1299
- - credentials_manager/lib
1299
+ - supply/lib
1300
1300
  - deliver/lib
1301
- - fastlane/lib
1302
- - fastlane_core/lib
1303
- - frameit/lib
1304
- - gym/lib
1305
- - match/lib
1306
- - pem/lib
1307
- - pilot/lib
1308
- - produce/lib
1309
- - scan/lib
1310
1301
  - screengrab/lib
1302
+ - scan/lib
1303
+ - frameit/lib
1311
1304
  - sigh/lib
1305
+ - fastlane_core/lib
1306
+ - pem/lib
1307
+ - credentials_manager/lib
1312
1308
  - snapshot/lib
1309
+ - pilot/lib
1310
+ - fastlane/lib
1313
1311
  - spaceship/lib
1314
- - supply/lib
1312
+ - match/lib
1313
+ - produce/lib
1315
1314
  required_ruby_version: !ruby/object:Gem::Requirement
1316
1315
  requirements:
1317
1316
  - - ">="
@@ -1319,15 +1318,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
1319
1318
  version: 2.0.0
1320
1319
  required_rubygems_version: !ruby/object:Gem::Requirement
1321
1320
  requirements:
1322
- - - ">="
1321
+ - - ">"
1323
1322
  - !ruby/object:Gem::Version
1324
- version: '0'
1323
+ version: 1.3.1
1325
1324
  requirements: []
1326
1325
  rubyforge_project:
1327
- rubygems_version: 2.5.1
1326
+ rubygems_version: 2.4.5.2
1328
1327
  signing_key:
1329
1328
  specification_version: 4
1330
1329
  summary: The easiest way to automate beta deployments and releases for your iOS and
1331
1330
  Android apps
1332
1331
  test_files: []
1333
- has_rdoc:
Binary file