binaryparse 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/binaryparse.gemspec +1 -1
  2. data/lib/blocker.rb +1 -1
  3. metadata +1 -1
data/binaryparse.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "binaryparse"
3
- s.version = "1.1.1"
3
+ s.version = "1.1.2"
4
4
  s.author = "Patrick Hurley"
5
5
  s.email = "phurley@gmail.com"
6
6
  s.homepage = "http://binaryparse.rubyforge.org/"
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].to_i
585
+ result.first.match(/(\d+)/)[0].to_s
586
586
  end
587
587
  end
588
588
  BinaryBlocker.register_klass(:new_packed, NewPackedNumberEncoder)
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: binaryparse
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.1.1
5
+ version: 1.1.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Patrick Hurley