ffaker 2.2.0 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog.md +34 -0
- data/README.md +4 -0
- data/REFERENCE.md +1153 -800
- data/Rakefile +23 -24
- data/ffaker.gemspec +12 -420
- data/lib/ffaker.rb +47 -7
- data/lib/ffaker/address.rb +11 -11
- data/lib/ffaker/address_au.rb +60 -60
- data/lib/ffaker/address_br.rb +5 -5
- data/lib/ffaker/address_ca.rb +7 -7
- data/lib/ffaker/address_ch.rb +1 -2
- data/lib/ffaker/address_ch_de.rb +1 -1
- data/lib/ffaker/address_ch_fr.rb +1 -1
- data/lib/ffaker/address_ch_it.rb +1 -1
- data/lib/ffaker/address_da.rb +5 -5
- data/lib/ffaker/address_de.rb +16 -12
- data/lib/ffaker/address_fi.rb +7 -8
- data/lib/ffaker/address_fr.rb +13 -13
- data/lib/ffaker/address_gr.rb +40 -0
- data/lib/ffaker/address_in.rb +12 -12
- data/lib/ffaker/address_kr.rb +87 -0
- data/lib/ffaker/address_mx.rb +409 -409
- data/lib/ffaker/address_nl.rb +17 -13
- data/lib/ffaker/address_ru.rb +6 -6
- data/lib/ffaker/address_se.rb +7 -8
- data/lib/ffaker/address_sn.rb +3 -3
- data/lib/ffaker/address_ua.rb +8 -8
- data/lib/ffaker/address_uk.rb +5 -5
- data/lib/ffaker/address_us.rb +9 -9
- data/lib/ffaker/airline.rb +16 -0
- data/lib/ffaker/avatar.rb +3 -3
- data/lib/ffaker/aws.rb +24 -0
- data/lib/ffaker/bacon_ipsum.rb +2 -2
- data/lib/ffaker/book.rb +45 -0
- data/lib/ffaker/boolean.rb +2 -2
- data/lib/ffaker/cheesy_lingo.rb +15 -12
- data/lib/ffaker/color.rb +54 -1
- data/lib/ffaker/color_ua.rb +1 -1
- data/lib/ffaker/company.rb +13 -11
- data/lib/ffaker/company_cn.rb +23 -0
- data/lib/ffaker/company_it.rb +4 -4
- data/lib/ffaker/company_se.rb +2 -2
- data/lib/ffaker/conference.rb +1 -1
- data/lib/ffaker/courses.rb +2 -3
- data/lib/ffaker/currency.rb +2 -2
- data/lib/ffaker/data/address_gr/city +79 -0
- data/lib/ffaker/data/address_gr/region +13 -0
- data/lib/ffaker/data/address_gr/street +100 -0
- data/lib/ffaker/data/address_kr/boroughs +29 -0
- data/lib/ffaker/data/address_kr/cities +51 -0
- data/lib/ffaker/data/airline/codes_list +209 -0
- data/lib/ffaker/data/airline/names_list +206 -0
- data/lib/ffaker/data/aws/ec2_instance_type +59 -0
- data/lib/ffaker/data/aws/ec2_reserved_instance_tenancy +3 -0
- data/lib/ffaker/data/aws/ec2_reserved_offering_type +6 -0
- data/lib/ffaker/data/aws/ec2_reserved_product_description +14 -0
- data/lib/ffaker/data/book/adj_and_adv +20 -0
- data/lib/ffaker/data/book/genres +369 -0
- data/lib/ffaker/data/book/nouns +36 -0
- data/lib/ffaker/data/book/prefixes +17 -0
- data/lib/ffaker/data/color/names_list +128 -0
- data/lib/ffaker/data/education/degree_prefix +274 -0
- data/lib/ffaker/data/education/degree_short_prefix +19 -0
- data/lib/ffaker/data/job_br/job_nouns +52 -0
- data/lib/ffaker/data/job_vn/job_nouns +191 -0
- data/lib/ffaker/data/lorem_ja/characters +101 -0
- data/lib/ffaker/data/lorem_ja/sentences +30 -0
- data/lib/ffaker/data/lorem_ja/sentences_end +21 -0
- data/lib/ffaker/data/lorem_ja/words +81 -0
- data/lib/ffaker/data/name/first_names_female +4275 -0
- data/lib/ffaker/data/name/first_names_male +1219 -0
- data/lib/ffaker/data/name_br/first_names_female +1068 -0
- data/lib/ffaker/data/name_br/first_names_male +607 -0
- data/lib/ffaker/data/name_br/last_names +52 -0
- data/lib/ffaker/data/name_gr/female_first_names +80 -0
- data/lib/ffaker/data/name_gr/female_last_names +45 -0
- data/lib/ffaker/data/name_gr/male_first_names +90 -0
- data/lib/ffaker/data/name_gr/male_last_names +57 -0
- data/lib/ffaker/data/name_kh/first_names +64 -0
- data/lib/ffaker/data/name_kh/last_names +71 -0
- data/lib/ffaker/data/name_kh/nick_names +30 -0
- data/lib/ffaker/data/name_then/first_names +292 -0
- data/lib/ffaker/data/name_then/last_names +63 -0
- data/lib/ffaker/data/name_then/nick_names +30 -0
- data/lib/ffaker/data/phone_number/phone_calling_code +205 -0
- data/lib/ffaker/data/sport/names +57 -24
- data/lib/ffaker/data/tweet/hashtag +58 -0
- data/lib/ffaker/data/youtube/video_ids +50 -0
- data/lib/ffaker/dizzle_ipsum.rb +2 -2
- data/lib/ffaker/education.rb +17 -16
- data/lib/ffaker/food.rb +5 -6
- data/lib/ffaker/gender.rb +4 -4
- data/lib/ffaker/gender_br.rb +17 -0
- data/lib/ffaker/gender_cn.rb +4 -4
- data/lib/ffaker/gender_kr.rb +4 -4
- data/lib/ffaker/geolocation.rb +26 -26
- data/lib/ffaker/healthcare_ipsum.rb +2 -2
- data/lib/ffaker/hipster_ipsum.rb +2 -2
- data/lib/ffaker/html_ipsum.rb +101 -81
- data/lib/ffaker/identification.rb +4 -4
- data/lib/ffaker/identification_br.rb +84 -0
- data/lib/ffaker/identification_es.rb +2 -2
- data/lib/ffaker/identification_es_cl.rb +7 -5
- data/lib/ffaker/identification_es_co.rb +9 -10
- data/lib/ffaker/identification_kr.rb +3 -4
- data/lib/ffaker/identification_mx.rb +27 -11
- data/lib/ffaker/internet.rb +26 -23
- data/lib/ffaker/internet_se.rb +21 -21
- data/lib/ffaker/job.rb +1 -1
- data/lib/ffaker/job_br.rb +12 -0
- data/lib/ffaker/job_cn.rb +1 -1
- data/lib/ffaker/job_fr.rb +3 -3
- data/lib/ffaker/job_ja.rb +2 -1
- data/lib/ffaker/job_kr.rb +1 -1
- data/lib/ffaker/job_vn.rb +13 -0
- data/lib/ffaker/locale.rb +2 -3
- data/lib/ffaker/lorem.rb +5 -5
- data/lib/ffaker/lorem_ar.rb +4 -4
- data/lib/ffaker/lorem_cn.rb +3 -3
- data/lib/ffaker/lorem_fr.rb +4 -4
- data/lib/ffaker/lorem_ja.rb +40 -0
- data/lib/ffaker/lorem_kr.rb +4 -4
- data/lib/ffaker/lorem_ua.rb +8 -11
- data/lib/ffaker/movie.rb +18 -20
- data/lib/ffaker/music.rb +4 -4
- data/lib/ffaker/name.rb +100 -11
- data/lib/ffaker/name_br.rb +37 -6
- data/lib/ffaker/name_cn.rb +2 -2
- data/lib/ffaker/name_cs.rb +10 -10
- data/lib/ffaker/name_da.rb +6 -6
- data/lib/ffaker/name_de.rb +5 -5
- data/lib/ffaker/name_fr.rb +4 -4
- data/lib/ffaker/name_ga.rb +4 -5
- data/lib/ffaker/name_gr.rb +60 -0
- data/lib/ffaker/name_it.rb +4 -4
- data/lib/ffaker/name_ja.rb +3 -3
- data/lib/ffaker/name_kh.rb +22 -0
- data/lib/ffaker/name_kr.rb +3 -3
- data/lib/ffaker/name_mx.rb +14 -14
- data/lib/ffaker/name_nb.rb +5 -5
- data/lib/ffaker/name_nl.rb +7 -7
- data/lib/ffaker/name_ph.rb +2 -2
- data/lib/ffaker/name_ru.rb +7 -8
- data/lib/ffaker/name_se.rb +5 -5
- data/lib/ffaker/name_sn.rb +23 -23
- data/lib/ffaker/name_th.rb +3 -3
- data/lib/ffaker/name_th_en.rb +26 -0
- data/lib/ffaker/name_ua.rb +8 -8
- data/lib/ffaker/name_vn.rb +4 -4
- data/lib/ffaker/nato_alphabet.rb +10 -10
- data/lib/ffaker/phone_number.rb +31 -21
- data/lib/ffaker/phone_number_au.rb +3 -3
- data/lib/ffaker/phone_number_br.rb +9 -8
- data/lib/ffaker/phone_number_ch.rb +7 -7
- data/lib/ffaker/phone_number_cu.rb +5 -5
- data/lib/ffaker/phone_number_de.rb +1 -1
- data/lib/ffaker/phone_number_fr.rb +4 -4
- data/lib/ffaker/phone_number_it.rb +2 -2
- data/lib/ffaker/phone_number_kr.rb +4 -4
- data/lib/ffaker/phone_number_mx.rb +4 -5
- data/lib/ffaker/phone_number_nl.rb +13 -13
- data/lib/ffaker/phone_number_se.rb +18 -19
- data/lib/ffaker/phone_number_sg.rb +8 -8
- data/lib/ffaker/phone_number_sn.rb +2 -2
- data/lib/ffaker/product.rb +18 -14
- data/lib/ffaker/skill.rb +3 -3
- data/lib/ffaker/sport.rb +1 -1
- data/lib/ffaker/ssn_se.rb +19 -20
- data/lib/ffaker/string.rb +21 -23
- data/lib/ffaker/time.rb +19 -7
- data/lib/ffaker/tweet.rb +59 -0
- data/lib/ffaker/unit.rb +12 -12
- data/lib/ffaker/unit_english.rb +34 -35
- data/lib/ffaker/unit_metric.rb +25 -25
- data/lib/ffaker/utils/array_utils.rb +12 -9
- data/lib/ffaker/utils/module_utils.rb +9 -6
- data/lib/ffaker/utils/random_utils.rb +33 -0
- data/lib/ffaker/vehicle.rb +21 -21
- data/lib/ffaker/venue.rb +1 -1
- data/lib/ffaker/youtube.rb +24 -0
- data/scripts/benchmark.rb +3 -3
- data/scripts/reference.rb +26 -23
- data/test/helper.rb +50 -0
- data/test/test_address.rb +40 -21
- data/test/test_address_au.rb +19 -9
- data/test/test_address_br.rb +9 -2
- data/test/test_address_ca.rb +7 -0
- data/test/test_address_ch.rb +6 -2
- data/test/test_address_ch_de.rb +7 -3
- data/test/test_address_ch_fr.rb +7 -3
- data/test/test_address_ch_it.rb +5 -1
- data/test/test_address_da.rb +18 -9
- data/test/test_address_de.rb +12 -5
- data/test/test_address_fi.rb +10 -3
- data/test/test_address_fr.rb +13 -0
- data/test/test_address_gr.rb +43 -0
- data/test/test_address_in.rb +20 -12
- data/test/test_address_kr.rb +14 -0
- data/test/test_address_mx.rb +12 -5
- data/test/test_address_nl.rb +11 -5
- data/test/test_address_ru.rb +11 -5
- data/test/test_address_se.rb +9 -3
- data/test/test_address_sn.rb +7 -1
- data/test/test_address_ua.rb +17 -10
- data/test/test_address_uk.rb +11 -3
- data/test/test_address_us.rb +15 -6
- data/test/test_airline.rb +17 -0
- data/test/test_array_utils.rb +51 -3
- data/test/test_avatar.rb +5 -1
- data/test/test_aws.rb +25 -0
- data/test/test_bacon_ipsum.rb +12 -6
- data/test/test_book.rb +41 -0
- data/test/test_boolean.rb +4 -0
- data/test/test_cheesy_lingo.rb +14 -10
- data/test/test_color.rb +126 -1
- data/test/test_color_ua.rb +5 -1
- data/test/test_company.rb +7 -0
- data/test/test_company_cn.rb +24 -0
- data/test/test_company_it.rb +7 -1
- data/test/test_company_se.rb +6 -0
- data/test/test_conference.rb +5 -2
- data/test/test_course_mathematiques.rb +5 -1
- data/test/test_course_philosophie.rb +5 -1
- data/test/test_currency.rb +12 -0
- data/test/test_dizzle_ipsum.rb +12 -6
- data/test/test_education.rb +9 -2
- data/test/test_faker.rb +8 -1
- data/test/test_food.rb +11 -4
- data/test/test_gender.rb +5 -1
- data/test/test_gender_br.rb +18 -0
- data/test/test_gender_cn.rb +5 -2
- data/test/test_gender_kr.rb +7 -3
- data/test/test_geolocation.rb +11 -8
- data/test/test_guid.rb +6 -1
- data/test/test_healthcare_ipsum.rb +13 -6
- data/test/test_hipster_ipsum.rb +13 -6
- data/test/test_html_ipsum.rb +28 -20
- data/test/test_identification.rb +9 -2
- data/test/test_identification_br.rb +46 -0
- data/test/test_identification_co.rb +7 -0
- data/test/test_identification_es.rb +5 -1
- data/test/test_identification_es_cl.rb +5 -1
- data/test/test_identification_es_mx.rb +7 -2
- data/test/test_identification_kr.rb +4 -0
- data/test/test_internet.rb +36 -5
- data/test/test_internet_se.rb +12 -4
- data/test/test_job.rb +4 -0
- data/test/test_job_br.rb +17 -0
- data/test/test_job_cn.rb +4 -0
- data/test/test_job_fr.rb +4 -0
- data/test/test_job_ja.rb +4 -0
- data/test/test_job_kr.rb +4 -0
- data/test/test_job_vn.rb +22 -0
- data/test/test_locale.rb +10 -4
- data/test/test_lorem.rb +18 -11
- data/test/test_lorem_ar.rb +16 -8
- data/test/test_lorem_cn.rb +9 -2
- data/test/test_lorem_fr.rb +16 -8
- data/test/test_lorem_ja.rb +81 -0
- data/test/test_lorem_kr.rb +17 -8
- data/test/test_lorem_ua.rb +15 -8
- data/test/test_module_utils.rb +2 -2
- data/test/test_movie.rb +5 -1
- data/test/test_music.rb +11 -4
- data/test/test_name.rb +114 -1
- data/test/test_name_br.rb +41 -2
- data/test/test_name_cn.rb +7 -0
- data/test/test_name_cs.rb +7 -0
- data/test/test_name_da.rb +13 -6
- data/test/test_name_de.rb +4 -0
- data/test/test_name_fr.rb +7 -0
- data/test/test_name_ga.rb +7 -0
- data/test/test_name_gr.rb +70 -0
- data/test/test_name_it.rb +7 -0
- data/test/test_name_ja.rb +7 -0
- data/test/test_name_kh.rb +32 -0
- data/test/test_name_kr.rb +7 -0
- data/test/test_name_mx.rb +9 -0
- data/test/test_name_nb.rb +8 -0
- data/test/test_name_nl.rb +4 -0
- data/test/test_name_ph.rb +7 -0
- data/test/test_name_ru.rb +10 -3
- data/test/test_name_se.rb +12 -4
- data/test/test_name_sn.rb +8 -0
- data/test/test_name_th.rb +7 -0
- data/test/test_name_th_en.rb +35 -0
- data/test/test_name_ua.rb +26 -17
- data/test/test_name_vn.rb +42 -0
- data/test/test_nato_alphabet.rb +15 -4
- data/test/test_phone_number.rb +24 -6
- data/test/test_phone_number_au.rb +17 -6
- data/test/test_phone_number_br.rb +22 -13
- data/test/test_phone_number_cu.rb +29 -18
- data/test/test_phone_number_da.rb +16 -7
- data/test/test_phone_number_de.rb +17 -9
- data/test/test_phone_number_kr.rb +9 -0
- data/test/test_phone_number_mx.rb +16 -8
- data/test/test_phone_number_nl.rb +9 -2
- data/test/test_phone_number_se.rb +12 -7
- data/test/test_phone_number_sg.rb +17 -9
- data/test/test_phone_number_sn.rb +12 -4
- data/test/test_products.rb +22 -0
- data/test/test_skill.rb +8 -2
- data/test/test_sports.rb +4 -0
- data/test/test_ssn.rb +3 -1
- data/test/test_ssn_mx.rb +6 -1
- data/test/test_ssn_se.rb +3 -0
- data/test/test_string.rb +28 -1
- data/test/test_time.rb +33 -2
- data/test/test_tweet.rb +59 -0
- data/test/test_units.rb +7 -0
- data/test/test_units_english.rb +9 -0
- data/test/test_units_metric.rb +9 -0
- data/test/test_vehicle.rb +24 -15
- data/test/test_venue.rb +5 -1
- data/test/test_youtube.rb +28 -0
- metadata +101 -5
- data/lib/ffaker/data/name/first_names +0 -3008
- data/lib/ffaker/data/name_br/first_names +0 -91
data/Rakefile
CHANGED
@@ -2,12 +2,11 @@ require 'rubygems'
|
|
2
2
|
require 'rake'
|
3
3
|
require 'date'
|
4
4
|
|
5
|
-
require
|
5
|
+
require 'test/unit/testsuite'
|
6
6
|
|
7
7
|
module Test
|
8
8
|
module Unit
|
9
9
|
class TestSuite
|
10
|
-
|
11
10
|
def run(result, &progress_block)
|
12
11
|
yield(STARTED, name)
|
13
12
|
run_startup(result)
|
@@ -54,7 +53,7 @@ def gem_file
|
|
54
53
|
end
|
55
54
|
|
56
55
|
def replace_header(head, header_name)
|
57
|
-
head.sub!(/(\.#{header_name}\s*= ').*'/) { "#{
|
56
|
+
head.sub!(/(\.#{header_name}\s*= ').*'/) { "#{Regexp.last_match(1)}#{send(header_name)}'" }
|
58
57
|
end
|
59
58
|
|
60
59
|
#############################################################################
|
@@ -65,12 +64,12 @@ end
|
|
65
64
|
|
66
65
|
require 'rake/testtask'
|
67
66
|
Rake::TestTask.new do |t|
|
68
|
-
t.libs <<
|
67
|
+
t.libs << 'test/' << 'lib/'
|
69
68
|
t.test_files = FileList['test/test*.rb']
|
70
69
|
t.verbose = true
|
71
70
|
end
|
72
71
|
|
73
|
-
task :
|
72
|
+
task default: :test
|
74
73
|
|
75
74
|
#############################################################################
|
76
75
|
#
|
@@ -83,7 +82,7 @@ begin
|
|
83
82
|
YARD::Rake::YardocTask.new
|
84
83
|
rescue LoadError
|
85
84
|
task :yardoc do
|
86
|
-
abort
|
85
|
+
abort 'YARD is not available. In order to run yardoc, you must: sudo gem install yard'
|
87
86
|
end
|
88
87
|
end
|
89
88
|
|
@@ -93,25 +92,25 @@ end
|
|
93
92
|
#
|
94
93
|
#############################################################################
|
95
94
|
|
96
|
-
task :
|
95
|
+
task release: :build do
|
97
96
|
unless `git branch` =~ /^\* master$/
|
98
|
-
puts
|
97
|
+
puts 'You must be on the master branch to release!'
|
99
98
|
exit!
|
100
99
|
end
|
101
100
|
sh "git commit --allow-empty -a -m 'Release #{version}'"
|
102
101
|
sh "git tag v#{version}"
|
103
|
-
sh
|
104
|
-
sh
|
102
|
+
sh 'git push origin master'
|
103
|
+
sh 'git push --tags'
|
105
104
|
sh "gem push pkg/#{name}-#{version}.gem"
|
106
105
|
end
|
107
106
|
|
108
|
-
task :
|
109
|
-
sh
|
107
|
+
task build: [:gemspec, :reference] do
|
108
|
+
sh 'mkdir -p pkg'
|
110
109
|
sh "gem build #{gemspec_file}"
|
111
110
|
sh "mv #{gem_file} pkg"
|
112
111
|
end
|
113
112
|
|
114
|
-
task :
|
113
|
+
task gemspec: :validate do
|
115
114
|
# read spec file and split out manifest section
|
116
115
|
spec = File.read(gemspec_file)
|
117
116
|
head, manifest, tail = spec.split(" # = MANIFEST =\n")
|
@@ -120,17 +119,17 @@ task :gemspec => :validate do
|
|
120
119
|
replace_header(head, :name)
|
121
120
|
replace_header(head, :version)
|
122
121
|
replace_header(head, :date)
|
123
|
-
#comment this out if your rubyforge_project has a different name
|
122
|
+
# comment this out if your rubyforge_project has a different name
|
124
123
|
replace_header(head, :rubyforge_project)
|
125
124
|
|
126
125
|
# determine file list from git ls-files
|
127
|
-
files = `git ls-files
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
126
|
+
files = `git ls-files`
|
127
|
+
.split("\n")
|
128
|
+
.sort
|
129
|
+
.reject { |file| file =~ /^\./ }
|
130
|
+
.reject { |file| file =~ /^(rdoc|pkg)/ }
|
131
|
+
.map { |file| " #{file}" }
|
132
|
+
.join("\n")
|
134
133
|
|
135
134
|
# piece file back together and write
|
136
135
|
manifest = " s.files = %w[\n#{files}\n ]\n"
|
@@ -146,12 +145,12 @@ task :validate do
|
|
146
145
|
exit!
|
147
146
|
end
|
148
147
|
unless Dir['VERSION*'].empty?
|
149
|
-
puts
|
148
|
+
puts 'A `VERSION` file at root level violates Gem best practices.'
|
150
149
|
exit!
|
151
150
|
end
|
152
151
|
end
|
153
152
|
|
154
|
-
desc
|
153
|
+
desc 'Creates REFERENCE.md'
|
155
154
|
task :reference do
|
156
|
-
system
|
155
|
+
system 'ruby ./scripts/reference.rb > REFERENCE.md'
|
157
156
|
end
|
data/ffaker.gemspec
CHANGED
@@ -1,33 +1,33 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.specification_version = 2 if s.respond_to? :specification_version=
|
3
|
-
s.required_rubygems_version = Gem::Requirement.new(
|
3
|
+
s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to? :required_rubygems_version=
|
4
4
|
s.rubygems_version = '1.3.5'
|
5
5
|
|
6
6
|
s.name = 'ffaker'
|
7
|
-
s.version = '2.
|
8
|
-
s.date = '2016-
|
7
|
+
s.version = '2.3.0'
|
8
|
+
s.date = '2016-11-13'
|
9
9
|
s.rubyforge_project = 'ffaker'
|
10
10
|
s.required_ruby_version = '>= 1.9'
|
11
11
|
|
12
12
|
s.license = 'MIT'
|
13
13
|
|
14
|
-
s.summary =
|
15
|
-
s.description =
|
14
|
+
s.summary = 'Ffaker generates dummy data.'
|
15
|
+
s.description = 'Ffaker generates dummy data.'
|
16
16
|
|
17
|
-
s.authors
|
17
|
+
s.authors = [
|
18
18
|
'https://github.com/ffaker/ffaker/graphs/contributors',
|
19
19
|
'Emmanuel Oga'
|
20
20
|
]
|
21
21
|
s.email = 'EmmanuelOga@gmail.com'
|
22
22
|
s.homepage = 'http://github.com/ffaker/ffaker'
|
23
23
|
|
24
|
-
s.require_paths = %w
|
24
|
+
s.require_paths = %w(lib)
|
25
25
|
|
26
|
-
s.rdoc_options = [
|
27
|
-
s.extra_rdoc_files = %w
|
26
|
+
s.rdoc_options = ['--charset=UTF-8']
|
27
|
+
s.extra_rdoc_files = %w(README.md LICENSE Changelog.md)
|
28
28
|
|
29
29
|
# = MANIFEST =
|
30
|
-
s.files = %w
|
30
|
+
s.files = %w(
|
31
31
|
Changelog.md
|
32
32
|
Gemfile
|
33
33
|
LICENSE
|
@@ -35,418 +35,10 @@ Gem::Specification.new do |s|
|
|
35
35
|
REFERENCE.md
|
36
36
|
Rakefile
|
37
37
|
ffaker.gemspec
|
38
|
-
|
39
|
-
lib/ffaker/address.rb
|
40
|
-
lib/ffaker/address_au.rb
|
41
|
-
lib/ffaker/address_br.rb
|
42
|
-
lib/ffaker/address_ca.rb
|
43
|
-
lib/ffaker/address_ch.rb
|
44
|
-
lib/ffaker/address_ch_de.rb
|
45
|
-
lib/ffaker/address_ch_fr.rb
|
46
|
-
lib/ffaker/address_ch_it.rb
|
47
|
-
lib/ffaker/address_da.rb
|
48
|
-
lib/ffaker/address_de.rb
|
49
|
-
lib/ffaker/address_fi.rb
|
50
|
-
lib/ffaker/address_fr.rb
|
51
|
-
lib/ffaker/address_in.rb
|
52
|
-
lib/ffaker/address_mx.rb
|
53
|
-
lib/ffaker/address_nl.rb
|
54
|
-
lib/ffaker/address_ru.rb
|
55
|
-
lib/ffaker/address_se.rb
|
56
|
-
lib/ffaker/address_sn.rb
|
57
|
-
lib/ffaker/address_ua.rb
|
58
|
-
lib/ffaker/address_uk.rb
|
59
|
-
lib/ffaker/address_us.rb
|
60
|
-
lib/ffaker/avatar.rb
|
61
|
-
lib/ffaker/bacon_ipsum.rb
|
62
|
-
lib/ffaker/boolean.rb
|
63
|
-
lib/ffaker/cheesy_lingo.rb
|
64
|
-
lib/ffaker/color.rb
|
65
|
-
lib/ffaker/color_ua.rb
|
66
|
-
lib/ffaker/company.rb
|
67
|
-
lib/ffaker/company_it.rb
|
68
|
-
lib/ffaker/company_se.rb
|
69
|
-
lib/ffaker/conference.rb
|
70
|
-
lib/ffaker/courses.rb
|
71
|
-
lib/ffaker/currency.rb
|
72
|
-
lib/ffaker/data/address/city_suffixes
|
73
|
-
lib/ffaker/data/address/country
|
74
|
-
lib/ffaker/data/address/country_code
|
75
|
-
lib/ffaker/data/address/neighborhood
|
76
|
-
lib/ffaker/data/address/street_suffix
|
77
|
-
lib/ffaker/data/address/time_zone
|
78
|
-
lib/ffaker/data/address_br/city
|
79
|
-
lib/ffaker/data/address_br/state
|
80
|
-
lib/ffaker/data/address_br/state_abbr
|
81
|
-
lib/ffaker/data/address_ca/city
|
82
|
-
lib/ffaker/data/address_ca/province
|
83
|
-
lib/ffaker/data/address_ch/canton_abbr
|
84
|
-
lib/ffaker/data/address_chde/canton
|
85
|
-
lib/ffaker/data/address_chfr/canton
|
86
|
-
lib/ffaker/data/address_chit/canton
|
87
|
-
lib/ffaker/data/address_da/city
|
88
|
-
lib/ffaker/data/address_da/kommune
|
89
|
-
lib/ffaker/data/address_da/street
|
90
|
-
lib/ffaker/data/address_de/city
|
91
|
-
lib/ffaker/data/address_de/state
|
92
|
-
lib/ffaker/data/address_fi/city
|
93
|
-
lib/ffaker/data/address_fi/countries
|
94
|
-
lib/ffaker/data/address_fi/street
|
95
|
-
lib/ffaker/data/address_fr/city
|
96
|
-
lib/ffaker/data/address_in/state
|
97
|
-
lib/ffaker/data/address_in/state_abbr
|
98
|
-
lib/ffaker/data/address_in/union_territory
|
99
|
-
lib/ffaker/data/address_in/union_territory_abbr
|
100
|
-
lib/ffaker/data/address_mx/state
|
101
|
-
lib/ffaker/data/address_mx/state_abbr
|
102
|
-
lib/ffaker/data/address_nl/city
|
103
|
-
lib/ffaker/data/address_nl/province
|
104
|
-
lib/ffaker/data/address_ru/city
|
105
|
-
lib/ffaker/data/address_ru/province
|
106
|
-
lib/ffaker/data/address_ru/street
|
107
|
-
lib/ffaker/data/address_se/city
|
108
|
-
lib/ffaker/data/address_se/countries
|
109
|
-
lib/ffaker/data/address_se/street
|
110
|
-
lib/ffaker/data/address_sn/arrondissements
|
111
|
-
lib/ffaker/data/address_sn/departements
|
112
|
-
lib/ffaker/data/address_sn/regions
|
113
|
-
lib/ffaker/data/address_ua/city
|
114
|
-
lib/ffaker/data/address_ua/country
|
115
|
-
lib/ffaker/data/address_ua/province
|
116
|
-
lib/ffaker/data/address_ua/street
|
117
|
-
lib/ffaker/data/address_uk/county
|
118
|
-
lib/ffaker/data/address_us/state
|
119
|
-
lib/ffaker/data/address_us/state_abbr
|
120
|
-
lib/ffaker/data/address_us/state_and_territories_abbr
|
121
|
-
lib/ffaker/data/bacon_ipsum/bacon_words
|
122
|
-
lib/ffaker/data/cheesy_lingo/cheesy_phrases
|
123
|
-
lib/ffaker/data/cheesy_lingo/cheesy_words
|
124
|
-
lib/ffaker/data/color/names_list
|
125
|
-
lib/ffaker/data/color_ua/names_list
|
126
|
-
lib/ffaker/data/company/bs_mid
|
127
|
-
lib/ffaker/data/company/bs_pos
|
128
|
-
lib/ffaker/data/company/bs_pre
|
129
|
-
lib/ffaker/data/company/catch_mid
|
130
|
-
lib/ffaker/data/company/catch_pos
|
131
|
-
lib/ffaker/data/company/catch_pre
|
132
|
-
lib/ffaker/data/company/position_areas
|
133
|
-
lib/ffaker/data/conference/conference_list
|
134
|
-
lib/ffaker/data/currency/currency_code
|
135
|
-
lib/ffaker/data/currency/currency_name
|
136
|
-
lib/ffaker/data/dizzle_ipsum/dizzle_words
|
137
|
-
lib/ffaker/data/education/major_noun
|
138
|
-
lib/ffaker/data/education/school_suffix
|
139
|
-
lib/ffaker/data/food/fruit
|
140
|
-
lib/ffaker/data/food/herb_spice
|
141
|
-
lib/ffaker/data/food/meat
|
142
|
-
lib/ffaker/data/food/vegetable
|
143
|
-
lib/ffaker/data/healthcare_ipsum/healthcare_words
|
144
|
-
lib/ffaker/data/hipster_ipsum/hipster_words
|
145
|
-
lib/ffaker/data/identification_mx/estados_curp
|
146
|
-
lib/ffaker/data/job/job_adj
|
147
|
-
lib/ffaker/data/job/job_noun
|
148
|
-
lib/ffaker/data/job/job_prefix
|
149
|
-
lib/ffaker/data/job_cn/job_nouns
|
150
|
-
lib/ffaker/data/job_fr/job_nouns
|
151
|
-
lib/ffaker/data/job_fr/job_prefixes
|
152
|
-
lib/ffaker/data/job_ja/job_nouns
|
153
|
-
lib/ffaker/data/job_kr/job_nouns
|
154
|
-
lib/ffaker/data/locale/language
|
155
|
-
lib/ffaker/data/locale/language_code
|
156
|
-
lib/ffaker/data/lorem/characters
|
157
|
-
lib/ffaker/data/lorem/words
|
158
|
-
lib/ffaker/data/lorem_ar/words
|
159
|
-
lib/ffaker/data/lorem_cn/words
|
160
|
-
lib/ffaker/data/lorem_fr/words
|
161
|
-
lib/ffaker/data/lorem_kr/words
|
162
|
-
lib/ffaker/data/lorem_ua/capital_chars
|
163
|
-
lib/ffaker/data/lorem_ua/chars
|
164
|
-
lib/ffaker/data/lorem_ua/words
|
165
|
-
lib/ffaker/data/mathematiques/lessons
|
166
|
-
lib/ffaker/data/movie/adj_and_adv
|
167
|
-
lib/ffaker/data/movie/nouns
|
168
|
-
lib/ffaker/data/movie/prefixes
|
169
|
-
lib/ffaker/data/music/albums
|
170
|
-
lib/ffaker/data/music/artists
|
171
|
-
lib/ffaker/data/music/genres
|
172
|
-
lib/ffaker/data/music/songs
|
173
|
-
lib/ffaker/data/name/first_names
|
174
|
-
lib/ffaker/data/name/last_names
|
175
|
-
lib/ffaker/data/name_br/first_names
|
176
|
-
lib/ffaker/data/name_br/last_names
|
177
|
-
lib/ffaker/data/name_cn/first_names
|
178
|
-
lib/ffaker/data/name_cn/last_names
|
179
|
-
lib/ffaker/data/name_cs/prefixes
|
180
|
-
lib/ffaker/data/name_da/female_first_names
|
181
|
-
lib/ffaker/data/name_da/last_names
|
182
|
-
lib/ffaker/data/name_da/male_first_names
|
183
|
-
lib/ffaker/data/name_de/first_names
|
184
|
-
lib/ffaker/data/name_de/last_names
|
185
|
-
lib/ffaker/data/name_fr/first_names
|
186
|
-
lib/ffaker/data/name_fr/last_names
|
187
|
-
lib/ffaker/data/name_ga/first_names_female
|
188
|
-
lib/ffaker/data/name_ga/first_names_male
|
189
|
-
lib/ffaker/data/name_it/first_names
|
190
|
-
lib/ffaker/data/name_it/last_names
|
191
|
-
lib/ffaker/data/name_ja/first_names
|
192
|
-
lib/ffaker/data/name_ja/last_names
|
193
|
-
lib/ffaker/data/name_kr/first_names
|
194
|
-
lib/ffaker/data/name_kr/last_names
|
195
|
-
lib/ffaker/data/name_mx/female_first_names
|
196
|
-
lib/ffaker/data/name_mx/last_names
|
197
|
-
lib/ffaker/data/name_mx/male_first_names
|
198
|
-
lib/ffaker/data/name_nb/first_names_female
|
199
|
-
lib/ffaker/data/name_nb/first_names_male
|
200
|
-
lib/ffaker/data/name_nb/last_names
|
201
|
-
lib/ffaker/data/name_nl/first_names_female
|
202
|
-
lib/ffaker/data/name_nl/first_names_male
|
203
|
-
lib/ffaker/data/name_nl/last_names
|
204
|
-
lib/ffaker/data/name_ph/autochthonous_surnames
|
205
|
-
lib/ffaker/data/name_ph/spanish_surnames
|
206
|
-
lib/ffaker/data/name_se/first_names_female
|
207
|
-
lib/ffaker/data/name_se/first_names_male
|
208
|
-
lib/ffaker/data/name_se/last_names
|
209
|
-
lib/ffaker/data/name_sn/first_names_female
|
210
|
-
lib/ffaker/data/name_sn/first_names_male
|
211
|
-
lib/ffaker/data/name_sn/last_names
|
212
|
-
lib/ffaker/data/name_th/first_names
|
213
|
-
lib/ffaker/data/name_th/last_names
|
214
|
-
lib/ffaker/data/name_th/nick_names
|
215
|
-
lib/ffaker/data/name_ua/first_names_female
|
216
|
-
lib/ffaker/data/name_ua/first_names_male
|
217
|
-
lib/ffaker/data/name_ua/last_names_female
|
218
|
-
lib/ffaker/data/name_ua/last_names_male
|
219
|
-
lib/ffaker/data/name_ua/middle_names_female
|
220
|
-
lib/ffaker/data/name_ua/middle_names_male
|
221
|
-
lib/ffaker/data/name_vn/first_names
|
222
|
-
lib/ffaker/data/name_vn/last_names
|
223
|
-
lib/ffaker/data/name_vn/middle_names
|
224
|
-
lib/ffaker/data/philosophie/lessons
|
225
|
-
lib/ffaker/data/phone_number_it/home_phone_prefixes
|
226
|
-
lib/ffaker/data/phone_number_it/mobile_phone_prefixes
|
227
|
-
lib/ffaker/data/phone_number_se/phone_prefix
|
228
|
-
lib/ffaker/data/product/adj
|
229
|
-
lib/ffaker/data/product/b1
|
230
|
-
lib/ffaker/data/product/noun
|
231
|
-
lib/ffaker/data/skill/specialty_end
|
232
|
-
lib/ffaker/data/skill/specialty_start
|
233
|
-
lib/ffaker/data/skill/tech_skills
|
234
|
-
lib/ffaker/data/sport/names
|
235
|
-
lib/ffaker/data/vehicle/displacements_list
|
236
|
-
lib/ffaker/data/vehicle/fuel_types_list
|
237
|
-
lib/ffaker/data/vehicle/makes_list
|
238
|
-
lib/ffaker/data/vehicle/models_list
|
239
|
-
lib/ffaker/data/vehicle/transmissions_list
|
240
|
-
lib/ffaker/data/vehicle/trims_list
|
241
|
-
lib/ffaker/data/vehicle/upholstery_list
|
242
|
-
lib/ffaker/data/venue/venue_list
|
243
|
-
lib/ffaker/dizzle_ipsum.rb
|
244
|
-
lib/ffaker/education.rb
|
245
|
-
lib/ffaker/food.rb
|
246
|
-
lib/ffaker/gender.rb
|
247
|
-
lib/ffaker/gender_cn.rb
|
248
|
-
lib/ffaker/gender_kr.rb
|
249
|
-
lib/ffaker/geolocation.rb
|
250
|
-
lib/ffaker/guid.rb
|
251
|
-
lib/ffaker/healthcare_ipsum.rb
|
252
|
-
lib/ffaker/hipster_ipsum.rb
|
253
|
-
lib/ffaker/html_ipsum.rb
|
254
|
-
lib/ffaker/identification.rb
|
255
|
-
lib/ffaker/identification_es.rb
|
256
|
-
lib/ffaker/identification_es_cl.rb
|
257
|
-
lib/ffaker/identification_es_co.rb
|
258
|
-
lib/ffaker/identification_kr.rb
|
259
|
-
lib/ffaker/identification_mx.rb
|
260
|
-
lib/ffaker/internet.rb
|
261
|
-
lib/ffaker/internet_se.rb
|
262
|
-
lib/ffaker/job.rb
|
263
|
-
lib/ffaker/job_cn.rb
|
264
|
-
lib/ffaker/job_fr.rb
|
265
|
-
lib/ffaker/job_ja.rb
|
266
|
-
lib/ffaker/job_kr.rb
|
267
|
-
lib/ffaker/locale.rb
|
268
|
-
lib/ffaker/lorem.rb
|
269
|
-
lib/ffaker/lorem_ar.rb
|
270
|
-
lib/ffaker/lorem_cn.rb
|
271
|
-
lib/ffaker/lorem_fr.rb
|
272
|
-
lib/ffaker/lorem_kr.rb
|
273
|
-
lib/ffaker/lorem_ua.rb
|
274
|
-
lib/ffaker/movie.rb
|
275
|
-
lib/ffaker/music.rb
|
276
|
-
lib/ffaker/name.rb
|
277
|
-
lib/ffaker/name_br.rb
|
278
|
-
lib/ffaker/name_cn.rb
|
279
|
-
lib/ffaker/name_cs.rb
|
280
|
-
lib/ffaker/name_da.rb
|
281
|
-
lib/ffaker/name_de.rb
|
282
|
-
lib/ffaker/name_fr.rb
|
283
|
-
lib/ffaker/name_ga.rb
|
284
|
-
lib/ffaker/name_it.rb
|
285
|
-
lib/ffaker/name_ja.rb
|
286
|
-
lib/ffaker/name_kr.rb
|
287
|
-
lib/ffaker/name_mx.rb
|
288
|
-
lib/ffaker/name_nb.rb
|
289
|
-
lib/ffaker/name_nl.rb
|
290
|
-
lib/ffaker/name_ph.rb
|
291
|
-
lib/ffaker/name_ru.rb
|
292
|
-
lib/ffaker/name_se.rb
|
293
|
-
lib/ffaker/name_sn.rb
|
294
|
-
lib/ffaker/name_th.rb
|
295
|
-
lib/ffaker/name_ua.rb
|
296
|
-
lib/ffaker/name_vn.rb
|
297
|
-
lib/ffaker/nato_alphabet.rb
|
298
|
-
lib/ffaker/phone_number.rb
|
299
|
-
lib/ffaker/phone_number_au.rb
|
300
|
-
lib/ffaker/phone_number_br.rb
|
301
|
-
lib/ffaker/phone_number_ch.rb
|
302
|
-
lib/ffaker/phone_number_cu.rb
|
303
|
-
lib/ffaker/phone_number_da.rb
|
304
|
-
lib/ffaker/phone_number_de.rb
|
305
|
-
lib/ffaker/phone_number_fr.rb
|
306
|
-
lib/ffaker/phone_number_it.rb
|
307
|
-
lib/ffaker/phone_number_kr.rb
|
308
|
-
lib/ffaker/phone_number_mx.rb
|
309
|
-
lib/ffaker/phone_number_nl.rb
|
310
|
-
lib/ffaker/phone_number_se.rb
|
311
|
-
lib/ffaker/phone_number_sg.rb
|
312
|
-
lib/ffaker/phone_number_sn.rb
|
313
|
-
lib/ffaker/product.rb
|
314
|
-
lib/ffaker/skill.rb
|
315
|
-
lib/ffaker/sport.rb
|
316
|
-
lib/ffaker/ssn.rb
|
317
|
-
lib/ffaker/ssn_mx.rb
|
318
|
-
lib/ffaker/ssn_se.rb
|
319
|
-
lib/ffaker/string.rb
|
320
|
-
lib/ffaker/time.rb
|
321
|
-
lib/ffaker/unit.rb
|
322
|
-
lib/ffaker/unit_english.rb
|
323
|
-
lib/ffaker/unit_metric.rb
|
324
|
-
lib/ffaker/utils/array_utils.rb
|
325
|
-
lib/ffaker/utils/module_utils.rb
|
326
|
-
lib/ffaker/vehicle.rb
|
327
|
-
lib/ffaker/venue.rb
|
328
|
-
scripts/benchmark.rb
|
329
|
-
scripts/profile.sh
|
330
|
-
scripts/profiling.rb
|
331
|
-
scripts/reference.rb
|
332
|
-
test/helper.rb
|
333
|
-
test/test_address.rb
|
334
|
-
test/test_address_au.rb
|
335
|
-
test/test_address_br.rb
|
336
|
-
test/test_address_ca.rb
|
337
|
-
test/test_address_ch.rb
|
338
|
-
test/test_address_ch_de.rb
|
339
|
-
test/test_address_ch_fr.rb
|
340
|
-
test/test_address_ch_it.rb
|
341
|
-
test/test_address_da.rb
|
342
|
-
test/test_address_de.rb
|
343
|
-
test/test_address_fi.rb
|
344
|
-
test/test_address_in.rb
|
345
|
-
test/test_address_mx.rb
|
346
|
-
test/test_address_nl.rb
|
347
|
-
test/test_address_ru.rb
|
348
|
-
test/test_address_se.rb
|
349
|
-
test/test_address_sn.rb
|
350
|
-
test/test_address_ua.rb
|
351
|
-
test/test_address_uk.rb
|
352
|
-
test/test_address_us.rb
|
353
|
-
test/test_array_utils.rb
|
354
|
-
test/test_avatar.rb
|
355
|
-
test/test_bacon_ipsum.rb
|
356
|
-
test/test_boolean.rb
|
357
|
-
test/test_cheesy_lingo.rb
|
358
|
-
test/test_color.rb
|
359
|
-
test/test_color_ua.rb
|
360
|
-
test/test_company.rb
|
361
|
-
test/test_company_it.rb
|
362
|
-
test/test_company_se.rb
|
363
|
-
test/test_conference.rb
|
364
|
-
test/test_course_mathematiques.rb
|
365
|
-
test/test_course_philosophie.rb
|
366
|
-
test/test_dizzle_ipsum.rb
|
367
|
-
test/test_education.rb
|
368
|
-
test/test_faker.rb
|
369
|
-
test/test_food.rb
|
370
|
-
test/test_gender.rb
|
371
|
-
test/test_gender_cn.rb
|
372
|
-
test/test_gender_kr.rb
|
373
|
-
test/test_geolocation.rb
|
374
|
-
test/test_guid.rb
|
375
|
-
test/test_healthcare_ipsum.rb
|
376
|
-
test/test_hipster_ipsum.rb
|
377
|
-
test/test_html_ipsum.rb
|
378
|
-
test/test_identification.rb
|
379
|
-
test/test_identification_co.rb
|
380
|
-
test/test_identification_es.rb
|
381
|
-
test/test_identification_es_cl.rb
|
382
|
-
test/test_identification_es_mx.rb
|
383
|
-
test/test_identification_kr.rb
|
384
|
-
test/test_internet.rb
|
385
|
-
test/test_internet_se.rb
|
386
|
-
test/test_job.rb
|
387
|
-
test/test_job_cn.rb
|
388
|
-
test/test_job_fr.rb
|
389
|
-
test/test_job_ja.rb
|
390
|
-
test/test_job_kr.rb
|
391
|
-
test/test_locale.rb
|
392
|
-
test/test_lorem.rb
|
393
|
-
test/test_lorem_ar.rb
|
394
|
-
test/test_lorem_cn.rb
|
395
|
-
test/test_lorem_fr.rb
|
396
|
-
test/test_lorem_kr.rb
|
397
|
-
test/test_lorem_ua.rb
|
398
|
-
test/test_module_utils.rb
|
399
|
-
test/test_movie.rb
|
400
|
-
test/test_music.rb
|
401
|
-
test/test_name.rb
|
402
|
-
test/test_name_br.rb
|
403
|
-
test/test_name_cn.rb
|
404
|
-
test/test_name_cs.rb
|
405
|
-
test/test_name_da.rb
|
406
|
-
test/test_name_de.rb
|
407
|
-
test/test_name_fr.rb
|
408
|
-
test/test_name_ga.rb
|
409
|
-
test/test_name_it.rb
|
410
|
-
test/test_name_ja.rb
|
411
|
-
test/test_name_kr.rb
|
412
|
-
test/test_name_mx.rb
|
413
|
-
test/test_name_nb.rb
|
414
|
-
test/test_name_nl.rb
|
415
|
-
test/test_name_ph.rb
|
416
|
-
test/test_name_ru.rb
|
417
|
-
test/test_name_se.rb
|
418
|
-
test/test_name_sn.rb
|
419
|
-
test/test_name_th.rb
|
420
|
-
test/test_name_ua.rb
|
421
|
-
test/test_nato_alphabet.rb
|
422
|
-
test/test_phone_number.rb
|
423
|
-
test/test_phone_number_au.rb
|
424
|
-
test/test_phone_number_br.rb
|
425
|
-
test/test_phone_number_cu.rb
|
426
|
-
test/test_phone_number_da.rb
|
427
|
-
test/test_phone_number_de.rb
|
428
|
-
test/test_phone_number_kr.rb
|
429
|
-
test/test_phone_number_mx.rb
|
430
|
-
test/test_phone_number_nl.rb
|
431
|
-
test/test_phone_number_se.rb
|
432
|
-
test/test_phone_number_sg.rb
|
433
|
-
test/test_phone_number_sn.rb
|
434
|
-
test/test_skill.rb
|
435
|
-
test/test_sports.rb
|
436
|
-
test/test_ssn.rb
|
437
|
-
test/test_ssn_mx.rb
|
438
|
-
test/test_ssn_se.rb
|
439
|
-
test/test_string.rb
|
440
|
-
test/test_time.rb
|
441
|
-
test/test_units.rb
|
442
|
-
test/test_units_english.rb
|
443
|
-
test/test_units_metric.rb
|
444
|
-
test/test_vehicle.rb
|
445
|
-
test/test_venue.rb
|
446
|
-
]
|
38
|
+
) + Dir['lib/**/*', 'scripts/*']
|
447
39
|
# = MANIFEST =
|
448
40
|
|
449
|
-
s.test_files =
|
41
|
+
s.test_files = Dir['test/**/*']
|
450
42
|
|
451
43
|
s.add_development_dependency 'rake', '~> 10.1.1'
|
452
44
|
s.add_development_dependency 'test-unit'
|