binaryparse 1.1.0 → 1.1.1

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.
Files changed (3) hide show
  1. data/binaryparse.gemspec +1 -1
  2. data/lib/blocker.rb +2 -2
  3. metadata +2 -2
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.0"
3
+ s.version = "1.1.1"
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
@@ -386,7 +386,7 @@ module BinaryBlocker
386
386
  end
387
387
  end
388
388
  end
389
- puts "method missing #{sym.inspect} #{bt}"
389
+ #puts "method missing #{sym.inspect}"
390
390
  super
391
391
  end
392
392
 
@@ -785,7 +785,7 @@ module BinaryBlocker
785
785
  class OneOfEncoder < Encoder
786
786
 
787
787
  def inspect
788
- "OneOf #{@classes.join(',')} -> #{@obj.class} -> #{@obj.inspect}"
788
+ "OneOf(#{@classes.map {|c| c.class }.join(',')}) -> #{@obj.inspect}"
789
789
  end
790
790
 
791
791
  def initialize(classes, *opts)
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: binaryparse
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.1.0
5
+ version: 1.1.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Patrick Hurley
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-06-24 00:00:00 -04:00
13
+ date: 2011-07-21 00:00:00 -04:00
14
14
  default_executable:
15
15
  dependencies: []
16
16