fastlane 2.72.0.beta.20171229010003 → 2.72.0.beta.20171230010003
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 498cbb3d8f84771eebe9f9ff7d51ef98df043a2b
|
4
|
+
data.tar.gz: 21f852677a5e546681e7b1e384fa01e07550c207
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba0eb7a3eb059516b9809c8d370074562a425f8240f82a74b2df63f5036e01bdd8a7c7c13f803b8555f24db47aed7f3b7e13ae07acf5014d1f70b29c5e342989
|
7
|
+
data.tar.gz: cec4bb31dfa61479ec0415d83d5bcfc827edae858c9a71e1621ab462e375f009e46054db69278b47260ffe2ca1a28d4d14051f17a49c5626a024158a229a6018
|
@@ -15,7 +15,12 @@ module Fastlane
|
|
15
15
|
def take_off
|
16
16
|
before_import_time = Time.now
|
17
17
|
|
18
|
+
require "tty-spinner"
|
19
|
+
|
20
|
+
require_fastlane_spinner = TTY::Spinner.new("[:spinner] 🚀 ", format: :dots)
|
21
|
+
require_fastlane_spinner.auto_spin
|
18
22
|
require "fastlane" # this might take a long time if there is no Gemfile :(
|
23
|
+
require_fastlane_spinner.success
|
19
24
|
|
20
25
|
# We want to avoid printing output other than the version number if we are running `fastlane -v`
|
21
26
|
unless running_version_command?
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module Fastlane
|
2
|
-
VERSION = '2.72.0.beta.
|
2
|
+
VERSION = '2.72.0.beta.20171230010003'.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
|
@@ -6,41 +6,6 @@ module FastlaneCore
|
|
6
6
|
|
7
7
|
attr_accessor :raw_json
|
8
8
|
|
9
|
-
# Returns a hash with the path being the key, and the value
|
10
|
-
# defining if the tests were successful
|
11
|
-
def self.auto_convert(config)
|
12
|
-
FastlaneCore::PrintTable.print_values(config: config,
|
13
|
-
title: "Summary for trainer #{Trainer::VERSION}")
|
14
|
-
|
15
|
-
containing_dir = config[:path]
|
16
|
-
files = Dir["#{containing_dir}/**/Logs/Test/*TestSummaries.plist"]
|
17
|
-
files += Dir["#{containing_dir}/Test/*TestSummaries.plist"]
|
18
|
-
files += Dir["#{containing_dir}/*TestSummaries.plist"]
|
19
|
-
files += Dir[containing_dir] if containing_dir.end_with?(".plist") # if it's the exact path to a plist file
|
20
|
-
|
21
|
-
if files.empty?
|
22
|
-
UI.user_error!("No test result files found in directory '#{containing_dir}', make sure the file name ends with 'TestSummaries.plist'")
|
23
|
-
end
|
24
|
-
|
25
|
-
return_hash = {}
|
26
|
-
files.each do |path|
|
27
|
-
if config[:output_directory]
|
28
|
-
FileUtils.mkdir_p(config[:output_directory])
|
29
|
-
filename = File.basename(path).gsub(".plist", config[:extension])
|
30
|
-
to_path = File.join(config[:output_directory], filename)
|
31
|
-
else
|
32
|
-
to_path = path.gsub(".plist", config[:extension])
|
33
|
-
end
|
34
|
-
|
35
|
-
tp = Trainer::TestParser.new(path)
|
36
|
-
File.write(to_path, tp.to_junit)
|
37
|
-
puts "Successfully generated '#{to_path}'"
|
38
|
-
|
39
|
-
return_hash[to_path] = tp.tests_successful?
|
40
|
-
end
|
41
|
-
return_hash
|
42
|
-
end
|
43
|
-
|
44
9
|
def initialize(path)
|
45
10
|
path = File.expand_path(path)
|
46
11
|
UI.user_error!("File not found at path '#{path}'") unless File.exist?(path)
|
@@ -53,16 +18,6 @@ module FastlaneCore
|
|
53
18
|
parse_content
|
54
19
|
end
|
55
20
|
|
56
|
-
# Returns the JUnit report as String
|
57
|
-
def to_junit
|
58
|
-
JunitGenerator.new(self.data).generate
|
59
|
-
end
|
60
|
-
|
61
|
-
# @return [Bool] were all tests successful? Is false if at least one test failed
|
62
|
-
def tests_successful?
|
63
|
-
self.data.collect { |a| a[:number_of_failures] }.all?(&:zero?)
|
64
|
-
end
|
65
|
-
|
66
21
|
private
|
67
22
|
|
68
23
|
def ensure_file_valid!
|
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.72.0.beta.
|
4
|
+
version: 2.72.0.beta.20171230010003
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
@@ -15,7 +15,7 @@ authors:
|
|
15
15
|
autorequire:
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
|
-
date: 2017-12-
|
18
|
+
date: 2017-12-30 00:00:00.000000000 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: slack-notifier
|
@@ -223,16 +223,42 @@ dependencies:
|
|
223
223
|
name: tty-screen
|
224
224
|
requirement: !ruby/object:Gem::Requirement
|
225
225
|
requirements:
|
226
|
-
- - "
|
226
|
+
- - ">="
|
227
227
|
- !ruby/object:Gem::Version
|
228
228
|
version: 0.6.3
|
229
|
+
- - "<"
|
230
|
+
- !ruby/object:Gem::Version
|
231
|
+
version: 1.0.0
|
229
232
|
type: :runtime
|
230
233
|
prerelease: false
|
231
234
|
version_requirements: !ruby/object:Gem::Requirement
|
232
235
|
requirements:
|
233
|
-
- - "
|
236
|
+
- - ">="
|
234
237
|
- !ruby/object:Gem::Version
|
235
238
|
version: 0.6.3
|
239
|
+
- - "<"
|
240
|
+
- !ruby/object:Gem::Version
|
241
|
+
version: 1.0.0
|
242
|
+
- !ruby/object:Gem::Dependency
|
243
|
+
name: tty-spinner
|
244
|
+
requirement: !ruby/object:Gem::Requirement
|
245
|
+
requirements:
|
246
|
+
- - ">="
|
247
|
+
- !ruby/object:Gem::Version
|
248
|
+
version: 0.7.0
|
249
|
+
- - "<"
|
250
|
+
- !ruby/object:Gem::Version
|
251
|
+
version: 1.0.0
|
252
|
+
type: :runtime
|
253
|
+
prerelease: false
|
254
|
+
version_requirements: !ruby/object:Gem::Requirement
|
255
|
+
requirements:
|
256
|
+
- - ">="
|
257
|
+
- !ruby/object:Gem::Version
|
258
|
+
version: 0.7.0
|
259
|
+
- - "<"
|
260
|
+
- !ruby/object:Gem::Version
|
261
|
+
version: 1.0.0
|
236
262
|
- !ruby/object:Gem::Dependency
|
237
263
|
name: babosa
|
238
264
|
requirement: !ruby/object:Gem::Requirement
|