ffaker 2.23.0 → 2.25.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 +25 -3
- data/README.md +1 -1
- data/REFERENCE.md +907 -867
- data/ffaker.gemspec +1 -1
- data/lib/ffaker/address.rb +1 -1
- data/lib/ffaker/bank.rb +12 -0
- data/lib/ffaker/bank_us.rb +5 -1
- data/lib/ffaker/boolean.rb +4 -0
- data/lib/ffaker/data/job_tw/job_nouns +201 -0
- data/lib/ffaker/data/lorem_tw/words +789 -0
- data/lib/ffaker/guid.rb +7 -1
- data/lib/ffaker/identification_fi.rb +73 -0
- data/lib/ffaker/identification_mx.rb +1 -1
- data/lib/ffaker/job_tw.rb +12 -0
- data/lib/ffaker/lorem_tw.rb +40 -0
- data/lib/ffaker/name_pl.rb +2 -2
- data/lib/ffaker/tweet.rb +1 -1
- data/lib/ffaker/utils/module_utils.rb +7 -16
- data/lib/ffaker/uuid.rb +175 -0
- data/lib/ffaker/version.rb +1 -1
- data/lib/ffaker.rb +1 -0
- data/test/helper.rb +4 -4
- data/test/test_address_ua.rb +1 -1
- data/test/test_array_utils.rb +1 -1
- data/test/test_bank.rb +15 -1
- data/test/test_bank_us.rb +2 -0
- data/test/test_boolean.rb +32 -1
- data/test/test_date.rb +4 -4
- data/test/test_guid.rb +1 -1
- data/test/test_identification_fi.rb +39 -0
- data/test/test_job_tw.rb +21 -0
- data/test/test_lorem_br.rb +3 -3
- data/test/test_lorem_tw.rb +54 -0
- data/test/test_module_utils.rb +9 -0
- data/test/test_music.rb +4 -4
- data/test/test_number.rb +1 -1
- data/test/test_ssn_se.rb +1 -1
- data/test/test_uuid.rb +73 -0
- data/test/test_vehicle.rb +0 -1
- metadata +16 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3f9654a58ede677b3fb5953188b4c4c3dbddae88d2efb645afce0ddf9e6f548
|
4
|
+
data.tar.gz: 666b18e3d964b7caa9b7db582b1fb4c4965eda1e9542aaf34bb5d15583bc8d71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a94ca7b3c77c52cd80423729d743c501379d2257fa6e191a2a8f9af5291f48a0deebcc9fc2589a2bbc6cabaebf8a9a9406b3dad69f64dafb219bffee263614a
|
7
|
+
data.tar.gz: a26f1111b465b8d35d87985457b03ef38d2a76282c8962f5b6a4e749ba33465a945f6dcbd040397dc2aadc43807f7ec70bfc21985465ecad28c770210be0f814
|
data/Changelog.md
CHANGED
@@ -2,7 +2,23 @@
|
|
2
2
|
|
3
3
|
- Add your change HERE
|
4
4
|
|
5
|
-
|
5
|
+
## 2.25.0
|
6
|
+
- Generator for Finnish identity numbers [@zHarrowed]
|
7
|
+
- Fix typos and add Codespell GitHub action [@kianmeng]
|
8
|
+
- Add FFaker::Boolean.boolean with true ratio [@nedzib]
|
9
|
+
- Add LoremTW and JobTW [@cookiepingyen]
|
10
|
+
- Add loan tools to bank [@hulous]
|
11
|
+
|
12
|
+
## 2.24.0
|
13
|
+
- *BREAKING CHANGE*: Drop support under ruby 3.0 [@marocchino]
|
14
|
+
- Add ruby 3.4 to CI [@marocchino]
|
15
|
+
- Add ruby 3.3 to CI [@boimw]
|
16
|
+
- Fix Luhn algorithm used in french companie's SIRET and sweden SSN [@Krap]
|
17
|
+
- Add `FFaker::UUID` `.uuidv4`, `.uuidv6`, `.uuidv7`, and `.uuidv8` [@stilist]
|
18
|
+
- Deprecate `FFaker::Guid.guid` in favor of `FFaker::UUID` methods [@stilist]
|
19
|
+
- Limit FFaker::BankUS.routing_number first two digits [@professor]
|
20
|
+
|
21
|
+
## 2.23.0
|
6
22
|
- Add FFaker::BankUS.accounting_number [@professor]
|
7
23
|
- Add FFaker::BankUS.routing_number [@professor]
|
8
24
|
- Resolve a lot of RuboCop offenses [@AlexWayfer]
|
@@ -13,7 +29,7 @@
|
|
13
29
|
- Adds FFaker::Number.between [@professor]
|
14
30
|
- Fixed `FFaker::Number.unique.number(digits: 1)` under Ruby 3 [@simonhildebrandt]
|
15
31
|
|
16
|
-
|
32
|
+
## 2.22.0
|
17
33
|
- *BREAKING CHANGE*: Drop support under ruby 2.7 [@marocchino]
|
18
34
|
- Correct Vehicle::VIN result [@philippevezina]
|
19
35
|
- Improve performance unique [@iiwo]
|
@@ -397,7 +413,7 @@ Api additions by Rafael Souza
|
|
397
413
|
|
398
414
|
## 0.3.2 2010-01-14
|
399
415
|
|
400
|
-
* Several Optimizations, renamed gem
|
416
|
+
* Several Optimizations, renamed gem package to ffaker.
|
401
417
|
|
402
418
|
## 0.3.1 2008-04-03
|
403
419
|
|
@@ -445,6 +461,7 @@ Api additions by Rafael Souza
|
|
445
461
|
[@CarlosMouraJR]: https://github.com/CarlosMouraJR
|
446
462
|
[@GuillaumeOcculy]: https://github.com/GuillaumeOcculy
|
447
463
|
[@IgorMarques]: https://github.com/IgorMarques
|
464
|
+
[@Krap]: https://github.com/Krap
|
448
465
|
[@Kutomore]: https://github.com/Kutomore
|
449
466
|
[@MQuy]: https://github.com/MQuy
|
450
467
|
[@Moafak]: https://github.com/Moafak
|
@@ -463,10 +480,12 @@ Api additions by Rafael Souza
|
|
463
480
|
[@ar2em1s]: https://github.com/ar2em1s
|
464
481
|
[@artplan1]: https://github.com/artplan1
|
465
482
|
[@az3vedo]: https://github.com/az3vedo
|
483
|
+
[@boimw]: https://github.com/boimw
|
466
484
|
[@brain64bit]: https://github.com/brain64bit
|
467
485
|
[@brnrdog]: https://github.com/brnrdog
|
468
486
|
[@brupla6126]: https://github.com/brupla6126
|
469
487
|
[@ckyOL]: https://github.com/ckyOL
|
488
|
+
[@cookiepingyen]: https://github.com/cookiepingyen
|
470
489
|
[@danderozier]: https://github.com/danderozier
|
471
490
|
[@dankimio]: https://github.com/dankimio
|
472
491
|
[@delucas]: https://github.com/delucas
|
@@ -488,6 +507,7 @@ Api additions by Rafael Souza
|
|
488
507
|
[@joshdvir]: https://github.com/joshdvir
|
489
508
|
[@josieljunior]: https://github.com/josieljunior
|
490
509
|
[@jvanbaarsen]: https://github.com/jvanbaarsen
|
510
|
+
[@kianmeng]: https://github.com/kianmeng
|
491
511
|
[@kmayer]: https://github.com/kmayer
|
492
512
|
[@kojino]: https://github.com/kojino
|
493
513
|
[@ktroutner]: https://github.com/ktroutner
|
@@ -534,3 +554,5 @@ Api additions by Rafael Souza
|
|
534
554
|
[@waldyr]: https://github.com/waldyr
|
535
555
|
[@walerian777]: https://github.com/walerian777
|
536
556
|
[@xunker]: https://github.com/xunker
|
557
|
+
[@zHarrowed]: https://github.com/zHarrowed
|
558
|
+
|
data/README.md
CHANGED
@@ -65,7 +65,7 @@ If you want to add new modules or localization data, use one of the
|
|
65
65
|
(or create a new one!).
|
66
66
|
|
67
67
|
**const_missing** is
|
68
|
-
[
|
68
|
+
[overridden](https://github.com/ffaker/ffaker/blob/main/lib/ffaker/utils/module_utils.rb#L9)
|
69
69
|
for Faker modules, so if you try to use a constant that is not defined
|
70
70
|
in the module, the
|
71
71
|
[override](https://github.com/ffaker/ffaker/blob/main/lib/ffaker/utils/module_utils.rb#L9)
|