ffaker 2.13.0 → 2.18.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 +31 -0
- data/README.md +14 -5
- data/REFERENCE.md +1398 -1249
- data/Rakefile +3 -9
- data/ffaker.gemspec +14 -5
- data/lib/ffaker.rb +12 -6
- data/lib/ffaker/address_ch.rb +0 -2
- data/lib/ffaker/address_ch_de.rb +0 -2
- data/lib/ffaker/address_ch_fr.rb +0 -2
- data/lib/ffaker/address_ch_it.rb +0 -2
- data/lib/ffaker/address_da.rb +0 -2
- data/lib/ffaker/address_de.rb +0 -2
- data/lib/ffaker/address_fi.rb +0 -2
- data/lib/ffaker/address_fr.rb +5 -3
- data/lib/ffaker/address_gr.rb +0 -2
- data/lib/ffaker/address_id.rb +0 -2
- data/lib/ffaker/address_in.rb +0 -2
- data/lib/ffaker/address_ja.rb +0 -2
- data/lib/ffaker/address_nl.rb +1 -5
- data/lib/ffaker/address_ru.rb +0 -2
- data/lib/ffaker/address_se.rb +0 -2
- data/lib/ffaker/address_sn.rb +0 -2
- data/lib/ffaker/address_ua.rb +0 -2
- data/lib/ffaker/address_uk.rb +0 -2
- data/lib/ffaker/address_us.rb +0 -2
- data/lib/ffaker/{animals.rb → animal.rb} +1 -1
- data/lib/ffaker/{animals_cn.rb → animal_cn.rb} +0 -0
- data/lib/ffaker/animal_es.rb +12 -0
- data/lib/ffaker/{animals_us.rb → animal_us.rb} +0 -0
- data/lib/ffaker/bacon_ipsum.rb +0 -2
- data/lib/ffaker/code.rb +17 -0
- data/lib/ffaker/company_ja.rb +24 -0
- data/lib/ffaker/data/address_fr/region +27 -0
- data/lib/ffaker/data/animal_es/common_names +135 -0
- data/lib/ffaker/data/filesystem/extension +31 -31
- data/lib/ffaker/data/food_pl/diary +14 -0
- data/lib/ffaker/data/food_pl/fermented +13 -0
- data/lib/ffaker/data/food_pl/fruits +34 -0
- data/lib/ffaker/data/food_pl/herbs +20 -0
- data/lib/ffaker/data/food_pl/meats +9 -0
- data/lib/ffaker/data/food_pl/preserves +10 -0
- data/lib/ffaker/data/food_pl/spices +26 -0
- data/lib/ffaker/data/food_pl/vegetables +45 -0
- data/lib/ffaker/data/freedom_ipsum/freedom_words +161 -0
- data/lib/ffaker/data/lorem/words +0 -67
- data/lib/ffaker/data/phone_number_ja/four_disit_area_codes +41 -0
- data/lib/ffaker/data/phone_number_ja/one_disit_area_codes +3 -0
- data/lib/ffaker/data/phone_number_ja/three_disit_area_codes +296 -0
- data/lib/ffaker/data/phone_number_ja/two_disit_area_codes +48 -0
- data/lib/ffaker/dizzle_ipsum.rb +0 -2
- data/lib/ffaker/education.rb +4 -8
- data/lib/ffaker/education_cn.rb +3 -6
- data/lib/ffaker/filesystem.rb +7 -7
- data/lib/ffaker/food_pl.rb +65 -0
- data/lib/ffaker/freedom_ipsum.rb +20 -0
- data/lib/ffaker/healthcare_ipsum.rb +0 -2
- data/lib/ffaker/hipster_ipsum.rb +0 -2
- data/lib/ffaker/identification_es_cl.rb +0 -2
- data/lib/ffaker/identification_es_co.rb +0 -1
- data/lib/ffaker/identification_in.rb +15 -0
- data/lib/ffaker/identification_kr.rb +1 -1
- data/lib/ffaker/identification_mx.rb +1 -3
- data/lib/ffaker/identification_tw.rb +23 -0
- data/lib/ffaker/image.rb +8 -11
- data/lib/ffaker/internet.rb +1 -1
- data/lib/ffaker/internet_se.rb +1 -3
- data/lib/ffaker/lorem_cn.rb +0 -1
- data/lib/ffaker/name_cs.rb +0 -2
- data/lib/ffaker/name_da.rb +0 -2
- data/lib/ffaker/name_de.rb +0 -2
- data/lib/ffaker/name_mx.rb +2 -4
- data/lib/ffaker/name_nb.rb +0 -2
- data/lib/ffaker/name_nl.rb +0 -2
- data/lib/ffaker/name_ph.rb +0 -2
- data/lib/ffaker/name_ru.rb +0 -2
- data/lib/ffaker/name_se.rb +0 -2
- data/lib/ffaker/name_ua.rb +0 -2
- data/lib/ffaker/phone_number_br.rb +2 -2
- data/lib/ffaker/phone_number_da.rb +0 -1
- data/lib/ffaker/phone_number_ja.rb +88 -0
- data/lib/ffaker/product.rb +1 -1
- data/lib/ffaker/ssn.rb +1 -3
- data/lib/ffaker/string.rb +5 -5
- data/lib/ffaker/unit.rb +9 -10
- data/lib/ffaker/unit_english.rb +18 -21
- data/lib/ffaker/unit_metric.rb +15 -18
- data/lib/ffaker/utils/unique_utils.rb +0 -2
- data/lib/ffaker/vehicle.rb +1 -1
- data/lib/version.rb +5 -0
- data/scripts/benchmark.rb +10 -11
- data/test/helper.rb +3 -3
- data/test/test_address_au.rb +2 -2
- data/test/test_address_br.rb +1 -1
- data/test/test_address_fi.rb +2 -2
- data/test/test_address_fr.rb +1 -1
- data/test/test_address_id.rb +1 -1
- data/test/test_address_ja.rb +1 -1
- data/test/test_address_nl.rb +1 -1
- data/test/test_address_se.rb +2 -2
- data/test/test_animal_es.rb +17 -0
- data/test/test_array_utils.rb +0 -1
- data/test/test_aws.rb +1 -1
- data/test/test_bank.rb +2 -3
- data/test/test_book.rb +4 -4
- data/test/test_code.rb +22 -1
- data/test/test_company_ja.rb +28 -0
- data/test/{test_faker.rb → test_ffaker.rb} +5 -1
- data/test/test_filesystem.rb +11 -3
- data/test/test_food_pl.rb +61 -0
- data/test/test_freedom_ipsum.rb +21 -0
- data/test/test_geolocation.rb +2 -2
- data/test/test_healthcare_ru.rb +1 -1
- data/test/test_html_ipsum.rb +1 -1
- data/test/test_identification_co.rb +1 -1
- data/test/test_identification_es_cl.rb +1 -1
- data/test/test_identification_in.rb +20 -0
- data/test/test_identification_tw.rb +17 -0
- data/test/test_image.rb +4 -4
- data/test/test_internet_se.rb +1 -1
- data/test/test_lorem.rb +4 -0
- data/test/test_lorem_fr.rb +9 -7
- data/test/test_lorem_pl.rb +1 -1
- data/test/test_lorem_ru.rb +1 -1
- data/test/test_lorem_ua.rb +1 -1
- data/test/test_music.rb +4 -4
- data/test/test_phone_number_ja.rb +63 -0
- data/test/test_ssn_se.rb +3 -3
- data/test/test_string.rb +3 -3
- data/test/test_time.rb +2 -3
- data/test/test_tweet.rb +4 -4
- data/test/test_vehicle.rb +2 -2
- metadata +214 -162
data/test/test_geolocation.rb
CHANGED
|
@@ -30,8 +30,8 @@ class TestGeolocation < Test::Unit::TestCase
|
|
|
30
30
|
|
|
31
31
|
new_coords = FFaker::Geolocation.boxed_coords(coords[0], coords[1])
|
|
32
32
|
|
|
33
|
-
assert (lat_min..lat_max).cover?new_coords[0]
|
|
34
|
-
assert (lon_min..lon_max).cover?new_coords[1]
|
|
33
|
+
assert (lat_min..lat_max).cover? new_coords[0]
|
|
34
|
+
assert (lon_min..lon_max).cover? new_coords[1]
|
|
35
35
|
end
|
|
36
36
|
end
|
|
37
37
|
end
|
data/test/test_healthcare_ru.rb
CHANGED
|
@@ -5,7 +5,7 @@ require 'helper'
|
|
|
5
5
|
class TestHealthcareRU < Test::Unit::TestCase
|
|
6
6
|
include DeterministicHelper
|
|
7
7
|
|
|
8
|
-
SPECIALIZATION_REGEX = /\A[А-Яа-я\
|
|
8
|
+
SPECIALIZATION_REGEX = /\A[А-Яа-я\ ()\-]+\z/.freeze
|
|
9
9
|
|
|
10
10
|
assert_methods_are_deterministic(FFaker::HealthcareRU, :doctor_specialization)
|
|
11
11
|
|
data/test/test_html_ipsum.rb
CHANGED
|
@@ -28,7 +28,7 @@ class TestHTMLIpsum < Test::Unit::TestCase
|
|
|
28
28
|
|
|
29
29
|
def test_p_breaks
|
|
30
30
|
# Here we can at least test how many <br> tags there are.
|
|
31
|
-
assert_match(%r{^<p>(?:[ \w
|
|
31
|
+
assert_match(%r{^<p>(?:[ \w.]+<br>){2}[ \w.]+</p>$}i, FFaker::HTMLIpsum.p(3, include_breaks: true))
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
def test_p_fancy
|
|
@@ -28,7 +28,7 @@ class TestFakerIdentificationESCO < Test::Unit::TestCase
|
|
|
28
28
|
end
|
|
29
29
|
|
|
30
30
|
def test_category
|
|
31
|
-
assert_match(/\A(
|
|
31
|
+
assert_match(/\A(a[1-2]|[bc][1-3])\z/i, @tester.driver_license_category)
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
def test_blood_type
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require 'helper'
|
|
4
|
+
|
|
5
|
+
class TestIdentificationIN < Test::Unit::TestCase
|
|
6
|
+
include DeterministicHelper
|
|
7
|
+
|
|
8
|
+
assert_methods_are_deterministic(
|
|
9
|
+
FFaker::IdentificationIN,
|
|
10
|
+
:aadhaar
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
def setup
|
|
14
|
+
@tester = FFaker::IdentificationIN
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
def test_aadhaar
|
|
18
|
+
assert_match(/\A\d{12}\z/, @tester.aadhaar)
|
|
19
|
+
end
|
|
20
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require 'helper'
|
|
4
|
+
|
|
5
|
+
class TestFakerIdentificationTW < Test::Unit::TestCase
|
|
6
|
+
include DeterministicHelper
|
|
7
|
+
|
|
8
|
+
assert_methods_are_deterministic(FFaker::IdentificationTW, :id)
|
|
9
|
+
|
|
10
|
+
def setup
|
|
11
|
+
@tester = FFaker::IdentificationTW
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
def test_id
|
|
15
|
+
assert_match(/\A[A-Z][12]\d{8}\z/, @tester.id)
|
|
16
|
+
end
|
|
17
|
+
end
|
data/test/test_image.rb
CHANGED
|
@@ -5,7 +5,7 @@ require 'helper'
|
|
|
5
5
|
class TestImage < Test::Unit::TestCase
|
|
6
6
|
include DeterministicHelper
|
|
7
7
|
|
|
8
|
-
PLACEHOLDER = 'https://
|
|
8
|
+
PLACEHOLDER = 'https://dummyimage.com/'
|
|
9
9
|
|
|
10
10
|
assert_methods_are_deterministic(FFaker::Image, :url)
|
|
11
11
|
|
|
@@ -14,7 +14,7 @@ class TestImage < Test::Unit::TestCase
|
|
|
14
14
|
end
|
|
15
15
|
|
|
16
16
|
def test_url
|
|
17
|
-
assert_match(%r(#{Regexp.quote(PLACEHOLDER)}300x300
|
|
17
|
+
assert_match(%r(#{Regexp.quote(PLACEHOLDER)}300x300/[0-9a-f]{6}/[0-9a-f]{6}\.png\?text=),
|
|
18
18
|
@tester.url)
|
|
19
19
|
end
|
|
20
20
|
|
|
@@ -24,7 +24,7 @@ class TestImage < Test::Unit::TestCase
|
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
def test_image_url_with_correct_size
|
|
27
|
-
assert_match(%r(#{Regexp.quote(PLACEHOLDER)}150x320
|
|
27
|
+
assert_match(%r(#{Regexp.quote(PLACEHOLDER)}150x320/[0-9a-f]{6}/[0-9a-f]{6}\.png\?text=),
|
|
28
28
|
@tester.url('150x320'))
|
|
29
29
|
end
|
|
30
30
|
|
|
@@ -35,7 +35,7 @@ class TestImage < Test::Unit::TestCase
|
|
|
35
35
|
end
|
|
36
36
|
|
|
37
37
|
def test_image_url_with_supported_format
|
|
38
|
-
assert_match(%r(#{Regexp.quote(PLACEHOLDER)}300x300
|
|
38
|
+
assert_match(%r(#{Regexp.quote(PLACEHOLDER)}300x300/[0-9a-f]{6}/[0-9a-f]{6}\.jpg\?text=),
|
|
39
39
|
@tester.url('300x300', 'jpg'))
|
|
40
40
|
end
|
|
41
41
|
|
data/test/test_internet_se.rb
CHANGED
data/test/test_lorem.rb
CHANGED
|
@@ -51,4 +51,8 @@ class TestLorem < Test::Unit::TestCase
|
|
|
51
51
|
assert FFaker::Lorem.characters(10).length == 10
|
|
52
52
|
assert FFaker::Lorem.characters(-1) == ''
|
|
53
53
|
end
|
|
54
|
+
|
|
55
|
+
def test_word_collection_uniqueness
|
|
56
|
+
assert_equal(FFaker::Lorem::WORDS, FFaker::Lorem::WORDS.uniq)
|
|
57
|
+
end
|
|
54
58
|
end
|
data/test/test_lorem_fr.rb
CHANGED
|
@@ -11,17 +11,19 @@ class TestLoremFR < Test::Unit::TestCase
|
|
|
11
11
|
)
|
|
12
12
|
|
|
13
13
|
REGEX = /\A[ -.ÀÂÉÈÊÎÔÚÛàâéèêîôùûa-z]+\z/i.freeze
|
|
14
|
+
REGEX_WORD = /\A[-ÀÂÉÈÊÎÔÚÛàâéèêîôùûa-z]+\z/i.freeze
|
|
15
|
+
REGEX_WORDS = /\A[ -ÀÂÉÈÊÎÔÚÛàâéèêîôùûa-z]+\z/i.freeze
|
|
14
16
|
|
|
15
17
|
def test_paragraph
|
|
16
|
-
assert_match(
|
|
18
|
+
assert_match(REGEX, FFaker::LoremFR.paragraph)
|
|
17
19
|
end
|
|
18
20
|
|
|
19
21
|
def test_sentence
|
|
20
|
-
assert_match(
|
|
22
|
+
assert_match(REGEX, FFaker::LoremFR.sentence)
|
|
21
23
|
end
|
|
22
24
|
|
|
23
25
|
def test_phrase
|
|
24
|
-
assert_match(
|
|
26
|
+
assert_match(REGEX, FFaker::LoremFR.phrase)
|
|
25
27
|
end
|
|
26
28
|
|
|
27
29
|
def test_paragraphs
|
|
@@ -29,18 +31,18 @@ class TestLoremFR < Test::Unit::TestCase
|
|
|
29
31
|
end
|
|
30
32
|
|
|
31
33
|
def test_sentences
|
|
32
|
-
assert_match(
|
|
34
|
+
assert_match(REGEX, FFaker::LoremFR.sentences.join(' '))
|
|
33
35
|
end
|
|
34
36
|
|
|
35
37
|
def test_phrases
|
|
36
|
-
assert_match(
|
|
38
|
+
assert_match(REGEX, FFaker::LoremFR.phrases.join(' '))
|
|
37
39
|
end
|
|
38
40
|
|
|
39
41
|
def test_words
|
|
40
|
-
assert_match(
|
|
42
|
+
assert_match(REGEX_WORDS, FFaker::LoremFR.words.join(' '))
|
|
41
43
|
end
|
|
42
44
|
|
|
43
45
|
def test_word
|
|
44
|
-
assert_match(
|
|
46
|
+
assert_match(REGEX_WORD, FFaker::LoremFR.word)
|
|
45
47
|
end
|
|
46
48
|
end
|
data/test/test_lorem_pl.rb
CHANGED
|
@@ -6,7 +6,7 @@ class TestFakerLoremPL < Test::Unit::TestCase
|
|
|
6
6
|
include DeterministicHelper
|
|
7
7
|
|
|
8
8
|
POLISH_WORD_MATCHER = /\A[A-Ża-ż\s]+\z/.freeze
|
|
9
|
-
POLISH_SENTENCE_MATCHER = /\A[A-Ża-ż\s
|
|
9
|
+
POLISH_SENTENCE_MATCHER = /\A[A-Ża-ż\s.!?,]+\z/.freeze
|
|
10
10
|
|
|
11
11
|
assert_methods_are_deterministic(
|
|
12
12
|
FFaker::LoremPL,
|
data/test/test_lorem_ru.rb
CHANGED
|
@@ -5,7 +5,7 @@ require 'helper'
|
|
|
5
5
|
class TestLoremRU < Test::Unit::TestCase
|
|
6
6
|
include DeterministicHelper
|
|
7
7
|
|
|
8
|
-
SENTENCE_MATCHER = /\A[а-яА-ЯёЁ\-\s
|
|
8
|
+
SENTENCE_MATCHER = /\A[а-яА-ЯёЁ\-\s.!?,]+\z/.freeze
|
|
9
9
|
WORDS_MATCHER = /\A[А-Яа-яёЁ\-\s]+\z/.freeze
|
|
10
10
|
WORD_MATCHER = /\A[А-Яа-яёЁ\-]+\z/.freeze
|
|
11
11
|
|
data/test/test_lorem_ua.rb
CHANGED
|
@@ -5,7 +5,7 @@ require 'helper'
|
|
|
5
5
|
class TestLoremUA < Test::Unit::TestCase
|
|
6
6
|
include DeterministicHelper
|
|
7
7
|
|
|
8
|
-
SENTENCE_MATCHER = /\A[а-яА-ЯіїєґІЇЄҐ’\-\s
|
|
8
|
+
SENTENCE_MATCHER = /\A[а-яА-ЯіїєґІЇЄҐ’\-\s.!?,]+\z/.freeze
|
|
9
9
|
WORDS_MATCHER = /\A[а-яА-ЯіїєґІЇЄҐ’\-\s]+\z/.freeze
|
|
10
10
|
WORD_MATCHER = /\A[а-яА-ЯіїєґІЇЄҐ’\-]+\z/.freeze
|
|
11
11
|
|
data/test/test_music.rb
CHANGED
|
@@ -11,18 +11,18 @@ class TestMusic < Test::Unit::TestCase
|
|
|
11
11
|
)
|
|
12
12
|
|
|
13
13
|
def test_genre
|
|
14
|
-
assert_match(%r{[A-z]|\W
|
|
14
|
+
assert_match(%r{[A-z]|\W|&/+}, FFaker::Music.genre)
|
|
15
15
|
end
|
|
16
16
|
|
|
17
17
|
def test_album
|
|
18
|
-
assert_match(/\s|[A-z]|\W|\d
|
|
18
|
+
assert_match(/\s|[A-z]|\W|\d|'|\?+/, FFaker::Music.album)
|
|
19
19
|
end
|
|
20
20
|
|
|
21
21
|
def test_artist
|
|
22
|
-
assert_match(/\s|[A-z]|\W|\d
|
|
22
|
+
assert_match(/\s|[A-z]|\W|\d|'|\?|&|\+|\.|-+/, FFaker::Music.artist)
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
def test_song
|
|
26
|
-
assert_match(/\s|[A-z]|\W|\d
|
|
26
|
+
assert_match(/\s|[A-z]|\W|\d|'|\?|&|\+|\.|-+/, FFaker::Music.song)
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require 'helper'
|
|
4
|
+
|
|
5
|
+
class TestPhoneNumberJA < Test::Unit::TestCase
|
|
6
|
+
include DeterministicHelper
|
|
7
|
+
|
|
8
|
+
assert_methods_are_deterministic(
|
|
9
|
+
FFaker::PhoneNumberJA,
|
|
10
|
+
:phone_number, :home_phone_number, :mobile_phone_number,
|
|
11
|
+
:international_mobile_phone_number, :international_home_phone_number, :international_phone_number,
|
|
12
|
+
:mobile_prefix, :home_phone_prefix
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
def setup
|
|
16
|
+
@tester = FFaker::PhoneNumberJA
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
def test_phone_number
|
|
20
|
+
assert_match(/\A0\d{1,4} \d{1,4} \d{4}\z/, @tester.phone_number)
|
|
21
|
+
assert_include([12, 13], @tester.phone_number.length)
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
def test_home_phone_number
|
|
25
|
+
assert_match(/\A0\d{1,4} \d{1,4} \d{4}\z/, @tester.home_phone_number)
|
|
26
|
+
assert_equal(@tester.home_phone_number.length, 12)
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
def test_mobile_phone_number
|
|
30
|
+
assert_match(/\A0(90|80|70) \d{4} \d{4}\z/, @tester.mobile_phone_number)
|
|
31
|
+
assert_equal(@tester.mobile_phone_number.length, 13)
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
def test_international_phone_number
|
|
35
|
+
assert_match(/\A\+81 \d{1,4} \d{1,4} \d{4}\z/, @tester.international_phone_number)
|
|
36
|
+
assert_include([15, 16], @tester.international_phone_number.length)
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
def test_international_home_phone_number
|
|
40
|
+
assert_match(/\A\+81 \d{1,4} \d{1,4} \d{4}\z/, @tester.international_home_phone_number)
|
|
41
|
+
assert_equal(@tester.international_home_phone_number.length, 15)
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
def test_international_mobile_phone_number
|
|
45
|
+
assert_match(/\A\+81 (90|80|70) \d{4} \d{4}\z/, @tester.international_mobile_phone_number)
|
|
46
|
+
assert_equal(@tester.international_mobile_phone_number.length, 16)
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
def test_mobile_prefix
|
|
50
|
+
assert_include(@tester::MOBILE_PHONE_PREFIXES, @tester.mobile_prefix)
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
def test_home_phone_prefix
|
|
54
|
+
disit = rand(1..4)
|
|
55
|
+
assert_include(
|
|
56
|
+
@tester::ONE_DISIT_AREA_CODES +
|
|
57
|
+
@tester::TWO_DISIT_AREA_CODES +
|
|
58
|
+
@tester::THREE_DISIT_AREA_CODES +
|
|
59
|
+
@tester::FOUR_DISIT_AREA_CODES,
|
|
60
|
+
@tester.home_phone_prefix(disit)
|
|
61
|
+
)
|
|
62
|
+
end
|
|
63
|
+
end
|
data/test/test_ssn_se.rb
CHANGED
|
@@ -12,8 +12,8 @@ class TestSSNSE < Test::Unit::TestCase
|
|
|
12
12
|
assert_match(/(19|20)\d{10}/, ssn, "With no arguments year should start with 19 or 20, #{ssn}")
|
|
13
13
|
end
|
|
14
14
|
|
|
15
|
-
def equal?(
|
|
16
|
-
|
|
15
|
+
def equal?(other)
|
|
16
|
+
other % 2
|
|
17
17
|
end
|
|
18
18
|
|
|
19
19
|
def test_ssn_with_gender
|
|
@@ -32,7 +32,7 @@ class TestSSNSE < Test::Unit::TestCase
|
|
|
32
32
|
from = Time.local(1980, 2, 28)
|
|
33
33
|
to = Time.local(2000, 2, 28)
|
|
34
34
|
|
|
35
|
-
assert_random_between(from
|
|
35
|
+
assert_random_between(from...to) do
|
|
36
36
|
ssn = FFaker::SSNSE.ssn(from: from, to: to)
|
|
37
37
|
year = ssn[0..3].to_i
|
|
38
38
|
month = ssn[4..5].to_i
|
data/test/test_string.rb
CHANGED
|
@@ -30,11 +30,11 @@ class TestString < Test::Unit::TestCase
|
|
|
30
30
|
def test_dash_character
|
|
31
31
|
assert_match(/\A[a-z-]\z/, FS.from_regexp(/[a-z-]/))
|
|
32
32
|
assert_match(/\A[a-]\z/, FS.from_regexp(/[a-]/))
|
|
33
|
-
assert_match(/\A
|
|
33
|
+
assert_match(/\A-\z/, FS.from_regexp(/-/))
|
|
34
34
|
|
|
35
35
|
assert_deterministic { FS.from_regexp(/[a-z-]/) }
|
|
36
36
|
assert_deterministic { FS.from_regexp(/[a-]/) }
|
|
37
|
-
assert_deterministic { FS.from_regexp(
|
|
37
|
+
assert_deterministic { FS.from_regexp(/-/) }
|
|
38
38
|
end
|
|
39
39
|
|
|
40
40
|
def test_spaces
|
|
@@ -44,7 +44,7 @@ class TestString < Test::Unit::TestCase
|
|
|
44
44
|
|
|
45
45
|
def test_escaped_characters
|
|
46
46
|
assert_equal '\\/.()[]{}', FS.from_regexp(%r{\\/\.\(\)\[\]\{\}})
|
|
47
|
-
assert_deterministic { FS.from_regexp(%r
|
|
47
|
+
assert_deterministic { FS.from_regexp(%r|\\/\.\(\)\[\]\{\}|) }
|
|
48
48
|
end
|
|
49
49
|
|
|
50
50
|
def test_atom_sets
|
data/test/test_time.rb
CHANGED
|
@@ -44,8 +44,7 @@ class TestFakerTime < Test::Unit::TestCase
|
|
|
44
44
|
current_year = ::DateTime.now.year
|
|
45
45
|
[[0, 0], [1, 1], [2, 4], [8, 6]].each do |year_range, year_latest|
|
|
46
46
|
assert_random_between(
|
|
47
|
-
current_year - year_range - year_latest
|
|
48
|
-
current_year - year_latest
|
|
47
|
+
(current_year - year_range - year_latest)..(current_year - year_latest)
|
|
49
48
|
) do
|
|
50
49
|
@tester.datetime(year_range: year_range, year_latest: year_latest).year
|
|
51
50
|
end
|
|
@@ -61,7 +60,7 @@ class TestFakerTime < Test::Unit::TestCase
|
|
|
61
60
|
from = Time.local(2015, 1, 1)
|
|
62
61
|
to = Time.local(2016, 1, 1)
|
|
63
62
|
|
|
64
|
-
assert_random_between(from
|
|
63
|
+
assert_random_between(from..to) { @tester.between(from, to) }
|
|
65
64
|
end
|
|
66
65
|
|
|
67
66
|
def test_between_for_string
|
data/test/test_tweet.rb
CHANGED
|
@@ -20,11 +20,11 @@ class TestTweet < Test::Unit::TestCase
|
|
|
20
20
|
end
|
|
21
21
|
|
|
22
22
|
def test_mention
|
|
23
|
-
assert_match(
|
|
23
|
+
assert_match(/@\S*/, FFaker::Tweet.mention)
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
def test_mentions_three
|
|
27
|
-
assert_match(
|
|
27
|
+
assert_match(/@\S*\s@\S*\s@\S*/, FFaker::Tweet.mentions(3))
|
|
28
28
|
assert_deterministic { FFaker::Tweet.mentions(3) }
|
|
29
29
|
end
|
|
30
30
|
|
|
@@ -37,7 +37,7 @@ class TestTweet < Test::Unit::TestCase
|
|
|
37
37
|
end
|
|
38
38
|
|
|
39
39
|
def test_short_body
|
|
40
|
-
assert_between(FFaker::Tweet.body(2).size, 2
|
|
40
|
+
assert_between(FFaker::Tweet.body(2).size, 2..20)
|
|
41
41
|
end
|
|
42
42
|
|
|
43
43
|
def test_tweet
|
|
@@ -45,7 +45,7 @@ class TestTweet < Test::Unit::TestCase
|
|
|
45
45
|
end
|
|
46
46
|
|
|
47
47
|
def test_tweet_with_reply
|
|
48
|
-
assert_match(
|
|
48
|
+
assert_match(/^@/, FFaker::Tweet.tweet(reply: true))
|
|
49
49
|
assert_deterministic { FFaker::Tweet.tweet(reply: true) }
|
|
50
50
|
end
|
|
51
51
|
|
data/test/test_vehicle.rb
CHANGED
|
@@ -33,7 +33,7 @@ class TestVehicle < Test::Unit::TestCase
|
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
def test_model
|
|
36
|
-
assert_match(/\A[
|
|
36
|
+
assert_match(/\A[-. &a-z0-9]+\z/i, FFaker::Vehicle.model)
|
|
37
37
|
end
|
|
38
38
|
|
|
39
39
|
def test_trim
|
|
@@ -65,7 +65,7 @@ class TestVehicle < Test::Unit::TestCase
|
|
|
65
65
|
end
|
|
66
66
|
|
|
67
67
|
def test_fuel_type
|
|
68
|
-
assert_match(/\A[ a-z0-9
|
|
68
|
+
assert_match(/\A[ a-z0-9()]+\z/i, FFaker::Vehicle.fuel_type)
|
|
69
69
|
end
|
|
70
70
|
|
|
71
71
|
def test_interior_upholstery
|
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.18.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: 2021-02-21 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rake
|
|
@@ -17,14 +17,28 @@ dependencies:
|
|
|
17
17
|
requirements:
|
|
18
18
|
- - "~>"
|
|
19
19
|
- !ruby/object:Gem::Version
|
|
20
|
-
version:
|
|
20
|
+
version: '13.0'
|
|
21
21
|
type: :development
|
|
22
22
|
prerelease: false
|
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
|
24
24
|
requirements:
|
|
25
25
|
- - "~>"
|
|
26
26
|
- !ruby/object:Gem::Version
|
|
27
|
-
version:
|
|
27
|
+
version: '13.0'
|
|
28
|
+
- !ruby/object:Gem::Dependency
|
|
29
|
+
name: rubocop
|
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
|
31
|
+
requirements:
|
|
32
|
+
- - ">="
|
|
33
|
+
- !ruby/object:Gem::Version
|
|
34
|
+
version: '0'
|
|
35
|
+
type: :development
|
|
36
|
+
prerelease: false
|
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
38
|
+
requirements:
|
|
39
|
+
- - ">="
|
|
40
|
+
- !ruby/object:Gem::Version
|
|
41
|
+
version: '0'
|
|
28
42
|
- !ruby/object:Gem::Dependency
|
|
29
43
|
name: test-unit
|
|
30
44
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -84,10 +98,11 @@ files:
|
|
|
84
98
|
- lib/ffaker/address_uk.rb
|
|
85
99
|
- lib/ffaker/address_us.rb
|
|
86
100
|
- lib/ffaker/airline.rb
|
|
101
|
+
- lib/ffaker/animal.rb
|
|
102
|
+
- lib/ffaker/animal_cn.rb
|
|
103
|
+
- lib/ffaker/animal_es.rb
|
|
87
104
|
- lib/ffaker/animal_pl.rb
|
|
88
|
-
- lib/ffaker/
|
|
89
|
-
- lib/ffaker/animals_cn.rb
|
|
90
|
-
- lib/ffaker/animals_us.rb
|
|
105
|
+
- lib/ffaker/animal_us.rb
|
|
91
106
|
- lib/ffaker/avatar.rb
|
|
92
107
|
- lib/ffaker/aws.rb
|
|
93
108
|
- lib/ffaker/bacon_ipsum.rb
|
|
@@ -102,6 +117,7 @@ files:
|
|
|
102
117
|
- lib/ffaker/company.rb
|
|
103
118
|
- lib/ffaker/company_cn.rb
|
|
104
119
|
- lib/ffaker/company_it.rb
|
|
120
|
+
- lib/ffaker/company_ja.rb
|
|
105
121
|
- lib/ffaker/company_se.rb
|
|
106
122
|
- lib/ffaker/conference.rb
|
|
107
123
|
- lib/ffaker/courses.rb
|
|
@@ -130,6 +146,7 @@ files:
|
|
|
130
146
|
- lib/ffaker/data/address_fi/countries
|
|
131
147
|
- lib/ffaker/data/address_fi/street
|
|
132
148
|
- lib/ffaker/data/address_fr/city
|
|
149
|
+
- lib/ffaker/data/address_fr/region
|
|
133
150
|
- lib/ffaker/data/address_gr/city
|
|
134
151
|
- lib/ffaker/data/address_gr/region
|
|
135
152
|
- lib/ffaker/data/address_gr/street
|
|
@@ -215,6 +232,7 @@ files:
|
|
|
215
232
|
- lib/ffaker/data/airline/names_list
|
|
216
233
|
- lib/ffaker/data/animal/common_names
|
|
217
234
|
- lib/ffaker/data/animal_cn/common_names
|
|
235
|
+
- lib/ffaker/data/animal_es/common_names
|
|
218
236
|
- lib/ffaker/data/animal_pl/common_names
|
|
219
237
|
- lib/ffaker/data/animal_us/common_names
|
|
220
238
|
- lib/ffaker/data/aws/ec2_instance_type
|
|
@@ -259,6 +277,15 @@ files:
|
|
|
259
277
|
- lib/ffaker/data/food/herb_spice
|
|
260
278
|
- lib/ffaker/data/food/meat
|
|
261
279
|
- lib/ffaker/data/food/vegetable
|
|
280
|
+
- lib/ffaker/data/food_pl/diary
|
|
281
|
+
- lib/ffaker/data/food_pl/fermented
|
|
282
|
+
- lib/ffaker/data/food_pl/fruits
|
|
283
|
+
- lib/ffaker/data/food_pl/herbs
|
|
284
|
+
- lib/ffaker/data/food_pl/meats
|
|
285
|
+
- lib/ffaker/data/food_pl/preserves
|
|
286
|
+
- lib/ffaker/data/food_pl/spices
|
|
287
|
+
- lib/ffaker/data/food_pl/vegetables
|
|
288
|
+
- lib/ffaker/data/freedom_ipsum/freedom_words
|
|
262
289
|
- lib/ffaker/data/healthcare_ipsum/healthcare_words
|
|
263
290
|
- lib/ffaker/data/healthcare_ru/doctor_specialization
|
|
264
291
|
- lib/ffaker/data/hipster_ipsum/hipster_words
|
|
@@ -406,6 +433,10 @@ files:
|
|
|
406
433
|
- lib/ffaker/data/phone_number_id/mobile_phone_prefixes
|
|
407
434
|
- lib/ffaker/data/phone_number_it/home_phone_prefixes
|
|
408
435
|
- lib/ffaker/data/phone_number_it/mobile_phone_prefixes
|
|
436
|
+
- lib/ffaker/data/phone_number_ja/four_disit_area_codes
|
|
437
|
+
- lib/ffaker/data/phone_number_ja/one_disit_area_codes
|
|
438
|
+
- lib/ffaker/data/phone_number_ja/three_disit_area_codes
|
|
439
|
+
- lib/ffaker/data/phone_number_ja/two_disit_area_codes
|
|
409
440
|
- lib/ffaker/data/phone_number_nl/area_codes
|
|
410
441
|
- lib/ffaker/data/phone_number_ru/home_phone_prefixes
|
|
411
442
|
- lib/ffaker/data/phone_number_ru/mobile_phone_prefixes
|
|
@@ -438,6 +469,8 @@ files:
|
|
|
438
469
|
- lib/ffaker/education_cn.rb
|
|
439
470
|
- lib/ffaker/filesystem.rb
|
|
440
471
|
- lib/ffaker/food.rb
|
|
472
|
+
- lib/ffaker/food_pl.rb
|
|
473
|
+
- lib/ffaker/freedom_ipsum.rb
|
|
441
474
|
- lib/ffaker/gender.rb
|
|
442
475
|
- lib/ffaker/gender_br.rb
|
|
443
476
|
- lib/ffaker/gender_cn.rb
|
|
@@ -457,9 +490,11 @@ files:
|
|
|
457
490
|
- lib/ffaker/identification_es.rb
|
|
458
491
|
- lib/ffaker/identification_es_cl.rb
|
|
459
492
|
- lib/ffaker/identification_es_co.rb
|
|
493
|
+
- lib/ffaker/identification_in.rb
|
|
460
494
|
- lib/ffaker/identification_kr.rb
|
|
461
495
|
- lib/ffaker/identification_mx.rb
|
|
462
496
|
- lib/ffaker/identification_pl.rb
|
|
497
|
+
- lib/ffaker/identification_tw.rb
|
|
463
498
|
- lib/ffaker/image.rb
|
|
464
499
|
- lib/ffaker/internet.rb
|
|
465
500
|
- lib/ffaker/internet_se.rb
|
|
@@ -524,6 +559,7 @@ files:
|
|
|
524
559
|
- lib/ffaker/phone_number_fr.rb
|
|
525
560
|
- lib/ffaker/phone_number_id.rb
|
|
526
561
|
- lib/ffaker/phone_number_it.rb
|
|
562
|
+
- lib/ffaker/phone_number_ja.rb
|
|
527
563
|
- lib/ffaker/phone_number_kr.rb
|
|
528
564
|
- lib/ffaker/phone_number_mx.rb
|
|
529
565
|
- lib/ffaker/phone_number_nl.rb
|
|
@@ -556,6 +592,7 @@ files:
|
|
|
556
592
|
- lib/ffaker/vehicle.rb
|
|
557
593
|
- lib/ffaker/venue.rb
|
|
558
594
|
- lib/ffaker/youtube.rb
|
|
595
|
+
- lib/version.rb
|
|
559
596
|
- scripts/benchmark.rb
|
|
560
597
|
- scripts/profile.sh
|
|
561
598
|
- scripts/profiling.rb
|
|
@@ -590,6 +627,7 @@ files:
|
|
|
590
627
|
- test/test_airline.rb
|
|
591
628
|
- test/test_animal.rb
|
|
592
629
|
- test/test_animal_cn.rb
|
|
630
|
+
- test/test_animal_es.rb
|
|
593
631
|
- test/test_animal_pl.rb
|
|
594
632
|
- test/test_animal_us.rb
|
|
595
633
|
- test/test_array_utils.rb
|
|
@@ -607,6 +645,7 @@ files:
|
|
|
607
645
|
- test/test_company.rb
|
|
608
646
|
- test/test_company_cn.rb
|
|
609
647
|
- test/test_company_it.rb
|
|
648
|
+
- test/test_company_ja.rb
|
|
610
649
|
- test/test_company_se.rb
|
|
611
650
|
- test/test_conference.rb
|
|
612
651
|
- test/test_course_mathematiques.rb
|
|
@@ -615,9 +654,11 @@ files:
|
|
|
615
654
|
- test/test_dizzle_ipsum.rb
|
|
616
655
|
- test/test_education.rb
|
|
617
656
|
- test/test_education_cn.rb
|
|
618
|
-
- test/
|
|
657
|
+
- test/test_ffaker.rb
|
|
619
658
|
- test/test_filesystem.rb
|
|
620
659
|
- test/test_food.rb
|
|
660
|
+
- test/test_food_pl.rb
|
|
661
|
+
- test/test_freedom_ipsum.rb
|
|
621
662
|
- test/test_gender.rb
|
|
622
663
|
- test/test_gender_br.rb
|
|
623
664
|
- test/test_gender_cn.rb
|
|
@@ -638,8 +679,10 @@ files:
|
|
|
638
679
|
- test/test_identification_es.rb
|
|
639
680
|
- test/test_identification_es_cl.rb
|
|
640
681
|
- test/test_identification_es_mx.rb
|
|
682
|
+
- test/test_identification_in.rb
|
|
641
683
|
- test/test_identification_kr.rb
|
|
642
684
|
- test/test_identification_pl.rb
|
|
685
|
+
- test/test_identification_tw.rb
|
|
643
686
|
- test/test_image.rb
|
|
644
687
|
- test/test_internet.rb
|
|
645
688
|
- test/test_internet_se.rb
|
|
@@ -702,6 +745,7 @@ files:
|
|
|
702
745
|
- test/test_phone_number_de.rb
|
|
703
746
|
- test/test_phone_number_fr.rb
|
|
704
747
|
- test/test_phone_number_id.rb
|
|
748
|
+
- test/test_phone_number_ja.rb
|
|
705
749
|
- test/test_phone_number_kr.rb
|
|
706
750
|
- test/test_phone_number_mx.rb
|
|
707
751
|
- test/test_phone_number_nl.rb
|
|
@@ -734,7 +778,9 @@ files:
|
|
|
734
778
|
homepage: https://github.com/ffaker/ffaker
|
|
735
779
|
licenses:
|
|
736
780
|
- MIT
|
|
737
|
-
metadata:
|
|
781
|
+
metadata:
|
|
782
|
+
changelog_uri: https://github.com/ffaker/ffaker/blob/main/Changelog.md
|
|
783
|
+
documentation_uri: https://github.com/ffaker/ffaker/blob/main/REFERENCE.md
|
|
738
784
|
post_install_message:
|
|
739
785
|
rdoc_options:
|
|
740
786
|
- "--charset=UTF-8"
|
|
@@ -744,187 +790,193 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
744
790
|
requirements:
|
|
745
791
|
- - ">="
|
|
746
792
|
- !ruby/object:Gem::Version
|
|
747
|
-
version: '2.
|
|
793
|
+
version: '2.5'
|
|
748
794
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
749
795
|
requirements:
|
|
750
796
|
- - ">="
|
|
751
797
|
- !ruby/object:Gem::Version
|
|
752
798
|
version: '0'
|
|
753
799
|
requirements: []
|
|
754
|
-
|
|
755
|
-
rubygems_version: 2.7.6
|
|
800
|
+
rubygems_version: 3.0.3
|
|
756
801
|
signing_key:
|
|
757
802
|
specification_version: 2
|
|
758
803
|
summary: Ffaker generates dummy data.
|
|
759
804
|
test_files:
|
|
760
|
-
- test/test_job_fr.rb
|
|
761
|
-
- test/test_ssn_se.rb
|
|
762
|
-
- test/test_phone_number_ru.rb
|
|
763
|
-
- test/test_identification_es_cl.rb
|
|
764
|
-
- test/test_identification_kr.rb
|
|
765
|
-
- test/test_address_mx.rb
|
|
766
|
-
- test/test_name_ph.rb
|
|
767
|
-
- test/test_name.rb
|
|
768
|
-
- test/test_company_se.rb
|
|
769
|
-
- test/test_gender_pl.rb
|
|
770
805
|
- test/test_tweet.rb
|
|
771
|
-
- test/
|
|
772
|
-
- test/
|
|
773
|
-
- test/
|
|
774
|
-
- test/
|
|
775
|
-
- test/
|
|
776
|
-
- test/
|
|
777
|
-
- test/
|
|
778
|
-
- test/
|
|
806
|
+
- test/test_currency.rb
|
|
807
|
+
- test/test_ffaker.rb
|
|
808
|
+
- test/test_internet.rb
|
|
809
|
+
- test/test_phone_number_ja.rb
|
|
810
|
+
- test/test_name_cn.rb
|
|
811
|
+
- test/test_cheesy_lingo.rb
|
|
812
|
+
- test/test_ssn.rb
|
|
813
|
+
- test/test_company_se.rb
|
|
814
|
+
- test/test_venue.rb
|
|
815
|
+
- test/test_animal_cn.rb
|
|
816
|
+
- test/test_gender_jp.rb
|
|
817
|
+
- test/test_sport_us.rb
|
|
818
|
+
- test/test_course_philosophie.rb
|
|
819
|
+
- test/test_identification.rb
|
|
820
|
+
- test/test_name_es.rb
|
|
821
|
+
- test/test_company_ja.rb
|
|
822
|
+
- test/test_youtube.rb
|
|
823
|
+
- test/test_company_cn.rb
|
|
824
|
+
- test/test_name_th_en.rb
|
|
825
|
+
- test/test_animal_pl.rb
|
|
826
|
+
- test/test_internet_se.rb
|
|
827
|
+
- test/test_address_ua.rb
|
|
828
|
+
- test/test_name_ja.rb
|
|
829
|
+
- test/test_phone_number.rb
|
|
830
|
+
- test/test_module_utils.rb
|
|
831
|
+
- test/test_address_mx.rb
|
|
832
|
+
- test/test_name_it.rb
|
|
833
|
+
- test/test_name_vn.rb
|
|
834
|
+
- test/helper.rb
|
|
779
835
|
- test/test_phone_number_cu.rb
|
|
836
|
+
- test/test_name_br.rb
|
|
837
|
+
- test/test_string.rb
|
|
838
|
+
- test/test_name.rb
|
|
839
|
+
- test/test_gender_id.rb
|
|
840
|
+
- test/test_address_ch_de.rb
|
|
841
|
+
- test/test_job.rb
|
|
842
|
+
- test/test_name_de.rb
|
|
780
843
|
- test/test_address_id.rb
|
|
844
|
+
- test/test_array_utils.rb
|
|
845
|
+
- test/test_gender_cn.rb
|
|
846
|
+
- test/test_healthcare_ru.rb
|
|
847
|
+
- test/test_lorem.rb
|
|
848
|
+
- test/test_image.rb
|
|
849
|
+
- test/test_products.rb
|
|
850
|
+
- test/test_name_ph.rb
|
|
781
851
|
- test/test_phone_number_pl.rb
|
|
782
|
-
- test/
|
|
783
|
-
- test/
|
|
784
|
-
- test/
|
|
785
|
-
- test/
|
|
786
|
-
- test/
|
|
787
|
-
- test/
|
|
788
|
-
- test/test_name_ru.rb
|
|
789
|
-
- test/test_identification_pl.rb
|
|
852
|
+
- test/test_phone_number_ru.rb
|
|
853
|
+
- test/test_identification_es_mx.rb
|
|
854
|
+
- test/test_name_fr.rb
|
|
855
|
+
- test/test_address_ca.rb
|
|
856
|
+
- test/test_phone_number_se.rb
|
|
857
|
+
- test/test_address_fi.rb
|
|
790
858
|
- test/test_phone_number_au.rb
|
|
791
|
-
- test/
|
|
792
|
-
- test/test_food.rb
|
|
793
|
-
- test/test_color.rb
|
|
794
|
-
- test/test_name_mx.rb
|
|
795
|
-
- test/test_gender_ja.rb
|
|
796
|
-
- test/test_phone_number_sg.rb
|
|
859
|
+
- test/test_aws.rb
|
|
797
860
|
- test/test_address_au.rb
|
|
798
|
-
- test/
|
|
799
|
-
- test/
|
|
800
|
-
- test/
|
|
801
|
-
- test/
|
|
802
|
-
- test/
|
|
803
|
-
- test/
|
|
804
|
-
- test/
|
|
805
|
-
- test/
|
|
806
|
-
- test/
|
|
807
|
-
- test/
|
|
808
|
-
- test/
|
|
861
|
+
- test/test_address_sn.rb
|
|
862
|
+
- test/test_company.rb
|
|
863
|
+
- test/test_phone_number_de.rb
|
|
864
|
+
- test/test_movie.rb
|
|
865
|
+
- test/test_address_ch_it.rb
|
|
866
|
+
- test/test_identification_es.rb
|
|
867
|
+
- test/test_job_vn.rb
|
|
868
|
+
- test/test_name_ar.rb
|
|
869
|
+
- test/test_lorem_ja.rb
|
|
870
|
+
- test/test_geolocation.rb
|
|
871
|
+
- test/test_animal.rb
|
|
809
872
|
- test/test_gender.rb
|
|
810
|
-
- test/
|
|
811
|
-
- test/
|
|
812
|
-
- test/
|
|
813
|
-
- test/
|
|
873
|
+
- test/test_phone_number_mx.rb
|
|
874
|
+
- test/test_identification_pl.rb
|
|
875
|
+
- test/test_locale.rb
|
|
876
|
+
- test/test_gender_pl.rb
|
|
877
|
+
- test/test_education.rb
|
|
878
|
+
- test/test_phone_number_tw.rb
|
|
879
|
+
- test/test_identification_br.rb
|
|
880
|
+
- test/test_name_nb.rb
|
|
881
|
+
- test/test_units_metric.rb
|
|
882
|
+
- test/test_phone_number_nl.rb
|
|
883
|
+
- test/test_ssn_se.rb
|
|
884
|
+
- test/test_lorem_ru.rb
|
|
885
|
+
- test/test_name_gr.rb
|
|
886
|
+
- test/test_phone_number_sn.rb
|
|
887
|
+
- test/test_identification_in.rb
|
|
888
|
+
- test/test_lorem_ua.rb
|
|
889
|
+
- test/test_phone_number_fr.rb
|
|
814
890
|
- test/test_name_id.rb
|
|
815
|
-
- test/
|
|
891
|
+
- test/test_lorem_ie.rb
|
|
892
|
+
- test/test_gender_br.rb
|
|
893
|
+
- test/test_name_mx.rb
|
|
894
|
+
- test/test_avatar.rb
|
|
895
|
+
- test/test_phone_number_da.rb
|
|
896
|
+
- test/test_lorem_fr.rb
|
|
816
897
|
- test/test_address_kr.rb
|
|
817
|
-
- test/
|
|
818
|
-
- test/
|
|
819
|
-
- test/
|
|
820
|
-
- test/
|
|
821
|
-
- test/
|
|
822
|
-
- test/
|
|
823
|
-
- test/
|
|
824
|
-
- test/
|
|
825
|
-
- test/
|
|
826
|
-
- test/
|
|
827
|
-
- test/
|
|
828
|
-
- test/
|
|
829
|
-
- test/
|
|
830
|
-
- test/
|
|
898
|
+
- test/test_identification_tw.rb
|
|
899
|
+
- test/test_address_ja.rb
|
|
900
|
+
- test/test_food.rb
|
|
901
|
+
- test/test_food_pl.rb
|
|
902
|
+
- test/test_animal_es.rb
|
|
903
|
+
- test/test_phone_number_br.rb
|
|
904
|
+
- test/test_phone_number_ua.rb
|
|
905
|
+
- test/test_identification_es_cl.rb
|
|
906
|
+
- test/test_job_kr.rb
|
|
907
|
+
- test/test_sport_pl.rb
|
|
908
|
+
- test/test_lorem_pl.rb
|
|
909
|
+
- test/test_dizzle_ipsum.rb
|
|
910
|
+
- test/test_gender_kr.rb
|
|
911
|
+
- test/test_ssn_mx.rb
|
|
831
912
|
- test/test_address_ru.rb
|
|
832
|
-
- test/
|
|
833
|
-
- test/
|
|
834
|
-
- test/test_address_ch_it.rb
|
|
835
|
-
- test/test_sport_us.rb
|
|
836
|
-
- test/test_internet.rb
|
|
837
|
-
- test/test_job_ja.rb
|
|
838
|
-
- test/test_image.rb
|
|
839
|
-
- test/test_name_nb.rb
|
|
840
|
-
- test/test_module_utils.rb
|
|
841
|
-
- test/test_color_ua.rb
|
|
913
|
+
- test/test_units.rb
|
|
914
|
+
- test/test_address_uk.rb
|
|
842
915
|
- test/test_address_us.rb
|
|
916
|
+
- test/test_bank.rb
|
|
917
|
+
- test/test_name_sn.rb
|
|
918
|
+
- test/test_conference.rb
|
|
919
|
+
- test/test_boolean.rb
|
|
920
|
+
- test/test_animal_us.rb
|
|
921
|
+
- test/test_color.rb
|
|
922
|
+
- test/test_address_nl.rb
|
|
843
923
|
- test/test_address_gr.rb
|
|
844
|
-
- test/test_phone_number_se.rb
|
|
845
|
-
- test/test_phone_number_de.rb
|
|
846
|
-
- test/test_units_english.rb
|
|
847
924
|
- test/test_hipster_ipsum.rb
|
|
848
|
-
- test/
|
|
849
|
-
- test/
|
|
850
|
-
- test/
|
|
925
|
+
- test/test_book.rb
|
|
926
|
+
- test/test_address_se.rb
|
|
927
|
+
- test/test_time.rb
|
|
928
|
+
- test/test_job_fr.rb
|
|
929
|
+
- test/test_address.rb
|
|
930
|
+
- test/test_lorem_ar.rb
|
|
851
931
|
- test/test_sem_ver.rb
|
|
852
|
-
- test/
|
|
853
|
-
- test/test_address_uk.rb
|
|
854
|
-
- test/test_name_ua.rb
|
|
855
|
-
- test/test_address_nl.rb
|
|
856
|
-
- test/test_address_fr.rb
|
|
857
|
-
- test/test_address_sn.rb
|
|
858
|
-
- test/test_lorem_pl.rb
|
|
859
|
-
- test/test_lorem_kr.rb
|
|
860
|
-
- test/test_phone_number_ua.rb
|
|
861
|
-
- test/test_address_br.rb
|
|
862
|
-
- test/test_string.rb
|
|
932
|
+
- test/test_units_english.rb
|
|
863
933
|
- test/test_guid.rb
|
|
864
|
-
- test/
|
|
865
|
-
- test/test_ssn.rb
|
|
934
|
+
- test/test_nato_alphabet.rb
|
|
866
935
|
- test/test_unique_utils.rb
|
|
867
|
-
- test/
|
|
868
|
-
- test/
|
|
869
|
-
- test/
|
|
870
|
-
- test/
|
|
871
|
-
- test/
|
|
872
|
-
- test/
|
|
873
|
-
- test/
|
|
874
|
-
- test/
|
|
875
|
-
- test/
|
|
876
|
-
- test/
|
|
877
|
-
- test/
|
|
878
|
-
- test/
|
|
879
|
-
- test/
|
|
880
|
-
- test/
|
|
936
|
+
- test/test_phone_number_sg.rb
|
|
937
|
+
- test/test_address_da.rb
|
|
938
|
+
- test/test_company_it.rb
|
|
939
|
+
- test/test_job_br.rb
|
|
940
|
+
- test/test_address_ch_fr.rb
|
|
941
|
+
- test/test_skill.rb
|
|
942
|
+
- test/test_freedom_ipsum.rb
|
|
943
|
+
- test/test_color_pl.rb
|
|
944
|
+
- test/test_address_in.rb
|
|
945
|
+
- test/test_address_de.rb
|
|
946
|
+
- test/test_music.rb
|
|
947
|
+
- test/test_color_ua.rb
|
|
948
|
+
- test/test_name_pl.rb
|
|
949
|
+
- test/test_sports.rb
|
|
881
950
|
- test/test_name_tw.rb
|
|
882
|
-
- test/
|
|
883
|
-
- test/
|
|
884
|
-
- test/
|
|
885
|
-
- test/
|
|
886
|
-
- test/
|
|
951
|
+
- test/test_filesystem.rb
|
|
952
|
+
- test/test_job_cn.rb
|
|
953
|
+
- test/test_code.rb
|
|
954
|
+
- test/test_name_ua.rb
|
|
955
|
+
- test/test_address_fr.rb
|
|
956
|
+
- test/test_education_cn.rb
|
|
957
|
+
- test/test_job_ja.rb
|
|
958
|
+
- test/test_identification_kr.rb
|
|
959
|
+
- test/test_bacon_ipsum.rb
|
|
960
|
+
- test/test_identification_co.rb
|
|
961
|
+
- test/test_name_se.rb
|
|
962
|
+
- test/test_name_th.rb
|
|
963
|
+
- test/test_name_kr.rb
|
|
964
|
+
- test/test_address_br.rb
|
|
887
965
|
- test/test_airline.rb
|
|
888
|
-
- test/
|
|
889
|
-
- test/
|
|
890
|
-
- test/test_lorem_ja.rb
|
|
891
|
-
- test/test_address_ca.rb
|
|
892
|
-
- test/test_movie.rb
|
|
893
|
-
- test/test_address_ua.rb
|
|
894
|
-
- test/test_phone_number_br.rb
|
|
895
|
-
- test/test_name_sn.rb
|
|
896
|
-
- test/test_course_mathematiques.rb
|
|
966
|
+
- test/test_phone_number_kr.rb
|
|
967
|
+
- test/test_address_ch.rb
|
|
897
968
|
- test/test_name_cs.rb
|
|
898
|
-
- test/test_identification_es.rb
|
|
899
|
-
- test/test_name_nl.rb
|
|
900
|
-
- test/test_locale.rb
|
|
901
|
-
- test/test_name_fr.rb
|
|
902
|
-
- test/test_music.rb
|
|
903
|
-
- test/test_job.rb
|
|
904
|
-
- test/test_youtube.rb
|
|
905
|
-
- test/test_name_br.rb
|
|
906
|
-
- test/test_identification_co.rb
|
|
907
|
-
- test/test_company.rb
|
|
908
|
-
- test/test_gender_cn.rb
|
|
909
|
-
- test/test_phone_number_sn.rb
|
|
910
|
-
- test/test_phone_number_fr.rb
|
|
911
|
-
- test/test_phone_number_nl.rb
|
|
912
|
-
- test/test_faker.rb
|
|
913
|
-
- test/test_gender_jp.rb
|
|
914
|
-
- test/test_address_se.rb
|
|
915
|
-
- test/test_name_vn.rb
|
|
916
|
-
- test/test_address_de.rb
|
|
917
|
-
- test/test_ssn_mx.rb
|
|
918
|
-
- test/test_identification.rb
|
|
919
|
-
- test/test_bacon_ipsum.rb
|
|
920
|
-
- test/test_gender_br.rb
|
|
921
|
-
- test/test_name_ar.rb
|
|
922
|
-
- test/test_course_philosophie.rb
|
|
923
|
-
- test/test_phone_number_tw.rb
|
|
924
|
-
- test/test_name_cn.rb
|
|
925
|
-
- test/test_address_da.rb
|
|
926
|
-
- test/test_name_it.rb
|
|
927
969
|
- test/test_name_kh.rb
|
|
928
|
-
- test/
|
|
929
|
-
- test/
|
|
970
|
+
- test/test_name_da.rb
|
|
971
|
+
- test/test_healthcare_ipsum.rb
|
|
972
|
+
- test/test_address_pl.rb
|
|
973
|
+
- test/test_vehicle.rb
|
|
974
|
+
- test/test_gender_ja.rb
|
|
975
|
+
- test/test_phone_number_id.rb
|
|
976
|
+
- test/test_name_ru.rb
|
|
977
|
+
- test/test_course_mathematiques.rb
|
|
978
|
+
- test/test_name_ga.rb
|
|
979
|
+
- test/test_name_nl.rb
|
|
980
|
+
- test/test_lorem_cn.rb
|
|
981
|
+
- test/test_lorem_kr.rb
|
|
930
982
|
- test/test_html_ipsum.rb
|