sanichi-chess_icu 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION.yml +1 -1
  2. data/lib/name.rb +4 -2
  3. metadata +1 -1
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 4
4
- :patch: 1
4
+ :patch: 2
data/lib/name.rb CHANGED
@@ -63,14 +63,16 @@ Some of the ways last names are canonicalised are illustrated below:
63
63
  end
64
64
 
65
65
  def name
66
- name = @first
66
+ name = ''
67
+ name << @first
67
68
  name << ' ' if @first.length > 0 && @last.length > 0
68
69
  name << @last
69
70
  name
70
71
  end
71
72
 
72
73
  def rname
73
- name = @last
74
+ name = ''
75
+ name << @last
74
76
  name << ', ' if @first.length > 0 && @last.length > 0
75
77
  name << @first
76
78
  name
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sanichi-chess_icu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Orr