fastlane 2.201.0.rc1 → 2.201.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +88 -81
  3. data/fastlane/lib/fastlane/actions/.run_tests.rb.swp +0 -0
  4. data/fastlane/lib/fastlane/actions/run_tests.rb +8 -0
  5. data/fastlane/lib/fastlane/actions/xcov.rb +5 -0
  6. data/fastlane/lib/fastlane/version.rb +1 -1
  7. data/fastlane/swift/Deliverfile.swift +1 -1
  8. data/fastlane/swift/DeliverfileProtocol.swift +1 -1
  9. data/fastlane/swift/Fastlane.swift +142 -43
  10. data/fastlane/swift/Gymfile.swift +1 -1
  11. data/fastlane/swift/GymfileProtocol.swift +10 -6
  12. data/fastlane/swift/Matchfile.swift +1 -1
  13. data/fastlane/swift/MatchfileProtocol.swift +1 -1
  14. data/fastlane/swift/Precheckfile.swift +1 -1
  15. data/fastlane/swift/PrecheckfileProtocol.swift +1 -1
  16. data/fastlane/swift/Scanfile.swift +1 -1
  17. data/fastlane/swift/ScanfileProtocol.swift +18 -6
  18. data/fastlane/swift/Screengrabfile.swift +1 -1
  19. data/fastlane/swift/ScreengrabfileProtocol.swift +1 -1
  20. data/fastlane/swift/Snapshotfile.swift +1 -1
  21. data/fastlane/swift/SnapshotfileProtocol.swift +9 -5
  22. data/fastlane/swift/formatting/Brewfile.lock.json +14 -14
  23. data/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb +7 -0
  24. data/gym/lib/gym/options.rb +1 -1
  25. data/scan/lib/scan/.error_handler.rb.swp +0 -0
  26. data/scan/lib/scan/.runner.rb.swp +0 -0
  27. data/scan/lib/scan/error_handler.rb +9 -0
  28. data/scan/lib/scan/options.rb +6 -1
  29. data/scan/lib/scan/runner.rb +70 -6
  30. data/scan/lib/scan/test_command_generator.rb +3 -2
  31. data/snapshot/lib/snapshot/options.rb +1 -1
  32. data/trainer/lib/assets/junit.xml.erb +3 -3
  33. data/trainer/lib/trainer/.options.rb.swp +0 -0
  34. data/trainer/lib/trainer/options.rb +11 -0
  35. data/trainer/lib/trainer/test_parser.rb +62 -21
  36. metadata +27 -22
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0748d7414d5df9609fbffecf573937a1b74cbdebc81f9ee203e1197b58ecc5b1'
4
- data.tar.gz: 6f07f231bb899663f8d4e46561b6c2fe982aad07cc531a9796ec285b0495d8bb
3
+ metadata.gz: de45de805167ed42b9b9ca8e458af9c292ea15254677ef2096f3d4d22be71f27
4
+ data.tar.gz: 4b8aeaaa8347aa87e6d467d1c25d0f97672e25689c1f3d2a90775e1a638c8fc3
5
5
  SHA512:
6
- metadata.gz: 79d8d561694712d172f2fcb925abfab4ce52a5be9d5af2e5645dd88813e0a65581e192c4ee21b792571685293a615d839442e156322f0cea7d6ef0303487747b
7
- data.tar.gz: 8f5abd82eed5601477648a67bef8275c7ce4a48926550f409220f91fd54626ba375fef8827c5625ea6bf7d2ab833fbf8cdb49aa15ff9f02b51b93cde806cb144
6
+ metadata.gz: ba614e31deb05b17521edc2cc755738b876f80cb4b0d49411f76d524665c358241d79d1401b1e58f5de93778235a73e8f982f6a250912f3fde358c9e51b5b59a
7
+ data.tar.gz: 997d036a081987c2df2134057f4c1ac94fe81ac6a06af00994d326797207eb7b4bcabe3c3605c9092c91e473e745d9c2e5516811b9172b3c596f874d3292c41e
data/README.md CHANGED
@@ -35,49 +35,29 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
35
35
  <!-- This table is regenerated and resorted on each release -->
36
36
  <table id='team'>
37
37
  <tr>
38
- <td id='danielle-tomlinson'>
39
- <a href='https://github.com/endocrimes'>
40
- <img src='https://github.com/endocrimes.png' width='140px;'>
41
- </a>
42
- <h4 align='center'><a href='https://twitter.com/endocrimes'>Danielle Tomlinson</a></h4>
43
- </td>
44
- <td id='satoshi-namai'>
45
- <a href='https://github.com/ainame'>
46
- <img src='https://github.com/ainame.png' width='140px;'>
47
- </a>
48
- <h4 align='center'><a href='https://twitter.com/ainame'>Satoshi Namai</a></h4>
49
- </td>
50
38
  <td id='jorge-revuelta-h'>
51
39
  <a href='https://github.com/minuscorp'>
52
40
  <img src='https://github.com/minuscorp.png' width='140px;'>
53
41
  </a>
54
42
  <h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
55
43
  </td>
56
- <td id='jérôme-lacoste'>
57
- <a href='https://github.com/lacostej'>
58
- <img src='https://github.com/lacostej.png' width='140px;'>
59
- </a>
60
- <h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
61
- </td>
62
- <td id='jan-piotrowski'>
63
- <a href='https://github.com/janpio'>
64
- <img src='https://github.com/janpio.png' width='140px;'>
44
+ <td id='luka-mirosevic'>
45
+ <a href='https://github.com/lmirosevic'>
46
+ <img src='https://github.com/lmirosevic.png' width='140px;'>
65
47
  </a>
66
- <h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
48
+ <h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
67
49
  </td>
68
- </tr>
69
- <tr>
70
- <td id='roger-oba'>
71
- <a href='https://github.com/rogerluan'>
72
- <img src='https://github.com/rogerluan.png' width='140px;'>
50
+ <td id='jimmy-dee'>
51
+ <a href='https://github.com/jdee'>
52
+ <img src='https://github.com/jdee.png' width='140px;'>
73
53
  </a>
74
- <h4 align='center'><a href='https://twitter.com/rogerluan_'>Roger Oba</a></h4>
54
+ <h4 align='center'>Jimmy Dee</h4>
75
55
  </td>
76
- <td id='kohki-miki'>
77
- <a href='https://github.com/giginet'>
78
- <img src='https://github.com/giginet.png' width='140px;'>
56
+ <td id='iulian-onofrei'>
57
+ <a href='https://github.com/revolter'>
58
+ <img src='https://github.com/revolter.png' width='140px;'>
79
59
  </a>
80
- <h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
60
+ <h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
81
61
  </td>
82
62
  <td id='olivier-halligon'>
83
63
  <a href='https://github.com/AliSoftware'>
@@ -85,25 +65,25 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
85
65
  </a>
86
66
  <h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
87
67
  </td>
88
- <td id='helmut-januschka'>
89
- <a href='https://github.com/hjanuschka'>
90
- <img src='https://github.com/hjanuschka.png' width='140px;'>
68
+ </tr>
69
+ <tr>
70
+ <td id='łukasz-grabowski'>
71
+ <a href='https://github.com/lucgrabowski'>
72
+ <img src='https://github.com/lucgrabowski.png' width='140px;'>
91
73
  </a>
92
- <h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
74
+ <h4 align='center'>Łukasz Grabowski</h4>
93
75
  </td>
94
- <td id='manish-rathi'>
95
- <a href='https://github.com/crazymanish'>
96
- <img src='https://github.com/crazymanish.png' width='140px;'>
76
+ <td id='josh-holtz'>
77
+ <a href='https://github.com/joshdholtz'>
78
+ <img src='https://github.com/joshdholtz.png' width='140px;'>
97
79
  </a>
98
- <h4 align='center'><a href='https://twitter.com/iammanishrathi'>Manish Rathi</a></h4>
80
+ <h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
99
81
  </td>
100
- </tr>
101
- <tr>
102
- <td id='matthew-ellis'>
103
- <a href='https://github.com/matthewellis'>
104
- <img src='https://github.com/matthewellis.png' width='140px;'>
82
+ <td id='felix-krause'>
83
+ <a href='https://github.com/KrauseFx'>
84
+ <img src='https://github.com/KrauseFx.png' width='140px;'>
105
85
  </a>
106
- <h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
86
+ <h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
107
87
  </td>
108
88
  <td id='joshua-liebowitz'>
109
89
  <a href='https://github.com/taquitos'>
@@ -111,31 +91,25 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
111
91
  </a>
112
92
  <h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
113
93
  </td>
114
- <td id='josh-holtz'>
115
- <a href='https://github.com/joshdholtz'>
116
- <img src='https://github.com/joshdholtz.png' width='140px;'>
117
- </a>
118
- <h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
119
- </td>
120
- <td id='aaron-brager'>
121
- <a href='https://github.com/getaaron'>
122
- <img src='https://github.com/getaaron.png' width='140px;'>
94
+ <td id='danielle-tomlinson'>
95
+ <a href='https://github.com/endocrimes'>
96
+ <img src='https://github.com/endocrimes.png' width='140px;'>
123
97
  </a>
124
- <h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
98
+ <h4 align='center'><a href='https://twitter.com/endocrimes'>Danielle Tomlinson</a></h4>
125
99
  </td>
100
+ </tr>
101
+ <tr>
126
102
  <td id='manu-wallner'>
127
103
  <a href='https://github.com/milch'>
128
104
  <img src='https://github.com/milch.png' width='140px;'>
129
105
  </a>
130
106
  <h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
131
107
  </td>
132
- </tr>
133
- <tr>
134
- <td id='luka-mirosevic'>
135
- <a href='https://github.com/lmirosevic'>
136
- <img src='https://github.com/lmirosevic.png' width='140px;'>
108
+ <td id='kohki-miki'>
109
+ <a href='https://github.com/giginet'>
110
+ <img src='https://github.com/giginet.png' width='140px;'>
137
111
  </a>
138
- <h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
112
+ <h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
139
113
  </td>
140
114
  <td id='daniel-jankowski'>
141
115
  <a href='https://github.com/mollyIV'>
@@ -143,11 +117,37 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
143
117
  </a>
144
118
  <h4 align='center'><a href='https://twitter.com/mollyIV'>Daniel Jankowski</a></h4>
145
119
  </td>
146
- <td id='felix-krause'>
147
- <a href='https://github.com/KrauseFx'>
148
- <img src='https://github.com/KrauseFx.png' width='140px;'>
120
+ <td id='roger-oba'>
121
+ <a href='https://github.com/rogerluan'>
122
+ <img src='https://github.com/rogerluan.png' width='140px;'>
149
123
  </a>
150
- <h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
124
+ <h4 align='center'><a href='https://twitter.com/rogerluan_'>Roger Oba</a></h4>
125
+ </td>
126
+ <td id='satoshi-namai'>
127
+ <a href='https://github.com/ainame'>
128
+ <img src='https://github.com/ainame.png' width='140px;'>
129
+ </a>
130
+ <h4 align='center'><a href='https://twitter.com/ainame'>Satoshi Namai</a></h4>
131
+ </td>
132
+ </tr>
133
+ <tr>
134
+ <td id='manish-rathi'>
135
+ <a href='https://github.com/crazymanish'>
136
+ <img src='https://github.com/crazymanish.png' width='140px;'>
137
+ </a>
138
+ <h4 align='center'><a href='https://twitter.com/iammanishrathi'>Manish Rathi</a></h4>
139
+ </td>
140
+ <td id='aaron-brager'>
141
+ <a href='https://github.com/getaaron'>
142
+ <img src='https://github.com/getaaron.png' width='140px;'>
143
+ </a>
144
+ <h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
145
+ </td>
146
+ <td id='jérôme-lacoste'>
147
+ <a href='https://github.com/lacostej'>
148
+ <img src='https://github.com/lacostej.png' width='140px;'>
149
+ </a>
150
+ <h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
151
151
  </td>
152
152
  <td id='stefan-natchev'>
153
153
  <a href='https://github.com/snatchev'>
@@ -155,45 +155,52 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
155
155
  </a>
156
156
  <h4 align='center'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
157
157
  </td>
158
- <td id='iulian-onofrei'>
159
- <a href='https://github.com/revolter'>
160
- <img src='https://github.com/revolter.png' width='140px;'>
158
+ <td id='jan-piotrowski'>
159
+ <a href='https://github.com/janpio'>
160
+ <img src='https://github.com/janpio.png' width='140px;'>
161
161
  </a>
162
- <h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
162
+ <h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
163
163
  </td>
164
164
  </tr>
165
165
  <tr>
166
+ <td id='matthew-ellis'>
167
+ <a href='https://github.com/matthewellis'>
168
+ <img src='https://github.com/matthewellis.png' width='140px;'>
169
+ </a>
170
+ <h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
171
+ </td>
166
172
  <td id='andrew-mcburney'>
167
173
  <a href='https://github.com/armcburney'>
168
174
  <img src='https://github.com/armcburney.png' width='140px;'>
169
175
  </a>
170
176
  <h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
171
177
  </td>
172
- <td id='max-ott'>
173
- <a href='https://github.com/max-ott'>
174
- <img src='https://github.com/max-ott.png' width='140px;'>
175
- </a>
176
- <h4 align='center'><a href='https://twitter.com/ott_max'>Max Ott</a></h4>
177
- </td>
178
178
  <td id='fumiya-nakamura'>
179
179
  <a href='https://github.com/nafu'>
180
180
  <img src='https://github.com/nafu.png' width='140px;'>
181
181
  </a>
182
182
  <h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
183
183
  </td>
184
- <td id='jimmy-dee'>
185
- <a href='https://github.com/jdee'>
186
- <img src='https://github.com/jdee.png' width='140px;'>
184
+ <td id='helmut-januschka'>
185
+ <a href='https://github.com/hjanuschka'>
186
+ <img src='https://github.com/hjanuschka.png' width='140px;'>
187
187
  </a>
188
- <h4 align='center'>Jimmy Dee</h4>
188
+ <h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
189
+ </td>
190
+ <td id='max-ott'>
191
+ <a href='https://github.com/max-ott'>
192
+ <img src='https://github.com/max-ott.png' width='140px;'>
193
+ </a>
194
+ <h4 align='center'><a href='https://twitter.com/ott_max'>Max Ott</a></h4>
189
195
  </td>
196
+ </tr>
197
+ <tr>
190
198
  <td id='maksym-grebenets'>
191
199
  <a href='https://github.com/mgrebenets'>
192
200
  <img src='https://github.com/mgrebenets.png' width='140px;'>
193
201
  </a>
194
202
  <h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
195
203
  </td>
196
- </tr>
197
204
  </table>
198
205
 
199
206
  Special thanks to all [contributors](https://github.com/fastlane/fastlane/graphs/contributors) for extending and improving _fastlane_.
@@ -4,6 +4,7 @@ module Fastlane
4
4
  SCAN_DERIVED_DATA_PATH = :SCAN_DERIVED_DATA_PATH
5
5
  SCAN_GENERATED_PLIST_FILE = :SCAN_GENERATED_PLIST_FILE
6
6
  SCAN_GENERATED_PLIST_FILES = :SCAN_GENERATED_PLIST_FILES
7
+ SCAN_GENERATED_XCRESULT_PATH = :SCAN_GENERATED_XCRESULT_PATH
7
8
  SCAN_ZIP_BUILD_PRODUCTS_PATH = :SCAN_ZIP_BUILD_PRODUCTS_PATH
8
9
  end
9
10
 
@@ -29,6 +30,12 @@ module Fastlane
29
30
  raise ex
30
31
  end
31
32
  ensure
33
+ if Scan.cache && (result_bundle_path = Scan.cache[:result_bundle_path])
34
+ Actions.lane_context[SharedValues::SCAN_GENERATED_XCRESULT_PATH] = File.absolute_path(result_bundle_path)
35
+ else
36
+ Actions.lane_context[SharedValues::SCAN_GENERATED_XCRESULT_PATH] = nil
37
+ end
38
+
32
39
  unless values[:derived_data_path].to_s.empty?
33
40
  plist_files_before = manager.plist_files_before || []
34
41
 
@@ -70,6 +77,7 @@ module Fastlane
70
77
  ['SCAN_DERIVED_DATA_PATH', 'The path to the derived data'],
71
78
  ['SCAN_GENERATED_PLIST_FILE', 'The generated plist file'],
72
79
  ['SCAN_GENERATED_PLIST_FILES', 'The generated plist files'],
80
+ ['SCAN_GENERATED_XCRESULT_PATH', 'The path to the generated .xcresult'],
73
81
  ['SCAN_ZIP_BUILD_PRODUCTS_PATH', 'The path to the zipped build products']
74
82
  ]
75
83
  end
@@ -5,6 +5,11 @@ module Fastlane
5
5
  Actions.verify_gem!('xcov')
6
6
  require 'xcov'
7
7
 
8
+ if values[:xccov_file_direct_path].nil? && (path = Actions.lane_context[SharedValues::SCAN_GENERATED_XCRESULT_PATH])
9
+ UI.verbose("Pulling xcov 'xccov_file_direct_path' from SharedValues::SCAN_GENERATED_XCRESULT_PATH")
10
+ values[:xccov_file_direct_path] = path
11
+ end
12
+
8
13
  Xcov::Manager.new(values).run
9
14
  end
10
15
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.201.0.rc1'.freeze
2
+ VERSION = '2.201.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 = '1.12.1'.freeze
@@ -17,4 +17,4 @@ public class Deliverfile: DeliverfileProtocol {
17
17
  // during the `init` process, and you won't see this message
18
18
  }
19
19
 
20
- // Generated with fastlane 2.200.0
20
+ // Generated with fastlane 2.201.1
@@ -260,4 +260,4 @@ public extension DeliverfileProtocol {
260
260
 
261
261
  // Please don't remove the lines below
262
262
  // They are used to detect outdated files
263
- // FastlaneRunnerAPIVersion [0.9.90]
263
+ // FastlaneRunnerAPIVersion [0.9.92]