fastlane_core 0.22.1 → 0.22.2
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 +4 -4
- data/lib/fastlane_core/command_executor.rb +8 -12
- data/lib/fastlane_core/simulator.rb +10 -0
- data/lib/fastlane_core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1015e9d7da7fdb6497262924af9b32576455a233
|
4
|
+
data.tar.gz: b052b99533a56b29b53bc6bb41659885bcf7dd8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f96356e06450baffee0cad189a19954a0560b702c58b5d601e5e634d126ab55a004611ba4ff5f5ddbd92d28a5ffac74065553472d2a60a91f1b24bd10c41350
|
7
|
+
data.tar.gz: 145c627ac8e67a064d816430e4092eaed1f4273ede62c3b9a7c58ed5091455be569ad718ddd623c5510128751eb734b4abf1bb9ba0f9ea5316f5a4e66fbfb2af
|
@@ -14,15 +14,12 @@ module FastlaneCore
|
|
14
14
|
prefix ||= {}
|
15
15
|
|
16
16
|
output = []
|
17
|
-
command = command.join(" ")
|
17
|
+
command = command.join(" ") if command.kind_of?(Array)
|
18
18
|
Helper.log.info command.yellow.strip if print_command
|
19
19
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
last_length = loading.length
|
24
|
-
else
|
25
|
-
last_length = 0
|
20
|
+
if print_all and loading # this is only used to show the "Loading text"...
|
21
|
+
system("clear")
|
22
|
+
puts loading.cyan
|
26
23
|
end
|
27
24
|
|
28
25
|
begin
|
@@ -40,13 +37,12 @@ module FastlaneCore
|
|
40
37
|
line = element[:prefix] + line if element[:block] && element[:block].call(line)
|
41
38
|
end
|
42
39
|
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
last_length = current_length
|
40
|
+
# The actual output here, first clear and then print out 3 lines
|
41
|
+
system("clear")
|
42
|
+
puts line
|
47
43
|
end
|
48
44
|
Process.wait(pid)
|
49
|
-
|
45
|
+
system("clear")
|
50
46
|
end
|
51
47
|
rescue => ex
|
52
48
|
# This could happen when the environment is wrong:
|
@@ -61,6 +61,16 @@ module FastlaneCore
|
|
61
61
|
# "/Applications/Xcode70.app/Contents/Applications/Instruments.app/Contents/PlugIns/OpenGLESAnalyzerInstrument.xrplugin/Contents/Resources/OpenGL ES Analysis.tracetemplate"
|
62
62
|
# "/Applications/Xcode70.app/Contents/Applications/Instruments.app/Contents/PlugIns/XRMobileDeviceDiscoveryPlugIn.xrplugin/Contents/Resources/Energy Diagnostics.tracetemplate"
|
63
63
|
|
64
|
+
# Use the UDID for the given device when setting the destination
|
65
|
+
# Why? Because we might get this error message
|
66
|
+
# > The requested device could not be found because multiple devices matched the request.
|
67
|
+
#
|
68
|
+
# This happens when you have multiple simulators for a given device type / iOS combination
|
69
|
+
# { platform:iOS Simulator, id:1685B071-AFB2-4DC1-BE29-8370BA4A6EBD, OS:9.0, name:iPhone 5 }
|
70
|
+
# { platform:iOS Simulator, id:A141F23B-96B3-491A-8949-813B376C28A7, OS:9.0, name:iPhone 5 }
|
71
|
+
#
|
72
|
+
# We don't want to deal with that, so we just use the UDID
|
73
|
+
|
64
74
|
class Device
|
65
75
|
attr_accessor :name
|
66
76
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.22.
|
4
|
+
version: 0.22.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|