binaryparse 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/binaryparse.gemspec +1 -1
- data/lib/blocker.rb +1 -1
- metadata +1 -1
data/binaryparse.gemspec
CHANGED
data/lib/blocker.rb
CHANGED
@@ -582,7 +582,7 @@ module BinaryBlocker
|
|
582
582
|
def internal_deblock(io)
|
583
583
|
buffer = io.read(@bytes)
|
584
584
|
result = buffer.unpack(@format)
|
585
|
-
result.first.match(/(\d+)/)[0].
|
585
|
+
result.first.match(/(\d+)/)[0].to_s
|
586
586
|
end
|
587
587
|
end
|
588
588
|
BinaryBlocker.register_klass(:new_packed, NewPackedNumberEncoder)
|