encoding-codepage 0.4 → 0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/encoding-codepage.rb +2 -1
  2. metadata +1 -1
@@ -54,7 +54,8 @@ class Encoding
54
54
  number, original, comment = line.split("\t", 3)
55
55
  number = Integer(number, 10)
56
56
 
57
- if encoding = exist?(original.upcase) && !encoding.dummy?
57
+ if encoding = exist?(original.upcase)
58
+ next if encoding.dummy?
58
59
  encoding.replicate "CP#{number}" unless codepage?(number)
59
60
 
60
61
  CodePage.reverse_lookup[encoding] = codepage(number)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: encoding-codepage
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.4'
4
+ version: '0.5'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: