base32 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/base32.rb +1 -1
  2. data/lib/version.rb +1 -1
  3. metadata +2 -2
@@ -62,6 +62,6 @@ module Base32
62
62
  end
63
63
 
64
64
  def self.table_valid?(table)
65
- table.bytes.size == 32 && table.bytes.uniq.size == 32
65
+ table.bytes.to_a.size == 32 && table.bytes.to_a.uniq.size == 32
66
66
  end
67
67
  end
@@ -1,3 +1,3 @@
1
1
  module Base32
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: base32
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
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: 2014-01-13 00:00:00.000000000 Z
12
+ date: 2014-01-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake