codec 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
data/lib/codec/field.rb CHANGED
@@ -27,6 +27,14 @@ module Codec
27
27
  (@id == other.id && @value == other.value)
28
28
  end
29
29
 
30
+ def eql?(other)
31
+ self == other
32
+ end
33
+
34
+ def hash
35
+ @id.hash ^ @value.hash
36
+ end
37
+
30
38
  def get_id ; @id; end
31
39
 
32
40
  def set_id id ; @id = id ; end
data/lib/codec/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Codec
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-08-16 00:00:00.000000000 Z
12
+ date: 2013-08-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler