From e9dd4e820bb041d4659359f275bbe6ac88753031 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 31 Oct 2024 23:41:16 +0000 Subject: [PATCH 01/38] Bump rubocop from 1.67.0 to 1.68.0 Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.67.0 to 1.68.0. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop/compare/v1.67.0...v1.68.0) --- updated-dependencies: - dependency-name: rubocop dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile | 2 +- Gemfile.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Gemfile b/Gemfile index 9dc1045789..10c55d01c0 100644 --- a/Gemfile +++ b/Gemfile @@ -9,7 +9,7 @@ gem 'benchmark' gem 'minitest', '5.25.1' gem 'pry', '0.14.2' gem 'rake', '13.2.1' -gem 'rubocop', '1.67.0' +gem 'rubocop', '1.68.0' gem 'rubocop-minitest', '0.36.0' gem 'rubocop-rake', '0.6.0' gem 'simplecov', '0.22.0' diff --git a/Gemfile.lock b/Gemfile.lock index 6eb3c97d69..2b64d94343 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -14,12 +14,12 @@ GEM docile (1.4.0) i18n (1.14.6) concurrent-ruby (~> 1.0) - json (2.7.2) + json (2.7.5) language_server-protocol (3.17.0.3) method_source (1.0.0) minitest (5.25.1) parallel (1.26.3) - parser (3.3.5.0) + parser (3.3.5.1) ast (~> 2.4.1) racc power_assert (2.0.3) @@ -30,7 +30,7 @@ GEM rainbow (3.1.1) rake (13.2.1) regexp_parser (2.9.2) - rubocop (1.67.0) + rubocop (1.68.0) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) @@ -40,7 +40,7 @@ GEM rubocop-ast (>= 1.32.2, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.32.3) + rubocop-ast (1.33.0) parser (>= 3.3.1.0) rubocop-minitest (0.36.0) rubocop (>= 1.61, < 2.0) @@ -70,7 +70,7 @@ DEPENDENCIES minitest (= 5.25.1) pry (= 0.14.2) rake (= 13.2.1) - rubocop (= 1.67.0) + rubocop (= 1.68.0) rubocop-minitest (= 0.36.0) rubocop-rake (= 0.6.0) simplecov (= 0.22.0) From 13203f11f4ea5924fa2e5da7527e07b7b8e062ed Mon Sep 17 00:00:00 2001 From: Bruno Plamondon Date: Mon, 6 Jan 2025 19:02:39 -0500 Subject: [PATCH 02/38] Correct `Faker::Address.city` and `Faker::Address.street_address` for `:fr` locale (#3018) * Correct `Faker::Address.city` and `Faker::Address.street_address` for `:fr` locale --- lib/locales/fr/address.yml | 769 ++++++++++++++++++++++++++++++++++++- 1 file changed, 761 insertions(+), 8 deletions(-) diff --git a/lib/locales/fr/address.yml b/lib/locales/fr/address.yml index 2649124600..069fef7573 100644 --- a/lib/locales/fr/address.yml +++ b/lib/locales/fr/address.yml @@ -1,15 +1,767 @@ fr: faker: address: - building_number: ['####', '###', '##', '#'] - street_prefix: ["Allée", "Anse", "Avenue", "Boulevard", "Carrefour", "Chaussée", "Chemin", "Cité", "Clos", "Côte", "Cour", "Cours", "Degré", "Descente", "Drève", "Escoussière", "Esplanade", "Gaffe", "Grand-route", "Impasse", "Liaison", "Mail", "Montée", "Passage", "Place", "Placette", "Pont", "Promenade", "Quai", "Résidence", "Rang", "Rampe", "Rond-point", "Route", "Rue", "Ruelle", "Sente", "Sentier", "Square", "Traboule", "Traverse", "Venelle", "Villa", "Voie"] - secondary_address: ['Apt. ###', '# étage'] - postcode: ['#####'] - state: ['Alsace', 'Aquitaine', 'Auvergne', 'Basse-Normandie', 'Bourgogne', 'Bretagne', 'Centre', 'Champagne-Ardenne', 'Corse', 'Franche-Comté', 'Guadeloupe', 'Guyane', 'Haute-Normandie', 'Île-de-France', 'La Réunion', 'Languedoc-Roussillon', 'Limousin', 'Lorraine', 'Martinique', 'Mayotte', 'Midi-Pyrénées', 'Nord-Pas-de-Calais', 'Pays de la Loire', 'Picardie', 'Poitou-Charentes', "Provence-Alpes-Côte d'Azur", 'Rhône-Alpes'] - city_name: ["Agen", "Aix-en-Provence", "Ajaccio", "Albi", "Alès", "Alfortville", "Amiens", "Angers", "Anglet", "Angoulême", "Annecy", "Annemasse", "Antibes", "Antony", "Argenteuil", "Arles", "Arras", "Asnières-sur-Seine", "Athis-Mons", "Aubagne", "Aubervilliers", "Aulnay-sous-Bois", "Auxerre", "Avignon", "Bagneux", "Bagnolet", "Baie-Mahault", "Bastia", "Bayonne", "Beauvais", "Belfort", "Besançon", "Béziers", "Bezons", "Blois", "Bobigny", "Bondy", "Bordeaux", "Boulogne-Billancourt", "Boulogne-sur-Mer", "Bourg-en-Bresse", "Bourges", "Brest", "Brive-la-Gaillarde", "Bron", "Cachan", "Caen", "Cagnes-sur-Mer", "Calais", "Caluire-et-Cuire", "Cambrai", "Cannes", "Carcassonne", "Castres", "Cayenne", "Cergy", "Chalon-sur-Saône", "Châlons-en-Champagne", "Chambéry", "Champigny-sur-Marne", "Charenton-le-Pont", "Charleville-Mézières", "Chartres", "Châteauroux", "Châtellerault", "Châtenay-Malabry", "Châtillon", "Chatou", "Chelles", "Cherbourg-en-Cotentin", "Choisy-le-Roi", "Cholet", "Clamart", "Clermont-Ferrand", "Clichy", "Colmar", "Colombes", "Colomiers", "Compiègne", "Conflans-Sainte-Honorine", "Corbeil-Essonnes", "Courbevoie", "Creil", "Créteil", "Dijon", "Douai", "Draguignan", "Drancy", "Dreux", "Dumbéa11", "Dunkerque14", "Dunkerque", "Échirolles", "Épinal", "Épinay-sur-Seine", "Évreux", "Évry-Courcouronnes", "Fontenay-sous-Bois", "Fort-de-France", "Franconville", "Fréjus", "Gagny", "Gap", "Garges-lès-Gonesse", "Gennevilliers", "Goussainville", "Grasse", "Grenoble", "Haguenau", "Herblay-sur-Seine", "Houilles", "Hyères", "Issy-les-Moulineaux", "Istres", "Ivry-sur-Seine", "Joué-lès-Tours", "Koungou", "L'Haÿ-les-Roses", "La Ciotat", "La Courneuve", "La Possession", "La Roche-sur-Yon", "La Rochelle", "La Seyne-sur-Mer", "Laval", "Le Blanc-Mesnil", "Le Cannet", "Le Chesnay-Rocquencourt", "Le Havre", "Le Lamentin", "Le Mans", "Le Perreux-sur-Marne", "Le Port", "Le Tampon", "Lens", "Les Abymes", "Les Mureaux", "Les Sables-d'Olonne", "Levallois-Perret", "Liévin", "Lille", "Limoges", "Livry-Gargan", "Lorient", "Lyon", "Mâcon", "Maisons-Alfort", "Malakoff", "Mamoudzou", "Mantes-la-Jolie", "Marcq-en-Barœul", "Marignane", "Marseille", "Martigues", "Massy", "Matoury", "Meaux", "Melun", "Menton", "Mérignac", "Metz", "Meudon", "Meyzieu", "Montauban", "Montélimar", "Montigny-le-Bretonneux", "Montluçon", "Montpellier", "Montreuil", "Montrouge", "Mulhouse", "Nancy", "Nanterre", "Nantes", "Narbonne", "Neuilly-sur-Marne", "Neuilly-sur-Seine", "Nevers", "Nice", "Nîmes", "Niort", "Nogent-sur-Marne", "Noisy-le-Grand", "Noisy-le-Sec", "Nouméa11", "Orléans", "Palaiseau", "Pantin", "Paris", "Pau", "Périgueux", "Perpignan", "Pessac", "Pierrefitte-sur-Seine", "Plaisir", "Poissy", "Poitiers", "Pontault-Combault", "Pontoise", "Puteaux", "Quimper", "Reims", "Rennes", "Rezé", "Rillieux-la-Pape", "Roanne", "Romans-sur-Isère", "Rosny-sous-Bois", "Roubaix", "Rouen", "Rueil-Malmaison", "Saint-André", "Saint-Benoît", "Saint-Brieuc", "Saint-Chamond", "Saint-Cloud", "Saint-Denis", "Saint-Étienne", "Saint-Germain-en-Laye", "Saint-Herblain", "Saint-Joseph", "Saint-Laurent-du-Maroni", "Saint-Leu", "Saint-Louis", "Saint-Malo", "Saint-Martin", "Saint-Martin-d'Hères", "Saint-Maur-des-Fossés", "Saint-Médard-en-Jalles", "Saint-Nazaire", "Saint-Ouen-sur-Seine", "Saint-Paul", "Saint-Pierre", "Saint-Priest", "Saint-Quentin", "Saint-Raphaël", "Sainte-Geneviève-des-Bois", "Sainte-Marie", "Salon-de-Provence", "Sarcelles", "Sartrouville", "Savigny-sur-Orge", "Sceaux", "Schiltigheim", "Sète", "Sevran", "Six-Fours-les-Plages", "Stains", "Strasbourg", "Suresnes", "Talence", "Tarbes", "Thionville", "Thonon-les-Bains", "Toulon", "Toulouse", "Tourcoing", "Tours", "Trappes", "Tremblay-en-France", "Troyes", "Valence", "Valenciennes", "Vandœuvre-lès-Nancy", "Vannes", "Vaulx-en-Velin", "Vénissieux", "Versailles", "Vigneux-sur-Seine", "Villefranche-sur-Saône", "Villejuif", "Villemomble", "Villenave-d'Ornon", "Villeneuve-Saint-Georges", "Villeneuve-d'Ascq", "Villepinte", "Villeurbanne", "Vincennes", "Viry-Châtillon", "Vitrolles", "Vitry-sur-Seine", "Wattrelos"] + building_number: + - "####" + - "###" + - "##" + - "#" + street_prefix: + - Allée + - Anse + - Avenue + - Boulevard + - Carrefour + - Chaussée + - Chemin + - Cité + - Clos + - Côte + - Cour + - Cours + - Degré + - Descente + - Drève + - Escoussière + - Esplanade + - Gaffe + - Grand-route + - Impasse + - Liaison + - Mail + - Montée + - Passage + - Place + - Placette + - Pont + - Promenade + - Quai + - Résidence + - Rang + - Rampe + - Rond-point + - Route + - Rue + - Ruelle + - Sente + - Sentier + - Square + - Traboule + - Traverse + - Venelle + - Villa + - Voie + secondary_address: + - 'Apt. ###' + - "# étage" + postcode: + - "#####" + state: + - Alsace + - Aquitaine + - Auvergne + - Basse-Normandie + - Bourgogne + - Bretagne + - Centre + - Champagne-Ardenne + - Corse + - Franche-Comté + - Guadeloupe + - Guyane + - Haute-Normandie + - Île-de-France + - La Réunion + - Languedoc-Roussillon + - Limousin + - Lorraine + - Martinique + - Mayotte + - Midi-Pyrénées + - Nord-Pas-de-Calais + - Pays de la Loire + - Picardie + - Poitou-Charentes + - Provence-Alpes-Côte d'Azur + - Rhône-Alpes + city_name: + - Agen + - Aix-en-Provence + - Ajaccio + - Albi + - Alès + - Alfortville + - Amiens + - Angers + - Anglet + - Angoulême + - Annecy + - Annemasse + - Antibes + - Antony + - Argenteuil + - Arles + - Arras + - Asnières-sur-Seine + - Athis-Mons + - Aubagne + - Aubervilliers + - Aulnay-sous-Bois + - Auxerre + - Avignon + - Bagneux + - Bagnolet + - Baie-Mahault + - Bastia + - Bayonne + - Beauvais + - Belfort + - Besançon + - Béziers + - Bezons + - Blois + - Bobigny + - Bondy + - Bordeaux + - Boulogne-Billancourt + - Boulogne-sur-Mer + - Bourg-en-Bresse + - Bourges + - Brest + - Brive-la-Gaillarde + - Bron + - Cachan + - Caen + - Cagnes-sur-Mer + - Calais + - Caluire-et-Cuire + - Cambrai + - Cannes + - Carcassonne + - Castres + - Cayenne + - Cergy + - Chalon-sur-Saône + - Châlons-en-Champagne + - Chambéry + - Champigny-sur-Marne + - Charenton-le-Pont + - Charleville-Mézières + - Chartres + - Châteauroux + - Châtellerault + - Châtenay-Malabry + - Châtillon + - Chatou + - Chelles + - Cherbourg-en-Cotentin + - Choisy-le-Roi + - Cholet + - Clamart + - Clermont-Ferrand + - Clichy + - Colmar + - Colombes + - Colomiers + - Compiègne + - Conflans-Sainte-Honorine + - Corbeil-Essonnes + - Courbevoie + - Creil + - Créteil + - Dijon + - Douai + - Draguignan + - Drancy + - Dreux + - Dumbéa + - Dunkerque + - Échirolles + - Épinal + - Épinay-sur-Seine + - Évreux + - Évry-Courcouronnes + - Fontenay-sous-Bois + - Fort-de-France + - Franconville + - Fréjus + - Gagny + - Gap + - Garges-lès-Gonesse + - Gennevilliers + - Goussainville + - Grasse + - Grenoble + - Haguenau + - Herblay-sur-Seine + - Houilles + - Hyères + - Issy-les-Moulineaux + - Istres + - Ivry-sur-Seine + - Joué-lès-Tours + - Koungou + - L'Haÿ-les-Roses + - La Ciotat + - La Courneuve + - La Possession + - La Roche-sur-Yon + - La Rochelle + - La Seyne-sur-Mer + - Laval + - Le Blanc-Mesnil + - Le Cannet + - Le Chesnay-Rocquencourt + - Le Havre + - Le Lamentin + - Le Mans + - Le Perreux-sur-Marne + - Le Port + - Le Tampon + - Lens + - Les Abymes + - Les Mureaux + - Les Sables-d'Olonne + - Levallois-Perret + - Liévin + - Lille + - Limoges + - Livry-Gargan + - Lorient + - Lyon + - Mâcon + - Maisons-Alfort + - Malakoff + - Mamoudzou + - Mantes-la-Jolie + - Marcq-en-Barœul + - Marignane + - Marseille + - Martigues + - Massy + - Matoury + - Meaux + - Melun + - Menton + - Mérignac + - Metz + - Meudon + - Meyzieu + - Montauban + - Montélimar + - Montigny-le-Bretonneux + - Montluçon + - Montpellier + - Montreuil + - Montrouge + - Mulhouse + - Nancy + - Nanterre + - Nantes + - Narbonne + - Neuilly-sur-Marne + - Neuilly-sur-Seine + - Nevers + - Nice + - Nîmes + - Niort + - Nogent-sur-Marne + - Noisy-le-Grand + - Noisy-le-Sec + - Nouméa11 + - Orléans + - Palaiseau + - Pantin + - Paris + - Pau + - Périgueux + - Perpignan + - Pessac + - Pierrefitte-sur-Seine + - Plaisir + - Poissy + - Poitiers + - Pontault-Combault + - Pontoise + - Puteaux + - Quimper + - Reims + - Rennes + - Rezé + - Rillieux-la-Pape + - Roanne + - Romans-sur-Isère + - Rosny-sous-Bois + - Roubaix + - Rouen + - Rueil-Malmaison + - Saint-André + - Saint-Benoît + - Saint-Brieuc + - Saint-Chamond + - Saint-Cloud + - Saint-Denis + - Saint-Étienne + - Saint-Germain-en-Laye + - Saint-Herblain + - Saint-Joseph + - Saint-Laurent-du-Maroni + - Saint-Leu + - Saint-Louis + - Saint-Malo + - Saint-Martin + - Saint-Martin-d'Hères + - Saint-Maur-des-Fossés + - Saint-Médard-en-Jalles + - Saint-Nazaire + - Saint-Ouen-sur-Seine + - Saint-Paul + - Saint-Pierre + - Saint-Priest + - Saint-Quentin + - Saint-Raphaël + - Sainte-Geneviève-des-Bois + - Sainte-Marie + - Salon-de-Provence + - Sarcelles + - Sartrouville + - Savigny-sur-Orge + - Sceaux + - Schiltigheim + - Sète + - Sevran + - Six-Fours-les-Plages + - Stains + - Strasbourg + - Suresnes + - Talence + - Tarbes + - Thionville + - Thonon-les-Bains + - Toulon + - Toulouse + - Tourcoing + - Tours + - Trappes + - Tremblay-en-France + - Troyes + - Valence + - Valenciennes + - Vandœuvre-lès-Nancy + - Vannes + - Vaulx-en-Velin + - Vénissieux + - Versailles + - Vigneux-sur-Seine + - Villefranche-sur-Saône + - Villejuif + - Villemomble + - Villenave-d'Ornon + - Villeneuve-Saint-Georges + - Villeneuve-d'Ascq + - Villepinte + - Villeurbanne + - Vincennes + - Viry-Châtillon + - Vitrolles + - Vitry-sur-Seine + - Wattrelos city: - "#{city_name}" - street_suffix: ["Adolphe Mille", "Albert Jacquard", "Albert Simonin", "Albert de Mun", "Alexis Bouvier", "Alfred Couillard", "Alfred Dequeant", "Alphonse Daudet", "Amal de Joinville", "Ambroise Pare", "Anatole France", "Andre Cayron", "Andre Messager", "Arnaud Beltrame", "Arsene", "Auguste Renoir", "Augustine Guignedoux", "Baliat", "Bardin Centre Colin", "Baudin", "Berteaux Dumas", "Berthelot", "Bineau", "Blaise Pascal", "Boileau", "Bonaparte", "Bournaire", "Boutard", "Brassat", "Breville", "Cantorum", "Caron", "Carpeaux", "Cartault", "Casteres", "Chandon", "Chanzy", "Charlebourg", "Charlemagne", "Charles Duport", "Charles Lecocq", "Charles Moncelet", "Charles de Gaulle", "Charras le Verseau", "Chem Ile", "Chps Pierreux", "Christophe", "Claude Debussy", "Compagnie des Eaux", "Courte", "D'Alencon", "D'Argenteuil", "D'Estienne d'Orves", "Danton", "Dauphine", "De Bergkamen", "De Berlin Spandau", "De Bezons", "De Bitche", "De Bois Preau", "De Brienne", "De Chartres", "De Chateaudun", "De Colombes", "De Diesbach", "De Longchamp", "De Madrid", "De Marie Galante", "De Neuilly", "De Normandie", "De Rochegude", "De Saverne", "De Stalingrad", "De Stepney", "De Verdun", "De Zilina", "De l'Abreuvoir", "De l'Avenir", "De l'Eglise", "De la Benarde", "De la Cerisaie", "De la Cote des Amandiers", "De la Defense", "De la Gare", "De la Grille Verte", "De la Paix", "De la Passerelle", "De la Reine Henriette", "De la Republique", "De la Station", "De la Terrasse", "De la Victoire", "Delesseux", "Dellieux", "Des Aubepines", "Des Belles Vues", "Des Bergeres", "Des Blanchisseurs", "Des Bleuets", "Des Bouleaux Blancs", "Des Bouvets", "Des Carrieres", "Des Champs Pierreux", "Des Chenes", "Des Corolles", "Des Cotes d'Auty", "Des Dames de st Louis", "Des Dames", "Des Demoiselles d'Avignon", "Des Deux Soeurs", "Des Erables", "Des Ermites", "Des Fauvelles", "Des Gaudonnes", "Des Glycines", "Des Gros Gres", "Des Hauts Tilliers", "Des Hirondelles", "Des Hortensias", "Des Lilas", "Des Lots Communaux", "Des Marguerites", "Des Marronniers", "Des Mazurieres", "Des Muettes", "Des Murgers", "Des Panoramas", "Des Petits Clos", "Des Peupliers", "Des Pierres Mayettes", "Des Platanes", "Des Poiriers", "Des Quais", "Des Reniers", "Des Rosiers", "Des Sablons", "Des Sculpteurs", "Des Souffrettes", "Des Tilleuls", "Des Tres Bourgeois", "Des Trois Fontanot", "Des Vosges", "Desire Ramelet", "Desiree", "Doudart de Lagree", "Du 18 Juin 1940", "Du 1er Consul", "Du 8 Mai 1945", "Du Bac", "Du Bois Beranger", "Du Bois", "Du Capitaine Guynemer", "Du Chemin Vert", "Du Colonel de Ponchalon", "Du Contrat Social", "Du Docteur Pierre", "Du General Audran", "Du General de Gaulle", "Du Gue", "Du Guichet", "Du Huit Mai 1945", "Du Mans", "Du Midi", "Du Moulin", "Du Onze Novembre 1918", "Du Onze Novembre", "Du Parc de l'Ile", "Du Pere Talvas", "Du Port", "Du Puits", "Du Sommerard", "Du Stade", "Du Tertre", "Du pdt Wilson", "Du pre Boni", "Du pre Marchais", "Dupont de Chambon", "Dupuis", "Edmond Rostand", "Emile Bernard", "Emile Duclaux", "Emile", "Estienne d Orves", "Etienne Cabet", "Eugene Barbier", "Eugene Pottier", "Eugene", "Fabre d Eglantine", "Felicie", "Felix Faure", "Felix Pyat", "Ferdinand Buisson", "Fernando", "Ferron", "Fleury", "Fosse de l Aumone", "Frederic Passy", "Gabriel Philippe", "Gambetta", "Garnier", "Gaston Bonnier", "Gay Lussac", "Gds Pres", "General Leclerc", "Genevieve", "Genouville", "George Sand", "Georges Clemenceau", "Girouix", "Grotius", "Groupe Lorilleux", "Guerlain", "Gustave Flourens", "Gutenberg", "Hanriot", "Helene", "Heloise", "Henri Barbusse", "Hippolyte Bisson", "Immeuble le Zodiaque", "Jacqueline Auriol", "Jacques Decour", "Jacques Dulud", "Jacques Offenbach", "Jacques Prevert", "Jacques", "Jean Baptiste Baudoin", "Jean Baptiste Lully", "Jean Gabin", "Jean Jacques Rousseau", "Jean Jaures", "Jean-baptiste Clement", "Joliot Curie", "Joseph Kosma", "Joubert", "Jules Ferry", "Jules Quentin", "Kleber", "L'Abbaye", "L'Orange", "La Boétie", "La Carriere au Loup", "La Cote des Amandiers", "La Lauziere", "La Marne", "La Seine", "La gde Pce", "Laffitte", "Lamartine", "Lateral", "Laurent Cely", "Le Couloir", "Le Vieux Pont", "Leclerc", "Ledru Rollin", "Lefevre", "Leo Hamon", "Lepic", "Les Courtilles", "Les Luaps", "Les Muguets", "Les Orties", "Les Taratres", "Les Trianons", "Levallois", "Levernis", "Levesque", "Louis Bleriot", "Louis Bleriot", "Louis Castel", "Louis Chevrolet", "Louis David", "Louis Joseph Maes", "Louis Willaume", "Louis", "Lucien Lanternier", "Madeleine Michelis", "Madeleine", "Mal de Lattre de Tassigny", "Marcadet", "Marceau", "Marcel Cachin", "Marcel Paul", "Marcel Pourtout", "Marie Levasseur", "Marie Louise", "Marquis de Coriolis", "Martissot", "Mary", "Maryse Hilsz", "Maurice Ravel", "Maurice Thorez", "Maurice", "Mequillet", "Michel Raoult", "Molière", "Monsieur-le-Prince", "Montorgueil", "Mouffetard", "Mozart", "Neuilly Defense", "Nobel", "Nouvelle", "Oberkampf", "Olivier", "Parking Nuages", "Pasquier", "Passoir", "Pasteur", "Pastourelle", "Paul Eluard", "Paul Herbe", "Paul Langevin", "Paul Rollet", "Pauline", "Pierre Charron", "Pierre Curie", "Pierre de Coubertin", "Pins", "Raguidelles", "Raymond Aubrun", "Residence de la Mairie", "Richard Wallace", "Robert Dupont", "Robert Schumann", "Roger", "Rolland", "Rollet Salvan", "Royale", "Sadi Carnot", "Saint Hilaire", "Saint Nicolas", "Saint-Bernard", "Saint-Denis", "Saint-Dominique", "Saint-Honoré", "Saint-Jacques", "Saint-Séverin", "Sainte Foy", "Sarah Bernhardt", "Seine Bras de Gennevillier", "Silvy", "Simone Veil", "Sir Alexander Fleming", "St Pierre", "St Thomas en Argonne", "Station Defense Rer", "Trasbot", "Traversiere", "Vaneau", "Verdun", "Vergniaud", "Virginie", "Zadkine", "d'Abbeville", "d'Alésia", "d'Argenteuil", "d'Assas", "d'Orsel", "de Caumartin", "de Montmorency", "de Nesle", "de Paris", "de Presbourg", "de Provence", "de Richelieu", "de Rivoli", "de Seine", "de Solférino", "de Tilsitt", "de Vaugirard", "de l'Abbaye", "de l'Odéon", "de la Bûcherie", "de la Chaussée-d'Antin", "de la Ferronnerie", "de la Harpe", "de la Huchette", "de la Paix", "de la Pompe", "de la Victoire", "des Coudrais", "des Francs-Bourgeois", "des Grands Augustins", "des Lombards", "des Panoramas", "des Rosiers", "des Saussaies", "du Bac", "du Chat-qui-Pêche", "du Dahomey", "du Faubourg Saint-Honoré", "du Faubourg-Saint-Denis", "du Havre"] + street_suffix: + - Adolphe Mille + - Albert Jacquard + - Albert Simonin + - Albert de Mun + - Alexis Bouvier + - Alfred Couillard + - Alfred Dequeant + - Alphonse Daudet + - Amal de Joinville + - Ambroise Pare + - Anatole France + - Andre Cayron + - Andre Messager + - Arnaud Beltrame + - Arsene + - Auguste Renoir + - Augustine Guignedoux + - Baliat + - Bardin Centre Colin + - Baudin + - Berteaux Dumas + - Berthelot + - Bineau + - Blaise Pascal + - Boileau + - Bonaparte + - Bournaire + - Boutard + - Brassat + - Breville + - Cantorum + - Caron + - Carpeaux + - Cartault + - Casteres + - Chandon + - Chanzy + - Charlebourg + - Charlemagne + - Charles Duport + - Charles Lecocq + - Charles Moncelet + - Charles de Gaulle + - Charras le Verseau + - Chem Ile + - Chps Pierreux + - Christophe + - Claude Debussy + - Compagnie des Eaux + - Courte + - D'Alencon + - D'Argenteuil + - D'Estienne d'Orves + - Danton + - Dauphine + - De Bergkamen + - De Berlin Spandau + - De Bezons + - De Bitche + - De Bois Preau + - De Brienne + - De Chartres + - De Chateaudun + - De Colombes + - De Diesbach + - De Longchamp + - De Madrid + - De Marie Galante + - De Neuilly + - De Normandie + - De Rochegude + - De Saverne + - De Stalingrad + - De Stepney + - De Verdun + - De Zilina + - De l'Abreuvoir + - De l'Avenir + - De l'Eglise + - De la Benarde + - De la Cerisaie + - De la Cote des Amandiers + - De la Defense + - De la Gare + - De la Grille Verte + - De la Paix + - De la Passerelle + - De la Reine Henriette + - De la Republique + - De la Station + - De la Terrasse + - De la Victoire + - Delesseux + - Dellieux + - Des Aubepines + - Des Belles Vues + - Des Bergeres + - Des Blanchisseurs + - Des Bleuets + - Des Bouleaux Blancs + - Des Bouvets + - Des Carrieres + - Des Champs Pierreux + - Des Chenes + - Des Corolles + - Des Cotes d'Auty + - Des Dames de st Louis + - Des Dames + - Des Demoiselles d'Avignon + - Des Deux Soeurs + - Des Erables + - Des Ermites + - Des Fauvelles + - Des Gaudonnes + - Des Glycines + - Des Gros Gres + - Des Hauts Tilliers + - Des Hirondelles + - Des Hortensias + - Des Lilas + - Des Lots Communaux + - Des Marguerites + - Des Marronniers + - Des Mazurieres + - Des Muettes + - Des Murgers + - Des Panoramas + - Des Petits Clos + - Des Peupliers + - Des Pierres Mayettes + - Des Platanes + - Des Poiriers + - Des Quais + - Des Reniers + - Des Rosiers + - Des Sablons + - Des Sculpteurs + - Des Souffrettes + - Des Tilleuls + - Des Tres Bourgeois + - Des Trois Fontanot + - Des Vosges + - Desire Ramelet + - Desiree + - Doudart de Lagree + - Du 18 Juin 1940 + - Du 1er Consul + - Du 8 Mai 1945 + - Du Bac + - Du Bois Beranger + - Du Bois + - Du Capitaine Guynemer + - Du Chemin Vert + - Du Colonel de Ponchalon + - Du Contrat Social + - Du Docteur Pierre + - Du General Audran + - Du General de Gaulle + - Du Gue + - Du Guichet + - Du Huit Mai 1945 + - Du Mans + - Du Midi + - Du Moulin + - Du Onze Novembre 1918 + - Du Onze Novembre + - Du Parc de l'Ile + - Du Pere Talvas + - Du Port + - Du Puits + - Du Sommerard + - Du Stade + - Du Tertre + - Du pdt Wilson + - Du pre Boni + - Du pre Marchais + - Dupont de Chambon + - Dupuis + - Edmond Rostand + - Emile Bernard + - Emile Duclaux + - Emile + - Estienne d Orves + - Etienne Cabet + - Eugene Barbier + - Eugene Pottier + - Eugene + - Fabre d Eglantine + - Felicie + - Felix Faure + - Felix Pyat + - Ferdinand Buisson + - Fernando + - Ferron + - Fleury + - Fosse de l Aumone + - Frederic Passy + - Gabriel Philippe + - Gambetta + - Garnier + - Gaston Bonnier + - Gay Lussac + - Gds Pres + - General Leclerc + - Genevieve + - Genouville + - George Sand + - Georges Clemenceau + - Girouix + - Grotius + - Groupe Lorilleux + - Guerlain + - Gustave Flourens + - Gutenberg + - Hanriot + - Helene + - Heloise + - Henri Barbusse + - Hippolyte Bisson + - Immeuble le Zodiaque + - Jacqueline Auriol + - Jacques Decour + - Jacques Dulud + - Jacques Offenbach + - Jacques Prevert + - Jacques + - Jean Baptiste Baudoin + - Jean Baptiste Lully + - Jean Gabin + - Jean Jacques Rousseau + - Jean Jaures + - Jean-baptiste Clement + - Joliot Curie + - Joseph Kosma + - Joubert + - Jules Ferry + - Jules Quentin + - Kleber + - L'Abbaye + - L'Orange + - La Boétie + - La Carriere au Loup + - La Cote des Amandiers + - La Lauziere + - La Marne + - La Seine + - La gde Pce + - Laffitte + - Lamartine + - Lateral + - Laurent Cely + - Le Couloir + - Le Vieux Pont + - Leclerc + - Ledru Rollin + - Lefevre + - Leo Hamon + - Lepic + - Les Courtilles + - Les Luaps + - Les Muguets + - Les Orties + - Les Taratres + - Les Trianons + - Levallois + - Levernis + - Levesque + - Louis Bleriot + - Louis Castel + - Louis Chevrolet + - Louis David + - Louis Joseph Maes + - Louis Willaume + - Louis + - Lucien Lanternier + - Madeleine Michelis + - Madeleine + - Mal de Lattre de Tassigny + - Marcadet + - Marceau + - Marcel Cachin + - Marcel Paul + - Marcel Pourtout + - Marie Levasseur + - Marie Louise + - Marquis de Coriolis + - Martissot + - Mary + - Maryse Hilsz + - Maurice Ravel + - Maurice Thorez + - Maurice + - Mequillet + - Michel Raoult + - Molière + - Monsieur-le-Prince + - Montorgueil + - Mouffetard + - Mozart + - Neuilly Defense + - Nobel + - Nouvelle + - Oberkampf + - Olivier + - Parking Nuages + - Pasquier + - Passoir + - Pasteur + - Pastourelle + - Paul Eluard + - Paul Herbe + - Paul Langevin + - Paul Rollet + - Pauline + - Pierre Charron + - Pierre Curie + - Pierre de Coubertin + - Pins + - Raguidelles + - Raymond Aubrun + - Residence de la Mairie + - Richard Wallace + - Robert Dupont + - Robert Schumann + - Roger + - Rolland + - Rollet Salvan + - Royale + - Sadi Carnot + - Saint Hilaire + - Saint Nicolas + - Saint-Bernard + - Saint-Denis + - Saint-Dominique + - Saint-Honoré + - Saint-Jacques + - Saint-Séverin + - Sainte Foy + - Sarah Bernhardt + - Seine Bras de Gennevillier + - Silvy + - Simone Veil + - Sir Alexander Fleming + - St Pierre + - St Thomas en Argonne + - Station Defense Rer + - Trasbot + - Traversiere + - Vaneau + - Verdun + - Vergniaud + - Virginie + - Zadkine + - d'Abbeville + - d'Alésia + - d'Argenteuil + - d'Assas + - d'Orsel + - de Caumartin + - de Montmorency + - de Nesle + - de Paris + - de Presbourg + - de Provence + - de Richelieu + - de Rivoli + - de Seine + - de Solférino + - de Tilsitt + - de Vaugirard + - de l'Abbaye + - de l'Odéon + - de la Bûcherie + - de la Chaussée-d'Antin + - de la Ferronnerie + - de la Harpe + - de la Huchette + - de la Paix + - de la Pompe + - de la Victoire + - des Coudrais + - des Francs-Bourgeois + - des Grands Augustins + - des Lombards + - des Panoramas + - des Rosiers + - des Saussaies + - du Bac + - du Chat-qui-Pêche + - du Dahomey + - du Faubourg Saint-Honoré + - du Faubourg-Saint-Denis + - du Havre street_name: - "#{street_prefix} #{street_suffix}" street_address: @@ -17,4 +769,5 @@ fr: full_address: - "#{street_address}, #{zip_code} #{city}" - "#{secondary_address}, #{street_address}, #{zip_code} #{city}" - default_country: [France] \ No newline at end of file + default_country: + - France From a908ab6f5e29861d1dbac494da1d5bbb50b0f33d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 Jan 2025 17:07:14 -0700 Subject: [PATCH 03/38] Bump minitest from 5.25.1 to 5.25.4 (#3031) Bumps [minitest](https://github.com/minitest/minitest) from 5.25.1 to 5.25.4. - [Changelog](https://github.com/minitest/minitest/blob/master/History.rdoc) - [Commits](https://github.com/minitest/minitest/compare/v5.25.1...v5.25.4) --- updated-dependencies: - dependency-name: minitest dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Gemfile | 2 +- Gemfile.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 10c55d01c0..a3756a885e 100644 --- a/Gemfile +++ b/Gemfile @@ -6,7 +6,7 @@ source 'https://rubygems.org' gemspec gem 'benchmark' -gem 'minitest', '5.25.1' +gem 'minitest', '5.25.4' gem 'pry', '0.14.2' gem 'rake', '13.2.1' gem 'rubocop', '1.68.0' diff --git a/Gemfile.lock b/Gemfile.lock index 2b64d94343..de28b6aa42 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -17,7 +17,7 @@ GEM json (2.7.5) language_server-protocol (3.17.0.3) method_source (1.0.0) - minitest (5.25.1) + minitest (5.25.4) parallel (1.26.3) parser (3.3.5.1) ast (~> 2.4.1) @@ -67,7 +67,7 @@ PLATFORMS DEPENDENCIES benchmark faker! - minitest (= 5.25.1) + minitest (= 5.25.4) pry (= 0.14.2) rake (= 13.2.1) rubocop (= 1.68.0) From a9fd418054dd63e74d464a3c1082eaa74535b473 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 Jan 2025 17:15:52 -0700 Subject: [PATCH 04/38] Bump rubocop from 1.68.0 to 1.69.2 (#3035) Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.68.0 to 1.69.2. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop/compare/v1.68.0...v1.69.2) --- updated-dependencies: - dependency-name: rubocop dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Gemfile | 2 +- Gemfile.lock | 22 ++++++++++++---------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/Gemfile b/Gemfile index a3756a885e..f695a905e1 100644 --- a/Gemfile +++ b/Gemfile @@ -9,7 +9,7 @@ gem 'benchmark' gem 'minitest', '5.25.4' gem 'pry', '0.14.2' gem 'rake', '13.2.1' -gem 'rubocop', '1.68.0' +gem 'rubocop', '1.69.2' gem 'rubocop-minitest', '0.36.0' gem 'rubocop-rake', '0.6.0' gem 'simplecov', '0.22.0' diff --git a/Gemfile.lock b/Gemfile.lock index de28b6aa42..9d429bc24c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -14,12 +14,12 @@ GEM docile (1.4.0) i18n (1.14.6) concurrent-ruby (~> 1.0) - json (2.7.5) + json (2.9.1) language_server-protocol (3.17.0.3) method_source (1.0.0) minitest (5.25.4) parallel (1.26.3) - parser (3.3.5.1) + parser (3.3.6.0) ast (~> 2.4.1) racc power_assert (2.0.3) @@ -29,18 +29,18 @@ GEM racc (1.8.1) rainbow (3.1.1) rake (13.2.1) - regexp_parser (2.9.2) - rubocop (1.68.0) + regexp_parser (2.10.0) + rubocop (1.69.2) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) - regexp_parser (>= 2.4, < 3.0) - rubocop-ast (>= 1.32.2, < 2.0) + regexp_parser (>= 2.9.3, < 3.0) + rubocop-ast (>= 1.36.2, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.33.0) + unicode-display_width (>= 2.4.0, < 4.0) + rubocop-ast (1.37.0) parser (>= 3.3.1.0) rubocop-minitest (0.36.0) rubocop (>= 1.61, < 2.0) @@ -57,7 +57,9 @@ GEM test-unit (3.6.2) power_assert timecop (0.9.10) - unicode-display_width (2.6.0) + unicode-display_width (3.1.3) + unicode-emoji (~> 4.0, >= 4.0.4) + unicode-emoji (4.0.4) yard (0.9.37) PLATFORMS @@ -70,7 +72,7 @@ DEPENDENCIES minitest (= 5.25.4) pry (= 0.14.2) rake (= 13.2.1) - rubocop (= 1.68.0) + rubocop (= 1.69.2) rubocop-minitest (= 0.36.0) rubocop-rake (= 0.6.0) simplecov (= 0.22.0) From a792ccbbdd024040e45a4ce1fd1a75b0da6cf3fe Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 Jan 2025 17:18:38 -0700 Subject: [PATCH 05/38] Bump test-unit from 3.6.2 to 3.6.7 (#3038) Bumps [test-unit](https://github.com/test-unit/test-unit) from 3.6.2 to 3.6.7. - [Release notes](https://github.com/test-unit/test-unit/releases) - [Commits](https://github.com/test-unit/test-unit/compare/3.6.2...3.6.7) --- updated-dependencies: - dependency-name: test-unit dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Gemfile | 2 +- Gemfile.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index f695a905e1..d91b381d4e 100644 --- a/Gemfile +++ b/Gemfile @@ -13,6 +13,6 @@ gem 'rubocop', '1.69.2' gem 'rubocop-minitest', '0.36.0' gem 'rubocop-rake', '0.6.0' gem 'simplecov', '0.22.0' -gem 'test-unit', '3.6.2' +gem 'test-unit', '3.6.7' gem 'timecop', '0.9.10' gem 'yard', '0.9.37' diff --git a/Gemfile.lock b/Gemfile.lock index 9d429bc24c..5cb324e127 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -22,7 +22,7 @@ GEM parser (3.3.6.0) ast (~> 2.4.1) racc - power_assert (2.0.3) + power_assert (2.0.5) pry (0.14.2) coderay (~> 1.1) method_source (~> 1.0) @@ -54,7 +54,7 @@ GEM simplecov_json_formatter (~> 0.1) simplecov-html (0.12.3) simplecov_json_formatter (0.1.4) - test-unit (3.6.2) + test-unit (3.6.7) power_assert timecop (0.9.10) unicode-display_width (3.1.3) @@ -76,7 +76,7 @@ DEPENDENCIES rubocop-minitest (= 0.36.0) rubocop-rake (= 0.6.0) simplecov (= 0.22.0) - test-unit (= 3.6.2) + test-unit (= 3.6.7) timecop (= 0.9.10) yard (= 0.9.37) From c8ea24ea3833a3d6329f08956c5a487f444a1afc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 Jan 2025 17:22:08 -0700 Subject: [PATCH 06/38] Bump benchmark from 0.3.0 to 0.4.0 (#3021) Bumps [benchmark](https://github.com/ruby/benchmark) from 0.3.0 to 0.4.0. - [Release notes](https://github.com/ruby/benchmark/releases) - [Commits](https://github.com/ruby/benchmark/compare/v0.3.0...v0.4.0) --- updated-dependencies: - dependency-name: benchmark dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 5cb324e127..ce0d4506a7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -8,7 +8,7 @@ GEM remote: https://rubygems.org/ specs: ast (2.4.2) - benchmark (0.3.0) + benchmark (0.4.0) coderay (1.1.3) concurrent-ruby (1.3.4) docile (1.4.0) From 789251c0d24833597e0aba0d8a7ba6776bad812e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 Jan 2025 17:24:58 -0700 Subject: [PATCH 07/38] Bump pry from 0.14.2 to 0.15.2 (#3039) Bumps [pry](https://github.com/pry/pry) from 0.14.2 to 0.15.2. - [Release notes](https://github.com/pry/pry/releases) - [Changelog](https://github.com/pry/pry/blob/master/CHANGELOG.md) - [Commits](https://github.com/pry/pry/compare/v0.14.2...v0.15.2) --- updated-dependencies: - dependency-name: pry dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Gemfile | 2 +- Gemfile.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index d91b381d4e..775e8b608c 100644 --- a/Gemfile +++ b/Gemfile @@ -7,7 +7,7 @@ gemspec gem 'benchmark' gem 'minitest', '5.25.4' -gem 'pry', '0.14.2' +gem 'pry', '0.15.2' gem 'rake', '13.2.1' gem 'rubocop', '1.69.2' gem 'rubocop-minitest', '0.36.0' diff --git a/Gemfile.lock b/Gemfile.lock index ce0d4506a7..f2997c119e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -16,14 +16,14 @@ GEM concurrent-ruby (~> 1.0) json (2.9.1) language_server-protocol (3.17.0.3) - method_source (1.0.0) + method_source (1.1.0) minitest (5.25.4) parallel (1.26.3) parser (3.3.6.0) ast (~> 2.4.1) racc power_assert (2.0.5) - pry (0.14.2) + pry (0.15.2) coderay (~> 1.1) method_source (~> 1.0) racc (1.8.1) @@ -70,7 +70,7 @@ DEPENDENCIES benchmark faker! minitest (= 5.25.4) - pry (= 0.14.2) + pry (= 0.15.2) rake (= 13.2.1) rubocop (= 1.69.2) rubocop-minitest (= 0.36.0) From 075437799ef32b39b07c55eccff52272fb1bd088 Mon Sep 17 00:00:00 2001 From: wonderer007 Date: Tue, 26 Nov 2024 00:05:42 +0500 Subject: [PATCH 08/38] fix(locale): update cell_phone format, default timezone and state abbr for en-PAK locale --- lib/locales/en-PAK.yml | 26 ++++++++++++++++++++++++++ test/test_en_pak_locale.rb | 8 ++++++++ 2 files changed, 34 insertions(+) diff --git a/lib/locales/en-PAK.yml b/lib/locales/en-PAK.yml index 037ea29f27..94c6085a83 100644 --- a/lib/locales/en-PAK.yml +++ b/lib/locales/en-PAK.yml @@ -344,11 +344,23 @@ en-PAK: - Federally Administered Tribal Areas - Azad Jammu and Kashmir - Gilgit-Baltistan + state_abbr: + - PK-BA + - PK-KP + - PK-PB + - PK-SD + - PK-IS + - PK-TA + - PK-JK + - PK-GB + default_country: - Pakistan - Islamic Republic of Pakistan default_country_code: - PK + default_time_zone: + - Asia/Karachi internet: domain_suffix: - pk @@ -376,3 +388,17 @@ en-PAK: - "##########" - "### #######" - 03##-####### + cell_phone: + formats: + - "0311-#######" + - "0312-#######" + - "0313-#######" + - "0314-#######" + - "0315-#######" + - "0300-#######" + - "0301-#######" + - "0321-#######" + - "0322-#######" + - "0345-#######" + - "0346-#######" + - "0346-#######" diff --git a/test/test_en_pak_locale.rb b/test/test_en_pak_locale.rb index d2e2dfe2d8..1269671be8 100644 --- a/test/test_en_pak_locale.rb +++ b/test/test_en_pak_locale.rb @@ -14,7 +14,9 @@ def teardown def test_en_pak_methods assert_kind_of String, Faker::Address.state + assert_kind_of String, Faker::Address.state_abbr assert_kind_of String, Faker::Address.default_country + assert_kind_of String, Faker::Address.default_time_zone assert_kind_of String, Faker::Address.postcode assert_match(/\A(Pakistan|Islamic Republic of Pakistan)\z/, Faker::Address.default_country) end @@ -33,4 +35,10 @@ def test_en_pak_name_methods assert_kind_of String, Faker::Name.last_name assert_kind_of String, Faker::Name.name_with_middle end + + def test_en_pak_cell_phone_is_valid + mobile = Faker::PhoneNumber.cell_phone + + assert_match(/03\d{2}-\d{7}/, mobile) + end end From b379861db7d8c323518a26262aa79d640811bc8f Mon Sep 17 00:00:00 2001 From: Claudio Maradonna Date: Tue, 17 Dec 2024 15:23:34 +0100 Subject: [PATCH 09/38] fix condominium_fiscal_code generator the real length of a condominium fiscal_code is 11 and not 9: the first 7 numbers identify the condominium, the later 3 identify the office and the latest is the control character --- lib/faker/default/finance.rb | 4 ++-- lib/locales/en/finance.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/faker/default/finance.rb b/lib/faker/default/finance.rb index 9a847803f3..70c999596d 100644 --- a/lib/faker/default/finance.rb +++ b/lib/faker/default/finance.rb @@ -97,11 +97,11 @@ def stock_market ## # Returns a random condominium fiscal code. # - # @param country [String] Two capital letter country code to use for the vat number. + # @param country [String] Two capital letter country code to use for the condominium fiscal code number. # @return [String] # # @example - # Faker::Finance.condominium_fiscal_code #=> "012345678" + # Faker::Finance.condominium_fiscal_code #=> "01234567890" # # @faker.version next def condominium_fiscal_code(country: 'IT') diff --git a/lib/locales/en/finance.yml b/lib/locales/en/finance.yml index dc95b114f8..756d81a10c 100644 --- a/lib/locales/en/finance.yml +++ b/lib/locales/en/finance.yml @@ -49,7 +49,7 @@ en: - /6771#########{5,6}L/ - /6709#########{5,6}L/ condominium_fiscal_code: - IT: "#########" + IT: "###########" vat_number: AT: "ATU########" AR: "AR###########" From cc0aa12b82185001425254802133bde0fdd9e177 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 Jan 2025 23:35:15 +0000 Subject: [PATCH 10/38] Bump i18n from 1.14.6 to 1.14.7 Bumps [i18n](https://github.com/ruby-i18n/i18n) from 1.14.6 to 1.14.7. - [Release notes](https://github.com/ruby-i18n/i18n/releases) - [Changelog](https://github.com/ruby-i18n/i18n/blob/master/CHANGELOG.md) - [Commits](https://github.com/ruby-i18n/i18n/compare/v1.14.6...v1.14.7) --- updated-dependencies: - dependency-name: i18n dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index f2997c119e..ce34fbd069 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -10,9 +10,9 @@ GEM ast (2.4.2) benchmark (0.4.0) coderay (1.1.3) - concurrent-ruby (1.3.4) + concurrent-ruby (1.3.5) docile (1.4.0) - i18n (1.14.6) + i18n (1.14.7) concurrent-ruby (~> 1.0) json (2.9.1) language_server-protocol (3.17.0.3) From a58120ffad9fa459e042b0385f7aa1016755a4a2 Mon Sep 17 00:00:00 2001 From: wonderer007 Date: Wed, 5 Feb 2025 12:12:42 +0500 Subject: [PATCH 11/38] fix(locale): states updated --- lib/locales/en-PAK.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/lib/locales/en-PAK.yml b/lib/locales/en-PAK.yml index 94c6085a83..be6cc29e3c 100644 --- a/lib/locales/en-PAK.yml +++ b/lib/locales/en-PAK.yml @@ -341,18 +341,16 @@ en-PAK: - Punjab - Sindh - Islamabad Capital Territory - - Federally Administered Tribal Areas - Azad Jammu and Kashmir - Gilgit-Baltistan state_abbr: - - PK-BA - - PK-KP - - PK-PB - - PK-SD - - PK-IS - - PK-TA - - PK-JK - - PK-GB + - BA + - KPK + - PB + - SD + - ICT + - AJK + - GB default_country: - Pakistan From 72c6c1b9762008fece5e3d06cbff76e26f0c3170 Mon Sep 17 00:00:00 2001 From: wonderer007 Date: Wed, 5 Feb 2025 12:19:42 +0500 Subject: [PATCH 12/38] fix(locale): remove - from cell phone number format --- lib/locales/en-PAK.yml | 25 ++++++++++++------------- test/test_en_pak_locale.rb | 2 +- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/lib/locales/en-PAK.yml b/lib/locales/en-PAK.yml index be6cc29e3c..b0f6e2fece 100644 --- a/lib/locales/en-PAK.yml +++ b/lib/locales/en-PAK.yml @@ -351,7 +351,6 @@ en-PAK: - ICT - AJK - GB - default_country: - Pakistan - Islamic Republic of Pakistan @@ -388,15 +387,15 @@ en-PAK: - 03##-####### cell_phone: formats: - - "0311-#######" - - "0312-#######" - - "0313-#######" - - "0314-#######" - - "0315-#######" - - "0300-#######" - - "0301-#######" - - "0321-#######" - - "0322-#######" - - "0345-#######" - - "0346-#######" - - "0346-#######" + - "0311#######" + - "0312#######" + - "0313#######" + - "0314#######" + - "0315#######" + - "0300#######" + - "0301#######" + - "0321#######" + - "0322#######" + - "0345#######" + - "0346#######" + - "0346#######" diff --git a/test/test_en_pak_locale.rb b/test/test_en_pak_locale.rb index 1269671be8..6a24a4a043 100644 --- a/test/test_en_pak_locale.rb +++ b/test/test_en_pak_locale.rb @@ -39,6 +39,6 @@ def test_en_pak_name_methods def test_en_pak_cell_phone_is_valid mobile = Faker::PhoneNumber.cell_phone - assert_match(/03\d{2}-\d{7}/, mobile) + assert_match(/03\d{2}\d{7}/, mobile) end end From 00e840d2210002cb78d81faec962a4e73e3c7cc5 Mon Sep 17 00:00:00 2001 From: Jared Smith Date: Wed, 19 Feb 2025 13:42:42 -0500 Subject: [PATCH 13/38] Fix docs menu indentation --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c0cb756e40..2f42ed4383 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ and it was the original impetus for the creation of this gem. - [Notes](#notes) - [Getting Started](#getting-started) - [Usage](#usage) - - [A note about the Generators versions](#a-note-about-the-generators-versions) + - [A note about the Generators versions](#a-note-about-the-generators-versions) - [Ensuring unique values](#ensuring-unique-values) - [Deterministic Random](#deterministic-random) - [Customization](#customization) @@ -89,7 +89,7 @@ Faker::ProgrammingLanguage.name #=> "Ruby" For a complete list of the generators, see [Generators](#generators). -#### A note about the Generators versions +### A note about the Generators versions If you get a `uninitialized constant Faker::[some_class]` error, your version of the gem is behind main. From 9135b2f35a22b635205f0743cb79840250e1d050 Mon Sep 17 00:00:00 2001 From: Klaas Pieter Annema Date: Fri, 21 Feb 2025 11:17:51 +0100 Subject: [PATCH 14/38] Fix Dutch country code +31 is the Dutch country code. See: https://en.wikipedia.org/wiki/Telephone_numbers_in_the_Netherlands --- lib/locales/nl.yml | 2 ++ test/test_nl_locale.rb | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/lib/locales/nl.yml b/lib/locales/nl.yml index f2465d8f53..2f9bc701b6 100644 --- a/lib/locales/nl.yml +++ b/lib/locales/nl.yml @@ -83,6 +83,8 @@ nl: - "#{first_name} #{last_name} #{last_name}" phone_number: + country_code: + - '31' formats: ["(####) ######", "##########", "06########", "06 #### ####"] university: diff --git a/test/test_nl_locale.rb b/test/test_nl_locale.rb index 2b9ff7faca..354077083a 100644 --- a/test/test_nl_locale.rb +++ b/test/test_nl_locale.rb @@ -65,6 +65,12 @@ def test_nl_phone_number_methods assert_kind_of String, Faker::PhoneNumber.cell_phone end + def test_nl_cell_phone_countrycode + mobile = Faker::PhoneNumber.cell_phone_with_country_code.gsub(/\D/, '') + + assert_match(/^(0|31)/, mobile) + end + def test_nl_university_methods assert_kind_of String, Faker::University.prefix assert_kind_of String, Faker::University.name From 07bb57e124f59ed4b69184b27d41818c41b2686d Mon Sep 17 00:00:00 2001 From: Klaas Pieter Annema Date: Fri, 21 Feb 2025 11:19:01 +0100 Subject: [PATCH 15/38] Separate Dutch phone number formats 06 is exclusively used for mobile phone numbers. See: https://en.wikipedia.org/wiki/Telephone_numbers_in_the_Netherlands --- lib/locales/nl.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/locales/nl.yml b/lib/locales/nl.yml index 2f9bc701b6..23b77512e6 100644 --- a/lib/locales/nl.yml +++ b/lib/locales/nl.yml @@ -85,7 +85,13 @@ nl: phone_number: country_code: - '31' - formats: ["(####) ######", "##########", "06########", "06 #### ####"] + formats: + - "(####) ######" + - "##########" + cell_phone: + formats: + - "06########" + - "06 #### ####" university: prefix: [Universiteit, Hogeschool] From 0be0e2fc517c0fd188871481462d133e6d9afd81 Mon Sep 17 00:00:00 2001 From: Stefanni Brasil Date: Tue, 4 Mar 2025 07:19:02 -0700 Subject: [PATCH 16/38] bump rubocop --- Gemfile | 2 +- Gemfile.lock | 19 +++++++++++-------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/Gemfile b/Gemfile index 775e8b608c..6919479972 100644 --- a/Gemfile +++ b/Gemfile @@ -9,7 +9,7 @@ gem 'benchmark' gem 'minitest', '5.25.4' gem 'pry', '0.15.2' gem 'rake', '13.2.1' -gem 'rubocop', '1.69.2' +gem 'rubocop', '1.73.0' gem 'rubocop-minitest', '0.36.0' gem 'rubocop-rake', '0.6.0' gem 'simplecov', '0.22.0' diff --git a/Gemfile.lock b/Gemfile.lock index ce34fbd069..9bbe116715 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -14,8 +14,9 @@ GEM docile (1.4.0) i18n (1.14.7) concurrent-ruby (~> 1.0) - json (2.9.1) - language_server-protocol (3.17.0.3) + json (2.10.1) + language_server-protocol (3.17.0.4) + lint_roller (1.1.0) method_source (1.1.0) minitest (5.25.4) parallel (1.26.3) @@ -30,17 +31,18 @@ GEM rainbow (3.1.1) rake (13.2.1) regexp_parser (2.10.0) - rubocop (1.69.2) + rubocop (1.73.0) json (~> 2.3) - language_server-protocol (>= 3.17.0) + language_server-protocol (~> 3.17.0.2) + lint_roller (~> 1.1.0) parallel (~> 1.10) parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 2.9.3, < 3.0) - rubocop-ast (>= 1.36.2, < 2.0) + rubocop-ast (>= 1.38.0, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 4.0) - rubocop-ast (1.37.0) + rubocop-ast (1.38.1) parser (>= 3.3.1.0) rubocop-minitest (0.36.0) rubocop (>= 1.61, < 2.0) @@ -57,13 +59,14 @@ GEM test-unit (3.6.7) power_assert timecop (0.9.10) - unicode-display_width (3.1.3) + unicode-display_width (3.1.4) unicode-emoji (~> 4.0, >= 4.0.4) unicode-emoji (4.0.4) yard (0.9.37) PLATFORMS arm64-darwin-22 + arm64-darwin-24 x86_64-linux DEPENDENCIES @@ -72,7 +75,7 @@ DEPENDENCIES minitest (= 5.25.4) pry (= 0.15.2) rake (= 13.2.1) - rubocop (= 1.69.2) + rubocop (= 1.73.0) rubocop-minitest (= 0.36.0) rubocop-rake (= 0.6.0) simplecov (= 0.22.0) From df4c66c16dcc1338b75cdc5fdc46ed87fb725851 Mon Sep 17 00:00:00 2001 From: Stefanni Brasil Date: Tue, 4 Mar 2025 07:19:10 -0700 Subject: [PATCH 17/38] Ignore this rule Will revisit if needed later. --- .rubocop.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 20059e21bb..d76340cdde 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -113,3 +113,7 @@ Security/Eval: Style/IfUnlessModifier: Description: Checks for `if` and `unless` statements that would fit on one line if written as modifier `if`/`unless`. The cop also checks for modifier `if`/`unless` lines that exceed the maximum line length. Enabled: false + +Style/MultipleComparison: + Description: Avoid comparing a variable with multiple items in a conditional, use Array#include? instead. + Enabled: false From 3d674f33a72918d828501fa8a27dec503ff8272c Mon Sep 17 00:00:00 2001 From: Stefanni Brasil Date: Tue, 4 Mar 2025 07:19:34 -0700 Subject: [PATCH 18/38] fix other rubocop offenses --- lib/faker/default/company.rb | 2 +- lib/faker/default/national_health_service.rb | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/faker/default/company.rb b/lib/faker/default/company.rb index 590cf3086d..1a32ec17a4 100644 --- a/lib/faker/default/company.rb +++ b/lib/faker/default/company.rb @@ -494,7 +494,7 @@ def indian_gst_number(state_code: nil) # Construct taxpayer number gen.group(name: :taxpayer_number) do |g_| g_.letter(length: 3, ranges: ['A'..'Z']) - g_.letter(length: 1, ranges: [%w[A B C F G H L J P T K]].to_a) + g_.letter(length: 1, ranges: [%w[A B C F G H L J P T K]]) g_.letter(length: 1, ranges: ['A'..'Z']) g_.int(length: 4, ranges: [0..9999]) g_.letter(length: 1, ranges: ['A'..'Z']) diff --git a/lib/faker/default/national_health_service.rb b/lib/faker/default/national_health_service.rb index 759c96f2c9..840dd3d37c 100644 --- a/lib/faker/default/national_health_service.rb +++ b/lib/faker/default/national_health_service.rb @@ -20,8 +20,7 @@ def british_number # If the check digit is equivalent to 10, the number is invalid. # See https://en.wikipedia.org/wiki/NHS_number base_number -= 1 if check_digit(number: base_number) == 10 - "#{base_number}#{check_digit(number: base_number)}".to_s - .chars + "#{base_number}#{check_digit(number: base_number)}".chars .insert(3, ' ') .insert(7, ' ') .join From f80048fc07ea40847f8b44488f0c6ede40ff51b6 Mon Sep 17 00:00:00 2001 From: Stefanni Brasil Date: Wed, 5 Mar 2025 19:48:40 -0700 Subject: [PATCH 19/38] don't want to add this --- Gemfile.lock | 1 - 1 file changed, 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 9bbe116715..7afe86e2d7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -66,7 +66,6 @@ GEM PLATFORMS arm64-darwin-22 - arm64-darwin-24 x86_64-linux DEPENDENCIES From 73ea7b270f06975174f6ec35ca4c8294a6c1f34b Mon Sep 17 00:00:00 2001 From: Stefanni Brasil Date: Mon, 3 Mar 2025 07:59:46 -0700 Subject: [PATCH 20/38] Bump rubocop-minitest We were getting this Rubocop's offense: ``` lib/helpers/deprecator.rb:106:7: C: Minitest/SkipWithoutReason: Add a reason explaining why the test is skipped. skip == true ^^^^ ``` That's because we needed to use the @skip instance instead. --- Gemfile | 2 +- Gemfile.lock | 7 ++++--- lib/helpers/deprecator.rb | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Gemfile b/Gemfile index 6919479972..cc38742d01 100644 --- a/Gemfile +++ b/Gemfile @@ -10,7 +10,7 @@ gem 'minitest', '5.25.4' gem 'pry', '0.15.2' gem 'rake', '13.2.1' gem 'rubocop', '1.73.0' -gem 'rubocop-minitest', '0.36.0' +gem 'rubocop-minitest', '0.37.0' gem 'rubocop-rake', '0.6.0' gem 'simplecov', '0.22.0' gem 'test-unit', '3.6.7' diff --git a/Gemfile.lock b/Gemfile.lock index 7afe86e2d7..2aa7192e7e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -44,9 +44,10 @@ GEM unicode-display_width (>= 2.4.0, < 4.0) rubocop-ast (1.38.1) parser (>= 3.3.1.0) - rubocop-minitest (0.36.0) + rubocop-minitest (0.37.0) + lint_roller (~> 1.1) rubocop (>= 1.61, < 2.0) - rubocop-ast (>= 1.31.1, < 2.0) + rubocop-ast (>= 1.38.0, < 2.0) rubocop-rake (0.6.0) rubocop (~> 1.0) ruby-progressbar (1.13.0) @@ -75,7 +76,7 @@ DEPENDENCIES pry (= 0.15.2) rake (= 13.2.1) rubocop (= 1.73.0) - rubocop-minitest (= 0.36.0) + rubocop-minitest (= 0.37.0) rubocop-rake (= 0.6.0) simplecov (= 0.22.0) test-unit (= 3.6.7) diff --git a/lib/helpers/deprecator.rb b/lib/helpers/deprecator.rb index fd46ac5849..58b777a7b1 100644 --- a/lib/helpers/deprecator.rb +++ b/lib/helpers/deprecator.rb @@ -103,7 +103,7 @@ def self.skip_warning end def self.skip_warning? - skip == true + @skip == true end def self.skip From 1940d6563b0aeadff416e764a178cd04e9ac2f75 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 6 Mar 2025 23:10:41 +0000 Subject: [PATCH 21/38] Bump rubocop-rake from 0.6.0 to 0.7.1 Bumps [rubocop-rake](https://github.com/rubocop/rubocop-rake) from 0.6.0 to 0.7.1. - [Release notes](https://github.com/rubocop/rubocop-rake/releases) - [Changelog](https://github.com/rubocop/rubocop-rake/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop-rake/compare/v0.6.0...v0.7.1) --- updated-dependencies: - dependency-name: rubocop-rake dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile | 2 +- Gemfile.lock | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Gemfile b/Gemfile index cc38742d01..097c07ac4d 100644 --- a/Gemfile +++ b/Gemfile @@ -11,7 +11,7 @@ gem 'pry', '0.15.2' gem 'rake', '13.2.1' gem 'rubocop', '1.73.0' gem 'rubocop-minitest', '0.37.0' -gem 'rubocop-rake', '0.6.0' +gem 'rubocop-rake', '0.7.1' gem 'simplecov', '0.22.0' gem 'test-unit', '3.6.7' gem 'timecop', '0.9.10' diff --git a/Gemfile.lock b/Gemfile.lock index 2aa7192e7e..d7df28eba8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -20,7 +20,7 @@ GEM method_source (1.1.0) minitest (5.25.4) parallel (1.26.3) - parser (3.3.6.0) + parser (3.3.7.1) ast (~> 2.4.1) racc power_assert (2.0.5) @@ -48,8 +48,9 @@ GEM lint_roller (~> 1.1) rubocop (>= 1.61, < 2.0) rubocop-ast (>= 1.38.0, < 2.0) - rubocop-rake (0.6.0) - rubocop (~> 1.0) + rubocop-rake (0.7.1) + lint_roller (~> 1.1) + rubocop (>= 1.72.1) ruby-progressbar (1.13.0) simplecov (0.22.0) docile (~> 1.1) @@ -77,7 +78,7 @@ DEPENDENCIES rake (= 13.2.1) rubocop (= 1.73.0) rubocop-minitest (= 0.37.0) - rubocop-rake (= 0.6.0) + rubocop-rake (= 0.7.1) simplecov (= 0.22.0) test-unit (= 3.6.7) timecop (= 0.9.10) From dbe6811c8df6bf36ac113dd1f5c7a793b95e9752 Mon Sep 17 00:00:00 2001 From: Mark Delk Date: Thu, 6 Mar 2025 22:30:10 -0600 Subject: [PATCH 22/38] fix a typo --- lib/faker/default/invoice.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/faker/default/invoice.rb b/lib/faker/default/invoice.rb index 2913ce767b..8cd09fcd61 100644 --- a/lib/faker/default/invoice.rb +++ b/lib/faker/default/invoice.rb @@ -13,8 +13,8 @@ class << self # @return [Integer] # # @example - # Faker::Finance.amount_between #=> 0 - # Faker::Finance.amount_between(0, 10) #=> 4.33 + # Faker::Invoice.amount_between #=> 0 + # Faker::Invoice.amount_between(from: 0, to: 10) #=> 4.33 # # @faker.version 1.9.0 def amount_between(from: 0, to: 0) From 27dd2d9c1c80cfbdd2e8335947178a8ba66644e6 Mon Sep 17 00:00:00 2001 From: Thiago Araujo Date: Mon, 10 Mar 2025 20:52:12 -0600 Subject: [PATCH 23/38] fix: typo in `ja/book` locale --- lib/locales/ja/book.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/locales/ja/book.yml b/lib/locales/ja/book.yml index 4916a79ce6..093ef95a36 100644 --- a/lib/locales/ja/book.yml +++ b/lib/locales/ja/book.yml @@ -1,7 +1,7 @@ ja: faker: book: - title: ["こころ", "羅生門", "人間失格", "吾輩は猫である", "銀河鉄道の夜", "坊っちゃん", "痴人の愛", "ドグラ・マグラ", "蜘蛛の糸", "蟹工船", "春琴抄", "三四郎", "斜陽", "夢十夜", "走れメロス", "怪人二十面相", "人間椅子", "檸檬", "舞姫", "道鏡", "ポオ異界詩集", "銀河鉄道の夜", "変身", "山月記", "注文の多い料理店", "吉野葛", "百足ちがい", "D坂の殺人事件", "草枕", "地底獣国", "堕落論", "七日七夜", "ヴィヨンの妻", "学問のすすめ", "孤島の鬼", "湖畔", "女生徒", "鼻", "遠野物語", "生霊", "河童", "少女地獄", "高瀬舟", "少年探偵団", "陰翳礼讃", "桜の森の満開の下", "押絵と旅する男", "風立ちぬ", "或阿呆の一生", "鬼", "カラマゾフの兄弟", "乞食", "心理試験", "猫の蚤とり武士", "相対性理論", "地獄変", "一握の砂", "注文の多い料理店", "ア、秋", "セロ弾きのゴーシュ", "小夜の中山夜啼石", "ごん狐", "金色夜叉", "とびくらべ", "方丈記", "雉子のはなし", "ファウスト", "それから", "寸感", "風の又三郎", "パノラマ島綺譚", "ノア", "グッド・バイ", "黒猫", "秋", "よだかの星", "虞美人草", "智恵子抄", "芋粥", "化学調味料", "心得教育", "破戒", "刺青", "舞姫", "国防と科学", "浮雲", "雁", "あばばばば", "聖家族", "富嶽百景", "手習鑑評判記", "藪の中", "高野聖", "阿Q正伝", "『春と修羅』", "白痴", "蒲団", "桜の樹の下には", "二銭銅貨", "モルグ街の殺人事件", "ガリバー旅行記", "ヰタ・セクスアリス", "たけくらべ", "蒲団", "トロッコ", "山月記", "お伽草紙", "つばくろ", "アーサー王物語", "長崎の鐘", "家畜食に甘んずる多くの人々", "山椒大夫", "手袋を買いに", "それから", "悪魔", "オツベルと象", "杜子春", "あさましきもの", "門", "駈込み訴え", "赤い部屋", "阿部一族", "羅生門", "はたし状", "鍵", "オリンピック東京大会讃歌", "歴史哲学", "I can speak", "老人と海", "赤いカブトムシ", "蜜柑", "愛読書の印象", "『吾輩は猫である』上篇自序", "外科室", "やまなし", "アッシャー家の崩壊", "山羊の歌", "新潮記", "銀河鉄道の夜", "黒死館殺人事件", "芝居に出た名残星月夜", "イズムの功過", "明暗", "ああ華族様だよ と私は嘘を吐くのであった", "私の個人主義", "グスコーブドリの伝記", "津軽", "歯車", "日記帳", "江戸前の釣り", "屋根裏の散歩者", "オオカミと七ひきの子ヤギ", "妙義山の五日", "道草", "道化の華", "土佐日記", "一夜", "若草物語", "黒蜥蜴", "彼岸過迄", "桃太郎", "城", "いなか、の、じけん", "指環", "野菊の墓", "管見芭蕉翁", "ある時刻", "夫婦共稼ぎと女子の学問", "行人", "瓶詰地獄", "赤いくつ", "赤毛連盟", "李陵", "雪女", "愛と美について", "瘋癲老人日記", "耳無芳一の話", "クリスマス・カロル", "はちとばらの花", "パンドラの匣", "赤ひげ診療譚\n01 狂女の", "怪奇四十面相", "文字禍", "蜜柑", "遥かな旅", "或恋愛小説", "イワンの馬鹿", "盲目物語", "白雪姫", "桜桃", "銀河鉄道の夜", "狂人日記"] + title: ["こころ", "羅生門", "人間失格", "吾輩は猫である", "銀河鉄道の夜", "坊っちゃん", "痴人の愛", "ドグラ・マグラ", "蜘蛛の糸", "蟹工船", "春琴抄", "三四郎", "斜陽", "夢十夜", "走れメロス", "怪人二十面相", "人間椅子", "檸檬", "舞姫", "道鏡", "ポオ異界詩集", "銀河鉄道の夜", "変身", "山月記", "注文の多い料理店", "吉野葛", "百足ちがい", "D坂の殺人事件", "草枕", "地底獣国", "堕落論", "七日七夜", "ヴィヨンの妻", "学問のすすめ", "孤島の鬼", "湖畔", "女生徒", "鼻", "遠野物語", "生霊", "河童", "少女地獄", "高瀬舟", "少年探偵団", "陰翳礼讃", "桜の森の満開の下", "押絵と旅する男", "風立ちぬ", "或阿呆の一生", "鬼", "カラマゾフの兄弟", "乞食", "心理試験", "猫の蚤とり武士", "相対性理論", "地獄変", "一握の砂", "注文の多い料理店", "ア、秋", "セロ弾きのゴーシュ", "小夜の中山夜啼石", "ごん狐", "金色夜叉", "とびくらべ", "方丈記", "雉子のはなし", "ファウスト", "それから", "寸感", "風の又三郎", "パノラマ島綺譚", "ノア", "グッド・バイ", "黒猫", "秋", "よだかの星", "虞美人草", "智恵子抄", "芋粥", "化学調味料", "心得教育", "破戒", "刺青", "舞姫", "国防と科学", "浮雲", "雁", "あばばばば", "聖家族", "富嶽百景", "手習鑑評判記", "藪の中", "高野聖", "阿Q正伝", "『春と修羅』", "白痴", "蒲団", "桜の樹の下には", "二銭銅貨", "モルグ街の殺人事件", "ガリバー旅行記", "ヰタ・セクスアリス", "たけくらべ", "蒲団", "トロッコ", "山月記", "お伽草紙", "つばくろ", "アーサー王物語", "長崎の鐘", "家畜食に甘んずる多くの人々", "山椒大夫", "手袋を買いに", "それから", "悪魔", "オツベルと象", "杜子春", "あさましきもの", "門", "駈込み訴え", "赤い部屋", "阿部一族", "羅生門", "はたし状", "鍵", "オリンピック東京大会讃歌", "歴史哲学", "I can speak", "老人と海", "赤いカブトムシ", "蜜柑", "愛読書の印象", "『吾輩は猫である』上篇自序", "外科室", "やまなし", "アッシャー家の崩壊", "山羊の歌", "新潮記", "銀河鉄道の夜", "黒死館殺人事件", "芝居に出た名残星月夜", "イズムの功過", "明暗", "ああ華族様だよ と私は嘘を吐くのであった", "私の個人主義", "グスコーブドリの伝記", "津軽", "歯車", "日記帳", "江戸前の釣り", "屋根裏の散歩者", "オオカミと七ひきの子ヤギ", "妙義山の五日", "道草", "道化の華", "土佐日記", "一夜", "若草物語", "黒蜥蜴", "彼岸過迄", "桃太郎", "城", "いなか、の、じけん", "指環", "野菊の墓", "管見芭蕉翁", "ある時刻", "夫婦共稼ぎと女子の学問", "行人", "瓶詰地獄", "赤いくつ", "赤毛連盟", "李陵", "雪女", "愛と美について", "瘋癲老人日記", "耳無芳一の話", "クリスマス・カロル", "はちとばらの花", "パンドラの匣", "赤ひげ診療譚 狂女の", "怪奇四十面相", "文字禍", "蜜柑", "遥かな旅", "或恋愛小説", "イワンの馬鹿", "盲目物語", "白雪姫", "桜桃", "銀河鉄道の夜", "狂人日記"] author: "#{Name.name}" publisher: ["岩波書店", "講談社", "新潮社", "筑摩書房", "平凡社", "中央公論社", "朝日新聞社", "みすず書房", "吉川弘文館", "角川書店", "東京大学出版会", "小学館", "河出書房新社", "集英社", "白水社", "文藝春秋", "至文堂", "国書刊行会", "青土社", "早川書房", "毎日新聞社", "美術出版社", "有斐閣", "春秋社", "法政大学出版局", "二玄社", "新人物往来社", "勁草書房", "三一書房", "明治書院", "創元社", "雄山閣", "未来社", "思潮社", "音楽之友社", "日本放送出版協会", "日本評論社", "大修館書店", "三省堂", "創文社", "河出書房", "人文書院", "弘文堂", "徳間書店", "晶文社", "ミネルヴァ書房", "東京創元社", "淡交社", "読売新聞社", "光文社", "改造社", "日本経済新聞社", "原書房", "誠文堂新光社", "実業之日本社", "博文館", "東京堂出版", "新教出版社", "青木書店", "東洋経済新報社", "教文館", "法蔵館", "学習研究社", "研究社", "思文閣出版", "春陽堂", "柏書房", "山川出版社", "汲古書院", "第一書房", "冨山房", "明治図書", "作品社", "笠間書院", "藤原書店", "大月書店", "福音館書店", "理想社", "角川文庫", "東京書籍", "中央公論新社", "御茶の水書房", "新曜社", "塙書房", "旺文社", "鹿島出版会", "日本基督教団出版局", "社会思想社", "草思社", "名著出版", "PHP研究所", "大和書房", "明石書店", "文化出版局", "キネマ旬報社", "学生社", "ぺりかん社", "新日本出版社", "中華書局", "保育社", "桜楓社", "立風書房", "中央公論美術出版", "丸善", "現代思潮社", "臨川書店", "求龍堂", "三笠書房", "和泉書院", "朝倉書店", "名古屋大学出版会", "時事通信社", "誠信書房", "共立出版", "檜書店", "国文社", "福武書店", "芸術新聞社", "風間書房", "ベースボールマガジン社", "双葉社", "大東出版社", "彰国社", "主婦の友社", "朝日出版社", "朝日ソノラマ", "紀伊國屋書店", "秋田書店", "ほるぷ出版", "工作舎", "偕成社", "光人社", "校倉書房", "古今書院", "木耳社", "潮出版社", "青蛙房", "二見書房", "沖積舎", "同朋舎", "大蔵出版", "岩崎美術社", "せりか書房", "サンリオ", "世界文化社", "小沢書店", "新評論", "学燈社", "山と渓谷社", "大法輪閣", "早稲田大学出版部", "冬樹社", "日本経済評論社", "新泉社", "培風館", "リブロポート", "古典文庫", "新書館", "東京美術", "桃源社", "アルス", "有精堂", "日本教文社", "平楽寺書店", "勉誠出版", "世界思想社", "ぎょうせい", "勉誠社", "東海大学出版会", "書肆山田", "玉川大学出版部", "恒文社", "法律文化社", "北海道新聞社", "京都書院", "いのちのことば社", "三彩社", "芙蓉書房", "NHK出版", "第一法規", "評論社", "理論社", "明徳出版社", "社会評論社", "學燈社", "京都大学学術出版会", "NTT出版", "葦書房", "日本近代文学館", "彩流社", "芳賀書店", "八木書店", "青弓社", "農山漁村文化協会", "短歌新聞社", "六興出版", "同文館", "築地書館", "続群書類従完成会", "柴田書店", "水声社", "人物往来社", "朝雲新聞社", "日貿出版社", "宝文館", "日本文芸社", "日本棋院", "白揚社", "晃洋書房", "里文出版", "成文堂", "福村出版", "文藝春秋新社", "砂子屋書房", "雑司ヶ谷書房", "論創社", "国土社", "教育社", "芸艸堂", "以文社", "大明堂", "金剛出版", "婦人画報社", "千倉書房", "沖縄タイムス社", "ポプラ社", "マガジンハウス", "刀水書房", "TBSブリタニカ", "主婦と生活社", "岩田書院", "八坂書房", "木鐸社", "八幡書店", "新建築社", "大学書林", "番町書房", "日本将棋連盟", "東京国立博物館", "五月書房", "近代映画社", "おうふう", "永田文昌堂", "平凡出版", "北隆館", "中央経済社", "刀江書院", "鉄道図書刊行会", "思索社", "学陽書房", "三和出版", "山本書店", "太田出版", "東方出版", "わんや書店", "東方書店", "東京図書", "産業図書", "岩崎学術出版社", "日本図書センター"] genre: ["現代小説", "推理小説", "歴史・時代小説", "映画原作・ノベライズ", "ノンフィクション・エッセイ・評論", "ファンタジー", "SF・ホラー", "ライトノベル", "海外文学", "児童文学", "詩歌", "古典", "時事・社会", "ビジネス", "環境・地球", "生き方・自己啓発", "料理・グルメ", "レシピ・食材", "ファッション", "マネー・家計", "家事・生活", "住まい・インテリア", "冠婚葬祭・マナー", "家庭医学", "美容・ダイエット", "学習参考書", "知育", "音楽", "舞台・演劇", "古典芸能", "美術・工芸", "イラスト・デザイン", "写真集", "歴史", "自然科学", "百科事典・図鑑", "絵本"] From bc3dbc8581815e79c560995fb1b230bb5fd3c307 Mon Sep 17 00:00:00 2001 From: Thiago Araujo Date: Mon, 10 Mar 2025 20:57:18 -0600 Subject: [PATCH 24/38] Reformat `ja/book.yml` locale --- lib/locales/ja/book.yml | 495 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 492 insertions(+), 3 deletions(-) diff --git a/lib/locales/ja/book.yml b/lib/locales/ja/book.yml index 093ef95a36..09396dee98 100644 --- a/lib/locales/ja/book.yml +++ b/lib/locales/ja/book.yml @@ -1,7 +1,496 @@ ja: faker: book: - title: ["こころ", "羅生門", "人間失格", "吾輩は猫である", "銀河鉄道の夜", "坊っちゃん", "痴人の愛", "ドグラ・マグラ", "蜘蛛の糸", "蟹工船", "春琴抄", "三四郎", "斜陽", "夢十夜", "走れメロス", "怪人二十面相", "人間椅子", "檸檬", "舞姫", "道鏡", "ポオ異界詩集", "銀河鉄道の夜", "変身", "山月記", "注文の多い料理店", "吉野葛", "百足ちがい", "D坂の殺人事件", "草枕", "地底獣国", "堕落論", "七日七夜", "ヴィヨンの妻", "学問のすすめ", "孤島の鬼", "湖畔", "女生徒", "鼻", "遠野物語", "生霊", "河童", "少女地獄", "高瀬舟", "少年探偵団", "陰翳礼讃", "桜の森の満開の下", "押絵と旅する男", "風立ちぬ", "或阿呆の一生", "鬼", "カラマゾフの兄弟", "乞食", "心理試験", "猫の蚤とり武士", "相対性理論", "地獄変", "一握の砂", "注文の多い料理店", "ア、秋", "セロ弾きのゴーシュ", "小夜の中山夜啼石", "ごん狐", "金色夜叉", "とびくらべ", "方丈記", "雉子のはなし", "ファウスト", "それから", "寸感", "風の又三郎", "パノラマ島綺譚", "ノア", "グッド・バイ", "黒猫", "秋", "よだかの星", "虞美人草", "智恵子抄", "芋粥", "化学調味料", "心得教育", "破戒", "刺青", "舞姫", "国防と科学", "浮雲", "雁", "あばばばば", "聖家族", "富嶽百景", "手習鑑評判記", "藪の中", "高野聖", "阿Q正伝", "『春と修羅』", "白痴", "蒲団", "桜の樹の下には", "二銭銅貨", "モルグ街の殺人事件", "ガリバー旅行記", "ヰタ・セクスアリス", "たけくらべ", "蒲団", "トロッコ", "山月記", "お伽草紙", "つばくろ", "アーサー王物語", "長崎の鐘", "家畜食に甘んずる多くの人々", "山椒大夫", "手袋を買いに", "それから", "悪魔", "オツベルと象", "杜子春", "あさましきもの", "門", "駈込み訴え", "赤い部屋", "阿部一族", "羅生門", "はたし状", "鍵", "オリンピック東京大会讃歌", "歴史哲学", "I can speak", "老人と海", "赤いカブトムシ", "蜜柑", "愛読書の印象", "『吾輩は猫である』上篇自序", "外科室", "やまなし", "アッシャー家の崩壊", "山羊の歌", "新潮記", "銀河鉄道の夜", "黒死館殺人事件", "芝居に出た名残星月夜", "イズムの功過", "明暗", "ああ華族様だよ と私は嘘を吐くのであった", "私の個人主義", "グスコーブドリの伝記", "津軽", "歯車", "日記帳", "江戸前の釣り", "屋根裏の散歩者", "オオカミと七ひきの子ヤギ", "妙義山の五日", "道草", "道化の華", "土佐日記", "一夜", "若草物語", "黒蜥蜴", "彼岸過迄", "桃太郎", "城", "いなか、の、じけん", "指環", "野菊の墓", "管見芭蕉翁", "ある時刻", "夫婦共稼ぎと女子の学問", "行人", "瓶詰地獄", "赤いくつ", "赤毛連盟", "李陵", "雪女", "愛と美について", "瘋癲老人日記", "耳無芳一の話", "クリスマス・カロル", "はちとばらの花", "パンドラの匣", "赤ひげ診療譚 狂女の", "怪奇四十面相", "文字禍", "蜜柑", "遥かな旅", "或恋愛小説", "イワンの馬鹿", "盲目物語", "白雪姫", "桜桃", "銀河鉄道の夜", "狂人日記"] + title: + - こころ + - 羅生門 + - 人間失格 + - 吾輩は猫である + - 銀河鉄道の夜 + - 坊っちゃん + - 痴人の愛 + - ドグラ・マグラ + - 蜘蛛の糸 + - 蟹工船 + - 春琴抄 + - 三四郎 + - 斜陽 + - 夢十夜 + - 走れメロス + - 怪人二十面相 + - 人間椅子 + - 檸檬 + - 舞姫 + - 道鏡 + - ポオ異界詩集 + - 銀河鉄道の夜 + - 変身 + - 山月記 + - 注文の多い料理店 + - 吉野葛 + - 百足ちがい + - D坂の殺人事件 + - 草枕 + - 地底獣国 + - 堕落論 + - 七日七夜 + - ヴィヨンの妻 + - 学問のすすめ + - 孤島の鬼 + - 湖畔 + - 女生徒 + - 鼻 + - 遠野物語 + - 生霊 + - 河童 + - 少女地獄 + - 高瀬舟 + - 少年探偵団 + - 陰翳礼讃 + - 桜の森の満開の下 + - 押絵と旅する男 + - 風立ちぬ + - 或阿呆の一生 + - 鬼 + - カラマゾフの兄弟 + - 乞食 + - 心理試験 + - 猫の蚤とり武士 + - 相対性理論 + - 地獄変 + - 一握の砂 + - 注文の多い料理店 + - ア、秋 + - セロ弾きのゴーシュ + - 小夜の中山夜啼石 + - ごん狐 + - 金色夜叉 + - とびくらべ + - 方丈記 + - 雉子のはなし + - ファウスト + - それから + - 寸感 + - 風の又三郎 + - パノラマ島綺譚 + - ノア + - グッド・バイ + - 黒猫 + - 秋 + - よだかの星 + - 虞美人草 + - 智恵子抄 + - 芋粥 + - 化学調味料 + - 心得教育 + - 破戒 + - 刺青 + - 舞姫 + - 国防と科学 + - 浮雲 + - 雁 + - あばばばば + - 聖家族 + - 富嶽百景 + - 手習鑑評判記 + - 藪の中 + - 高野聖 + - 阿Q正伝 + - "『春と修羅』" + - 白痴 + - 蒲団 + - 桜の樹の下には + - 二銭銅貨 + - モルグ街の殺人事件 + - ガリバー旅行記 + - ヰタ・セクスアリス + - たけくらべ + - 蒲団 + - トロッコ + - 山月記 + - お伽草紙 + - つばくろ + - アーサー王物語 + - 長崎の鐘 + - 家畜食に甘んずる多くの人々 + - 山椒大夫 + - 手袋を買いに + - それから + - 悪魔 + - オツベルと象 + - 杜子春 + - あさましきもの + - 門 + - 駈込み訴え + - 赤い部屋 + - 阿部一族 + - 羅生門 + - はたし状 + - 鍵 + - オリンピック東京大会讃歌 + - 歴史哲学 + - I can speak + - 老人と海 + - 赤いカブトムシ + - 蜜柑 + - 愛読書の印象 + - "『吾輩は猫である』上篇自序" + - 外科室 + - やまなし + - アッシャー家の崩壊 + - 山羊の歌 + - 新潮記 + - 銀河鉄道の夜 + - 黒死館殺人事件 + - 芝居に出た名残星月夜 + - イズムの功過 + - 明暗 + - ああ華族様だよ と私は嘘を吐くのであった + - 私の個人主義 + - グスコーブドリの伝記 + - 津軽 + - 歯車 + - 日記帳 + - 江戸前の釣り + - 屋根裏の散歩者 + - オオカミと七ひきの子ヤギ + - 妙義山の五日 + - 道草 + - 道化の華 + - 土佐日記 + - 一夜 + - 若草物語 + - 黒蜥蜴 + - 彼岸過迄 + - 桃太郎 + - 城 + - いなか、の、じけん + - 指環 + - 野菊の墓 + - 管見芭蕉翁 + - ある時刻 + - 夫婦共稼ぎと女子の学問 + - 行人 + - 瓶詰地獄 + - 赤いくつ + - 赤毛連盟 + - 李陵 + - 雪女 + - 愛と美について + - 瘋癲老人日記 + - 耳無芳一の話 + - クリスマス・カロル + - はちとばらの花 + - パンドラの匣 + - 赤ひげ診療譚 狂女の + - 怪奇四十面相 + - 文字禍 + - 蜜柑 + - 遥かな旅 + - 或恋愛小説 + - イワンの馬鹿 + - 盲目物語 + - 白雪姫 + - 桜桃 + - 銀河鉄道の夜 + - 狂人日記 author: "#{Name.name}" - publisher: ["岩波書店", "講談社", "新潮社", "筑摩書房", "平凡社", "中央公論社", "朝日新聞社", "みすず書房", "吉川弘文館", "角川書店", "東京大学出版会", "小学館", "河出書房新社", "集英社", "白水社", "文藝春秋", "至文堂", "国書刊行会", "青土社", "早川書房", "毎日新聞社", "美術出版社", "有斐閣", "春秋社", "法政大学出版局", "二玄社", "新人物往来社", "勁草書房", "三一書房", "明治書院", "創元社", "雄山閣", "未来社", "思潮社", "音楽之友社", "日本放送出版協会", "日本評論社", "大修館書店", "三省堂", "創文社", "河出書房", "人文書院", "弘文堂", "徳間書店", "晶文社", "ミネルヴァ書房", "東京創元社", "淡交社", "読売新聞社", "光文社", "改造社", "日本経済新聞社", "原書房", "誠文堂新光社", "実業之日本社", "博文館", "東京堂出版", "新教出版社", "青木書店", "東洋経済新報社", "教文館", "法蔵館", "学習研究社", "研究社", "思文閣出版", "春陽堂", "柏書房", "山川出版社", "汲古書院", "第一書房", "冨山房", "明治図書", "作品社", "笠間書院", "藤原書店", "大月書店", "福音館書店", "理想社", "角川文庫", "東京書籍", "中央公論新社", "御茶の水書房", "新曜社", "塙書房", "旺文社", "鹿島出版会", "日本基督教団出版局", "社会思想社", "草思社", "名著出版", "PHP研究所", "大和書房", "明石書店", "文化出版局", "キネマ旬報社", "学生社", "ぺりかん社", "新日本出版社", "中華書局", "保育社", "桜楓社", "立風書房", "中央公論美術出版", "丸善", "現代思潮社", "臨川書店", "求龍堂", "三笠書房", "和泉書院", "朝倉書店", "名古屋大学出版会", "時事通信社", "誠信書房", "共立出版", "檜書店", "国文社", "福武書店", "芸術新聞社", "風間書房", "ベースボールマガジン社", "双葉社", "大東出版社", "彰国社", "主婦の友社", "朝日出版社", "朝日ソノラマ", "紀伊國屋書店", "秋田書店", "ほるぷ出版", "工作舎", "偕成社", "光人社", "校倉書房", "古今書院", "木耳社", "潮出版社", "青蛙房", "二見書房", "沖積舎", "同朋舎", "大蔵出版", "岩崎美術社", "せりか書房", "サンリオ", "世界文化社", "小沢書店", "新評論", "学燈社", "山と渓谷社", "大法輪閣", "早稲田大学出版部", "冬樹社", "日本経済評論社", "新泉社", "培風館", "リブロポート", "古典文庫", "新書館", "東京美術", "桃源社", "アルス", "有精堂", "日本教文社", "平楽寺書店", "勉誠出版", "世界思想社", "ぎょうせい", "勉誠社", "東海大学出版会", "書肆山田", "玉川大学出版部", "恒文社", "法律文化社", "北海道新聞社", "京都書院", "いのちのことば社", "三彩社", "芙蓉書房", "NHK出版", "第一法規", "評論社", "理論社", "明徳出版社", "社会評論社", "學燈社", "京都大学学術出版会", "NTT出版", "葦書房", "日本近代文学館", "彩流社", "芳賀書店", "八木書店", "青弓社", "農山漁村文化協会", "短歌新聞社", "六興出版", "同文館", "築地書館", "続群書類従完成会", "柴田書店", "水声社", "人物往来社", "朝雲新聞社", "日貿出版社", "宝文館", "日本文芸社", "日本棋院", "白揚社", "晃洋書房", "里文出版", "成文堂", "福村出版", "文藝春秋新社", "砂子屋書房", "雑司ヶ谷書房", "論創社", "国土社", "教育社", "芸艸堂", "以文社", "大明堂", "金剛出版", "婦人画報社", "千倉書房", "沖縄タイムス社", "ポプラ社", "マガジンハウス", "刀水書房", "TBSブリタニカ", "主婦と生活社", "岩田書院", "八坂書房", "木鐸社", "八幡書店", "新建築社", "大学書林", "番町書房", "日本将棋連盟", "東京国立博物館", "五月書房", "近代映画社", "おうふう", "永田文昌堂", "平凡出版", "北隆館", "中央経済社", "刀江書院", "鉄道図書刊行会", "思索社", "学陽書房", "三和出版", "山本書店", "太田出版", "東方出版", "わんや書店", "東方書店", "東京図書", "産業図書", "岩崎学術出版社", "日本図書センター"] - genre: ["現代小説", "推理小説", "歴史・時代小説", "映画原作・ノベライズ", "ノンフィクション・エッセイ・評論", "ファンタジー", "SF・ホラー", "ライトノベル", "海外文学", "児童文学", "詩歌", "古典", "時事・社会", "ビジネス", "環境・地球", "生き方・自己啓発", "料理・グルメ", "レシピ・食材", "ファッション", "マネー・家計", "家事・生活", "住まい・インテリア", "冠婚葬祭・マナー", "家庭医学", "美容・ダイエット", "学習参考書", "知育", "音楽", "舞台・演劇", "古典芸能", "美術・工芸", "イラスト・デザイン", "写真集", "歴史", "自然科学", "百科事典・図鑑", "絵本"] + publisher: + - 岩波書店 + - 講談社 + - 新潮社 + - 筑摩書房 + - 平凡社 + - 中央公論社 + - 朝日新聞社 + - みすず書房 + - 吉川弘文館 + - 角川書店 + - 東京大学出版会 + - 小学館 + - 河出書房新社 + - 集英社 + - 白水社 + - 文藝春秋 + - 至文堂 + - 国書刊行会 + - 青土社 + - 早川書房 + - 毎日新聞社 + - 美術出版社 + - 有斐閣 + - 春秋社 + - 法政大学出版局 + - 二玄社 + - 新人物往来社 + - 勁草書房 + - 三一書房 + - 明治書院 + - 創元社 + - 雄山閣 + - 未来社 + - 思潮社 + - 音楽之友社 + - 日本放送出版協会 + - 日本評論社 + - 大修館書店 + - 三省堂 + - 創文社 + - 河出書房 + - 人文書院 + - 弘文堂 + - 徳間書店 + - 晶文社 + - ミネルヴァ書房 + - 東京創元社 + - 淡交社 + - 読売新聞社 + - 光文社 + - 改造社 + - 日本経済新聞社 + - 原書房 + - 誠文堂新光社 + - 実業之日本社 + - 博文館 + - 東京堂出版 + - 新教出版社 + - 青木書店 + - 東洋経済新報社 + - 教文館 + - 法蔵館 + - 学習研究社 + - 研究社 + - 思文閣出版 + - 春陽堂 + - 柏書房 + - 山川出版社 + - 汲古書院 + - 第一書房 + - 冨山房 + - 明治図書 + - 作品社 + - 笠間書院 + - 藤原書店 + - 大月書店 + - 福音館書店 + - 理想社 + - 角川文庫 + - 東京書籍 + - 中央公論新社 + - 御茶の水書房 + - 新曜社 + - 塙書房 + - 旺文社 + - 鹿島出版会 + - 日本基督教団出版局 + - 社会思想社 + - 草思社 + - 名著出版 + - PHP研究所 + - 大和書房 + - 明石書店 + - 文化出版局 + - キネマ旬報社 + - 学生社 + - ぺりかん社 + - 新日本出版社 + - 中華書局 + - 保育社 + - 桜楓社 + - 立風書房 + - 中央公論美術出版 + - 丸善 + - 現代思潮社 + - 臨川書店 + - 求龍堂 + - 三笠書房 + - 和泉書院 + - 朝倉書店 + - 名古屋大学出版会 + - 時事通信社 + - 誠信書房 + - 共立出版 + - 檜書店 + - 国文社 + - 福武書店 + - 芸術新聞社 + - 風間書房 + - ベースボールマガジン社 + - 双葉社 + - 大東出版社 + - 彰国社 + - 主婦の友社 + - 朝日出版社 + - 朝日ソノラマ + - 紀伊國屋書店 + - 秋田書店 + - ほるぷ出版 + - 工作舎 + - 偕成社 + - 光人社 + - 校倉書房 + - 古今書院 + - 木耳社 + - 潮出版社 + - 青蛙房 + - 二見書房 + - 沖積舎 + - 同朋舎 + - 大蔵出版 + - 岩崎美術社 + - せりか書房 + - サンリオ + - 世界文化社 + - 小沢書店 + - 新評論 + - 学燈社 + - 山と渓谷社 + - 大法輪閣 + - 早稲田大学出版部 + - 冬樹社 + - 日本経済評論社 + - 新泉社 + - 培風館 + - リブロポート + - 古典文庫 + - 新書館 + - 東京美術 + - 桃源社 + - アルス + - 有精堂 + - 日本教文社 + - 平楽寺書店 + - 勉誠出版 + - 世界思想社 + - ぎょうせい + - 勉誠社 + - 東海大学出版会 + - 書肆山田 + - 玉川大学出版部 + - 恒文社 + - 法律文化社 + - 北海道新聞社 + - 京都書院 + - いのちのことば社 + - 三彩社 + - 芙蓉書房 + - NHK出版 + - 第一法規 + - 評論社 + - 理論社 + - 明徳出版社 + - 社会評論社 + - 學燈社 + - 京都大学学術出版会 + - NTT出版 + - 葦書房 + - 日本近代文学館 + - 彩流社 + - 芳賀書店 + - 八木書店 + - 青弓社 + - 農山漁村文化協会 + - 短歌新聞社 + - 六興出版 + - 同文館 + - 築地書館 + - 続群書類従完成会 + - 柴田書店 + - 水声社 + - 人物往来社 + - 朝雲新聞社 + - 日貿出版社 + - 宝文館 + - 日本文芸社 + - 日本棋院 + - 白揚社 + - 晃洋書房 + - 里文出版 + - 成文堂 + - 福村出版 + - 文藝春秋新社 + - 砂子屋書房 + - 雑司ヶ谷書房 + - 論創社 + - 国土社 + - 教育社 + - 芸艸堂 + - 以文社 + - 大明堂 + - 金剛出版 + - 婦人画報社 + - 千倉書房 + - 沖縄タイムス社 + - ポプラ社 + - マガジンハウス + - 刀水書房 + - TBSブリタニカ + - 主婦と生活社 + - 岩田書院 + - 八坂書房 + - 木鐸社 + - 八幡書店 + - 新建築社 + - 大学書林 + - 番町書房 + - 日本将棋連盟 + - 東京国立博物館 + - 五月書房 + - 近代映画社 + - おうふう + - 永田文昌堂 + - 平凡出版 + - 北隆館 + - 中央経済社 + - 刀江書院 + - 鉄道図書刊行会 + - 思索社 + - 学陽書房 + - 三和出版 + - 山本書店 + - 太田出版 + - 東方出版 + - わんや書店 + - 東方書店 + - 東京図書 + - 産業図書 + - 岩崎学術出版社 + - 日本図書センター + genre: + - 現代小説 + - 推理小説 + - 歴史・時代小説 + - 映画原作・ノベライズ + - ノンフィクション・エッセイ・評論 + - ファンタジー + - SF・ホラー + - ライトノベル + - 海外文学 + - 児童文学 + - 詩歌 + - 古典 + - 時事・社会 + - ビジネス + - 環境・地球 + - 生き方・自己啓発 + - 料理・グルメ + - レシピ・食材 + - ファッション + - マネー・家計 + - 家事・生活 + - 住まい・インテリア + - 冠婚葬祭・マナー + - 家庭医学 + - 美容・ダイエット + - 学習参考書 + - 知育 + - 音楽 + - 舞台・演劇 + - 古典芸能 + - 美術・工芸 + - イラスト・デザイン + - 写真集 + - 歴史 + - 自然科学 + - 百科事典・図鑑 + - 絵本 From c4dbbcc804ef4b31c164a1f05419d6913f3202d6 Mon Sep 17 00:00:00 2001 From: Haider Ali Date: Sat, 26 Apr 2025 02:15:01 +0500 Subject: [PATCH 25/38] use same minitest version for tests (#3073) --- test/test_i18n_reload.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_i18n_reload.rb b/test/test_i18n_reload.rb index e20c145e52..a6a06e3954 100644 --- a/test/test_i18n_reload.rb +++ b/test/test_i18n_reload.rb @@ -12,7 +12,7 @@ def test_faker_i18n gemfile do source 'https://rubygems.org' - gem 'minitest' + gem 'minitest', '5.25.4' gem 'i18n' end From 7c649d769aaefe08b7cdbd0e261038a21e0b2cac Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 25 Apr 2025 23:23:24 +0200 Subject: [PATCH 26/38] Fix typo in `restaurant.yml` (#3067) * Fix typo in restaurant.yml --- lib/locales/en/restaurant.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/locales/en/restaurant.yml b/lib/locales/en/restaurant.yml index c892c46f18..58e67a9610 100644 --- a/lib/locales/en/restaurant.yml +++ b/lib/locales/en/restaurant.yml @@ -125,5 +125,5 @@ en: - "Ambience was good, service was no nonsense but friendly." - "Id have to say that each piece was fresh and had their own slight unique flavor twist to it, pushing the line between traditional edomae and fusion. The Hokkaido uni and the ocean trout topped with cook seaweed was the highlights of the meal. But each piece served was really something special." - "Staff was very accommodating but the chef were no nonsense. The ambiance is clean and tranquil which is perfect if youre looking to have a conversation with a date or a friend." - - "My only critique would be that the rice could of used more vingaer and for them to use real wasabi. Also the variety of fish in stock wasnt a lot but hopefully that can change over time. The cost justify the quality youre getting. A solid 4 stars." + - "My only critique would be that the rice could of used more vinegar and for them to use real wasabi. Also the variety of fish in stock wasnt a lot but hopefully that can change over time. The cost justify the quality youre getting. A solid 4 stars." - "In terms of omakase, they had a few options but the one we chose was the 87 dollar version which include sashimi and sushi." From b542ca2f28d21277b2f2c92ee528068c38dc2bb1 Mon Sep 17 00:00:00 2001 From: Bruno Plamondon Date: Sun, 4 May 2025 13:49:34 -0400 Subject: [PATCH 27/38] Fix fr locale address city name with number (#3071) --- lib/locales/fr/address.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/locales/fr/address.yml b/lib/locales/fr/address.yml index 069fef7573..88588a0267 100644 --- a/lib/locales/fr/address.yml +++ b/lib/locales/fr/address.yml @@ -268,7 +268,7 @@ fr: - Nogent-sur-Marne - Noisy-le-Grand - Noisy-le-Sec - - Nouméa11 + - Nouméa - Orléans - Palaiseau - Pantin From d7103c76a6172f1caf9d7742a716defc700050ce Mon Sep 17 00:00:00 2001 From: "Ben Sheldon [he/him]" Date: Sun, 4 May 2025 11:04:56 -0700 Subject: [PATCH 28/38] Fix unclosed quote in `locales/en/cosmere.yml` (#3075) --- lib/locales/en/cosmere.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/locales/en/cosmere.yml b/lib/locales/en/cosmere.yml index 475a0d43ef..1fcd4b0738 100644 --- a/lib/locales/en/cosmere.yml +++ b/lib/locales/en/cosmere.yml @@ -26,7 +26,7 @@ en: 'Skybreaker', 'Stoneward', 'Truthwatcher', 'Willshaper', 'Windrunner' ] metals: [ - 'Steel', 'Iron', 'Pewter', 'Tin', 'Zinc', 'Brass', 'Copper', Bronze', + 'Steel', 'Iron', 'Pewter', 'Tin', 'Zinc', 'Brass', 'Copper', 'Bronze', 'Duralumin', 'Aluminum', 'Nicrosil', 'Chromium', 'Gold', 'Electrum', 'Cadmium', 'Bendalloy', 'Atium', 'Lerasium', 'Ettmetal', 'Malatium' ] From 0d741ed23734d4d3e8950140f0f0ff89e39ade3c Mon Sep 17 00:00:00 2001 From: Thiago Araujo <707418+thdaraujo@users.noreply.github.com> Date: Sun, 4 May 2025 12:05:33 -0600 Subject: [PATCH 29/38] deps: update dev dependencies (#3078) * deps: update dependencies * chore: update `rubocop.yml` according to migration guide Updates RuboCop extension cops specified in configuration files like `.rubocop.yml`, changing it from `require` to `plugins`. See https://docs.rubocop.org/rubocop/plugin_migration_guide.html * deps: bump `rubocop` to `v1.75.4` Upgrade rubocop version to `v1.75.4` and fix Rubocop errors. --- .rubocop.yml | 2 +- Gemfile | 8 ++-- Gemfile.lock | 38 ++++++++++--------- lib/faker/default/code.rb | 4 ++ lib/faker/default/driving_licence.rb | 2 +- lib/faker/default/internet.rb | 2 +- lib/faker/default/placeholdit.rb | 2 +- test/faker/books/test_lovecraft.rb | 8 ++-- .../test_array_sample_method_compat.rb | 6 +-- test/faker/default/test_faker_company.rb | 8 ++-- test/faker/default/test_faker_hipster.rb | 8 ++-- test/faker/default/test_faker_internet.rb | 2 +- test/faker/default/test_faker_lorem.rb | 10 ++--- test/faker/default/test_faker_vehicle.rb | 2 +- test/test_i18n_reload.rb | 2 +- test/test_pt_br_locale.rb | 10 ++--- 16 files changed, 60 insertions(+), 54 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index d76340cdde..3ee515a3dc 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,4 +1,4 @@ -require: +plugins: - rubocop-minitest - rubocop-rake diff --git a/Gemfile b/Gemfile index 097c07ac4d..da817a74d8 100644 --- a/Gemfile +++ b/Gemfile @@ -6,13 +6,13 @@ source 'https://rubygems.org' gemspec gem 'benchmark' -gem 'minitest', '5.25.4' +gem 'minitest', '5.25.5' gem 'pry', '0.15.2' gem 'rake', '13.2.1' -gem 'rubocop', '1.73.0' -gem 'rubocop-minitest', '0.37.0' +gem 'rubocop', '1.75.4' +gem 'rubocop-minitest', '0.37.1' gem 'rubocop-rake', '0.7.1' gem 'simplecov', '0.22.0' -gem 'test-unit', '3.6.7' +gem 'test-unit', '3.6.8' gem 'timecop', '0.9.10' gem 'yard', '0.9.37' diff --git a/Gemfile.lock b/Gemfile.lock index d7df28eba8..c799260926 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -7,23 +7,24 @@ PATH GEM remote: https://rubygems.org/ specs: - ast (2.4.2) + ast (2.4.3) benchmark (0.4.0) coderay (1.1.3) concurrent-ruby (1.3.5) - docile (1.4.0) + docile (1.4.1) i18n (1.14.7) concurrent-ruby (~> 1.0) - json (2.10.1) + json (2.11.3) language_server-protocol (3.17.0.4) lint_roller (1.1.0) method_source (1.1.0) - minitest (5.25.4) - parallel (1.26.3) - parser (3.3.7.1) + minitest (5.25.5) + parallel (1.27.0) + parser (3.3.8.0) ast (~> 2.4.1) racc power_assert (2.0.5) + prism (1.4.0) pry (0.15.2) coderay (~> 1.1) method_source (~> 1.0) @@ -31,7 +32,7 @@ GEM rainbow (3.1.1) rake (13.2.1) regexp_parser (2.10.0) - rubocop (1.73.0) + rubocop (1.75.4) json (~> 2.3) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.1.0) @@ -39,14 +40,15 @@ GEM parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 2.9.3, < 3.0) - rubocop-ast (>= 1.38.0, < 2.0) + rubocop-ast (>= 1.44.0, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 4.0) - rubocop-ast (1.38.1) - parser (>= 3.3.1.0) - rubocop-minitest (0.37.0) + rubocop-ast (1.44.1) + parser (>= 3.3.7.2) + prism (~> 1.4) + rubocop-minitest (0.37.1) lint_roller (~> 1.1) - rubocop (>= 1.61, < 2.0) + rubocop (>= 1.72.1, < 2.0) rubocop-ast (>= 1.38.0, < 2.0) rubocop-rake (0.7.1) lint_roller (~> 1.1) @@ -56,9 +58,9 @@ GEM docile (~> 1.1) simplecov-html (~> 0.11) simplecov_json_formatter (~> 0.1) - simplecov-html (0.12.3) + simplecov-html (0.13.1) simplecov_json_formatter (0.1.4) - test-unit (3.6.7) + test-unit (3.6.8) power_assert timecop (0.9.10) unicode-display_width (3.1.4) @@ -73,14 +75,14 @@ PLATFORMS DEPENDENCIES benchmark faker! - minitest (= 5.25.4) + minitest (= 5.25.5) pry (= 0.15.2) rake (= 13.2.1) - rubocop (= 1.73.0) - rubocop-minitest (= 0.37.0) + rubocop (= 1.75.4) + rubocop-minitest (= 0.37.1) rubocop-rake (= 0.7.1) simplecov (= 0.22.0) - test-unit (= 3.6.7) + test-unit (= 3.6.8) timecop (= 0.9.10) yard (= 0.9.37) diff --git a/lib/faker/default/code.rb b/lib/faker/default/code.rb index e1bbfc3c49..93eb7524c7 100644 --- a/lib/faker/default/code.rb +++ b/lib/faker/default/code.rb @@ -168,6 +168,7 @@ def sin # Reporting body identifier RBI = %w[01 10 30 33 35 44 45 49 50 51 52 53 54 86 91 98 99].freeze + private_constant :RBI def generate_imei str = Array.new(15, 0) @@ -269,7 +270,10 @@ def generate_base13_ean end EAN_CHECK_DIGIT8 = [3, 1, 3, 1, 3, 1, 3].freeze + private_constant :EAN_CHECK_DIGIT8 + EAN_CHECK_DIGIT13 = [1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3].freeze + private_constant :EAN_CHECK_DIGIT13 def rut_verificator_digit(rut) total = rut.to_s.rjust(8, '0').chars.zip(%w[3 2 7 6 5 4 3 2]).collect { |a, b| a.to_i * b.to_i }.inject(:+) diff --git a/lib/faker/default/driving_licence.rb b/lib/faker/default/driving_licence.rb index cddeed93f1..a10612a200 100644 --- a/lib/faker/default/driving_licence.rb +++ b/lib/faker/default/driving_licence.rb @@ -104,7 +104,7 @@ def gb_licence_year(dob, gender) end g.computed do gender_marker = gender == :female ? 50 : 0 - format('%02d', (dob.month + gender_marker)) + format('%02d', dob.month + gender_marker) end g.computed do format('%02d', dob.day) diff --git a/lib/faker/default/internet.rb b/lib/faker/default/internet.rb index 6be04446c5..a0c198aaa6 100644 --- a/lib/faker/default/internet.rb +++ b/lib/faker/default/internet.rb @@ -267,7 +267,7 @@ def domain_suffix(safe: nil) # Faker::Internet.mac_address(prefix: 'aa:44') #=> "aa:44:30:88:6e:95" def mac_address(prefix: '') prefix_digits = prefix.split(':').map { |d| d.to_i(16) } - address_digits = Array.new((6 - prefix_digits.size)) { rand(256) } + address_digits = Array.new(6 - prefix_digits.size) { rand(256) } (prefix_digits + address_digits).map { |d| format('%02x', d) }.join(':') end diff --git a/lib/faker/default/placeholdit.rb b/lib/faker/default/placeholdit.rb index 35dcd4e9a2..8276412abe 100644 --- a/lib/faker/default/placeholdit.rb +++ b/lib/faker/default/placeholdit.rb @@ -45,7 +45,7 @@ def image(size: '300x300', format: 'png', background_color: nil, text_color: nil private def generate_color - format('%06x', (rand * 0xffffff)) + format('%06x', rand * 0xffffff) end end end diff --git a/test/faker/books/test_lovecraft.rb b/test/faker/books/test_lovecraft.rb index 72285ca24a..8cbefce682 100644 --- a/test/faker/books/test_lovecraft.rb +++ b/test/faker/books/test_lovecraft.rb @@ -48,9 +48,9 @@ def test_range_count_param ss = @tester.sentences(number: 2..5) ps = @tester.paragraphs(number: 2..5) - assert(ws.length >= 2 && ws.length <= 5) - assert(ss.length >= 2 && ss.length <= 5) - assert(ps.length >= 2 && ps.length <= 5) + assert(ws.length.between?(2, 5)) + assert(ss.length.between?(2, 5)) + assert(ps.length.between?(2, 5)) end def test_array_count_param @@ -69,7 +69,7 @@ def test_words_with_large_count_params array = @tester.words(number: [250, 500]) assert_equal(500, exact.length) - assert(range.length >= 250 && range.length <= 500) + assert(range.length.between?(250, 500)) assert(array.length == 250 || array.length == 500) end diff --git a/test/faker/default/test_array_sample_method_compat.rb b/test/faker/default/test_array_sample_method_compat.rb index e39a761f07..1f0ecf39d3 100644 --- a/test/faker/default/test_array_sample_method_compat.rb +++ b/test/faker/default/test_array_sample_method_compat.rb @@ -39,7 +39,7 @@ def test_returns_an_array_with_integer_param assert_kind_of Array, result assert_equal(2, result.length) - assert_empty((result - source)) + assert_empty(result - source) end def test_returns_source_array_with_integer_param_equal_or_bigger_than_source_length @@ -47,12 +47,12 @@ def test_returns_source_array_with_integer_param_equal_or_bigger_than_source_len result = source.sample(2) assert_kind_of Array, result - assert_predicate((source.sort <=> result.sort), :zero?) + assert_predicate(source.sort <=> result.sort, :zero?) result = source.sample(3) assert_kind_of Array, result - assert_predicate((source.sort <=> result.sort), :zero?) + assert_predicate(source.sort <=> result.sort, :zero?) end def test_raises_argument_error_with_negative_param diff --git a/test/faker/default/test_faker_company.rb b/test/faker/default/test_faker_company.rb index 2a62220c24..e6457c23d3 100644 --- a/test/faker/default/test_faker_company.rb +++ b/test/faker/default/test_faker_company.rb @@ -77,7 +77,7 @@ def test_australian_business_number checksum = abn_checksum(abn) assert_match(/\d{11}/, abn) - assert_predicate((checksum % 89), :zero?) + assert_predicate(checksum % 89, :zero?) end def test_profession @@ -167,8 +167,8 @@ def test_luhn_algorithm even_control = "#{even_base}#{even_luhn_complement}" - assert_predicate((luhn_checksum(odd_control) % 10), :zero?) - assert_predicate((luhn_checksum(even_control) % 10), :zero?) + assert_predicate(luhn_checksum(odd_control) % 10, :zero?) + assert_predicate(luhn_checksum(even_control) % 10, :zero?) end def test_brazilian_company_number @@ -218,7 +218,7 @@ def test_russian_tax_number_checksum number = base_number[0..-2] checksum = base_number.chars.last.to_i - assert_predicate((inn_checksum(number) - checksum), :zero?) + assert_predicate(inn_checksum(number) - checksum, :zero?) end def test_sic_code diff --git a/test/faker/default/test_faker_hipster.rb b/test/faker/default/test_faker_hipster.rb index 503de7d2aa..ce732298cf 100644 --- a/test/faker/default/test_faker_hipster.rb +++ b/test/faker/default/test_faker_hipster.rb @@ -62,9 +62,9 @@ def test_range_count_param ss = @tester.sentences(number: 2..5) ps = @tester.paragraphs(number: 2..5) - assert(ws.length >= 2 && ws.length <= 5) - assert(ss.length >= 2 && ss.length <= 5) - assert(ps.length >= 2 && ps.length <= 5) + assert(ws.length.between?(2, 5)) + assert(ss.length.between?(2, 5)) + assert(ps.length.between?(2, 5)) end def test_array_count_param @@ -83,7 +83,7 @@ def test_words_with_large_count_params array = @tester.words(number: [250, 500]) assert_equal(500, exact.length) - assert(range.length >= 250 && range.length <= 500) + assert(range.length.between?(250, 500)) assert(array.length == 250 || array.length == 500) end diff --git a/test/faker/default/test_faker_internet.rb b/test/faker/default/test_faker_internet.rb index 7eff8e66b9..3e8c360940 100644 --- a/test/faker/default/test_faker_internet.rb +++ b/test/faker/default/test_faker_internet.rb @@ -183,7 +183,7 @@ def test_password_with_no_arguments assert_match(/[a-z]/, password) assert_match(/[A-Z]/, password) assert_match(/[0-9]/, password) - assert_includes((default_min_length..default_max_length), password.length, 'Generated password length is incorrect') + assert_includes(default_min_length..default_max_length, password.length, 'Generated password length is incorrect') end def test_password_with_integer_arg diff --git a/test/faker/default/test_faker_lorem.rb b/test/faker/default/test_faker_lorem.rb index baca0b0b1c..0c24bd9eaa 100644 --- a/test/faker/default/test_faker_lorem.rb +++ b/test/faker/default/test_faker_lorem.rb @@ -92,10 +92,10 @@ def test_range_count_param ss = @tester.sentences(number: 2..5) ps = @tester.paragraphs(number: 2..5) - assert(cs.length >= 2 && cs.length <= 5) - assert(ws.length >= 2 && ws.length <= 5) - assert(ss.length >= 2 && ss.length <= 5) - assert(ps.length >= 2 && ps.length <= 5) + assert(cs.length.between?(2, 5)) + assert(ws.length.between?(2, 5)) + assert(ss.length.between?(2, 5)) + assert(ps.length.between?(2, 5)) end def test_exclusive_range_count_param @@ -128,7 +128,7 @@ def test_words_with_large_count_params array = @tester.words(number: [250, 500]) assert_equal(500, exact.length) - assert(range.length >= 250 && range.length <= 500) + assert(range.length.between?(250, 500)) assert(array.length == 250 || array.length == 500) end diff --git a/test/faker/default/test_faker_vehicle.rb b/test/faker/default/test_faker_vehicle.rb index 8926651d1c..55a095dca6 100644 --- a/test/faker/default/test_faker_vehicle.rb +++ b/test/faker/default/test_faker_vehicle.rb @@ -63,7 +63,7 @@ def test_engine def test_mileage mileage = @tester.mileage(min: 5, max: 10) - assert mileage >= 5 && mileage <= 10 + assert mileage.between?(5, 10) end def test_license_plate diff --git a/test/test_i18n_reload.rb b/test/test_i18n_reload.rb index a6a06e3954..c5c7f477a4 100644 --- a/test/test_i18n_reload.rb +++ b/test/test_i18n_reload.rb @@ -12,7 +12,7 @@ def test_faker_i18n gemfile do source 'https://rubygems.org' - gem 'minitest', '5.25.4' + gem 'minitest', '5.25.5' gem 'i18n' end diff --git a/test/test_pt_br_locale.rb b/test/test_pt_br_locale.rb index 9b20b49821..3671c45574 100644 --- a/test/test_pt_br_locale.rb +++ b/test/test_pt_br_locale.rb @@ -48,24 +48,24 @@ def test_pt_br_color_methods assert_kind_of Array, Faker::Color.rgb_color Faker::Color.rgb_color.each do |value| - assert value >= 0 && value <= 255 + assert value.between?(0, 255) end assert_kind_of Array, Faker::Color.hsl_color hue = Faker::Color.hsl_color[0] - assert hue >= 0 && hue <= 360 + assert hue.between?(0, 360) Faker::Color.hsl_color[1..2].each do |value| - assert value >= 0 && value <= 1 + assert value.between?(0, 1) end assert_kind_of Array, Faker::Color.hsla_color assert_kind_of Array, Faker::Color.hsl_color hue = Faker::Color.hsl_color[0] - assert hue >= 0 && hue <= 360 + assert hue.between?(0, 360) Faker::Color.hsl_color[1..3].each do |value| - assert value >= 0 && value <= 1 + assert value.between?(0, 1) end end From c61ae9237d7987d2c48a7a26d3b8270674333fc7 Mon Sep 17 00:00:00 2001 From: Thiago Araujo <707418+thdaraujo@users.noreply.github.com> Date: Sun, 4 May 2025 12:06:37 -0600 Subject: [PATCH 30/38] ci: run against Ruby 3.4 (#3079) * ci: run against Ruby 3.4 * fix: frozen string warning Fixes warning `literal string will be frozen in the future` in `faker/default/json.rb` by adding frozen-string literal pragma, but creating a mutable string when needed by calling `#dup`. --- .github/workflows/ruby.yml | 3 ++- .rubocop.yml | 3 --- lib/faker/default/json.rb | 9 +++++++-- test/faker/default/test_faker_json.rb | 2 ++ 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index cb9c0114d7..55cbcb952e 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -24,7 +24,7 @@ jobs: - uses: actions/checkout@v3 - uses: ruby/setup-ruby@v1 with: - ruby-version: '3.0' + ruby-version: '3.4' - name: Install dependencies run: bundle install @@ -42,6 +42,7 @@ jobs: - '3.1' - '3.2' - '3.3' + - '3.4' - 'head' - truffleruby-head continue-on-error: ${{ endsWith(matrix.ruby, 'head') }} diff --git a/.rubocop.yml b/.rubocop.yml index 3ee515a3dc..8e415bdc85 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -78,9 +78,6 @@ Style/FormatStringToken: Style/FrozenStringLiteralComment: Description: Add the frozen_string_literal comment to the top of files to help transition from Ruby 2.3.0 to Ruby 3.0. - Exclude: - - 'lib/faker/default/json.rb' - - 'test/faker/default/test_faker_json.rb' Style/For: Description: Checks use of for or each in multiline loops. diff --git a/lib/faker/default/json.rb b/lib/faker/default/json.rb index 1212c5481b..8edf1a9948 100644 --- a/lib/faker/default/json.rb +++ b/lib/faker/default/json.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Faker class Json < Base require 'json' @@ -104,17 +106,20 @@ def add_hash_to_bottom(hash, key_array, width, options) end def add_hash(key_array, hash, width, options) - string_to_eval = 'hash' + string_to_eval = 'hash'.dup + key_array.length.times do |index| string_to_eval << "['#{key_array[index]}']" end string_to_eval << " = #{build_shallow_hash(width, options)}" eval(string_to_eval) + hash end def build_keys_from_array(key_array) - key_string = '' + key_string = ''.dup + key_array.each do |value| key_string << "['#{value}']" end diff --git a/test/faker/default/test_faker_json.rb b/test/faker/default/test_faker_json.rb index 6b6c18ef85..a768329a2f 100644 --- a/test/faker/default/test_faker_json.rb +++ b/test/faker/default/test_faker_json.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require_relative '../../test_helper' class TestFakerJson < Test::Unit::TestCase From c2b01564581caea91e3c577d880138b197317861 Mon Sep 17 00:00:00 2001 From: Thiago Araujo Date: Sun, 4 May 2025 12:32:13 -0600 Subject: [PATCH 31/38] deps: bump rubocop-minitest from 0.37.1 to 0.38.0. https://github.com/rubocop/rubocop-minitest/blob/master/CHANGELOG.md#0380-2025-04-01 --- Gemfile | 2 +- Gemfile.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index da817a74d8..b91b487a01 100644 --- a/Gemfile +++ b/Gemfile @@ -10,7 +10,7 @@ gem 'minitest', '5.25.5' gem 'pry', '0.15.2' gem 'rake', '13.2.1' gem 'rubocop', '1.75.4' -gem 'rubocop-minitest', '0.37.1' +gem 'rubocop-minitest', '0.38.0' gem 'rubocop-rake', '0.7.1' gem 'simplecov', '0.22.0' gem 'test-unit', '3.6.8' diff --git a/Gemfile.lock b/Gemfile.lock index c799260926..1ff04aee1a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -46,9 +46,9 @@ GEM rubocop-ast (1.44.1) parser (>= 3.3.7.2) prism (~> 1.4) - rubocop-minitest (0.37.1) + rubocop-minitest (0.38.0) lint_roller (~> 1.1) - rubocop (>= 1.72.1, < 2.0) + rubocop (>= 1.75.0, < 2.0) rubocop-ast (>= 1.38.0, < 2.0) rubocop-rake (0.7.1) lint_roller (~> 1.1) @@ -79,7 +79,7 @@ DEPENDENCIES pry (= 0.15.2) rake (= 13.2.1) rubocop (= 1.75.4) - rubocop-minitest (= 0.37.1) + rubocop-minitest (= 0.38.0) rubocop-rake (= 0.7.1) simplecov (= 0.22.0) test-unit (= 3.6.8) From 0a975ae550a901ab016848e22cb1f3a1f35b981a Mon Sep 17 00:00:00 2001 From: Yuto NORINAGA <121135238+se4weed@users.noreply.github.com> Date: Mon, 30 Jun 2025 04:24:19 +0900 Subject: [PATCH 32/38] remove inappropriate words from `locales/ja/lorem` (#3095) --- lib/locales/ja/lorem.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/locales/ja/lorem.yml b/lib/locales/ja/lorem.yml index 4c6364b1ad..86b028be48 100644 --- a/lib/locales/ja/lorem.yml +++ b/lib/locales/ja/lorem.yml @@ -5,5 +5,5 @@ ja: space: "" period: "。" question_mark: "?" - words: ["つぎつぎ", "薬", "当て字", "しょくん", "間隔", "飽くまでも", "あびる", "雇用", "かんどうする", "じじょでん", "超音波", "じゅうどう", "面", "先週", "しょうがっこう", "避ける", "ふそく", "まぎらす", "閉める", "たまご", "こわす", "底", "〜亭", "しゃくや", "しゃっか", "ひきざん", "割り箸", "こうぞく", "果てる", "つなひき", "漂う", "漠然", "しょうりゃく", "減俸", "さいぼう", "さいほう", "平安", "封筒", "旧姓", "よわよわしい", "味噌", "ぼきん", "くつじょく", "絹糸", "ちきゅう", "かぜ", "半額", "かんそく", "ぶん", "ふん", "たれる", "廉価", "ずいぶん", "屈む", "かんりょうてき", "すんか", "殻", "擬装", "うえる", "たいさ", "あつい", "げいひんかん", "洋服", "大丈夫", "察知", "しえんする", "仕方がない", "徳川", "ちらかす", "こくふくする", "ぶそう", "こうつう", "逆", "馬鹿馬鹿しい", "切迫", "不健康", "学院", "都合", "備える", "へいがい", "はじめて", "輸出", "迷路", "母", "ひかくする", "はなぢ", "はなじ", "むこう", "ねんじゅう", "自宅", "誘惑", "ちえん", "太る", "ちかく", "奴ら", "堀川", "ちがい", "たいこうする", "運ぶ", "独裁", "はっぽう", "とちょう", "先ず", "はんそう", "せいじょう", "しょうじょう", "かんじる", "体重", "上手", "原油", "ざぜん", "既に", "華やか", "仕事", "あらす", "ゆるむ", "きょうどう", "開閉", "悲しみ", "しゃこ", "ねばり", "ようい", "おりめ", "伐採", "牛乳", "秘める", "右翼", "伝統", "きひん", "やさしい", "ほ", "警官", "左手", "全日本", "むぜい", "ごふく", "かいたく", "撃つ", "しあとるし", "シアトルし", "ちょさくけん", "じぎする", "譜面", "貫く", "約する", "提案する", "哀れむ", "迷子", "きょうき", "ごうけん", "せんたくする", "しゅしょう", "江戸", "狂う", "助手", "新婚旅行", "検査", "色々", "かぶしきしじょう", "桜色", "普及", "零す", "ししょく", "きゅうりょう", "おんとう", "しょうゆ", "没落", "人性", "けいかん", "電話", "お盆", "きいろ", "やしなう", "鍋", "遮断", "かわかす", "寮生", "面積", "とうき", "ふくへい", "ないしょばなし", "不思議", "この頃", "おかね", "かいぞく", "歯を磨く", "店", "はなはだ", "フランス語", "評価", "九日", "さいばん", "推奨", "出版", "恨み", "気持ちいい", "黙る", "はりい", "凝固", "傑作", "魅力", "ぐん", "右利き", "まほうつかい", "復旧", "かくじっけん", "じきしょうそう", "あれる", "きょうはんしゃ", "たいりく", "げんめつ", "俵", "むらさきいろ", "病床", "米兵", "まつり", "塾生", "親切", "めいがら", "核実験", "なおさら", "魔術", "がいよう", "かんぜん", "せいかん", "果樹", "〜系", "ほにゅうびん", "じょうだん", "賢明", "みなと", "もはん", "こうちょく", "泳ぐ", "重い", "日没", "碁", "かつ", "どうけつ", "近視", "配慮", "のき", "入江", "とめる", "暇", "書き方", "胃", "りょうど", "難しい", "浮世絵", "喜劇", "とうさん", "はんだんする", "こうせい", "大仏", "揺さぶる", "いじん", "機嫌", "黒板", "えきびょう", "妥協する", "つうやく", "乗せる", "けしき", "床", "品詞", "消す", "金縛り", "じゅうらい", "急騰", "十台", "窓", "雑音", "きょだい", "鈍器", "禍根", "かたみち", "山葵", "店舗", "渦巻き", "おととい", "いっさくじつ", "救急車", "馬", "ころす", "ぼくし", "せっぷく", "たて", "おどろく", "やさい", "じぞう", "こはん", "いく", "自立", "かっこう", "脱税", "始まる", "学者", "かい", "ひきさく", "長唄", "下着", "よくげつ", "休日", "以下", "廃墟", "部首", "壊す", "むく", "委員", "待合", "頂く", "よぼう", "壮年", "ちゅうもんする", "じっかん", "境", "施行", "つく", "活用", "ぶき", "かいじゅう", "人口", "ぼうず", "そあく", "むぼう", "白菊", "りゃくず", "汚す", "すいせん", "あらそう", "高値", "あう", "せいしん", "指紋", "超〜", "うえる", "つまる", "靖国神社", "とりあえず", "とふ", "たくす", "じょうじゅん", "羊毛", "浅い", "閉じる", "戦没", "あっとうする", "ひがい", "量", "じょうき", "誤用", "ほうせき", "つばさ", "号", "けいむしょ", "電源", "勇気", "ふかさ", "はだか", "たいやく", "きょうしつ", "退く", "さきまわり", "こうおつ", "無糖", "ふさい", "とくに", "めいし", "みつ", "ほんらい", "まもる", "あつかい", "日欧", "天井", "みさき", "おきゃくさん", "にんい", "きょうかい", "いつ頃", "かん", "しきもう", "特殊", "同僚", "血液", "じぶん", "しょうかする", "礎", "みなもと", "軒", "ぶっきょう", "しずむ", "たらす", "憂い", "総括", "もうす", "暴力", "しばふ", "いたずら", "米国", "魔法", "ことばつき", "窒息", "唄う", "金", "きもち", "誓い", "どろ", "話", "奇襲", "巡回", "失う", "隆起", "投資", "芽", "あくれい", "奉仕", "ひんきゃく", "ひんかく", "まつ", "せんりゅう", "だいどころ", "いう", "こいぬ", "なんべい", "さくにゅう", "フランス人", "きげんご", "こくみん", "交錯", "好き", "一文字", "ほうげん", "地面", "だくりゅう", "見当たる", "浸す", "あしくび", "弱虫", "送る", "遺失", "あおい", "ちあん", "宜しく", "あらあらしい", "かおつき", "かちゅう", "がんばる", "芸者", "陳列室", "弥生", "明治", "めいしょ", "ごじゅう", "済ます", "無駄", "終点", "ぞくご", "掛ける", "ほうしゅう", "騎兵", "液体", "下さい", "けいじばん", "杏", "合う", "疾走", "りゅうこうご", "出かける", "はちまき", "手作り", "れつあく", "うんがいい", "はちのす", "ハチのす", "色盲", "形", "希望する", "こうせい", "いちだい", "春休み", "縛る", "金星", "そんざい", "防犯", "大尉", "老齢", "差し上げる", "犠牲", "にる", "問題", "双", "安泰", "せんじょうざい", "継承", "かんしん", "丼", "ざんぴん", "そだてる", "たつ", "不可欠", "報じる", "抑制", "けいけんしゃ", "きょうふ", "せいぞう", "きんく"] + words: ["つぎつぎ", "薬", "当て字", "しょくん", "間隔", "飽くまでも", "あびる", "雇用", "かんどうする", "じじょでん", "超音波", "じゅうどう", "面", "先週", "しょうがっこう", "避ける", "ふそく", "まぎらす", "閉める", "たまご", "こわす", "底", "〜亭", "しゃくや", "しゃっか", "ひきざん", "割り箸", "こうぞく", "果てる", "つなひき", "漂う", "漠然", "しょうりゃく", "減俸", "さいぼう", "さいほう", "平安", "封筒", "旧姓", "よわよわしい", "味噌", "ぼきん", "くつじょく", "絹糸", "ちきゅう", "かぜ", "半額", "かんそく", "ぶん", "ふん", "たれる", "廉価", "ずいぶん", "屈む", "かんりょうてき", "すんか", "殻", "擬装", "うえる", "たいさ", "あつい", "げいひんかん", "洋服", "大丈夫", "察知", "しえんする", "仕方がない", "徳川", "ちらかす", "こくふくする", "ぶそう", "こうつう", "逆", "馬鹿馬鹿しい", "切迫", "不健康", "学院", "都合", "備える", "へいがい", "はじめて", "輸出", "迷路", "母", "ひかくする", "はなぢ", "はなじ", "むこう", "ねんじゅう", "自宅", "誘惑", "ちえん", "太る", "ちかく", "奴ら", "堀川", "ちがい", "たいこうする", "運ぶ", "独裁", "はっぽう", "とちょう", "先ず", "はんそう", "せいじょう", "しょうじょう", "かんじる", "体重", "上手", "原油", "ざぜん", "既に", "華やか", "仕事", "あらす", "ゆるむ", "きょうどう", "開閉", "悲しみ", "しゃこ", "ねばり", "ようい", "おりめ", "伐採", "牛乳", "秘める", "右翼", "伝統", "きひん", "やさしい", "ほ", "警官", "左手", "全日本", "むぜい", "ごふく", "かいたく", "撃つ", "しあとるし", "シアトルし", "ちょさくけん", "じぎする", "譜面", "貫く", "約する", "提案する", "哀れむ", "迷子", "きょうき", "ごうけん", "せんたくする", "しゅしょう", "江戸", "狂う", "助手", "新婚旅行", "検査", "色々", "かぶしきしじょう", "桜色", "普及", "零す", "ししょく", "きゅうりょう", "おんとう", "しょうゆ", "没落", "人性", "けいかん", "電話", "お盆", "きいろ", "やしなう", "鍋", "遮断", "かわかす", "寮生", "面積", "とうき", "ふくへい", "ないしょばなし", "不思議", "この頃", "おかね", "かいぞく", "歯を磨く", "店", "はなはだ", "フランス語", "評価", "九日", "さいばん", "推奨", "出版", "恨み", "気持ちいい", "黙る", "はりい", "凝固", "傑作", "魅力", "ぐん", "右利き", "まほうつかい", "復旧", "かくじっけん", "じきしょうそう", "あれる", "きょうはんしゃ", "たいりく", "げんめつ", "俵", "むらさきいろ", "病床", "米兵", "まつり", "塾生", "親切", "めいがら", "なおさら", "魔術", "がいよう", "かんぜん", "せいかん", "果樹", "〜系", "ほにゅうびん", "じょうだん", "賢明", "みなと", "もはん", "こうちょく", "泳ぐ", "重い", "日没", "碁", "かつ", "どうけつ", "近視", "配慮", "のき", "入江", "とめる", "暇", "書き方", "胃", "りょうど", "難しい", "浮世絵", "喜劇", "とうさん", "はんだんする", "こうせい", "大仏", "揺さぶる", "いじん", "機嫌", "黒板", "えきびょう", "妥協する", "つうやく", "乗せる", "けしき", "床", "品詞", "消す", "金縛り", "じゅうらい", "急騰", "十台", "窓", "雑音", "きょだい", "鈍器", "禍根", "かたみち", "山葵", "店舗", "渦巻き", "おととい", "いっさくじつ", "救急車", "馬", "ころす", "ぼくし", "せっぷく", "たて", "おどろく", "やさい", "じぞう", "こはん", "いく", "自立", "かっこう", "脱税", "始まる", "学者", "かい", "ひきさく", "長唄", "下着", "よくげつ", "休日", "以下", "廃墟", "部首", "壊す", "むく", "委員", "待合", "頂く", "よぼう", "壮年", "ちゅうもんする", "じっかん", "境", "施行", "つく", "活用", "ぶき", "かいじゅう", "人口", "ぼうず", "そあく", "むぼう", "白菊", "りゃくず", "汚す", "すいせん", "あらそう", "高値", "あう", "せいしん", "指紋", "超〜", "うえる", "つまる", "靖国神社", "とりあえず", "とふ", "たくす", "じょうじゅん", "羊毛", "浅い", "閉じる", "戦没", "あっとうする", "ひがい", "量", "じょうき", "誤用", "ほうせき", "つばさ", "号", "けいむしょ", "電源", "勇気", "ふかさ", "はだか", "たいやく", "きょうしつ", "退く", "さきまわり", "こうおつ", "無糖", "ふさい", "とくに", "めいし", "みつ", "ほんらい", "まもる", "あつかい", "日欧", "天井", "みさき", "おきゃくさん", "にんい", "きょうかい", "いつ頃", "かん", "しきもう", "特殊", "同僚", "血液", "じぶん", "しょうかする", "礎", "みなもと", "軒", "ぶっきょう", "しずむ", "たらす", "憂い", "総括", "もうす", "暴力", "しばふ", "いたずら", "米国", "魔法", "ことばつき", "窒息", "唄う", "金", "きもち", "誓い", "どろ", "話", "奇襲", "巡回", "失う", "隆起", "投資", "芽", "あくれい", "奉仕", "ひんきゃく", "ひんかく", "まつ", "せんりゅう", "だいどころ", "いう", "こいぬ", "なんべい", "さくにゅう", "フランス人", "きげんご", "こくみん", "交錯", "好き", "一文字", "ほうげん", "地面", "だくりゅう", "見当たる", "浸す", "あしくび", "弱虫", "送る", "遺失", "あおい", "ちあん", "宜しく", "あらあらしい", "かおつき", "かちゅう", "がんばる", "芸者", "陳列室", "弥生", "明治", "めいしょ", "ごじゅう", "済ます", "無駄", "終点", "ぞくご", "掛ける", "ほうしゅう", "騎兵", "液体", "下さい", "けいじばん", "杏", "合う", "疾走", "りゅうこうご", "出かける", "はちまき", "手作り", "れつあく", "うんがいい", "はちのす", "ハチのす", "色盲", "形", "希望する", "こうせい", "いちだい", "春休み", "縛る", "金星", "そんざい", "防犯", "大尉", "老齢", "差し上げる", "犠牲", "にる", "問題", "双", "安泰", "せんじょうざい", "継承", "かんしん", "丼", "ざんぴん", "そだてる", "たつ", "不可欠", "報じる", "抑制", "けいけんしゃ", "きょうふ", "せいぞう", "きんく"] supplemental: ["おどりば", "料理人", "いち", "やぶれる", "辞儀する", "逮捕", "色彩", "妻", "きづく", "はきだす", "歯", "憶測", "すむ", "墨", "胃腸", "駆け出す", "栞", "ふゆかい", "豪華", "写す", "むちつじょ", "ごらく", "可愛い", "ふじょ", "でんせんびょう", "いちにち", "ついたち", "彼女", "ひめさま", "解説", "すいがら", "約", "並", "こっせつ", "あらじお", "あらしお", "書架", "勝手", "ぎせい", "こくひん", "嫌", "博物館", "しんし", "帳簿", "初めに", "空き瓶", "ふてい", "見返す", "ほんるいだ", "さわ", "悪気", "ほんそう", "謙虚", "耐火", "ぼうりょく", "潔い", "けす", "締まる", "ちょうりょく", "のうし", "暴走", "華道", "基盤", "廃棄", "かざる", "くら", "氏名", "がぞう", "ふきつ", "こうばん", "かんさい", "ひとごみ", "構える", "たす", "とむ", "すみ", "めいよ", "帝", "かんえん", "たび", "模型", "冬休み", "誇張", "何千", "そうだん", "しっぷう", "はやて", "ほどう", "敵", "ひふ", "火", "壁", "弱点", "かいそく", "没頭", "貴賓", "さいげつ", "盛り上がる", "柱", "ひはん", "輪郭", "こづつみ", "扇", "性病", "濃紺", "洗浄剤", "舞踏", "つぎ", "しめる", "延長", "しつ", "ざせき", "もくひょう", "宝くじ", "劣悪", "はなみ", "同音異義語", "たいほう", "慶弔", "疎外", "れいてん", "さと", "煩い", "携帯", "かいせい", "哺育", "敬語", "とうとい", "とうひょうする", "頑張れ", "れいせい", "蛇", "いしゃりょう", "アメリカ製", "光年", "社員", "もよう", "ぎゃくしゅう", "甲乙", "ふくし", "へいせい", "てんのう", "年次", "二巻", "がくふ", "しどう", "よすみ", "おおごえ", "かつぐ", "地下街", "はくじん", "間接", "せっとく", "つうこん", "びんぼう", "川底", "こうえん", "うごき", "六", "乾燥", "洗濯屋", "なぞ", "ふじん", "対応", "順序", "首", "むれる", "しめる", "移す", "分ける", "しょうげき", "ぎょうし", "あまい", "じょうきゅう", "たんれん", "かけこむ", "素材", "受付", "いままで", "りょこう", "満潮", "もちいる", "あわれ", "賀状", "詰め込む", "数える", "ずいじ", "いっぱく", "聴者", "そうぐう", "とうさく", "思い遣り", "鋭い", "貞操", "原因", "象牙", "歌謡", "会議", "待遇", "なかよし", "おなか", "りりしい", "おおちがい", "賛成", "奔放", "非難", "ようじ", "錯乱", "じこ", "前", "累進", "緊張する", "ぎじゅく", "うち", "悪霊", "枢軸", "子守歌", "りゅうき", "雄犬", "みずいろ", "大間違い", "走り回る", "そんけい", "しっぺい", "てんし", "病院", "残業", "ひんしつ", "けんしゅうせい", "椅子", "いさぎよい", "枕", "墓", "洗剤", "たいがい", "じしょ", "副大統領", "瞬く", "ふじ山", "ふくせん", "漬物", "はんけん", "愛する", "ねんがん", "ねんじ", "いきどおり", "おとこのこ", "仁", "鶴", "施設", "請ける", "拒否", "うみ", "移譲", "溶岩", "性格", "じしん", "裏口", "ふたたび", "猿真似", "しめらせる", "みき", "つぐなう", "しんじゅく", "こせき", "よくあつ", "懇談", "指定する", "専門", "一生", "平壌", "滝", "じどうし", "着く", "泥棒", "構え", "きじゅつ", "しょひょう", "貨幣", "好奇心", "皇太子妃", "かいほうする", "主に", "背広", "ちんみ", "よそく", "なつかしい", "がんい", "ちょうしゃ", "無敵", "所", "だいがくいんせい", "左右", "のむ", "愛国心", "桑原", "どうはんする", "いっかい", "なみだ", "くまもとけん", "主観的", "普段", "こころみる", "ふくぶくろ", "てんぷく", "せいめい", "はなのあな", "みぎて", "親子丼", "反則", "しゅうり", "かくにん", "生える", "けむし", "すける", "のぞいて", "和尚", "えんちょうする", "こうとう", "なげすてる", "なまけもの", "あい", "きとく", "審判", "怖い", "こたえる", "比較", "ゆにゅう", "曲", "ちんもく", "破産", "迫る", "あわ", "辛子", "糸", "早々", "運命", "錠", "のうみん", "夏", "野獣", "試験", "数詞", "毎日", "ぎせいしゃ", "よくし", "せん", "おろし", "ゆれる", "いし", "える", "ごらん", "ばい", "たい", "拘置", "うらぎり", "競艇", "かぐ", "悔しい", "にゅうせき", "ために", "ふうふ", "ちょうせん", "破壊", "困難", "まんえつ", "移動", "しあつ", "あまる", "香り", "いなか", "通す", "ほうき", "栄誉", "ちめいてき", "おとろえる", "いしずえ", "知り合い", "貨物船", "酸っぱい", "めいわくめーる", "めいわくメール", "とうほう", "てら", "ぜんにほん", "七つ", "暗い", "てのこう", "しんぞう", "仰々しい", "さんぎょう", "公共", "年額", "かわさき", "日刊", "ちょう", "縮小", "いっこ", "不況", "人柄", "はい", "原潜", "つみ", "かんかつ", "ぞうえん", "雑費", "おくれる", "面倒臭い", "しょうじょう", "たおす", "順番", "天皇", "しゅいん", "動揺", "乙", "さわやか", "とう", "望み", "一人娘", "かく", "かど", "ねんがじょう", "ちょくせつ", "せんじょう", "燃やす", "ふかのう", "買い物", "風潮", "沖縄", "いか", "こうくうぼかん", "かくれる", "きぼうする", "媒介", "れいぞうこ", "冷酷", "紛らわしい", "せんげん", "家具", "繁茂", "なさけない", "きずつく", "空き缶", "禅寺", "大文字", "火葬", "雰囲気", "化粧", "忍者", "ふんしゃ", "限る", "ちゅうとはんぱ", "はずかしめる", "何度", "風船", "こうぎょう", "かくしゅう", "しりつ", "こい", "あがる", "教える", "程", "忘れ物", "襲撃", "かいころく", "月刊", "となえる", "せんのう", "営業中", "ながさき", "げんまい", "二つ", "髪の毛", "ろくおん", "匿名", "高瀬", "しききん", "ふかぶん", "怒鳴る", "福祉", "あさねぼう", "りゃくご", "しざい", "運", "力", "ねばる", "つくる", "わかめ", "おうしゅう", "やすい", "え", "かせぎ", "あらかじめ", "かんせつ", "恥ずかしがる", "焦がす", "はいき", "はかる", "図説", "どうめい", "ようじ", "ふねんごみ", "ふねんゴミ", "鎮める", "しゅくん"] From 2bebcf9decc6e96e6504b6a24f831ab0eb75bbe5 Mon Sep 17 00:00:00 2001 From: z Date: Tue, 1 Jul 2025 19:42:46 +0200 Subject: [PATCH 33/38] Add mountains to de-CH locale (#3066) --- lib/locales/de-CH.yml | 31 +++++++++++++++++++++++++++++++ test/test_de_ch_locale.rb | 4 ++++ 2 files changed, 35 insertions(+) diff --git a/lib/locales/de-CH.yml b/lib/locales/de-CH.yml index 7d197185ba..5c51649de1 100644 --- a/lib/locales/de-CH.yml +++ b/lib/locales/de-CH.yml @@ -4866,6 +4866,37 @@ de-CH: - Parsec - Kiloparsec - Megaparsec + mountain: + name: + - Aletschhorn + - Bietschhorn + - Blüemlisalp + - Chasseral + - Dent Blanche + - Dents du Midi + - Dom + - Dufourspitze + - Finsteraarhorn + - Grand Combin + - Gurten + - Jungfrau + - Matterhorn + - Grosser Mythen + - Napf + - Pilatus + - Piz Bernina + - Säntis + - Silvrettahorn + - Titlis + - Tödi + - Wildstrubel + range: + - Alpstein + - Berner Alpen + - Engadin + - Gotthardmassiv + - Jura + - Walliser Alpen music: instruments: - Akkordeon diff --git a/test/test_de_ch_locale.rb b/test/test_de_ch_locale.rb index 392089372c..b082c5e8b9 100644 --- a/test/test_de_ch_locale.rb +++ b/test/test_de_ch_locale.rb @@ -26,4 +26,8 @@ def test_de_ch_company_methods def test_de_ch_internet_methods assert_kind_of String, Faker::Internet.domain_suffix end + + def test_de_ch_mountain_methods + assert_kind_of String, Faker::Mountain.name + end end From a67f573bb71fb8b46c58ab7cc4298cac5b060315 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Jul 2025 11:59:46 -0600 Subject: [PATCH 34/38] Bump rake from 13.2.1 to 13.3.0 (#3086) Bumps [rake](https://github.com/ruby/rake) from 13.2.1 to 13.3.0. - [Release notes](https://github.com/ruby/rake/releases) - [Changelog](https://github.com/ruby/rake/blob/master/History.rdoc) - [Commits](https://github.com/ruby/rake/compare/v13.2.1...v13.3.0) --- updated-dependencies: - dependency-name: rake dependency-version: 13.3.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Gemfile | 2 +- Gemfile.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index b91b487a01..bf92575fb1 100644 --- a/Gemfile +++ b/Gemfile @@ -8,7 +8,7 @@ gemspec gem 'benchmark' gem 'minitest', '5.25.5' gem 'pry', '0.15.2' -gem 'rake', '13.2.1' +gem 'rake', '13.3.0' gem 'rubocop', '1.75.4' gem 'rubocop-minitest', '0.38.0' gem 'rubocop-rake', '0.7.1' diff --git a/Gemfile.lock b/Gemfile.lock index 1ff04aee1a..c42df8e142 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -30,7 +30,7 @@ GEM method_source (~> 1.0) racc (1.8.1) rainbow (3.1.1) - rake (13.2.1) + rake (13.3.0) regexp_parser (2.10.0) rubocop (1.75.4) json (~> 2.3) @@ -77,7 +77,7 @@ DEPENDENCIES faker! minitest (= 5.25.5) pry (= 0.15.2) - rake (= 13.2.1) + rake (= 13.3.0) rubocop (= 1.75.4) rubocop-minitest (= 0.38.0) rubocop-rake (= 0.7.1) From 83ef092fe6ab6061f47f3c619f1bf840f221c745 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Jul 2025 12:00:12 -0600 Subject: [PATCH 35/38] Bump benchmark from 0.4.0 to 0.4.1 (#3087) Bumps [benchmark](https://github.com/ruby/benchmark) from 0.4.0 to 0.4.1. - [Release notes](https://github.com/ruby/benchmark/releases) - [Commits](https://github.com/ruby/benchmark/compare/v0.4.0...v0.4.1) --- updated-dependencies: - dependency-name: benchmark dependency-version: 0.4.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index c42df8e142..22e45d434f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -8,7 +8,7 @@ GEM remote: https://rubygems.org/ specs: ast (2.4.3) - benchmark (0.4.0) + benchmark (0.4.1) coderay (1.1.3) concurrent-ruby (1.3.5) docile (1.4.1) From a6f01b838a8b00ea0efd1ae601aa6bc33a2b3d2b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Jul 2025 12:00:46 -0600 Subject: [PATCH 36/38] Bump rubocop-minitest from 0.38.0 to 0.38.1 (#3088) Bumps [rubocop-minitest](https://github.com/rubocop/rubocop-minitest) from 0.38.0 to 0.38.1. - [Release notes](https://github.com/rubocop/rubocop-minitest/releases) - [Changelog](https://github.com/rubocop/rubocop-minitest/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop-minitest/compare/v0.38.0...v0.38.1) --- updated-dependencies: - dependency-name: rubocop-minitest dependency-version: 0.38.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Gemfile | 2 +- Gemfile.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Gemfile b/Gemfile index bf92575fb1..669094087f 100644 --- a/Gemfile +++ b/Gemfile @@ -10,7 +10,7 @@ gem 'minitest', '5.25.5' gem 'pry', '0.15.2' gem 'rake', '13.3.0' gem 'rubocop', '1.75.4' -gem 'rubocop-minitest', '0.38.0' +gem 'rubocop-minitest', '0.38.1' gem 'rubocop-rake', '0.7.1' gem 'simplecov', '0.22.0' gem 'test-unit', '3.6.8' diff --git a/Gemfile.lock b/Gemfile.lock index 22e45d434f..008bcf77e8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -14,8 +14,8 @@ GEM docile (1.4.1) i18n (1.14.7) concurrent-ruby (~> 1.0) - json (2.11.3) - language_server-protocol (3.17.0.4) + json (2.12.2) + language_server-protocol (3.17.0.5) lint_roller (1.1.0) method_source (1.1.0) minitest (5.25.5) @@ -43,10 +43,10 @@ GEM rubocop-ast (>= 1.44.0, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 4.0) - rubocop-ast (1.44.1) + rubocop-ast (1.45.1) parser (>= 3.3.7.2) prism (~> 1.4) - rubocop-minitest (0.38.0) + rubocop-minitest (0.38.1) lint_roller (~> 1.1) rubocop (>= 1.75.0, < 2.0) rubocop-ast (>= 1.38.0, < 2.0) @@ -79,7 +79,7 @@ DEPENDENCIES pry (= 0.15.2) rake (= 13.3.0) rubocop (= 1.75.4) - rubocop-minitest (= 0.38.0) + rubocop-minitest (= 0.38.1) rubocop-rake (= 0.7.1) simplecov (= 0.22.0) test-unit (= 3.6.8) From d85fa7ebf2f54512d99202c17242b4fa997692b8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Jul 2025 12:01:10 -0600 Subject: [PATCH 37/38] Bump test-unit from 3.6.8 to 3.6.9 (#3096) Bumps [test-unit](https://github.com/test-unit/test-unit) from 3.6.8 to 3.6.9. - [Release notes](https://github.com/test-unit/test-unit/releases) - [Commits](https://github.com/test-unit/test-unit/compare/3.6.8...3.6.9) --- updated-dependencies: - dependency-name: test-unit dependency-version: 3.6.9 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Gemfile | 2 +- Gemfile.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 669094087f..51d53c6724 100644 --- a/Gemfile +++ b/Gemfile @@ -13,6 +13,6 @@ gem 'rubocop', '1.75.4' gem 'rubocop-minitest', '0.38.1' gem 'rubocop-rake', '0.7.1' gem 'simplecov', '0.22.0' -gem 'test-unit', '3.6.8' +gem 'test-unit', '3.6.9' gem 'timecop', '0.9.10' gem 'yard', '0.9.37' diff --git a/Gemfile.lock b/Gemfile.lock index 008bcf77e8..ba2cb66ce7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -60,7 +60,7 @@ GEM simplecov_json_formatter (~> 0.1) simplecov-html (0.13.1) simplecov_json_formatter (0.1.4) - test-unit (3.6.8) + test-unit (3.6.9) power_assert timecop (0.9.10) unicode-display_width (3.1.4) @@ -82,7 +82,7 @@ DEPENDENCIES rubocop-minitest (= 0.38.1) rubocop-rake (= 0.7.1) simplecov (= 0.22.0) - test-unit (= 3.6.8) + test-unit (= 3.6.9) timecop (= 0.9.10) yard (= 0.9.37) From 232c561fbab14b5e06b760c0076faac57eb0827d Mon Sep 17 00:00:00 2001 From: Thiago Araujo <707418+thdaraujo@users.noreply.github.com> Date: Tue, 1 Jul 2025 12:41:24 -0600 Subject: [PATCH 38/38] Bump faker to v3.5.2 (#3097) reviewed with pair-programming --- CHANGELOG.md | 71 +++++++++++++++++++++++++++++++++++++++----- Gemfile.lock | 2 +- lib/faker/version.rb | 2 +- 3 files changed, 66 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2903f7b12c..55694d1e08 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,62 @@ # Changelog +## [v3.5.2](https://github.com/faker-ruby/faker/tree/v3.5.2) (2025-07-01) + +Happy Canada Day! 🍁 + +This version adds and improves some locales and fixes some bugs. + +Thanks to all contributors! + +### Improvements & Bug fixes +* Correct `Faker::Address.city` and `Faker::Address.street_address` for `:fr` locale by @brupla6126 in https://github.com/faker-ruby/faker/pull/3018 +* fix condominium_fiscal_code generator length from 9 to 11 characters by @FiloSpaTeam in https://github.com/faker-ruby/faker/pull/3037 +* Add Cell Phone, Default Time Zone and State Abbreviation translation for en-PAK locale by @wonderer007 in https://github.com/faker-ruby/faker/pull/3024 +* Fix usage docs header indentation by @jaredsmithse in https://github.com/faker-ruby/faker/pull/3049 +* Fix nl phone format by @klaaspieter in https://github.com/faker-ruby/faker/pull/3050 +* Fix typo in `ja/book` locale by @thdaraujo in https://github.com/faker-ruby/faker/pull/3062 +* fix a typo by @jethrodaniel in https://github.com/faker-ruby/faker/pull/3060 +* Fix typo in `restaurant.yml` by @daniel-nerdgeschoss in https://github.com/faker-ruby/faker/pull/3067 +* Fix city address with number in `locales/fr/address.yml` by @brupla6126 in https://github.com/faker-ruby/faker/pull/3071 +* Fix unclosed quote in `locales/en/cosmere.yml` by @bensheldon in https://github.com/faker-ruby/faker/pull/3075 +* Remove inappropriate word from ja lorem by @se4weed in https://github.com/faker-ruby/faker/pull/3095 +* Add mountains to de-CH locale by @codez in https://github.com/faker-ruby/faker/pull/3066 +* Bump i18n from 1.14.6 to 1.14.7 by @dependabot in https://github.com/faker-ruby/faker/pull/3042 + +### Chore +* ci: run against Ruby 3.4 by @thdaraujo in https://github.com/faker-ruby/faker/pull/3079 +* Fix Broken CI by @wonderer007 in https://github.com/faker-ruby/faker/pull/3073 + +### Update local dependencies +* Bump rubocop from 1.67.0 to 1.68.0 by @dependabot in https://github.com/faker-ruby/faker/pull/3020 +* Bump rubocop from 1.68.0 to 1.69.2 by @dependabot in https://github.com/faker-ruby/faker/pull/3035 +* Bump rubocop version + offenses fixes by @stefannibrasil in https://github.com/faker-ruby/faker/pull/3053 +* deps: update dev dependencies by @thdaraujo in https://github.com/faker-ruby/faker/pull/3078 +* Bump rubocop-minitest and fix rubocop's offense by @stefannibrasil in https://github.com/faker-ruby/faker/pull/3052 +* Bump rubocop-minitest from 0.38.0 to 0.38.1 by @dependabot in https://github.com/faker-ruby/faker/pull/3088 +* Bump rubocop-rake from 0.6.0 to 0.7.1 by @dependabot in https://github.com/faker-ruby/faker/pull/3059 +* deps: bump `rubocop-minitest` from `0.37.1` to `0.38.0`. by @thdaraujo in https://github.com/faker-ruby/faker/pull/3080 +* Bump minitest from 5.25.1 to 5.25.4 by @dependabot in https://github.com/faker-ruby/faker/pull/3031 +* Bump test-unit from 3.6.2 to 3.6.7 by @dependabot in https://github.com/faker-ruby/faker/pull/3038 +* Bump benchmark from 0.3.0 to 0.4.0 by @dependabot in https://github.com/faker-ruby/faker/pull/3021 +* Bump benchmark from 0.4.0 to 0.4.1 by @dependabot in https://github.com/faker-ruby/faker/pull/3087 +* Bump pry from 0.14.2 to 0.15.2 by @dependabot in https://github.com/faker-ruby/faker/pull/3039 +* Bump rake from 13.2.1 to 13.3.0 by @dependabot in https://github.com/faker-ruby/faker/pull/3086 +* Bump test-unit from 3.6.8 to 3.6.9 by @dependabot in https://github.com/faker-ruby/faker/pull/3096 + +### New Contributors +* @brupla6126 made their first contribution in https://github.com/faker-ruby/faker/pull/3018 +* @jaredsmithse made their first contribution in https://github.com/faker-ruby/faker/pull/3049 +* @klaaspieter made their first contribution in https://github.com/faker-ruby/faker/pull/3050 +* @jethrodaniel made their first contribution in https://github.com/faker-ruby/faker/pull/3060 +* @daniel-nerdgeschoss made their first contribution in https://github.com/faker-ruby/faker/pull/3067 +* @bensheldon made their first contribution in https://github.com/faker-ruby/faker/pull/3075 +* @se4weed made their first contribution in https://github.com/faker-ruby/faker/pull/3095 + +**Full Changelog**: https://github.com/faker-ruby/faker/compare/v3.5.1...v3.5.2 + +--------------------------------- + ## [v3.5.1](https://github.com/faker-ruby/faker/tree/v3.5.1) (2024-10-18) Happy October! 🎃 @@ -10,7 +67,7 @@ Besides that, this version removes deprecated generators, fixes some bugs, and a Thanks to all contributors! -## Breaking Changes +### Breaking Changes * Drop support for Ruby 2.7 by @tatheerf02 in https://github.com/faker-ruby/faker/pull/3006 * Removes deprecated generators by @stefannibrasil in https://github.com/faker-ruby/faker/pull/3014 @@ -46,7 +103,7 @@ The following deprecated generators are being removed. Please use the new genera * Bump yard from 0.9.36 to 0.9.37 by @dependabot in https://github.com/faker-ruby/faker/pull/3000 * Bump rubocop from 1.65.1 to 1.66.1 by @dependabot in https://github.com/faker-ruby/faker/pull/3001 -## New Contributors +### New Contributors * @murichristopher made their first contribution in https://github.com/faker-ruby/faker/pull/2960 * @admtnnr made their first contribution in https://github.com/faker-ruby/faker/pull/2996 * @dirschn made their first contribution in https://github.com/faker-ruby/faker/pull/3007 @@ -93,7 +150,7 @@ Breaking change was introduced in "Add test range param to NHS numbers" by @nean * Bump rubocop from 1.64.1 to 1.65.0 by @dependabot in https://github.com/faker-ruby/faker/pull/2979 * Bump rubocop-minitest from 0.35.0 to 0.35.1 by @dependabot in https://github.com/faker-ruby/faker/pull/2980 -## New Contributors +### New Contributors * @twk-mn made their first contribution in https://github.com/faker-ruby/faker/pull/2961 * @neanias made their first contribution in https://github.com/faker-ruby/faker/pull/2947 * @garrettgregor made their first contribution in https://github.com/faker-ruby/faker/pull/2963 @@ -136,7 +193,7 @@ Breaking change was introduced in "Add test range param to NHS numbers" by @nean * Bump minitest from 5.22.3 to 5.23.1 by @dependabot in https://github.com/faker-ruby/faker/pull/2957 * Bump rubocop from 1.63.4 to 1.64.0 by @dependabot in https://github.com/faker-ruby/faker/pull/2958 -## New Contributors +### New Contributors * @connie-feng made their first contribution in https://github.com/faker-ruby/faker/pull/2930 * @andrelaszlo made their first contribution in https://github.com/faker-ruby/faker/pull/2927 @@ -291,7 +348,7 @@ This version: * Bump rubocop from 1.57.1 to 1.57.2 by @dependabot in https://github.com/faker-ruby/faker/pull/2844 * Bump timecop from 0.9.6 to 0.9.8 by @dependabot in https://github.com/faker-ruby/faker/pull/2811 -## New Contributors +### New Contributors * @BelaBartok39 made their first contribution in https://github.com/faker-ruby/faker/pull/2812 * @fernandomenolli made their first contribution in https://github.com/faker-ruby/faker/pull/2816 * @hoshy made their first contribution in https://github.com/faker-ruby/faker/pull/2818 @@ -355,7 +412,7 @@ Other changes included in this version: * Update rubocop-minitest requirement from = 0.30.0 to = 0.31.0 by @dependabot in https://github.com/faker-ruby/faker/pull/2759 * Bump minitest from 5.18.1 to 5.19.0 by @dependabot in https://github.com/faker-ruby/faker/pull/2804 -## New Contributors +### New Contributors * @old-dead-account made their first contribution in https://github.com/faker-ruby/faker/pull/2742 * @IvanReyesO7 made their first contribution in https://github.com/faker-ruby/faker/pull/2744 * @DeepakRaj228 made their first contribution in https://github.com/faker-ruby/faker/pull/2741 @@ -422,7 +479,7 @@ Other changes included in this version: * Add Faker::Company.department generator by @acuppy in https://github.com/faker-ruby/faker/pull/2737 * Update Pull Request template and guides by @stefannibrasil in https://github.com/faker-ruby/faker/pull/2749 -## New Contributors +### New Contributors * @lexisvar made their first contribution in https://github.com/faker-ruby/faker/pull/2699 * @danieldiekmeier made their first contribution in https://github.com/faker-ruby/faker/pull/2700 * @AaronRustad made their first contribution in https://github.com/faker-ruby/faker/pull/2706 diff --git a/Gemfile.lock b/Gemfile.lock index ba2cb66ce7..a75e13a171 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - faker (3.5.1) + faker (3.5.2) i18n (>= 1.8.11, < 2) GEM diff --git a/lib/faker/version.rb b/lib/faker/version.rb index 6676ee0e12..f79c71ab8b 100644 --- a/lib/faker/version.rb +++ b/lib/faker/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Faker # :nodoc: - VERSION = '3.5.1' + VERSION = '3.5.2' end