fastlane_core 0.43.4 → 0.43.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fastlane_core/command_executor.rb +16 -13
- data/lib/fastlane_core/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2cd4f07e96bad3ee1da04c0e795fd56096f11c6
|
4
|
+
data.tar.gz: 6361ce6d0c84c064053eadca611d8ee03283d65c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d982e332e6ab720791ad26a9c84bac4d103949b30620e5aaa83f0d880380fb88e07214ee2a006debcc73639f0c1f89d337c9c34c267383bf7998e0b1203041f
|
7
|
+
data.tar.gz: 9f5f0f5a43cd5710200fdd79ff61aa9ac7f76cf87407caaf851ce8ae6a6f11fbff9c6c7bd7e31954f2d468ee0d114dfc4afad237c75aacdc775e3481f36da552
|
@@ -44,24 +44,27 @@ module FastlaneCore
|
|
44
44
|
|
45
45
|
begin
|
46
46
|
PTY.spawn(command) do |stdin, stdout, pid|
|
47
|
-
|
48
|
-
|
49
|
-
|
47
|
+
begin
|
48
|
+
stdin.each do |l|
|
49
|
+
line = l.strip # strip so that \n gets removed
|
50
|
+
output << line
|
50
51
|
|
51
|
-
|
52
|
+
next unless print_all
|
52
53
|
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
54
|
+
# Prefix the current line with a string
|
55
|
+
prefix.each do |element|
|
56
|
+
line = element[:prefix] + line if element[:block] && element[:block].call(line)
|
57
|
+
end
|
57
58
|
|
58
|
-
|
59
|
+
UI.command_output(line)
|
60
|
+
end
|
61
|
+
rescue Errno::EIO
|
62
|
+
# This is expected on some linux systems, that indicates that the subcommand finished
|
63
|
+
# and we kept trying to read, ignore it
|
64
|
+
ensure
|
65
|
+
Process.wait(pid)
|
59
66
|
end
|
60
|
-
Process.wait(pid)
|
61
67
|
end
|
62
|
-
rescue Errno::EIO
|
63
|
-
# This is expected on some linux systems, that indicates that the subcommand finished
|
64
|
-
# and we kept trying to read, ignore it
|
65
68
|
rescue => ex
|
66
69
|
# This could happen when the environment is wrong:
|
67
70
|
# > invalid byte sequence in US-ASCII (ArgumentError)
|
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.43.
|
4
|
+
version: 0.43.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -401,7 +401,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
401
401
|
version: '0'
|
402
402
|
requirements: []
|
403
403
|
rubyforge_project:
|
404
|
-
rubygems_version: 2.
|
404
|
+
rubygems_version: 2.6.2
|
405
405
|
signing_key:
|
406
406
|
specification_version: 4
|
407
407
|
summary: Contains all shared code/dependencies of the fastlane.tools
|