fastlane 2.20.0.beta.20170306010752 → 2.20.0.beta.20170307010029

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7003a460eca788a87a01b324c3bfcc09fcbf64b7
4
- data.tar.gz: 8b3f4557e8e7e82a09996334838c9485cc3ec684
3
+ metadata.gz: 5f780302f710c98d93acf8f1e24be30b026b5f51
4
+ data.tar.gz: 6a26da3bf2910e3d8537713432f611d4ea40bb57
5
5
  SHA512:
6
- metadata.gz: 9a42eefecc2ae58e2681aa20b2738e23f5d41ed09643bcfc6f172a4f1c9c6cb668297ef97715064879852d2ff788b27143fe413d53b8df83c7b1a77ab6f742dc
7
- data.tar.gz: e12c461d08bef5b76d487792c62439f6868f6b104222150c806b6c5f19b8cd69d11e5157cb51f5b6102b161df40b9512c2caa04180e90a70db24c47cbd34863b
6
+ metadata.gz: e3ffb526529660f5df3b5e5939357cd6974b85b3e59b4fc1aac1753200e135fe8173d077b8819654c66186402ae0887fa3908fde7f649734d52b96c97731440b
7
+ data.tar.gz: 094f78282731470ab21773527205331d726fdf87039429e159f4fa0a945761b7b9bfc23a1be1dfc2b4134dcb34459be7b06b94f340a67a51d2368c2f4b054f62
@@ -5,11 +5,15 @@ module Fastlane
5
5
  require 'supply'
6
6
  require 'supply/options'
7
7
 
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]
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
13
17
  end
14
18
 
15
19
  Supply.config = params # we already have the finished config
@@ -1,4 +1,4 @@
1
1
  module Fastlane
2
- VERSION = '2.20.0.beta.20170306010752'.freeze
2
+ VERSION = '2.20.0.beta.20170307010029'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  end
@@ -38,8 +38,6 @@ module Snapshot
38
38
  system("open '#{export_path}'") unless Snapshot.config[:skip_open_summary]
39
39
  end
40
40
 
41
- private
42
-
43
41
  def available_devices
44
42
  # The order IS important, since those names are used to check for include?
45
43
  # and the iPhone 6 is inlucded in the iPhone 6 Plus
@@ -53,14 +51,14 @@ module Snapshot
53
51
  'iPhone6' => "iPhone6 (4.7-Inch)",
54
52
  'iPhone5' => "iPhone5 (4-Inch)",
55
53
  'iPhone4' => "iPhone4 (3.5-Inch)",
56
- 'iPhone SE' => "iPhone SE",
54
+ 'iPhoneSE' => "iPhone SE",
57
55
  'iPad2' => "iPad2",
58
56
  'iPadAir2' => 'iPad Air 2',
59
57
  'iPadPro(12.9-inch)' => 'iPad Air Pro (12.9 inch)',
60
58
  'iPadPro(9.7-inch)' => 'iPad Air Pro (9.7 inch)',
61
59
  'iPadPro(9.7inch)' => "iPad Pro (9.7 inch)",
62
60
  'iPadPro(12.9inch)' => "iPad Pro (12.9 inch)",
63
- 'iPad Pro' => "iPad Pro",
61
+ 'iPadPro' => "iPad Pro",
64
62
  'iPad' => "iPad",
65
63
  'Mac' => "Mac"
66
64
  }
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.20170306010752
4
+ version: 2.20.0.beta.20170307010029
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-06 00:00:00.000000000 Z
17
+ date: 2017-03-07 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: slack-notifier
@@ -1294,22 +1294,22 @@ metadata: {}
1294
1294
  post_install_message:
1295
1295
  rdoc_options: []
1296
1296
  require_paths:
1297
+ - spaceship/lib
1297
1298
  - gym/lib
1298
1299
  - screengrab/lib
1299
- - produce/lib
1300
- - fastlane_core/lib
1301
- - scan/lib
1302
- - credentials_manager/lib
1303
1300
  - snapshot/lib
1304
- - fastlane/lib
1305
1301
  - deliver/lib
1306
- - cert/lib
1307
1302
  - frameit/lib
1303
+ - fastlane/lib
1304
+ - cert/lib
1305
+ - fastlane_core/lib
1306
+ - pem/lib
1307
+ - credentials_manager/lib
1308
1308
  - sigh/lib
1309
1309
  - pilot/lib
1310
1310
  - supply/lib
1311
- - spaceship/lib
1312
- - pem/lib
1311
+ - scan/lib
1312
+ - produce/lib
1313
1313
  - match/lib
1314
1314
  required_ruby_version: !ruby/object:Gem::Requirement
1315
1315
  requirements: