asciidammit 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module AsciiDammit
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
data/lib/asciidammit.rb CHANGED
@@ -162,6 +162,6 @@ end
162
162
 
163
163
  class String
164
164
  def asciidammit
165
- self.split(//).collect{|c| raise "Unhandled char #{c.inspect} (#{c.codepoints.inspect})" unless AsciiDammit::DATABASE[c]; AsciiDammit::DATABASE[c]}.join('')
165
+ self.split(//).collect{|c| raise "Unhandled char #{c.inspect} (#{c.codepoints.to_a.inspect})" unless AsciiDammit::DATABASE[c]; AsciiDammit::DATABASE[c]}.join('')
166
166
  end
167
167
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidammit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -91,7 +91,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
91
91
  version: '0'
92
92
  segments:
93
93
  - 0
94
- hash: 175992449
94
+ hash: -244184735
95
95
  required_rubygems_version: !ruby/object:Gem::Requirement
96
96
  none: false
97
97
  requirements:
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  version: '0'
101
101
  segments:
102
102
  - 0
103
- hash: 175992449
103
+ hash: -244184735
104
104
  requirements: []
105
105
  rubyforge_project:
106
106
  rubygems_version: 1.8.25