namor 0.5.3 → 0.5.4

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.
data/lib/namor/namor.rb CHANGED
@@ -118,8 +118,8 @@ class Namor::Namor
118
118
  assemble(
119
119
  scrub(hash[:first]),
120
120
  scrub(hash[:middle]),
121
- scrub_and_squash(hash[:last].upcase),
122
- scrub_and_squash(demaiden(hash[:last].upcase).last)
121
+ scrub_and_squash(hash[:last]),
122
+ scrub_and_squash((s = demaiden(hash[:last])) && s.last)
123
123
  )
124
124
  end
125
125
 
data/lib/namor/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Namor
2
- VERSION = "0.5.3"
2
+ VERSION = "0.5.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: namor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -108,7 +108,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
108
108
  version: '0'
109
109
  segments:
110
110
  - 0
111
- hash: -278780401687876131
111
+ hash: -2394129238240412470
112
112
  required_rubygems_version: !ruby/object:Gem::Requirement
113
113
  none: false
114
114
  requirements:
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  version: '0'
118
118
  segments:
119
119
  - 0
120
- hash: -278780401687876131
120
+ hash: -2394129238240412470
121
121
  requirements: []
122
122
  rubyforge_project:
123
123
  rubygems_version: 1.8.24