fastlane 2.201.0.rc2 → 2.201.0.rc3

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
  SHA256:
3
- metadata.gz: 41a222588b957ee2de626c4f5d4c68b06c225aa154d0a022b601c69676cde448
4
- data.tar.gz: 50ea7458c9abe457367e1833e6f4fcafe820a52392191a0ce8e3dcf7e52cafc8
3
+ metadata.gz: d89458bda9fa003afd34318f14a307b9ea72ce7729f4eaa3b6dcf5336bbbbb1a
4
+ data.tar.gz: 3d30e92a9c9631356da14feb1dec6142893562d40acb06562f5d4a5747187c50
5
5
  SHA512:
6
- metadata.gz: 0af11e8d7527c5c9fa47f76ad1ccd34b4c0a9ac4fc9ceb4aa5613f5a929761a4c4daa416717fae3e9be6c561c5ca59b58ce267ab8db4ef0722e3a1518d47ea90
7
- data.tar.gz: 294ddfa23c72c683fa336d0437a2456d91d9bbb598a162af2f971eee012a476baca979e58e5702443c8b5f29218c50d6a25ed6f12d74a6f9bff1a417c945eceb
6
+ metadata.gz: f836ea500dd96daee0db55b65d8bad8a2c53c090b95758cbe39b01b6b3ad50158fb053c5e08e10898ba9f21ab263ea6e226d5a63cf2df189c6c465ba7b35926c
7
+ data.tar.gz: 56f63534ff626c12ab721f934d32070ec8256be8d1fdca22de7538f087dada8d2cf474e0c6f779b66d2ed3aac3d8b0f167d11727bc03b72c10e030ca7521d552
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.201.0.rc2'.freeze
2
+ VERSION = '2.201.0.rc3'.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 = '1.12.1'.freeze
Binary file
Binary file
Binary file
@@ -185,17 +185,23 @@ module Scan
185
185
 
186
186
  params = {
187
187
  path: result_bundle_path,
188
- silent: true
188
+ silent: !FastlaneCore::Globals.verbose?
189
189
  }
190
190
 
191
191
  formatter = Scan.config[:xcodebuild_formatter].chomp
192
-
192
+ show_output_types_tip = false
193
193
  if output_html? && formatter != 'xcpretty'
194
- UI.error("HTML output is only available with `xcodebuild_formatter: 'xcpretty'` right now...")
194
+ UI.important("Skipping HTML... only available with `xcodebuild_formatter: 'xcpretty'` right now")
195
+ show_output_types_tip = true
195
196
  end
196
197
 
197
198
  if output_json_compilation_database? && formatter != 'xcpretty'
198
- UI.error("JSON Compilation Database output is only available with `xcodebuild_formatter: 'xcpretty'` right now...")
199
+ UI.important("Skipping JSON Compilation Database... only available with `xcodebuild_formatter: 'xcpretty'` right now")
200
+ show_output_types_tip = true
201
+ end
202
+
203
+ if show_output_types_tip
204
+ UI.important("Your 'xcodebuild_formatter' doesn't support these 'output_types'. Change your 'output_types' to prevent these warnings from showing...")
199
205
  end
200
206
 
201
207
  if output_junit?
@@ -219,6 +225,8 @@ module Scan
219
225
  end
220
226
 
221
227
  def handle_results(tests_exit_status)
228
+ return if Scan.config[:build_for_testing]
229
+
222
230
  results = trainer_test_results
223
231
 
224
232
  number_of_retries = results[:number_of_retries]
@@ -1,12 +1,12 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <% number_of_tests = 0 %>
3
3
  <% number_of_failures = 0 %>
4
- <% @results.each { |a| number_of_tests += a[:number_of_tests] } %>
5
- <% @results.each { |a| number_of_failures += a[:number_of_failures] } %>
4
+ <% @results.each { |a| number_of_tests += a[:number_of_tests_excluding_retries] } %>
5
+ <% @results.each { |a| number_of_failures += a[:number_of_failures_excluding_retries] } %>
6
6
 
7
7
  <testsuites tests="<%= number_of_tests %>" failures="<%= number_of_failures %>">
8
8
  <% @results.each do |testsuite| %>
9
- <testsuite name=<%= (testsuite[:target_name].nil? ? testsuite[:test_name] : testsuite[:target_name]).encode(:xml => :attr) %> tests="<%= testsuite[:number_of_tests] %>" failures="<%= testsuite[:number_of_failures] %>" time="<%= testsuite[:duration] %>">
9
+ <testsuite name=<%= (testsuite[:target_name].nil? ? testsuite[:test_name] : testsuite[:target_name]).encode(:xml => :attr) %> tests="<%= testsuite[:number_of_tests_excluding_retries] %>" failures="<%= testsuite[:number_of_failures_excluding_retries] %>" time="<%= testsuite[:duration] %>">
10
10
  <% testsuite[:tests].each do |test| %>
11
11
  <testcase classname=<%= test[:test_group].encode(:xml => :attr) %> name=<%= test[:name].encode(:xml => :attr) %> time="<%= test[:duration] %>">
12
12
  <% (test[:failures] || []).each do |failure| %>
@@ -339,6 +339,12 @@ module Trainer
339
339
  }
340
340
  summary_row[:number_of_tests] = summary_row[:tests].count
341
341
  summary_row[:number_of_failures] = summary_row[:tests].find_all { |a| (a[:failures] || []).count > 0 }.count
342
+
343
+ # Makes sure that plist support matches data output of xcresult
344
+ summary_row[:number_of_tests_excluding_retries] = summary_row[:number_of_tests]
345
+ summary_row[:number_of_failures_excluding_retries] = summary_row[:number_of_failures]
346
+ summary_row[:number_of_retries] = 0
347
+
342
348
  summary_row
343
349
  end
344
350
  end
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.201.0.rc2
4
+ version: 2.201.0.rc3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jimmy Dee
@@ -32,7 +32,7 @@ authors:
32
32
  autorequire:
33
33
  bindir: bin
34
34
  cert_chain: []
35
- date: 2022-01-15 00:00:00.000000000 Z
35
+ date: 2022-01-18 00:00:00.000000000 Z
36
36
  dependencies:
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: xcodeproj
@@ -1013,6 +1013,7 @@ files:
1013
1013
  - fastlane/lib/assets/s3_version_template.erb
1014
1014
  - fastlane/lib/fastlane.rb
1015
1015
  - fastlane/lib/fastlane/.DS_Store
1016
+ - fastlane/lib/fastlane/.version.rb.swp
1016
1017
  - fastlane/lib/fastlane/action.rb
1017
1018
  - fastlane/lib/fastlane/action_collector.rb
1018
1019
  - fastlane/lib/fastlane/actions/.DS_Store
@@ -1576,6 +1577,9 @@ files:
1576
1577
  - scan/lib/assets/ScanfileTemplate
1577
1578
  - scan/lib/assets/ScanfileTemplate.swift
1578
1579
  - scan/lib/scan.rb
1580
+ - scan/lib/scan/.detect_values.rb.swp
1581
+ - scan/lib/scan/.options.rb.swp
1582
+ - scan/lib/scan/.runner.rb.swp
1579
1583
  - scan/lib/scan/commands_generator.rb
1580
1584
  - scan/lib/scan/detect_values.rb
1581
1585
  - scan/lib/scan/error_handler.rb
@@ -1619,6 +1623,7 @@ files:
1619
1623
  - snapshot/lib/assets/SnapshotHelper.swift
1620
1624
  - snapshot/lib/assets/SnapshotHelperXcode8.swift
1621
1625
  - snapshot/lib/snapshot.rb
1626
+ - snapshot/lib/snapshot/.collector.rb.swp
1622
1627
  - snapshot/lib/snapshot/collector.rb
1623
1628
  - snapshot/lib/snapshot/commands_generator.rb
1624
1629
  - snapshot/lib/snapshot/dependency_checker.rb
@@ -1844,8 +1849,11 @@ files:
1844
1849
  - supply/lib/supply/setup.rb
1845
1850
  - supply/lib/supply/uploader.rb
1846
1851
  - trainer/lib/.DS_Store
1852
+ - trainer/lib/assets/.junit.xml.erb.swp
1847
1853
  - trainer/lib/assets/junit.xml.erb
1848
1854
  - trainer/lib/trainer.rb
1855
+ - trainer/lib/trainer/.junit_generator.rb.swp
1856
+ - trainer/lib/trainer/.test_parser.rb.swp
1849
1857
  - trainer/lib/trainer/commands_generator.rb
1850
1858
  - trainer/lib/trainer/junit_generator.rb
1851
1859
  - trainer/lib/trainer/module.rb