brewery_db 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +15 -0
  2. data/.gitignore +2 -0
  3. data/.rspec +2 -0
  4. data/.travis.yml +5 -0
  5. data/CHANGELOG.md +15 -0
  6. data/README.md +81 -29
  7. data/Rakefile +5 -0
  8. data/brewery_db.gemspec +6 -5
  9. data/lib/brewery_db.rb +15 -19
  10. data/lib/brewery_db/client.rb +19 -7
  11. data/lib/brewery_db/collection.rb +42 -0
  12. data/lib/brewery_db/config.rb +7 -6
  13. data/lib/brewery_db/mash.rb +18 -0
  14. data/lib/brewery_db/middleware/error_handler.rb +28 -0
  15. data/lib/brewery_db/request.rb +27 -0
  16. data/lib/brewery_db/resource.rb +16 -22
  17. data/lib/brewery_db/resources/beers.rb +2 -2
  18. data/lib/brewery_db/resources/breweries.rb +2 -2
  19. data/lib/brewery_db/resources/brewery.rb +16 -0
  20. data/lib/brewery_db/resources/categories.rb +2 -2
  21. data/lib/brewery_db/resources/glassware.rb +2 -2
  22. data/lib/brewery_db/resources/search.rb +1 -1
  23. data/lib/brewery_db/resources/styles.rb +2 -2
  24. data/lib/brewery_db/response.rb +26 -12
  25. data/lib/brewery_db/version.rb +1 -1
  26. data/lib/brewery_db/web_hook.rb +32 -0
  27. data/spec/brewery_db/client_spec.rb +41 -30
  28. data/spec/brewery_db/config_spec.rb +25 -28
  29. data/spec/brewery_db/{response_spec.rb → mash_spec.rb} +1 -1
  30. data/spec/brewery_db/middleware/error_handler_spec.rb +49 -0
  31. data/spec/brewery_db/resource_spec.rb +35 -22
  32. data/spec/brewery_db/resources/beers_spec.rb +10 -82
  33. data/spec/brewery_db/resources/breweries_spec.rb +10 -54
  34. data/spec/brewery_db/resources/brewery_spec.rb +27 -0
  35. data/spec/brewery_db/resources/categories_spec.rb +10 -38
  36. data/spec/brewery_db/resources/glassware_spec.rb +10 -36
  37. data/spec/brewery_db/resources/search_spec.rb +19 -61
  38. data/spec/brewery_db/resources/styles_spec.rb +10 -72
  39. data/spec/brewery_db/web_hook_spec.rb +79 -0
  40. data/spec/fixtures/BreweryDB_Resource/_get/a_list_of_resources/can_be_enumerated.yml +515 -0
  41. data/spec/fixtures/BreweryDB_Resource/_get/a_not_found_request/raises_an_exception.yml +38 -0
  42. data/spec/fixtures/BreweryDB_Resource/_get/a_not_found_request/sets_the_exception_message_to_the_error_message_in_the_response.yml +38 -0
  43. data/spec/fixtures/BreweryDB_Resource/_get/an_OK_request/name/.yml +54 -0
  44. data/spec/fixtures/BreweryDB_Resources_Beers/_all/fetches_all_of_the_beers_at_once.yml +889 -0
  45. data/spec/fixtures/BreweryDB_Resources_Beers/_find/fetches_only_the_beer_asked_for.yml +61 -0
  46. data/spec/fixtures/BreweryDB_Resources_Breweries/_all/fetches_all_of_the_breweries_at_once.yml +430 -0
  47. data/spec/fixtures/BreweryDB_Resources_Breweries/_find/fetches_only_the_brewery_asked_for.yml +57 -0
  48. data/spec/fixtures/BreweryDB_Resources_Categories/_all/fetches_all_of_the_cagtegories_at_once.yml +49 -0
  49. data/spec/fixtures/BreweryDB_Resources_Categories/_find/fetches_only_the_category_asked_for.yml +39 -0
  50. data/spec/fixtures/BreweryDB_Resources_Glassware/_all/fetches_all_of_the_glassware_at_once.yml +45 -0
  51. data/spec/fixtures/BreweryDB_Resources_Glassware/_find/fetches_only_the_glassware_asked_for.yml +39 -0
  52. data/spec/fixtures/BreweryDB_Resources_Search/_all/fetches_all_of_the_search_results_at_once.yml +1132 -0
  53. data/spec/fixtures/BreweryDB_Resources_Styles/_all/fetches_all_of_the_styles_at_once.yml +1866 -0
  54. data/spec/fixtures/BreweryDB_Resources_Styles/_find/fetches_only_the_style_asked_for.yml +50 -0
  55. data/spec/spec_helper.rb +4 -4
  56. data/spec/support/shared/a_resource.rb +3 -9
  57. data/spec/support/vcr.rb +6 -1
  58. metadata +82 -42
  59. data/spec/brewery_db_spec.rb +0 -18
  60. data/spec/fixtures/beers.yml +0 -445
  61. data/spec/fixtures/breweries.yml +0 -409
  62. data/spec/fixtures/categories.yml +0 -102
  63. data/spec/fixtures/glassware.yml +0 -65
  64. data/spec/fixtures/search.yml +0 -314
  65. data/spec/fixtures/styles.yml +0 -317
@@ -1,409 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://api.brewerydb.com/v2/breweries?key=<%= api_key %>&established=2006
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - BreweryDB Ruby Gem 0.0.1
12
- response:
13
- status:
14
- code: 200
15
- message:
16
- headers:
17
- date:
18
- - Sun, 25 Mar 2012 23:23:25 GMT
19
- server:
20
- - Apache/2.2.21 (Amazon)
21
- x-powered-by:
22
- - PHP/5.3.10
23
- x-ratelimit-limit:
24
- - Unlimited
25
- x-ratelimit-remaining:
26
- - Unlimited
27
- connection:
28
- - close
29
- transfer-encoding:
30
- - chunked
31
- content-type:
32
- - application/json
33
- body:
34
- encoding: US-ASCII
35
- string: ! '{"currentPage":1,"numberOfPages":1,"data":[{"id":"Qt4daP","name":"612
36
- Brew LLC","description":"At 612Brew, the newest beer company in the 612, we
37
- want to make your newest favorite beer you\u2019ve never had.\r\n\r\nWith
38
- our operation moving to a larger location in Uptown, we have the opportunity
39
- to make and test out much larger batches of hand crafted beer and present
40
- them for you to try. You never know what we may brew next, a Porter, a Pilsner,
41
- a Bock or a Belgian. We are excited for each new beer that we make and hope
42
- you get excited to try them.","website":"http:\/\/612brew.com\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
43
- 04:00:17"},{"id":"eS7GHe","name":"Aksarben Brewing Company","description":"Aksarben
44
- Brewing Company","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
45
- 04:00:17"},{"id":"MMS5Y4","name":"Ale Asylum","description":"At ALE ASYLUM,
46
- we brew beers in the tradition of our friend Crusty Oldbrewer who sent us
47
- on this path: brew honest, brew like you mean it. Thus, our beer is brewed
48
- and bottled with our own hands on Madison\u2019s East Side. In fact, ALE ASYLUM
49
- operates the only bottling facility in Madison.\r\n\r\nALE ASYLUM is unfiltered
50
- and all natural. We use no additives, preservatives, fruit, horse hooves,
51
- fish guts, or extracts. Our ingredient list: water, malt, hops, and yeast.
52
- This is what we mean when we say our beer is FERMENTED IN SANITY. You know
53
- who makes it, you know what it\u2019s made with. You know after having one
54
- you\u2019ll want another.\r\n\r\nWe brew traditional, bold beers for those
55
- who demand quality and consistency. To those people we say: raise a pint,
56
- because you believe how we believe.","website":"http:\/\/www.aleasylum.com\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
57
- 04:00:17"},{"id":"jnJA9h","name":"Amalgamated Brewing Co","description":"Amalgamated
58
- is a craft brewery and micro distillery in St. Louis, MO. \r\n\r\nWe offer
59
- a great selection of craft beer from our own brewasters, as well as from other
60
- distinctive craft brewers across country, in our three restaurants\/brewpubs.
61
- We also distill handcrafted spirits, including 85 Lashes rum, which can be
62
- found in restaurants and liquor stores with good taste across the St. Louis
63
- metro area.","website":"http:\/\/www.amalgamatedbrewing.com\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
64
- 04:00:17"},{"id":"pweu9Z","name":"Big Boss Brewing Company","description":"Big
65
- Boss Brewing Company was started in 2006 and shipped it first beer in the
66
- 2nd quarter of 2007 in the triangle area of North Carolina. It was formed
67
- as collaboration between Geoff Lamb, a UNC graduate, who returned to North
68
- Carolina in 2006 to join forces with Brewmaster, Brad Wynn, who has 12+ years
69
- of brewing experience including several years with Victory, Wild Goose and
70
- Native Brewing Company.","website":"http:\/\/www.bigbossbrewing.com\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
71
- 04:00:19"},{"id":"s1ZOgm","name":"Birra Amiata","description":"Craft brewery
72
- which seeks to enhance its production through the clear waters of the ancient
73
- volcano (Mount Amiata) and typical local products such as chestnuts (recognized
74
- PGI), saffron and honey thorn Maremma\r\n\r\nBirra Amiata uses the finest
75
- ingredients of real beer, not pasteurized, making the public to rediscover
76
- the flavor of an old product","website":"http:\/\/www.birra-amiata.it\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
77
- 04:00:20"},{"id":"NYEW3a","name":"Black Star Co-op Pub & Brewery","description":"With
78
- a special focus on local producers, the basic mission of the Black Star Co-op
79
- is to foster an environment in which member-owners, as well as the general
80
- public, may realize the principles of co-operative ownership, worker self-management,
81
- education and community action through the responsible enjoyment great beer
82
- and food.\r\n\r\nAs the first enterprise of this type, we seek to realize
83
- an alternative business model for brewpubs and to help expand the co-operative
84
- movement into new and innovative areas \u2014 both in Austin and around the
85
- world.","website":"http:\/\/www.blackstar.coop\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
86
- 04:00:20"},{"id":"wf9sTB","name":"BrewDog Ltd","description":"BrewDog is a
87
- Scottish craft brewery located in the town of Fraserburgh, Aberdeenshire.\r\n\r\nBrewDog
88
- was founded in 2006 by friends James Watt and Martin Dickie. The brewery at
89
- the Kessock Industrial Estate in Fraserburgh produced its first brew in April
90
- 2007. It is Scotland''s largest independently owned brewery producing about
91
- 120,000 bottles per month for export all over the world.","website":"http:\/\/brewdog.com\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
92
- 04:00:21"},{"id":"18xhFY","name":"Cody Brewing Company","description":"Cody
93
- Brewing Company is located in Historic Amesbury, Massachusetts on the Powow
94
- River. We make hand crafted beer that combines traditional styles with rule
95
- breaking ideas to make the best beer possible. We brew on a 7 barrel system,
96
- which is just over 200 gallons, to make 1200 barrels each year.\r\n\r\nHand
97
- crafted beer that combines traditional styles with rule breaking ideas to
98
- make the best beer possible that our customers enjoy. Always.","website":"http:\/\/www.codybrewing.com\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
99
- 04:00:23"},{"id":"OQHplK","name":"Crabtree Brewing Company","description":"The
100
- Crabtree Brewing Company is dedicated to serving the environment, the community,
101
- our customers, and our valued employees. Requiring the best ingredients to
102
- support unique premium beers. Keeping a dynamic business mind while remaining
103
- modestly profitable. Employing technology, embracing ethics, growing to
104
- meet the needs of our customers and employees, and having fun doing what we
105
- love - Making Great Beer.\r\n\r\nThe Crabtree Brewing Company, ltd. is a Colorado
106
- based company providing premium ale, wheat, stout, and lager style beers.
107
- Established in 2006, this is the first micro-brewery located within Greeley,
108
- Colorado.","website":"http:\/\/www.crabtreebrewing.com","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
109
- 04:00:24"},{"id":"suhSiT","name":"Dead Frog Brewery","description":"A Canadian
110
- Craft Brewery located in Aldergrove BC and home of the finest beer in the
111
- universe! Do It Froggy Style!!!","website":"http:\/\/www.deadfrogbrewery.com\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
112
- 04:00:24"},{"id":"edOBJW","name":"Emerald Coast Beer Co","description":"The
113
- Emerald Coast Beer Company was started in 2006 with the goal of building a
114
- brand of beers to satisfy the taste of the southern beer drinker. There are
115
- four beers under the brand.","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
116
- 04:00:25"},{"id":"ixf402","name":"Epic Brewing Company","description":"Well
117
- there are a few reasons why Epic was chosen for the name of the company and
118
- beers.\r\n\r\nEpic Flavour - It reflected the way I like to brew beer. I like
119
- to have big aromas, flavours and taste in the beers.\r\n\r\nEpic Challenge
120
- - To start a new beer brand in this day and age, in a mature market, dominated
121
- by multinationals with huge resources, and the public perception that beer
122
- is a low value commodity, is a big challenge.\r\n\r\nEpic Journey - everyone
123
- that lives in New Zealand, or travelled here for a holiday, they at some point
124
- in their or their ancestors lives had to make an Epic Journey. Whether it
125
- be by canoe or commercial airliner they traveled a great distance to the end
126
- of the world to be in this beautiful country of New Zealand","website":"http:\/\/www.epicbeer.com\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
127
- 04:00:25"},{"id":"2cyyX0","name":"Greenpoint Beer Works Inc","website":"http:\/\/www.kelsoofbrooklyn.com\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
128
- 04:00:27"},{"id":"lZZID5","name":"Half Acre Beer Company","description":"Half
129
- Acre Beer Co. is a brewing company in the Northcenter neighborhood of Chicago,
130
- IL. We built a brewery in the middle of the city where we brew small batch
131
- beers, and have a store & tasting area where we sample our beers and sell
132
- them to go in all package styles. \r\n\r\nWe make different beers throughout
133
- the year, some we brew all the time and some are only around for a very short
134
- period. Our focus is to expand our abilities and enjoy our work.","website":"http:\/\/www.halfacrebeer.com\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
135
- 04:00:27"},{"id":"s686sl","name":"High & Mighty Beer Company","description":"High
136
- & Mighty Beer Company began in 2006 as an offshoot of Shelton Brothers beer
137
- importing company. Will Shelton took his idea for a novel German-style ale
138
- to Paper City Brewery in Holyoke, Massachusetts, and Beer of the Gods was
139
- born, to extraordinary commercial success, critical acclaim, and unabashed
140
- adoration from beer geeks the world over.\r\n\r\nEventually, Will discovered
141
- that he enjoyed selling the beer he made even more than he did the splendid
142
- beers that Shelton Brothers imports, and in June 2008, he abandoned his brother
143
- to focus on making American beer that added an American attitude to the best
144
- of European beer styles. The beer is still lovingly made at Paper City, but
145
- look for High & Mighty to open a brewery of its own in 2010.","website":"http:\/\/www.highandmightybeer.com\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
146
- 04:00:28"},{"id":"XYkse3","name":"Horseheads Brewing","description":"Horseheads
147
- Brewing broke ground on June 2006 and opened it''s doors for business on July
148
- 3rd, 2007. The Master Brewer, after \"home-brewing\" for 8 years, received
149
- his education and certificate of concise brewing technology from the Siebel
150
- Institute in Chicago.","website":"http:\/\/www.horseheadsbrewing.com\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
151
- 04:00:28"},{"id":"gixuSn","name":"Kelso of Brooklyn","description":"Brewing
152
- extraordinary lagers which highlight the simple beauty of well crafted, local
153
- beers since 2006\r\n\r\nBrewing fresh, flavorful, balanced beer in Brooklyn
154
- since 2006.","website":"http:\/\/kelsoofbrooklyn.com\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
155
- 04:00:29"},{"id":"E1t9sz","name":"Kern River Brewing Company","description":"The
156
- Kern River Brewing Company (KRBC) brings people back to the magnificent simplicities
157
- that life has to offer.\r\n\r\nFrom its beginnings, Kernville has been a wild-west
158
- town. Established as a mining settlement in the mid 1800''s and continuing
159
- as a ranching community through the 1900''s, Kernville remains a town of adventure,
160
- offering a wide variety of outdoor activities. On any given day, the outdoor
161
- enthusiast enjoys activities ranging from the excitement of whitewater rafting,
162
- kayaking, downhill skiing, cross-country skiing, snowmobiling, horseback riding,
163
- attending rodeos, windsurfing, water-skiing, mountain biking and climbing. If
164
- a more relaxing day is preferred, people can enjoy fishing, hiking, camping,
165
- sailing, antiquing, and bird watching or simply kicking back and taking in
166
- the spectacular views of the Sierra Nevada mountain range.","website":"http:\/\/www.kernriverbrewingcompany.com\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
167
- 04:00:29"},{"id":"6QG7Xg","name":"Laht Neppur Brewing Company","description":"We
168
- couldn''t have said it better ourselves. Laht Neppur Brewing Co., located
169
- in Waitsburg, WA, offers premium handcrafted ale by the glass or pitcher in
170
- our tap room. Sampler trays are highly recommended for first time visitors.
171
- We also have Mason Jars, Growlers, and Party Pigs to go.\r\n\r\nAfter home
172
- brewing for more than 20 years, Chiefton Brewer Court Ruppenthal, came to
173
- the Walla Walla Valley to learn the art of wine making. He quickly realized
174
- that what the valley really needed was beer - good beer. After all, winemakers
175
- in the valley are often heard saying, \"It takes a lot of beer to make good
176
- wine.\" So he decided to open his own brewery, and opened the doors to the
177
- public on June 3, 2006.\r\n\r\nAll Laht Neppur beer is produced on site and
178
- is available in our tap room. There are no macro-brews here! Families are
179
- welcome, and we offer an outdoor seating area.","website":"http:\/\/www.lahtneppur.com\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
180
- 04:00:30"},{"id":"vwDz9P","name":"Lazy Boy Brewing Company","website":"http:\/\/www.lazyboybrewing.com\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
181
- 04:00:30"},{"id":"L3hjIU","name":"Lightning Brewery","description":"Our fine
182
- hand crafted European style beers have a distinctive Lightning Finish: a crisp,
183
- clean aroma, pronounced maltiness and a prolonged and slightly bittering finish.
184
- Our beers are good to drink on their own, and great with food. We have proven
185
- that you don\u2019t need to travel to Europe to enjoy beers of these styles
186
- and of this caliber!\r\n\r\nAt Lightning we brew \u201cBetter Beer Through
187
- Science.\u201d We believe that good beer can be the result of chance and that
188
- great beer is the result of an in-depth understanding of the beer making process.
189
- We take care to control each stage of the brewing cycle, never skimp on how
190
- long each step takes and only use the highest quality ingredients: malted
191
- barley, hops, yeast, plus a healthy dose of science.","website":"http:\/\/www.lightningbrewery.com\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
192
- 04:00:30"},{"id":"zp8ag1","name":"Moccasin Bend Brewing Company","description":"Moccasin
193
- Bend Brewing Company is located in the historic St. Elmo district of Chattanooga,
194
- TN. We\u2019re at the foot of Lookout Mountain just steps away from the world-famous
195
- Incline Railway and very near to the great Moccasin Bend of the Tennessee
196
- River. \r\n\r\nMBBC was started by two brewers whose quest for the perfect
197
- beer led them to learn the art of brewing. Chris Hunt and Duncan Guy began
198
- their brewing education in the Barley Mob Brewers homebrewing club and continued
199
- to search for unique and distinctive ale and lager formulas. They decided
200
- to offer their creations to the public through a small batch microbrewery
201
- in 2006. Soon thereafter, award-winning brewer Courtney Tyvand joined the
202
- two and presented his smoked porter at the brewery\u2019s first beer dinner
203
- in October of 2006.\r\n\r\nThe brewery is located on the ground floor of a
204
- historic building at 4015 Tennessee Avenue in St. Elmo. The building is constructed
205
- of foot-square cedar timbers and two-foot thick walls made of granite stone
206
- and mortar. Built in 1911 as a packaging factory for K-Rations for WWI, we
207
- occasionally find artifacts from that era in the building walls and ceiling. The
208
- brewery shares space with the Chattanooga U-Brew, a brew-on-premises business
209
- owned by Greg McCort. \r\n\r\nMBBC is proud to offer small batch specialty
210
- ales and lagers in kegs of various sizes. A tasting room is part of the brewery;
211
- samples of our beers can be tasted and tested on premises. Occasionally we
212
- have tasting events or tapping events at the brewery or at a nearby bar or
213
- restaurant. Please check our calendar for scheduled tasting events at the
214
- brewery.","website":"http:\/\/www.bendbrewingbeer.com\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
215
- 04:00:31"},{"id":"1cTT3M","name":"Monday Night Brewing","description":"Monday
216
- Night Brewing is an Atlanta-based craft beer company. We currently offer two
217
- delicious styles of beer on draft in select Atlanta establishments.\r\n\r\nBelieve
218
- it or not, the idea for Monday Night Brewing grew out of a small Atlanta Bible
219
- study. We started brewing beer together on Monday nights as a way to get to
220
- know each other better. As we got more engrained in the industry and more
221
- people started showing up to brew with us, beer quickly became more than just
222
- a weeknight hobby.\r\n\r\nWe spent almost 5 years perfecting our Eye Patch
223
- Ale and Drafty Kilt Scotch Ale before bringing them to market. Years of minor
224
- tweaks, arguments over hop profiles, and experiments with different brands
225
- of base malts are poured into every glass that we brew.","website":"http:\/\/mondaynightbrewing.com\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
226
- 04:00:31"},{"id":"V4E5sx","name":"Ninkasi Brewing Company","description":"Ninkasi
227
- Brewing began its history on June 15th, 2006 when Jamie Floyd and Nikos Ridge
228
- spent 17 hours brewing their first batch of Total Domination IPA in leased
229
- space inside a German restaurant in Springfield, Oregon. Once a brewery, the
230
- building was equipped with a 15 barrel brew house set up for brewpub brewing.\r\n\r\nWithin
231
- the next few months Ninkasi maximized its first home as they pushed their
232
- maximum annual output of 1600 barrels. Meanwhile, the two worked with the
233
- City of Eugene, the SBA, Liberty Bank and some investors to purchase their
234
- current location in the heart of the Historic Whiteaker neighborhood in Eugene.
235
- Over time, Ninkasi transformed the old plumbing company\u2019s building into
236
- the modern production brewery it is today.","website":"http:\/\/www.ninkasibrewing.com\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
237
- 04:00:32"},{"id":"Ww7gSH","name":"Oakshire Brewing Company","description":"The
238
- name Oakshire represents Strength, Independence, Community and Bioregion,
239
- values held by our owners and employees. Begun in October 2006 by brothers
240
- Jeff and Chris Althouse, Oakshire Brewing operates as a production brewery
241
- next to the train yards in Northwest Eugene. We make three year round beers,
242
- available in 22oz bottles and on draft found throughout Oregon. Oakshire
243
- makes a rotating seasonal beer available in 22oz bottles and on draft as well. And
244
- the brewers at Oakshire craft a range of single batch beers only available
245
- on draft. The brewery aims to make clean, consistent, high quality beer \u2013
246
- humble brewers of delicious beer.\r\n\r\nFormerly know as Willamette Brewery","website":"http:\/\/oakbrew.com\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
247
- 04:00:33"},{"id":"ay9iMr","name":"Port Brewing Company","description":"We
248
- officially opened on May 5th 2006. Now we will be able to make up to 5000
249
- barrels of beer enabling you more chances to drink your favorite Port Brewed
250
- beers at home and around town. More impressive is our oak barrel room where
251
- we age our barrel aged specialty beers. Come check out our tasting bar on
252
- Fridays and Saturdays where you can get bottles, jugs & merchandise to go
253
- while you sample what we''ve been brewing!","website":"http:\/\/www.portbrewing.com\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
254
- 04:00:34"},{"id":"jYYHFn","name":"Schooner Exact Brewing Company","description":"In
255
- 2006, homebrewing pals Marcus Connery and Matt & Heather McClung decided to
256
- take their hobby to the next level and go pro. Purchasing a half-barrel system,
257
- they began brewing a keg of beer at a time out of an ActivSpace unit under
258
- the West Seattle Bridge. Beginning in January 2007, they distributed their
259
- beer to restaurants and taprooms all over the city of Seattle.\r\n\r\nAs demand
260
- for their beers increased, the Schooner EXACT founders expanded into a larger,
261
- 10 -barrel system. The brewery moved to the South Park neighborhood in early
262
- 2009, and to its current SODO location on 1st Avenue in 2010. After Marcus
263
- Connery passed the reins of the brewery over to Heather and Matt to pursue
264
- the next chapter in his beer adventures by opening a beer broker\/ consulting
265
- business, Matt and Heather quit their teaching jobs to pursue their brewery
266
- dreams full time.","website":"http:\/\/www.schoonerexact.com\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
267
- 04:00:36"},{"id":"4iYhgH","name":"Sherwood Brewing Company","description":"Sherwood
268
- Brewing Company opened its doors on August 31, 2006 in the Hayes Center Shoppes
269
- plaza on Hayes Rd. north of Hall Rd. (M-59) in Shelby Township, Michigan.\r\n\r\nWe
270
- serve only the finest hand-crafted beer, wine, and sodas, all made in our
271
- on-site brewing facility.\r\n\r\nSherwood Brewing Company is proud and honored
272
- to be the recipient of WDIV''s \"4 the Best\" award for Best Brewpub for four
273
- consecutive years (2007 - 2010) as voted by you, our customers.","website":"http:\/\/sherwoodbrewing.com\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
274
- 04:00:36"},{"id":"GAHcIE","name":"Southern Oregon Brewing Company","description":"Then
275
- we invite you to sample the hand-crafted brews of the Southern Oregon Brewing
276
- Company.\r\nBrewed with uncompromised standards in Medford, Oregon, we\u2019re
277
- dedicated to producing a full line of tantalizing brews using old-world brewing
278
- techniques and only the finest natural ingredients.\r\n\r\nServed at discriminating
279
- restaurants and bars, one sip and you''ll know that you''ve discovered something
280
- quiet extraordinary\u2026 beer that has been crafted by beer lovers for beer
281
- lovers.\r\nAs a Southern Oregon owned crafted brewery, we\u2019re dedicated
282
- to the highest standards of quality and returning a percentage of our profits
283
- to the local community.","website":"http:\/\/www.sobrewing.com\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
284
- 04:00:37"},{"id":"g6KiH1","name":"Square One Brewery & Distillery","description":"The
285
- Square One Brewery & Distillery began operations as a brewery \/restaurant
286
- in February of 2006. In August of 2008 Square One became the first microdistillery
287
- restaurant in the state of Missouri and one of the first in the country. We
288
- believe that our approach to the alcohol beverage program is unique and very
289
- different from that of other restaurants. We believe in crafting the products
290
- we serve whether it is spirits, beer or food. By combining the expertise of
291
- our distiller, our master brewer, and our chef we are committed to creating
292
- an amazing array of flavors and tastes for our customers.","website":"http:\/\/www.squareonebrewery.com\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
293
- 04:00:37"},{"id":"cPMGOL","name":"Surly Brewing Company","description":"While
294
- you''re enjoying the full-bodied flavor of the beer, remember that it was
295
- more than 10 years in the making. We think it was worth it. We hope you agree.\r\n
296
- \r\nSurly: The anger fueled by the inability to find good beer.\r\n\r\n\"We
297
- brewed beer for people who didn''t know they wanted to drink it until they
298
- had it.\" - Omar Ansari","website":"http:\/\/www.surlybrewing.com\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
299
- 04:00:38"},{"id":"9x2OiR","name":"The Lost Abbey","description":"Founded in
300
- 2006, Port Brewing Company produces a line of award-winning American ales
301
- and the groundbreaking Lost Abbey family of Belgian-inspired beers. Craft
302
- brewed under the direction of co-founder and World Champion brewer Tomme Arthur,
303
- five beers are issued under the Lost Abbey label year-round: Avant Garde,
304
- Lost and Found, Red Barn, Devotion and Judgment Day. Additionally, a number
305
- of seasonal and specialty releases are offered at various times throughout
306
- the year. As many of these are blended and aged for up to 18 months in French
307
- Oak, Brandy and Bourbon barrels, Lost Abbey beers are universally recognized
308
- for their complexity, unique flavors, and bold, boundary-pushing styles.\r\n\r\nSince
309
- opening its doors, Port Brewing and The Lost Abbey beers have won more nearly
310
- 100 medals in regional, national and international competitions. Rate Beer
311
- ranks the brewery number three in the world, and six of its beers are among
312
- the 100 best beers.","website":"http:\/\/www.lostabbey.com\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
313
- 04:00:38"},{"id":"VcIZsk","name":"Twin Lakes Brewing Company","description":"In
314
- 1985, while attending the University of California at Berkeley, Samuel Hobbs
315
- wrote a chemistry paper, for a laugh, on \u201caqueous beer foam\u201d (the
316
- head of a beer). It would take 21 years for that initial interest to manifest
317
- itself into something drinkable. The spark would come after 9\/11 while he
318
- drank homebrewed stout with five of his friends. Motivated by patriotic feelings
319
- and the American dream of creating a business, the energy was set in motion
320
- to start Twin Lakes Brewing Company. Weeks later, Sam and his longtime friends
321
- Matt Day, Jack Wick, and Mark Fesche developed a unique 15 gallon gravity
322
- fed pilot system and began working to create their first signature brews.\r\n\r\nThey
323
- decided to locate the brewery at the beautiful \u201cTwin Lakes Farm\u201d
324
- in Greenville, Delaware. This historic 252 acre farm has been in Sam\u2019s
325
- family for seven generations and has a deep rock well aquifer which supplies
326
- perfect water for brewing. Local artisans converted an old tractor barn and
327
- art studio to accommodate a five vessel, gravity fed brewery and tasting room.
328
- Finally, on April 13, 2006, the first two brands, Greenville Pale Ale and
329
- Route 52 Pilsner, were launched. \r\n\r\nToday Twin Lakes Brewery also produces
330
- Tweed\u2019s Tavern Stout, Caesar Rodney Golden Ale and Winterthur Wheat,
331
- as well as seasonal styles Oktoberfest and Jublicious. Currently, Twin Lakes
332
- beer is available on tap at many fine restaurants and taverns in Delaware
333
- and Southeastern Pennsylvania. Growlers (half gallon jugs of beer) can be
334
- purchased at the brewery and kegs are available at most regional beer and
335
- liquor stores.","website":"http:\/\/twinlakesbrewingcompany.com\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
336
- 04:00:39"},{"id":"MgqQxu","name":"Weasel Boy Brewing Company","description":"Founded
337
- by Jay and Lori Wince in 2006 Weasel Boy Brewing Company is committed to
338
- our local community and works with many local organizations to promote Zanesville
339
- and the Muskingum County Area. By taking an active part in community events, supporting
340
- local businesses, local charities, local artisans and promoting a family
341
- friendly environment, Weasel Boy endeavors to be a good citizen and good
342
- neighbor. Allow us to introduce our founders.","website":"http:\/\/www.weaselboybrewing.com\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
343
- 04:00:40"},{"id":"6o8QpY","name":"Wells and Young&#39;s Brewing Company","description":"Wells
344
- and Young\u2019s Brewing Company is the epitome of all-round business excellence,
345
- demonstrating sustained growth for its beers and stockists whilst combining
346
- traditional family values with innovation and development. \r\n\r\nFirmly
347
- placed as the UK\u2019s largest private brewing company, it is fiercely independent,
348
- and with an enviable portfolio of some of the UK\u2019s most loved cask beers
349
- and speciality lager brands.","website":"http:\/\/www.wellsandyoungs.co.uk\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
350
- 04:00:40"},{"id":"2OE5d6","name":"Williamsburg AleWerks","description":"Williamsburg
351
- AleWerks is located in the heart of the early colonies in Williamsburg, Virginia.
352
- Established in 2006 we have rolled out a broad range of beer offerings and
353
- quickly established a reputation for fine beer. We operate a direct fired
354
- brick-clad Peter Austin brew house and ferment all our beers in state-of-the-art
355
- conical fermentors.","website":"http:\/\/www.williamsburgalewerks.com\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
356
- 04:00:41"},{"id":"IgYNzL","name":"Woodruff Brewing Company","description":"The
357
- Downtown Grill & Brewery is a nice brewpub downtown with patio seating on
358
- Gay Street as well as a back porch. The atmosphere is lodge-like with rich
359
- wood and copper brewing equipment. There is also a private room you can rent
360
- upstairs.","website":"http:\/\/woodruffbrewing.com\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
361
- 04:00:43"}],"status":"success"}'
362
- http_version:
363
- recorded_at: Sun, 25 Mar 2012 23:23:28 GMT
364
- - request:
365
- method: get
366
- uri: http://api.brewerydb.com/v2/brewery/d1zSa7?key=<%= api_key %>
367
- body:
368
- encoding: US-ASCII
369
- string: ''
370
- headers:
371
- User-Agent:
372
- - BreweryDB Ruby Gem 0.0.1
373
- response:
374
- status:
375
- code: 200
376
- message:
377
- headers:
378
- date:
379
- - Sun, 25 Mar 2012 23:52:33 GMT
380
- server:
381
- - Apache/2.2.21 (Amazon)
382
- x-powered-by:
383
- - PHP/5.3.10
384
- x-ratelimit-limit:
385
- - Unlimited
386
- x-ratelimit-remaining:
387
- - Unlimited
388
- content-length:
389
- - '1256'
390
- connection:
391
- - close
392
- content-type:
393
- - application/json
394
- body:
395
- encoding: US-ASCII
396
- string: ! '{"message":"Request Successful","data":{"id":"d1zSa7","name":"Lonerider
397
- Brewing Company","description":"We opened our doors on January 23rd, 2009
398
- and since then we have been impressed with the enthusiasm of craft beer aficionados
399
- we meet daily. The craft brewing industry is booming and you can find a tremendous
400
- variety out there. North Carolina has undoubtedly become the Southern State
401
- for beer with Asheville reigning supreme and Raleigh\/Durham\/CH not far behind.
402
- We hope you continue to support the variety and encourage new brewers to experiment
403
- with and craft new styles for everybody\u2019s pleasure.\r\n\r\n\"Effect change;
404
- don''t be an audience. Walk your own path, and instead of thinking outside
405
- the box, imagine if there was no box.\"","website":"http:\/\/www.loneriderbeer.com\/","established":"2009","isOrganic":"N","images":{"icon":"http:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/d1zSa7\/upload_kwaFB7-icon.png","medium":"http:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/d1zSa7\/upload_kwaFB7-medium.png","large":"http:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/d1zSa7\/upload_kwaFB7-large.png"},"status":"verified","statusDisplay":"Verified","createDate":"2012-03-25
406
- 04:00:30","updateDate":"2012-03-25 04:40:10"},"status":"success"}'
407
- http_version:
408
- recorded_at: Sun, 25 Mar 2012 23:52:35 GMT
409
- recorded_with: VCR 2.0.0
@@ -1,102 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://api.brewerydb.com/v2/categories?key=<%= api_key %>
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - BreweryDB Ruby Gem 0.0.1
12
- response:
13
- status:
14
- code: 200
15
- message:
16
- headers:
17
- date:
18
- - Thu, 05 Apr 2012 15:20:09 GMT
19
- server:
20
- - Apache/2.2.21 (Amazon)
21
- x-powered-by:
22
- - PHP/5.3.10
23
- x-ratelimit-limit:
24
- - Unlimited
25
- x-ratelimit-remaining:
26
- - Unlimited
27
- content-length:
28
- - '2576'
29
- connection:
30
- - close
31
- content-type:
32
- - application/json
33
- body:
34
- encoding: US-ASCII
35
- string: ! '{"message":"Request Successful","data":[{"id":1,"name":"Light Lager","bjcpCategory":"1","createDate":"2012-04-05
36
- 04:00:04"},{"id":2,"name":"Pilsner","bjcpCategory":"2","createDate":"2012-04-05
37
- 04:00:04"},{"id":3,"name":"European Amber Lager","bjcpCategory":"3","createDate":"2012-04-05
38
- 04:00:04"},{"id":4,"name":"Dark Lager","bjcpCategory":"4","createDate":"2012-04-05
39
- 04:00:04"},{"id":5,"name":"Bock","bjcpCategory":"5","createDate":"2012-04-05
40
- 04:00:04"},{"id":6,"name":"Light Hybrid Beer","bjcpCategory":"6","createDate":"2012-04-05
41
- 04:00:04"},{"id":7,"name":"Amber Hybrid Beer","bjcpCategory":"7","createDate":"2012-04-05
42
- 04:00:04"},{"id":8,"name":"English Pale Ale","bjcpCategory":"8","createDate":"2012-04-05
43
- 04:00:04"},{"id":9,"name":"Scottish & Irish Ale","bjcpCategory":"9","createDate":"2012-04-05
44
- 04:00:04"},{"id":10,"name":"American Ale","bjcpCategory":"10","createDate":"2012-04-05
45
- 04:00:04"},{"id":11,"name":"English Brown Ale","bjcpCategory":"11","createDate":"2012-04-05
46
- 04:00:04"},{"id":12,"name":"Porter","bjcpCategory":"12","createDate":"2012-04-05
47
- 04:00:04"},{"id":13,"name":"Stout","bjcpCategory":"13","createDate":"2012-04-05
48
- 04:00:04"},{"id":14,"name":"India Pale Ale (IPA)","bjcpCategory":"14","createDate":"2012-04-05
49
- 04:00:04"},{"id":15,"name":"German Wheat & Rye Beer","bjcpCategory":"15","createDate":"2012-04-05
50
- 04:00:04"},{"id":16,"name":"Belgian & French Ale","bjcpCategory":"16","createDate":"2012-04-05
51
- 04:00:04"},{"id":17,"name":"Sour Ale","bjcpCategory":"17","createDate":"2012-04-05
52
- 04:00:04"},{"id":18,"name":"Belgian Strong Ale","bjcpCategory":"18","createDate":"2012-04-05
53
- 04:00:04"},{"id":19,"name":"Strong Ale","bjcpCategory":"19","createDate":"2012-04-05
54
- 04:00:04"},{"id":20,"name":"Fruit Beer","bjcpCategory":"20","createDate":"2012-04-05
55
- 04:00:04"},{"id":21,"name":"Spice\/Herb\/Vegetable Beer","bjcpCategory":"21","createDate":"2012-04-05
56
- 04:00:04"},{"id":22,"name":"Smoke-Flavored & Wood-Aged Beer","bjcpCategory":"22","createDate":"2012-04-05
57
- 04:00:04"},{"id":23,"name":"Specialty Beer","bjcpCategory":"23","createDate":"2012-04-05
58
- 04:00:04"},{"id":24,"name":"Traditional Mead","bjcpCategory":"24","createDate":"2012-04-05
59
- 04:00:04"},{"id":25,"name":"Melomel (Fruit Mead)","bjcpCategory":"25","createDate":"2012-04-05
60
- 04:00:04"},{"id":26,"name":"Other Mead","bjcpCategory":"26","createDate":"2012-04-05
61
- 04:00:04"},{"id":27,"name":"Standard Cider & Perry","bjcpCategory":"27","createDate":"2012-04-05
62
- 04:00:04"},{"id":28,"name":"Specialty Cider & Perry","bjcpCategory":"28","createDate":"2012-04-05
63
- 04:00:04"}],"status":"success"}'
64
- http_version:
65
- recorded_at: Thu, 05 Apr 2012 15:20:09 GMT
66
- - request:
67
- method: get
68
- uri: http://api.brewerydb.com/v2/category/1?key=<%= api_key %>
69
- body:
70
- encoding: US-ASCII
71
- string: ''
72
- headers:
73
- User-Agent:
74
- - BreweryDB Ruby Gem 0.0.1
75
- response:
76
- status:
77
- code: 200
78
- message:
79
- headers:
80
- date:
81
- - Thu, 05 Apr 2012 15:20:10 GMT
82
- server:
83
- - Apache/2.2.21 (Amazon)
84
- x-powered-by:
85
- - PHP/5.3.10
86
- x-ratelimit-limit:
87
- - Unlimited
88
- x-ratelimit-remaining:
89
- - Unlimited
90
- content-length:
91
- - '142'
92
- connection:
93
- - close
94
- content-type:
95
- - application/json
96
- body:
97
- encoding: US-ASCII
98
- string: ! '{"message":"Request Successful","data":{"id":1,"name":"Light Lager","bjcpCategory":"1","createDate":"2012-04-05
99
- 04:00:04"},"status":"success"}'
100
- http_version:
101
- recorded_at: Thu, 05 Apr 2012 15:20:11 GMT
102
- recorded_with: VCR 2.0.0