randomperson 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,5 @@
1
+ v0.0.7 All Basque names added.
2
+
1
3
  v0.0.6 Added ancient Greek names. Improved default method call for formats.
2
4
 
3
5
  v0.0.5 Moved into new dir structure to avoid filename collisions in LOAD_PATH. Greatly improved American names.
data/Manifest CHANGED
@@ -15,7 +15,9 @@ lib/randomperson/Names/AncientGreekFemaleFirst.rb
15
15
  lib/randomperson/Names/AncientGreekLast.rb
16
16
  lib/randomperson/Names/AncientGreekMaleFirst.rb
17
17
  lib/randomperson/Names/AnyLast.rb
18
+ lib/randomperson/Names/BasqueFemaleFirst.rb
18
19
  lib/randomperson/Names/BasqueLast.rb
20
+ lib/randomperson/Names/BasqueMaleFirst.rb
19
21
  lib/randomperson/Names/BritishPrefix.rb
20
22
  lib/randomperson/Names/BritishSuffix.rb
21
23
  lib/randomperson/Names/EnglishFemaleFirst.rb
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ require 'echoe'
5
5
  lib_dir = File.expand_path('lib')
6
6
  test_dir = File.expand_path('t')
7
7
 
8
- Echoe.new('randomperson', '0.0.6') do |p|
8
+ Echoe.new('randomperson', '0.0.7') do |p|
9
9
  p.description = "A gem for generating random persons"
10
10
  p.url = "http://github.com/yb66/RandomPerson"
11
11
  p.author = "Iain Barnett"
@@ -0,0 +1,23 @@
1
+ # coding: utf-8
2
+ module RandomPerson
3
+ module Names
4
+
5
+ class BasqueFemaleFirst < Name
6
+
7
+ def initialize
8
+ @formats = {
9
+ :single => ->(n){ n.rand },
10
+ }
11
+
12
+ @formats_ratiod = [ 0..99 ]
13
+ setupnames
14
+ end
15
+
16
+ def setupnames
17
+ @names = %w{ Agurtzane Ainhoa Aintzane Alazne Alize Amaia Ametza Andere Angelu Apala Argi Arima Arrosa Artizar Berezi Bihotz Catalin Dominica Edurne Elizabete Eneca Fede Gotzone Graciosa Guerechene Iñiga Katerin Kattalin Lide Lili Maitagarri Maite Maitea Margaita Mirari Therese Udaberri Ximena Yuana Zaballa Zeru Zurina Zuriñe }
18
+ end
19
+
20
+ end
21
+ end
22
+ end
23
+
@@ -7,7 +7,7 @@ module RandomPerson
7
7
 
8
8
  def initialize
9
9
  @formats = {
10
- :double_barrelled => ->(n){ n.rand + ' ' + n.rand },
10
+ :double_barrelled => ->(n){ n.rand + ' ' + n.rand },
11
11
  }
12
12
 
13
13
  @formats_ratiod = [ 0..99 ]
@@ -0,0 +1,22 @@
1
+ # coding: utf-8
2
+ module RandomPerson
3
+ module Names
4
+
5
+ class BasqueMaleFirst < Name
6
+
7
+ def initialize
8
+ @formats = {
9
+ :single => ->(n){ n.rand },
10
+ }
11
+
12
+ @formats_ratiod = [ 0..99 ]
13
+ setupnames
14
+ end
15
+
16
+ def setupnames
17
+ @names = %w{ Abarron Aingeru Aïtor Alesander Ander Antton Apal Aresti Asentzio Balendin Barea Basa-Jaun Belasco Beñat Bernat Bingen Bittor Bixente Danel Domeka Edorta Edrigu Ekaitz Elazar Eli Endika Eneco Erramun Estebe Gabirel Gaizka Gero Gorka Gotzon Guerechen Imanol Iñigo Ion Izar Jakome Joanes Jokin Joseba Julen Koldo Koldobika Lertxun Lizardi Markel Marko Mattin Mikel Mitxel Nikola Patxi Paulo Salbatore Sendoa Todor Tubal Txomin Umea Xabier Xalbador Xarles Xaviar Xavier Xemen Ximun Yorge Yuli Zeru Zigor Zuhaitz Zuri }
18
+ end
19
+
20
+ end
21
+ end
22
+ end
data/randomperson.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{randomperson}
5
- s.version = "0.0.6"
5
+ s.version = "0.0.7"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Iain Barnett"]
@@ -10,8 +10,8 @@ Gem::Specification.new do |s|
10
10
  s.date = %q{2010-08-25}
11
11
  s.description = %q{A gem for generating random persons}
12
12
  s.email = %q{iainspeed @nospam@ gmail.com}
13
- s.extra_rdoc_files = ["CHANGELOG", "README", "lib/randomperson.rb", "lib/randomperson/Choice.rb", "lib/randomperson/Generator.rb", "lib/randomperson/Name.rb", "lib/randomperson/Names/AmericanFemaleFirst.rb", "lib/randomperson/Names/AmericanLast.rb", "lib/randomperson/Names/AmericanMaleFirst.rb", "lib/randomperson/Names/AmericanSuffix.rb", "lib/randomperson/Names/AncientGreekFemaleFirst.rb", "lib/randomperson/Names/AncientGreekLast.rb", "lib/randomperson/Names/AncientGreekMaleFirst.rb", "lib/randomperson/Names/AnyLast.rb", "lib/randomperson/Names/BasqueLast.rb", "lib/randomperson/Names/BritishPrefix.rb", "lib/randomperson/Names/BritishSuffix.rb", "lib/randomperson/Names/EnglishFemaleFirst.rb", "lib/randomperson/Names/EnglishLast.rb", "lib/randomperson/Names/EnglishMaleFirst.rb", "lib/randomperson/Names/ScottishFemaleFirst.rb", "lib/randomperson/Names/ScottishLast.rb", "lib/randomperson/Names/ScottishMaleFirst.rb", "lib/randomperson/Names/SpanishFemaleFirst.rb", "lib/randomperson/Names/SpanishLast.rb", "lib/randomperson/Names/SpanishMaleFirst.rb", "lib/randomperson/Names/SwedishFemaleFirst.rb", "lib/randomperson/Names/SwedishLast.rb", "lib/randomperson/Names/SwedishMaleFirst.rb", "lib/randomperson/Names/ThaiFirst.rb", "lib/randomperson/Names/ThaiRomanisedFemaleFirst.rb", "lib/randomperson/Names/ThaiRomanisedLast.rb", "lib/randomperson/Names/ThaiRomanisedMaleFirst.rb", "lib/randomperson/Names/WelshFemaleFirst.rb", "lib/randomperson/Names/WelshLast.rb", "lib/randomperson/Names/WelshMaleFirst.rb", "lib/randomperson/Person.rb", "lib/randomperson/Ratio.rb", "lib/randomperson/ext/Array.rb", "lib/randomperson/ext/Date.rb", "lib/randomperson/ext/Enumerable.rb", "lib/randomperson/ext/Hash.rb", "lib/randomperson/ext/Kernel.rb", "lib/randomperson/ext/Set.rb"]
14
- s.files = ["CHANGELOG", "Manifest", "README", "Rakefile", "gem-public_cert.pem", "lib/randomperson.rb", "lib/randomperson/Choice.rb", "lib/randomperson/Generator.rb", "lib/randomperson/Name.rb", "lib/randomperson/Names/AmericanFemaleFirst.rb", "lib/randomperson/Names/AmericanLast.rb", "lib/randomperson/Names/AmericanMaleFirst.rb", "lib/randomperson/Names/AmericanSuffix.rb", "lib/randomperson/Names/AncientGreekFemaleFirst.rb", "lib/randomperson/Names/AncientGreekLast.rb", "lib/randomperson/Names/AncientGreekMaleFirst.rb", "lib/randomperson/Names/AnyLast.rb", "lib/randomperson/Names/BasqueLast.rb", "lib/randomperson/Names/BritishPrefix.rb", "lib/randomperson/Names/BritishSuffix.rb", "lib/randomperson/Names/EnglishFemaleFirst.rb", "lib/randomperson/Names/EnglishLast.rb", "lib/randomperson/Names/EnglishMaleFirst.rb", "lib/randomperson/Names/ScottishFemaleFirst.rb", "lib/randomperson/Names/ScottishLast.rb", "lib/randomperson/Names/ScottishMaleFirst.rb", "lib/randomperson/Names/SpanishFemaleFirst.rb", "lib/randomperson/Names/SpanishLast.rb", "lib/randomperson/Names/SpanishMaleFirst.rb", "lib/randomperson/Names/SwedishFemaleFirst.rb", "lib/randomperson/Names/SwedishLast.rb", "lib/randomperson/Names/SwedishMaleFirst.rb", "lib/randomperson/Names/ThaiFirst.rb", "lib/randomperson/Names/ThaiRomanisedFemaleFirst.rb", "lib/randomperson/Names/ThaiRomanisedLast.rb", "lib/randomperson/Names/ThaiRomanisedMaleFirst.rb", "lib/randomperson/Names/WelshFemaleFirst.rb", "lib/randomperson/Names/WelshLast.rb", "lib/randomperson/Names/WelshMaleFirst.rb", "lib/randomperson/Person.rb", "lib/randomperson/Ratio.rb", "lib/randomperson/ext/Array.rb", "lib/randomperson/ext/Date.rb", "lib/randomperson/ext/Enumerable.rb", "lib/randomperson/ext/Hash.rb", "lib/randomperson/ext/Kernel.rb", "lib/randomperson/ext/Set.rb", "t/Generator.t", "randomperson.gemspec"]
13
+ s.extra_rdoc_files = ["CHANGELOG", "README", "lib/randomperson.rb", "lib/randomperson/Choice.rb", "lib/randomperson/Generator.rb", "lib/randomperson/Name.rb", "lib/randomperson/Names/AmericanFemaleFirst.rb", "lib/randomperson/Names/AmericanLast.rb", "lib/randomperson/Names/AmericanMaleFirst.rb", "lib/randomperson/Names/AmericanSuffix.rb", "lib/randomperson/Names/AncientGreekFemaleFirst.rb", "lib/randomperson/Names/AncientGreekLast.rb", "lib/randomperson/Names/AncientGreekMaleFirst.rb", "lib/randomperson/Names/AnyLast.rb", "lib/randomperson/Names/BasqueFemaleFirst.rb", "lib/randomperson/Names/BasqueLast.rb", "lib/randomperson/Names/BasqueMaleFirst.rb", "lib/randomperson/Names/BritishPrefix.rb", "lib/randomperson/Names/BritishSuffix.rb", "lib/randomperson/Names/EnglishFemaleFirst.rb", "lib/randomperson/Names/EnglishLast.rb", "lib/randomperson/Names/EnglishMaleFirst.rb", "lib/randomperson/Names/ScottishFemaleFirst.rb", "lib/randomperson/Names/ScottishLast.rb", "lib/randomperson/Names/ScottishMaleFirst.rb", "lib/randomperson/Names/SpanishFemaleFirst.rb", "lib/randomperson/Names/SpanishLast.rb", "lib/randomperson/Names/SpanishMaleFirst.rb", "lib/randomperson/Names/SwedishFemaleFirst.rb", "lib/randomperson/Names/SwedishLast.rb", "lib/randomperson/Names/SwedishMaleFirst.rb", "lib/randomperson/Names/ThaiFirst.rb", "lib/randomperson/Names/ThaiRomanisedFemaleFirst.rb", "lib/randomperson/Names/ThaiRomanisedLast.rb", "lib/randomperson/Names/ThaiRomanisedMaleFirst.rb", "lib/randomperson/Names/WelshFemaleFirst.rb", "lib/randomperson/Names/WelshLast.rb", "lib/randomperson/Names/WelshMaleFirst.rb", "lib/randomperson/Person.rb", "lib/randomperson/Ratio.rb", "lib/randomperson/ext/Array.rb", "lib/randomperson/ext/Date.rb", "lib/randomperson/ext/Enumerable.rb", "lib/randomperson/ext/Hash.rb", "lib/randomperson/ext/Kernel.rb", "lib/randomperson/ext/Set.rb"]
14
+ s.files = ["CHANGELOG", "Manifest", "README", "Rakefile", "gem-public_cert.pem", "lib/randomperson.rb", "lib/randomperson/Choice.rb", "lib/randomperson/Generator.rb", "lib/randomperson/Name.rb", "lib/randomperson/Names/AmericanFemaleFirst.rb", "lib/randomperson/Names/AmericanLast.rb", "lib/randomperson/Names/AmericanMaleFirst.rb", "lib/randomperson/Names/AmericanSuffix.rb", "lib/randomperson/Names/AncientGreekFemaleFirst.rb", "lib/randomperson/Names/AncientGreekLast.rb", "lib/randomperson/Names/AncientGreekMaleFirst.rb", "lib/randomperson/Names/AnyLast.rb", "lib/randomperson/Names/BasqueFemaleFirst.rb", "lib/randomperson/Names/BasqueLast.rb", "lib/randomperson/Names/BasqueMaleFirst.rb", "lib/randomperson/Names/BritishPrefix.rb", "lib/randomperson/Names/BritishSuffix.rb", "lib/randomperson/Names/EnglishFemaleFirst.rb", "lib/randomperson/Names/EnglishLast.rb", "lib/randomperson/Names/EnglishMaleFirst.rb", "lib/randomperson/Names/ScottishFemaleFirst.rb", "lib/randomperson/Names/ScottishLast.rb", "lib/randomperson/Names/ScottishMaleFirst.rb", "lib/randomperson/Names/SpanishFemaleFirst.rb", "lib/randomperson/Names/SpanishLast.rb", "lib/randomperson/Names/SpanishMaleFirst.rb", "lib/randomperson/Names/SwedishFemaleFirst.rb", "lib/randomperson/Names/SwedishLast.rb", "lib/randomperson/Names/SwedishMaleFirst.rb", "lib/randomperson/Names/ThaiFirst.rb", "lib/randomperson/Names/ThaiRomanisedFemaleFirst.rb", "lib/randomperson/Names/ThaiRomanisedLast.rb", "lib/randomperson/Names/ThaiRomanisedMaleFirst.rb", "lib/randomperson/Names/WelshFemaleFirst.rb", "lib/randomperson/Names/WelshLast.rb", "lib/randomperson/Names/WelshMaleFirst.rb", "lib/randomperson/Person.rb", "lib/randomperson/Ratio.rb", "lib/randomperson/ext/Array.rb", "lib/randomperson/ext/Date.rb", "lib/randomperson/ext/Enumerable.rb", "lib/randomperson/ext/Hash.rb", "lib/randomperson/ext/Kernel.rb", "lib/randomperson/ext/Set.rb", "t/Generator.t", "randomperson.gemspec"]
15
15
  s.homepage = %q{http://github.com/yb66/RandomPerson}
16
16
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Randomperson", "--main", "README"]
17
17
  s.require_paths = ["lib"]
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 6
9
- version: 0.0.6
8
+ - 7
9
+ version: 0.0.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - Iain Barnett
@@ -60,7 +60,9 @@ extra_rdoc_files:
60
60
  - lib/randomperson/Names/AncientGreekLast.rb
61
61
  - lib/randomperson/Names/AncientGreekMaleFirst.rb
62
62
  - lib/randomperson/Names/AnyLast.rb
63
+ - lib/randomperson/Names/BasqueFemaleFirst.rb
63
64
  - lib/randomperson/Names/BasqueLast.rb
65
+ - lib/randomperson/Names/BasqueMaleFirst.rb
64
66
  - lib/randomperson/Names/BritishPrefix.rb
65
67
  - lib/randomperson/Names/BritishSuffix.rb
66
68
  - lib/randomperson/Names/EnglishFemaleFirst.rb
@@ -108,7 +110,9 @@ files:
108
110
  - lib/randomperson/Names/AncientGreekLast.rb
109
111
  - lib/randomperson/Names/AncientGreekMaleFirst.rb
110
112
  - lib/randomperson/Names/AnyLast.rb
113
+ - lib/randomperson/Names/BasqueFemaleFirst.rb
111
114
  - lib/randomperson/Names/BasqueLast.rb
115
+ - lib/randomperson/Names/BasqueMaleFirst.rb
112
116
  - lib/randomperson/Names/BritishPrefix.rb
113
117
  - lib/randomperson/Names/BritishSuffix.rb
114
118
  - lib/randomperson/Names/EnglishFemaleFirst.rb
metadata.gz.sig CHANGED
@@ -1 +1,2 @@
1
- t9- Lp����<�9�;���<����iTKB(��?x�K
1
+ q"������H�ؼ˜/�#�H�����s��f����L����[��-�Z�*�������?��N��lW���_��z���(b9��������(7�]Bm4 �[H�'�?�7r����pp���K�^��+�N^��\u� �=̂e�<�%����0�\���XMPH�=���]���.B� �҈��=�����p���*Z�-@���~���a��Y
2
+ ��ې��'eΥ�����|�>6�=�X�J�/