fastlane 2.132.0 → 2.133.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +72 -72
- data/fastlane/lib/fastlane/swift_fastlane_api_generator.rb +10 -2
- data/fastlane/lib/fastlane/swift_fastlane_function.rb +72 -3
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane/swift/Deliverfile.swift +1 -1
- data/fastlane/swift/DeliverfileProtocol.swift +121 -1
- data/fastlane/swift/Fastlane.swift +3827 -1
- data/fastlane/swift/Gymfile.swift +1 -1
- data/fastlane/swift/GymfileProtocol.swift +81 -1
- data/fastlane/swift/Matchfile.swift +1 -1
- data/fastlane/swift/MatchfileProtocol.swift +59 -1
- data/fastlane/swift/Precheckfile.swift +1 -1
- data/fastlane/swift/PrecheckfileProtocol.swift +15 -2
- data/fastlane/swift/Scanfile.swift +1 -1
- data/fastlane/swift/ScanfileProtocol.swift +109 -1
- data/fastlane/swift/Screengrabfile.swift +1 -1
- data/fastlane/swift/ScreengrabfileProtocol.swift +39 -2
- data/fastlane/swift/Snapshotfile.swift +1 -1
- data/fastlane/swift/SnapshotfileProtocol.swift +69 -1
- data/match/lib/match/storage/google_cloud_storage.rb +3 -0
- metadata +20 -21
@@ -1,22 +1,60 @@
|
|
1
1
|
protocol ScreengrabfileProtocol: class {
|
2
|
+
|
3
|
+
/// Path to the root of your Android SDK installation, e.g. ~/tools/android-sdk-macosx
|
2
4
|
var androidHome: String? { get }
|
5
|
+
|
6
|
+
/// The Android build tools version to use, e.g. '23.0.2'
|
3
7
|
var buildToolsVersion: String? { get }
|
8
|
+
|
9
|
+
/// A list of locales which should be used
|
4
10
|
var locales: [String] { get }
|
11
|
+
|
12
|
+
/// Enabling this option will automatically clear previously generated screenshots before running screengrab
|
5
13
|
var clearPreviousScreenshots: Bool { get }
|
14
|
+
|
15
|
+
/// The directory where to store the screenshots
|
6
16
|
var outputDirectory: String { get }
|
17
|
+
|
18
|
+
/// Don't open the summary after running _screengrab_
|
7
19
|
var skipOpenSummary: Bool { get }
|
20
|
+
|
21
|
+
/// The package name of the app under test (e.g. com.yourcompany.yourapp)
|
8
22
|
var appPackageName: String { get }
|
23
|
+
|
24
|
+
/// The package name of the tests bundle (e.g. com.yourcompany.yourapp.test)
|
9
25
|
var testsPackageName: String? { get }
|
26
|
+
|
27
|
+
/// Only run tests in these Java packages
|
10
28
|
var useTestsInPackages: [String]? { get }
|
29
|
+
|
30
|
+
/// Only run tests in these Java classes
|
11
31
|
var useTestsInClasses: [String]? { get }
|
32
|
+
|
33
|
+
/// Additional launch arguments
|
12
34
|
var launchArguments: [String]? { get }
|
35
|
+
|
36
|
+
/// The fully qualified class name of your test instrumentation runner
|
13
37
|
var testInstrumentationRunner: String { get }
|
38
|
+
|
39
|
+
/// Return the device to this locale after running tests
|
14
40
|
var endingLocale: String { get }
|
41
|
+
|
42
|
+
/// The path to the APK for the app under test
|
15
43
|
var appApkPath: String? { get }
|
44
|
+
|
45
|
+
/// The path to the APK for the the tests bundle
|
16
46
|
var testsApkPath: String? { get }
|
47
|
+
|
48
|
+
/// Use the device or emulator with the given serial number or qualifier
|
17
49
|
var specificDevice: String? { get }
|
50
|
+
|
51
|
+
/// Type of device used for screenshots. Matches Google Play Types (phone, sevenInch, tenInch, tv, wear)
|
18
52
|
var deviceType: String { get }
|
53
|
+
|
54
|
+
/// Whether or not to exit Screengrab on test failure. Exiting on failure will not copy sceenshots to local machine nor open sceenshots summary
|
19
55
|
var exitOnTestFailure: Bool { get }
|
56
|
+
|
57
|
+
/// Enabling this option will automatically uninstall the application before running it
|
20
58
|
var reinstallApp: Bool { get }
|
21
59
|
}
|
22
60
|
|
@@ -42,7 +80,6 @@ extension ScreengrabfileProtocol {
|
|
42
80
|
var reinstallApp: Bool { return false }
|
43
81
|
}
|
44
82
|
|
45
|
-
|
46
83
|
// Please don't remove the lines below
|
47
84
|
// They are used to detect outdated files
|
48
|
-
// FastlaneRunnerAPIVersion [0.9.
|
85
|
+
// FastlaneRunnerAPIVersion [0.9.11]
|
@@ -1,37 +1,105 @@
|
|
1
1
|
protocol SnapshotfileProtocol: class {
|
2
|
+
|
3
|
+
/// Path the workspace file
|
2
4
|
var workspace: String? { get }
|
5
|
+
|
6
|
+
/// Path the project file
|
3
7
|
var project: String? { get }
|
8
|
+
|
9
|
+
/// Pass additional arguments to xcodebuild for the test phase. Be sure to quote the setting names and values e.g. OTHER_LDFLAGS="-ObjC -lstdc++"
|
4
10
|
var xcargs: String? { get }
|
11
|
+
|
12
|
+
/// Use an extra XCCONFIG file to build your app
|
5
13
|
var xcconfig: String? { get }
|
14
|
+
|
15
|
+
/// A list of devices you want to take the screenshots from
|
6
16
|
var devices: [String]? { get }
|
17
|
+
|
18
|
+
/// A list of languages which should be used
|
7
19
|
var languages: [String] { get }
|
20
|
+
|
21
|
+
/// A list of launch arguments which should be used
|
8
22
|
var launchArguments: [String] { get }
|
23
|
+
|
24
|
+
/// The directory where to store the screenshots
|
9
25
|
var outputDirectory: String { get }
|
26
|
+
|
27
|
+
/// If the logs generated by the app (e.g. using NSLog, perror, etc.) in the Simulator should be written to the output_directory
|
10
28
|
var outputSimulatorLogs: Bool { get }
|
29
|
+
|
30
|
+
/// By default, the latest version should be used automatically. If you want to change it, do it here
|
11
31
|
var iosVersion: String? { get }
|
32
|
+
|
33
|
+
/// Don't open the HTML summary after running _snapshot_
|
12
34
|
var skipOpenSummary: Bool { get }
|
35
|
+
|
36
|
+
/// Do not check for most recent SnapshotHelper code
|
13
37
|
var skipHelperVersionCheck: Bool { get }
|
38
|
+
|
39
|
+
/// Enabling this option will automatically clear previously generated screenshots before running snapshot
|
14
40
|
var clearPreviousScreenshots: Bool { get }
|
41
|
+
|
42
|
+
/// Enabling this option will automatically uninstall the application before running it
|
15
43
|
var reinstallApp: Bool { get }
|
44
|
+
|
45
|
+
/// Enabling this option will automatically erase the simulator before running the application
|
16
46
|
var eraseSimulator: Bool { get }
|
47
|
+
|
48
|
+
/// Enabling this option will configure the Simulator's system language
|
17
49
|
var localizeSimulator: Bool { get }
|
50
|
+
|
51
|
+
/// Enabling this option will configure the Simulator to be in dark mode (false for light, true for dark)
|
18
52
|
var darkMode: Bool? { get }
|
53
|
+
|
54
|
+
/// The bundle identifier of the app to uninstall (only needed when enabling reinstall_app)
|
19
55
|
var appIdentifier: String? { get }
|
56
|
+
|
57
|
+
/// A list of photos that should be added to the simulator before running the application
|
20
58
|
var addPhotos: [String]? { get }
|
59
|
+
|
60
|
+
/// A list of videos that should be added to the simulator before running the application
|
21
61
|
var addVideos: [String]? { get }
|
62
|
+
|
63
|
+
/// The directory where to store the build log
|
22
64
|
var buildlogPath: String { get }
|
65
|
+
|
66
|
+
/// Should the project be cleaned before building it?
|
23
67
|
var clean: Bool { get }
|
68
|
+
|
69
|
+
/// Test without building, requires a derived data path
|
24
70
|
var testWithoutBuilding: Bool? { get }
|
71
|
+
|
72
|
+
/// The configuration to use when building the app. Defaults to 'Release'
|
25
73
|
var configuration: String? { get }
|
74
|
+
|
75
|
+
/// Additional xcpretty arguments
|
26
76
|
var xcprettyArgs: String? { get }
|
77
|
+
|
78
|
+
/// The SDK that should be used for building the application
|
27
79
|
var sdk: String? { get }
|
80
|
+
|
81
|
+
/// The scheme you want to use, this must be the scheme for the UI Tests
|
28
82
|
var scheme: String? { get }
|
83
|
+
|
84
|
+
/// The number of times a test can fail before snapshot should stop retrying
|
29
85
|
var numberOfRetries: Int { get }
|
86
|
+
|
87
|
+
/// Should snapshot stop immediately after the tests completely failed on one device?
|
30
88
|
var stopAfterFirstError: Bool { get }
|
89
|
+
|
90
|
+
/// The directory where build products and other derived data will go
|
31
91
|
var derivedDataPath: String? { get }
|
92
|
+
|
93
|
+
/// Should an Xcode result bundle be generated in the output directory
|
32
94
|
var resultBundle: Bool { get }
|
95
|
+
|
96
|
+
/// The name of the target you want to test (if you desire to override the Target Application from Xcode)
|
33
97
|
var testTargetName: String? { get }
|
98
|
+
|
99
|
+
/// Separate the log files per device and per language
|
34
100
|
var namespaceLogFiles: String? { get }
|
101
|
+
|
102
|
+
/// Take snapshots on multiple simulators concurrently. Note: This option is only applicable when running against Xcode 9
|
35
103
|
var concurrentSimulators: Bool { get }
|
36
104
|
}
|
37
105
|
|
@@ -74,4 +142,4 @@ extension SnapshotfileProtocol {
|
|
74
142
|
|
75
143
|
// Please don't remove the lines below
|
76
144
|
// They are used to detect outdated files
|
77
|
-
// FastlaneRunnerAPIVersion [0.9.
|
145
|
+
// FastlaneRunnerAPIVersion [0.9.6]
|
@@ -293,6 +293,9 @@ module Match
|
|
293
293
|
end
|
294
294
|
|
295
295
|
def ensure_bucket_is_selected
|
296
|
+
# Skip the instructions if the user provided a bucket name
|
297
|
+
return unless self.bucket_name.to_s.length == 0
|
298
|
+
|
296
299
|
created_bucket = UI.confirm("Did you already create a Google Cloud Storage bucket?")
|
297
300
|
while self.bucket_name.to_s.length == 0
|
298
301
|
unless created_bucket
|
metadata
CHANGED
@@ -1,33 +1,33 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.133.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- Jérôme Lacoste
|
8
|
-
- Luka Mirosevic
|
9
|
-
- Josh Holtz
|
10
|
-
- Maksym Grebenets
|
11
7
|
- Danielle Tomlinson
|
12
|
-
- Andrew McBurney
|
13
|
-
- Matthew Ellis
|
14
|
-
- Iulian Onofrei
|
15
|
-
- Olivier Halligon
|
16
|
-
- Aaron Brager
|
17
8
|
- Fumiya Nakamura
|
18
|
-
-
|
19
|
-
-
|
20
|
-
-
|
9
|
+
- Felix Krause
|
10
|
+
- Maksym Grebenets
|
11
|
+
- Helmut Januschka
|
21
12
|
- Jorge Revuelta H
|
13
|
+
- Stefan Natchev
|
14
|
+
- Andrew McBurney
|
15
|
+
- Kohki Miki
|
16
|
+
- Matthew Ellis
|
17
|
+
- Luka Mirosevic
|
22
18
|
- Jimmy Dee
|
23
|
-
-
|
24
|
-
-
|
19
|
+
- Manu Wallner
|
20
|
+
- Olivier Halligon
|
25
21
|
- Joshua Liebowitz
|
26
|
-
-
|
22
|
+
- Jan Piotrowski
|
23
|
+
- Josh Holtz
|
24
|
+
- Iulian Onofrei
|
25
|
+
- Jérôme Lacoste
|
26
|
+
- Aaron Brager
|
27
27
|
autorequire:
|
28
28
|
bindir: bin
|
29
29
|
cert_chain: []
|
30
|
-
date: 2019-10-
|
30
|
+
date: 2019-10-02 00:00:00.000000000 Z
|
31
31
|
dependencies:
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: slack-notifier
|
@@ -495,7 +495,7 @@ dependencies:
|
|
495
495
|
requirements:
|
496
496
|
- - ">="
|
497
497
|
- !ruby/object:Gem::Version
|
498
|
-
version: 1.
|
498
|
+
version: 1.3.0
|
499
499
|
- - "<"
|
500
500
|
- !ruby/object:Gem::Version
|
501
501
|
version: 2.0.0
|
@@ -505,7 +505,7 @@ dependencies:
|
|
505
505
|
requirements:
|
506
506
|
- - ">="
|
507
507
|
- !ruby/object:Gem::Version
|
508
|
-
version: 1.
|
508
|
+
version: 1.3.0
|
509
509
|
- - "<"
|
510
510
|
- !ruby/object:Gem::Version
|
511
511
|
version: 2.0.0
|
@@ -1784,8 +1784,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1784
1784
|
- !ruby/object:Gem::Version
|
1785
1785
|
version: '0'
|
1786
1786
|
requirements: []
|
1787
|
-
|
1788
|
-
rubygems_version: 2.5.2.3
|
1787
|
+
rubygems_version: 3.0.3
|
1789
1788
|
signing_key:
|
1790
1789
|
specification_version: 4
|
1791
1790
|
summary: The easiest way to automate beta deployments and releases for your iOS and
|