nameable 0.1 → 0.1.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 (4) hide show
  1. data/README +8 -0
  2. data/Rakefile +1 -1
  3. data/nameable.gemspec +2 -2
  4. metadata +4 -3
data/README CHANGED
@@ -7,7 +7,15 @@ References: http://www.onlineaspect.com/2009/08/17/splitting-names/
7
7
 
8
8
  require "nameable"
9
9
 
10
+ n = Nameable::Latin.new.parse("Mr. Chris K Horn Esquire")
10
11
 
12
+ puts n.prefix
13
+ puts n.first
14
+ puts n.middle
15
+ puts n.last
16
+ puts n.suffix
17
+
18
+ puts n.to_fullname
11
19
 
12
20
 
13
21
  -chorn
data/Rakefile CHANGED
@@ -9,7 +9,7 @@ GEM_VERSION = "0.1.0"
9
9
  AUTHOR = "Chris Horn"
10
10
  EMAIL = "chorn@chorn.com"
11
11
  HOMEPAGE = "http://github.com/chorn/nameable"
12
- SUMMARY = "A gem that provides parsing and output of phone numbers according to NANPA standards."
12
+ SUMMARY = "A ruby library to parse people names into parts and reformat them."
13
13
 
14
14
  spec = Gem::Specification.new do |s|
15
15
  s.name = GEM
data/nameable.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "nameable"
3
- s.version = "0.1"
4
- s.date = "2010-06-23"
3
+ s.version = "0.1.1"
4
+ s.date = "2010-06-28"
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,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nameable
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- version: "0.1"
9
+ - 1
10
+ version: 0.1.1
10
11
  platform: ruby
11
12
  authors:
12
13
  - Chris Horn
@@ -14,7 +15,7 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-06-23 00:00:00 -04:00
18
+ date: 2010-06-28 00:00:00 -04:00
18
19
  default_executable:
19
20
  dependencies: []
20
21