ffaker 2.21.0 → 2.22.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 +11 -0
 - data/README.md +15 -4
 - data/REFERENCE.md +316 -290
 - data/Rakefile +9 -40
 - data/bin/console +9 -0
 - data/ffaker.gemspec +9 -19
 - data/lib/ffaker/address_ua.rb +1 -1
 - data/lib/ffaker/book.rb +5 -5
 - data/lib/ffaker/code.rb +1 -1
 - data/lib/ffaker/company.rb +1 -1
 - data/lib/ffaker/company_fr.rb +1 -1
 - data/lib/ffaker/data/address_de/state +1 -0
 - data/lib/ffaker/data/jo_jo/first_names +356 -0
 - data/lib/ffaker/data/jo_jo/full_names +225 -0
 - data/lib/ffaker/data/jo_jo/last_names +153 -0
 - data/lib/ffaker/data/jo_jo/stands +149 -0
 - data/lib/ffaker/date.rb +31 -0
 - data/lib/ffaker/geolocation.rb +2 -2
 - data/lib/ffaker/identification_br.rb +1 -1
 - data/lib/ffaker/identification_ec.rb +39 -0
 - data/lib/ffaker/identification_es_cl.rb +2 -2
 - data/lib/ffaker/identification_es_co.rb +1 -1
 - data/lib/ffaker/identification_kr.rb +3 -3
 - data/lib/ffaker/identification_pl.rb +4 -4
 - data/lib/ffaker/identification_tw.rb +1 -1
 - data/lib/ffaker/jo_jo.rb +24 -0
 - data/lib/ffaker/name_pl.rb +1 -1
 - data/lib/ffaker/number.rb +2 -2
 - data/lib/ffaker/ssn_se.rb +2 -2
 - data/lib/ffaker/string.rb +1 -1
 - data/lib/ffaker/time.rb +3 -3
 - data/lib/ffaker/utils/module_utils.rb +4 -5
 - data/lib/ffaker/utils/unique_utils.rb +29 -21
 - data/lib/ffaker/vehicle.rb +2 -2
 - data/lib/{version.rb → ffaker/version.rb} +1 -1
 - data/lib/ffaker.rb +7 -4
 - data/test/helper.rb +2 -4
 - data/test/test_address_da.rb +3 -3
 - data/test/test_address_fi.rb +2 -2
 - data/test/test_address_se.rb +2 -2
 - data/test/test_cheesy_lingo.rb +1 -1
 - data/test/test_color.rb +3 -3
 - data/test/test_date.rb +37 -0
 - data/test/test_filesystem.rb +3 -3
 - data/test/test_freedom_ipsum.rb +1 -1
 - data/test/test_gender_it.rb +1 -1
 - data/test/test_gender_ja.rb +1 -1
 - data/test/test_gender_jp.rb +1 -1
 - data/test/test_gender_pl.rb +1 -1
 - data/test/test_healthcare_ru.rb +1 -1
 - data/test/test_hipster_ipsum.rb +1 -1
 - data/test/test_html_ipsum.rb +2 -2
 - data/test/test_identification_ec.rb +33 -0
 - data/test/test_identification_es_mx.rb +1 -1
 - data/test/test_internet_se.rb +2 -1
 - data/test/test_jo_jo.rb +29 -0
 - data/test/test_lorem_br.rb +1 -1
 - data/test/test_lorem_cn.rb +3 -3
 - data/test/test_lorem_fr.rb +3 -3
 - data/test/test_lorem_ie.rb +2 -2
 - data/test/test_lorem_kr.rb +3 -3
 - data/test/test_lorem_pl.rb +2 -2
 - data/test/test_lorem_ru.rb +3 -3
 - data/test/test_lorem_ua.rb +3 -3
 - data/test/test_module_utils.rb +33 -0
 - data/test/test_name_da.rb +1 -1
 - data/test/test_name_ph.rb +1 -1
 - data/test/test_name_ru.rb +2 -2
 - data/test/test_name_ua.rb +2 -2
 - data/test/test_phone_number_se.rb +1 -1
 - data/test/test_phone_number_sg.rb +8 -8
 - data/test/test_unique_utils.rb +25 -5
 - data/test/test_vehicle.rb +22 -0
 - metadata +19 -198
 
    
        data/test/test_lorem_kr.rb
    CHANGED
    
    | 
         @@ -5,9 +5,9 @@ require_relative 'helper' 
     | 
|
| 
       5 
5 
     | 
    
         
             
            class TestLoremKR < Test::Unit::TestCase
         
     | 
| 
       6 
6 
     | 
    
         
             
              include DeterministicHelper
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
     | 
    
         
            -
              KOREAN_SENTENCE_MATCHER = /\A[ .가-힣]+\z 
     | 
| 
       9 
     | 
    
         
            -
              KOREAN_WORDS_MATCHER = /\A[ 가-힣]+\z 
     | 
| 
       10 
     | 
    
         
            -
              KOREAN_WORD_MATCHER = /\A[가-힣]+\z 
     | 
| 
      
 8 
     | 
    
         
            +
              KOREAN_SENTENCE_MATCHER = /\A[ .가-힣]+\z/
         
     | 
| 
      
 9 
     | 
    
         
            +
              KOREAN_WORDS_MATCHER = /\A[ 가-힣]+\z/
         
     | 
| 
      
 10 
     | 
    
         
            +
              KOREAN_WORD_MATCHER = /\A[가-힣]+\z/
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
12 
     | 
    
         
             
              assert_methods_are_deterministic(
         
     | 
| 
       13 
13 
     | 
    
         
             
                FFaker::LoremKR,
         
     | 
    
        data/test/test_lorem_pl.rb
    CHANGED
    
    | 
         @@ -5,8 +5,8 @@ require_relative 'helper' 
     | 
|
| 
       5 
5 
     | 
    
         
             
            class TestFakerLoremPL < Test::Unit::TestCase
         
     | 
| 
       6 
6 
     | 
    
         
             
              include DeterministicHelper
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
     | 
    
         
            -
              POLISH_WORD_MATCHER = /\A[A-Ża-ż\s]+\z 
     | 
| 
       9 
     | 
    
         
            -
              POLISH_SENTENCE_MATCHER = /\A[A-Ża-ż\s.!?,]+\z 
     | 
| 
      
 8 
     | 
    
         
            +
              POLISH_WORD_MATCHER = /\A[A-Ża-ż\s]+\z/
         
     | 
| 
      
 9 
     | 
    
         
            +
              POLISH_SENTENCE_MATCHER = /\A[A-Ża-ż\s.!?,]+\z/
         
     | 
| 
       10 
10 
     | 
    
         | 
| 
       11 
11 
     | 
    
         
             
              assert_methods_are_deterministic(
         
     | 
| 
       12 
12 
     | 
    
         
             
                FFaker::LoremPL,
         
     | 
    
        data/test/test_lorem_ru.rb
    CHANGED
    
    | 
         @@ -5,9 +5,9 @@ require_relative 'helper' 
     | 
|
| 
       5 
5 
     | 
    
         
             
            class TestLoremRU < Test::Unit::TestCase
         
     | 
| 
       6 
6 
     | 
    
         
             
              include DeterministicHelper
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
     | 
    
         
            -
              SENTENCE_MATCHER = /\A[а-яА-ЯёЁ\-\s.!?,]+\z 
     | 
| 
       9 
     | 
    
         
            -
              WORDS_MATCHER    = /\A[А-Яа-яёЁ\-\s]+\z 
     | 
| 
       10 
     | 
    
         
            -
              WORD_MATCHER     = /\A[А-Яа-яёЁ\-]+\z 
     | 
| 
      
 8 
     | 
    
         
            +
              SENTENCE_MATCHER = /\A[а-яА-ЯёЁ\-\s.!?,]+\z/
         
     | 
| 
      
 9 
     | 
    
         
            +
              WORDS_MATCHER    = /\A[А-Яа-яёЁ\-\s]+\z/
         
     | 
| 
      
 10 
     | 
    
         
            +
              WORD_MATCHER     = /\A[А-Яа-яёЁ\-]+\z/
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
12 
     | 
    
         
             
              assert_methods_are_deterministic(
         
     | 
| 
       13 
13 
     | 
    
         
             
                FFaker::LoremRU,
         
     | 
    
        data/test/test_lorem_ua.rb
    CHANGED
    
    | 
         @@ -5,9 +5,9 @@ require_relative 'helper' 
     | 
|
| 
       5 
5 
     | 
    
         
             
            class TestLoremUA < Test::Unit::TestCase
         
     | 
| 
       6 
6 
     | 
    
         
             
              include DeterministicHelper
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
     | 
    
         
            -
              SENTENCE_MATCHER = /\A[а-яА-ЯіїєґІЇЄҐ’\-\s.!?,]+\z 
     | 
| 
       9 
     | 
    
         
            -
              WORDS_MATCHER    = /\A[а-яА-ЯіїєґІЇЄҐ’\-\s]+\z 
     | 
| 
       10 
     | 
    
         
            -
              WORD_MATCHER     = /\A[а-яА-ЯіїєґІЇЄҐ’\-]+\z 
     | 
| 
      
 8 
     | 
    
         
            +
              SENTENCE_MATCHER = /\A[а-яА-ЯіїєґІЇЄҐ’\-\s.!?,]+\z/
         
     | 
| 
      
 9 
     | 
    
         
            +
              WORDS_MATCHER    = /\A[а-яА-ЯіїєґІЇЄҐ’\-\s]+\z/
         
     | 
| 
      
 10 
     | 
    
         
            +
              WORD_MATCHER     = /\A[а-яА-ЯіїєґІЇЄҐ’\-]+\z/
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
12 
     | 
    
         
             
              assert_methods_are_deterministic(
         
     | 
| 
       13 
13 
     | 
    
         
             
                FFaker::LoremUA,
         
     | 
    
        data/test/test_module_utils.rb
    CHANGED
    
    | 
         @@ -11,4 +11,37 @@ class TestModuleUtils < Test::Unit::TestCase 
     | 
|
| 
       11 
11 
     | 
    
         
             
                assert result.frozen?
         
     | 
| 
       12 
12 
     | 
    
         
             
                result.each { |e| assert e.frozen? }
         
     | 
| 
       13 
13 
     | 
    
         
             
              end
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
              def test_unique
         
     | 
| 
      
 16 
     | 
    
         
            +
                generator = Object.new
         
     | 
| 
      
 17 
     | 
    
         
            +
                generator.extend FFaker::ModuleUtils
         
     | 
| 
      
 18 
     | 
    
         
            +
                # returns [1 1 2 2 1 1 2 2 ..][call_index]
         
     | 
| 
      
 19 
     | 
    
         
            +
                def generator.test
         
     | 
| 
      
 20 
     | 
    
         
            +
                  index = Thread.current[:test_unique] ||= 0
         
     | 
| 
      
 21 
     | 
    
         
            +
                  Thread.current[:test_unique] = (index > 2 ? 0 : index + 1)
         
     | 
| 
      
 22 
     | 
    
         
            +
                  (index / 2) + 1
         
     | 
| 
      
 23 
     | 
    
         
            +
                end
         
     | 
| 
      
 24 
     | 
    
         
            +
             
     | 
| 
      
 25 
     | 
    
         
            +
                assert_equal(1, generator.unique.test)
         
     | 
| 
      
 26 
     | 
    
         
            +
                assert_equal(2, generator.unique.test)
         
     | 
| 
      
 27 
     | 
    
         
            +
             
     | 
| 
      
 28 
     | 
    
         
            +
                Thread.new do
         
     | 
| 
      
 29 
     | 
    
         
            +
                  assert_equal(1, generator.unique.test)
         
     | 
| 
      
 30 
     | 
    
         
            +
                  assert_equal(2, generator.unique.test)
         
     | 
| 
      
 31 
     | 
    
         
            +
             
     | 
| 
      
 32 
     | 
    
         
            +
                  assert_raises FFaker::UniqueUtils::RetryLimitExceeded do
         
     | 
| 
      
 33 
     | 
    
         
            +
                    generator.unique.test
         
     | 
| 
      
 34 
     | 
    
         
            +
                  end
         
     | 
| 
      
 35 
     | 
    
         
            +
             
     | 
| 
      
 36 
     | 
    
         
            +
                  generator.unique.clear
         
     | 
| 
      
 37 
     | 
    
         
            +
                  generator.unique.test
         
     | 
| 
      
 38 
     | 
    
         
            +
                end.join
         
     | 
| 
      
 39 
     | 
    
         
            +
             
     | 
| 
      
 40 
     | 
    
         
            +
                assert_raises FFaker::UniqueUtils::RetryLimitExceeded do
         
     | 
| 
      
 41 
     | 
    
         
            +
                  generator.unique.test
         
     | 
| 
      
 42 
     | 
    
         
            +
                end
         
     | 
| 
      
 43 
     | 
    
         
            +
             
     | 
| 
      
 44 
     | 
    
         
            +
                FFaker::UniqueUtils.clear
         
     | 
| 
      
 45 
     | 
    
         
            +
                generator.unique.test
         
     | 
| 
      
 46 
     | 
    
         
            +
              end
         
     | 
| 
       14 
47 
     | 
    
         
             
            end
         
     | 
    
        data/test/test_name_da.rb
    CHANGED
    
    
    
        data/test/test_name_ph.rb
    CHANGED
    
    
    
        data/test/test_name_ru.rb
    CHANGED
    
    | 
         @@ -5,8 +5,8 @@ require_relative 'helper' 
     | 
|
| 
       5 
5 
     | 
    
         
             
            class TestNameRU < Test::Unit::TestCase
         
     | 
| 
       6 
6 
     | 
    
         
             
              include DeterministicHelper
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
     | 
    
         
            -
              RU_REGEX = /\A[а-яА-Я]{2,}\z 
     | 
| 
       9 
     | 
    
         
            -
              RU_REGEX_MULTIPLE_WORDS = /\A[а-яА-Я\s]+\z 
     | 
| 
      
 8 
     | 
    
         
            +
              RU_REGEX = /\A[а-яА-Я]{2,}\z/
         
     | 
| 
      
 9 
     | 
    
         
            +
              RU_REGEX_MULTIPLE_WORDS = /\A[а-яА-Я\s]+\z/
         
     | 
| 
       10 
10 
     | 
    
         | 
| 
       11 
11 
     | 
    
         
             
              assert_methods_are_deterministic(
         
     | 
| 
       12 
12 
     | 
    
         
             
                FFaker::NameRU,
         
     | 
    
        data/test/test_name_ua.rb
    CHANGED
    
    | 
         @@ -15,8 +15,8 @@ class TestNameUA < Test::Unit::TestCase 
     | 
|
| 
       15 
15 
     | 
    
         
             
              def setup
         
     | 
| 
       16 
16 
     | 
    
         
             
                @tester = FFaker::NameUA
         
     | 
| 
       17 
17 
     | 
    
         | 
| 
       18 
     | 
    
         
            -
                @single_word_name_regexp    = /\A[а-яА-ЯіїєґІЇЄҐ’\-]+\z 
     | 
| 
       19 
     | 
    
         
            -
                @multiple_words_name_regexp = /\A[а-яА-ЯіїєґІЇЄҐ’\-\s]+\z 
     | 
| 
      
 18 
     | 
    
         
            +
                @single_word_name_regexp    = /\A[а-яА-ЯіїєґІЇЄҐ’\-]+\z/
         
     | 
| 
      
 19 
     | 
    
         
            +
                @multiple_words_name_regexp = /\A[а-яА-ЯіїєґІЇЄҐ’\-\s]+\z/
         
     | 
| 
       20 
20 
     | 
    
         
             
              end
         
     | 
| 
       21 
21 
     | 
    
         | 
| 
       22 
22 
     | 
    
         
             
              def test_first_name_male
         
     | 
| 
         @@ -16,7 +16,7 @@ class TestPhoneNumberSE < Test::Unit::TestCase 
     | 
|
| 
       16 
16 
     | 
    
         
             
                @tester = FFaker::PhoneNumberSE
         
     | 
| 
       17 
17 
     | 
    
         
             
              end
         
     | 
| 
       18 
18 
     | 
    
         | 
| 
       19 
     | 
    
         
            -
              ALLOWED_CHARS = /[()\d +-] 
     | 
| 
      
 19 
     | 
    
         
            +
              ALLOWED_CHARS = /[()\d +-]/
         
     | 
| 
       20 
20 
     | 
    
         | 
| 
       21 
21 
     | 
    
         
             
              def test_mobile_phone_prefix
         
     | 
| 
       22 
22 
     | 
    
         
             
                assert FFaker::PhoneNumberSE::MOBILE_PHONE_PREFIX.include?(@tester.mobile_prefix)
         
     | 
| 
         @@ -17,36 +17,36 @@ class TestPhoneNumberSG < Test::Unit::TestCase 
     | 
|
| 
       17 
17 
     | 
    
         
             
              end
         
     | 
| 
       18 
18 
     | 
    
         | 
| 
       19 
19 
     | 
    
         
             
              def test_voip_number
         
     | 
| 
       20 
     | 
    
         
            -
                assert_match( 
     | 
| 
      
 20 
     | 
    
         
            +
                assert_match(/\A3\d{3}\s\d{4}\z/, @tester.voip_number)
         
     | 
| 
       21 
21 
     | 
    
         
             
              end
         
     | 
| 
       22 
22 
     | 
    
         | 
| 
       23 
23 
     | 
    
         
             
              def test_fixed_line_number
         
     | 
| 
       24 
     | 
    
         
            -
                assert_match( 
     | 
| 
      
 24 
     | 
    
         
            +
                assert_match(/\A6\d{3}\s\d{4}\z/, @tester.fixed_line_number)
         
     | 
| 
       25 
25 
     | 
    
         
             
              end
         
     | 
| 
       26 
26 
     | 
    
         | 
| 
       27 
27 
     | 
    
         
             
              def test_mobile_number
         
     | 
| 
       28 
     | 
    
         
            -
                assert_match( 
     | 
| 
      
 28 
     | 
    
         
            +
                assert_match(/\A8\d{3}\s\d{4}\z/, @tester.mobile_number)
         
     | 
| 
       29 
29 
     | 
    
         
             
              end
         
     | 
| 
       30 
30 
     | 
    
         | 
| 
       31 
31 
     | 
    
         
             
              def test_mobile_or_pager_number
         
     | 
| 
       32 
     | 
    
         
            -
                assert_match( 
     | 
| 
      
 32 
     | 
    
         
            +
                assert_match(/\A9\d{3}\s\d{4}\z/, @tester.mobile_or_pager_number)
         
     | 
| 
       33 
33 
     | 
    
         
             
              end
         
     | 
| 
       34 
34 
     | 
    
         | 
| 
       35 
35 
     | 
    
         
             
              def test_international_toll_free_number
         
     | 
| 
       36 
     | 
    
         
            -
                assert_match( 
     | 
| 
      
 36 
     | 
    
         
            +
                assert_match(/\A800\s\d{3}\s\d{4}\z/, @tester.international_toll_free_number)
         
     | 
| 
       37 
37 
     | 
    
         
             
              end
         
     | 
| 
       38 
38 
     | 
    
         | 
| 
       39 
39 
     | 
    
         
             
              def test_toll_free_number
         
     | 
| 
       40 
     | 
    
         
            -
                assert_match( 
     | 
| 
      
 40 
     | 
    
         
            +
                assert_match(/\A1800\s\d{3}\s\d{4}\z/, @tester.toll_free_number)
         
     | 
| 
       41 
41 
     | 
    
         
             
              end
         
     | 
| 
       42 
42 
     | 
    
         | 
| 
       43 
43 
     | 
    
         
             
              def test_premium_service_number
         
     | 
| 
       44 
     | 
    
         
            -
                assert_match( 
     | 
| 
      
 44 
     | 
    
         
            +
                assert_match(/\A1900\s\d{3}\s\d{4}\z/, @tester.premium_service_number)
         
     | 
| 
       45 
45 
     | 
    
         
             
              end
         
     | 
| 
       46 
46 
     | 
    
         | 
| 
       47 
47 
     | 
    
         
             
              def test_phone_number
         
     | 
| 
       48 
48 
     | 
    
         
             
                10.times do
         
     | 
| 
       49 
     | 
    
         
            -
                  assert_match( 
     | 
| 
      
 49 
     | 
    
         
            +
                  assert_match(/\A[689]\d{3}\s\d{4}\z/, @tester.phone_number)
         
     | 
| 
       50 
50 
     | 
    
         
             
                end
         
     | 
| 
       51 
51 
     | 
    
         
             
              end
         
     | 
| 
       52 
52 
     | 
    
         
             
            end
         
     | 
    
        data/test/test_unique_utils.rb
    CHANGED
    
    | 
         @@ -39,16 +39,36 @@ class TestUniqueUtils < Test::Unit::TestCase 
     | 
|
| 
       39 
39 
     | 
    
         
             
                  unique_object.test
         
     | 
| 
       40 
40 
     | 
    
         
             
                end
         
     | 
| 
       41 
41 
     | 
    
         | 
| 
       42 
     | 
    
         
            -
                 
     | 
| 
      
 42 
     | 
    
         
            +
                unique_object.clear
         
     | 
| 
       43 
43 
     | 
    
         | 
| 
       44 
44 
     | 
    
         
             
                assert_equal(1, unique_object.test)
         
     | 
| 
      
 45 
     | 
    
         
            +
              end
         
     | 
| 
       45 
46 
     | 
    
         | 
| 
       46 
     | 
    
         
            -
             
     | 
| 
       47 
     | 
    
         
            -
             
     | 
| 
      
 47 
     | 
    
         
            +
              def test_clears_all_unique_values
         
     | 
| 
      
 48 
     | 
    
         
            +
                stubbed_generator = Object.new
         
     | 
| 
      
 49 
     | 
    
         
            +
                def stubbed_generator.test
         
     | 
| 
      
 50 
     | 
    
         
            +
                  1
         
     | 
| 
      
 51 
     | 
    
         
            +
                end
         
     | 
| 
      
 52 
     | 
    
         
            +
                other_stubbed_generator = Object.new
         
     | 
| 
      
 53 
     | 
    
         
            +
                def other_stubbed_generator.test
         
     | 
| 
      
 54 
     | 
    
         
            +
                  1
         
     | 
| 
       48 
55 
     | 
    
         
             
                end
         
     | 
| 
       49 
56 
     | 
    
         | 
| 
       50 
     | 
    
         
            -
                unique_object. 
     | 
| 
      
 57 
     | 
    
         
            +
                unique_object = FFaker::UniqueUtils.add_instance(stubbed_generator, 3)
         
     | 
| 
      
 58 
     | 
    
         
            +
                other_unique_object = FFaker::UniqueUtils.add_instance(other_stubbed_generator, 3)
         
     | 
| 
       51 
59 
     | 
    
         | 
| 
       52 
     | 
    
         
            -
                 
     | 
| 
      
 60 
     | 
    
         
            +
                [unique_object, other_unique_object].each do |tested_unique_object|
         
     | 
| 
      
 61 
     | 
    
         
            +
                  assert_equal(1, tested_unique_object.test)
         
     | 
| 
      
 62 
     | 
    
         
            +
             
     | 
| 
      
 63 
     | 
    
         
            +
                  assert_raises FFaker::UniqueUtils::RetryLimitExceeded do
         
     | 
| 
      
 64 
     | 
    
         
            +
                    tested_unique_object.test
         
     | 
| 
      
 65 
     | 
    
         
            +
                  end
         
     | 
| 
      
 66 
     | 
    
         
            +
                end
         
     | 
| 
      
 67 
     | 
    
         
            +
             
     | 
| 
      
 68 
     | 
    
         
            +
                FFaker::UniqueUtils.clear
         
     | 
| 
      
 69 
     | 
    
         
            +
             
     | 
| 
      
 70 
     | 
    
         
            +
                [unique_object, other_unique_object].each do |tested_unique_object|
         
     | 
| 
      
 71 
     | 
    
         
            +
                  assert_equal(1, tested_unique_object.test)
         
     | 
| 
      
 72 
     | 
    
         
            +
                end
         
     | 
| 
       53 
73 
     | 
    
         
             
              end
         
     | 
| 
       54 
74 
     | 
    
         
             
            end
         
     | 
    
        data/test/test_vehicle.rb
    CHANGED
    
    | 
         @@ -5,6 +5,14 @@ require_relative 'helper' 
     | 
|
| 
       5 
5 
     | 
    
         
             
            class TestVehicle < Test::Unit::TestCase
         
     | 
| 
       6 
6 
     | 
    
         
             
              include DeterministicHelper
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
      
 8 
     | 
    
         
            +
              # https://en.wikibooks.org/wiki/Vehicle_Identification_Numbers_(VIN_codes)/Check_digit
         
     | 
| 
      
 9 
     | 
    
         
            +
              VIN_TRANSLITERATION_VALUES = {
         
     | 
| 
      
 10 
     | 
    
         
            +
                'A' => 1, 'B' => 2, 'C' => 3, 'D' => 4, 'E' => 5, 'F' => 6, 'G' => 7, 'H' => 8,
         
     | 
| 
      
 11 
     | 
    
         
            +
                'J' => 1, 'K' => 2, 'L' => 3, 'M' => 4, 'N' => 5, 'P' => 7, 'R' => 9,
         
     | 
| 
      
 12 
     | 
    
         
            +
                'S' => 2, 'T' => 3, 'U' => 4, 'V' => 5, 'W' => 6, 'X' => 7, 'Y' => 8, 'Z' => 9
         
     | 
| 
      
 13 
     | 
    
         
            +
              }.freeze
         
     | 
| 
      
 14 
     | 
    
         
            +
              VIN_POSITION_WEIGHTS = [8, 7, 6, 5, 4, 3, 2, 10, 0, 9, 8, 7, 6, 5, 4, 3, 2].freeze
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
       8 
16 
     | 
    
         
             
              assert_methods_are_deterministic(
         
     | 
| 
       9 
17 
     | 
    
         
             
                FFaker::Vehicle,
         
     | 
| 
       10 
18 
     | 
    
         
             
                :base_color, :drivetrain, :engine_cylinders, :engine_displacement,
         
     | 
| 
         @@ -47,6 +55,7 @@ class TestVehicle < Test::Unit::TestCase 
     | 
|
| 
       47 
55 
     | 
    
         
             
                assert_not_match(/[IOQ]/, vin) # VINs can't have these letters
         
     | 
| 
       48 
56 
     | 
    
         
             
                assert_includes(FFaker::Vehicle::VIN::VALID_ALPHA, vin[6]) # passenger vehicle designator
         
     | 
| 
       49 
57 
     | 
    
         
             
                assert_includes(FFaker::Vehicle::VIN::VALID_YEAR_CHARS, vin[9]) # check year character
         
     | 
| 
      
 58 
     | 
    
         
            +
                assert_equal(vin_checksum_digit(vin), vin[8])
         
     | 
| 
       50 
59 
     | 
    
         
             
              end
         
     | 
| 
       51 
60 
     | 
    
         | 
| 
       52 
61 
     | 
    
         
             
              def test_drivetrain
         
     | 
| 
         @@ -76,4 +85,17 @@ class TestVehicle < Test::Unit::TestCase 
     | 
|
| 
       76 
85 
     | 
    
         
             
              def test_interior_upholstery
         
     | 
| 
       77 
86 
     | 
    
         
             
                assert_match(/\A[ a-z0-9]+\z/i, FFaker::Vehicle.interior_upholstery)
         
     | 
| 
       78 
87 
     | 
    
         
             
              end
         
     | 
| 
      
 88 
     | 
    
         
            +
             
     | 
| 
      
 89 
     | 
    
         
            +
              private
         
     | 
| 
      
 90 
     | 
    
         
            +
             
     | 
| 
      
 91 
     | 
    
         
            +
              def vin_checksum_digit(vin)
         
     | 
| 
      
 92 
     | 
    
         
            +
                weighted_sum = vin.chars.each_with_index.sum do |char, idx|
         
     | 
| 
      
 93 
     | 
    
         
            +
                  (VIN_TRANSLITERATION_VALUES[char] || char).to_i * VIN_POSITION_WEIGHTS[idx]
         
     | 
| 
      
 94 
     | 
    
         
            +
                end
         
     | 
| 
      
 95 
     | 
    
         
            +
             
     | 
| 
      
 96 
     | 
    
         
            +
                check_digit = weighted_sum % 11
         
     | 
| 
      
 97 
     | 
    
         
            +
                check_digit == '10' ? 'X' : check_digit
         
     | 
| 
      
 98 
     | 
    
         
            +
                check_digit = 'X' if check_digit == 10
         
     | 
| 
      
 99 
     | 
    
         
            +
                check_digit.to_s
         
     | 
| 
      
 100 
     | 
    
         
            +
              end
         
     | 
| 
       79 
101 
     | 
    
         
             
            end
         
     | 
    
        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. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 2.22.0
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - https://github.com/ffaker/ffaker/graphs/contributors
         
     | 
| 
         @@ -9,7 +9,7 @@ authors: 
     | 
|
| 
       9 
9 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       10 
10 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       11 
11 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       12 
     | 
    
         
            -
            date:  
     | 
| 
      
 12 
     | 
    
         
            +
            date: 2023-08-23 00:00:00.000000000 Z
         
     | 
| 
       13 
13 
     | 
    
         
             
            dependencies:
         
     | 
| 
       14 
14 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       15 
15 
     | 
    
         
             
              name: rake
         
     | 
| 
         @@ -69,6 +69,7 @@ files: 
     | 
|
| 
       69 
69 
     | 
    
         
             
            - README.md
         
     | 
| 
       70 
70 
     | 
    
         
             
            - REFERENCE.md
         
     | 
| 
       71 
71 
     | 
    
         
             
            - Rakefile
         
     | 
| 
      
 72 
     | 
    
         
            +
            - bin/console
         
     | 
| 
       72 
73 
     | 
    
         
             
            - ffaker.gemspec
         
     | 
| 
       73 
74 
     | 
    
         
             
            - lib/ffaker.rb
         
     | 
| 
       74 
75 
     | 
    
         
             
            - lib/ffaker/address.rb
         
     | 
| 
         @@ -303,6 +304,10 @@ files: 
     | 
|
| 
       303 
304 
     | 
    
         
             
            - lib/ffaker/data/healthcare_ru/doctor_specialization
         
     | 
| 
       304 
305 
     | 
    
         
             
            - lib/ffaker/data/hipster_ipsum/hipster_words
         
     | 
| 
       305 
306 
     | 
    
         
             
            - lib/ffaker/data/identification_mx/estados_curp
         
     | 
| 
      
 307 
     | 
    
         
            +
            - lib/ffaker/data/jo_jo/first_names
         
     | 
| 
      
 308 
     | 
    
         
            +
            - lib/ffaker/data/jo_jo/full_names
         
     | 
| 
      
 309 
     | 
    
         
            +
            - lib/ffaker/data/jo_jo/last_names
         
     | 
| 
      
 310 
     | 
    
         
            +
            - lib/ffaker/data/jo_jo/stands
         
     | 
| 
       306 
311 
     | 
    
         
             
            - lib/ffaker/data/job/job_adj
         
     | 
| 
       307 
312 
     | 
    
         
             
            - lib/ffaker/data/job/job_noun
         
     | 
| 
       308 
313 
     | 
    
         
             
            - lib/ffaker/data/job/job_prefix
         
     | 
| 
         @@ -485,6 +490,7 @@ files: 
     | 
|
| 
       485 
490 
     | 
    
         
             
            - lib/ffaker/data/vehicle/upholstery_list
         
     | 
| 
       486 
491 
     | 
    
         
             
            - lib/ffaker/data/venue/venue_list
         
     | 
| 
       487 
492 
     | 
    
         
             
            - lib/ffaker/data/youtube/video_ids
         
     | 
| 
      
 493 
     | 
    
         
            +
            - lib/ffaker/date.rb
         
     | 
| 
       488 
494 
     | 
    
         
             
            - lib/ffaker/dizzle_ipsum.rb
         
     | 
| 
       489 
495 
     | 
    
         
             
            - lib/ffaker/education.rb
         
     | 
| 
       490 
496 
     | 
    
         
             
            - lib/ffaker/education_cn.rb
         
     | 
| 
         @@ -511,6 +517,7 @@ files: 
     | 
|
| 
       511 
517 
     | 
    
         
             
            - lib/ffaker/html_ipsum.rb
         
     | 
| 
       512 
518 
     | 
    
         
             
            - lib/ffaker/identification.rb
         
     | 
| 
       513 
519 
     | 
    
         
             
            - lib/ffaker/identification_br.rb
         
     | 
| 
      
 520 
     | 
    
         
            +
            - lib/ffaker/identification_ec.rb
         
     | 
| 
       514 
521 
     | 
    
         
             
            - lib/ffaker/identification_es.rb
         
     | 
| 
       515 
522 
     | 
    
         
             
            - lib/ffaker/identification_es_cl.rb
         
     | 
| 
       516 
523 
     | 
    
         
             
            - lib/ffaker/identification_es_co.rb
         
     | 
| 
         @@ -523,6 +530,7 @@ files: 
     | 
|
| 
       523 
530 
     | 
    
         
             
            - lib/ffaker/image.rb
         
     | 
| 
       524 
531 
     | 
    
         
             
            - lib/ffaker/internet.rb
         
     | 
| 
       525 
532 
     | 
    
         
             
            - lib/ffaker/internet_se.rb
         
     | 
| 
      
 533 
     | 
    
         
            +
            - lib/ffaker/jo_jo.rb
         
     | 
| 
       526 
534 
     | 
    
         
             
            - lib/ffaker/job.rb
         
     | 
| 
       527 
535 
     | 
    
         
             
            - lib/ffaker/job_br.rb
         
     | 
| 
       528 
536 
     | 
    
         
             
            - lib/ffaker/job_cn.rb
         
     | 
| 
         @@ -621,8 +629,8 @@ files: 
     | 
|
| 
       621 
629 
     | 
    
         
             
            - lib/ffaker/utils/unique_utils.rb
         
     | 
| 
       622 
630 
     | 
    
         
             
            - lib/ffaker/vehicle.rb
         
     | 
| 
       623 
631 
     | 
    
         
             
            - lib/ffaker/venue.rb
         
     | 
| 
      
 632 
     | 
    
         
            +
            - lib/ffaker/version.rb
         
     | 
| 
       624 
633 
     | 
    
         
             
            - lib/ffaker/youtube.rb
         
     | 
| 
       625 
     | 
    
         
            -
            - lib/version.rb
         
     | 
| 
       626 
634 
     | 
    
         
             
            - scripts/benchmark.rb
         
     | 
| 
       627 
635 
     | 
    
         
             
            - scripts/profile.sh
         
     | 
| 
       628 
636 
     | 
    
         
             
            - scripts/profiling.rb
         
     | 
| 
         @@ -684,6 +692,7 @@ files: 
     | 
|
| 
       684 
692 
     | 
    
         
             
            - test/test_course_mathematiques.rb
         
     | 
| 
       685 
693 
     | 
    
         
             
            - test/test_course_philosophie.rb
         
     | 
| 
       686 
694 
     | 
    
         
             
            - test/test_currency.rb
         
     | 
| 
      
 695 
     | 
    
         
            +
            - test/test_date.rb
         
     | 
| 
       687 
696 
     | 
    
         
             
            - test/test_dizzle_ipsum.rb
         
     | 
| 
       688 
697 
     | 
    
         
             
            - test/test_education.rb
         
     | 
| 
       689 
698 
     | 
    
         
             
            - test/test_education_cn.rb
         
     | 
| 
         @@ -712,6 +721,7 @@ files: 
     | 
|
| 
       712 
721 
     | 
    
         
             
            - test/test_identification.rb
         
     | 
| 
       713 
722 
     | 
    
         
             
            - test/test_identification_br.rb
         
     | 
| 
       714 
723 
     | 
    
         
             
            - test/test_identification_co.rb
         
     | 
| 
      
 724 
     | 
    
         
            +
            - test/test_identification_ec.rb
         
     | 
| 
       715 
725 
     | 
    
         
             
            - test/test_identification_es.rb
         
     | 
| 
       716 
726 
     | 
    
         
             
            - test/test_identification_es_cl.rb
         
     | 
| 
       717 
727 
     | 
    
         
             
            - test/test_identification_es_mx.rb
         
     | 
| 
         @@ -723,6 +733,7 @@ files: 
     | 
|
| 
       723 
733 
     | 
    
         
             
            - test/test_image.rb
         
     | 
| 
       724 
734 
     | 
    
         
             
            - test/test_internet.rb
         
     | 
| 
       725 
735 
     | 
    
         
             
            - test/test_internet_se.rb
         
     | 
| 
      
 736 
     | 
    
         
            +
            - test/test_jo_jo.rb
         
     | 
| 
       726 
737 
     | 
    
         
             
            - test/test_job.rb
         
     | 
| 
       727 
738 
     | 
    
         
             
            - test/test_job_br.rb
         
     | 
| 
       728 
739 
     | 
    
         
             
            - test/test_job_cn.rb
         
     | 
| 
         @@ -824,6 +835,7 @@ licenses: 
     | 
|
| 
       824 
835 
     | 
    
         
             
            metadata:
         
     | 
| 
       825 
836 
     | 
    
         
             
              changelog_uri: https://github.com/ffaker/ffaker/blob/main/Changelog.md
         
     | 
| 
       826 
837 
     | 
    
         
             
              documentation_uri: https://github.com/ffaker/ffaker/blob/main/REFERENCE.md
         
     | 
| 
      
 838 
     | 
    
         
            +
              rubygems_mfa_required: 'true'
         
     | 
| 
       827 
839 
     | 
    
         
             
            post_install_message: 
         
     | 
| 
       828 
840 
     | 
    
         
             
            rdoc_options:
         
     | 
| 
       829 
841 
     | 
    
         
             
            - "--charset=UTF-8"
         
     | 
| 
         @@ -833,206 +845,15 @@ required_ruby_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       833 
845 
     | 
    
         
             
              requirements:
         
     | 
| 
       834 
846 
     | 
    
         
             
              - - ">="
         
     | 
| 
       835 
847 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       836 
     | 
    
         
            -
                  version: ' 
     | 
| 
      
 848 
     | 
    
         
            +
                  version: '3.0'
         
     | 
| 
       837 
849 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       838 
850 
     | 
    
         
             
              requirements:
         
     | 
| 
       839 
851 
     | 
    
         
             
              - - ">="
         
     | 
| 
       840 
852 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       841 
853 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       842 
854 
     | 
    
         
             
            requirements: []
         
     | 
| 
       843 
     | 
    
         
            -
            rubygems_version: 3. 
     | 
| 
      
 855 
     | 
    
         
            +
            rubygems_version: 3.4.10
         
     | 
| 
       844 
856 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       845 
     | 
    
         
            -
            specification_version:  
     | 
| 
      
 857 
     | 
    
         
            +
            specification_version: 4
         
     | 
| 
       846 
858 
     | 
    
         
             
            summary: Ffaker generates dummy data.
         
     | 
| 
       847 
     | 
    
         
            -
            test_files:
         
     | 
| 
       848 
     | 
    
         
            -
            - test/test_internet_se.rb
         
     | 
| 
       849 
     | 
    
         
            -
            - test/test_phone_number_br.rb
         
     | 
| 
       850 
     | 
    
         
            -
            - test/test_game.rb
         
     | 
| 
       851 
     | 
    
         
            -
            - test/test_lorem_ie.rb
         
     | 
| 
       852 
     | 
    
         
            -
            - test/test_job_cn.rb
         
     | 
| 
       853 
     | 
    
         
            -
            - test/test_unique_utils.rb
         
     | 
| 
       854 
     | 
    
         
            -
            - test/helper.rb
         
     | 
| 
       855 
     | 
    
         
            -
            - test/test_animal_br.rb
         
     | 
| 
       856 
     | 
    
         
            -
            - test/test_phone_number_ua.rb
         
     | 
| 
       857 
     | 
    
         
            -
            - test/test_healthcare_ipsum.rb
         
     | 
| 
       858 
     | 
    
         
            -
            - test/test_animal_us.rb
         
     | 
| 
       859 
     | 
    
         
            -
            - test/test_address_ru.rb
         
     | 
| 
       860 
     | 
    
         
            -
            - test/test_dizzle_ipsum.rb
         
     | 
| 
       861 
     | 
    
         
            -
            - test/test_lorem.rb
         
     | 
| 
       862 
     | 
    
         
            -
            - test/test_name_ph.rb
         
     | 
| 
       863 
     | 
    
         
            -
            - test/test_name_br.rb
         
     | 
| 
       864 
     | 
    
         
            -
            - test/test_identification.rb
         
     | 
| 
       865 
     | 
    
         
            -
            - test/test_phone_number_mx.rb
         
     | 
| 
       866 
     | 
    
         
            -
            - test/test_identification_co.rb
         
     | 
| 
       867 
     | 
    
         
            -
            - test/test_address_in.rb
         
     | 
| 
       868 
     | 
    
         
            -
            - test/test_job_br.rb
         
     | 
| 
       869 
     | 
    
         
            -
            - test/test_lorem_it.rb
         
     | 
| 
       870 
     | 
    
         
            -
            - test/test_company_fr.rb
         
     | 
| 
       871 
     | 
    
         
            -
            - test/test_address_uk.rb
         
     | 
| 
       872 
     | 
    
         
            -
            - test/test_skill.rb
         
     | 
| 
       873 
     | 
    
         
            -
            - test/test_job_ja.rb
         
     | 
| 
       874 
     | 
    
         
            -
            - test/test_conference.rb
         
     | 
| 
       875 
     | 
    
         
            -
            - test/test_name_mx.rb
         
     | 
| 
       876 
     | 
    
         
            -
            - test/test_book.rb
         
     | 
| 
       877 
     | 
    
         
            -
            - test/test_phone_number_nl.rb
         
     | 
| 
       878 
     | 
    
         
            -
            - test/test_identification_br.rb
         
     | 
| 
       879 
     | 
    
         
            -
            - test/test_module_utils.rb
         
     | 
| 
       880 
     | 
    
         
            -
            - test/test_address_id.rb
         
     | 
| 
       881 
     | 
    
         
            -
            - test/test_course_philosophie.rb
         
     | 
| 
       882 
     | 
    
         
            -
            - test/test_address_au.rb
         
     | 
| 
       883 
     | 
    
         
            -
            - test/test_name_nl.rb
         
     | 
| 
       884 
     | 
    
         
            -
            - test/test_movie.rb
         
     | 
| 
       885 
     | 
    
         
            -
            - test/test_address_it.rb
         
     | 
| 
       886 
     | 
    
         
            -
            - test/test_bank.rb
         
     | 
| 
       887 
     | 
    
         
            -
            - test/test_nato_alphabet.rb
         
     | 
| 
       888 
     | 
    
         
            -
            - test/test_education.rb
         
     | 
| 
       889 
     | 
    
         
            -
            - test/test_color.rb
         
     | 
| 
       890 
     | 
    
         
            -
            - test/test_avatar.rb
         
     | 
| 
       891 
     | 
    
         
            -
            - test/test_sport_pl.rb
         
     | 
| 
       892 
     | 
    
         
            -
            - test/test_phone_number_au.rb
         
     | 
| 
       893 
     | 
    
         
            -
            - test/test_identification_es_mx.rb
         
     | 
| 
       894 
     | 
    
         
            -
            - test/test_venue.rb
         
     | 
| 
       895 
     | 
    
         
            -
            - test/test_gender_pl.rb
         
     | 
| 
       896 
     | 
    
         
            -
            - test/test_address_kr.rb
         
     | 
| 
       897 
     | 
    
         
            -
            - test/test_name_nb.rb
         
     | 
| 
       898 
     | 
    
         
            -
            - test/test_identification_kr.rb
         
     | 
| 
       899 
     | 
    
         
            -
            - test/test_company_ja.rb
         
     | 
| 
       900 
     | 
    
         
            -
            - test/test_address_ch_it.rb
         
     | 
| 
       901 
     | 
    
         
            -
            - test/test_address.rb
         
     | 
| 
       902 
     | 
    
         
            -
            - test/test_code.rb
         
     | 
| 
       903 
     | 
    
         
            -
            - test/test_name.rb
         
     | 
| 
       904 
     | 
    
         
            -
            - test/test_animal_cn.rb
         
     | 
| 
       905 
     | 
    
         
            -
            - test/test_identification_pl.rb
         
     | 
| 
       906 
     | 
    
         
            -
            - test/test_address_ca.rb
         
     | 
| 
       907 
     | 
    
         
            -
            - test/test_identification_it.rb
         
     | 
| 
       908 
     | 
    
         
            -
            - test/test_animal.rb
         
     | 
| 
       909 
     | 
    
         
            -
            - test/test_identification_es_cl.rb
         
     | 
| 
       910 
     | 
    
         
            -
            - test/test_gender_kr.rb
         
     | 
| 
       911 
     | 
    
         
            -
            - test/test_identification_es.rb
         
     | 
| 
       912 
     | 
    
         
            -
            - test/test_name_gr.rb
         
     | 
| 
       913 
     | 
    
         
            -
            - test/test_name_cn.rb
         
     | 
| 
       914 
     | 
    
         
            -
            - test/test_gender_id.rb
         
     | 
| 
       915 
     | 
    
         
            -
            - test/test_job_fr.rb
         
     | 
| 
       916 
     | 
    
         
            -
            - test/test_company_cn.rb
         
     | 
| 
       917 
     | 
    
         
            -
            - test/test_ssn_mx.rb
         
     | 
| 
       918 
     | 
    
         
            -
            - test/test_phone_number_sg.rb
         
     | 
| 
       919 
     | 
    
         
            -
            - test/test_boolean.rb
         
     | 
| 
       920 
     | 
    
         
            -
            - test/test_phone_number_cu.rb
         
     | 
| 
       921 
     | 
    
         
            -
            - test/test_music.rb
         
     | 
| 
       922 
     | 
    
         
            -
            - test/test_sports.rb
         
     | 
| 
       923 
     | 
    
         
            -
            - test/test_name_pl.rb
         
     | 
| 
       924 
     | 
    
         
            -
            - test/test_currency.rb
         
     | 
| 
       925 
     | 
    
         
            -
            - test/test_guid.rb
         
     | 
| 
       926 
     | 
    
         
            -
            - test/test_address_ja.rb
         
     | 
| 
       927 
     | 
    
         
            -
            - test/test_address_br.rb
         
     | 
| 
       928 
     | 
    
         
            -
            - test/test_phone_number_de.rb
         
     | 
| 
       929 
     | 
    
         
            -
            - test/test_aws.rb
         
     | 
| 
       930 
     | 
    
         
            -
            - test/test_phone_number_da.rb
         
     | 
| 
       931 
     | 
    
         
            -
            - test/test_internet.rb
         
     | 
| 
       932 
     | 
    
         
            -
            - test/test_address_fr.rb
         
     | 
| 
       933 
     | 
    
         
            -
            - test/test_phone_number_ja.rb
         
     | 
| 
       934 
     | 
    
         
            -
            - test/test_name_ar.rb
         
     | 
| 
       935 
     | 
    
         
            -
            - test/test_gender_br.rb
         
     | 
| 
       936 
     | 
    
         
            -
            - test/test_products.rb
         
     | 
| 
       937 
     | 
    
         
            -
            - test/test_name_id.rb
         
     | 
| 
       938 
     | 
    
         
            -
            - test/test_name_kh.rb
         
     | 
| 
       939 
     | 
    
         
            -
            - test/test_animal_es.rb
         
     | 
| 
       940 
     | 
    
         
            -
            - test/test_array_utils.rb
         
     | 
| 
       941 
     | 
    
         
            -
            - test/test_animal_pl.rb
         
     | 
| 
       942 
     | 
    
         
            -
            - test/test_time.rb
         
     | 
| 
       943 
     | 
    
         
            -
            - test/test_phone_number_it.rb
         
     | 
| 
       944 
     | 
    
         
            -
            - test/test_job_it.rb
         
     | 
| 
       945 
     | 
    
         
            -
            - test/test_name_th_en.rb
         
     | 
| 
       946 
     | 
    
         
            -
            - test/test_phone_number_ru.rb
         
     | 
| 
       947 
     | 
    
         
            -
            - test/test_food.rb
         
     | 
| 
       948 
     | 
    
         
            -
            - test/test_sport_ru.rb
         
     | 
| 
       949 
     | 
    
         
            -
            - test/test_identification_tw.rb
         
     | 
| 
       950 
     | 
    
         
            -
            - test/test_education_cn.rb
         
     | 
| 
       951 
     | 
    
         
            -
            - test/test_image.rb
         
     | 
| 
       952 
     | 
    
         
            -
            - test/test_lorem_kr.rb
         
     | 
| 
       953 
     | 
    
         
            -
            - test/test_identification_in.rb
         
     | 
| 
       954 
     | 
    
         
            -
            - test/test_address_pl.rb
         
     | 
| 
       955 
     | 
    
         
            -
            - test/test_name_es.rb
         
     | 
| 
       956 
     | 
    
         
            -
            - test/test_airline.rb
         
     | 
| 
       957 
     | 
    
         
            -
            - test/test_phone_number_sn.rb
         
     | 
| 
       958 
     | 
    
         
            -
            - test/test_vehicle.rb
         
     | 
| 
       959 
     | 
    
         
            -
            - test/test_job_vn.rb
         
     | 
| 
       960 
     | 
    
         
            -
            - test/test_gender_cn.rb
         
     | 
| 
       961 
     | 
    
         
            -
            - test/test_lorem_ar.rb
         
     | 
| 
       962 
     | 
    
         
            -
            - test/test_html_ipsum.rb
         
     | 
| 
       963 
     | 
    
         
            -
            - test/test_name_da.rb
         
     | 
| 
       964 
     | 
    
         
            -
            - test/test_name_ru.rb
         
     | 
| 
       965 
     | 
    
         
            -
            - test/test_units_metric.rb
         
     | 
| 
       966 
     | 
    
         
            -
            - test/test_address_mx.rb
         
     | 
| 
       967 
     | 
    
         
            -
            - test/test_phone_number_id.rb
         
     | 
| 
       968 
     | 
    
         
            -
            - test/test_number.rb
         
     | 
| 
       969 
     | 
    
         
            -
            - test/test_phone_number_se.rb
         
     | 
| 
       970 
     | 
    
         
            -
            - test/test_ssn.rb
         
     | 
| 
       971 
     | 
    
         
            -
            - test/test_lorem_ru.rb
         
     | 
| 
       972 
     | 
    
         
            -
            - test/test_gender.rb
         
     | 
| 
       973 
     | 
    
         
            -
            - test/test_address_ua.rb
         
     | 
| 
       974 
     | 
    
         
            -
            - test/test_address_gr.rb
         
     | 
| 
       975 
     | 
    
         
            -
            - test/test_color_pl.rb
         
     | 
| 
       976 
     | 
    
         
            -
            - test/test_name_ja.rb
         
     | 
| 
       977 
     | 
    
         
            -
            - test/test_job.rb
         
     | 
| 
       978 
     | 
    
         
            -
            - test/test_healthcare_ru.rb
         
     | 
| 
       979 
     | 
    
         
            -
            - test/test_tweet.rb
         
     | 
| 
       980 
     | 
    
         
            -
            - test/test_color_ua.rb
         
     | 
| 
       981 
     | 
    
         
            -
            - test/test_name_cs.rb
         
     | 
| 
       982 
     | 
    
         
            -
            - test/test_course_mathematiques.rb
         
     | 
| 
       983 
     | 
    
         
            -
            - test/test_lorem_ja.rb
         
     | 
| 
       984 
     | 
    
         
            -
            - test/test_name_tw.rb
         
     | 
| 
       985 
     | 
    
         
            -
            - test/test_job_kr.rb
         
     | 
| 
       986 
     | 
    
         
            -
            - test/test_address_ch.rb
         
     | 
| 
       987 
     | 
    
         
            -
            - test/test_name_sn.rb
         
     | 
| 
       988 
     | 
    
         
            -
            - test/test_ssn_se.rb
         
     | 
| 
       989 
     | 
    
         
            -
            - test/test_bacon_ipsum.rb
         
     | 
| 
       990 
     | 
    
         
            -
            - test/test_address_fi.rb
         
     | 
| 
       991 
     | 
    
         
            -
            - test/test_phone_number.rb
         
     | 
| 
       992 
     | 
    
         
            -
            - test/test_company_it.rb
         
     | 
| 
       993 
     | 
    
         
            -
            - test/test_sem_ver.rb
         
     | 
| 
       994 
     | 
    
         
            -
            - test/test_address_us.rb
         
     | 
| 
       995 
     | 
    
         
            -
            - test/test_address_ch_fr.rb
         
     | 
| 
       996 
     | 
    
         
            -
            - test/test_lorem_br.rb
         
     | 
| 
       997 
     | 
    
         
            -
            - test/test_units_english.rb
         
     | 
| 
       998 
     | 
    
         
            -
            - test/test_phone_number_pl.rb
         
     | 
| 
       999 
     | 
    
         
            -
            - test/test_name_vn.rb
         
     | 
| 
       1000 
     | 
    
         
            -
            - test/test_gender_ru.rb
         
     | 
| 
       1001 
     | 
    
         
            -
            - test/test_address_ch_de.rb
         
     | 
| 
       1002 
     | 
    
         
            -
            - test/test_filesystem.rb
         
     | 
| 
       1003 
     | 
    
         
            -
            - test/test_freedom_ipsum.rb
         
     | 
| 
       1004 
     | 
    
         
            -
            - test/test_name_it.rb
         
     | 
| 
       1005 
     | 
    
         
            -
            - test/test_name_th.rb
         
     | 
| 
       1006 
     | 
    
         
            -
            - test/test_gender_it.rb
         
     | 
| 
       1007 
     | 
    
         
            -
            - test/test_address_se.rb
         
     | 
| 
       1008 
     | 
    
         
            -
            - test/test_lorem_fr.rb
         
     | 
| 
       1009 
     | 
    
         
            -
            - test/test_string.rb
         
     | 
| 
       1010 
     | 
    
         
            -
            - test/test_locale.rb
         
     | 
| 
       1011 
     | 
    
         
            -
            - test/test_company.rb
         
     | 
| 
       1012 
     | 
    
         
            -
            - test/test_lorem_cn.rb
         
     | 
| 
       1013 
     | 
    
         
            -
            - test/test_sport_us.rb
         
     | 
| 
       1014 
     | 
    
         
            -
            - test/test_name_de.rb
         
     | 
| 
       1015 
     | 
    
         
            -
            - test/test_address_de.rb
         
     | 
| 
       1016 
     | 
    
         
            -
            - test/test_gender_ja.rb
         
     | 
| 
       1017 
     | 
    
         
            -
            - test/test_phone_number_fr.rb
         
     | 
| 
       1018 
     | 
    
         
            -
            - test/test_name_ga.rb
         
     | 
| 
       1019 
     | 
    
         
            -
            - test/test_hipster_ipsum.rb
         
     | 
| 
       1020 
     | 
    
         
            -
            - test/test_phone_number_tw.rb
         
     | 
| 
       1021 
     | 
    
         
            -
            - test/test_lorem_pl.rb
         
     | 
| 
       1022 
     | 
    
         
            -
            - test/test_units.rb
         
     | 
| 
       1023 
     | 
    
         
            -
            - test/test_address_nl.rb
         
     | 
| 
       1024 
     | 
    
         
            -
            - test/test_geolocation.rb
         
     | 
| 
       1025 
     | 
    
         
            -
            - test/test_address_sn.rb
         
     | 
| 
       1026 
     | 
    
         
            -
            - test/test_food_pl.rb
         
     | 
| 
       1027 
     | 
    
         
            -
            - test/test_ffaker.rb
         
     | 
| 
       1028 
     | 
    
         
            -
            - test/test_lorem_ua.rb
         
     | 
| 
       1029 
     | 
    
         
            -
            - test/test_company_se.rb
         
     | 
| 
       1030 
     | 
    
         
            -
            - test/test_name_fr.rb
         
     | 
| 
       1031 
     | 
    
         
            -
            - test/test_name_kr.rb
         
     | 
| 
       1032 
     | 
    
         
            -
            - test/test_cheesy_lingo.rb
         
     | 
| 
       1033 
     | 
    
         
            -
            - test/test_name_ua.rb
         
     | 
| 
       1034 
     | 
    
         
            -
            - test/test_gender_jp.rb
         
     | 
| 
       1035 
     | 
    
         
            -
            - test/test_name_se.rb
         
     | 
| 
       1036 
     | 
    
         
            -
            - test/test_phone_number_kr.rb
         
     | 
| 
       1037 
     | 
    
         
            -
            - test/test_address_da.rb
         
     | 
| 
       1038 
     | 
    
         
            -
            - test/test_youtube.rb
         
     | 
| 
      
 859 
     | 
    
         
            +
            test_files: []
         
     |