fastlane 2.70.0 → 2.70.1

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: 22d936f57d60e1adcf36cab3b94ca78e44e346bd
4
- data.tar.gz: abe24a5c0eaf5c2a45816b98c0862360f080357f
3
+ metadata.gz: 994d82ec3bb032862ba43e114e4a91a1d54b74f4
4
+ data.tar.gz: fd3b1c0a375136a680bc8d4f4efa48c04d9366f1
5
5
  SHA512:
6
- metadata.gz: 0f2592cf44cbccd46fa46bf8acd53ebf212b7d60d9ccafeaae1f54a8824468a233ad8d58fe38e3cddbe020c3a5ccf751caf2b628b459cc0ba993e25a313ee8ae
7
- data.tar.gz: eaf6db8a074aa8e2b202dc7d8fcd2812c65397e25ec014b8ecd4b121275f9000613c0fbfe9c92f71c9926f707bcd72f54083440627b0f0f690ec1b5f2f48f179
6
+ metadata.gz: f35c74e9fb0e7c53f9c5d3b4d75db102fa11546f013d8641c7ca93772fa7db95e0d2d76e559b6e1aaeb7d009a85bd6b0c44a7731be41d152efe9e72cd265cfee
7
+ data.tar.gz: d9ff540336c00b17d9ae8c9ba9e9513cad60165a3840c67f8b9ffcb9f29a9e69ea9c5df6993ed05c29955fc3533a89735aaced7e32ff75521c52debfa7bfa6c5
@@ -16,23 +16,11 @@ module Fastlane
16
16
  output << ""
17
17
  output << "## Choose your installation method:"
18
18
  output << ""
19
- output << "<table width=\"100%\" >"
20
- output << "<tr>"
21
- output << "<th width=\"33%\"><a href=\"http://brew.sh\">Homebrew</a></th>"
22
- output << "<th width=\"33%\">Installer Script</th>"
23
- output << "<th width=\"33%\">RubyGems</th>"
24
- output << "</tr>"
25
- output << "<tr>"
26
- output << "<td width=\"33%\" align=\"center\">macOS</td>"
27
- output << "<td width=\"33%\" align=\"center\">macOS</td>"
28
- output << "<td width=\"33%\" align=\"center\">macOS or Linux with Ruby 2.0.0 or above</td>"
29
- output << "</tr>"
30
- output << "<tr>"
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>"
33
- output << "<td width=\"33%\"><code>sudo gem install fastlane -NV</code></td>"
34
- output << "</tr>"
35
- output << "</table>"
19
+ output << "| Method | OS support | Description |"
20
+ output << "|----------------------------|-----------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------|"
21
+ output << "| [Homebrew](http://brew.sh) | macOS | `brew cask install fastlane` |"
22
+ output << "| Installer Script | macOS | [Download the zip file](https://download.fastlane.tools). Then double click on the `install` script (or run it in a terminal window). |"
23
+ output << "| RubyGems | macOS or Linux with Ruby 2.0.0 or above | `sudo gem install fastlane -NV` |"
36
24
  output << ""
37
25
  output << "# Available Actions"
38
26
 
@@ -46,7 +46,7 @@ module Fastlane
46
46
  if ENV['JAVA_HOME'].nil?
47
47
  command = ["java"]
48
48
  else
49
- command = ["#{ENV['JAVA_HOME']}/bin/java}"]
49
+ command = ["#{ENV['JAVA_HOME']}/bin/java"]
50
50
  end
51
51
  command << "-jar #{File.expand_path(params[:crashlytics_path])}"
52
52
  command << "-androidRes ."
@@ -26,6 +26,7 @@ module Fastlane
26
26
 
27
27
  @default_values_to_ignore = {
28
28
  "cert" => ["keychain_path"].to_set,
29
+ "get_certificates" => ["keychain_path"].to_set,
29
30
  "set_github_release" => ["api_token"].to_set,
30
31
  "github_api" => ["api_token"].to_set,
31
32
  "create_pull_request" => ["api_token", "head", "api_url"].to_set,
@@ -33,7 +34,8 @@ module Fastlane
33
34
  "verify_xcode" => ["xcode_path"].to_set,
34
35
  "produce" => ["sku"].to_set,
35
36
  "create_app_online" => ["sku"].to_set,
36
- "screengrab" => ["android_home"].to_set
37
+ "screengrab" => ["android_home"].to_set,
38
+ "capture_android_screenshots" => ["android_home"].to_set
37
39
  }
38
40
  end
39
41
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.70.0'.freeze
2
+ VERSION = '2.70.1'.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
@@ -11,4 +11,4 @@ class Deliverfile: DeliverfileProtocol {
11
11
 
12
12
 
13
13
 
14
- // Generated with fastlane 2.69.2
14
+ // Generated with fastlane 2.70.0
@@ -143,6 +143,7 @@ func appledoc(input: String,
143
143
  createDocset: Bool = false,
144
144
  installDocset: Bool = false,
145
145
  publishDocset: Bool = false,
146
+ noCreateDocset: Bool = false,
146
147
  htmlAnchors: String? = nil,
147
148
  cleanOutput: Bool = false,
148
149
  docsetBundleId: String? = nil,
@@ -187,6 +188,7 @@ func appledoc(input: String,
187
188
  RubyCommand.Argument(name: "create_docset", value: createDocset),
188
189
  RubyCommand.Argument(name: "install_docset", value: installDocset),
189
190
  RubyCommand.Argument(name: "publish_docset", value: publishDocset),
191
+ RubyCommand.Argument(name: "no_create_docset", value: noCreateDocset),
190
192
  RubyCommand.Argument(name: "html_anchors", value: htmlAnchors),
191
193
  RubyCommand.Argument(name: "clean_output", value: cleanOutput),
192
194
  RubyCommand.Argument(name: "docset_bundle_id", value: docsetBundleId),
@@ -639,7 +641,7 @@ func bundleInstall(binstubs: String? = nil,
639
641
  RubyCommand.Argument(name: "with", value: with)])
640
642
  _ = runner.executeCommand(command)
641
643
  }
642
- func captureAndroidScreenshots(androidHome: String = "/Users/liebowitz/Library/Android/sdk",
644
+ func captureAndroidScreenshots(androidHome: String?,
643
645
  buildToolsVersion: String? = nil,
644
646
  locales: [String] = ["en-US"],
645
647
  clearPreviousScreenshots: Bool = false,
@@ -1405,7 +1407,7 @@ func getCertificates(development: Bool = false,
1405
1407
  teamId: String? = nil,
1406
1408
  teamName: String? = nil,
1407
1409
  outputPath: String = ".",
1408
- keychainPath: String = "/Users/liebowitz/Library/Keychains/login.keychain-db",
1410
+ keychainPath: String,
1409
1411
  keychainPassword: String? = nil,
1410
1412
  platform: String = "ios") {
1411
1413
  let command = RubyCommand(commandID: "", methodName: "get_certificates", className: nil, args: [RubyCommand.Argument(name: "development", value: development),
@@ -2338,9 +2340,11 @@ func produce(username: String,
2338
2340
  return runner.executeCommand(command)
2339
2341
  }
2340
2342
  func pushGitTags(force: Bool = false,
2341
- remote: String? = nil) {
2343
+ remote: String = "origin",
2344
+ tag: String? = nil) {
2342
2345
  let command = RubyCommand(commandID: "", methodName: "push_git_tags", className: nil, args: [RubyCommand.Argument(name: "force", value: force),
2343
- RubyCommand.Argument(name: "remote", value: remote)])
2346
+ RubyCommand.Argument(name: "remote", value: remote),
2347
+ RubyCommand.Argument(name: "tag", value: tag)])
2344
2348
  _ = runner.executeCommand(command)
2345
2349
  }
2346
2350
  func pushToGitRemote(localBranch: String? = nil,
@@ -2895,6 +2899,7 @@ func slather(buildDirectory: String? = nil,
2895
2899
  simpleOutput: Bool? = nil,
2896
2900
  gutterJson: Bool? = nil,
2897
2901
  coberturaXml: Bool? = nil,
2902
+ llvmCov: String? = nil,
2898
2903
  html: Bool? = nil,
2899
2904
  show: Bool = false,
2900
2905
  sourceDirectory: String? = nil,
@@ -2922,6 +2927,7 @@ func slather(buildDirectory: String? = nil,
2922
2927
  RubyCommand.Argument(name: "simple_output", value: simpleOutput),
2923
2928
  RubyCommand.Argument(name: "gutter_json", value: gutterJson),
2924
2929
  RubyCommand.Argument(name: "cobertura_xml", value: coberturaXml),
2930
+ RubyCommand.Argument(name: "llvm_cov", value: llvmCov),
2925
2931
  RubyCommand.Argument(name: "html", value: html),
2926
2932
  RubyCommand.Argument(name: "show", value: show),
2927
2933
  RubyCommand.Argument(name: "source_directory", value: sourceDirectory),
@@ -11,4 +11,4 @@ class Gymfile: GymfileProtocol {
11
11
 
12
12
 
13
13
 
14
- // Generated with fastlane 2.69.2
14
+ // Generated with fastlane 2.70.0
@@ -11,4 +11,4 @@ class Matchfile: MatchfileProtocol {
11
11
 
12
12
 
13
13
 
14
- // Generated with fastlane 2.69.2
14
+ // Generated with fastlane 2.70.0
@@ -11,4 +11,4 @@ class Precheckfile: PrecheckfileProtocol {
11
11
 
12
12
 
13
13
 
14
- // Generated with fastlane 2.69.2
14
+ // Generated with fastlane 2.70.0
@@ -11,4 +11,4 @@ class Scanfile: ScanfileProtocol {
11
11
 
12
12
 
13
13
 
14
- // Generated with fastlane 2.69.2
14
+ // Generated with fastlane 2.70.0
@@ -11,4 +11,4 @@ class Screengrabfile: ScreengrabfileProtocol {
11
11
 
12
12
 
13
13
 
14
- // Generated with fastlane 2.69.2
14
+ // Generated with fastlane 2.70.0
@@ -11,4 +11,4 @@ class Snapshotfile: SnapshotfileProtocol {
11
11
 
12
12
 
13
13
 
14
- // Generated with fastlane 2.69.2
14
+ // Generated with fastlane 2.70.0
@@ -168,10 +168,7 @@ module FastlaneCore
168
168
  end
169
169
 
170
170
  def operating_system
171
- return "macOS" if RUBY_PLATFORM.downcase.include?("darwin")
172
- return "Windows" if RUBY_PLATFORM.downcase.include?("mswin")
173
- return "Linux" if RUBY_PLATFORM.downcase.include?("linux")
174
- return "Unknown"
171
+ return Helper.operating_system
175
172
  end
176
173
 
177
174
  def install_method
@@ -86,6 +86,13 @@ module FastlaneCore
86
86
  return false
87
87
  end
88
88
 
89
+ def self.operating_system
90
+ return "macOS" if RUBY_PLATFORM.downcase.include?("darwin")
91
+ return "Windows" if RUBY_PLATFORM.downcase.include?("mswin")
92
+ return "Linux" if RUBY_PLATFORM.downcase.include?("linux")
93
+ return "Unknown"
94
+ end
95
+
89
96
  def self.windows?
90
97
  # taken from: https://stackoverflow.com/a/171011/1945875
91
98
  (/cygwin|mswin|mingw|bccwin|wince|emx/ =~ RUBY_PLATFORM) != nil
@@ -16,23 +16,12 @@ xcode-select --install
16
16
 
17
17
  ### Choose your installation method:
18
18
 
19
- <table width="100%" >
20
- <tr>
21
- <th width="33%"><a href="http://brew.sh">Homebrew</a></td>
22
- <th width="33%">Installer Script</td>
23
- <th width="33%">RubyGems</td>
24
- </tr>
25
- <tr>
26
- <td width="33%" align="center">macOS</td>
27
- <td width="33%" align="center">macOS</td>
28
- <td width="33%" align="center">macOS or Linux with Ruby 2.0.0 or above</td>
29
- </tr>
30
- <tr>
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>
33
- <td width="33%"><code>sudo gem install fastlane -NV</code></td>
34
- </tr>
35
- </table>
19
+ | Method | OS support | Description |
20
+ |----------------------------|-----------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------|
21
+ | [Homebrew](http://brew.sh) | macOS | `brew cask install fastlane` |
22
+ | Installer Script | macOS | [Download the zip file](https://download.fastlane.tools). Then double click on the `install` script (or run it in a terminal window). |
23
+ | RubyGems | macOS or Linux with Ruby 2.0.0 or above | `sudo gem install fastlane -NV` |
24
+
36
25
 
37
26
  ### Usage
38
27
 
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.70.0
4
+ version: 2.70.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause