icu_name 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/lib/icu_name/name.rb CHANGED
@@ -17,14 +17,14 @@ module ICU
17
17
  end
18
18
 
19
19
  # First name getter.
20
- def first(opt={})
21
- return ActiveSupport::Inflector.transliterate(@first) if opt[:ascii]
20
+ def first(opts={})
21
+ return ActiveSupport::Inflector.transliterate(@first) if opts[:ascii]
22
22
  @first
23
23
  end
24
24
 
25
25
  # Last name getter.
26
- def last(opt={})
27
- return ActiveSupport::Inflector.transliterate(@last) if opt[:ascii]
26
+ def last(opts={})
27
+ return ActiveSupport::Inflector.transliterate(@last) if opts[:ascii]
28
28
  @last
29
29
  end
30
30
 
@@ -57,6 +57,7 @@ module ICU
57
57
  match_first(first(opts), other.first) && match_last(last(opts), other.last)
58
58
  end
59
59
 
60
+ # :stopdoc:
60
61
  private
61
62
 
62
63
  # Canonicalise the first and last names.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ICU
4
4
  class Name
5
- VERSION = "0.0.5"
5
+ VERSION = "0.0.6"
6
6
  end
7
7
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 5
9
- version: 0.0.5
8
+ - 6
9
+ version: 0.0.6
10
10
  platform: ruby
11
11
  authors:
12
12
  - Mark Orr