randomperson 1.0.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. data/.gitignore +5 -0
  2. data/.rspec +2 -0
  3. data/.travis.yml +9 -0
  4. data/{CHANGELOG → CHANGELOG.md} +11 -0
  5. data/Gemfile +4 -0
  6. data/README.markdown +10 -13
  7. data/Rakefile +15 -12
  8. data/lib/randomperson/demographic.rb +36 -19
  9. data/lib/randomperson/ext/{Array.rb → array.rb} +0 -5
  10. data/lib/randomperson/ext/date.rb +13 -0
  11. data/lib/randomperson/ext/{Enumerable.rb → enumerable.rb} +0 -0
  12. data/lib/randomperson/ext/{Hash.rb → hash.rb} +0 -0
  13. data/lib/randomperson/ext/{Kernel.rb → kernel.rb} +0 -0
  14. data/lib/randomperson/ext/set.rb +13 -0
  15. data/lib/randomperson/generator.rb +10 -3
  16. data/lib/randomperson/{Loader.rb → loader.rb} +7 -4
  17. data/lib/randomperson/name.rb +2 -1
  18. data/lib/randomperson/{Names/AmericanFemaleFirst.rb → names/american-female-first.rb} +2 -2
  19. data/lib/randomperson/{Names/AmericanLast.rb → names/american-last.rb} +4 -4
  20. data/lib/randomperson/{Names/AmericanMaleFirst.rb → names/american-male-first.rb} +2 -3
  21. data/lib/randomperson/{Names/AmericanPrefix.rb → names/american-prefix.rb} +1 -1
  22. data/lib/randomperson/{Names/AmericanSuffix.rb → names/american-suffix.rb} +1 -1
  23. data/lib/randomperson/{Names/AncientGreekFemaleFirst.rb → names/ancient-greek-female-first.rb} +2 -2
  24. data/lib/randomperson/{Names/AncientGreekLast.rb → names/ancient-greek-last.rb} +2 -2
  25. data/lib/randomperson/{Names/AncientGreekMaleFirst.rb → names/ancient-greek-male-first.rb} +2 -2
  26. data/lib/randomperson/names/any-last.rb +25 -0
  27. data/lib/randomperson/{Names/BasqueFemaleFirst.rb → names/basque-female-first.rb} +2 -2
  28. data/lib/randomperson/names/basque-last.rb +24 -0
  29. data/lib/randomperson/{Names/BasqueMaleFirst.rb → names/basque-male-first.rb} +2 -2
  30. data/lib/randomperson/{Names/BritishPrefix.rb → names/british-prefix.rb} +1 -1
  31. data/lib/randomperson/{Names/BritishSuffix.rb → names/british-suffix.rb} +1 -1
  32. data/lib/randomperson/{Names/EnglishFemaleFirst.rb → names/english-female-first.rb} +2 -2
  33. data/lib/randomperson/{Names/EnglishLast.rb → names/english-last.rb} +3 -3
  34. data/lib/randomperson/{Names/EnglishMaleFirst.rb → names/english-male-first.rb} +2 -2
  35. data/lib/randomperson/{Names/EnglishPrefix.rb → names/english-prefix.rb} +1 -1
  36. data/lib/randomperson/{Names/FinnishFemaleFirst.rb → names/finnish-female-first.rb} +2 -2
  37. data/lib/randomperson/{Names/FinnishLast.rb → names/finnish-last.rb} +2 -2
  38. data/lib/randomperson/{Names/FinnishMaleFirst.rb → names/finnish-male-first.rb} +2 -2
  39. data/lib/randomperson/{Names/FinnishPrefix.rb → names/finnish-prefix.rb} +1 -1
  40. data/lib/randomperson/{Names/FrenchFemaleFirst.rb → names/french-female-first.rb} +3 -3
  41. data/lib/randomperson/{Names/FrenchLast.rb → names/french-last.rb} +5 -5
  42. data/lib/randomperson/{Names/FrenchMaleFirst.rb → names/french-male-first.rb} +3 -3
  43. data/lib/randomperson/{Names/GermanFemaleFirst.rb → names/german-female-first.rb} +2 -2
  44. data/lib/randomperson/{Names/GermanLast.rb → names/german-last.rb} +2 -2
  45. data/lib/randomperson/{Names/GermanMaleFirst.rb → names/german-male-first.rb} +2 -2
  46. data/lib/randomperson/{Names/ScottishFemaleFirst.rb → names/scottish-female-first.rb} +2 -2
  47. data/lib/randomperson/{Names/ScottishLast.rb → names/scottish-last.rb} +3 -3
  48. data/lib/randomperson/{Names/ScottishMaleFirst.rb → names/scottish-male-first.rb} +2 -2
  49. data/lib/randomperson/{Names/ScottishPrefix.rb → names/scottish-prefix.rb} +1 -1
  50. data/lib/randomperson/names/spanish-female-first.rb +23 -0
  51. data/lib/randomperson/{Names/SpanishLast.rb → names/spanish-last.rb} +5 -5
  52. data/lib/randomperson/names/spanish-male-first.rb +24 -0
  53. data/lib/randomperson/{Names/SpanishPrefix.rb → names/spanish-prefix.rb} +1 -1
  54. data/lib/randomperson/{Names/SwedishFemaleFirst.rb → names/swedish-female-first.rb} +2 -2
  55. data/lib/randomperson/names/swedish-last.rb +24 -0
  56. data/lib/randomperson/{Names/SwedishMaleFirst.rb → names/swedish-male-first.rb} +2 -2
  57. data/lib/randomperson/{Names/ThaiFemaleFirst.rb → names/thai-female-first.rb} +2 -2
  58. data/lib/randomperson/{Names/ThaiFirst.rb → names/thai-first.rb} +2 -2
  59. data/lib/randomperson/{Names/ThaiLast.rb → names/thai-last.rb} +2 -2
  60. data/lib/randomperson/{Names/ThaiMaleFirst.rb → names/thai-male-first.rb} +2 -2
  61. data/lib/randomperson/{Names/ThaiRomanisedFemaleFirst.rb → names/thai-romanised-female-first.rb} +2 -2
  62. data/lib/randomperson/{Names/ThaiRomanisedLast.rb → names/thai-romanised-last.rb} +3 -3
  63. data/lib/randomperson/{Names/ThaiRomanisedMaleFirst.rb → names/thai-romanised-male-first.rb} +2 -2
  64. data/lib/randomperson/{Names/WelshFemaleFirst.rb → names/welsh-female-first.rb} +2 -2
  65. data/lib/randomperson/{Names/WelshLast.rb → names/welsh-last.rb} +3 -3
  66. data/lib/randomperson/{Names/WelshMaleFirst.rb → names/welsh-male-first.rb} +2 -2
  67. data/lib/randomperson/{Names/WelshPrefix.rb → names/welsh-prefix.rb} +2 -2
  68. data/lib/randomperson/{Outputter.rb → outputter.rb} +0 -0
  69. data/lib/randomperson/version.rb +1 -1
  70. data/lib/randomperson.rb +6 -6
  71. data/randomperson.gemspec +18 -16
  72. data/spec/{AnyLast_spec.rb → any-last_spec.rb} +2 -2
  73. data/spec/array_spec.rb +1 -12
  74. data/spec/demographic_spec.rb +30 -3
  75. data/spec/generator_spec.rb +1 -1
  76. data/spec/{Last_and_First_Names_spec.rb → last_and_first_names_spec.rb} +2 -2
  77. data/spec/name_spec.rb +1 -1
  78. data/spec/randomperson_spec.rb +1 -1
  79. data/spec/spec_helper.rb +33 -0
  80. metadata +172 -116
  81. data/lib/randomperson/Names/AnyLast.rb +0 -25
  82. data/lib/randomperson/Names/BasqueLast.rb +0 -24
  83. data/lib/randomperson/Names/SpanishFemaleFirst.rb +0 -23
  84. data/lib/randomperson/Names/SpanishMaleFirst.rb +0 -24
  85. data/lib/randomperson/Names/SwedishLast.rb +0 -24
  86. data/lib/randomperson/ext/Date.rb +0 -6
  87. data/lib/randomperson/ext/Set.rb +0 -7
  88. data/spec/AmericanSuffix_spec.rb +0 -37
  89. data/spec/rspec_helper.rb +0 -22
  90. data.tar.gz.sig +0 -0
  91. metadata.gz.sig +0 -2
@@ -1,7 +1,6 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  require_relative "../name.rb"
4
- require_relative "../ext/Array.rb"
5
4
 
6
5
  module RandomPerson
7
6
  module Names
@@ -11,12 +10,13 @@ module RandomPerson
11
10
  def initialize
12
11
  @names = Names
13
12
  @formats = [
14
- ->(n){ n.rand },
13
+ ->(n){ n.sample },
15
14
  ]
16
15
  @formats_ratiod = [ 0..99 ]
17
16
  super
18
17
  end
19
18
 
19
+ # @private
20
20
  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 }
21
21
 
22
22
  end
@@ -0,0 +1,24 @@
1
+ # encoding: UTF-8
2
+
3
+ require_relative "../name.rb"
4
+
5
+ module RandomPerson
6
+ module Names
7
+
8
+ class BasqueLast < Name
9
+
10
+ def initialize
11
+ @names = Names
12
+ @formats = [
13
+ ->(n){ n.sample + ' ' + n.sample },
14
+ ]
15
+ @formats_ratiod = [ 0..99 ]
16
+ super
17
+ end
18
+
19
+ # @private
20
+ Names = %w{ Agirre Aguirre Alberdi Allende Alsogaray Alurralde Amézaga Arana Aráoz Araya Archuleta Arismendi Armendáriz Arriaga Arrieta Ayala Ayala Azcárraga Azcárate Azua Barrios Bengoechea Bolívar Buenechea Caínzos Camus Cano Caro Carranza Carrera Duhalde Echenique Echevarria Echeverría Elissalde Elizalde Elizondo Esparza Esquivel Etcheverry Etxeberria Eyzaguirre Garay García Garmendia Goicoechea Gorostiaga Goya Goyeneche Ibarra Landa Larraín Loyola Mendieta Mendoza Montoya Mujica Murua Ochoa Oñate Orozco Palacio Salazar Saldívar Solano Ugalde Ugarte Urbina Uribe Urquiza Urrutia Ursúa Velasco Vergara Vizcaino Vizcarra Xavier Ybarra Zabala Zaldívar Zavaleta Zúñiga Zurita }
21
+ end
22
+ end
23
+ end
24
+
@@ -1,7 +1,6 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  require_relative "../name.rb"
4
- require_relative "../ext/Array.rb"
5
4
 
6
5
  module RandomPerson
7
6
  module Names
@@ -11,12 +10,13 @@ module RandomPerson
11
10
  def initialize
12
11
  @names = Names
13
12
  @formats = [
14
- ->(n){ n.rand },
13
+ ->(n){ n.sample },
15
14
  ]
16
15
  @formats_ratiod = [ 0..99 ]
17
16
  super
18
17
  end
19
18
 
19
+ # @private
20
20
  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 }
21
21
 
22
22
  end
@@ -1,13 +1,13 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  require_relative "../name.rb"
4
- require_relative "../ext/Array.rb"
5
4
 
6
5
  module RandomPerson
7
6
  module Names
8
7
 
9
8
  class BritishPrefix < Name
10
9
 
10
+ # @private
11
11
  Names = %w(Mr Dr Mrs Ms Miss)
12
12
 
13
13
  def initialize
@@ -1,13 +1,13 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  require_relative "../name.rb"
4
- require_relative "../ext/Array.rb"
5
4
 
6
5
  module RandomPerson
7
6
  module Names
8
7
 
9
8
  class BritishSuffix < Name
10
9
 
10
+ # @private
11
11
  Names = %w( OBE MBE GBE KBE DBE CBE JP GM PhD BSc BA )
12
12
 
13
13
  def initialize
@@ -1,7 +1,6 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  require_relative "../name.rb"
4
- require_relative "../ext/Array.rb"
5
4
 
6
5
  module RandomPerson
7
6
  module Names
@@ -11,12 +10,13 @@ module RandomPerson
11
10
  def initialize
12
11
  @names = Names
13
12
  @formats = [
14
- ->(n) { n.rand },
13
+ ->(n) { n.sample },
15
14
  ]
16
15
  @formats_ratiod = [ (0..99) ]
17
16
  super
18
17
  end
19
18
 
19
+ # @private
20
20
  Names = %w{ Aimee Aleksandra Alice Alicia Allison Alyssa Amy Andrea Angel Angela Ann Anna Anne Annie Ashley Barbara Beatrice Beth Betty Brenda Brooke Candace Cara Caren Carol Caroline Carolyn Carrie Cassandra Catherine Charlotte Chrissy Christen Christina Christine Christy Claire Claudia Courtney Crystal Cynthia Dana Danielle Deanne Deborah Deirdre Denise Diane Dianne Dorothy Eileen Elena Elizabeth Emily Erica Erin Frances Gina Giulietta Heather Helen Jane Janet Janice Jenna Jennifer Jessica Joanna Joyce Julia Juliana Julie Justine Kara Karen Katharine Katherine Kathleen Kathryn Katrina Kelly Kerry Kim Kimberly Kristen Kristina Kristine Laura Laurel Lauren Laurie Leah Linda Lisa Lori Marcia Margaret Maria Marie Marina Marisa Martha Mary Maya Melanie Melissa Michelle Monica Nancy Natalie Nicole Nina Pamela Patricia Rachel Rebecca Renee Sandra Sara Sharon Sheri Shirley Sonia Stefanie Stephanie Susan Suzanne Sylvia Tamara Tara Tatiana Terri Theresa Tiffany Tracy Valerie Veronica Vicky Vivian Wendy }
21
21
  end
22
22
  end
@@ -1,7 +1,6 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  require_relative "../name.rb"
4
- require_relative "../ext/Array.rb"
5
4
 
6
5
  module RandomPerson
7
6
  module Names
@@ -11,13 +10,14 @@ module RandomPerson
11
10
  def initialize
12
11
  @names = Names
13
12
  @formats = [
14
- ->(n) { n.rand },
15
- ->(n) { n.rand + '-' + n.rand },
13
+ ->(n) { n.sample },
14
+ ->(n) { n.sample + '-' + n.sample },
16
15
  ]
17
16
  @formats_ratiod = [ 0..96, 97..99 ]
18
17
  super
19
18
  end
20
19
 
20
+ # @private
21
21
  Names = %w{ Smith Brown Taylor Johnson Walker Wright Robinson Thompson White Green Hall Wood Harris Martin Jackson Clarke Clark Turner Hill Cooper Ward Moore King Watson Baker Harrison Young Allen Mitchell Anderson Lee Bell Parker Davis Bennett Miller Cook Shaw Richardson Carter Collins Marshall Bailey Gray Cox Adams Wilkinson Foster Chapman Mason Russell Webb Rogers Hunt Mills Holmes Palmer Matthews Fisher Barnes Knight Harvey Barker Butler Jenkins Stevens Pearson Dixon Fletcher Hunter Howard Andrews Reynolds Elliott Fox Ford Saunders Payne West Day Pearce Brooks Bradley Dawson Walsh Lawrence Cole Atkinson Ball Spencer Armstrong Burton Booth Rose Webster Williamson Watts Hart Burns Wells }
22
22
  end
23
23
  end
@@ -1,7 +1,6 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  require_relative "../name.rb"
4
- require_relative "../ext/Array.rb"
5
4
 
6
5
  module RandomPerson
7
6
  module Names
@@ -11,12 +10,13 @@ module RandomPerson
11
10
  def initialize
12
11
  @names = Names
13
12
  @formats = [
14
- ->(n) { n.rand },
13
+ ->(n) { n.sample },
15
14
  ]
16
15
  @formats_ratiod = [ (0..99) ]
17
16
  super
18
17
  end
19
18
 
19
+ # @private
20
20
  Names = %w{ Jack Oliver Charlie Harry Alfie Thomas Joshua William James Daniel George Ethan Lewis Max Lucas Dylan Archie Joseph Jacob Samuel Liam Callum Oscar Jayden Logan Ryan Jake Tyler Riley Luke Harvey Ben Adam Alexander Benjamin Leo Matthew Noah Connor Alex Jamie Harrison Mason Cameron Owen Henry Nathan Finley Aaron Freddie Isaac Sam Finlay Theo Harley Aiden Toby Edward Rhys Michael Evan Kyle Leon Reece David Kai Ashton Bailey Kian Louis Taylor Hayden Brandon Joe Jay Luca Kayden Ewan Joel Sebastian Zac Ellis Josh Aidan John Billy Zak Bradley Kieran Blake Christopher Morgan Caleb Louie Andrew Bobby Gabriel Robert Elliot Jude }
21
21
  end
22
22
  end
@@ -1,13 +1,13 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  require_relative "../name.rb"
4
- require_relative "../ext/Array.rb"
5
4
 
6
5
  module RandomPerson
7
6
  module Names
8
7
 
9
8
  class EnglishPrefix < Name
10
9
 
10
+ # @private
11
11
  Names = %w(Mr Dr Mrs Ms Miss )
12
12
 
13
13
  def initialize
@@ -1,7 +1,6 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  require_relative "../name.rb"
4
- require_relative "../ext/Array.rb"
5
4
 
6
5
  module RandomPerson
7
6
  module Names
@@ -11,13 +10,14 @@ module RandomPerson
11
10
  def initialize
12
11
  @names = Names
13
12
  @formats = [
14
- ->(n) { n.rand },
13
+ ->(n) { n.sample },
15
14
  ]
16
15
 
17
16
  @formats_ratiod = [ (0..99) ]
18
17
  super
19
18
  end
20
19
 
20
+ # @private
21
21
  Names = %w{ Aino Anna Anni Anneli Annikki Hannele Helena Inari Johanna Kaarina Liisa Maria Marjatta Riikka Selma Tuuli }
22
22
  end
23
23
  end
@@ -1,7 +1,6 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  require_relative "../name.rb"
4
- require_relative "../ext/Array.rb"
5
4
 
6
5
  module RandomPerson
7
6
  module Names
@@ -11,12 +10,13 @@ module RandomPerson
11
10
  def initialize
12
11
  @names = Names
13
12
  @formats = [
14
- ->(n) { n.rand }
13
+ ->(n) { n.sample }
15
14
  ]
16
15
  @formats_ratiod = [ (0..99) ]
17
16
  super
18
17
  end
19
18
 
19
+ # @private
20
20
  Names = %w( Heikkinen Hämäläinen Järvinen Korhonen Koskinen Laine Mäkelä Mäkinen Nieminen Virtanen )
21
21
 
22
22
  end
@@ -1,7 +1,6 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  require_relative "../name.rb"
4
- require_relative "../ext/Array.rb"
5
4
 
6
5
  module RandomPerson
7
6
  module Names
@@ -11,12 +10,13 @@ module RandomPerson
11
10
  def initialize
12
11
  @names = Names
13
12
  @formats = [
14
- ->(n) { n.rand },
13
+ ->(n) { n.sample },
15
14
  ]
16
15
  @formats_ratiod = [ (0..99) ]
17
16
  super
18
17
  end
19
18
 
19
+ # @private
20
20
  Names = %w{ Antero Ilmari Johannes Juhani Kalevi Matti Mikael Olavi Tapani Tapio }
21
21
  end
22
22
  end
@@ -1,13 +1,13 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  require_relative "../name.rb"
4
- require_relative "../ext/Array.rb"
5
4
 
6
5
  module RandomPerson
7
6
  module Names
8
7
 
9
8
  class FinnishPrefix < Name
10
9
 
10
+ # @private
11
11
  Names = %w(herra Dr rouva neiti)
12
12
 
13
13
  def initialize
@@ -1,7 +1,6 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  require_relative "../name.rb"
4
- require_relative "../ext/Array.rb"
5
4
 
6
5
  module RandomPerson
7
6
  module Names
@@ -11,13 +10,14 @@ module RandomPerson
11
10
  def initialize
12
11
  @names = Names
13
12
  @formats = [
14
- ->(n) { n.rand },
15
- ->(n) { n.rand + '-' + n.rand },
13
+ ->(n) { n.sample },
14
+ ->(n) { n.sample + '-' + n.sample },
16
15
  ]
17
16
  @formats_ratiod = [ 0..70, 71..99 ]
18
17
  super
19
18
  end
20
19
 
20
+ # @private
21
21
  Names = %w{ Adélaïde Adèle Adrienne Agathe Agnès Aimée Alexandri Alix Alice Amélie Anaï Anastasie Andrée Anne Anou Antoinette Arnaud Astri Audrey Auréli Aurore Bernadett Brigitte Camill Capucine Caroline Catherine Cécile Céline Chanta Charlotte Christell Christian Christine Claire Claude Claudine Clémence Colett Constance Corinn Danielle Denise Diane Dominique Dorothée Édith Éléonore Élisabeth Élise Élodi Émilie Emmanuelle Florence Françoise Frédérique Gabrielle Genevièv Hélène Henriette Hortens Inès Isabelle Jacqueline Jeanne Jeannine Joséphine Josett Julie Juliette Laetitia Laure Laurenc Lorraine Louise Luce Madeleine Mano Marcell Margaux Marguerite Margot Marianne Marie Marine Marthe Martin Marys Mathilde Michèle Monique Nathalie Nath Nicole Noémi Océan Odett Olivie Patricia Paulett Pauline Pénélope Philippin Renée Sabin Simon Sophie Stéphanie Susanne Sylvie Thérèse Valentine Valérie Véronique Victoire Virginie Zoé }
22
22
  end
23
23
  end
@@ -1,7 +1,6 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  require_relative "../name.rb"
4
- require_relative "../ext/Array.rb"
5
4
 
6
5
  module RandomPerson
7
6
  module Names
@@ -11,15 +10,16 @@ module RandomPerson
11
10
  def initialize
12
11
  @names = Names
13
12
  @formats = [
14
- ->(n) { n.rand },
15
- ->(n) { 'de ' + n.rand },
16
- ->(n) { 'du ' + n.rand },
17
- ->(n) { n.rand + '-' + n.rand },
13
+ ->(n) { n.sample },
14
+ ->(n) { 'de ' + n.sample },
15
+ ->(n) { 'du ' + n.sample },
16
+ ->(n) { n.sample + '-' + n.sample },
18
17
  ]
19
18
  @formats_ratiod = [ 0..79, 80..87, 88..96, 97..99 ]
20
19
  super
21
20
  end
22
21
 
22
+ # @private
23
23
  Names = %w{ Martin Bernard Thomas Petit Robert Richard Durand Dubois Moreau Laurent Simon Michel Lefebvre Leroy Roux David Bertrand Morel Fournier Girard Bonnet Dupont Lambert Fontaine Rousseau Vincent Muller Lefevre Faure Andre Mercier Blanc Guerin Boyer Garnier Chevalier Francois Legrand Gauthier Garcia Perrin Robin Clement Morin Nicolas Henry Roussel Mathieu Gautier Masson Marchand Duval Denis Dumont Marie Lemaire Noel Meyer Dufour Meunier Brun Blanchard Giraud Joly Riviere Lucas Brunet Gaillard Barbier Arnaud Martinez Gerard Roche Renard Schmitt Roy Leroux Colin Vidal Caron Picard Roger Fabre Aubert Lemoine Renaud Dumas Lacroix Olivier Philippe Bourgeois Pierre Benoit Rey Leclerc Payet Rolland Leclercq Guillaume Lecomte Lopez Jean Dupuy Guillot Hubert Berger Carpentier Sanchez Dupuis Moulin Louis Deschamps Huet Vasseur Perez Boucher Fleury Royer Klein Jacquet Adam Paris Poirier Marty Aubry Guyot Carre Charles Renault Charpentier Menard Maillard Baron Bertin Bailly Herve Schneider Fernandez Le\ Gall Collet Leger Bouvier Julien Prevost Millet Perrot Daniel Le\ Roux Cousin Germain Breton Besson Langlois Remy Le\ Goff Pelletier Leveque Perrier Leblanc Barre Lebrun Marchal Weber Mallet Hamon Boulanger Jacob Monnier Michaud Rodriguez Guichard Gillet Etienne Grondin Poulain Tessier Chevallier Collin Chauvin Da Silva Bouchet Gay Lemaitre Benard Marechal Humbert Reynaud Antoine Hoarau Perret Barthelemy Cordier Pichon Lejeune Gilbert Lamy Delaunay Pasquier Carlier Laporte Gros Buisson Ollivier Briand Alexandre Georges Guillou Besnard Legros Gonzalez Coulon Maillot Albert Camus Delattre Launay Hebert Lesage Blanchet Didier Voisin Pons Bousquet Coste Vallee Jacques Martel Maury Raynaud Barbe Pascal Bigot Verdier Charrier Sauvage Guillet Mahe Leduc Lelievre Gregoire Joubert Masse Delmas Morvan Lebreton Tanguy Pineau Lebon Gaudin Colas Imbert Paul Raymond Guillon Brunel Regnier Ferrand Hardy Devaux Courtois Bodin Chauvet Allard Blondel Laine Delorme Seguin Lenoir Berthelot Bonneau Pereira Thibault Lacombe Riou Lagarde Clerc Bruneau Godard Vaillant Couturier Gomez Jourdan Pages Valentin Lombard Mary Blin Texier Rossi Marion Allain Maurice Guilbert Baudry Dupre Marin Evrard Hoareau Turpin Bourdon Lefort Legendre Chartier Gilles Lacoste Loiseau Duhamel Laroche Ferreira Rousset Toussaint Wagner Fischer Normand Maillet Guibert Labbe Bazin Rocher Bonnin Merle Jacquot Grenier Valette Leconte Peltier Pruvost Auger Vallet Pottier Descamps Parent Boutin Potier Chauveau Martineau Hernandez Neveu Peron Delahaye Vial Blot Delage Lemonnier Petitjean Maurin Rodrigues Cros Lafon Faivre Chretien Fouquet Serre Favre Becker Foucher Guyon Joseph Mace Dos Santos Gallet Charbonnier Bouvet Salmon Le\ Corre Fernandes Bernier Rossignol Delannoy Levy Prigent Lecoq Thierry Cornu Girault Jourdain Begue Andrieu Maurel Ruiz Parmentier Guy Laborde Gras Goncalves Castel Gervais Boulay Chapuis Samson Duclos Dijoux Chambon Stephan Sabatier Poncet Besse Weiss Doucet Bonhomme Hamel Berthier Letellier Prevot Grand Grandjean Benoist Leblond Gosselin Leleu Comte Favier Bellanger Martinet Billard Rault Geoffroy Forestier Blondeau Roques Ricard Pommier Boulet Drouet Poisson Maire Mounier Gueguen Combes Huguet Morand Leonard Ledoux Prat Dubreuil Fortin Ferre Rigaud Brossard Picot Granger Merlin Laval Claude Marquet Mouton Brault Jeanne Marc Levasseur Le\ Roy Guillemin Bocquet Constant Pujol Lavigne Bauer Hoffmann Chatelain Lacour Jung Jamet Lallemand Walter Basset Provost Salaun Tellier Gibert Martins Rose Navarro Grange Lepage Bouquet Keller Techer Jolly Tournier Guillard Papin Bataille Lelong Cartier Leon Champion Dujardin Dumoulin Lasserre Flament Husson Schmidt Le\ Bihan Kieffer Millot Le\ Guen Ferry Bourdin Mangin Gicquel Cadet Soulier Mignot Barret Bureau Leray Fort Barreau Mas Lafont Bouchard Jolivet Savary Foulon Guillemot Costa Armand Blaise Binet Montagne }
24
24
  end
25
25
  end
@@ -1,7 +1,6 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  require_relative "../name.rb"
4
- require_relative "../ext/Array.rb"
5
4
 
6
5
  module RandomPerson
7
6
  module Names
@@ -11,13 +10,14 @@ module RandomPerson
11
10
  def initialize
12
11
  @names = Names
13
12
  @formats = [
14
- ->(n) { n.rand },
15
- ->(n) { n.rand + '-' + n.rand },
13
+ ->(n) { n.sample },
14
+ ->(n) { n.sample + '-' + n.sample },
16
15
  ]
17
16
  @formats_ratiod = [ 0..70, 71..99 ]
18
17
  super
19
18
  end
20
19
 
20
+ # @private
21
21
  Names = %w{ Adrien Aimé Alain Alexandre Alexi Alfred Alphonse Amaur André Antoine Anto Arnau Arthur Auguste Augustin Benjamin Benoît Bernard Bertrand Brun Charles Christia Christophe Claude Cyrille Daniel David Denis Didie Dominique Édouard Émile Emmanuel Éric Étienne Eugène Francis François Franck Frédéric Gabriel Gasto Georges Gérard Gilbert Gilles Grégoire Guillaume Guy Gustav Henri Honoré Hugues Isaac Jacques Jacquot Jean Jeannot Jérôme Joseph Jules Julien Laurent Léon Louis Luc Lucas Marc Marcel Martin Matthieu Maurice Michel Nicolas Noël Olivier Pasca Patrick Patrice Paul Philippe Pierre Raymond Rémy René Richard Robert Roger Roland Sébastien Serg Stéphane Théodore Théophile Thibaut Thierry Thomas Timothée Tristan Victor Vincent Xavier Yves Zacharie }
22
22
  end
23
23
  end
@@ -1,7 +1,6 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  require_relative "../name.rb"
4
- require_relative "../ext/Array.rb"
5
4
 
6
5
  module RandomPerson
7
6
  module Names
@@ -11,12 +10,13 @@ module RandomPerson
11
10
  def initialize
12
11
  @names = Names
13
12
  @formats = [
14
- ->(n) { n.rand },
13
+ ->(n) { n.sample },
15
14
  ]
16
15
  @formats_ratiod = [ (0..99) ]
17
16
  super
18
17
  end
19
18
 
19
+ # @private
20
20
  Names = %w{ Andrea Angelika Anja Anke Anna Annett Antje Barbara Birgit Brigitte Christin Christina Claudia Daniela Diana Doreen Franziska Gabriele Heike Ines Jana Janina Jennifer Jessica Julia Juliane Karin Karolin Katharina Kathrin Katja Kerstin Klaudia Kristin Laura Lea Lena Lisa Mandy Manuela Maria Marie Marina Martina Melanie Monika Nadine Nicole Petra Sabine Sabrina Sandra Sara Silke Simone Sophia Stefanie Susanne Tanja Ulrike Ursula Uta Vanessa Yvonne }
21
21
  end
22
22
  end
@@ -1,7 +1,6 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  require_relative "../name.rb"
4
- require_relative "../ext/Array.rb"
5
4
 
6
5
  module RandomPerson
7
6
  module Names
@@ -11,12 +10,13 @@ module RandomPerson
11
10
  def initialize
12
11
  @names = Names
13
12
  @formats = [
14
- ->(n) { n.rand }
13
+ ->(n) { n.sample }
15
14
  ]
16
15
  @formats_ratiod = [ (0..99) ]
17
16
  super
18
17
  end
19
18
 
19
+ # @private
20
20
  Names = %w(Müller Schmidt Schneider Fischer Weber Meyer Wagner Becker Schulz Hoffmann Schäfer Koch Bauer Richter Klein Wolf Schröder Neumann Schwarz Zimmermann Braun Krüger Hofmann Hartmann Lange Schmitt Werner Schmitz Krause Meier Lehmann Schmid Schulze Maier Köhler Herrmann König Walter Mayer Huber Kaiser Fuchs Peters Lang Scholz Möller Weiß Jung Hahn Schubert Vogel Friedrich Keller Günther Frank Berger Winkler Roth Beck Lorenz Baumann Franke Albrecht Schuster Simon Ludwig Böhm Winter Kraus Martin Schumacher Krämer Vogt Stein Jäger Otto Sommer Groß Seidel Heinrich Brandt Haas Schreiber Graf Schulte Dietrich Ziegler Kuhn Kühn Pohl Engel Horn Busch Bergmann Thomas Voigt Sauer Arnold Wolff Pfeiffer )
21
21
 
22
22
  end
@@ -1,7 +1,6 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  require_relative "../name.rb"
4
- require_relative "../ext/Array.rb"
5
4
 
6
5
  module RandomPerson
7
6
  module Names
@@ -11,12 +10,13 @@ module RandomPerson
11
10
  def initialize
12
11
  @names = Names
13
12
  @formats = [
14
- ->(n) { n.rand },
13
+ ->(n) { n.sample },
15
14
  ]
16
15
  @formats_ratiod = [ (0..99) ]
17
16
  super
18
17
  end
19
18
 
19
+ # @private
20
20
  Names = %w{ Alexander Andreas Benjamin Bernd Christian Daniel David Dennis Dieter Dirk Dominik Eric Felix Florian Frank Jan Jens Jonas Jörg Jürgen Kevin Klaus Kristian Leon Lukas Marcel Marco Mario Markus Martin Mathias Max Maximilian Michael Mike Niklas Patrick Paul Peter Philipp Ralf René Robert Sebastian Stefan Steffen Sven Thomas Thorsten Tim Tobias Tom Ulrich Uwe Wolfgang }
21
21
  end
22
22
  end
@@ -1,7 +1,6 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  require_relative "../name.rb"
4
- require_relative "../ext/Array.rb"
5
4
 
6
5
  module RandomPerson
7
6
  module Names
@@ -11,12 +10,13 @@ module RandomPerson
11
10
  def initialize
12
11
  @names = Names
13
12
  @formats = [
14
- ->(n) { n.rand },
13
+ ->(n) { n.sample },
15
14
  ]
16
15
  @formats_ratiod = [ (0..99) ]
17
16
  super
18
17
  end
19
18
 
19
+ # @private
20
20
  Names = %w{ Aileen Ailie Ailsa Alison Alva Andrina Annabel Arabella Arline Bethia Bonnie Brenda Catriona Cathella Colina Davina Dolina Dona Donaldina Edana Effie Elspeth Ena Fenella Fiona Greer Heather Ina Iona Isla Janet Jean Jinty Kenna Kentigerna Kirsty Lilias Lileas Mairi Mary Marcella Marsali Miriam Muirne Nessa Nessie Osla Rhona Senga Shona }
21
21
  end
22
22
  end
@@ -1,7 +1,6 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  require_relative "../name.rb"
4
- require_relative "../ext/Array.rb"
5
4
 
6
5
  module RandomPerson
7
6
  module Names
@@ -11,13 +10,14 @@ module RandomPerson
11
10
  def initialize
12
11
  @names = Names
13
12
  @formats = [
14
- ->(n) { n.rand },
15
- ->(n) { n.rand + '-' + n.rand },
13
+ ->(n) { n.sample },
14
+ ->(n) { n.sample + '-' + n.sample },
16
15
  ]
17
16
  @formats_ratiod = [ 0..95, 96..99 ]
18
17
  super
19
18
  end
20
19
 
20
+ # @private
21
21
  Names = %w{ Wilson Scott Campbell Simpson Stewart Murray Robertson Graham Gibson Thomson Reid Grant Henderson Ross Mcdonald Hamilton Johnston Kennedy Davidson Macdonald Wallace Morrison Gordon Ferguson Fraser Black Duncan Kerr Paterson Douglas Allan Cameron Mclean Sinclair Craig Mckenzie Patterson Bruce Kay Mackenzie Johnstone Milne Turnbull Mckay Henry Dickson Mackay Ritchie Lindsay Muir Millar Spence Munro Mcmillan Christie Mcintyre Forbes Hay Donaldson Mcintosh Mcgregor Currie Jamieson Mcleod Maxwell Tait Blair Macleod Barr Beattie Logan Cowan Love Mcfarlane Aitken Firth Buchanan Ramsay Whyte Adamson Irvine Gee Rae Mackie Findlay Gunn Keen Barclay Halliday Mclaren Forsyth Nicol Baird Bain Montgomery Laing Mcculloch Knox Jeffrey Drummond }
22
22
  end
23
23
  end
@@ -1,18 +1,18 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  require_relative "../name.rb"
4
- require_relative "../ext/Array.rb"
5
4
 
6
5
  module RandomPerson
7
6
  module Names
8
7
 
9
8
  class ScottishMaleFirst < Name
10
9
 
10
+ # @private
11
11
  Names = %w{ Alastair Alexander Alpin Angus Aulay Blane Boyd Calum Clyde Coll David Donald Donnan Dougal Douglas Duff Duncan Ewan Farquar Fingal Finlay Fraser Gavin Gillian Gillis Gordon Greer Hamish Ian Iain Ivar Kenneth Kirk Kyle Lachlan Lorne Malcolm Mirren Mungo Neil Neal Ranald Rory Ross Sholto Somerled Tavish Torquil Wallace }
12
12
 
13
13
  def initialize
14
14
  @names = Names
15
- @formats = [ ->(n){ n.rand } ]
15
+ @formats = [ ->(n){ n.sample } ]
16
16
  @formats_ratiod = [ (0..99) ]
17
17
 
18
18
  super
@@ -1,13 +1,13 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  require_relative "../name.rb"
4
- require_relative "../ext/Array.rb"
5
4
 
6
5
  module RandomPerson
7
6
  module Names
8
7
 
9
8
  class ScottishPrefix < Name
10
9
 
10
+ # @private
11
11
  Names = %w(Mr Dr Mrs Ms Miss)
12
12
 
13
13
  def initialize
@@ -0,0 +1,23 @@
1
+ # encoding: UTF-8
2
+
3
+ require_relative "../name.rb"
4
+
5
+ module RandomPerson
6
+ module Names
7
+
8
+ class SpanishFemaleFirst < Name
9
+
10
+ # @private
11
+ Names = %w{ Ababa Adela Adelaida Adelia Adelina Adriana África Alba Alejandra Alicia Alma Alondra Altagracia Amanda Amaya Amelia Amparo Ana Andrea Angélica Antonia Antonieta Araceli Ascensión Asunción Aurelia Aurora Azucena Aída Beatriz Belén Benita Berta Blanca Brunilda Bárbara Camila Caridad Carla Carlota Carmen Carolina Catalina Cecilia Celia Clara Claudia Clotilde Concepción Consolación Consuelo Cristina Cruz Daniela Dayana Delia Desamparados Diana Dionisia Dolores Dominga Dorotea Débora Elena Elisa Elvira Emilia Encarnación Enriqueta Ernestina Esperanza Estefanía Estela Ester Esther Eufemia Eugenia Eulalia Eva Fabiana Fabiola Felicidad Felipa Felisa Fernanda Filomena Flavia Flora Florencia Francisca Gabriela Gema Gloria Graciela Guadalupe Guillermina Hilda Hortensia Ilda Imelda Inmaculada Inés Irene Isabel Jacinta Joaquina Josefa Josefina Juana Julia Juliana Julieta Laura Lea Leonor Leticia Lidia Lilia Liliana Lorena Lorenza Lourdes Luciana Lucía Luisa Luna Luz Lía Magdalena Maite Manuela Marcela Marcelina Margarita Mariana Marina Marta Martina María María Jesús María José María Magdalena Matilde Mayte Mercedes Micaela Miguela Milagros Montserrat Mónica Narcisa Natalia Natividad Nieves Nilda Noelia Noemí Ofelia Olga Patricia Paula Paulette Paulina Paz Pilar Purificación Rafaela Ramona Raquel Rebeca Remedios Ricarda Rocío Rosa Rosalía Rosario Roxana Sandra Sara Selena Serafina Silvia Sofía Soledad Sonia Susana Tania Teodora Teresa Thiare Tiare Tomasa Trinidad Valentina Verónica Vicenta Victoria Virginia Yesenia }
12
+
13
+ def initialize
14
+ @names = Names
15
+ @formats = [ ->(n){ n.sample } ]
16
+ @formats_ratiod = [ (0..99) ]
17
+
18
+ super
19
+ end
20
+
21
+ end
22
+ end
23
+ end
@@ -1,23 +1,23 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  require_relative "../name.rb"
4
- require_relative "../ext/Array.rb"
5
4
 
6
5
  module RandomPerson
7
6
  module Names
8
7
 
9
8
  class SpanishLast < Name
10
9
 
10
+ # @private
11
11
  Names = %w{ Abarca Acarons Acosto Acuoa Adega Agassiz Agia Aguero Aguila Aguilar Aguilera Aguirre Aicega Alaminos Alas Albanese Albano Albarracin Albenino Albo Albornos Alcantara Aldama Alday Alderate Alegria Aleixandre Alemany Alemao Alkorta Allende Almagro Almendros Almeyda Alonso Altamirano Alvarez Alvaro Alvear Alzugaray Amatrian Amavisca Amendola Amor Anaya Andrés Angeloz Angulo Antón Antuma Aragon Aranda Arbizu Archuleta Arellano Arispana Aristia Aristizabal Aristzabal Armas Armendariz Armesto Arnal Arrese Arria Arruti Arrutti Arteaga Arzu Ascencion Aspe Asprilla Avellanos Ayala Azaria Aznar Badillo Bajtera Balbi Balbo Balboa Ballestero Ballesteros Balmaceda Banderas Barón Baradez Baraona Barba Barchitta Bardem Barjuan Barreiro Barrenechea Barrichello Barrigo Barrio Basadre Batistuta Batiz Batran Bauza Bazán Bea Becerra Becerril Belaúnde Bello Beloki Belsue Beltrones Benavides Benet Benitez Benítez Berganza Bergasa Berlanga Bermejo Bermudez Bernabé Bernal Bernaldez Beto Blanco Boedo Bolano Bolea Borges Borrego Bote Braga Bravo Bricenos Brizeno Brizuela Brugera Bueno Buey Bugeja Bunuel Burillo Burrieza Busques Bustos Caballero Cabellero Cabello Cabral Cabrero Cacares Cacho Cachon Cadena Cadero Cafu Caio Calatrava Caldern Calero Calvo Camacho Camardan Camardiel Camillo Caminero Campo Campos Canal Canans Canas Canellas Canesa Canete Cano Canseco Canura Carabali Carballo Carbajal Carbonell Carbonero Cardenas Carderas Carmona Carranco Carranzo Carrasco Carreno Carrera Carretero Carriedo Carriles Carrión Carvalho Casald Casaliga Casamayor Casas Cascos Casero Caso Castanada Castaneda Castilla Castillo Castrejana Castrilli Castro Castulo Catalan Catano Cea Ceballos Celades Centurión Cerezo Ceron Cervano Cervantes Cervera Chamot Chapado Chascarillo Chaves Chavira Checa Chedraui Chiamuhera Chiamulera Chico Chilavert Chillida Cieza Cisneros Clavet Clavijero Clemente Clopes Cobo Coceres Coelho Cois Cojuango Concepcion Contreras Corbacho Corbelan Cordero Cordobes Cordona Cordova Cornejo Coronel Corral Corrales Correa Corretja Cortez Cortina Corvalan Coya Cresaco Crespo Criado Criville Crusellas Cruz Cubrero Cuéllar Cuello Cuenca Cuervo Cuesta Cúneo-Vidal Da Gama Dabino Damián Dávila Dávilo Davino Alencar Assis Cabrea Caxias Jesus Garza Iglesia Madrid Rosa Vega Lacerda Mena Mendoza Rosas Saldanha Sancha Souza Tavira Urquiza De Vivero Debarros Deferr Delmorales Delgado Diago Diaz Diego Diez Disegni Dominguez Dorantes Duany Duce Dunga Durán Echave Echevarria Edinho Edo Elcano Elixaeberna Elizondo Enciso Enrique Enriquez Erosa Escamillo Escartin Escriba Escriva Escuda Escudero Espejo Espinosa Espinoza Estay Estete Estrada Fabrega Fajardo Falcón Falla Fanez Farfán Feijoo Fejos Felipe Feliu Feo Fernández Ferrado Ferrer Figo Figueira Filho Fiz Flores Foa Fonseca Formoselle Fraga Francia Francisquito Franco Frechilla Frois Fuente Fuentes Fuginato Funes Gaite Galdarres Galíndez Galindo Gallardo Gallego Gama Gamarra Gamboa Gamez Gangotena Garbajosa Garcia Garcilaso Garibay Garrido Garza Gasco Gaspar Gasquilan Gastelú Gats Gavaldon Gavilán Giberau Gibernau Gil Ginez Girón Gomez Gomiz Gonzaga Gonzales Gorriz Granados Grande Guadalcázar Guaman Guardiola Guerra Guerrero Guerro Guevara Guillen Guimarães Guinassi Gumy Guruceta Gutiérrez Guzmán Henarez Henchoz Heras Hernandez Herrera Hidalgo Hierro Hoero Holguin Hoyos Huerta Huertas Hurtado Ibanez Icaza Idalia Iguaran Illan Imaz Iniguez Insulza Isambero Isasi Ivarra Jara Jaramillo Jimenez Juarez Jura Jurada Juradu Keiva Kiko Lamela Lanos Lapenti Lara Laredo Larraneta Lastres Lazaro Ledesma Len Leon Leona Lerma Lianos Lima Lissón Lizarraga Lizaur Llano Llosa Lopez Lora Lorca Loredo Lorente Lorenzo Losada Lozada Lozana Lozano Lucero Luenga Luna Lurdes Madero Magallanes Magarino Maldonado Mamita Manderiaga Manjarin Manrique Mantilla Manzo Marcari Marcelo Mardomingo Margas Marín Marquez Márquez Marquina Marroquín MartÍ Nez Martel Martinez Marulanda Masoliver Masolta Massana Mattez Matutes Mauri Mayo Mayor Mayoral Mazinho Medina Meira Mejia Meléndez Melgarejo Meligeni Meligenis Mena Menchu Mendez Mendieta Mendiluce Mendiola Menem Meolans Merino Merlo Merry Mery Messia Methol Mezo Miguez Milian Minguet Minoza Miralles Miranda Molina Mondello Monentes Monreal Montalvo Montana Montaña Montanes Montano Montavez Monte Montejo Montero Monteros Montez Montolio Montoro Montoya Montt Mora Moraga Morales Moran Morayta Morcillo Morel Moreno Moretta Morgovejo Morientes Moscoso Motolinía Moya Muniz Munoz Murillo Muro Murrieta Nabarro Naca Nadal Nadol Naharro Narvaez Nascimento Navaez Navarrete Navarro Nino Noboa Nolasco Noseda Núnez Obrégon Ocacio Ocampo Ochoa Odriozola Ogarrio Olano Olazabal Oliva Olmedo Olmos Oneta Oraglio Ordialds Ordiales Ordonez Orellana Orgónez Orizaga Orozco Orrego Ortega Orteguilla Ortiz Osario Osorio Otero Párez Pacheco Padilla Paez Páez Palacios Palencia Pancorbo Pando Pánfilo Paraguez Pardo Paredes Pareds Parilla Parra Parrado Parraguez Parreira Parrera Pascual Passarella Pastrana Patino Pedralves Pedras Pedroso Pelaez Perahia Perdiguero Perez Periate Pessoa Peyrera Piedrahita Pimental Pineda Pinedo Pinelo Pinero Pinilla Pinto Pinzon Pinzón Pires Pita Pitillas Piza Pizarro Pizzaro Platas Plazas Poblano Polanco Polo Porcallo Porcel Porras Portas Portocarrero Posados Pracatan Prado Preciado Preciosa Pretel Prieto Prieto Puente Puerta Pueyo Puig Puiggros Pulido Puron Quehlas Queiro Querido Quesada Quesado Questi Quevedo Quintero Quirot Rudenas Rabal Radondo Raimondi Ramiez Ramirez Ramos Rangel Rascon Rebuelta Recio Regal Rengifo Restrepo Reto Rey Reyes Riba Ribadeneyra Riberol Rimoldi Rincon Rionda Riquelme Rivas Rivera Rivero Roa Robaina Robano Robledo Roca Rocha Rodas Rodriguez Roig Rojas Rojo Rollero Roma Romero Romo Rosas Rosauro Rovapera Rozadilla Ruano Rubiera Rubio Rubios Rubruquis Rucina Rudas Rufo Ruiberriz Ruiz Saavedra Sáenz Saer Sagredo Sahagún Sala Salarza Salas Saldamando Salgada Salinas Salto Salvatella Sámarez Samper Sanchez Sanchis Sandoval Sanin Sanroma Santa Maria Santana Santiago Santiseban Santoro Santos Santoyo Sanz Sarabia Sarmiento Sarsola Seabra Sebrian Seda Sedeno Segarra Segurola Senra-Silva Sepúlveda Sergi Serna Serpa Serra Serrano Sert Servia Siculo Sieres Sierra Siliceo Silloniz Soitino Solana Solano Soldadera Soldan Solozano Sortani Sosa Sota Sotelo Sotomayor Spano Sporleda Suarez Suárez Tallez Tabuyo Tadena Taffarel Tapia Tarrega Tavares Tejada Tello Teofilo Terezinho Terranova Terrazos Terreros Texidor Tintorero Toldeo Toledano Toledo Tomas Toriano Toribio Torrens Torres Torrillas Tortosa Tovar Troncoso Trujillo Tuero Tuscarora Ubidia Ugarte Ulloa Unzues Urrutia Urteaga Ussica Vaime Valcárcel Valderrama Valencia Valente Valenzuela Valero Vales Valignano Vallalpando Valle Vallejo Vaquero Varela Vargas Vargos Vasques Vazquez Vega Vegaso Vegros Velasco Velazquez Vélez Véliz Velloso Vendabal Vennera Vera Verdugo Verme Veron Viana Vicario Vila Villa Villalobos Villar Villaroel Villaruel Villasenor Viloca Vinciguerra Vingade Viola Vivas Vizcaino Volonte Vrais Woriega Xalmiento Xerez Ximenéz Xovi Xuárez Yanez Yegros Yocemento Yuste Zabaleta Zaga Zamarilla Zamorano Zapata Zavarjelos Zerbino Zhili Zorita Zuaza Zubero Zubizarreta Zuidema Zuluaga }
12
12
 
13
13
  def initialize
14
14
  @names = Names
15
15
  @formats_ratiod = [ 0..74, 75..90, 91..96, 97..99 ]
16
16
  @formats = [
17
- ->(n){ n.rand + ' ' + n.rand },
18
- ->(n){ n.rand + ' de ' + n.rand },
19
- ->(n){ n.rand + ' ' + n.rand + ' ' + n.rand },
20
- ->(n){ n.rand + ' ' + n.rand + ' y ' + n.rand },
17
+ ->(n){ n.sample + ' ' + n.sample },
18
+ ->(n){ n.sample + ' de ' + n.sample },
19
+ ->(n){ n.sample + ' ' + n.sample + ' ' + n.sample },
20
+ ->(n){ n.sample + ' ' + n.sample + ' y ' + n.sample },
21
21
  ]
22
22
 
23
23
  super
@@ -0,0 +1,24 @@
1
+ # encoding: UTF-8
2
+
3
+ require_relative "../name.rb"
4
+
5
+ module RandomPerson
6
+ module Names
7
+
8
+ class SpanishMaleFirst < Name
9
+
10
+ # @private
11
+ Names = %w{ Aarón Abrahán Absalón Abundio Adalberto Adolfo Adriano Adrián Adán Agapito Albano Alberto Alejandro Alfonso Alfredo Andrés Aniceto Antero Antonio Ariel Armando Arturo Aurelio Bartolomé Basilio Benito Benjamín Bernardo Blas Bonifacio Carlos Cayetano Claudio Cornelio Cristóbal César Damián Daniel David Diego Dionisio Domingo Edmundo Eduardo Egidio Eliseo Elías Emanuel Emilio Enrique Ernesto Esteban Eugenio Ezequiel Fabio Fabián Federico Felipe Fernando Francisco Franco Gabriel Germán Gershu Gilberto Gonzalo Gregorio Gustavo Hugo Humberto Héctor Ignacio Isaac Isidoro Isidro Ismael Iván Jacinto Jacobo Jaime Javier Jesús Joaquín Jorge Josué José José María Juan Juano Julio Julián Justo Leandro Leonardo León Lorenzo Lucas Luciano Luis Manuel Marcelino Marcelo Marcial Marcos Mariano Mario Martín Mateo Matías Máximo Miguel Miguel Ángel Moisés Narciso Natalio Nicolás Pablo Patricio Pedro Pío Rafael Ramón Raúl Ricardo Roberto Rodolfo Rodrigo Rogelio Rubén Salomón Salvador Samuel Sancho Santiago Saúl Sebastián Sergio Silvio Simón Tadeo Teodoro Timoteo Tito Tomás Valentín Vicente Vito Yago Ángel Óscar }
12
+
13
+ def initialize
14
+ @names = Names
15
+ @formats = [ ->(n){ n.sample } ]
16
+ @formats_ratiod = [ (0..99) ]
17
+
18
+ super
19
+ end
20
+
21
+ end # class
22
+ end # Names
23
+ end # RandomPerson
24
+
@@ -1,13 +1,13 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  require_relative "../name.rb"
4
- require_relative "../ext/Array.rb"
5
4
 
6
5
  module RandomPerson
7
6
  module Names
8
7
 
9
8
  class SpanishPrefix < Name
10
9
 
10
+ # @private
11
11
  Names = ["Sr.", "Dr.", "Dra.", "Sra.", "Srta."]
12
12
 
13
13
  # the way this class is set up is different than usual