ffaker 2.5.0 → 2.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/Changelog.md +8 -0
  3. data/REFERENCE.md +10 -0
  4. data/ffaker.gemspec +1 -1
  5. data/lib/ffaker/address_au.rb +2 -1
  6. data/lib/ffaker/address_br.rb +5 -1
  7. data/lib/ffaker/address_gr.rb +2 -2
  8. data/lib/ffaker/address_ja.rb +12 -12
  9. data/lib/ffaker/address_mx.rb +364 -364
  10. data/lib/ffaker/address_pl.rb +85 -0
  11. data/lib/ffaker/animals.rb +12 -0
  12. data/lib/ffaker/data/address_pl/city +916 -0
  13. data/lib/ffaker/data/address_pl/square +390 -0
  14. data/lib/ffaker/data/address_pl/street +390 -0
  15. data/lib/ffaker/data/address_pl/voivodeship +16 -0
  16. data/lib/ffaker/data/address_pl/voivodeship_abbr +16 -0
  17. data/lib/ffaker/data/address_pl/voivodeship_capital_city +18 -0
  18. data/lib/ffaker/data/animal/common_names +141 -0
  19. data/lib/ffaker/data/filesystem/extension +32 -0
  20. data/lib/ffaker/data/filesystem/mime_type +67 -0
  21. data/lib/ffaker/data/name_pl/female_first_names +121 -0
  22. data/lib/ffaker/data/name_pl/female_last_names +200 -0
  23. data/lib/ffaker/data/name_pl/male_first_names +121 -0
  24. data/lib/ffaker/data/name_pl/male_last_names +200 -0
  25. data/lib/ffaker/filesystem.rb +25 -0
  26. data/lib/ffaker/html_ipsum.rb +7 -7
  27. data/lib/ffaker/identification_mx.rb +2 -2
  28. data/lib/ffaker/name_da.rb +1 -1
  29. data/lib/ffaker/name_gr.rb +1 -1
  30. data/lib/ffaker/name_mx.rb +1 -1
  31. data/lib/ffaker/name_pl.rb +99 -0
  32. data/lib/ffaker/phone_number_au.rb +2 -2
  33. data/lib/ffaker/phone_number_id.rb +1 -1
  34. data/lib/ffaker/string.rb +1 -1
  35. data/lib/ffaker/tweet.rb +1 -1
  36. data/scripts/reference.rb +4 -4
  37. data/test/test_address_br.rb +1 -1
  38. data/test/test_address_ca.rb +2 -1
  39. data/test/test_address_gr.rb +1 -1
  40. data/test/test_address_mx.rb +1 -1
  41. data/test/test_address_pl.rb +81 -0
  42. data/test/test_address_ua.rb +2 -1
  43. data/test/test_animal.rb +17 -0
  44. data/test/test_aws.rb +3 -3
  45. data/test/test_book.rb +2 -2
  46. data/test/test_filesystem.rb +28 -0
  47. data/test/test_lorem_fr.rb +2 -1
  48. data/test/test_name_br.rb +1 -1
  49. data/test/test_name_pl.rb +112 -0
  50. data/test/test_phone_number_au.rb +18 -13
  51. data/test/test_phone_number_cu.rb +6 -3
  52. metadata +26 -1
@@ -23,18 +23,21 @@ class TestPhoneNumberCU < Test::Unit::TestCase
23
23
  #
24
24
  def test_mobile_phone_prefix
25
25
  assert FFaker::PhoneNumberCU::MobileOperatorsPrefix.include?(
26
- @tester.mobile_phone_prefix)
26
+ @tester.mobile_phone_prefix
27
+ )
27
28
  end
28
29
 
29
30
  def test_home_work_phone_prefix
30
31
  assert FFaker::PhoneNumberCU::HomeWorkOperatorsPrefix.include?(
31
- @tester.home_work_phone_prefix)
32
+ @tester.home_work_phone_prefix
33
+ )
32
34
  end
33
35
 
34
36
  def test_phone_prefix
35
37
  10.times do
36
38
  assert FFaker::PhoneNumberCU::OperatorsPrefix.include?(
37
- @tester.phone_prefix)
39
+ @tester.phone_prefix
40
+ )
38
41
  end
39
42
  end
40
43
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffaker
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0
4
+ version: 2.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - https://github.com/ffaker/ffaker/graphs/contributors
@@ -75,6 +75,7 @@ files:
75
75
  - lib/ffaker/address_kr.rb
76
76
  - lib/ffaker/address_mx.rb
77
77
  - lib/ffaker/address_nl.rb
78
+ - lib/ffaker/address_pl.rb
78
79
  - lib/ffaker/address_ru.rb
79
80
  - lib/ffaker/address_se.rb
80
81
  - lib/ffaker/address_sn.rb
@@ -82,6 +83,7 @@ files:
82
83
  - lib/ffaker/address_uk.rb
83
84
  - lib/ffaker/address_us.rb
84
85
  - lib/ffaker/airline.rb
86
+ - lib/ffaker/animals.rb
85
87
  - lib/ffaker/avatar.rb
86
88
  - lib/ffaker/aws.rb
87
89
  - lib/ffaker/bacon_ipsum.rb
@@ -152,6 +154,12 @@ files:
152
154
  - lib/ffaker/data/address_mx/state_abbr
153
155
  - lib/ffaker/data/address_nl/city
154
156
  - lib/ffaker/data/address_nl/province
157
+ - lib/ffaker/data/address_pl/city
158
+ - lib/ffaker/data/address_pl/square
159
+ - lib/ffaker/data/address_pl/street
160
+ - lib/ffaker/data/address_pl/voivodeship
161
+ - lib/ffaker/data/address_pl/voivodeship_abbr
162
+ - lib/ffaker/data/address_pl/voivodeship_capital_city
155
163
  - lib/ffaker/data/address_ru/city
156
164
  - lib/ffaker/data/address_ru/province
157
165
  - lib/ffaker/data/address_ru/street
@@ -171,6 +179,7 @@ files:
171
179
  - lib/ffaker/data/address_us/state_and_territories_abbr
172
180
  - lib/ffaker/data/airline/codes_list
173
181
  - lib/ffaker/data/airline/names_list
182
+ - lib/ffaker/data/animal/common_names
174
183
  - lib/ffaker/data/aws/ec2_instance_type
175
184
  - lib/ffaker/data/aws/ec2_reserved_instance_tenancy
176
185
  - lib/ffaker/data/aws/ec2_reserved_offering_type
@@ -199,6 +208,8 @@ files:
199
208
  - lib/ffaker/data/education/degree_short_prefix
200
209
  - lib/ffaker/data/education/major_noun
201
210
  - lib/ffaker/data/education/school_suffix
211
+ - lib/ffaker/data/filesystem/extension
212
+ - lib/ffaker/data/filesystem/mime_type
202
213
  - lib/ffaker/data/food/fruit
203
214
  - lib/ffaker/data/food/herb_spice
204
215
  - lib/ffaker/data/food/meat
@@ -290,6 +301,10 @@ files:
290
301
  - lib/ffaker/data/name_nl/last_names
291
302
  - lib/ffaker/data/name_ph/autochthonous_surnames
292
303
  - lib/ffaker/data/name_ph/spanish_surnames
304
+ - lib/ffaker/data/name_pl/female_first_names
305
+ - lib/ffaker/data/name_pl/female_last_names
306
+ - lib/ffaker/data/name_pl/male_first_names
307
+ - lib/ffaker/data/name_pl/male_last_names
293
308
  - lib/ffaker/data/name_se/first_names_female
294
309
  - lib/ffaker/data/name_se/first_names_male
295
310
  - lib/ffaker/data/name_se/last_names
@@ -337,6 +352,7 @@ files:
337
352
  - lib/ffaker/data/youtube/video_ids
338
353
  - lib/ffaker/dizzle_ipsum.rb
339
354
  - lib/ffaker/education.rb
355
+ - lib/ffaker/filesystem.rb
340
356
  - lib/ffaker/food.rb
341
357
  - lib/ffaker/gender.rb
342
358
  - lib/ffaker/gender_br.rb
@@ -394,6 +410,7 @@ files:
394
410
  - lib/ffaker/name_nb.rb
395
411
  - lib/ffaker/name_nl.rb
396
412
  - lib/ffaker/name_ph.rb
413
+ - lib/ffaker/name_pl.rb
397
414
  - lib/ffaker/name_ru.rb
398
415
  - lib/ffaker/name_se.rb
399
416
  - lib/ffaker/name_sn.rb
@@ -460,6 +477,7 @@ files:
460
477
  - test/test_address_kr.rb
461
478
  - test/test_address_mx.rb
462
479
  - test/test_address_nl.rb
480
+ - test/test_address_pl.rb
463
481
  - test/test_address_ru.rb
464
482
  - test/test_address_se.rb
465
483
  - test/test_address_sn.rb
@@ -467,6 +485,7 @@ files:
467
485
  - test/test_address_uk.rb
468
486
  - test/test_address_us.rb
469
487
  - test/test_airline.rb
488
+ - test/test_animal.rb
470
489
  - test/test_array_utils.rb
471
490
  - test/test_avatar.rb
472
491
  - test/test_aws.rb
@@ -487,6 +506,7 @@ files:
487
506
  - test/test_dizzle_ipsum.rb
488
507
  - test/test_education.rb
489
508
  - test/test_faker.rb
509
+ - test/test_filesystem.rb
490
510
  - test/test_food.rb
491
511
  - test/test_gender.rb
492
512
  - test/test_gender_br.rb
@@ -545,6 +565,7 @@ files:
545
565
  - test/test_name_nb.rb
546
566
  - test/test_name_nl.rb
547
567
  - test/test_name_ph.rb
568
+ - test/test_name_pl.rb
548
569
  - test/test_name_ru.rb
549
570
  - test/test_name_se.rb
550
571
  - test/test_name_sn.rb
@@ -627,6 +648,7 @@ test_files:
627
648
  - test/test_address_kr.rb
628
649
  - test/test_address_mx.rb
629
650
  - test/test_address_nl.rb
651
+ - test/test_address_pl.rb
630
652
  - test/test_address_ru.rb
631
653
  - test/test_address_se.rb
632
654
  - test/test_address_sn.rb
@@ -634,6 +656,7 @@ test_files:
634
656
  - test/test_address_uk.rb
635
657
  - test/test_address_us.rb
636
658
  - test/test_airline.rb
659
+ - test/test_animal.rb
637
660
  - test/test_array_utils.rb
638
661
  - test/test_avatar.rb
639
662
  - test/test_aws.rb
@@ -654,6 +677,7 @@ test_files:
654
677
  - test/test_dizzle_ipsum.rb
655
678
  - test/test_education.rb
656
679
  - test/test_faker.rb
680
+ - test/test_filesystem.rb
657
681
  - test/test_food.rb
658
682
  - test/test_gender.rb
659
683
  - test/test_gender_br.rb
@@ -712,6 +736,7 @@ test_files:
712
736
  - test/test_name_nb.rb
713
737
  - test/test_name_nl.rb
714
738
  - test/test_name_ph.rb
739
+ - test/test_name_pl.rb
715
740
  - test/test_name_ru.rb
716
741
  - test/test_name_se.rb
717
742
  - test/test_name_sn.rb