v0.3.2 (debugging removed)

master v0.3.2
Denis Knauf 2022-12-13 23:43:18 +01:00
parent 95cabef567
commit b21f7c319d
2 changed files with 2 additions and 2 deletions

View File

@ -187,7 +187,7 @@ class Knot::Protocol
data[:flags] ||= '' data[:flags] ||= ''
ds = ds =
Idx. Idx.
select {|n| p [n.to_sym, data[n.to_sym]]; data[n.to_sym] }. select {|n| data[n.to_sym] }.
map {|n| v = data[n.to_sym].to_s.b; [n.to_i, v.size, v] } map {|n| v = data[n.to_sym].to_s.b; [n.to_i, v.size, v] }
s = [Types[:data].to_i, ds, Types[:block].to_i].flatten.pack( "c #{'c na*'*ds.length} c").b s = [Types[:data].to_i, ds, Types[:block].to_i].flatten.pack( "c #{'c na*'*ds.length} c").b
if 0 >= @logger.sev_threshold if 0 >= @logger.sev_threshold

View File

@ -1,3 +1,3 @@
module Knot module Knot
VERSION = "0.3.1" VERSION = "0.3.2"
end end