ztk 3.3.1 → 3.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: af11dbab71ae32f23c81221e541b24e9c92b3647
4
- data.tar.gz: 30d538e35a264f242cafa10c119a8b830db623c7
3
+ metadata.gz: 1fc2b6e22274779b14b64668b16d548dfd2530cc
4
+ data.tar.gz: fbee3964e04aae36f5be993888d758a77bfe7ad7
5
5
  SHA512:
6
- metadata.gz: cd6a20e985bbbb958a4ee86ecb1d3ef508f4e535b71232e0d8d20f997e261beba4095a5675ad367ffe03d5a2b736aa994cf99a1fdad25a3c07f64f34f3766346
7
- data.tar.gz: fb28716f179ec5641410278921d7e3a5edb0d788d2d861fd2fdd9c3b48909816911a008b6d144132c4d912d38bad2a7d090186bfa9abe223c603e605f3f31bad
6
+ metadata.gz: 23d33caad8e495cf3f04da0a235ff3057d7bf24f53acd4ba5594c2ef6c662de260ffbaceeb997a18cb71fce928cc03fd029c58cd4118ea74a75b1ae1ebeef9a7
7
+ data.tar.gz: db1bd16f33104f02cc4c5133cf046784954d42587f8c6d7e5056a0fe26cb09c019dfa52052b69198a6378998af75e19160a515bfeee713a971183110b2b22a49
@@ -211,7 +211,12 @@ module ZTK
211
211
  pid, status = (Process.wait2(-1, Process::WUNTRACED) rescue nil)
212
212
 
213
213
  if !pid.nil? && !status.nil? && !(fork = @forks.select{ |f| f[:pid] == pid }.first).nil?
214
- data = Marshal.load(Zlib::Inflate.inflate(Base64.decode64(fork[:reader].read).to_s))
214
+ data = nil
215
+ begin
216
+ data = Marshal.load(Zlib::Inflate.inflate(Base64.decode64(fork[:reader].read).to_s))
217
+ rescue Zlib::BufError
218
+ config.ui.logger.fatal { "Encountered Zlib::BufError when reading child pipe." }
219
+ end
215
220
  config.ui.logger.debug { "read(#{data.inspect})" }
216
221
 
217
222
  data = process_data(data)
@@ -1,6 +1,6 @@
1
1
  module ZTK
2
2
 
3
3
  # ZTK Version String
4
- VERSION = "3.3.1"
4
+ VERSION = "3.3.2"
5
5
 
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ztk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.1
4
+ version: 3.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zachary Patten