fastlane 2.132.0.beta.20190930200026 → 2.132.0

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: c14e4ec05ffa2e8bb2bfed039373bf6e6a379c6a
4
- data.tar.gz: e4e202342dd405c57ceaa1f2417478e83d270b5a
3
+ metadata.gz: 695d000a1213e2308cfe825c9bcc8208af5e9733
4
+ data.tar.gz: d69ecd0ca465f574ca3d0a5fd059fa8cf8b5140b
5
5
  SHA512:
6
- metadata.gz: 2a092f7038dcf6ada9776771f2d61e81307e806969a00c3dc1ca96108cf9d20103e5f318f908c61ec64feb866ed1870801a111c60dfbf664a618cff3aab48186
7
- data.tar.gz: caa998a9b5b5fddad183c38eb848ad0bfab157fe2be1fa7b866797effdea8ed21d3af7da23c943e94ed4ba340b24c905d313a7e152195ee683e3285ab29b4da4
6
+ metadata.gz: a56c8c367b041464f2d6c14d946f1da6778d26aee8986060e3b2aefaa8c46deb9b97ad152c63eb7265c4c996374c2521caab7f9b32571a2f2f5b58a48f7251ea
7
+ data.tar.gz: 81236a7e159bae18edf8d624c4c7758263d6c09c613fdd3f7bc2e30d3c5ec5e707a496341caf2731eebd77fec4287971085886f72081eeb954b3010288fb33b0
data/README.md CHANGED
@@ -34,55 +34,43 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
34
34
  <!-- This table is regenerated and resorted on each release -->
35
35
  <table id='team'>
36
36
  <tr>
37
- <td id='jérôme-lacoste'>
38
- <a href='https://github.com/lacostej'>
39
- <img src='https://github.com/lacostej.png?size=140'>
37
+ <td id='helmut-januschka'>
38
+ <a href='https://github.com/hjanuschka'>
39
+ <img src='https://github.com/hjanuschka.png?size=140'>
40
40
  </a>
41
- <h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
41
+ <h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
42
42
  </td>
43
- <td id='jorge-revuelta-h'>
44
- <a href='https://github.com/minuscorp'>
45
- <img src='https://github.com/minuscorp.png?size=140'>
43
+ <td id='manu-wallner'>
44
+ <a href='https://github.com/milch'>
45
+ <img src='https://github.com/milch.png?size=140'>
46
46
  </a>
47
- <h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
47
+ <h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
48
48
  </td>
49
- <td id='jimmy-dee'>
50
- <a href='https://github.com/jdee'>
51
- <img src='https://github.com/jdee.png?size=140'>
49
+ <td id='aaron-brager'>
50
+ <a href='https://github.com/getaaron'>
51
+ <img src='https://github.com/getaaron.png?size=140'>
52
52
  </a>
53
- <h4 align='center'>Jimmy Dee</h4>
53
+ <h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
54
54
  </td>
55
- <td id='kohki-miki'>
56
- <a href='https://github.com/giginet'>
57
- <img src='https://github.com/giginet.png?size=140'>
55
+ <td id='matthew-ellis'>
56
+ <a href='https://github.com/matthewellis'>
57
+ <img src='https://github.com/matthewellis.png?size=140'>
58
58
  </a>
59
- <h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
59
+ <h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
60
60
  </td>
61
- <td id='iulian-onofrei'>
62
- <a href='https://github.com/revolter'>
63
- <img src='https://github.com/revolter.png?size=140'>
61
+ <td id='olivier-halligon'>
62
+ <a href='https://github.com/AliSoftware'>
63
+ <img src='https://github.com/AliSoftware.png?size=140'>
64
64
  </a>
65
- <h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
65
+ <h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
66
66
  </td>
67
67
  </tr>
68
68
  <tr>
69
- <td id='stefan-natchev'>
70
- <a href='https://github.com/snatchev'>
71
- <img src='https://github.com/snatchev.png?size=140'>
72
- </a>
73
- <h4 align='center'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
74
- </td>
75
- <td id='helmut-januschka'>
76
- <a href='https://github.com/hjanuschka'>
77
- <img src='https://github.com/hjanuschka.png?size=140'>
78
- </a>
79
- <h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
80
- </td>
81
- <td id='andrew-mcburney'>
82
- <a href='https://github.com/armcburney'>
83
- <img src='https://github.com/armcburney.png?size=140'>
69
+ <td id='kohki-miki'>
70
+ <a href='https://github.com/giginet'>
71
+ <img src='https://github.com/giginet.png?size=140'>
84
72
  </a>
85
- <h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
73
+ <h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
86
74
  </td>
87
75
  <td id='luka-mirosevic'>
88
76
  <a href='https://github.com/lmirosevic'>
@@ -90,19 +78,17 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
90
78
  </a>
91
79
  <h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
92
80
  </td>
93
- <td id='manu-wallner'>
94
- <a href='https://github.com/milch'>
95
- <img src='https://github.com/milch.png?size=140'>
81
+ <td id='josh-holtz'>
82
+ <a href='https://github.com/joshdholtz'>
83
+ <img src='https://github.com/joshdholtz.png?size=140'>
96
84
  </a>
97
- <h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
85
+ <h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
98
86
  </td>
99
- </tr>
100
- <tr>
101
- <td id='matthew-ellis'>
102
- <a href='https://github.com/matthewellis'>
103
- <img src='https://github.com/matthewellis.png?size=140'>
87
+ <td id='joshua-liebowitz'>
88
+ <a href='https://github.com/taquitos'>
89
+ <img src='https://github.com/taquitos.png?size=140'>
104
90
  </a>
105
- <h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
91
+ <h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
106
92
  </td>
107
93
  <td id='jan-piotrowski'>
108
94
  <a href='https://github.com/janpio'>
@@ -110,55 +96,69 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
110
96
  </a>
111
97
  <h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
112
98
  </td>
113
- <td id='maksym-grebenets'>
114
- <a href='https://github.com/mgrebenets'>
115
- <img src='https://github.com/mgrebenets.png?size=140'>
99
+ </tr>
100
+ <tr>
101
+ <td id='fumiya-nakamura'>
102
+ <a href='https://github.com/nafu'>
103
+ <img src='https://github.com/nafu.png?size=140'>
116
104
  </a>
117
- <h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
105
+ <h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
118
106
  </td>
119
- <td id='joshua-liebowitz'>
120
- <a href='https://github.com/taquitos'>
121
- <img src='https://github.com/taquitos.png?size=140'>
107
+ <td id='jorge-revuelta-h'>
108
+ <a href='https://github.com/minuscorp'>
109
+ <img src='https://github.com/minuscorp.png?size=140'>
122
110
  </a>
123
- <h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
111
+ <h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
124
112
  </td>
125
- <td id='olivier-halligon'>
126
- <a href='https://github.com/AliSoftware'>
127
- <img src='https://github.com/AliSoftware.png?size=140'>
113
+ <td id='jimmy-dee'>
114
+ <a href='https://github.com/jdee'>
115
+ <img src='https://github.com/jdee.png?size=140'>
128
116
  </a>
129
- <h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
117
+ <h4 align='center'>Jimmy Dee</h4>
130
118
  </td>
131
- </tr>
132
- <tr>
133
- <td id='aaron-brager'>
134
- <a href='https://github.com/getaaron'>
135
- <img src='https://github.com/getaaron.png?size=140'>
119
+ <td id='stefan-natchev'>
120
+ <a href='https://github.com/snatchev'>
121
+ <img src='https://github.com/snatchev.png?size=140'>
136
122
  </a>
137
- <h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
123
+ <h4 align='center'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
138
124
  </td>
125
+ <td id='danielle-tomlinson'>
126
+ <a href='https://github.com/endocrimes'>
127
+ <img src='https://github.com/endocrimes.png?size=140'>
128
+ </a>
129
+ <h4 align='center'><a href='https://twitter.com/endocrimes'>Danielle Tomlinson</a></h4>
130
+ </td>
131
+ </tr>
132
+ <tr>
139
133
  <td id='felix-krause'>
140
134
  <a href='https://github.com/KrauseFx'>
141
135
  <img src='https://github.com/KrauseFx.png?size=140'>
142
136
  </a>
143
137
  <h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
144
138
  </td>
145
- <td id='danielle-tomlinson'>
146
- <a href='https://github.com/endocrimes'>
147
- <img src='https://github.com/endocrimes.png?size=140'>
139
+ <td id='iulian-onofrei'>
140
+ <a href='https://github.com/revolter'>
141
+ <img src='https://github.com/revolter.png?size=140'>
148
142
  </a>
149
- <h4 align='center'><a href='https://twitter.com/endocrimes'>Danielle Tomlinson</a></h4>
143
+ <h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
150
144
  </td>
151
- <td id='fumiya-nakamura'>
152
- <a href='https://github.com/nafu'>
153
- <img src='https://github.com/nafu.png?size=140'>
145
+ <td id='jérôme-lacoste'>
146
+ <a href='https://github.com/lacostej'>
147
+ <img src='https://github.com/lacostej.png?size=140'>
154
148
  </a>
155
- <h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
149
+ <h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
156
150
  </td>
157
- <td id='josh-holtz'>
158
- <a href='https://github.com/joshdholtz'>
159
- <img src='https://github.com/joshdholtz.png?size=140'>
151
+ <td id='maksym-grebenets'>
152
+ <a href='https://github.com/mgrebenets'>
153
+ <img src='https://github.com/mgrebenets.png?size=140'>
160
154
  </a>
161
- <h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
155
+ <h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
156
+ </td>
157
+ <td id='andrew-mcburney'>
158
+ <a href='https://github.com/armcburney'>
159
+ <img src='https://github.com/armcburney.png?size=140'>
160
+ </a>
161
+ <h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
162
162
  </td>
163
163
  </tr>
164
164
  </table>
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.132.0.beta.20190930200026'.freeze
2
+ VERSION = '2.132.0'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  MINIMUM_XCODE_RELEASE = "7.0".freeze
5
5
  RUBOCOP_REQUIREMENT = '0.49.1'.freeze
@@ -18,4 +18,4 @@ class Deliverfile: DeliverfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.131.0
21
+ // Generated with fastlane 2.132.0
@@ -735,6 +735,7 @@ func captureIosScreenshots(workspace: String? = nil,
735
735
  reinstallApp: Bool = false,
736
736
  eraseSimulator: Bool = false,
737
737
  localizeSimulator: Bool = false,
738
+ darkMode: Bool? = nil,
738
739
  appIdentifier: String? = nil,
739
740
  addPhotos: [String]? = nil,
740
741
  addVideos: [String]? = nil,
@@ -768,6 +769,7 @@ func captureIosScreenshots(workspace: String? = nil,
768
769
  RubyCommand.Argument(name: "reinstall_app", value: reinstallApp),
769
770
  RubyCommand.Argument(name: "erase_simulator", value: eraseSimulator),
770
771
  RubyCommand.Argument(name: "localize_simulator", value: localizeSimulator),
772
+ RubyCommand.Argument(name: "dark_mode", value: darkMode),
771
773
  RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
772
774
  RubyCommand.Argument(name: "add_photos", value: addPhotos),
773
775
  RubyCommand.Argument(name: "add_videos", value: addVideos),
@@ -803,6 +805,7 @@ func captureScreenshots(workspace: String? = nil,
803
805
  reinstallApp: Bool = false,
804
806
  eraseSimulator: Bool = false,
805
807
  localizeSimulator: Bool = false,
808
+ darkMode: Bool? = nil,
806
809
  appIdentifier: String? = nil,
807
810
  addPhotos: [String]? = nil,
808
811
  addVideos: [String]? = nil,
@@ -836,6 +839,7 @@ func captureScreenshots(workspace: String? = nil,
836
839
  RubyCommand.Argument(name: "reinstall_app", value: reinstallApp),
837
840
  RubyCommand.Argument(name: "erase_simulator", value: eraseSimulator),
838
841
  RubyCommand.Argument(name: "localize_simulator", value: localizeSimulator),
842
+ RubyCommand.Argument(name: "dark_mode", value: darkMode),
839
843
  RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
840
844
  RubyCommand.Argument(name: "add_photos", value: addPhotos),
841
845
  RubyCommand.Argument(name: "add_videos", value: addVideos),
@@ -897,6 +901,7 @@ func carthage(command: String = "bootstrap",
897
901
  }
898
902
  func cert(development: Bool = false,
899
903
  force: Bool = false,
904
+ generateAppleCerts: Bool = true,
900
905
  username: String,
901
906
  teamId: String? = nil,
902
907
  teamName: String? = nil,
@@ -907,6 +912,7 @@ func cert(development: Bool = false,
907
912
  platform: Any = "ios") {
908
913
  let command = RubyCommand(commandID: "", methodName: "cert", className: nil, args: [RubyCommand.Argument(name: "development", value: development),
909
914
  RubyCommand.Argument(name: "force", value: force),
915
+ RubyCommand.Argument(name: "generate_apple_certs", value: generateAppleCerts),
910
916
  RubyCommand.Argument(name: "username", value: username),
911
917
  RubyCommand.Argument(name: "team_id", value: teamId),
912
918
  RubyCommand.Argument(name: "team_name", value: teamName),
@@ -1447,6 +1453,10 @@ func ensureBundleExec() {
1447
1453
  let command = RubyCommand(commandID: "", methodName: "ensure_bundle_exec", className: nil, args: [])
1448
1454
  _ = runner.executeCommand(command)
1449
1455
  }
1456
+ func ensureEnvVars(envVars: [String]) {
1457
+ let command = RubyCommand(commandID: "", methodName: "ensure_env_vars", className: nil, args: [RubyCommand.Argument(name: "env_vars", value: envVars)])
1458
+ _ = runner.executeCommand(command)
1459
+ }
1450
1460
  func ensureGitBranch(branch: String = "master") {
1451
1461
  let command = RubyCommand(commandID: "", methodName: "ensure_git_branch", className: nil, args: [RubyCommand.Argument(name: "branch", value: branch)])
1452
1462
  _ = runner.executeCommand(command)
@@ -1571,6 +1581,7 @@ func getBuildNumberRepository(useHgRevisionNumber: Bool = false) {
1571
1581
  }
1572
1582
  func getCertificates(development: Bool = false,
1573
1583
  force: Bool = false,
1584
+ generateAppleCerts: Bool = true,
1574
1585
  username: String,
1575
1586
  teamId: String? = nil,
1576
1587
  teamName: String? = nil,
@@ -1581,6 +1592,7 @@ func getCertificates(development: Bool = false,
1581
1592
  platform: Any = "ios") {
1582
1593
  let command = RubyCommand(commandID: "", methodName: "get_certificates", className: nil, args: [RubyCommand.Argument(name: "development", value: development),
1583
1594
  RubyCommand.Argument(name: "force", value: force),
1595
+ RubyCommand.Argument(name: "generate_apple_certs", value: generateAppleCerts),
1584
1596
  RubyCommand.Argument(name: "username", value: username),
1585
1597
  RubyCommand.Argument(name: "team_id", value: teamId),
1586
1598
  RubyCommand.Argument(name: "team_name", value: teamName),
@@ -2195,6 +2207,7 @@ func makeChangelogFromJenkins(fallbackChangelog: String = "",
2195
2207
  }
2196
2208
  func match(type: Any = matchfile.type,
2197
2209
  readonly: Bool = matchfile.readonly,
2210
+ generateAppleCerts: Bool = matchfile.generateAppleCerts,
2198
2211
  skipProvisioningProfiles: Bool = matchfile.skipProvisioningProfiles,
2199
2212
  appIdentifier: [String] = matchfile.appIdentifier,
2200
2213
  username: Any = matchfile.username,
@@ -2207,6 +2220,7 @@ func match(type: Any = matchfile.type,
2207
2220
  gitUserEmail: Any? = matchfile.gitUserEmail,
2208
2221
  shallowClone: Bool = matchfile.shallowClone,
2209
2222
  cloneBranchDirectly: Bool = matchfile.cloneBranchDirectly,
2223
+ gitBasicAuthorization: Any? = matchfile.gitBasicAuthorization,
2210
2224
  googleCloudBucketName: Any? = matchfile.googleCloudBucketName,
2211
2225
  googleCloudKeysFile: Any? = matchfile.googleCloudKeysFile,
2212
2226
  googleCloudProjectId: Any? = matchfile.googleCloudProjectId,
@@ -2222,6 +2236,7 @@ func match(type: Any = matchfile.type,
2222
2236
  verbose: Bool = matchfile.verbose) {
2223
2237
  let command = RubyCommand(commandID: "", methodName: "match", className: nil, args: [RubyCommand.Argument(name: "type", value: type),
2224
2238
  RubyCommand.Argument(name: "readonly", value: readonly),
2239
+ RubyCommand.Argument(name: "generate_apple_certs", value: generateAppleCerts),
2225
2240
  RubyCommand.Argument(name: "skip_provisioning_profiles", value: skipProvisioningProfiles),
2226
2241
  RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
2227
2242
  RubyCommand.Argument(name: "username", value: username),
@@ -2234,6 +2249,7 @@ func match(type: Any = matchfile.type,
2234
2249
  RubyCommand.Argument(name: "git_user_email", value: gitUserEmail),
2235
2250
  RubyCommand.Argument(name: "shallow_clone", value: shallowClone),
2236
2251
  RubyCommand.Argument(name: "clone_branch_directly", value: cloneBranchDirectly),
2252
+ RubyCommand.Argument(name: "git_basic_authorization", value: gitBasicAuthorization),
2237
2253
  RubyCommand.Argument(name: "google_cloud_bucket_name", value: googleCloudBucketName),
2238
2254
  RubyCommand.Argument(name: "google_cloud_keys_file", value: googleCloudKeysFile),
2239
2255
  RubyCommand.Argument(name: "google_cloud_project_id", value: googleCloudProjectId),
@@ -2369,14 +2385,16 @@ func oclint(oclintPath: String = "oclint",
2369
2385
  RubyCommand.Argument(name: "extra_arg", value: extraArg)])
2370
2386
  _ = runner.executeCommand(command)
2371
2387
  }
2372
- func onesignal(authToken: String,
2373
- appName: String,
2388
+ func onesignal(appId: String? = nil,
2389
+ authToken: String,
2390
+ appName: String? = nil,
2374
2391
  androidToken: String? = nil,
2375
2392
  androidGcmSenderId: String? = nil,
2376
2393
  apnsP12: String? = nil,
2377
2394
  apnsP12Password: String? = nil,
2378
2395
  apnsEnv: String = "production") {
2379
- let command = RubyCommand(commandID: "", methodName: "onesignal", className: nil, args: [RubyCommand.Argument(name: "auth_token", value: authToken),
2396
+ let command = RubyCommand(commandID: "", methodName: "onesignal", className: nil, args: [RubyCommand.Argument(name: "app_id", value: appId),
2397
+ RubyCommand.Argument(name: "auth_token", value: authToken),
2380
2398
  RubyCommand.Argument(name: "app_name", value: appName),
2381
2399
  RubyCommand.Argument(name: "android_token", value: androidToken),
2382
2400
  RubyCommand.Argument(name: "android_gcm_sender_id", value: androidGcmSenderId),
@@ -2542,7 +2560,8 @@ func podPush(useBundleExec: Bool = false,
2542
2560
  swiftVersion: String? = nil,
2543
2561
  skipImportValidation: Bool? = nil,
2544
2562
  skipTests: Bool? = nil,
2545
- verbose: Bool = false) {
2563
+ verbose: Bool = false,
2564
+ useModularHeaders: Bool? = nil) {
2546
2565
  let command = RubyCommand(commandID: "", methodName: "pod_push", className: nil, args: [RubyCommand.Argument(name: "use_bundle_exec", value: useBundleExec),
2547
2566
  RubyCommand.Argument(name: "path", value: path),
2548
2567
  RubyCommand.Argument(name: "repo", value: repo),
@@ -2552,7 +2571,8 @@ func podPush(useBundleExec: Bool = false,
2552
2571
  RubyCommand.Argument(name: "swift_version", value: swiftVersion),
2553
2572
  RubyCommand.Argument(name: "skip_import_validation", value: skipImportValidation),
2554
2573
  RubyCommand.Argument(name: "skip_tests", value: skipTests),
2555
- RubyCommand.Argument(name: "verbose", value: verbose)])
2574
+ RubyCommand.Argument(name: "verbose", value: verbose),
2575
+ RubyCommand.Argument(name: "use_modular_headers", value: useModularHeaders)])
2556
2576
  _ = runner.executeCommand(command)
2557
2577
  }
2558
2578
  func podioItem(clientId: String,
@@ -3369,6 +3389,7 @@ func snapshot(workspace: Any? = snapshotfile.workspace,
3369
3389
  reinstallApp: Bool = snapshotfile.reinstallApp,
3370
3390
  eraseSimulator: Bool = snapshotfile.eraseSimulator,
3371
3391
  localizeSimulator: Bool = snapshotfile.localizeSimulator,
3392
+ darkMode: Bool? = snapshotfile.darkMode,
3372
3393
  appIdentifier: Any? = snapshotfile.appIdentifier,
3373
3394
  addPhotos: [String]? = snapshotfile.addPhotos,
3374
3395
  addVideos: [String]? = snapshotfile.addVideos,
@@ -3402,6 +3423,7 @@ func snapshot(workspace: Any? = snapshotfile.workspace,
3402
3423
  RubyCommand.Argument(name: "reinstall_app", value: reinstallApp),
3403
3424
  RubyCommand.Argument(name: "erase_simulator", value: eraseSimulator),
3404
3425
  RubyCommand.Argument(name: "localize_simulator", value: localizeSimulator),
3426
+ RubyCommand.Argument(name: "dark_mode", value: darkMode),
3405
3427
  RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
3406
3428
  RubyCommand.Argument(name: "add_photos", value: addPhotos),
3407
3429
  RubyCommand.Argument(name: "add_videos", value: addVideos),
@@ -3603,6 +3625,7 @@ func swiftlint(mode: Any = "lint",
3603
3625
  }
3604
3626
  func syncCodeSigning(type: String = "development",
3605
3627
  readonly: Bool = false,
3628
+ generateAppleCerts: Bool = true,
3606
3629
  skipProvisioningProfiles: Bool = false,
3607
3630
  appIdentifier: [String],
3608
3631
  username: String,
@@ -3615,6 +3638,7 @@ func syncCodeSigning(type: String = "development",
3615
3638
  gitUserEmail: String? = nil,
3616
3639
  shallowClone: Bool = false,
3617
3640
  cloneBranchDirectly: Bool = false,
3641
+ gitBasicAuthorization: String? = nil,
3618
3642
  googleCloudBucketName: String? = nil,
3619
3643
  googleCloudKeysFile: String? = nil,
3620
3644
  googleCloudProjectId: String? = nil,
@@ -3630,6 +3654,7 @@ func syncCodeSigning(type: String = "development",
3630
3654
  verbose: Bool = false) {
3631
3655
  let command = RubyCommand(commandID: "", methodName: "sync_code_signing", className: nil, args: [RubyCommand.Argument(name: "type", value: type),
3632
3656
  RubyCommand.Argument(name: "readonly", value: readonly),
3657
+ RubyCommand.Argument(name: "generate_apple_certs", value: generateAppleCerts),
3633
3658
  RubyCommand.Argument(name: "skip_provisioning_profiles", value: skipProvisioningProfiles),
3634
3659
  RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
3635
3660
  RubyCommand.Argument(name: "username", value: username),
@@ -3642,6 +3667,7 @@ func syncCodeSigning(type: String = "development",
3642
3667
  RubyCommand.Argument(name: "git_user_email", value: gitUserEmail),
3643
3668
  RubyCommand.Argument(name: "shallow_clone", value: shallowClone),
3644
3669
  RubyCommand.Argument(name: "clone_branch_directly", value: cloneBranchDirectly),
3670
+ RubyCommand.Argument(name: "git_basic_authorization", value: gitBasicAuthorization),
3645
3671
  RubyCommand.Argument(name: "google_cloud_bucket_name", value: googleCloudBucketName),
3646
3672
  RubyCommand.Argument(name: "google_cloud_keys_file", value: googleCloudKeysFile),
3647
3673
  RubyCommand.Argument(name: "google_cloud_project_id", value: googleCloudProjectId),
@@ -4305,7 +4331,7 @@ func xcov(workspace: String? = nil,
4305
4331
  coverallsServiceJobId: String? = nil,
4306
4332
  coverallsRepoToken: String? = nil,
4307
4333
  xcconfig: String? = nil,
4308
- ideFoundationPath: String = "/Applications/Xcode-11_Beta_5.app/Contents/Developer/../Frameworks/IDEFoundation.framework/Versions/A/IDEFoundation",
4334
+ ideFoundationPath: String = "/Applications/Xcode-11.app/Contents/Developer/../Frameworks/IDEFoundation.framework/Versions/A/IDEFoundation",
4309
4335
  legacySupport: Bool = false) {
4310
4336
  let command = RubyCommand(commandID: "", methodName: "xcov", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
4311
4337
  RubyCommand.Argument(name: "project", value: project),
@@ -4416,4 +4442,4 @@ let snapshotfile: Snapshotfile = Snapshotfile()
4416
4442
 
4417
4443
  // Please don't remove the lines below
4418
4444
  // They are used to detect outdated files
4419
- // FastlaneRunnerAPIVersion [0.9.57]
4445
+ // FastlaneRunnerAPIVersion [0.9.58]
@@ -18,4 +18,4 @@ class Gymfile: GymfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.131.0
21
+ // Generated with fastlane 2.132.0
@@ -18,4 +18,4 @@ class Matchfile: MatchfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.131.0
21
+ // Generated with fastlane 2.132.0
@@ -1,6 +1,7 @@
1
1
  protocol MatchfileProtocol: class {
2
2
  var type: String { get }
3
3
  var readonly: Bool { get }
4
+ var generateAppleCerts: Bool { get }
4
5
  var skipProvisioningProfiles: Bool { get }
5
6
  var appIdentifier: [String] { get }
6
7
  var username: String { get }
@@ -13,6 +14,7 @@ protocol MatchfileProtocol: class {
13
14
  var gitUserEmail: String? { get }
14
15
  var shallowClone: Bool { get }
15
16
  var cloneBranchDirectly: Bool { get }
17
+ var gitBasicAuthorization: String? { get }
16
18
  var googleCloudBucketName: String? { get }
17
19
  var googleCloudKeysFile: String? { get }
18
20
  var googleCloudProjectId: String? { get }
@@ -31,6 +33,7 @@ protocol MatchfileProtocol: class {
31
33
  extension MatchfileProtocol {
32
34
  var type: String { return "development" }
33
35
  var readonly: Bool { return false }
36
+ var generateAppleCerts: Bool { return true }
34
37
  var skipProvisioningProfiles: Bool { return false }
35
38
  var appIdentifier: [String] { return [] }
36
39
  var username: String { return "" }
@@ -43,6 +46,7 @@ extension MatchfileProtocol {
43
46
  var gitUserEmail: String? { return nil }
44
47
  var shallowClone: Bool { return false }
45
48
  var cloneBranchDirectly: Bool { return false }
49
+ var gitBasicAuthorization: String? { return nil }
46
50
  var googleCloudBucketName: String? { return nil }
47
51
  var googleCloudKeysFile: String? { return nil }
48
52
  var googleCloudProjectId: String? { return nil }
@@ -60,4 +64,4 @@ extension MatchfileProtocol {
60
64
 
61
65
  // Please don't remove the lines below
62
66
  // They are used to detect outdated files
63
- // FastlaneRunnerAPIVersion [0.9.6]
67
+ // FastlaneRunnerAPIVersion [0.9.7]
@@ -18,4 +18,4 @@ class Precheckfile: PrecheckfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.131.0
21
+ // Generated with fastlane 2.132.0
@@ -18,4 +18,4 @@ class Scanfile: ScanfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.131.0
21
+ // Generated with fastlane 2.132.0
@@ -18,4 +18,4 @@ class Screengrabfile: ScreengrabfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.131.0
21
+ // Generated with fastlane 2.132.0
@@ -18,4 +18,4 @@ class Snapshotfile: SnapshotfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.131.0
21
+ // Generated with fastlane 2.132.0
@@ -15,6 +15,7 @@ protocol SnapshotfileProtocol: class {
15
15
  var reinstallApp: Bool { get }
16
16
  var eraseSimulator: Bool { get }
17
17
  var localizeSimulator: Bool { get }
18
+ var darkMode: Bool? { get }
18
19
  var appIdentifier: String? { get }
19
20
  var addPhotos: [String]? { get }
20
21
  var addVideos: [String]? { get }
@@ -51,6 +52,7 @@ extension SnapshotfileProtocol {
51
52
  var reinstallApp: Bool { return false }
52
53
  var eraseSimulator: Bool { return false }
53
54
  var localizeSimulator: Bool { return false }
55
+ var darkMode: Bool? { return nil }
54
56
  var appIdentifier: String? { return nil }
55
57
  var addPhotos: [String]? { return nil }
56
58
  var addVideos: [String]? { return nil }
@@ -72,4 +74,4 @@ extension SnapshotfileProtocol {
72
74
 
73
75
  // Please don't remove the lines below
74
76
  // They are used to detect outdated files
75
- // FastlaneRunnerAPIVersion [0.9.4]
77
+ // FastlaneRunnerAPIVersion [0.9.5]
@@ -116,6 +116,11 @@ module Snapshot
116
116
  description: "Enabling this option will configure the Simulator's system language",
117
117
  default_value: false,
118
118
  is_string: false),
119
+ FastlaneCore::ConfigItem.new(key: :dark_mode,
120
+ env_name: 'SNAPSHOT_DARK_MODE',
121
+ description: "Enabling this option will configure the Simulator to be in dark mode (false for light, true for dark)",
122
+ optional: true,
123
+ type: Boolean),
119
124
  FastlaneCore::ConfigItem.new(key: :app_identifier,
120
125
  env_name: 'SNAPSHOT_APP_IDENTIFIER',
121
126
  short_option: "-a",
@@ -8,6 +8,7 @@ module Snapshot
8
8
  attr_accessor :clean
9
9
  attr_accessor :erase_simulator
10
10
  attr_accessor :localize_simulator
11
+ attr_accessor :dark_mode
11
12
  attr_accessor :reinstall_app
12
13
  attr_accessor :app_identifier
13
14
 
@@ -32,6 +33,7 @@ module Snapshot
32
33
  @clean = snapshot_config[:clean]
33
34
  @erase_simulator = snapshot_config[:erase_simulator]
34
35
  @localize_simulator = snapshot_config[:localize_simulator]
36
+ @dark_mode = snapshot_config[:dark_mode]
35
37
  @reinstall_app = snapshot_config[:reinstall_app]
36
38
  @app_identifier = snapshot_config[:app_identifier]
37
39
  @number_of_retries = snapshot_config[:number_of_retries]
@@ -55,11 +55,14 @@ module Snapshot
55
55
  Fixes::HardwareKeyboardFix.patch
56
56
 
57
57
  device_types.each do |type|
58
- if launcher_config.erase_simulator || launcher_config.localize_simulator
58
+ if launcher_config.erase_simulator || launcher_config.localize_simulator || !launcher_config.dark_mode.nil?
59
59
  erase_simulator(type)
60
60
  if launcher_config.localize_simulator
61
61
  localize_simulator(type, language, locale)
62
62
  end
63
+ unless launcher_config.dark_mode.nil?
64
+ interface_style(type, launcher_config.dark_mode)
65
+ end
63
66
  elsif launcher_config.reinstall_app
64
67
  # no need to reinstall if device has been erased
65
68
  uninstall_app(type)
@@ -124,6 +127,18 @@ module Snapshot
124
127
  end
125
128
  end
126
129
 
130
+ def interface_style(device_type, dark_mode)
131
+ device_udid = TestCommandGenerator.device_udid(device_type)
132
+ if device_udid
133
+ plist = {
134
+ UserInterfaceStyleMode: (dark_mode ? 2 : 1)
135
+ }
136
+ UI.message("Setting interface style #{device_type} (UserInterfaceStyleMode=#{dark_mode})")
137
+ plist_path = "#{ENV['HOME']}/Library/Developer/CoreSimulator/Devices/#{device_udid}/data/Library/Preferences/com.apple.uikitservices.userInterfaceStyleMode.plist"
138
+ File.write(plist_path, Plist::Emit.dump(plist))
139
+ end
140
+ end
141
+
127
142
  def copy_simulator_logs(device_names, language, locale, launch_arguments)
128
143
  return unless launcher_config.output_simulator_logs
129
144
 
@@ -158,6 +158,10 @@ module Spaceship
158
158
  client.get_resolution_center(apple_id, platform)
159
159
  end
160
160
 
161
+ def reply_resolution_center(app_id, platform, thread_id, version_id, version_number, from, message_body)
162
+ client.post_resolution_center(app_id, platform, thread_id, version_id, version_number, from, message_body)
163
+ end
164
+
161
165
  def ratings(version_id: '', storefront: '')
162
166
  attrs = client.get_ratings(apple_id, platform, version_id, storefront)
163
167
  attrs[:application] = self
@@ -352,6 +352,31 @@ module Spaceship
352
352
  parse_response(r, 'data')
353
353
  end
354
354
 
355
+ def post_resolution_center(app_id, platform, thread_id, version_id, version_number, from, message_body)
356
+ r = request(:post) do |req|
357
+ req.url("ra/apps/#{app_id}/platforms/#{platform}/resolutionCenter")
358
+ req.body = {
359
+ appNotes: {
360
+ threads: [{
361
+ id: thread_id,
362
+ versionId: version_id,
363
+ version: version_number,
364
+ messages: [{
365
+ from: from,
366
+ date: DateTime.now.strftime('%Q'),
367
+ body: message_body,
368
+ tokens: []
369
+ }]
370
+ }]
371
+ }
372
+ }.to_json
373
+ req.headers['Content-Type'] = 'application/json'
374
+ end
375
+
376
+ data = parse_response(r, 'data')
377
+ handle_itc_response(data)
378
+ end
379
+
355
380
  def get_ratings(app_id, platform, version_id = '', storefront = '')
356
381
  # if storefront or version_id is empty api fails
357
382
  rating_url = "ra/apps/#{app_id}/platforms/#{platform}/reviews/summary"
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.132.0.beta.20190930200026
4
+ version: 2.132.0
5
5
  platform: ruby
6
6
  authors:
7
- - Andrew McBurney
8
- - Felix Krause
9
- - Kohki Miki
10
- - Jimmy Dee
11
- - Jorge Revuelta H
12
7
  - Jérôme Lacoste
13
- - Olivier Halligon
14
- - Stefan Natchev
15
- - Manu Wallner
16
- - Helmut Januschka
17
- - Danielle Tomlinson
18
- - Fumiya Nakamura
19
8
  - Luka Mirosevic
20
9
  - Josh Holtz
21
- - Joshua Liebowitz
22
- - Aaron Brager
23
- - Jan Piotrowski
24
10
  - Maksym Grebenets
11
+ - Danielle Tomlinson
12
+ - Andrew McBurney
25
13
  - Matthew Ellis
26
14
  - Iulian Onofrei
15
+ - Olivier Halligon
16
+ - Aaron Brager
17
+ - Fumiya Nakamura
18
+ - Manu Wallner
19
+ - Kohki Miki
20
+ - Stefan Natchev
21
+ - Jorge Revuelta H
22
+ - Jimmy Dee
23
+ - Jan Piotrowski
24
+ - Felix Krause
25
+ - Joshua Liebowitz
26
+ - Helmut Januschka
27
27
  autorequire:
28
28
  bindir: bin
29
29
  cert_chain: []
30
- date: 2019-09-30 00:00:00.000000000 Z
30
+ date: 2019-10-01 00:00:00.000000000 Z
31
31
  dependencies:
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: slack-notifier
@@ -986,6 +986,9 @@ files:
986
986
  - fastlane/lib/fastlane.rb
987
987
  - fastlane/lib/fastlane/action.rb
988
988
  - fastlane/lib/fastlane/action_collector.rb
989
+ - fastlane/lib/fastlane/actions/.hockey.rb.swp
990
+ - fastlane/lib/fastlane/actions/.slack.rb.swp
991
+ - fastlane/lib/fastlane/actions/.update_project_provisioning.rb.swp
989
992
  - fastlane/lib/fastlane/actions/README.md
990
993
  - fastlane/lib/fastlane/actions/actions_helper.rb
991
994
  - fastlane/lib/fastlane/actions/adb.rb
@@ -1313,6 +1316,7 @@ files:
1313
1316
  - fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.pbxproj
1314
1317
  - fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
1315
1318
  - fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
1319
+ - fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/xcuserdata/josh.xcuserdatad/UserInterfaceState.xcuserstate
1316
1320
  - fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/xcshareddata/xcschemes/FastlaneRunner.xcscheme
1317
1321
  - fastlane/swift/FastlaneSwiftRunner/README.txt
1318
1322
  - fastlane/swift/Gymfile.swift
@@ -1419,6 +1423,7 @@ files:
1419
1423
  - gym/lib/assets/GymfileTemplate.swift
1420
1424
  - gym/lib/assets/wrap_xcodebuild/xcbuild-safe.sh
1421
1425
  - gym/lib/gym.rb
1426
+ - gym/lib/gym/.runner.rb.swp
1422
1427
  - gym/lib/gym/code_signing_mapping.rb
1423
1428
  - gym/lib/gym/commands_generator.rb
1424
1429
  - gym/lib/gym/detect_values.rb
@@ -1467,6 +1472,7 @@ files:
1467
1472
  - pem/lib/pem/options.rb
1468
1473
  - pilot/README.md
1469
1474
  - pilot/lib/pilot.rb
1475
+ - pilot/lib/pilot/.manager.rb.swp
1470
1476
  - pilot/lib/pilot/build_manager.rb
1471
1477
  - pilot/lib/pilot/commands_generator.rb
1472
1478
  - pilot/lib/pilot/features.rb
@@ -1598,6 +1604,7 @@ files:
1598
1604
  - spaceship/lib/spaceship/client.rb
1599
1605
  - spaceship/lib/spaceship/commands_generator.rb
1600
1606
  - spaceship/lib/spaceship/connect_api.rb
1607
+ - spaceship/lib/spaceship/connect_api/.DS_Store
1601
1608
  - spaceship/lib/spaceship/connect_api/client.rb
1602
1609
  - spaceship/lib/spaceship/connect_api/model.rb
1603
1610
  - spaceship/lib/spaceship/connect_api/models/app.rb
@@ -1638,6 +1645,7 @@ files:
1638
1645
  - spaceship/lib/spaceship/launcher.rb
1639
1646
  - spaceship/lib/spaceship/module.rb
1640
1647
  - spaceship/lib/spaceship/playground.rb
1648
+ - spaceship/lib/spaceship/portal/.certificate.rb.swp
1641
1649
  - spaceship/lib/spaceship/portal/app.rb
1642
1650
  - spaceship/lib/spaceship/portal/app_group.rb
1643
1651
  - spaceship/lib/spaceship/portal/app_service.rb
@@ -1747,24 +1755,24 @@ metadata:
1747
1755
  post_install_message:
1748
1756
  rdoc_options: []
1749
1757
  require_paths:
1750
- - frameit/lib
1751
- - pilot/lib
1752
- - produce/lib
1753
- - sigh/lib
1754
- - screengrab/lib
1755
- - fastlane/lib
1758
+ - credentials_manager/lib
1756
1759
  - pem/lib
1757
- - gym/lib
1758
- - deliver/lib
1759
1760
  - snapshot/lib
1760
- - spaceship/lib
1761
- - cert/lib
1762
- - credentials_manager/lib
1763
- - supply/lib
1761
+ - frameit/lib
1762
+ - match/lib
1764
1763
  - fastlane_core/lib
1764
+ - deliver/lib
1765
1765
  - scan/lib
1766
- - match/lib
1766
+ - supply/lib
1767
+ - cert/lib
1768
+ - fastlane/lib
1769
+ - spaceship/lib
1770
+ - pilot/lib
1771
+ - gym/lib
1767
1772
  - precheck/lib
1773
+ - screengrab/lib
1774
+ - sigh/lib
1775
+ - produce/lib
1768
1776
  required_ruby_version: !ruby/object:Gem::Requirement
1769
1777
  requirements:
1770
1778
  - - ">="
@@ -1772,12 +1780,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
1772
1780
  version: 2.0.0
1773
1781
  required_rubygems_version: !ruby/object:Gem::Requirement
1774
1782
  requirements:
1775
- - - ">"
1783
+ - - ">="
1776
1784
  - !ruby/object:Gem::Version
1777
- version: 1.3.1
1785
+ version: '0'
1778
1786
  requirements: []
1779
1787
  rubyforge_project:
1780
- rubygems_version: 2.6.8
1788
+ rubygems_version: 2.5.2.3
1781
1789
  signing_key:
1782
1790
  specification_version: 4
1783
1791
  summary: The easiest way to automate beta deployments and releases for your iOS and