faker-bloocher 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -0
- data/Gemfile.lock +15 -0
- data/VERSION +1 -1
- data/faker-bloocher.gemspec +9 -3
- data/lib/faker/bloocher.rb +2 -1
- data/lib/{boonville_wineries.rb → faker_fratis.rb} +278 -223
- data/lib/faker_review.rb +78 -15
- data/test/helper.rb +5 -5
- data/test/test_faker-bloocher.rb +16 -3
- metadata +31 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3adf459b0293628e9396dc870ad9f9be698b7442
|
4
|
+
data.tar.gz: 2e3a94ec3a1addc49fa371b57b02ffcc7bcb6f29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a633a49f909699659a986ca37750b0f3a79c1ba29166fa163e43b24d98ee57f25ed615908337021074f7745e8341500dd5ca0a5403bede3e722b3221a86a8130
|
7
|
+
data.tar.gz: 51f9c0a20bfdb6f42e0ca7f5037b8e62bc75700329ea862686fa3e8400ee1560c3cf51e6b24d845f27cc30459d838d4756a1b8428b456e20050aa4f302228d0e
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -3,6 +3,7 @@ GEM
|
|
3
3
|
specs:
|
4
4
|
addressable (2.3.5)
|
5
5
|
builder (3.2.2)
|
6
|
+
coderay (1.0.9)
|
6
7
|
faker (1.2.0)
|
7
8
|
i18n (~> 0.5)
|
8
9
|
faraday (0.8.8)
|
@@ -15,6 +16,8 @@ GEM
|
|
15
16
|
multi_json (~> 1.4)
|
16
17
|
nokogiri (~> 1.5.2)
|
17
18
|
oauth2
|
19
|
+
given_core (3.1.1)
|
20
|
+
sorcerer (>= 0.3.7)
|
18
21
|
hashie (2.0.5)
|
19
22
|
highline (1.6.19)
|
20
23
|
httpauth (0.2.0)
|
@@ -31,7 +34,11 @@ GEM
|
|
31
34
|
json (1.8.0)
|
32
35
|
jwt (0.1.8)
|
33
36
|
multi_json (>= 1.5)
|
37
|
+
method_source (0.8.2)
|
34
38
|
minitest (5.0.8)
|
39
|
+
minitest-given (3.1.1)
|
40
|
+
given_core (= 3.1.1)
|
41
|
+
minitest (> 4.3)
|
35
42
|
multi_json (1.8.2)
|
36
43
|
multi_xml (0.5.5)
|
37
44
|
multipart-post (1.2.0)
|
@@ -43,10 +50,16 @@ GEM
|
|
43
50
|
multi_json (~> 1.0)
|
44
51
|
multi_xml (~> 0.5)
|
45
52
|
rack (~> 1.2)
|
53
|
+
pry (0.9.12.2)
|
54
|
+
coderay (~> 1.0.5)
|
55
|
+
method_source (~> 0.8)
|
56
|
+
slop (~> 3.4)
|
46
57
|
rack (1.5.2)
|
47
58
|
rake (10.1.0)
|
48
59
|
rdoc (3.12.2)
|
49
60
|
json (~> 1.4)
|
61
|
+
slop (3.4.6)
|
62
|
+
sorcerer (1.0.2)
|
50
63
|
|
51
64
|
PLATFORMS
|
52
65
|
ruby
|
@@ -56,4 +69,6 @@ DEPENDENCIES
|
|
56
69
|
faker (~> 1.2.0)
|
57
70
|
jeweler (~> 1.8.7)
|
58
71
|
minitest
|
72
|
+
minitest-given
|
73
|
+
pry
|
59
74
|
rdoc (~> 3.12)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
data/faker-bloocher.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "faker-bloocher"
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Frederick D. Schoeneman"]
|
12
|
-
s.date = "2013-10-
|
12
|
+
s.date = "2013-10-16"
|
13
13
|
s.description = "Boontling is a jargon spoken only in Boonville in Northern California provide. To \"blooch\" means to bullshit, and faker-bloocher is designed to help developers write bullshit text instead of lorem ipsum."
|
14
14
|
s.email = "fred.schoeneman@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -28,8 +28,8 @@ Gem::Specification.new do |s|
|
|
28
28
|
"VERSION",
|
29
29
|
"faker-bloocher.gemspec",
|
30
30
|
"faker_review.rb",
|
31
|
-
"lib/boonville_wineries.rb",
|
32
31
|
"lib/faker/bloocher.rb",
|
32
|
+
"lib/faker_fratis.rb",
|
33
33
|
"lib/faker_review.rb",
|
34
34
|
"test/helper.rb",
|
35
35
|
"test/test_faker-bloocher.rb"
|
@@ -46,22 +46,28 @@ Gem::Specification.new do |s|
|
|
46
46
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
47
47
|
s.add_development_dependency(%q<faker>, ["~> 1.2.0"])
|
48
48
|
s.add_development_dependency(%q<minitest>, [">= 0"])
|
49
|
+
s.add_development_dependency(%q<minitest-given>, [">= 0"])
|
49
50
|
s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
|
50
51
|
s.add_development_dependency(%q<bundler>, ["~> 1.0"])
|
51
52
|
s.add_development_dependency(%q<jeweler>, ["~> 1.8.7"])
|
53
|
+
s.add_development_dependency(%q<pry>, [">= 0"])
|
52
54
|
else
|
53
55
|
s.add_dependency(%q<faker>, ["~> 1.2.0"])
|
54
56
|
s.add_dependency(%q<minitest>, [">= 0"])
|
57
|
+
s.add_dependency(%q<minitest-given>, [">= 0"])
|
55
58
|
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
56
59
|
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
57
60
|
s.add_dependency(%q<jeweler>, ["~> 1.8.7"])
|
61
|
+
s.add_dependency(%q<pry>, [">= 0"])
|
58
62
|
end
|
59
63
|
else
|
60
64
|
s.add_dependency(%q<faker>, ["~> 1.2.0"])
|
61
65
|
s.add_dependency(%q<minitest>, [">= 0"])
|
66
|
+
s.add_dependency(%q<minitest-given>, [">= 0"])
|
62
67
|
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
63
68
|
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
64
69
|
s.add_dependency(%q<jeweler>, ["~> 1.8.7"])
|
70
|
+
s.add_dependency(%q<pry>, [">= 0"])
|
65
71
|
end
|
66
72
|
end
|
67
73
|
|
data/lib/faker/bloocher.rb
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
require 'faker_review'
|
1
|
+
require 'faker_review'
|
2
|
+
require 'faker_fratis'
|
@@ -4,103 +4,7 @@ module Faker
|
|
4
4
|
|
5
5
|
class << self
|
6
6
|
|
7
|
-
def
|
8
|
-
[
|
9
|
-
"Ferrari-Carano",
|
10
|
-
"Kendall Jackson",
|
11
|
-
"Duckhorn",
|
12
|
-
"Lede Wines"
|
13
|
-
].sample
|
14
|
-
end
|
15
|
-
|
16
|
-
def vineyards
|
17
|
-
[
|
18
|
-
"Angel Camp Vineyards",
|
19
|
-
"Balo Vineyards",
|
20
|
-
"Champ de Reves Vineyards",
|
21
|
-
"Elke Vineyards",
|
22
|
-
"Esterlina Vineyards",
|
23
|
-
"Expression Vineyards",
|
24
|
-
"Greenwood Ridge Vineyards",
|
25
|
-
"Husch Vineyards",
|
26
|
-
"Maggy Hawk Vineyard",
|
27
|
-
"Philo Ridge Vineyards",
|
28
|
-
"Lazy Creek Vineyards",
|
29
|
-
"Londer Vineyards",
|
30
|
-
"Toulouse Vineyards"
|
31
|
-
].sample
|
32
|
-
end
|
33
|
-
|
34
|
-
def wineries
|
35
|
-
[
|
36
|
-
"Baxter Winery",
|
37
|
-
"Bink Wines",
|
38
|
-
"Black Kite Cellars",
|
39
|
-
"Breggo Cellars",
|
40
|
-
"Brutocao Cellars",
|
41
|
-
"Claudia Springs Winery",
|
42
|
-
"Copain Wines",
|
43
|
-
"Couloir Wines",
|
44
|
-
"Drew Family Cellars",
|
45
|
-
"Edmeades Winery",
|
46
|
-
"Foursight Wines, Inc.",
|
47
|
-
"Frati Horn Wines",
|
48
|
-
"Fulcrum Wines",
|
49
|
-
"Goldeneye Winery",
|
50
|
-
"Handley Cellars",
|
51
|
-
"Harmonique - Conzelman Vineyards",
|
52
|
-
"Knez Winery",
|
53
|
-
"Littorai Wines",
|
54
|
-
"Lula Cellars",
|
55
|
-
"MacPhail Family Wines",
|
56
|
-
"Phillips Hill Winery",
|
57
|
-
"Navarro Vineyards",
|
58
|
-
"Roederer Estate",
|
59
|
-
"Roessler Cellars",
|
60
|
-
"Scharffenberger Cellars",
|
61
|
-
"Twomey Cellars",
|
62
|
-
"Waits-Mast Family Cellars",
|
63
|
-
"Zina Hyde Cunningham"
|
64
|
-
].sample
|
65
|
-
end
|
66
|
-
|
67
|
-
def vineyard_names
|
68
|
-
[
|
69
|
-
"Donnelly Creek vineyard",
|
70
|
-
"francis vineyard",
|
71
|
-
"Eaglehearth Vineyard",
|
72
|
-
"Ferrington Vineyard",
|
73
|
-
"Hacienda Secoya Vineyards",
|
74
|
-
"Kiser Vineyard",
|
75
|
-
"Knez Vineyard",
|
76
|
-
"Leal Vineyard",
|
77
|
-
"Nelson Hill Vineyard",
|
78
|
-
"Valley Foothills Vineyard",
|
79
|
-
"Pennyroyal Vineyards",
|
80
|
-
"Ridley Vineyard",
|
81
|
-
"Roma's Vineyard",
|
82
|
-
"Roman Vineyard",
|
83
|
-
"Romani Family Vineyard",
|
84
|
-
"Run Dog Vineyard",
|
85
|
-
"Saintsbury",
|
86
|
-
"Savoy Vineyard",
|
87
|
-
"Stewart Vineyard",
|
88
|
-
"Weir Vineyard",
|
89
|
-
"Wightman Vineyard",
|
90
|
-
"Zicherman-Roemer Vineyard"
|
91
|
-
].sample
|
92
|
-
end
|
93
|
-
|
94
|
-
def differentiators
|
95
|
-
[
|
96
|
-
"methode ancien",
|
97
|
-
"deep end",
|
98
|
-
"reserve",
|
99
|
-
"estate"
|
100
|
-
].sample
|
101
|
-
end
|
102
|
-
|
103
|
-
def appellation
|
7
|
+
def appellations
|
104
8
|
[
|
105
9
|
"Arroyo Grande Valley",
|
106
10
|
"Arroyo Seco",
|
@@ -132,131 +36,11 @@ module Faker
|
|
132
36
|
"Sta. Rita Hills",
|
133
37
|
"Santa Ynez Valley",
|
134
38
|
"York Mountain"
|
135
|
-
]
|
136
|
-
end
|
137
|
-
|
138
|
-
def soil_types
|
139
|
-
[
|
140
|
-
"alluvial",
|
141
|
-
"basalt",
|
142
|
-
"boulbenes"
|
143
|
-
"chalk",
|
144
|
-
"clay",
|
145
|
-
"dolomite",
|
146
|
-
"keuper",
|
147
|
-
"lignite",
|
148
|
-
"loam",
|
149
|
-
"loess",
|
150
|
-
"Mica",
|
151
|
-
"muschelkalk",
|
152
|
-
"perlite",
|
153
|
-
"quartz",
|
154
|
-
"sand",
|
155
|
-
"schist",
|
156
|
-
"silt",
|
157
|
-
"shale",
|
158
|
-
"slate",
|
159
|
-
"terra rossa",
|
160
|
-
"tufa",
|
161
|
-
"ultisoil",
|
162
|
-
"volcanic",
|
163
|
-
].sample
|
164
|
-
end
|
165
|
-
|
166
|
-
def topo_aspects
|
167
|
-
[
|
168
|
-
"north",
|
169
|
-
"north-northwest",
|
170
|
-
"south",
|
171
|
-
"south-southwest",
|
172
|
-
"west",
|
173
|
-
"east"
|
174
|
-
].sample
|
175
|
-
end
|
176
|
-
|
177
|
-
def soil_drainage_types
|
178
|
-
[
|
179
|
-
"excessively drained",
|
180
|
-
"somewhat excessively drained",
|
181
|
-
"well drained",
|
182
|
-
"moderately well drained",
|
183
|
-
"somewhat poorly drained",
|
184
|
-
"poorly drained"
|
185
|
-
].sample
|
39
|
+
]
|
186
40
|
end
|
187
41
|
|
188
|
-
def
|
189
|
-
|
190
|
-
"3309c",
|
191
|
-
Gravesac",
|
192
|
-
5c",
|
193
|
-
borner",
|
194
|
-
SO4",
|
195
|
-
Binova",
|
196
|
-
125AA",
|
197
|
-
5BB",
|
198
|
-
34EM",
|
199
|
-
420A",
|
200
|
-
161-49",
|
201
|
-
333EM",
|
202
|
-
Fercal",
|
203
|
-
Riparia Gloire",
|
204
|
-
"196-17",
|
205
|
-
"101-14",
|
206
|
-
"R99",
|
207
|
-
"R110",
|
208
|
-
"1103P",
|
209
|
-
"Schwarzmann",
|
210
|
-
"Couder",
|
211
|
-
"c3309"
|
212
|
-
].sample
|
213
|
-
end
|
214
|
-
|
215
|
-
def varietals
|
216
|
-
[
|
217
|
-
"barbera",
|
218
|
-
"brunello",
|
219
|
-
"cabernet franc",
|
220
|
-
"cabernet sauvignon",
|
221
|
-
"carignan",
|
222
|
-
"carmenere",
|
223
|
-
"charbono",
|
224
|
-
"chardonnay",
|
225
|
-
"chenin blanc",
|
226
|
-
"dolcetto",
|
227
|
-
"Edelzwicker",
|
228
|
-
"Eiswein",
|
229
|
-
"fume blanc",
|
230
|
-
"gamay",
|
231
|
-
"gewurztraminer",
|
232
|
-
"grenache",
|
233
|
-
"gruner veltliner",
|
234
|
-
"malbec",
|
235
|
-
"marsanne",
|
236
|
-
"merlot",
|
237
|
-
"mourvedre",
|
238
|
-
"muscat",
|
239
|
-
"nebbiolo",
|
240
|
-
"petite sirah",
|
241
|
-
"pinot blanc",
|
242
|
-
"pinot gris",
|
243
|
-
"tokay",
|
244
|
-
"rulander",
|
245
|
-
"pinot grigio",
|
246
|
-
"pinot gris",
|
247
|
-
"pinot noir",
|
248
|
-
"primitivo",
|
249
|
-
"riesling",
|
250
|
-
"sangiovese",
|
251
|
-
"sauvignon blanc",
|
252
|
-
"semillon",
|
253
|
-
"syrah",
|
254
|
-
"shiraz",
|
255
|
-
"tempraniloo",
|
256
|
-
"trebbiano",
|
257
|
-
"viognier",
|
258
|
-
"zinfandel",
|
259
|
-
]
|
42
|
+
def appellation
|
43
|
+
appellations.sample
|
260
44
|
end
|
261
45
|
|
262
46
|
def clones
|
@@ -271,17 +55,45 @@ module Faker
|
|
271
55
|
"Clone 113",
|
272
56
|
"Calera",
|
273
57
|
"UCD4",
|
274
|
-
"2A"
|
58
|
+
"2A"
|
275
59
|
]
|
276
60
|
end
|
277
61
|
|
62
|
+
def clone
|
63
|
+
clones.sample
|
64
|
+
end
|
65
|
+
|
66
|
+
def differentiators
|
67
|
+
[
|
68
|
+
"methode ancien",
|
69
|
+
"deep end",
|
70
|
+
"reserve",
|
71
|
+
"estate"
|
72
|
+
]
|
73
|
+
end
|
74
|
+
|
75
|
+
def differentiator
|
76
|
+
differentiators.sample
|
77
|
+
end
|
78
|
+
|
278
79
|
def irrigation_types
|
279
80
|
|
280
|
-
%w[
|
81
|
+
%w[
|
82
|
+
natural
|
83
|
+
none
|
84
|
+
sprinkler
|
85
|
+
drip
|
86
|
+
flood
|
87
|
+
surface
|
88
|
+
furrow
|
89
|
+
]
|
281
90
|
end
|
282
91
|
|
92
|
+
def irrigation_type
|
93
|
+
irrigation_types.sample
|
94
|
+
end
|
95
|
+
|
283
96
|
def nurseries
|
284
|
-
|
285
97
|
[
|
286
98
|
"Advanced Vineyard Systems, Inc. (OR)",
|
287
99
|
"American Nursery (VA)",
|
@@ -351,5 +163,248 @@ module Faker
|
|
351
163
|
]
|
352
164
|
end
|
353
165
|
|
166
|
+
def nursery
|
167
|
+
nurseries.sample
|
168
|
+
end
|
169
|
+
|
170
|
+
def producers
|
171
|
+
[
|
172
|
+
"Ferrari-Carano",
|
173
|
+
"Kendall Jackson",
|
174
|
+
"Duckhorn",
|
175
|
+
"Lede Wines"
|
176
|
+
]
|
177
|
+
end
|
178
|
+
|
179
|
+
def producer
|
180
|
+
producers.sample
|
181
|
+
end
|
182
|
+
|
183
|
+
def rootstocks
|
184
|
+
[
|
185
|
+
"3309c",
|
186
|
+
"Gravesac",
|
187
|
+
"5c",
|
188
|
+
"borner",
|
189
|
+
"SO4",
|
190
|
+
"Binova",
|
191
|
+
"125AA",
|
192
|
+
"5BB",
|
193
|
+
"34EM",
|
194
|
+
"420A",
|
195
|
+
"161-49",
|
196
|
+
"333EM",
|
197
|
+
"Fercal",
|
198
|
+
"Riparia Gloire",
|
199
|
+
"196-17",
|
200
|
+
"101-14",
|
201
|
+
"R99",
|
202
|
+
"R110",
|
203
|
+
"1103P",
|
204
|
+
"Schwarzmann",
|
205
|
+
"Couder",
|
206
|
+
"c3309"
|
207
|
+
]
|
208
|
+
end
|
209
|
+
|
210
|
+
def rootstock
|
211
|
+
rootstocks.sample
|
212
|
+
end
|
213
|
+
|
214
|
+
def topo_aspects
|
215
|
+
[
|
216
|
+
"north",
|
217
|
+
"north-northwest",
|
218
|
+
"south",
|
219
|
+
"south-southwest",
|
220
|
+
"west",
|
221
|
+
"east"
|
222
|
+
]
|
223
|
+
end
|
224
|
+
|
225
|
+
def topo_aspect
|
226
|
+
topo_aspects.sample
|
227
|
+
end
|
228
|
+
|
229
|
+
def soil_types
|
230
|
+
[
|
231
|
+
"alluvial",
|
232
|
+
"basalt",
|
233
|
+
"boulbenes",
|
234
|
+
"chalk",
|
235
|
+
"clay",
|
236
|
+
"dolomite",
|
237
|
+
"keuper",
|
238
|
+
"lignite",
|
239
|
+
"loam",
|
240
|
+
"loess",
|
241
|
+
"Mica",
|
242
|
+
"muschelkalk",
|
243
|
+
"perlite",
|
244
|
+
"quartz",
|
245
|
+
"sand",
|
246
|
+
"schist",
|
247
|
+
"silt",
|
248
|
+
"shale",
|
249
|
+
"slate",
|
250
|
+
"terra rossa",
|
251
|
+
"tufa",
|
252
|
+
"ultisoil",
|
253
|
+
"volcanic"
|
254
|
+
]
|
255
|
+
end
|
256
|
+
|
257
|
+
def soil_type
|
258
|
+
soil_types.sample
|
259
|
+
end
|
260
|
+
|
261
|
+
def soil_drainage_types
|
262
|
+
[
|
263
|
+
"excessively drained",
|
264
|
+
"somewhat excessively drained",
|
265
|
+
"well drained",
|
266
|
+
"moderately well drained",
|
267
|
+
"somewhat poorly drained",
|
268
|
+
"poorly drained"
|
269
|
+
]
|
270
|
+
end
|
271
|
+
|
272
|
+
def soil_drainage_type
|
273
|
+
soil_drainage_types.sample
|
274
|
+
end
|
275
|
+
|
276
|
+
def vineyards
|
277
|
+
[
|
278
|
+
"Angel Camp Vineyards",
|
279
|
+
"Balo Vineyards",
|
280
|
+
"Champ de Reves Vineyards",
|
281
|
+
"Donnelly Creek vineyard",
|
282
|
+
"Eaglehearth Vineyard",
|
283
|
+
"Elke Vineyards",
|
284
|
+
"Esterlina Vineyards",
|
285
|
+
"Expression Vineyards",
|
286
|
+
"francis vineyard",
|
287
|
+
"Ferrington Vineyard",
|
288
|
+
"Greenwood Ridge Vineyards",
|
289
|
+
"Hacienda Secoya Vineyards",
|
290
|
+
"Husch Vineyards",
|
291
|
+
"Kiser Vineyard",
|
292
|
+
"Knez Vineyard",
|
293
|
+
"Lazy Creek Vineyards",
|
294
|
+
"Leal Vineyard",
|
295
|
+
"Londer Vineyards",
|
296
|
+
"Maggy Hawk Vineyard",
|
297
|
+
"Nelson Hill Vineyard",
|
298
|
+
"Philo Ridge Vineyards",
|
299
|
+
"Pennyroyal Vineyards",
|
300
|
+
"Ridley Vineyard",
|
301
|
+
"Roma's Vineyard",
|
302
|
+
"Roman Vineyard",
|
303
|
+
"Romani Family Vineyard",
|
304
|
+
"Run Dog Vineyard",
|
305
|
+
"Saintsbury",
|
306
|
+
"Savoy Vineyard",
|
307
|
+
"Stewart Vineyard",
|
308
|
+
"Toulouse Vineyards",
|
309
|
+
"Valley Foothills Vineyard",
|
310
|
+
"Weir Vineyard",
|
311
|
+
"Wightman Vineyard",
|
312
|
+
"Zicherman-Roemer Vineyard"
|
313
|
+
]
|
314
|
+
end
|
315
|
+
|
316
|
+
def vineyard
|
317
|
+
vineyards.sample
|
318
|
+
end
|
319
|
+
|
320
|
+
def wineries
|
321
|
+
[
|
322
|
+
"Baxter Winery",
|
323
|
+
"Bink Wines",
|
324
|
+
"Black Kite Cellars",
|
325
|
+
"Breggo Cellars",
|
326
|
+
"Brutocao Cellars",
|
327
|
+
"Claudia Springs Winery",
|
328
|
+
"Copain Wines",
|
329
|
+
"Couloir Wines",
|
330
|
+
"Drew Family Cellars",
|
331
|
+
"Edmeades Winery",
|
332
|
+
"Foursight Wines, Inc.",
|
333
|
+
"Frati Horn Wines",
|
334
|
+
"Fulcrum Wines",
|
335
|
+
"Goldeneye Winery",
|
336
|
+
"Handley Cellars",
|
337
|
+
"Harmonique - Conzelman Vineyards",
|
338
|
+
"Knez Winery",
|
339
|
+
"Littorai Wines",
|
340
|
+
"Lula Cellars",
|
341
|
+
"MacPhail Family Wines",
|
342
|
+
"Phillips Hill Winery",
|
343
|
+
"Navarro Vineyards",
|
344
|
+
"Roederer Estate",
|
345
|
+
"Roessler Cellars",
|
346
|
+
"Scharffenberger Cellars",
|
347
|
+
"Twomey Cellars",
|
348
|
+
"Waits-Mast Family Cellars",
|
349
|
+
"Zina Hyde Cunningham"
|
350
|
+
]
|
351
|
+
end
|
352
|
+
|
353
|
+
def winery
|
354
|
+
wineries.sample
|
355
|
+
end
|
356
|
+
|
357
|
+
def varietals
|
358
|
+
[
|
359
|
+
"barbera",
|
360
|
+
"brunello",
|
361
|
+
"cabernet franc",
|
362
|
+
"cabernet sauvignon",
|
363
|
+
"carignan",
|
364
|
+
"carmenere",
|
365
|
+
"charbono",
|
366
|
+
"chardonnay",
|
367
|
+
"chenin blanc",
|
368
|
+
"dolcetto",
|
369
|
+
"Edelzwicker",
|
370
|
+
"Eiswein",
|
371
|
+
"fume blanc",
|
372
|
+
"gamay",
|
373
|
+
"gewurztraminer",
|
374
|
+
"grenache",
|
375
|
+
"gruner veltliner",
|
376
|
+
"malbec",
|
377
|
+
"marsanne",
|
378
|
+
"merlot",
|
379
|
+
"mourvedre",
|
380
|
+
"muscat",
|
381
|
+
"nebbiolo",
|
382
|
+
"petite sirah",
|
383
|
+
"pinot blanc",
|
384
|
+
"pinot gris",
|
385
|
+
"tokay",
|
386
|
+
"rulander",
|
387
|
+
"pinot grigio",
|
388
|
+
"pinot gris",
|
389
|
+
"pinot noir",
|
390
|
+
"primitivo",
|
391
|
+
"riesling",
|
392
|
+
"sangiovese",
|
393
|
+
"sauvignon blanc",
|
394
|
+
"semillon",
|
395
|
+
"syrah",
|
396
|
+
"shiraz",
|
397
|
+
"tempraniloo",
|
398
|
+
"trebbiano",
|
399
|
+
"viognier",
|
400
|
+
"zinfandel"
|
401
|
+
]
|
402
|
+
end
|
403
|
+
|
404
|
+
def varietal
|
405
|
+
varietals.sample
|
406
|
+
end
|
354
407
|
end
|
408
|
+
end
|
409
|
+
end
|
355
410
|
|
data/lib/faker_review.rb
CHANGED
@@ -11,28 +11,91 @@ module Faker
|
|
11
11
|
first + second + third
|
12
12
|
end
|
13
13
|
|
14
|
+
def reviews(count)
|
15
|
+
count.to_i.times do |n|
|
16
|
+
Faker::Bloocher.review
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
14
20
|
def intro
|
15
21
|
[
|
16
|
-
"Remarkable",
|
17
|
-
"
|
18
|
-
"
|
19
|
-
"
|
20
|
-
"
|
21
|
-
"
|
22
|
-
"
|
23
|
-
"
|
24
|
-
"
|
25
|
-
"
|
26
|
-
"
|
27
|
-
"
|
28
|
-
"
|
29
|
-
"
|
22
|
+
"Remarkable",
|
23
|
+
"Francophonic",
|
24
|
+
"Juicy",
|
25
|
+
"Desperate",
|
26
|
+
"Serviceable",
|
27
|
+
"Generous",
|
28
|
+
"Glassy",
|
29
|
+
"Blunt",
|
30
|
+
"Sturdy",
|
31
|
+
"Elegant",
|
32
|
+
"Lean",
|
33
|
+
"Spare",
|
34
|
+
"Simple",
|
35
|
+
"Self-righteous",
|
36
|
+
"Chewy",
|
37
|
+
"Powerful",
|
38
|
+
"Soft",
|
39
|
+
"Ripe in flavor",
|
40
|
+
"Ready to drink",
|
41
|
+
"Well focused",
|
42
|
+
"Medium-weight",
|
43
|
+
"Heavy-weight",
|
44
|
+
"Light-weight",
|
45
|
+
"Austere",
|
46
|
+
"Light, simple",
|
47
|
+
"Modest",
|
48
|
+
"Markedly improved",
|
49
|
+
"Nearly matured",
|
50
|
+
"Almost matured",
|
51
|
+
"Somewhat matured",
|
52
|
+
"Overaged",
|
53
|
+
"Finely balanced",
|
54
|
+
"A firm, full textured",
|
55
|
+
"Fully refined",
|
56
|
+
"Unnatural",
|
57
|
+
"Historic",
|
58
|
+
"Classic",
|
59
|
+
"Crisp",
|
60
|
+
"Neo-classic",
|
61
|
+
"Modern",
|
62
|
+
"Overdone",
|
63
|
+
"Meaty",
|
64
|
+
"Unrefined",
|
65
|
+
"Direct",
|
66
|
+
"Deep and smokey",
|
67
|
+
"Dark and mysterious",
|
68
|
+
"Good",
|
69
|
+
"Evil",
|
70
|
+
"Impressive",
|
71
|
+
"Unimpressive",
|
72
|
+
"Big and strong",
|
73
|
+
"Wicked",
|
74
|
+
"Raw",
|
75
|
+
"Wimpy",
|
76
|
+
"Overdressed",
|
77
|
+
"Sweet",
|
78
|
+
"Rude",
|
79
|
+
"Creepy",
|
80
|
+
"Open-ended",
|
81
|
+
"Rounded",
|
82
|
+
"Corpulent",
|
83
|
+
"Overbearing",
|
84
|
+
"Twisted",
|
85
|
+
"Clean",
|
86
|
+
"Fun",
|
87
|
+
"Intense",
|
88
|
+
"Egocentric",
|
89
|
+
"Intelligently done",
|
90
|
+
"Unstinting",
|
91
|
+
"Flourished"
|
30
92
|
].sample
|
31
93
|
end
|
32
94
|
|
33
95
|
def intmodifier
|
34
96
|
[
|
35
|
-
"but",
|
97
|
+
"but",
|
98
|
+
"and","almost","but equally","nearly","at the same time",
|
36
99
|
"yet paradoxically","nevertheless","yet oxymoronically","but inevitably"
|
37
100
|
].sample
|
38
101
|
end
|
data/test/helper.rb
CHANGED
@@ -7,13 +7,13 @@ rescue Bundler::BundlerError => e
|
|
7
7
|
$stderr.puts "Run `bundle install` to install missing gems"
|
8
8
|
exit e.status_code
|
9
9
|
end
|
10
|
-
require 'minitest/
|
10
|
+
require 'minitest/autorun'
|
11
11
|
|
12
12
|
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
13
13
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
14
|
-
require 'faker
|
14
|
+
require 'faker/bloocher'
|
15
15
|
|
16
|
-
class MiniTest::Unit::TestCase
|
17
|
-
end
|
16
|
+
# class MiniTest::Unit::TestCase
|
17
|
+
# end
|
18
18
|
|
19
|
-
MiniTest::Unit.autorun
|
19
|
+
# MiniTest::Unit.autorun
|
data/test/test_faker-bloocher.rb
CHANGED
@@ -1,7 +1,20 @@
|
|
1
1
|
require 'helper'
|
2
2
|
|
3
|
-
class TestFakerBloocher <
|
4
|
-
|
5
|
-
|
3
|
+
class TestFakerBloocher < Minitest::Test
|
4
|
+
|
5
|
+
describe "bloocher" do
|
6
|
+
|
7
|
+
bloocher_methods = Faker::Bloocher.methods - Object.methods
|
8
|
+
|
9
|
+
bloocher_methods.each do |method|
|
10
|
+
|
11
|
+
if method.to_s. == method.to_s
|
12
|
+
|
13
|
+
it "#{method} should not be empty" do
|
14
|
+
|
15
|
+
Faker::Bloocher.respond_to?(method)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
6
19
|
end
|
7
20
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: faker-bloocher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Frederick D. Schoeneman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faker
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: minitest-given
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: rdoc
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,6 +94,20 @@ dependencies:
|
|
80
94
|
- - ~>
|
81
95
|
- !ruby/object:Gem::Version
|
82
96
|
version: 1.8.7
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: pry
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
83
111
|
description: Boontling is a jargon spoken only in Boonville in Northern California
|
84
112
|
provide. To "blooch" means to bullshit, and faker-bloocher is designed to help
|
85
113
|
developers write bullshit text instead of lorem ipsum.
|
@@ -101,8 +129,8 @@ files:
|
|
101
129
|
- VERSION
|
102
130
|
- faker-bloocher.gemspec
|
103
131
|
- faker_review.rb
|
104
|
-
- lib/boonville_wineries.rb
|
105
132
|
- lib/faker/bloocher.rb
|
133
|
+
- lib/faker_fratis.rb
|
106
134
|
- lib/faker_review.rb
|
107
135
|
- test/helper.rb
|
108
136
|
- test/test_faker-bloocher.rb
|