knot-ruby 0.3.1 → 0.3.2

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
  SHA256:
3
- metadata.gz: 7dcc321520bfdad7567809f0e0a831205c27c32274cc28f34418216b8ccb7943
4
- data.tar.gz: 8ddc6e7390566d2e310f1f97600d10f290957c51b8310d5575d92849be43b9f9
3
+ metadata.gz: 30ab441e3adc29fe411bc05db071cbde34bdc5573d43bad9034e75826cd90aaa
4
+ data.tar.gz: fa5b3e725f3d6d28e64db6dd30787bb50a8004ad64d18d7b89317f5d00c2243b
5
5
  SHA512:
6
- metadata.gz: 7fd70face0a5d90c2bd95e7fbb950de2351f6d5877e571435602705ad61dff6fa00a91b593a899e7a956e783d42ff0b29f7321eba60ac05034d9e64ae36717e6
7
- data.tar.gz: a78d11ca483eeb906b04901f71e2d6468d7066fc31c72b88e7c66d4707e24eacc9ae5a22cfeaa9fb35fa6ef3495606fe520c53eaab1e3043b3d8907352970155
6
+ metadata.gz: 36372dcb45977f8afc6e0b983d8182589fa684a40e1cce9f6045d590594f71199513e13e56aa8d51b66323e586418625d6c85d32875c583b23542a7fae0d4afd
7
+ data.tar.gz: e51f688d0931ce53b415c05f2cd531a8555ec7f0671d7e1b82b901a613a628670db45ab14886d21ef1fe48cf7157fe9942e9d4c3f5684f233cf100ded9eb4200
data/lib/knot/protocol.rb CHANGED
@@ -187,7 +187,7 @@ class Knot::Protocol
187
187
  data[:flags] ||= ''
188
188
  ds =
189
189
  Idx.
190
- select {|n| p [n.to_sym, data[n.to_sym]]; data[n.to_sym] }.
190
+ select {|n| data[n.to_sym] }.
191
191
  map {|n| v = data[n.to_sym].to_s.b; [n.to_i, v.size, v] }
192
192
  s = [Types[:data].to_i, ds, Types[:block].to_i].flatten.pack( "c #{'c na*'*ds.length} c").b
193
193
  if 0 >= @logger.sev_threshold
data/lib/knot/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Knot
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knot-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Knauf