nameable 0.1.1 → 0.1.2

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.rdoc +21 -0
  2. data/nameable.gemspec +1 -2
  3. metadata +3 -4
  4. data/README +0 -21
@@ -1,3 +1,24 @@
1
1
  == nameable
2
2
 
3
3
  A gem that provides parsing and output of people's names.
4
+
5
+ A person's name is trivial when you validate the input at data entry
6
+ time. That is not always possible, and for my enterprise it is almost
7
+ never possible.
8
+
9
+ References: http://www.onlineaspect.com/2009/08/17/splitting-names/
10
+
11
+ require "nameable"
12
+
13
+ n = Nameable::Latin.new.parse("Mr. Chris K Horn Esquire")
14
+
15
+ puts n.prefix
16
+ puts n.first
17
+ puts n.middle
18
+ puts n.last
19
+ puts n.suffix
20
+
21
+ puts n.to_fullname
22
+
23
+
24
+ -chorn
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "nameable"
3
- s.version = "0.1.1"
3
+ s.version = "0.1.2"
4
4
  s.date = "2010-06-28"
5
5
  s.summary = "Provides parsing and output of person names."
6
6
  s.email = "chorn@chorn.com"
@@ -9,7 +9,6 @@ Gem::Specification.new do |s|
9
9
  s.has_rdoc = true
10
10
  s.authors = ["Chris Horn"]
11
11
  s.files = [ "LICENSE",
12
- "README",
13
12
  "README.rdoc",
14
13
  "Rakefile",
15
14
  "TODO",
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nameable
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Chris Horn
@@ -29,7 +29,6 @@ extra_rdoc_files: []
29
29
 
30
30
  files:
31
31
  - LICENSE
32
- - README
33
32
  - README.rdoc
34
33
  - Rakefile
35
34
  - TODO
data/README DELETED
@@ -1,21 +0,0 @@
1
-
2
- A person's name is trivial when you validate the input at data entry
3
- time. That is not always possible, and for my enterprise it is almost
4
- never possible.
5
-
6
- References: http://www.onlineaspect.com/2009/08/17/splitting-names/
7
-
8
- require "nameable"
9
-
10
- n = Nameable::Latin.new.parse("Mr. Chris K Horn Esquire")
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
19
-
20
-
21
- -chorn