faker 3.2.3 → 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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +141 -0
- data/README.md +12 -5
- data/lib/faker/default/company.rb +68 -0
- data/lib/faker/default/id_number.rb +23 -20
- data/lib/faker/default/internet.rb +1 -39
- data/lib/faker/default/json.rb +2 -2
- data/lib/faker/default/phone_number.rb +37 -18
- data/lib/faker/default/south_africa.rb +3 -3
- data/lib/faker/japanese_media/fullmetal_alchemist_brotherhood.rb +13 -10
- data/lib/faker/locations/australia.rb +43 -38
- data/lib/faker/movies/{room.rb → the_room.rb} +4 -4
- data/lib/faker/music/smashing_pumpkins.rb +64 -0
- data/lib/faker/version.rb +1 -1
- data/lib/helpers/deprecator.rb +30 -0
- data/lib/locales/bg.yml +0 -1
- data/lib/locales/da-DK.yml +529 -37
- data/lib/locales/de-AT.yml +3487 -26
- data/lib/locales/de-CH.yml +51 -59
- data/lib/locales/de.yml +7182 -100
- data/lib/locales/ee.yml +0 -1
- data/lib/locales/en/address.yml +1826 -561
- data/lib/locales/en/australia.yml +106 -105
- data/lib/locales/en/bank.yml +1 -1
- data/lib/locales/en/finance.yml +3 -3
- data/lib/locales/en/{fma_brotherhood.yml → fullmetal_alchemist_brotherhood.yml} +3 -3
- data/lib/locales/en/harry_potter.yml +1 -1
- data/lib/locales/en/id_number.yml +1 -1
- data/lib/locales/en/internet.yml +0 -4
- data/lib/locales/en/phone_number.yml +78 -3
- data/lib/locales/en/smashing_pumpkins.yml +382 -0
- data/lib/locales/en/{room.yml → the_room.yml} +1 -1
- data/lib/locales/en-AU.yml +718 -47
- data/lib/locales/en-CA.yml +373 -19
- data/lib/locales/en-GB.yml +116 -9
- data/lib/locales/en-IND.yml +1259 -17
- data/lib/locales/en-KE.yml +212 -0
- data/lib/locales/en-MS.yml +364 -18
- data/lib/locales/en-NEP.yml +212 -38
- data/lib/locales/en-NZ.yml +1153 -124
- data/lib/locales/en-PAK.yml +369 -11
- data/lib/locales/en-SG.yml +581 -17
- data/lib/locales/en-US.yml +6923 -83
- data/lib/locales/en-au-ocker.yml +266 -24
- data/lib/locales/es-AR.yml +4569 -4600
- data/lib/locales/es-MX.yml +0 -1
- data/lib/locales/es.yml +0 -1
- data/lib/locales/fr/internet.yml +0 -1
- data/lib/locales/fr-CA.yml +2733 -44
- data/lib/locales/fr-CH.yml +0 -1
- data/lib/locales/fr.yml +3 -1
- data/lib/locales/hy.yml +3624 -120
- data/lib/locales/id.yml +839 -12
- data/lib/locales/it.yml +1304 -33
- data/lib/locales/ko.yml +0 -1
- data/lib/locales/lt.yml +297 -16
- data/lib/locales/lv.yml +0 -1
- data/lib/locales/nb-NO.yml +518 -30
- data/lib/locales/nl.yml +0 -1
- data/lib/locales/pl.yml +0 -1
- data/lib/locales/pt-BR.yml +8155 -665
- data/lib/locales/pt.yml +844 -45
- data/lib/locales/ru.yml +1353 -70
- data/lib/locales/sk.yml +4410 -44
- data/lib/locales/tr.yml +0 -2
- data/lib/locales/uk.yml +1808 -47
- data/lib/locales/zh-CN/bank.yml +17 -0
- metadata +14 -10
- data/History.md +0 -176
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: faker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benjamin Curtis
|
8
8
|
- Vitor Oliveira
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
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
|
@@ -226,6 +225,7 @@ files:
|
|
226
225
|
- lib/faker/music/rock_band.rb
|
227
226
|
- lib/faker/music/rush.rb
|
228
227
|
- lib/faker/music/show.rb
|
228
|
+
- lib/faker/music/smashing_pumpkins.rb
|
229
229
|
- lib/faker/music/umphreys_mcgee.rb
|
230
230
|
- lib/faker/quotes/chiquito.rb
|
231
231
|
- lib/faker/quotes/quote.rb
|
@@ -282,6 +282,7 @@ files:
|
|
282
282
|
- lib/faker/version.rb
|
283
283
|
- lib/helpers/base58.rb
|
284
284
|
- lib/helpers/char.rb
|
285
|
+
- lib/helpers/deprecator.rb
|
285
286
|
- lib/helpers/positional_generator.rb
|
286
287
|
- lib/helpers/unique_generator.rb
|
287
288
|
- lib/locales/README.md
|
@@ -299,6 +300,7 @@ files:
|
|
299
300
|
- lib/locales/en-CA.yml
|
300
301
|
- lib/locales/en-GB.yml
|
301
302
|
- lib/locales/en-IND.yml
|
303
|
+
- lib/locales/en-KE.yml
|
302
304
|
- lib/locales/en-MS.yml
|
303
305
|
- lib/locales/en-NEP.yml
|
304
306
|
- lib/locales/en-NG.yml
|
@@ -390,11 +392,11 @@ files:
|
|
390
392
|
- lib/locales/en/final_fantasy_xiv.yml
|
391
393
|
- lib/locales/en/final_space.yml
|
392
394
|
- lib/locales/en/finance.yml
|
393
|
-
- lib/locales/en/fma_brotherhood.yml
|
394
395
|
- lib/locales/en/food.yml
|
395
396
|
- lib/locales/en/football.yml
|
396
397
|
- lib/locales/en/fresh_prince_of_bel_air.yml
|
397
398
|
- lib/locales/en/friends.yml
|
399
|
+
- lib/locales/en/fullmetal_alchemist_brotherhood.yml
|
398
400
|
- lib/locales/en/funny_name.yml
|
399
401
|
- lib/locales/en/futurama.yml
|
400
402
|
- lib/locales/en/game.yml
|
@@ -463,7 +465,6 @@ files:
|
|
463
465
|
- lib/locales/en/restaurant.yml
|
464
466
|
- lib/locales/en/rick_and_morty.yml
|
465
467
|
- lib/locales/en/rock_band.yml
|
466
|
-
- lib/locales/en/room.yml
|
467
468
|
- lib/locales/en/rupaul.yml
|
468
469
|
- lib/locales/en/rush.yml
|
469
470
|
- lib/locales/en/science.yml
|
@@ -473,6 +474,7 @@ files:
|
|
473
474
|
- lib/locales/en/silicon_valley.yml
|
474
475
|
- lib/locales/en/simpsons.yml
|
475
476
|
- lib/locales/en/slack_emoji.yml
|
477
|
+
- lib/locales/en/smashing_pumpkins.yml
|
476
478
|
- lib/locales/en/sonic_the_hedgehog.yml
|
477
479
|
- lib/locales/en/source.yml
|
478
480
|
- lib/locales/en/south_park.yml
|
@@ -500,6 +502,7 @@ files:
|
|
500
502
|
- lib/locales/en/the_it_crowd.yml
|
501
503
|
- lib/locales/en/the_kingkiller_chronicle.yml
|
502
504
|
- lib/locales/en/the_office.yml
|
505
|
+
- lib/locales/en/the_room.yml
|
503
506
|
- lib/locales/en/the_thick_of_it.yml
|
504
507
|
- lib/locales/en/tolkien.yml
|
505
508
|
- lib/locales/en/touhou.yml
|
@@ -599,6 +602,7 @@ files:
|
|
599
602
|
- lib/locales/uk.yml
|
600
603
|
- lib/locales/vi.yml
|
601
604
|
- lib/locales/zh-CN.yml
|
605
|
+
- lib/locales/zh-CN/bank.yml
|
602
606
|
- lib/locales/zh-TW.yml
|
603
607
|
homepage: https://github.com/faker-ruby/faker
|
604
608
|
licenses:
|
@@ -610,7 +614,7 @@ metadata:
|
|
610
614
|
documentation_uri: https://rubydoc.info/github/faker-ruby/faker
|
611
615
|
yard.run: yri
|
612
616
|
rubygems_mfa_required: 'true'
|
613
|
-
post_install_message:
|
617
|
+
post_install_message:
|
614
618
|
rdoc_options: []
|
615
619
|
require_paths:
|
616
620
|
- lib
|
@@ -625,8 +629,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
625
629
|
- !ruby/object:Gem::Version
|
626
630
|
version: '0'
|
627
631
|
requirements: []
|
628
|
-
rubygems_version: 3.
|
629
|
-
signing_key:
|
632
|
+
rubygems_version: 3.5.3
|
633
|
+
signing_key:
|
630
634
|
specification_version: 4
|
631
635
|
summary: Easily generate fake data
|
632
636
|
test_files: []
|
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
|