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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7667300e797c5d36feb9772963169a2510da304c
4
- data.tar.gz: ed5483513d6fa906e37df906b11ddbe5b8340da1
3
+ metadata.gz: d2cd4f07e96bad3ee1da04c0e795fd56096f11c6
4
+ data.tar.gz: 6361ce6d0c84c064053eadca611d8ee03283d65c
5
5
  SHA512:
6
- metadata.gz: 087fc94a72ac099d3a739df725578e13f34e0b084d5cd5cf68704c46f368a9fc2d4b7c243ef033707e859f8acfe2b75e18236462c3b43660e5d97dcec9e6f76a
7
- data.tar.gz: b0184628d18f8553fb264f807ffff7a2b9a757dab3931f713f81254b7f6367e7414ca228fe270ffbc554d9f2c242de1ae53b9178db7dc2d4214684900cf660aa
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
- stdin.each do |l|
48
- line = l.strip # strip so that \n gets removed
49
- output << line
47
+ begin
48
+ stdin.each do |l|
49
+ line = l.strip # strip so that \n gets removed
50
+ output << line
50
51
 
51
- next unless print_all
52
+ next unless print_all
52
53
 
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)
56
- end
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
- UI.command_output(line)
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)
@@ -1,3 +1,3 @@
1
1
  module FastlaneCore
2
- VERSION = "0.43.4".freeze
2
+ VERSION = "0.43.5".freeze
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.43.4
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-12 00:00:00.000000000 Z
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.2.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