fastlane-plugin-test_center 3.15.3 → 3.16.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
  SHA256:
3
- metadata.gz: b7ed186518bf972a65bb1664e5843cfb5da505a93c216af4402ae2fecb6ed52f
4
- data.tar.gz: 557cb341dbda37fb2eae18ac8f494ddff889039a95e0337a2f47122cd436c83c
3
+ metadata.gz: 06b7ebcc7e0d62e28f6cfb7ceff979cbc0fc122bbbb42a8dc242b1a76433af90
4
+ data.tar.gz: c5c4225e577b68ee289720ebcd1ff22312f16a3f560a8e4faffaa23a1de17b6e
5
5
  SHA512:
6
- metadata.gz: b11864d9cc3a2863c0418b70da52e879fe8c281a85eba39c6c625fc33d96b9e437d95526e5d7b93bfbaa16a86904d9577ebb5c6de2ed7139b39fcb74d3989eac
7
- data.tar.gz: 9eb0523c3ce1114b5e39fb1dcac9169fbcf6c5b1e519b8a573b18389277102ac1368b66adb09b874ffc0cf51f29357a79808d4fcd1b890d9809da71f09ed43c9
6
+ metadata.gz: c9917198062684ab363b755154af6b59dc9ff373b555942c5a57ada1141bba6a44d836336cddbdec5e041a412f6977db337fc3077fa6bc13110d8b04a3f546cc
7
+ data.tar.gz: 360d3c4100aab492d2b3949b8d05c34bd36e1c5973de8809e05657b43bf59d608b91b211f0b1cc13608c1e9939a65dd19c6b9be733b5c238bf78f44009e5d8c6
data/README.md CHANGED
@@ -99,8 +99,7 @@ _fastlane_ is the easiest way to automate beta deployments and releases for your
99
99
  ## Supporters
100
100
 
101
101
  ![Владислав Давыдов](https://avatars1.githubusercontent.com/u/47553334?s=44&u=4691860dba898943b947180b3d28bb85851b0d7c&v=4)
102
- [vdavydovHH](https://github.com/vdavydovHH) ![amelendezSGY](https://avatars1.githubusercontent.com/u/28657466?s=44&v=4)[amelendezSGY](https://github.com/amelendezSGY)
103
-
102
+ [vdavydovHH](https://github.com/vdavydovHH)
104
103
  ## License
105
104
 
106
105
  MIT
@@ -6,19 +6,19 @@ module TestCenter
6
6
  attr_reader :report_count
7
7
 
8
8
  def initialize(output_types = nil, output_files = nil, custom_report_file_name = nil)
9
- @output_types = output_types || 'junit'
9
+ @output_types = output_types || 'xcresult'
10
10
  @output_files = output_files || custom_report_file_name
11
11
  @report_count = 0
12
12
 
13
13
  if @output_types && @output_files.nil?
14
14
  @output_files = @output_types.split(',').map { |type| "report.#{type}" }.join(',')
15
15
  end
16
- unless @output_types.include?('junit')
17
- FastlaneCore::UI.important('Scan output types missing \'junit\', adding it')
18
- @output_types = @output_types.split(',').push('junit').join(',')
16
+ unless @output_types.include?('xcresult')
17
+ FastlaneCore::UI.important('Scan output types missing \'xcresult\', adding it')
18
+ @output_types = @output_types.split(',').push('xcresult').join(',')
19
19
  if @output_types.split(',').size == @output_files.split(',').size + 1
20
- @output_files = @output_files.split(',').push('report.xml').join(',')
21
- FastlaneCore::UI.message('As output files has one less than the new number of output types, assumming the filename for the junit was missing and added it')
20
+ @output_files = @output_files.split(',').push('report.xcresult').join(',')
21
+ FastlaneCore::UI.message('As output files has one less than the new number of output types, assumming the filename for the xcresult was missing and added it')
22
22
  end
23
23
  end
24
24
 
@@ -57,9 +57,11 @@ module TestCenter
57
57
  numbered_filename(filename)
58
58
  end
59
59
 
60
+ output_types = types.join(',') unless types.empty?
61
+ output_files = files.join(',') unless files.empty?
60
62
  options.merge(
61
- output_types: types.join(','),
62
- output_files: files.join(',')
63
+ output_types: output_types,
64
+ output_files: output_files
63
65
  )
64
66
  end
65
67
 
@@ -145,7 +147,7 @@ module TestCenter
145
147
  def json_numbered_fileglob
146
148
  "#{File.basename(json_reportname, '.*')}-[1-9]*#{json_filextension}"
147
149
  end
148
-
150
+
149
151
  def self.ensure_output_includes_xcresult(output_types, output_files)
150
152
  return [output_types, output_files] if includes_xcresult?(output_types) || output_types.nil?
151
153
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module TestCenter
3
- VERSION = "3.15.3"
3
+ VERSION = "3.16.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-test_center
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.15.3
4
+ version: 3.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lyndsey Ferguson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-18 00:00:00.000000000 Z
11
+ date: 2022-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -38,20 +38,6 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: trainer
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: xcodeproj
57
43
  requirement: !ruby/object:Gem::Requirement
@@ -128,14 +114,14 @@ dependencies:
128
114
  requirements:
129
115
  - - ">="
130
116
  - !ruby/object:Gem::Version
131
- version: 2.108.0
117
+ version: 2.201.0
132
118
  type: :development
133
119
  prerelease: false
134
120
  version_requirements: !ruby/object:Gem::Requirement
135
121
  requirements:
136
122
  - - ">="
137
123
  - !ruby/object:Gem::Version
138
- version: 2.108.0
124
+ version: 2.201.0
139
125
  - !ruby/object:Gem::Dependency
140
126
  name: markdown-tables
141
127
  requirement: !ruby/object:Gem::Requirement