faker 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -1
- data/lib/faker/version.rb +1 -1
- data/test/test_helper.rb +2 -0
- metadata +10 -5
- data/lib/locales/ja.yml +0 -23
data/History.txt
CHANGED
@@ -1,4 +1,8 @@
|
|
1
|
-
== 1.1 2012-09-
|
1
|
+
== 1.1.1 2012-09-17
|
2
|
+
* 1 minor change:
|
3
|
+
* Removed ja locale because of parse errors
|
4
|
+
|
5
|
+
== 1.1.0 2012-09-15
|
2
6
|
* 1 major change:
|
3
7
|
* Removed deprecated methods from Address: earth_country, us_state, us_state_abbr, uk_postcode, uk_county
|
4
8
|
* Many minor changes (please see github pull requests for credits)
|
data/lib/faker/version.rb
CHANGED
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: faker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-09-
|
12
|
+
date: 2012-09-17 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: i18n
|
16
|
-
requirement: &
|
16
|
+
requirement: &70096697555200 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '0.5'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70096697555200
|
25
25
|
description: ! 'Faker, a port of Data::Faker from Perl, is used to easily generate
|
26
26
|
fake data: names, addresses, phone numbers, etc.'
|
27
27
|
email:
|
@@ -49,7 +49,6 @@ files:
|
|
49
49
|
- lib/locales/en-us.yml
|
50
50
|
- lib/locales/en.yml
|
51
51
|
- lib/locales/fr.yml
|
52
|
-
- lib/locales/ja.yml
|
53
52
|
- lib/locales/nl.yml
|
54
53
|
- lib/locales/no-nb.yml
|
55
54
|
- lib/locales/pl.yml
|
@@ -79,12 +78,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
79
78
|
- - ! '>='
|
80
79
|
- !ruby/object:Gem::Version
|
81
80
|
version: '0'
|
81
|
+
segments:
|
82
|
+
- 0
|
83
|
+
hash: -2555408944595470007
|
82
84
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
85
|
none: false
|
84
86
|
requirements:
|
85
87
|
- - ! '>='
|
86
88
|
- !ruby/object:Gem::Version
|
87
89
|
version: '0'
|
90
|
+
segments:
|
91
|
+
- 0
|
92
|
+
hash: -2555408944595470007
|
88
93
|
requirements: []
|
89
94
|
rubyforge_project: faker
|
90
95
|
rubygems_version: 1.8.10
|
data/lib/locales/ja.yml
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
ja:
|
2
|
-
faker:
|
3
|
-
address:
|
4
|
-
postcode: ["###-####"]
|
5
|
-
state: ["北海道","青森県","岩手県","宮城県","秋田県","山形県","福島県","茨城県","栃木県","群馬県","埼玉県","千葉県","東京都","神奈川県","新潟県","富山県","石川県","福井県","山梨県","長野県","岐阜県","静岡県","愛知県","三重県","滋賀県","京都府","大阪府","兵庫県","奈良県","和歌山県","鳥取県","島根県","岡山県","広島県","山口県","徳島県","香川県","愛媛県","高知県","福岡県","佐賀県","長崎県","熊本県","大分県","宮崎県","鹿児島県","沖縄県"]
|
6
|
-
state_abbr: ["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47"]
|
7
|
-
city_prefix: ["北", "東", "西", "南", "新", "湖", "港"]
|
8
|
-
city_suffix: ["市", "区", "町", "村"]
|
9
|
-
city:
|
10
|
-
- "#{city_prefix}#{Name.first_name}#{city_suffix}"
|
11
|
-
- "#{Name.first_name}#{city_suffix}"
|
12
|
-
- "#{city_prefix}#{Name.last_name}#{city_suffix}"
|
13
|
-
- "#{Name.last_name}#{city_suffix}"
|
14
|
-
street_name:
|
15
|
-
- "#{Name.first_name}#{street_suffix}"
|
16
|
-
- "#{Name.last_name}#{street_suffix}"
|
17
|
-
phone_number:
|
18
|
-
formats: ['0####-#-####','0###-##-####','0##-###-####','0#-####-####']
|
19
|
-
name:
|
20
|
-
last_name: ["佐藤","鈴木","高橋","田中","渡辺","伊藤","山本","中村","小林","加藤","吉田","山田","佐々木","山口","斎藤","松本","井上","木村","林","清水"]
|
21
|
-
first_name: ["大翔","蓮","颯太","樹","大和","陽翔","陸斗","太一","海翔","蒼空","翼","陽菜","結愛","結衣","杏","莉子","美羽","結菜","心愛","愛菜","美咲"]
|
22
|
-
name:
|
23
|
-
- "#{last_name} #{first_name}"
|