faker 3.5.1 → 3.5.3

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 (45) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +118 -7
  3. data/README.md +76 -390
  4. data/lib/faker/books/lovecraft.rb +1 -1
  5. data/lib/faker/default/bank.rb +1 -5
  6. data/lib/faker/default/boolean.rb +2 -1
  7. data/lib/faker/default/code.rb +4 -0
  8. data/lib/faker/default/company.rb +2 -2
  9. data/lib/faker/default/driving_licence.rb +1 -1
  10. data/lib/faker/default/finance.rb +2 -2
  11. data/lib/faker/default/hipster.rb +1 -1
  12. data/lib/faker/default/html.rb +1 -1
  13. data/lib/faker/default/internet.rb +1 -1
  14. data/lib/faker/default/invoice.rb +2 -2
  15. data/lib/faker/default/json.rb +7 -2
  16. data/lib/faker/default/lorem.rb +1 -1
  17. data/lib/faker/default/markdown.rb +2 -2
  18. data/lib/faker/default/national_health_service.rb +1 -2
  19. data/lib/faker/default/placeholdit.rb +1 -1
  20. data/lib/faker/default/twitter.rb +194 -0
  21. data/lib/faker/default/types.rb +2 -2
  22. data/lib/faker/music/bossa_nova.rb +41 -0
  23. data/lib/faker/version.rb +1 -1
  24. data/lib/helpers/deprecator.rb +1 -1
  25. data/lib/locales/ar.yml +1602 -49
  26. data/lib/locales/de-CH.yml +31 -0
  27. data/lib/locales/ee.yml +2 -0
  28. data/lib/locales/en/cosmere.yml +1 -1
  29. data/lib/locales/en/elder_scrolls.yml +51 -52
  30. data/lib/locales/en/finance.yml +1 -1
  31. data/lib/locales/en/hobby.yml +0 -1
  32. data/lib/locales/en/overwatch.yml +1 -1
  33. data/lib/locales/en/rajnikanth.yml +1 -1
  34. data/lib/locales/en/restaurant.yml +1 -1
  35. data/lib/locales/en/street_fighter.yml +1 -1
  36. data/lib/locales/en-GB.yml +9 -7
  37. data/lib/locales/en-PAK.yml +24 -1
  38. data/lib/locales/fr/address.yml +761 -8
  39. data/lib/locales/ja/artist.yml +46 -0
  40. data/lib/locales/ja/book.yml +492 -3
  41. data/lib/locales/ja/lorem.yml +1 -1
  42. data/lib/locales/nl.yml +9 -1
  43. data/lib/locales/uk.yml +7 -7
  44. metadata +5 -7
  45. data/lib/faker/default/bossa_nova.rb +0 -33
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ad65b0b170d18a8541ff81c4db2ccce41263844bd877e4ecb0b78261a04f916a
4
- data.tar.gz: 2c84244f6994575b1d94fb1a7e60a3d16122e17aeed81bcb6945360aeb5b7eda
3
+ metadata.gz: 1451a74f2ed552404727bf2dfe6711edcdd7c6231cb1780a0d99050324b7b448
4
+ data.tar.gz: 63bdcd753bb373c03dc1f43e36a9fd79622ffe09c9a2c5748759475901b251e1
5
5
  SHA512:
6
- metadata.gz: a436fa77b8d61b96a5f52748061e823528c234b5e8ce5e6e3876254eaddb3f72b6fca43e52c0aeed3d6e00701c2ab81b77a192846929d46920f088182e20e5d9
7
- data.tar.gz: 0d2eb003ccd5492d09a2e5565994380bbb61fb1cfa0ca94efcae3f556e27bce231dfc13e643be150893040137e6c856011c7891fcde0b19c4aea99bf3d2853a4
6
+ metadata.gz: eca06030ce6ac8b3000d35df1214b262cd929964ab0c4fc23c5501ff0f6d5ed2717361bc61f7da2be2edc909cae5a1c17f762f2df1a2a2c77250c98db7167ab6
7
+ data.tar.gz: 49effb24c9837d69685458f9763cde1194164466c3adc73851ec8cbba680804def10fe8e94d6f89acf7ef7e2e6503a74905ef76302521d80adf548ab88c88879
data/CHANGELOG.md CHANGED
@@ -1,5 +1,116 @@
1
1
  # Changelog
2
2
 
3
+ ## [v3.5.3](https://github.com/faker-ruby/faker/tree/v3.5.3) (2025-12-02)
4
+
5
+ Wishing you a cozy and calm Holiday season ☃️
6
+
7
+ This version adds and improves some locales, fixes some bugs, and deprecates some generators.
8
+
9
+ Thanks to all contributors!
10
+
11
+ ### Deprecated generators
12
+ * Refactor: move `Faker::BossaNova` under `Faker::Music::BossaNova` by @thdaraujo in https://github.com/faker-ruby/faker/pull/3140
13
+ * Deprecate `Faker::Twitter` in favor of `Faker::X` and update attributes by @stefannibrasil in https://github.com/faker-ruby/faker/pull/3138
14
+
15
+ ### Improvements & Bug Fixes
16
+ * Remove duplicate entry `amateur radio` from `locales/en/hobby.yml` by @Leenday in https://github.com/faker-ruby/faker/pull/3099
17
+ * fix #3114: prevent scientific notation when generating bank account number by @AhmedHisham552 in https://github.com/faker-ruby/faker/pull/3118
18
+ * Fix: typos in locales for `overwatch.yml`, `rajnikanth.yml` and `street_fighter.ym` by @smorttey in https://github.com/faker-ruby/faker/pull/3106
19
+ * Add `Artist` translations for the japanese locale by @neco-nico in https://github.com/faker-ruby/faker/pull/3110
20
+ * Add `country_code` to Estonia locale (`locales/ee.yml`) by @HassanAkbar in https://github.com/faker-ruby/faker/pull/3111
21
+ * Reformat Arabic locale (`locales/ar.yml`) by @ramzieus in https://github.com/faker-ruby/faker/pull/3130
22
+ * Refactor: Improve UK Phone number false failure hit-rate by @luke-hill in https://github.com/faker-ruby/faker/pull/3136
23
+ * Improvements and fixes for Elder Scrolls locale (`elder_scrolls.yml`) by @SleekMutt in https://github.com/faker-ruby/faker/pull/3129
24
+ * Add en-GB ID Numbers (aka National Insurance Numbers) by @stefanjcollier in https://github.com/faker-ruby/faker/pull/3032
25
+ * Update ukrainian city locales to the modern ones by @SleekMutt in https://github.com/faker-ruby/faker/pull/3127
26
+ * Revamp the docs to make them easier to find by @stefannibrasil in https://github.com/faker-ruby/faker/pull/3151
27
+
28
+ ### Chores
29
+ * test: fix flaky test on `Faker::IdNumber` by @thdaraujo in https://github.com/faker-ruby/faker/pull/3126
30
+ * Remove minitest dependency on i18n reload test by @stefannibrasil in https://github.com/faker-ruby/faker/pull/3149
31
+ * Remove unused release workflow by @stefannibrasil in https://github.com/faker-ruby/faker/pull/3133
32
+
33
+ ### Update local dependencies
34
+ * Bump benchmark from 0.4.1 to 0.5.0 by @dependabot[bot] in https://github.com/faker-ruby/faker/pull/3122
35
+ * Bump rake from 13.3.0 to 13.3.1 by @dependabot[bot] in https://github.com/faker-ruby/faker/pull/3124
36
+ * Bump test-unit from 3.7.0 to 3.7.1 by @dependabot[bot] in https://github.com/faker-ruby/faker/pull/3128
37
+ * Bump rubocop-minitest from 0.38.1 to 0.38.2 by @dependabot[bot] in https://github.com/faker-ruby/faker/pull/3116
38
+ * deps: bump dependencies by @thdaraujo in https://github.com/faker-ruby/faker/pull/3141
39
+ * deps: bump Minitest version to `v5.26.1` and fix issues by @stefannibrasil in https://github.com/faker-ruby/faker/pull/3144
40
+ * deps: bump rubocop version to `v1.81.7` by @thdaraujo in https://github.com/faker-ruby/faker/pull/3143
41
+
42
+ ### New Contributors
43
+ * @Leenday made their first contribution in https://github.com/faker-ruby/faker/pull/3099
44
+ * @AhmedHisham552 made their first contribution in https://github.com/faker-ruby/faker/pull/3118
45
+ * @smorttey made their first contribution in https://github.com/faker-ruby/faker/pull/3106
46
+ * @neco-nico made their first contribution in https://github.com/faker-ruby/faker/pull/3110
47
+ * @HassanAkbar made their first contribution in https://github.com/faker-ruby/faker/pull/3111
48
+ * @ramzieus made their first contribution in https://github.com/faker-ruby/faker/pull/3130
49
+ * @luke-hill made their first contribution in https://github.com/faker-ruby/faker/pull/3136
50
+ * @SleekMutt made their first contribution in https://github.com/faker-ruby/faker/pull/3129
51
+ * @stefanjcollier made their first contribution in https://github.com/faker-ruby/faker/pull/3032
52
+
53
+ **Full Changelog**: https://github.com/faker-ruby/faker/compare/v3.5.2...v3.5.3
54
+
55
+ ---------------------------------
56
+
57
+ ## [v3.5.2](https://github.com/faker-ruby/faker/tree/v3.5.2) (2025-07-01)
58
+
59
+ Happy Canada Day! 🍁
60
+
61
+ This version adds and improves some locales and fixes some bugs.
62
+
63
+ Thanks to all contributors!
64
+
65
+ ### Improvements & Bug fixes
66
+ * Correct `Faker::Address.city` and `Faker::Address.street_address` for `:fr` locale by @brupla6126 in https://github.com/faker-ruby/faker/pull/3018
67
+ * fix condominium_fiscal_code generator length from 9 to 11 characters by @FiloSpaTeam in https://github.com/faker-ruby/faker/pull/3037
68
+ * 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
69
+ * Fix usage docs header indentation by @jaredsmithse in https://github.com/faker-ruby/faker/pull/3049
70
+ * Fix nl phone format by @klaaspieter in https://github.com/faker-ruby/faker/pull/3050
71
+ * Fix typo in `ja/book` locale by @thdaraujo in https://github.com/faker-ruby/faker/pull/3062
72
+ * fix a typo by @jethrodaniel in https://github.com/faker-ruby/faker/pull/3060
73
+ * Fix typo in `restaurant.yml` by @daniel-nerdgeschoss in https://github.com/faker-ruby/faker/pull/3067
74
+ * Fix city address with number in `locales/fr/address.yml` by @brupla6126 in https://github.com/faker-ruby/faker/pull/3071
75
+ * Fix unclosed quote in `locales/en/cosmere.yml` by @bensheldon in https://github.com/faker-ruby/faker/pull/3075
76
+ * Remove inappropriate word from ja lorem by @se4weed in https://github.com/faker-ruby/faker/pull/3095
77
+ * Add mountains to de-CH locale by @codez in https://github.com/faker-ruby/faker/pull/3066
78
+ * Bump i18n from 1.14.6 to 1.14.7 by @dependabot in https://github.com/faker-ruby/faker/pull/3042
79
+
80
+ ### Chore
81
+ * ci: run against Ruby 3.4 by @thdaraujo in https://github.com/faker-ruby/faker/pull/3079
82
+ * Fix Broken CI by @wonderer007 in https://github.com/faker-ruby/faker/pull/3073
83
+
84
+ ### Update local dependencies
85
+ * Bump rubocop from 1.67.0 to 1.68.0 by @dependabot in https://github.com/faker-ruby/faker/pull/3020
86
+ * Bump rubocop from 1.68.0 to 1.69.2 by @dependabot in https://github.com/faker-ruby/faker/pull/3035
87
+ * Bump rubocop version + offenses fixes by @stefannibrasil in https://github.com/faker-ruby/faker/pull/3053
88
+ * deps: update dev dependencies by @thdaraujo in https://github.com/faker-ruby/faker/pull/3078
89
+ * Bump rubocop-minitest and fix rubocop's offense by @stefannibrasil in https://github.com/faker-ruby/faker/pull/3052
90
+ * Bump rubocop-minitest from 0.38.0 to 0.38.1 by @dependabot in https://github.com/faker-ruby/faker/pull/3088
91
+ * Bump rubocop-rake from 0.6.0 to 0.7.1 by @dependabot in https://github.com/faker-ruby/faker/pull/3059
92
+ * deps: bump `rubocop-minitest` from `0.37.1` to `0.38.0`. by @thdaraujo in https://github.com/faker-ruby/faker/pull/3080
93
+ * Bump minitest from 5.25.1 to 5.25.4 by @dependabot in https://github.com/faker-ruby/faker/pull/3031
94
+ * Bump test-unit from 3.6.2 to 3.6.7 by @dependabot in https://github.com/faker-ruby/faker/pull/3038
95
+ * Bump benchmark from 0.3.0 to 0.4.0 by @dependabot in https://github.com/faker-ruby/faker/pull/3021
96
+ * Bump benchmark from 0.4.0 to 0.4.1 by @dependabot in https://github.com/faker-ruby/faker/pull/3087
97
+ * Bump pry from 0.14.2 to 0.15.2 by @dependabot in https://github.com/faker-ruby/faker/pull/3039
98
+ * Bump rake from 13.2.1 to 13.3.0 by @dependabot in https://github.com/faker-ruby/faker/pull/3086
99
+ * Bump test-unit from 3.6.8 to 3.6.9 by @dependabot in https://github.com/faker-ruby/faker/pull/3096
100
+
101
+ ### New Contributors
102
+ * @brupla6126 made their first contribution in https://github.com/faker-ruby/faker/pull/3018
103
+ * @jaredsmithse made their first contribution in https://github.com/faker-ruby/faker/pull/3049
104
+ * @klaaspieter made their first contribution in https://github.com/faker-ruby/faker/pull/3050
105
+ * @jethrodaniel made their first contribution in https://github.com/faker-ruby/faker/pull/3060
106
+ * @daniel-nerdgeschoss made their first contribution in https://github.com/faker-ruby/faker/pull/3067
107
+ * @bensheldon made their first contribution in https://github.com/faker-ruby/faker/pull/3075
108
+ * @se4weed made their first contribution in https://github.com/faker-ruby/faker/pull/3095
109
+
110
+ **Full Changelog**: https://github.com/faker-ruby/faker/compare/v3.5.1...v3.5.2
111
+
112
+ ---------------------------------
113
+
3
114
  ## [v3.5.1](https://github.com/faker-ruby/faker/tree/v3.5.1) (2024-10-18)
4
115
 
5
116
  Happy October! 🎃
@@ -10,7 +121,7 @@ Besides that, this version removes deprecated generators, fixes some bugs, and a
10
121
 
11
122
  Thanks to all contributors!
12
123
 
13
- ## Breaking Changes
124
+ ### Breaking Changes
14
125
  * Drop support for Ruby 2.7 by @tatheerf02 in https://github.com/faker-ruby/faker/pull/3006
15
126
  * Removes deprecated generators by @stefannibrasil in https://github.com/faker-ruby/faker/pull/3014
16
127
 
@@ -46,7 +157,7 @@ The following deprecated generators are being removed. Please use the new genera
46
157
  * Bump yard from 0.9.36 to 0.9.37 by @dependabot in https://github.com/faker-ruby/faker/pull/3000
47
158
  * Bump rubocop from 1.65.1 to 1.66.1 by @dependabot in https://github.com/faker-ruby/faker/pull/3001
48
159
 
49
- ## New Contributors
160
+ ### New Contributors
50
161
  * @murichristopher made their first contribution in https://github.com/faker-ruby/faker/pull/2960
51
162
  * @admtnnr made their first contribution in https://github.com/faker-ruby/faker/pull/2996
52
163
  * @dirschn made their first contribution in https://github.com/faker-ruby/faker/pull/3007
@@ -93,7 +204,7 @@ Breaking change was introduced in "Add test range param to NHS numbers" by @nean
93
204
  * Bump rubocop from 1.64.1 to 1.65.0 by @dependabot in https://github.com/faker-ruby/faker/pull/2979
94
205
  * Bump rubocop-minitest from 0.35.0 to 0.35.1 by @dependabot in https://github.com/faker-ruby/faker/pull/2980
95
206
 
96
- ## New Contributors
207
+ ### New Contributors
97
208
  * @twk-mn made their first contribution in https://github.com/faker-ruby/faker/pull/2961
98
209
  * @neanias made their first contribution in https://github.com/faker-ruby/faker/pull/2947
99
210
  * @garrettgregor made their first contribution in https://github.com/faker-ruby/faker/pull/2963
@@ -136,7 +247,7 @@ Breaking change was introduced in "Add test range param to NHS numbers" by @nean
136
247
  * Bump minitest from 5.22.3 to 5.23.1 by @dependabot in https://github.com/faker-ruby/faker/pull/2957
137
248
  * Bump rubocop from 1.63.4 to 1.64.0 by @dependabot in https://github.com/faker-ruby/faker/pull/2958
138
249
 
139
- ## New Contributors
250
+ ### New Contributors
140
251
 
141
252
  * @connie-feng made their first contribution in https://github.com/faker-ruby/faker/pull/2930
142
253
  * @andrelaszlo made their first contribution in https://github.com/faker-ruby/faker/pull/2927
@@ -291,7 +402,7 @@ This version:
291
402
  * Bump rubocop from 1.57.1 to 1.57.2 by @dependabot in https://github.com/faker-ruby/faker/pull/2844
292
403
  * Bump timecop from 0.9.6 to 0.9.8 by @dependabot in https://github.com/faker-ruby/faker/pull/2811
293
404
 
294
- ## New Contributors
405
+ ### New Contributors
295
406
  * @BelaBartok39 made their first contribution in https://github.com/faker-ruby/faker/pull/2812
296
407
  * @fernandomenolli made their first contribution in https://github.com/faker-ruby/faker/pull/2816
297
408
  * @hoshy made their first contribution in https://github.com/faker-ruby/faker/pull/2818
@@ -355,7 +466,7 @@ Other changes included in this version:
355
466
  * Update rubocop-minitest requirement from = 0.30.0 to = 0.31.0 by @dependabot in https://github.com/faker-ruby/faker/pull/2759
356
467
  * Bump minitest from 5.18.1 to 5.19.0 by @dependabot in https://github.com/faker-ruby/faker/pull/2804
357
468
 
358
- ## New Contributors
469
+ ### New Contributors
359
470
  * @old-dead-account made their first contribution in https://github.com/faker-ruby/faker/pull/2742
360
471
  * @IvanReyesO7 made their first contribution in https://github.com/faker-ruby/faker/pull/2744
361
472
  * @DeepakRaj228 made their first contribution in https://github.com/faker-ruby/faker/pull/2741
@@ -422,7 +533,7 @@ Other changes included in this version:
422
533
  * Add Faker::Company.department generator by @acuppy in https://github.com/faker-ruby/faker/pull/2737
423
534
  * Update Pull Request template and guides by @stefannibrasil in https://github.com/faker-ruby/faker/pull/2749
424
535
 
425
- ## New Contributors
536
+ ### New Contributors
426
537
  * @lexisvar made their first contribution in https://github.com/faker-ruby/faker/pull/2699
427
538
  * @danieldiekmeier made their first contribution in https://github.com/faker-ruby/faker/pull/2700
428
539
  * @AaronRustad made their first contribution in https://github.com/faker-ruby/faker/pull/2706