fastlane_core 0.22.1 → 0.22.2

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
  SHA1:
3
- metadata.gz: cf3182aa10452ce9b6e44d5f315eea2846f13ac8
4
- data.tar.gz: 32b1bb1c5036bad7e5ec4227398795c829390e92
3
+ metadata.gz: 1015e9d7da7fdb6497262924af9b32576455a233
4
+ data.tar.gz: b052b99533a56b29b53bc6bb41659885bcf7dd8a
5
5
  SHA512:
6
- metadata.gz: 8b1d06fe51e03165916ece791e9bae657078f2cb55152d32cdbc9d1dada069d7310ee80479a6ab3febc2ff7f549b6e0d24073313357ed12873c14d82f810a1ad
7
- data.tar.gz: c5a7141e92887c46b065be1f5832f876179b155a2a1fc87ddb588bed7fc6bb43f4b5aa64704e79b56672940f5007add806d9d4d58b8b6a409fa3541f47af00d3
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
- puts "\n-----".cyan if print_all
21
- if loading
22
- print(loading.cyan + "\r")
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
- current_length = line.length
44
- spaces = [last_length - current_length, 0].max
45
- print(line + " " * spaces + "\r")
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
- puts "-----\n".cyan if print_all
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
 
@@ -1,3 +1,3 @@
1
1
  module FastlaneCore
2
- VERSION = "0.22.1"
2
+ VERSION = "0.22.2"
3
3
  end
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.1
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-14 00:00:00.000000000 Z
11
+ date: 2015-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json