ffaker 2.10.0 → 2.11.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 +13 -1
- data/REFERENCE.md +84 -24
- data/ffaker.gemspec +1 -1
- data/lib/ffaker.rb +13 -1
- data/lib/ffaker/address_in.rb +4 -0
- data/lib/ffaker/animal_pl.rb +17 -0
- data/lib/ffaker/animals.rb +2 -0
- data/lib/ffaker/animals_cn.rb +13 -0
- data/lib/ffaker/animals_us.rb +13 -0
- data/lib/ffaker/data/address_in/city +24 -0
- data/lib/ffaker/data/animal_cn/common_names +141 -0
- data/lib/ffaker/data/animal_pl/common_names +256 -0
- data/lib/ffaker/data/animal_us/common_names +141 -0
- data/lib/ffaker/data/education_cn/city +351 -0
- data/lib/ffaker/data/education_cn/major +506 -0
- data/lib/ffaker/data/education_cn/province +31 -0
- data/lib/ffaker/data/education_cn/school_type +27 -0
- data/lib/ffaker/data/healthcare_ru/doctor_specialization +127 -0
- data/lib/ffaker/data/name/last_names +1 -2
- data/lib/ffaker/data/name_in/first_names_female +100 -0
- data/lib/ffaker/data/name_in/first_names_male +100 -0
- data/lib/ffaker/data/name_in/last_names +100 -0
- data/lib/ffaker/data/name_ru/first_names_female +91 -0
- data/lib/ffaker/data/name_ru/first_names_male +173 -0
- data/lib/ffaker/data/name_ru/last_names_female +100 -0
- data/lib/ffaker/data/name_ru/last_names_male +100 -0
- data/lib/ffaker/data/name_ru/middle_names_female +65 -0
- data/lib/ffaker/data/name_ru/middle_names_male +73 -0
- data/lib/ffaker/data/name_tw/first_names +122 -0
- data/lib/ffaker/data/name_tw/last_names +100 -0
- data/lib/ffaker/data/product/noun +4 -1
- data/lib/ffaker/data/sport_us/names +67 -0
- data/lib/ffaker/education_cn.rb +41 -0
- data/lib/ffaker/gender_jp.rb +21 -0
- data/lib/ffaker/gender_pl.rb +21 -0
- data/lib/ffaker/healthcare_ru.rb +13 -0
- data/lib/ffaker/name_in.rb +39 -0
- data/lib/ffaker/name_ru.rb +31 -68
- data/lib/ffaker/name_tw.rb +21 -0
- data/lib/ffaker/phone_number_br.rb +11 -2
- data/lib/ffaker/phone_number_pl.rb +69 -0
- data/lib/ffaker/phone_number_tw.rb +56 -0
- data/lib/ffaker/sport.rb +2 -0
- data/lib/ffaker/sport_us.rb +10 -0
- data/test/test_animal_cn.rb +18 -0
- data/test/test_animal_pl.rb +18 -0
- data/test/test_animal_us.rb +18 -0
- data/test/test_education_cn.rb +30 -0
- data/test/test_gender_jp.rb +28 -0
- data/test/test_gender_pl.rb +28 -0
- data/test/test_healthcare_ru.rb +20 -0
- data/test/test_name_ru.rb +36 -46
- data/test/test_name_tw.rb +29 -0
- data/test/test_phone_number.rb +1 -1
- data/test/test_phone_number_br.rb +9 -0
- data/test/test_phone_number_pl.rb +56 -0
- data/test/test_phone_number_tw.rb +43 -0
- data/test/test_sport_us.rb +18 -0
- metadata +56 -1
@@ -0,0 +1,18 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require 'helper'
|
5
|
+
|
6
|
+
class TestAnimalsUS < Test::Unit::TestCase
|
7
|
+
include DeterministicHelper
|
8
|
+
|
9
|
+
assert_methods_are_deterministic(FFaker::AnimalUS, :common_name)
|
10
|
+
|
11
|
+
def setup
|
12
|
+
@tester = FFaker::AnimalUS
|
13
|
+
end
|
14
|
+
|
15
|
+
def test_name
|
16
|
+
assert_include @tester::COMMON_NAMES, @tester.common_name
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require 'helper'
|
5
|
+
|
6
|
+
class TestFakerEducationCN < Test::Unit::TestCase
|
7
|
+
include DeterministicHelper
|
8
|
+
|
9
|
+
assert_methods_are_deterministic(FFaker::EducationCN, :degree, :major, :location, :school)
|
10
|
+
|
11
|
+
def setup
|
12
|
+
@tester = FFaker::EducationCN
|
13
|
+
end
|
14
|
+
|
15
|
+
def test_degree
|
16
|
+
assert @tester.degree.match(/[\u4e00-\u9fa5]{4,}/)
|
17
|
+
end
|
18
|
+
|
19
|
+
def test_major
|
20
|
+
assert @tester.major.match(/[\u4e00-\u9fa5]{2,}/)
|
21
|
+
end
|
22
|
+
|
23
|
+
def test_location
|
24
|
+
assert @tester.location.match(/[\u4e00-\u9fa5]{2,}/)
|
25
|
+
end
|
26
|
+
|
27
|
+
def test_school
|
28
|
+
assert @tester.school.match(/[\u4e00-\u9fa5]{4,}/)
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require 'helper'
|
5
|
+
|
6
|
+
class TestFakerGenderJP < Test::Unit::TestCase
|
7
|
+
include DeterministicHelper
|
8
|
+
|
9
|
+
GENDER_REGEX = /\A[女男]\z/
|
10
|
+
|
11
|
+
assert_methods_are_deterministic(FFaker::GenderJP, :random)
|
12
|
+
|
13
|
+
def setup
|
14
|
+
@tester = FFaker::GenderJP
|
15
|
+
end
|
16
|
+
|
17
|
+
def test_random
|
18
|
+
assert_match(GENDER_REGEX, @tester.random)
|
19
|
+
end
|
20
|
+
|
21
|
+
def test_sample
|
22
|
+
assert_match(GENDER_REGEX, @tester.sample)
|
23
|
+
end
|
24
|
+
|
25
|
+
def test_maybe
|
26
|
+
assert_match(GENDER_REGEX, @tester.maybe)
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require 'helper'
|
5
|
+
|
6
|
+
class TestFakerGenderPL < Test::Unit::TestCase
|
7
|
+
include DeterministicHelper
|
8
|
+
|
9
|
+
GENDER_REGEX = /\A(kobieta|mężczyzna)\z/
|
10
|
+
|
11
|
+
assert_methods_are_deterministic(FFaker::GenderPL, :random)
|
12
|
+
|
13
|
+
def setup
|
14
|
+
@tester = FFaker::GenderPL
|
15
|
+
end
|
16
|
+
|
17
|
+
def test_random
|
18
|
+
assert_match(GENDER_REGEX, @tester.random)
|
19
|
+
end
|
20
|
+
|
21
|
+
def test_sample
|
22
|
+
assert_match(GENDER_REGEX, @tester.sample)
|
23
|
+
end
|
24
|
+
|
25
|
+
def test_maybe
|
26
|
+
assert_match(GENDER_REGEX, @tester.maybe)
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require 'helper'
|
5
|
+
|
6
|
+
class TestHealthcareRU < Test::Unit::TestCase
|
7
|
+
include DeterministicHelper
|
8
|
+
|
9
|
+
SPECIALIZATION_REGEX = /\A[А-Яа-я\ \(\)\-]+\z/
|
10
|
+
|
11
|
+
assert_methods_are_deterministic(FFaker::HealthcareRU, :doctor_specialization)
|
12
|
+
|
13
|
+
def setup
|
14
|
+
@tester = FFaker::HealthcareRU
|
15
|
+
end
|
16
|
+
|
17
|
+
def test_doctor_specialization
|
18
|
+
assert_match(SPECIALIZATION_REGEX, @tester.doctor_specialization)
|
19
|
+
end
|
20
|
+
end
|
data/test/test_name_ru.rb
CHANGED
@@ -2,14 +2,17 @@
|
|
2
2
|
|
3
3
|
require 'helper'
|
4
4
|
|
5
|
-
class
|
5
|
+
class TestNameRU < Test::Unit::TestCase
|
6
6
|
include DeterministicHelper
|
7
7
|
|
8
|
-
RU_REGEX =
|
8
|
+
RU_REGEX = /\A[а-яА-Я]+\z/
|
9
|
+
RU_REGEX_MULTIPLE_WORDS = /\A[а-яА-Я\s]+\z/
|
9
10
|
|
10
11
|
assert_methods_are_deterministic(
|
11
12
|
FFaker::NameRU,
|
12
|
-
:name, :last_name, :
|
13
|
+
:name, :first_name, :last_name, :female_name, :male_name,
|
14
|
+
:first_name_female, :first_name_male, :middle_name_female,
|
15
|
+
:middle_name_male, :last_name_female, :last_name_male,
|
13
16
|
)
|
14
17
|
|
15
18
|
def setup
|
@@ -17,70 +20,57 @@ class TestFakerNameRU < Test::Unit::TestCase
|
|
17
20
|
end
|
18
21
|
|
19
22
|
def test_name
|
20
|
-
|
21
|
-
assert_include [2, 3], @
|
22
|
-
assert @words.all? { |word| word.match RU_REGEX }
|
23
|
+
assert_match(RU_REGEX_MULTIPLE_WORDS, @tester.name)
|
24
|
+
assert_include [1, 2, 3], @tester.name.split(' ').count
|
23
25
|
end
|
24
26
|
|
25
|
-
def
|
26
|
-
@
|
27
|
-
|
27
|
+
def test_first_name
|
28
|
+
assert_include @tester::FIRST_NAMES, @tester.first_name
|
29
|
+
assert_match(RU_REGEX, @tester.first_name)
|
28
30
|
end
|
29
31
|
|
30
32
|
def test_last_name
|
33
|
+
assert_include @tester::LAST_NAMES, @tester.last_name
|
31
34
|
assert_match(RU_REGEX, @tester.last_name)
|
32
35
|
end
|
33
36
|
|
34
|
-
def
|
35
|
-
|
37
|
+
def test_female_name
|
38
|
+
assert_match(RU_REGEX_MULTIPLE_WORDS, @tester.female_name)
|
39
|
+
assert_include [1, 2, 3], @tester.female_name.split(' ').count
|
36
40
|
end
|
37
41
|
|
38
|
-
def
|
39
|
-
assert_match(
|
42
|
+
def test_male_name
|
43
|
+
assert_match(RU_REGEX_MULTIPLE_WORDS, @tester.male_name)
|
44
|
+
assert_include [1, 2, 3], @tester.male_name.split(' ').count
|
40
45
|
end
|
41
46
|
|
42
|
-
def
|
43
|
-
assert_include @tester::
|
47
|
+
def test_first_name_female
|
48
|
+
assert_include @tester::FIRST_NAMES_FEMALE, @tester.first_name_female
|
49
|
+
assert_match(RU_REGEX, @tester.first_name_female)
|
44
50
|
end
|
45
51
|
|
46
|
-
def
|
47
|
-
|
52
|
+
def test_first_name_male
|
53
|
+
assert_include @tester::FIRST_NAMES_MALE, @tester.first_name_male
|
54
|
+
assert_match(RU_REGEX, @tester.first_name_male)
|
48
55
|
end
|
49
56
|
|
50
|
-
def
|
51
|
-
assert_include @tester::
|
57
|
+
def test_middle_name_female
|
58
|
+
assert_include @tester::MIDDLE_NAMES_FEMALE, @tester.middle_name_female
|
59
|
+
assert_match(RU_REGEX, @tester.middle_name_female)
|
52
60
|
end
|
53
61
|
|
54
|
-
def
|
55
|
-
|
56
|
-
@tester.
|
57
|
-
names << @tester.last_name
|
58
|
-
names << @tester.first_name
|
59
|
-
names << @tester.patronymic
|
60
|
-
end
|
61
|
-
assert same_sex?(names)
|
62
|
+
def test_middle_name_male
|
63
|
+
assert_include @tester::MIDDLE_NAMES_MALE, @tester.middle_name_male
|
64
|
+
assert_match(RU_REGEX, @tester.middle_name_male)
|
62
65
|
end
|
63
66
|
|
64
|
-
def
|
65
|
-
|
66
|
-
@tester.
|
67
|
-
names << @tester.last_name
|
68
|
-
names << @tester.first_name
|
69
|
-
names << @tester.patronymic
|
70
|
-
end
|
71
|
-
assert same_sex?(names, :male)
|
67
|
+
def test_last_name_female
|
68
|
+
assert_include @tester::LAST_NAMES_FEMALE, @tester.last_name_female
|
69
|
+
assert_match(RU_REGEX, @tester.last_name_female)
|
72
70
|
end
|
73
71
|
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
def same_sex?(words, sex = :any)
|
78
|
-
(sex == :any ? %i[male female] : [sex]).any? do |s|
|
79
|
-
words.all? do |word|
|
80
|
-
[@tester::LAST_NAMES, @tester::FIRST_NAMES, @tester::PATRONYMICS].any? do |names|
|
81
|
-
names[s].include?(word)
|
82
|
-
end
|
83
|
-
end
|
84
|
-
end
|
72
|
+
def test_last_name_male
|
73
|
+
assert_include @tester::LAST_NAMES_MALE, @tester.last_name_male
|
74
|
+
assert_match(RU_REGEX, @tester.last_name_male)
|
85
75
|
end
|
86
76
|
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# encoding: utf-8
|
3
|
+
|
4
|
+
require 'helper'
|
5
|
+
|
6
|
+
class TestFakerNameTW < Test::Unit::TestCase
|
7
|
+
include DeterministicHelper
|
8
|
+
|
9
|
+
assert_methods_are_deterministic(
|
10
|
+
FFaker::NameTW,
|
11
|
+
:last_name, :first_name, :name
|
12
|
+
)
|
13
|
+
|
14
|
+
def setup
|
15
|
+
@tester = FFaker::NameTW
|
16
|
+
end
|
17
|
+
|
18
|
+
def test_last_name
|
19
|
+
assert_include @tester::LAST_NAMES, @tester.last_name
|
20
|
+
end
|
21
|
+
|
22
|
+
def test_first_name
|
23
|
+
assert_include @tester::FIRST_NAMES, @tester.first_name
|
24
|
+
end
|
25
|
+
|
26
|
+
def test_name
|
27
|
+
assert_match(/\A.{2,}\z/, @tester.name)
|
28
|
+
end
|
29
|
+
end
|
data/test/test_phone_number.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
+
# frozen_string_literal: true
|
2
3
|
|
3
4
|
require 'helper'
|
4
5
|
|
@@ -17,6 +18,14 @@ class TestPhoneNumberBR < Test::Unit::TestCase
|
|
17
18
|
@tester = FFaker::PhoneNumberBR
|
18
19
|
end
|
19
20
|
|
21
|
+
def test_area_codes
|
22
|
+
assert(!@tester::AREA_CODE.empty?)
|
23
|
+
assert(@tester::AREA_CODE.sort.uniq == @tester::AREA_CODE)
|
24
|
+
@tester::AREA_CODE.each do |area_code|
|
25
|
+
assert_match(/\A[1-9]\d\z/, area_code)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
20
29
|
def test_phone_number
|
21
30
|
10.times do
|
22
31
|
assert_match(/\A[1-9]\d\s?9?\d{4}-?\d{4}\z/, @tester.phone_number)
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'helper'
|
4
|
+
|
5
|
+
class TestPhoneNumberPL < Test::Unit::TestCase
|
6
|
+
include DeterministicHelper
|
7
|
+
|
8
|
+
assert_methods_are_deterministic(
|
9
|
+
FFaker::PhoneNumberPL,
|
10
|
+
:home_work_phone_number, :mobile_phone_number, :phone_number,
|
11
|
+
:area_code, :mobile_prefix,
|
12
|
+
:international_mobile_phone_number,
|
13
|
+
:international_home_work_phone_number,
|
14
|
+
:international_phone_number
|
15
|
+
)
|
16
|
+
|
17
|
+
def setup
|
18
|
+
@tester = FFaker::PhoneNumberPL
|
19
|
+
end
|
20
|
+
|
21
|
+
def test_home_work_phone_number
|
22
|
+
assert_match(/\A\d{9}\z/, @tester.home_work_phone_number)
|
23
|
+
end
|
24
|
+
|
25
|
+
def test_mobile_phone_number
|
26
|
+
assert_match(/\A\d{9}\z/, @tester.mobile_phone_number)
|
27
|
+
end
|
28
|
+
|
29
|
+
def test_phone_number
|
30
|
+
assert_match(/\A\d{9}\z/, @tester.phone_number)
|
31
|
+
end
|
32
|
+
|
33
|
+
def test_country_code
|
34
|
+
assert_equal(@tester::COUNTRY_CODE, '+48')
|
35
|
+
end
|
36
|
+
|
37
|
+
def test_international_mobile_phone_number
|
38
|
+
assert_match(/\A\+48 \d{9}\z/, @tester.international_mobile_phone_number)
|
39
|
+
end
|
40
|
+
|
41
|
+
def test_international_home_work_phone_number
|
42
|
+
assert_match(/\A\+48 \d{9}\z/, @tester.international_home_work_phone_number)
|
43
|
+
end
|
44
|
+
|
45
|
+
def test_international_phone_number
|
46
|
+
assert_match(/\A\+48 \d{9}\z/, @tester.international_phone_number)
|
47
|
+
end
|
48
|
+
|
49
|
+
def test_area_code
|
50
|
+
assert_include(@tester::AREA_CODES, @tester.area_code)
|
51
|
+
end
|
52
|
+
|
53
|
+
def test_mobile_prefixes
|
54
|
+
assert_include(@tester::MOBILE_PREFIXES, @tester.mobile_prefix)
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# encoding: utf-8
|
3
|
+
|
4
|
+
require 'helper'
|
5
|
+
|
6
|
+
class TestPhoneNumberTW < Test::Unit::TestCase
|
7
|
+
include DeterministicHelper
|
8
|
+
|
9
|
+
assert_methods_are_deterministic(
|
10
|
+
FFaker::PhoneNumberTW,
|
11
|
+
:mobile_phone_number, :home_work_phone_number, :phone_number,
|
12
|
+
:international_mobile_phone_number, :international_home_work_phone_number,
|
13
|
+
:international_phone_number
|
14
|
+
)
|
15
|
+
|
16
|
+
def setup
|
17
|
+
@tester = FFaker::PhoneNumberTW
|
18
|
+
end
|
19
|
+
|
20
|
+
def test_mobile_phone_number
|
21
|
+
assert_match(/09\d{2}-\d{3}-\d{3}/, @tester.mobile_phone_number)
|
22
|
+
end
|
23
|
+
|
24
|
+
def test_home_work_phone_number
|
25
|
+
assert_match(/\(0\d\) \d{3,4}-\d{4}/, @tester.home_work_phone_number)
|
26
|
+
end
|
27
|
+
|
28
|
+
def test_phone_number
|
29
|
+
10.times do
|
30
|
+
assert_match(/\(*0\d{1,3}\)*[\s-]\d{3,4}-\d{3,4}/, @tester.phone_number)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
def test_international_mobile_phone_number
|
35
|
+
assert_match(/\+886-9\d{2}-\d{3}-\d{3}/,
|
36
|
+
@tester.international_mobile_phone_number)
|
37
|
+
end
|
38
|
+
|
39
|
+
def test_international_home_work_phone_number
|
40
|
+
assert_match(/\+886-\d{1}-\d{3,4}-\d{4}/,
|
41
|
+
@tester.international_home_work_phone_number)
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require 'helper'
|
5
|
+
|
6
|
+
class TestSportUS < Test::Unit::TestCase
|
7
|
+
include DeterministicHelper
|
8
|
+
|
9
|
+
assert_methods_are_deterministic(FFaker::SportUS, :name)
|
10
|
+
|
11
|
+
def setup
|
12
|
+
@tester = FFaker::SportUS
|
13
|
+
end
|
14
|
+
|
15
|
+
def test_name
|
16
|
+
assert_include @tester::NAMES, @tester.name
|
17
|
+
end
|
18
|
+
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.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- https://github.com/ffaker/ffaker/graphs/contributors
|
@@ -84,7 +84,10 @@ files:
|
|
84
84
|
- lib/ffaker/address_uk.rb
|
85
85
|
- lib/ffaker/address_us.rb
|
86
86
|
- lib/ffaker/airline.rb
|
87
|
+
- lib/ffaker/animal_pl.rb
|
87
88
|
- lib/ffaker/animals.rb
|
89
|
+
- lib/ffaker/animals_cn.rb
|
90
|
+
- lib/ffaker/animals_us.rb
|
88
91
|
- lib/ffaker/avatar.rb
|
89
92
|
- lib/ffaker/aws.rb
|
90
93
|
- lib/ffaker/bacon_ipsum.rb
|
@@ -132,6 +135,7 @@ files:
|
|
132
135
|
- lib/ffaker/data/address_id/common_street_names
|
133
136
|
- lib/ffaker/data/address_id/state
|
134
137
|
- lib/ffaker/data/address_id/state_abbr
|
138
|
+
- lib/ffaker/data/address_in/city
|
135
139
|
- lib/ffaker/data/address_in/state
|
136
140
|
- lib/ffaker/data/address_in/state_abbr
|
137
141
|
- lib/ffaker/data/address_in/union_territory
|
@@ -182,6 +186,9 @@ files:
|
|
182
186
|
- lib/ffaker/data/airline/codes_list
|
183
187
|
- lib/ffaker/data/airline/names_list
|
184
188
|
- lib/ffaker/data/animal/common_names
|
189
|
+
- lib/ffaker/data/animal_cn/common_names
|
190
|
+
- lib/ffaker/data/animal_pl/common_names
|
191
|
+
- lib/ffaker/data/animal_us/common_names
|
185
192
|
- lib/ffaker/data/aws/ec2_instance_type
|
186
193
|
- lib/ffaker/data/aws/ec2_reserved_instance_tenancy
|
187
194
|
- lib/ffaker/data/aws/ec2_reserved_offering_type
|
@@ -212,6 +219,10 @@ files:
|
|
212
219
|
- lib/ffaker/data/education/degree_short_prefix
|
213
220
|
- lib/ffaker/data/education/major_noun
|
214
221
|
- lib/ffaker/data/education/school_suffix
|
222
|
+
- lib/ffaker/data/education_cn/city
|
223
|
+
- lib/ffaker/data/education_cn/major
|
224
|
+
- lib/ffaker/data/education_cn/province
|
225
|
+
- lib/ffaker/data/education_cn/school_type
|
215
226
|
- lib/ffaker/data/filesystem/extension
|
216
227
|
- lib/ffaker/data/filesystem/mime_type
|
217
228
|
- lib/ffaker/data/food/fruit
|
@@ -219,6 +230,7 @@ files:
|
|
219
230
|
- lib/ffaker/data/food/meat
|
220
231
|
- lib/ffaker/data/food/vegetable
|
221
232
|
- lib/ffaker/data/healthcare_ipsum/healthcare_words
|
233
|
+
- lib/ffaker/data/healthcare_ru/doctor_specialization
|
222
234
|
- lib/ffaker/data/hipster_ipsum/hipster_words
|
223
235
|
- lib/ffaker/data/identification_mx/estados_curp
|
224
236
|
- lib/ffaker/data/job/job_adj
|
@@ -295,6 +307,9 @@ files:
|
|
295
307
|
- lib/ffaker/data/name_id/first_names_female
|
296
308
|
- lib/ffaker/data/name_id/first_names_male
|
297
309
|
- lib/ffaker/data/name_id/last_names
|
310
|
+
- lib/ffaker/data/name_in/first_names_female
|
311
|
+
- lib/ffaker/data/name_in/first_names_male
|
312
|
+
- lib/ffaker/data/name_in/last_names
|
298
313
|
- lib/ffaker/data/name_it/first_names
|
299
314
|
- lib/ffaker/data/name_it/last_names
|
300
315
|
- lib/ffaker/data/name_ja/first_names
|
@@ -319,6 +334,12 @@ files:
|
|
319
334
|
- lib/ffaker/data/name_pl/female_last_names
|
320
335
|
- lib/ffaker/data/name_pl/male_first_names
|
321
336
|
- lib/ffaker/data/name_pl/male_last_names
|
337
|
+
- lib/ffaker/data/name_ru/first_names_female
|
338
|
+
- lib/ffaker/data/name_ru/first_names_male
|
339
|
+
- lib/ffaker/data/name_ru/last_names_female
|
340
|
+
- lib/ffaker/data/name_ru/last_names_male
|
341
|
+
- lib/ffaker/data/name_ru/middle_names_female
|
342
|
+
- lib/ffaker/data/name_ru/middle_names_male
|
322
343
|
- lib/ffaker/data/name_se/first_names_female
|
323
344
|
- lib/ffaker/data/name_se/first_names_male
|
324
345
|
- lib/ffaker/data/name_se/last_names
|
@@ -331,6 +352,8 @@ files:
|
|
331
352
|
- lib/ffaker/data/name_then/first_names
|
332
353
|
- lib/ffaker/data/name_then/last_names
|
333
354
|
- lib/ffaker/data/name_then/nick_names
|
355
|
+
- lib/ffaker/data/name_tw/first_names
|
356
|
+
- lib/ffaker/data/name_tw/last_names
|
334
357
|
- lib/ffaker/data/name_ua/first_names_female
|
335
358
|
- lib/ffaker/data/name_ua/first_names_male
|
336
359
|
- lib/ffaker/data/name_ua/last_names_female
|
@@ -354,6 +377,7 @@ files:
|
|
354
377
|
- lib/ffaker/data/skill/specialty_start
|
355
378
|
- lib/ffaker/data/skill/tech_skills
|
356
379
|
- lib/ffaker/data/sport/names
|
380
|
+
- lib/ffaker/data/sport_us/names
|
357
381
|
- lib/ffaker/data/tweet/hashtag
|
358
382
|
- lib/ffaker/data/vehicle/displacements_list
|
359
383
|
- lib/ffaker/data/vehicle/fuel_types_list
|
@@ -366,16 +390,20 @@ files:
|
|
366
390
|
- lib/ffaker/data/youtube/video_ids
|
367
391
|
- lib/ffaker/dizzle_ipsum.rb
|
368
392
|
- lib/ffaker/education.rb
|
393
|
+
- lib/ffaker/education_cn.rb
|
369
394
|
- lib/ffaker/filesystem.rb
|
370
395
|
- lib/ffaker/food.rb
|
371
396
|
- lib/ffaker/gender.rb
|
372
397
|
- lib/ffaker/gender_br.rb
|
373
398
|
- lib/ffaker/gender_cn.rb
|
374
399
|
- lib/ffaker/gender_id.rb
|
400
|
+
- lib/ffaker/gender_jp.rb
|
375
401
|
- lib/ffaker/gender_kr.rb
|
402
|
+
- lib/ffaker/gender_pl.rb
|
376
403
|
- lib/ffaker/geolocation.rb
|
377
404
|
- lib/ffaker/guid.rb
|
378
405
|
- lib/ffaker/healthcare_ipsum.rb
|
406
|
+
- lib/ffaker/healthcare_ru.rb
|
379
407
|
- lib/ffaker/hipster_ipsum.rb
|
380
408
|
- lib/ffaker/html_ipsum.rb
|
381
409
|
- lib/ffaker/identification.rb
|
@@ -420,6 +448,7 @@ files:
|
|
420
448
|
- lib/ffaker/name_ga.rb
|
421
449
|
- lib/ffaker/name_gr.rb
|
422
450
|
- lib/ffaker/name_id.rb
|
451
|
+
- lib/ffaker/name_in.rb
|
423
452
|
- lib/ffaker/name_it.rb
|
424
453
|
- lib/ffaker/name_ja.rb
|
425
454
|
- lib/ffaker/name_kh.rb
|
@@ -434,6 +463,7 @@ files:
|
|
434
463
|
- lib/ffaker/name_sn.rb
|
435
464
|
- lib/ffaker/name_th.rb
|
436
465
|
- lib/ffaker/name_th_en.rb
|
466
|
+
- lib/ffaker/name_tw.rb
|
437
467
|
- lib/ffaker/name_ua.rb
|
438
468
|
- lib/ffaker/name_vn.rb
|
439
469
|
- lib/ffaker/nato_alphabet.rb
|
@@ -450,12 +480,15 @@ files:
|
|
450
480
|
- lib/ffaker/phone_number_kr.rb
|
451
481
|
- lib/ffaker/phone_number_mx.rb
|
452
482
|
- lib/ffaker/phone_number_nl.rb
|
483
|
+
- lib/ffaker/phone_number_pl.rb
|
453
484
|
- lib/ffaker/phone_number_se.rb
|
454
485
|
- lib/ffaker/phone_number_sg.rb
|
455
486
|
- lib/ffaker/phone_number_sn.rb
|
487
|
+
- lib/ffaker/phone_number_tw.rb
|
456
488
|
- lib/ffaker/product.rb
|
457
489
|
- lib/ffaker/skill.rb
|
458
490
|
- lib/ffaker/sport.rb
|
491
|
+
- lib/ffaker/sport_us.rb
|
459
492
|
- lib/ffaker/ssn.rb
|
460
493
|
- lib/ffaker/ssn_mx.rb
|
461
494
|
- lib/ffaker/ssn_se.rb
|
@@ -505,6 +538,9 @@ files:
|
|
505
538
|
- test/test_address_us.rb
|
506
539
|
- test/test_airline.rb
|
507
540
|
- test/test_animal.rb
|
541
|
+
- test/test_animal_cn.rb
|
542
|
+
- test/test_animal_pl.rb
|
543
|
+
- test/test_animal_us.rb
|
508
544
|
- test/test_array_utils.rb
|
509
545
|
- test/test_avatar.rb
|
510
546
|
- test/test_aws.rb
|
@@ -525,6 +561,7 @@ files:
|
|
525
561
|
- test/test_currency.rb
|
526
562
|
- test/test_dizzle_ipsum.rb
|
527
563
|
- test/test_education.rb
|
564
|
+
- test/test_education_cn.rb
|
528
565
|
- test/test_faker.rb
|
529
566
|
- test/test_filesystem.rb
|
530
567
|
- test/test_food.rb
|
@@ -532,10 +569,13 @@ files:
|
|
532
569
|
- test/test_gender_br.rb
|
533
570
|
- test/test_gender_cn.rb
|
534
571
|
- test/test_gender_id.rb
|
572
|
+
- test/test_gender_jp.rb
|
535
573
|
- test/test_gender_kr.rb
|
574
|
+
- test/test_gender_pl.rb
|
536
575
|
- test/test_geolocation.rb
|
537
576
|
- test/test_guid.rb
|
538
577
|
- test/test_healthcare_ipsum.rb
|
578
|
+
- test/test_healthcare_ru.rb
|
539
579
|
- test/test_hipster_ipsum.rb
|
540
580
|
- test/test_html_ipsum.rb
|
541
581
|
- test/test_identification.rb
|
@@ -595,6 +635,7 @@ files:
|
|
595
635
|
- test/test_name_sn.rb
|
596
636
|
- test/test_name_th.rb
|
597
637
|
- test/test_name_th_en.rb
|
638
|
+
- test/test_name_tw.rb
|
598
639
|
- test/test_name_ua.rb
|
599
640
|
- test/test_name_vn.rb
|
600
641
|
- test/test_nato_alphabet.rb
|
@@ -609,11 +650,14 @@ files:
|
|
609
650
|
- test/test_phone_number_kr.rb
|
610
651
|
- test/test_phone_number_mx.rb
|
611
652
|
- test/test_phone_number_nl.rb
|
653
|
+
- test/test_phone_number_pl.rb
|
612
654
|
- test/test_phone_number_se.rb
|
613
655
|
- test/test_phone_number_sg.rb
|
614
656
|
- test/test_phone_number_sn.rb
|
657
|
+
- test/test_phone_number_tw.rb
|
615
658
|
- test/test_products.rb
|
616
659
|
- test/test_skill.rb
|
660
|
+
- test/test_sport_us.rb
|
617
661
|
- test/test_sports.rb
|
618
662
|
- test/test_ssn.rb
|
619
663
|
- test/test_ssn_mx.rb
|
@@ -662,6 +706,7 @@ test_files:
|
|
662
706
|
- test/test_name_ph.rb
|
663
707
|
- test/test_name.rb
|
664
708
|
- test/test_company_se.rb
|
709
|
+
- test/test_gender_pl.rb
|
665
710
|
- test/test_tweet.rb
|
666
711
|
- test/test_animal.rb
|
667
712
|
- test/test_address_ja.rb
|
@@ -672,6 +717,7 @@ test_files:
|
|
672
717
|
- test/test_name_kr.rb
|
673
718
|
- test/test_phone_number_cu.rb
|
674
719
|
- test/test_address_id.rb
|
720
|
+
- test/test_phone_number_pl.rb
|
675
721
|
- test/test_nato_alphabet.rb
|
676
722
|
- test/test_job_cn.rb
|
677
723
|
- test/test_education.rb
|
@@ -689,10 +735,12 @@ test_files:
|
|
689
735
|
- test/helper.rb
|
690
736
|
- test/test_units.rb
|
691
737
|
- test/test_sports.rb
|
738
|
+
- test/test_education_cn.rb
|
692
739
|
- test/test_company_cn.rb
|
693
740
|
- test/test_venue.rb
|
694
741
|
- test/test_name_ja.rb
|
695
742
|
- test/test_cheesy_lingo.rb
|
743
|
+
- test/test_animal_us.rb
|
696
744
|
- test/test_name_th_en.rb
|
697
745
|
- test/test_gender.rb
|
698
746
|
- test/test_phone_number_id.rb
|
@@ -706,11 +754,13 @@ test_files:
|
|
706
754
|
- test/test_book.rb
|
707
755
|
- test/test_skill.rb
|
708
756
|
- test/test_filesystem.rb
|
757
|
+
- test/test_healthcare_ru.rb
|
709
758
|
- test/test_phone_number.rb
|
710
759
|
- test/test_units_metric.rb
|
711
760
|
- test/test_gender_id.rb
|
712
761
|
- test/test_lorem_ar.rb
|
713
762
|
- test/test_lorem_cn.rb
|
763
|
+
- test/test_animal_cn.rb
|
714
764
|
- test/test_address_fi.rb
|
715
765
|
- test/test_currency.rb
|
716
766
|
- test/test_address_ch.rb
|
@@ -718,6 +768,7 @@ test_files:
|
|
718
768
|
- test/test_phone_number_mx.rb
|
719
769
|
- test/test_phone_number_da.rb
|
720
770
|
- test/test_address_ch_it.rb
|
771
|
+
- test/test_sport_us.rb
|
721
772
|
- test/test_internet.rb
|
722
773
|
- test/test_job_ja.rb
|
723
774
|
- test/test_image.rb
|
@@ -733,6 +784,7 @@ test_files:
|
|
733
784
|
- test/test_healthcare_ipsum.rb
|
734
785
|
- test/test_dizzle_ipsum.rb
|
735
786
|
- test/test_array_utils.rb
|
787
|
+
- test/test_animal_pl.rb
|
736
788
|
- test/test_address_uk.rb
|
737
789
|
- test/test_name_ua.rb
|
738
790
|
- test/test_address_nl.rb
|
@@ -759,6 +811,7 @@ test_files:
|
|
759
811
|
- test/test_internet_se.rb
|
760
812
|
- test/test_address.rb
|
761
813
|
- test/test_identification_br.rb
|
814
|
+
- test/test_name_tw.rb
|
762
815
|
- test/test_products.rb
|
763
816
|
- test/test_address_ch_de.rb
|
764
817
|
- test/test_time.rb
|
@@ -790,6 +843,7 @@ test_files:
|
|
790
843
|
- test/test_phone_number_fr.rb
|
791
844
|
- test/test_phone_number_nl.rb
|
792
845
|
- test/test_faker.rb
|
846
|
+
- test/test_gender_jp.rb
|
793
847
|
- test/test_address_se.rb
|
794
848
|
- test/test_name_vn.rb
|
795
849
|
- test/test_address_de.rb
|
@@ -799,6 +853,7 @@ test_files:
|
|
799
853
|
- test/test_gender_br.rb
|
800
854
|
- test/test_name_ar.rb
|
801
855
|
- test/test_course_philosophie.rb
|
856
|
+
- test/test_phone_number_tw.rb
|
802
857
|
- test/test_name_cn.rb
|
803
858
|
- test/test_address_da.rb
|
804
859
|
- test/test_name_it.rb
|