faker 1.6.6 → 1.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +310 -0
- data/History.md +176 -0
- data/README.md +61 -830
- data/lib/faker.rb +18 -2
- data/lib/faker/address.rb +7 -3
- data/lib/faker/ancient.rb +21 -0
- data/lib/faker/artist.rb +9 -0
- data/lib/faker/bank.rb +30 -0
- data/lib/faker/bitcoin.rb +1 -2
- data/lib/faker/code.rb +5 -5
- data/lib/faker/color.rb +6 -29
- data/lib/faker/commerce.rb +15 -2
- data/lib/faker/company.rb +9 -5
- data/lib/faker/educator.rb +3 -3
- data/lib/faker/esport.rb +25 -0
- data/lib/faker/fillmurray.rb +18 -0
- data/lib/faker/finance.rb +3 -1
- data/lib/faker/food.rb +17 -0
- data/lib/faker/game_of_thrones.rb +8 -0
- data/lib/faker/hipster.rb +1 -1
- data/lib/faker/internet.rb +5 -6
- data/lib/faker/job.rb +16 -0
- data/lib/faker/lord_of_the_rings.rb +13 -0
- data/lib/faker/lorem_pixel.rb +21 -0
- data/lib/faker/music.rb +12 -0
- data/lib/faker/number.rb +7 -0
- data/lib/faker/rock_band.rb +9 -0
- data/lib/faker/space.rb +4 -0
- data/lib/faker/star_wars.rb +13 -0
- data/lib/faker/time.rb +10 -6
- data/lib/faker/twin_peaks.rb +17 -0
- data/lib/faker/version.rb +1 -1
- data/lib/helpers/unique_generator.rb +24 -0
- data/lib/locales/de.yml +39 -5
- data/lib/locales/en-IND.yml +5 -2
- data/lib/locales/en-NG.yml +75 -0
- data/lib/locales/en-NZ.yml +26 -9
- data/lib/locales/en-US.yml +3 -0
- data/lib/locales/en-ZA.yml +51 -0
- data/lib/locales/en.yml +150 -10
- data/lib/locales/es-MX.yml +12 -5
- data/lib/locales/fr.yml +1 -1
- data/lib/locales/id.yml +21 -0
- data/lib/locales/it.yml +1 -1
- data/lib/locales/ja.yml +3 -0
- data/lib/locales/nl.yml +7 -1
- data/lib/locales/pl.yml +1 -1
- data/lib/locales/pt-BR.yml +22 -22
- data/lib/locales/tr.yml +26 -0
- metadata +21 -4
- data/History.txt +0 -180
data/lib/locales/tr.yml
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
tr:
|
3
|
+
faker:
|
4
|
+
name:
|
5
|
+
first_name: [Mehmet, Yiğit, Batuhan, Burak, İrem, Buse, Selim, Caner]
|
6
|
+
last_name: [Davut, Sağdıç, Özdemir, Özkanlı, Ekkaldır, Zengel, Eren]
|
7
|
+
prefix: [Sn., Av., Dr.]
|
8
|
+
title:
|
9
|
+
job: ['Müdür','Şef','Koordinatör', 'Ajan','Hacı','Başkan','Reyiz']
|
10
|
+
name:
|
11
|
+
- "#{prefix} #{first_name} #{last_name}"
|
12
|
+
- "#{first_name} #{last_name}"
|
13
|
+
- "#{last_name} #{first_name}"
|
14
|
+
|
15
|
+
internet:
|
16
|
+
free_email: [gmail.com, hotmail.com.tr, yandex.com.tr]
|
17
|
+
domain_suffix: [co, com, com.tr, net, org]
|
18
|
+
safe_email: ['mesela.com']
|
19
|
+
|
20
|
+
|
21
|
+
address:
|
22
|
+
city_name: ['İstanbul', 'İzmir', 'Eskişehir', 'Şırnak', 'Edirne', 'Van' ]
|
23
|
+
city:
|
24
|
+
- "#{city_name}"
|
25
|
+
country: [Afganistan, Amerika Birleşik Devletleri, Fransa, Hollanda, Belçika, Nepal, Hindistan, Kuala Lumpur, Rusya]
|
26
|
+
default_country: [Turkey]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: faker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benjamin Curtis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|
@@ -32,15 +32,19 @@ executables: []
|
|
32
32
|
extensions: []
|
33
33
|
extra_rdoc_files: []
|
34
34
|
files:
|
35
|
-
-
|
35
|
+
- CHANGELOG.md
|
36
|
+
- History.md
|
36
37
|
- License.txt
|
37
38
|
- README.md
|
38
39
|
- lib/extensions/array.rb
|
39
40
|
- lib/extensions/symbol.rb
|
40
41
|
- lib/faker.rb
|
41
42
|
- lib/faker/address.rb
|
43
|
+
- lib/faker/ancient.rb
|
42
44
|
- lib/faker/app.rb
|
45
|
+
- lib/faker/artist.rb
|
43
46
|
- lib/faker/avatar.rb
|
47
|
+
- lib/faker/bank.rb
|
44
48
|
- lib/faker/beer.rb
|
45
49
|
- lib/faker/bitcoin.rb
|
46
50
|
- lib/faker/book.rb
|
@@ -55,20 +59,27 @@ files:
|
|
55
59
|
- lib/faker/crypto.rb
|
56
60
|
- lib/faker/date.rb
|
57
61
|
- lib/faker/educator.rb
|
62
|
+
- lib/faker/esport.rb
|
58
63
|
- lib/faker/file.rb
|
64
|
+
- lib/faker/fillmurray.rb
|
59
65
|
- lib/faker/finance.rb
|
66
|
+
- lib/faker/food.rb
|
60
67
|
- lib/faker/game_of_thrones.rb
|
61
68
|
- lib/faker/hacker.rb
|
62
69
|
- lib/faker/hipster.rb
|
63
70
|
- lib/faker/id_number.rb
|
64
71
|
- lib/faker/internet.rb
|
72
|
+
- lib/faker/job.rb
|
73
|
+
- lib/faker/lord_of_the_rings.rb
|
65
74
|
- lib/faker/lorem.rb
|
75
|
+
- lib/faker/lorem_pixel.rb
|
66
76
|
- lib/faker/music.rb
|
67
77
|
- lib/faker/name.rb
|
68
78
|
- lib/faker/number.rb
|
69
79
|
- lib/faker/phone_number.rb
|
70
80
|
- lib/faker/placeholdit.rb
|
71
81
|
- lib/faker/pokemon.rb
|
82
|
+
- lib/faker/rock_band.rb
|
72
83
|
- lib/faker/shakespeare.rb
|
73
84
|
- lib/faker/slack_emoji.rb
|
74
85
|
- lib/faker/space.rb
|
@@ -76,11 +87,13 @@ files:
|
|
76
87
|
- lib/faker/superhero.rb
|
77
88
|
- lib/faker/team.rb
|
78
89
|
- lib/faker/time.rb
|
90
|
+
- lib/faker/twin_peaks.rb
|
79
91
|
- lib/faker/university.rb
|
80
92
|
- lib/faker/vehicle.rb
|
81
93
|
- lib/faker/version.rb
|
82
94
|
- lib/faker/yoda.rb
|
83
95
|
- lib/helpers/char.rb
|
96
|
+
- lib/helpers/unique_generator.rb
|
84
97
|
- lib/locales/ca-CAT.yml
|
85
98
|
- lib/locales/ca.yml
|
86
99
|
- lib/locales/da-DK.yml
|
@@ -93,11 +106,13 @@ files:
|
|
93
106
|
- lib/locales/en-GB.yml
|
94
107
|
- lib/locales/en-IND.yml
|
95
108
|
- lib/locales/en-NEP.yml
|
109
|
+
- lib/locales/en-NG.yml
|
96
110
|
- lib/locales/en-NZ.yml
|
97
111
|
- lib/locales/en-PAK.yml
|
98
112
|
- lib/locales/en-SG.yml
|
99
113
|
- lib/locales/en-UG.yml
|
100
114
|
- lib/locales/en-US.yml
|
115
|
+
- lib/locales/en-ZA.yml
|
101
116
|
- lib/locales/en-au-ocker.yml
|
102
117
|
- lib/locales/en.yml
|
103
118
|
- lib/locales/es-MX.yml
|
@@ -106,6 +121,7 @@ files:
|
|
106
121
|
- lib/locales/fi-FI.yml
|
107
122
|
- lib/locales/fr.yml
|
108
123
|
- lib/locales/he.yml
|
124
|
+
- lib/locales/id.yml
|
109
125
|
- lib/locales/it.yml
|
110
126
|
- lib/locales/ja.yml
|
111
127
|
- lib/locales/ko.yml
|
@@ -117,6 +133,7 @@ files:
|
|
117
133
|
- lib/locales/ru.yml
|
118
134
|
- lib/locales/sk.yml
|
119
135
|
- lib/locales/sv.yml
|
136
|
+
- lib/locales/tr.yml
|
120
137
|
- lib/locales/uk.yml
|
121
138
|
- lib/locales/vi.yml
|
122
139
|
- lib/locales/zh-CN.yml
|
@@ -141,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
158
|
version: '0'
|
142
159
|
requirements: []
|
143
160
|
rubyforge_project:
|
144
|
-
rubygems_version: 2.
|
161
|
+
rubygems_version: 2.5.2
|
145
162
|
signing_key:
|
146
163
|
specification_version: 4
|
147
164
|
summary: Easily generate fake data
|
data/History.txt
DELETED
@@ -1,180 +0,0 @@
|
|
1
|
-
== 1.6.6 2016-07-25
|
2
|
-
* Added Faker::GameOfThrones, Faker::Pokemon
|
3
|
-
* Fixes for Faker::Vehicle.vin, Faker::Hacker.say_something_smart
|
4
|
-
|
5
|
-
== 1.6.5 2016-07-08
|
6
|
-
* Removed Faker::ChuckNorris.name
|
7
|
-
|
8
|
-
== 1.6.4 2016-07-06
|
9
|
-
* Removed support for Ruby 1.9.3
|
10
|
-
* Added Faker::ChuckNorris, Faker::Crypto, Faker::Educator, Faker::File, Faker::Music, Faker::Space, Faker::Vehicle, and Faker::Yoda
|
11
|
-
* Fixed bug with credit card types
|
12
|
-
* DST fixes in Faker::Time
|
13
|
-
* Added Faker::Name.name_with_middle
|
14
|
-
* Added Faker::Code.imei
|
15
|
-
* Added Faker::Code.asin
|
16
|
-
* Added Faker::Lorem.question and Faker::Lorem.questions
|
17
|
-
* Added Faker::Internet.private_ip_v4_address
|
18
|
-
* Added Faker::Company.australian_business_number
|
19
|
-
* Other miscellaneous fixes and locale updates
|
20
|
-
|
21
|
-
== 1.6.3 2016-02-23
|
22
|
-
* Fix for UTF problem in Ruby 1.9.3
|
23
|
-
* Fix for Faker::StarWars.character
|
24
|
-
* Updated sv locale
|
25
|
-
|
26
|
-
== 1.6.2 2016-02-20
|
27
|
-
* Fix for locale-switching (Russian email addresses)
|
28
|
-
* Added Faker::Beer, Faker::Boolean, Faker::Cat, Faker::StarWars, and Faker::Superhero
|
29
|
-
* Added Faker::Color.color_name
|
30
|
-
* Added Faker::Date.between_except
|
31
|
-
* Fixed Faker::Internet.ip_v4_cidr and Faker::Internet.ip_v6_cidr
|
32
|
-
* Added locales: ca, ca-CAT, da-DK, fi-FI, and pt
|
33
|
-
|
34
|
-
== 1.6.1 2015-11-23
|
35
|
-
* Fix for locale issues in tests
|
36
|
-
|
37
|
-
== 1.6.0 2015-11-23
|
38
|
-
* Lots of bug fixes -- most notably, a fix for email addresses and domains in non-en locales
|
39
|
-
* Updated locales: de, en-AU, en-NZ, en-SG, en-US, en-au-ocker, en, es, fr, he, it, ja, nb-NO, pl, pt-BR, sk, and zh-CN
|
40
|
-
* Updated classes: Address, Avatar, Book, Code, Commerce, Company, Hipster, IDNumber, Internet, Number, Placeholdit, Shakespeare, and Time
|
41
|
-
|
42
|
-
== 1.5.0 2015-08-17
|
43
|
-
* Added logos
|
44
|
-
* Added Slack Emoji
|
45
|
-
* Updated image generators
|
46
|
-
* Updated Dutch Locale
|
47
|
-
* Added support for generating RGB values, HSL colors, alpha channel, and HSLA colors
|
48
|
-
* Added locale for Uganda
|
49
|
-
* Added basic Ukrainian support
|
50
|
-
* Added university name generator
|
51
|
-
* Updated documentation
|
52
|
-
* Updated a variety of locales
|
53
|
-
* Various fixes
|
54
|
-
|
55
|
-
== 1.4.3 2014-08-15
|
56
|
-
* Updated Russian locale
|
57
|
-
* Added EIN generator
|
58
|
-
* Fixed Swedish locale
|
59
|
-
* Added birthday to Faker::Date
|
60
|
-
* Added Faker::App
|
61
|
-
|
62
|
-
== 1.4.2 2014-07-15
|
63
|
-
* Added Swedish locale
|
64
|
-
* README update
|
65
|
-
|
66
|
-
== 1.4.1 2014-07-04
|
67
|
-
* Bugfix and cleanup
|
68
|
-
|
69
|
-
== 1.4.0 2014-07-03
|
70
|
-
* Many enhancements and bugfixes
|
71
|
-
|
72
|
-
== 1.3.0 2014-03-08
|
73
|
-
* Many enhancements and few bugfixes
|
74
|
-
|
75
|
-
== 1.2.0 2013-07-27
|
76
|
-
* Many major and minor enhancements :)
|
77
|
-
|
78
|
-
== 1.1.2 2012-09-18
|
79
|
-
* 1 minor change:
|
80
|
-
* Fixed Ruby 1.8 compatibility
|
81
|
-
|
82
|
-
== 1.1.1 2012-09-17
|
83
|
-
* 1 minor change:
|
84
|
-
* Removed ja locale because of parse errors
|
85
|
-
|
86
|
-
== 1.1.0 2012-09-15
|
87
|
-
* 1 major change:
|
88
|
-
* Removed deprecated methods from Address: earth_country, us_state, us_state_abbr, uk_postcode, uk_county
|
89
|
-
* Many minor changes (please see github pull requests for credits)
|
90
|
-
* Added many localizations
|
91
|
-
* Added range and array support for Lorem
|
92
|
-
|
93
|
-
== 1.0.1 2011-09-27
|
94
|
-
* 1 minor enhancement
|
95
|
-
* Added safe_email method to get someaddress@example.com [Kazimierz Kiełkowicz]
|
96
|
-
* 1 bug fix:
|
97
|
-
* Use the locale fallback properly when parsing string formats
|
98
|
-
|
99
|
-
== 1.0.0 2011-09-08
|
100
|
-
* 2 major enhancements
|
101
|
-
* Moved all formats to locale files
|
102
|
-
* Stopped interfering with I18n's global settings for fallbacks
|
103
|
-
* 3 minor bug fixes:
|
104
|
-
* Ruby 1.9.2 fixes [eMxyzptlk]
|
105
|
-
* UTF8 fixes [maxmiliano]
|
106
|
-
* Updated IPv4 generator to return valid addresses [Sylvain Desbureaux]
|
107
|
-
* Many minor enhancements:
|
108
|
-
* Added bork locale for bork-ified lorem [johnbentcope]
|
109
|
-
* Added IPv6 address generator [jc00ke]
|
110
|
-
* Removed deprecation warnings for Array#rand [chrismarshall]
|
111
|
-
* Added German translation and I18n improvments [Matthias Kühnert]
|
112
|
-
* Added Dutch translation [moretea]
|
113
|
-
* Added Lat/Long generator [Andy Callaghan]
|
114
|
-
* Added buzzword-laden title generator [supercleanse]
|
115
|
-
* Added optional extended wordlist for lorem [chriskottom]
|
116
|
-
* Updated German translation [Jan Schwenzien]
|
117
|
-
* Locale improvements [suweller]
|
118
|
-
* Added limit to lorem generator [darrenterhune]
|
119
|
-
* Added Brazilian Portuguese translation [maxmiliano]
|
120
|
-
* Added Australian translation [madeindata]
|
121
|
-
* Added Canadian translation [igbanam]
|
122
|
-
* Added Norwegian translation [kytrinyx]
|
123
|
-
* Lots of translation-related cleanup [kytrinyx]
|
124
|
-
|
125
|
-
|
126
|
-
== 0.9.5 2011-01-27
|
127
|
-
* 1 minor bug fix:
|
128
|
-
* Fixed YAML [Aaron Patterson]
|
129
|
-
* 3 minor enhancements:
|
130
|
-
* Added default rake task to run all tests [Aaron Patterson]
|
131
|
-
* Removed shuffle method [Aaron Patterson]
|
132
|
-
* Use psych if present [Aaron Patterson]
|
133
|
-
|
134
|
-
== 0.9.4 2010-12-29
|
135
|
-
* 1 minor bug fix:
|
136
|
-
* Stopped getting in the way of Rails' late locale loading
|
137
|
-
|
138
|
-
== 0.9.3 2010-12-28
|
139
|
-
* 1 minor enhancement:
|
140
|
-
* Added a faker namespace for translations
|
141
|
-
|
142
|
-
== 0.9.2 2010-12-22
|
143
|
-
* 1 bug fix:
|
144
|
-
* Stopped stomping on I18n load path
|
145
|
-
|
146
|
-
== 0.9.1 2010-12-22
|
147
|
-
* 1 bug fix:
|
148
|
-
* Stopped setting I18n default locale
|
149
|
-
* 1 major enhancement:
|
150
|
-
* Added method_missing to Address to add methods based on data in locale files
|
151
|
-
* 1 minor enhancement:
|
152
|
-
* Added Swiss locale [Lukas Westermann]
|
153
|
-
|
154
|
-
== 0.9.0 2010-12-21
|
155
|
-
* 1 major enhancement:
|
156
|
-
* Moved strings and some formats to locale files
|
157
|
-
|
158
|
-
== 0.3.1 2008-04-03
|
159
|
-
* 1 minor enhancement:
|
160
|
-
* Added city to Address
|
161
|
-
|
162
|
-
== 0.3.0 2008-01-01
|
163
|
-
* 3 major enhancements:
|
164
|
-
* Added Lorem to generate fake Latin
|
165
|
-
* Added secondary_address to Address, and made inclusion of
|
166
|
-
secondary address in street_address optional (false by
|
167
|
-
default).
|
168
|
-
* Added UK address methods [Caius Durling]
|
169
|
-
|
170
|
-
== 0.2.1 2007-12-05
|
171
|
-
* 1 major enhancement:
|
172
|
-
* Dropped facets to avoid conflict with ActiveSupport
|
173
|
-
* 2 minor enhancements:
|
174
|
-
* Changed the output of user_name to randomly separate with a . or _
|
175
|
-
* Added a few tests
|
176
|
-
|
177
|
-
== 0.1.0 2007-11-22
|
178
|
-
|
179
|
-
* 1 major enhancement:
|
180
|
-
* Initial release
|