nameable 0.4.0 → 0.4.1

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.
Files changed (3) hide show
  1. data/lib/nameable.rb +3 -3
  2. data/nameable.gemspec +2 -2
  3. metadata +2 -2
data/lib/nameable.rb CHANGED
@@ -26,9 +26,9 @@ module Nameable
26
26
  }
27
27
 
28
28
  SUFFIX = {
29
- "Sr." => /^\(*(sr\.|senior)\)*$/i,
30
- "Jr." => /^\(*(jr\.|junior)\)*$/i,
31
- "Esq." => /^\(*(esq\.|esquire)\)*$/i,
29
+ "Sr." => /^\(*(sr\.?|senior)\)*$/i,
30
+ "Jr." => /^\(*(jr\.?|junior)\)*$/i,
31
+ "Esq." => /^\(*(esq\.?|esquire)\)*$/i,
32
32
  "Ph.D." => /^\(*(phd\.?)\)*$/i
33
33
  }
34
34
 
data/nameable.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "nameable"
3
- s.version = "0.4.0"
4
- s.date = "2012-01-18"
3
+ s.version = "0.4.1"
4
+ s.date = "2012-01-23"
5
5
  s.summary = "Provides parsing and output of person names."
6
6
  s.email = "chorn@chorn.com"
7
7
  s.homepage = "http://github.com/chorn/nameable"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nameable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-18 00:00:00.000000000 Z
12
+ date: 2012-01-23 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: A gem that provides parsing and output of person names.
15
15
  email: chorn@chorn.com