faker 3.2.2 → 3.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +141 -0
  3. data/README.md +11 -5
  4. data/lib/faker/default/id_number.rb +23 -20
  5. data/lib/faker/default/internet.rb +1 -39
  6. data/lib/faker/default/json.rb +2 -2
  7. data/lib/faker/default/phone_number.rb +37 -18
  8. data/lib/faker/default/south_africa.rb +3 -3
  9. data/lib/faker/japanese_media/fullmetal_alchemist_brotherhood.rb +13 -10
  10. data/lib/faker/locations/australia.rb +43 -38
  11. data/lib/faker/movies/{room.rb → the_room.rb} +4 -4
  12. data/lib/faker/version.rb +1 -1
  13. data/lib/helpers/deprecator.rb +30 -0
  14. data/lib/locales/bg.yml +0 -1
  15. data/lib/locales/da-DK.yml +529 -37
  16. data/lib/locales/de-AT.yml +3487 -26
  17. data/lib/locales/de-CH.yml +51 -59
  18. data/lib/locales/de.yml +7182 -100
  19. data/lib/locales/ee.yml +0 -1
  20. data/lib/locales/en/address.yml +1826 -561
  21. data/lib/locales/en/australia.yml +106 -105
  22. data/lib/locales/en/bank.yml +1 -1
  23. data/lib/locales/en/finance.yml +3 -3
  24. data/lib/locales/en/{fma_brotherhood.yml → fullmetal_alchemist_brotherhood.yml} +3 -3
  25. data/lib/locales/en/harry_potter.yml +1 -1
  26. data/lib/locales/en/id_number.yml +1 -1
  27. data/lib/locales/en/internet.yml +0 -4
  28. data/lib/locales/en/phone_number.yml +78 -3
  29. data/lib/locales/en/{room.yml → the_room.yml} +1 -1
  30. data/lib/locales/en-AU.yml +718 -47
  31. data/lib/locales/en-CA.yml +373 -19
  32. data/lib/locales/en-GB.yml +116 -9
  33. data/lib/locales/en-IND.yml +1259 -17
  34. data/lib/locales/en-KE.yml +212 -0
  35. data/lib/locales/en-MS.yml +364 -18
  36. data/lib/locales/en-NEP.yml +212 -38
  37. data/lib/locales/en-NZ.yml +1153 -124
  38. data/lib/locales/en-PAK.yml +369 -11
  39. data/lib/locales/en-SG.yml +581 -17
  40. data/lib/locales/en-US.yml +6923 -83
  41. data/lib/locales/en-au-ocker.yml +266 -24
  42. data/lib/locales/es-AR.yml +4569 -4600
  43. data/lib/locales/es-MX.yml +0 -1
  44. data/lib/locales/es.yml +0 -1
  45. data/lib/locales/fr/internet.yml +0 -1
  46. data/lib/locales/fr-CA.yml +2733 -44
  47. data/lib/locales/fr-CH.yml +0 -1
  48. data/lib/locales/fr.yml +3 -1
  49. data/lib/locales/hy.yml +3624 -120
  50. data/lib/locales/id.yml +839 -12
  51. data/lib/locales/it.yml +1304 -33
  52. data/lib/locales/ko.yml +0 -1
  53. data/lib/locales/lt.yml +297 -16
  54. data/lib/locales/lv.yml +0 -1
  55. data/lib/locales/nb-NO.yml +518 -30
  56. data/lib/locales/nl.yml +0 -1
  57. data/lib/locales/pl.yml +0 -1
  58. data/lib/locales/pt-BR.yml +8155 -665
  59. data/lib/locales/pt.yml +844 -45
  60. data/lib/locales/ru.yml +1353 -70
  61. data/lib/locales/sk.yml +4410 -44
  62. data/lib/locales/tr.yml +0 -2
  63. data/lib/locales/uk.yml +1808 -47
  64. metadata +8 -7
  65. data/History.md +0 -176
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faker
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.2
4
+ version: 3.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Curtis
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-11-03 00:00:00.000000000 Z
12
+ date: 2024-03-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: i18n
@@ -42,7 +42,6 @@ extensions: []
42
42
  extra_rdoc_files: []
43
43
  files:
44
44
  - CHANGELOG.md
45
- - History.md
46
45
  - License.txt
47
46
  - README.md
48
47
  - bin/faker
@@ -212,8 +211,8 @@ files:
212
211
  - lib/faker/movies/lord_of_the_rings.rb
213
212
  - lib/faker/movies/movie.rb
214
213
  - lib/faker/movies/princess_bride.rb
215
- - lib/faker/movies/room.rb
216
214
  - lib/faker/movies/star_wars.rb
215
+ - lib/faker/movies/the_room.rb
217
216
  - lib/faker/movies/tron.rb
218
217
  - lib/faker/movies/v_for_vendetta.rb
219
218
  - lib/faker/music/grateful_dead.rb
@@ -283,6 +282,7 @@ files:
283
282
  - lib/faker/version.rb
284
283
  - lib/helpers/base58.rb
285
284
  - lib/helpers/char.rb
285
+ - lib/helpers/deprecator.rb
286
286
  - lib/helpers/positional_generator.rb
287
287
  - lib/helpers/unique_generator.rb
288
288
  - lib/locales/README.md
@@ -300,6 +300,7 @@ files:
300
300
  - lib/locales/en-CA.yml
301
301
  - lib/locales/en-GB.yml
302
302
  - lib/locales/en-IND.yml
303
+ - lib/locales/en-KE.yml
303
304
  - lib/locales/en-MS.yml
304
305
  - lib/locales/en-NEP.yml
305
306
  - lib/locales/en-NG.yml
@@ -391,11 +392,11 @@ files:
391
392
  - lib/locales/en/final_fantasy_xiv.yml
392
393
  - lib/locales/en/final_space.yml
393
394
  - lib/locales/en/finance.yml
394
- - lib/locales/en/fma_brotherhood.yml
395
395
  - lib/locales/en/food.yml
396
396
  - lib/locales/en/football.yml
397
397
  - lib/locales/en/fresh_prince_of_bel_air.yml
398
398
  - lib/locales/en/friends.yml
399
+ - lib/locales/en/fullmetal_alchemist_brotherhood.yml
399
400
  - lib/locales/en/funny_name.yml
400
401
  - lib/locales/en/futurama.yml
401
402
  - lib/locales/en/game.yml
@@ -464,7 +465,6 @@ files:
464
465
  - lib/locales/en/restaurant.yml
465
466
  - lib/locales/en/rick_and_morty.yml
466
467
  - lib/locales/en/rock_band.yml
467
- - lib/locales/en/room.yml
468
468
  - lib/locales/en/rupaul.yml
469
469
  - lib/locales/en/rush.yml
470
470
  - lib/locales/en/science.yml
@@ -502,6 +502,7 @@ files:
502
502
  - lib/locales/en/the_it_crowd.yml
503
503
  - lib/locales/en/the_kingkiller_chronicle.yml
504
504
  - lib/locales/en/the_office.yml
505
+ - lib/locales/en/the_room.yml
505
506
  - lib/locales/en/the_thick_of_it.yml
506
507
  - lib/locales/en/tolkien.yml
507
508
  - lib/locales/en/touhou.yml
@@ -628,7 +629,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
628
629
  - !ruby/object:Gem::Version
629
630
  version: '0'
630
631
  requirements: []
631
- rubygems_version: 3.4.10
632
+ rubygems_version: 3.5.3
632
633
  signing_key:
633
634
  specification_version: 4
634
635
  summary: Easily generate fake data
data/History.md DELETED
@@ -1,176 +0,0 @@
1
- ## v1.6.5 (2016-07-08)
2
- * Removed Faker::ChuckNorris.name
3
-
4
- ## v1.6.4 (2016-07-06)
5
- * Removed support for Ruby 1.9.3
6
- * Added Faker::ChuckNorris, Faker::Crypto, Faker::Educator, Faker::File, Faker::Music, Faker::Space, Faker::Vehicle, and Faker::Yoda
7
- * Fixed bug with credit card types
8
- * DST fixes in Faker::Time
9
- * Added Faker::Name.name_with_middle
10
- * Added Faker::Code.imei
11
- * Added Faker::Code.asin
12
- * Added Faker::Lorem.question and Faker::Lorem.questions
13
- * Added Faker::Internet.private_ip_v4_address
14
- * Added Faker::Company.australian_business_number
15
- * Other miscellaneous fixes and locale updates
16
-
17
- ## v1.6.3 (2016-02-23)
18
- * Fix for UTF problem in Ruby 1.9.3
19
- * Fix for Faker::StarWars.character
20
- * Updated sv locale
21
-
22
- ## v1.6.2 (2016-02-20)
23
- * Fix for locale-switching (Russian email addresses)
24
- * Added Faker::Beer, Faker::Boolean, Faker::Cat, Faker::StarWars, and Faker::Superhero
25
- * Added Faker::Color.color_name
26
- * Added Faker::Date.between_except
27
- * Fixed Faker::Internet.ip_v4_cidr and Faker::Internet.ip_v6_cidr
28
- * Added locales: ca, ca-CAT, da-DK, fi-FI, and pt
29
-
30
- ## v1.6.1 (2015-11-23)
31
- * Fix for locale issues in tests
32
-
33
- ## v1.6.0 (2015-11-23)
34
- * Lots of bug fixes -- most notably, a fix for email addresses and domains in non-en locales
35
- * Updated locales: de, en-AU, en-NZ, en-SG, en-US, en-au-ocker, en, es, fr, he, it, ja, nb-NO, pl, pt-BR, sk, and zh-CN
36
- * Updated classes: Address, Avatar, Book, Code, Commerce, Company, Hipster, IDNumber, Internet, Number, Placeholdit, Shakespeare, and Time
37
-
38
- ## v1.5.0 (2015-08-17)
39
- * Added logos
40
- * Added Slack Emoji
41
- * Updated image generators
42
- * Updated Dutch Locale
43
- * Added support for generating RGB values, HSL colors, alpha channel, and HSLA colors
44
- * Added locale for Uganda
45
- * Added basic Ukrainian support
46
- * Added university name generator
47
- * Updated documentation
48
- * Updated a variety of locales
49
- * Various fixes
50
-
51
- ## v1.4.3 (2014-08-15)
52
- * Updated Russian locale
53
- * Added EIN generator
54
- * Fixed Swedish locale
55
- * Added birthday to Faker::Date
56
- * Added Faker::App
57
-
58
- ## v1.4.2 (2014-07-15)
59
- * Added Swedish locale
60
- * README update
61
-
62
- ## v1.4.1 (2014-07-04)
63
- * Bugfix and cleanup
64
-
65
- ## v1.4.0 (2014-07-03)
66
- * Many enhancements and bugfixes
67
-
68
- ## v1.3.0 (2014-03-08)
69
- * Many enhancements and few bugfixes
70
-
71
- ## v1.2.0 (2013-07-27)
72
- * Many major and minor enhancements :)
73
-
74
- ## v1.1.2 (2012-09-18)
75
- * 1 minor change:
76
- * Fixed Ruby 1.8 compatibility
77
-
78
- ## v1.1.1 (2012-09-17)
79
- * 1 minor change:
80
- * Removed ja locale because of parse errors
81
-
82
- ## v1.1.0 (2012-09-15)
83
- * 1 major change:
84
- * Removed deprecated methods from Address: earth_country, us_state, us_state_abbr, uk_postcode, uk_county
85
- * Many minor changes (please see github pull requests for credits)
86
- * Added many localizations
87
- * Added range and array support for Lorem
88
-
89
- ## v1.0.1 (2011-09-27)
90
- * 1 minor enhancement
91
- * Added safe_email method to get someaddress@example.com [Kazimierz Kiełkowicz]
92
- * 1 bug fix:
93
- * Use the locale fallback properly when parsing string formats
94
-
95
- ## v1.0.0 (2011-09-08)
96
- * 2 major enhancements
97
- * Moved all formats to locale files
98
- * Stopped interfering with I18n's global settings for fallbacks
99
- * 3 minor bug fixes:
100
- * Ruby 1.9.2 fixes [eMxyzptlk]
101
- * UTF8 fixes [maxmiliano]
102
- * Updated IPv4 generator to return valid addresses [Sylvain Desbureaux]
103
- * Many minor enhancements:
104
- * Added bork locale for bork-ified lorem [johnbentcope]
105
- * Added IPv6 address generator [jc00ke]
106
- * Removed deprecation warnings for Array#rand [chrismarshall]
107
- * Added German translation and I18n improvements [Matthias Kühnert]
108
- * Added Dutch translation [moretea]
109
- * Added Lat/Long generator [Andy Callaghan]
110
- * Added buzzword-laden title generator [supercleanse]
111
- * Added optional extended wordlist for lorem [chriskottom]
112
- * Updated German translation [Jan Schwenzien]
113
- * Locale improvements [suweller]
114
- * Added limit to lorem generator [darrenterhune]
115
- * Added Brazilian Portuguese translation [maxmiliano]
116
- * Added Australian translation [madeindata]
117
- * Added Canadian translation [igbanam]
118
- * Added Norwegian translation [kytrinyx]
119
- * Lots of translation-related cleanup [kytrinyx]
120
-
121
-
122
- ## v0.9.5 (2011-01-27)
123
- * 1 minor bug fix:
124
- * Fixed YAML [Aaron Patterson]
125
- * 3 minor enhancements:
126
- * Added default rake task to run all tests [Aaron Patterson]
127
- * Removed shuffle method [Aaron Patterson]
128
- * Use psych if present [Aaron Patterson]
129
-
130
- ## v0.9.4 (2010-12-29)
131
- * 1 minor bug fix:
132
- * Stopped getting in the way of Rails' late locale loading
133
-
134
- ## v0.9.3 (2010-12-28)
135
- * 1 minor enhancement:
136
- * Added a faker namespace for translations
137
-
138
- ## v0.9.2 (2010-12-22)
139
- * 1 bug fix:
140
- * Stopped stomping on I18n load path
141
-
142
- ## v0.9.1 (2010-12-22)
143
- * 1 bug fix:
144
- * Stopped setting I18n default locale
145
- * 1 major enhancement:
146
- * Added method_missing to Address to add methods based on data in locale files
147
- * 1 minor enhancement:
148
- * Added Swiss locale [Lukas Westermann]
149
-
150
- ## v0.9.0 (2010-12-21)
151
- * 1 major enhancement:
152
- * Moved strings and some formats to locale files
153
-
154
- ## v0.3.1 (2008-04-03)
155
- * 1 minor enhancement:
156
- * Added city to Address
157
-
158
- ## v0.3.0 (2008-01-01)
159
- * 3 major enhancements:
160
- * Added Lorem to generate fake Latin
161
- * Added secondary_address to Address, and made inclusion of
162
- secondary address in street_address optional (false by
163
- default).
164
- * Added UK address methods [Caius Durling]
165
-
166
- ## v0.2.1 (2007-12-05)
167
- * 1 major enhancement:
168
- * Dropped facets to avoid conflict with ActiveSupport
169
- * 2 minor enhancements:
170
- * Changed the output of user_name to randomly separate with a . or _
171
- * Added a few tests
172
-
173
- ## v0.1.0 (2007-11-22)
174
-
175
- * 1 major enhancement:
176
- * Initial release