fastlane_core 0.38.0 → 0.39.0
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 +13 -16
- 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: 65285951295aca1a4a405650b93c9735badeca93
|
4
|
+
data.tar.gz: 5ffe75746de3501774a650de635627c8b5b73c47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee3987d1a584ec0b8d5687016ae7298e4ee9b73ee3ae1c99cc4fab3a0cf33e828d3109c8174e0a3df9a59b8cde5281da670077d04106dd2e099544250e2488be
|
7
|
+
data.tar.gz: 669b8b96cf7c92592efa9faf06e470de3d8efa92ce92c38a6948b2ac1a2e3db1862b964248cfbf04a024bd5f42d127bb9c77f1f4a73b19d232c9af96489c8488
|
@@ -44,27 +44,24 @@ module FastlaneCore
|
|
44
44
|
|
45
45
|
begin
|
46
46
|
PTY.spawn(command) do |stdin, stdout, pid|
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
output << line
|
47
|
+
stdin.each do |l|
|
48
|
+
line = l.strip # strip so that \n gets removed
|
49
|
+
output << line
|
51
50
|
|
52
|
-
|
51
|
+
next unless print_all
|
53
52
|
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
end
|
58
|
-
|
59
|
-
UI.command_output(line)
|
53
|
+
# Prefix the current line with a string
|
54
|
+
prefix.each do |element|
|
55
|
+
line = element[:prefix] + line if element[:block] && element[:block].call(line)
|
60
56
|
end
|
61
|
-
|
62
|
-
|
63
|
-
# and we kept trying to read, ignore ix
|
64
|
-
ensure
|
65
|
-
Process.wait(pid)
|
57
|
+
|
58
|
+
UI.command_output(line)
|
66
59
|
end
|
60
|
+
Process.wait(pid)
|
67
61
|
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
|
68
65
|
rescue => ex
|
69
66
|
# This could happen when the environment is wrong:
|
70
67
|
# > invalid byte sequence in US-ASCII (ArgumentError)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.39.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
@@ -385,7 +385,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
385
385
|
version: '0'
|
386
386
|
requirements: []
|
387
387
|
rubyforge_project:
|
388
|
-
rubygems_version: 2.4.
|
388
|
+
rubygems_version: 2.4.6
|
389
389
|
signing_key:
|
390
390
|
specification_version: 4
|
391
391
|
summary: Contains all shared code/dependencies of the fastlane.tools
|