brewery_db 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.travis.yml +1 -0
- data/CHANGELOG.md +4 -0
- data/README.md +5 -4
- data/brewery_db.gemspec +2 -0
- data/lib/brewery_db/resources/beers.rb +4 -0
- data/lib/brewery_db/version.rb +1 -1
- data/spec/brewery_db/client_spec.rb +23 -12
- data/spec/brewery_db/config_spec.rb +9 -5
- data/spec/brewery_db/resource_spec.rb +1 -1
- data/spec/brewery_db/resources/beers_spec.rb +14 -3
- data/spec/brewery_db/resources/breweries_spec.rb +1 -1
- data/spec/brewery_db/resources/brewery_spec.rb +2 -2
- data/spec/brewery_db/resources/categories_spec.rb +1 -1
- data/spec/brewery_db/resources/fermentables_spec.rb +1 -1
- data/spec/brewery_db/resources/fluid_size_spec.rb +1 -1
- data/spec/brewery_db/resources/hops_spec.rb +1 -1
- data/spec/brewery_db/resources/locations_spec.rb +1 -1
- data/spec/brewery_db/resources/search_spec.rb +5 -5
- data/spec/brewery_db/resources/styles_spec.rb +1 -1
- data/spec/brewery_db/resources/yeasts_spec.rb +1 -1
- data/spec/fixtures/BreweryDB_Resource/_get/a_list_of_resources/can_be_enumerated.yml +160 -84
- data/spec/fixtures/BreweryDB_Resource/_get/a_not_found_request/includes_the_response_message_in_the_error_message.yml +9 -9
- data/spec/fixtures/BreweryDB_Resource/_get/a_not_found_request/includes_the_response_status_in_the_error_message.yml +9 -9
- data/spec/fixtures/BreweryDB_Resource/_get/a_not_found_request/raises_an_exception.yml +9 -9
- data/spec/fixtures/BreweryDB_Resource/_get/an_OK_request/returns_the_data.yml +10 -10
- data/spec/fixtures/BreweryDB_Resources_Beers/_all/fetches_all_of_the_beers_at_once.yml +228 -244
- data/spec/fixtures/BreweryDB_Resources_Beers/_find/fetches_only_the_beer_asked_for.yml +10 -10
- data/spec/fixtures/BreweryDB_Resources_Beers/_random/fetches_a_random_beer.yml +53 -0
- data/spec/fixtures/BreweryDB_Resources_Breweries/_all/fetches_all_of_the_breweries_at_once.yml +46 -66
- data/spec/fixtures/BreweryDB_Resources_Breweries/_find/fetches_only_the_brewery_asked_for.yml +10 -10
- data/spec/fixtures/BreweryDB_Resources_Categories/_all/fetches_all_of_the_cagtegories_at_once.yml +13 -12
- data/spec/fixtures/BreweryDB_Resources_Categories/_find/fetches_only_the_category_asked_for.yml +10 -10
- data/spec/fixtures/BreweryDB_Resources_Fermentables/_all/fetches_all_of_the_fermentables_at_once.yml +15 -15
- data/spec/fixtures/BreweryDB_Resources_Fermentables/_find/fetches_only_the_fermentable_asked_for.yml +13 -13
- data/spec/fixtures/BreweryDB_Resources_FluidSize/_all/fetches_all_of_the_fluid_sizes_at_once.yml +16 -14
- data/spec/fixtures/BreweryDB_Resources_FluidSize/_find/fetches_only_the_fluid_size_asked_for.yml +12 -12
- data/spec/fixtures/BreweryDB_Resources_Glassware/_all/fetches_all_of_the_glassware_at_once.yml +10 -10
- data/spec/fixtures/BreweryDB_Resources_Glassware/_find/fetches_only_the_glassware_asked_for.yml +10 -10
- data/spec/fixtures/BreweryDB_Resources_Hops/_all/fetches_all_of_the_hops_at_once.yml +15 -15
- data/spec/fixtures/BreweryDB_Resources_Hops/_find/fetches_only_the_hop_asked_for.yml +13 -13
- data/spec/fixtures/BreweryDB_Resources_Locations/_all/fetches_all_of_the_breweries_at_once.yml +122 -58
- data/spec/fixtures/BreweryDB_Resources_Locations/_find/fetches_only_the_location_asked_for.yml +10 -10
- data/spec/fixtures/BreweryDB_Resources_Menu/_beer_availability/fetches_all_of_the_beer_availabilities_at_once.yml +12 -12
- data/spec/fixtures/BreweryDB_Resources_Search/_all/fetches_all_of_the_search_results_at_once.yml +366 -411
- data/spec/fixtures/BreweryDB_Resources_Search/_upc/for_an_existing_upc_code/returns_a_collection_with_the_matched_beer.yml +11 -11
- data/spec/fixtures/BreweryDB_Resources_Styles/_all/fetches_all_of_the_styles_at_once.yml +63 -24
- data/spec/fixtures/BreweryDB_Resources_Styles/_find/fetches_only_the_style_asked_for.yml +10 -10
- data/spec/fixtures/BreweryDB_Resources_Yeasts/_all/fetches_all_of_the_yeasts_at_once.yml +14 -14
- data/spec/fixtures/BreweryDB_Resources_Yeasts/_find/fetches_only_the_yeast_asked_for.yml +13 -13
- data/spec/spec_helper.rb +2 -0
- metadata +52 -22
|
@@ -8,30 +8,30 @@ http_interactions:
|
|
|
8
8
|
string: ''
|
|
9
9
|
headers:
|
|
10
10
|
User-Agent:
|
|
11
|
-
- BreweryDB Ruby Gem 0.2.
|
|
11
|
+
- BreweryDB Ruby Gem 0.2.3
|
|
12
12
|
response:
|
|
13
13
|
status:
|
|
14
14
|
code: 200
|
|
15
15
|
message:
|
|
16
16
|
headers:
|
|
17
|
+
content-type:
|
|
18
|
+
- application/json
|
|
17
19
|
date:
|
|
18
|
-
- Mon,
|
|
20
|
+
- Mon, 31 Mar 2014 20:13:22 GMT
|
|
19
21
|
server:
|
|
20
|
-
- Apache/2.2.
|
|
22
|
+
- Apache/2.2.26 (Amazon)
|
|
23
|
+
vary:
|
|
24
|
+
- Accept-Encoding
|
|
21
25
|
x-powered-by:
|
|
22
|
-
- PHP/5.3.
|
|
26
|
+
- PHP/5.3.28
|
|
23
27
|
x-ratelimit-limit:
|
|
24
28
|
- Unlimited
|
|
25
29
|
x-ratelimit-remaining:
|
|
26
30
|
- Unlimited
|
|
27
|
-
vary:
|
|
28
|
-
- Accept-Encoding
|
|
29
31
|
content-length:
|
|
30
32
|
- '1156'
|
|
31
33
|
connection:
|
|
32
|
-
-
|
|
33
|
-
content-type:
|
|
34
|
-
- application/json
|
|
34
|
+
- Close
|
|
35
35
|
body:
|
|
36
36
|
encoding: UTF-8
|
|
37
37
|
string: '{"message":"READ ONLY MODE: Request Successful","data":{"id":"99Uj1n","name":"Curmudgeon\u2019s
|
|
@@ -59,5 +59,5 @@ http_interactions:
|
|
|
59
59
|
organizers may choose to distinguish these types of old ale from modern versions.)","ibuMin":"30","ibuMax":"65","abvMin":"6","abvMax":"9","srmMin":"12","srmMax":"30","ogMin":"1.058","fgMin":"1.014","fgMax":"1.03","createDate":"2012-03-21
|
|
60
60
|
20:06:45"}},"status":"success"}'
|
|
61
61
|
http_version:
|
|
62
|
-
recorded_at: Mon,
|
|
62
|
+
recorded_at: Mon, 31 Mar 2014 20:13:22 GMT
|
|
63
63
|
recorded_with: VCR 2.4.0
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: http://api.brewerydb.com/v2/beer/random?key=API_KEY&hasLabels=Y
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: ''
|
|
9
|
+
headers:
|
|
10
|
+
User-Agent:
|
|
11
|
+
- BreweryDB Ruby Gem 0.2.3
|
|
12
|
+
response:
|
|
13
|
+
status:
|
|
14
|
+
code: 200
|
|
15
|
+
message:
|
|
16
|
+
headers:
|
|
17
|
+
content-type:
|
|
18
|
+
- application/json
|
|
19
|
+
date:
|
|
20
|
+
- Mon, 07 Apr 2014 18:41:19 GMT
|
|
21
|
+
server:
|
|
22
|
+
- Apache/2.2.26 (Amazon)
|
|
23
|
+
vary:
|
|
24
|
+
- Accept-Encoding
|
|
25
|
+
x-powered-by:
|
|
26
|
+
- PHP/5.3.28
|
|
27
|
+
x-ratelimit-limit:
|
|
28
|
+
- Unlimited
|
|
29
|
+
x-ratelimit-remaining:
|
|
30
|
+
- Unlimited
|
|
31
|
+
content-length:
|
|
32
|
+
- '675'
|
|
33
|
+
connection:
|
|
34
|
+
- Close
|
|
35
|
+
body:
|
|
36
|
+
encoding: UTF-8
|
|
37
|
+
string: '{"message":"READ ONLY MODE: Request Successful","data":{"id":"7WbFtq","name":"Bornem
|
|
38
|
+
Double","abv":"8","styleId":70,"isOrganic":"N","labels":{"icon":"https:\/\/s3.amazonaws.com\/brewerydbapi\/beer\/7WbFtq\/upload_f5WnFM-icon.png","medium":"https:\/\/s3.amazonaws.com\/brewerydbapi\/beer\/7WbFtq\/upload_f5WnFM-medium.png","large":"https:\/\/s3.amazonaws.com\/brewerydbapi\/beer\/7WbFtq\/upload_f5WnFM-large.png"},"status":"verified","statusDisplay":"Verified","createDate":"2012-01-03
|
|
39
|
+
02:42:53","updateDate":"2012-11-03 17:25:31","style":{"id":70,"categoryId":5,"category":{"id":5,"name":"Belgian
|
|
40
|
+
And French Origin Ales","createDate":"2012-03-21 20:06:46"},"name":"Other
|
|
41
|
+
Belgian-Style Ales","description":"Recognizing the uniqueness and traditions
|
|
42
|
+
of several other styles of Belgian Ales, the beers entered in this category
|
|
43
|
+
will be assessed on the merits that they do not fit existing style guidelines
|
|
44
|
+
and information that the brewer provides explaining the history and tradition
|
|
45
|
+
of the style. Balance of character is a key component when assessing these
|
|
46
|
+
beers. Barrel or wood-aged entries in competitions may be directed to other
|
|
47
|
+
categories by competition director. In competitions the brewer must provide
|
|
48
|
+
the historical or regional tradition of the style, or his interpretation of
|
|
49
|
+
the style, in order to be assessed properly by the judges.","createDate":"2012-03-21
|
|
50
|
+
20:06:46"}},"status":"success"}'
|
|
51
|
+
http_version:
|
|
52
|
+
recorded_at: Mon, 07 Apr 2014 18:41:19 GMT
|
|
53
|
+
recorded_with: VCR 2.9.0
|
data/spec/fixtures/BreweryDB_Resources_Breweries/_all/fetches_all_of_the_breweries_at_once.yml
CHANGED
|
@@ -8,40 +8,40 @@ http_interactions:
|
|
|
8
8
|
string: ''
|
|
9
9
|
headers:
|
|
10
10
|
User-Agent:
|
|
11
|
-
- BreweryDB Ruby Gem 0.2.
|
|
11
|
+
- BreweryDB Ruby Gem 0.2.3
|
|
12
12
|
response:
|
|
13
13
|
status:
|
|
14
14
|
code: 200
|
|
15
15
|
message:
|
|
16
16
|
headers:
|
|
17
|
+
content-type:
|
|
18
|
+
- application/json
|
|
17
19
|
date:
|
|
18
|
-
- Mon,
|
|
20
|
+
- Mon, 31 Mar 2014 20:13:22 GMT
|
|
19
21
|
server:
|
|
20
|
-
- Apache/2.2.
|
|
22
|
+
- Apache/2.2.26 (Amazon)
|
|
23
|
+
vary:
|
|
24
|
+
- Accept-Encoding
|
|
21
25
|
x-powered-by:
|
|
22
|
-
- PHP/5.3.
|
|
26
|
+
- PHP/5.3.28
|
|
23
27
|
x-ratelimit-limit:
|
|
24
28
|
- Unlimited
|
|
25
29
|
x-ratelimit-remaining:
|
|
26
30
|
- Unlimited
|
|
27
|
-
vary:
|
|
28
|
-
- Accept-Encoding
|
|
29
31
|
content-length:
|
|
30
|
-
- '
|
|
32
|
+
- '13473'
|
|
31
33
|
connection:
|
|
32
|
-
-
|
|
33
|
-
content-type:
|
|
34
|
-
- application/json
|
|
34
|
+
- Close
|
|
35
35
|
body:
|
|
36
36
|
encoding: UTF-8
|
|
37
|
-
string: '{"currentPage":1,"numberOfPages":2,"totalResults":
|
|
37
|
+
string: '{"currentPage":1,"numberOfPages":2,"totalResults":74,"data":[{"id":"snQlvg","name":"10
|
|
38
38
|
Barrel Brewing Company","description":"We brew into a 10 Barrel Brewhouse,
|
|
39
39
|
giving us the freedom to experiment with our recipes in order to produce the
|
|
40
40
|
highest quality of beer that we can. This isn\u2019t just any 10 Barrel brewhouse
|
|
41
41
|
though, it\u2019s a state of the art system that allows us to blend new technology
|
|
42
42
|
with the tradition of craft fundamentals. In other words we can\u2019t produce
|
|
43
43
|
a TON of beer, but we can make it the highest quality.","website":"http:\/\/www.10barrel.com\/","established":"2006","isOrganic":"N","images":{"icon":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/snQlvg\/upload_qMSc0A-icon.png","medium":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/snQlvg\/upload_qMSc0A-medium.png","large":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/snQlvg\/upload_qMSc0A-large.png"},"status":"verified","statusDisplay":"Verified","createDate":"2012-01-03
|
|
44
|
-
02:41:43","updateDate":"
|
|
44
|
+
02:41:43","updateDate":"2013-10-12 01:15:45"},{"id":"QtDyxR","name":"612 Brew","description":"At
|
|
45
45
|
612Brew, the newest beer company in the 612, we want to make your newest favorite
|
|
46
46
|
beer you\u2019ve never had.\r\n\r\nWith our operation moving to a larger location
|
|
47
47
|
in Uptown, we have the opportunity to make and test out much larger batches
|
|
@@ -111,7 +111,7 @@ http_interactions:
|
|
|
111
111
|
We believe in rustic, natural quality over fancy-pants snobbery. Our marketing
|
|
112
112
|
and branding efforts try to reinforce this and we choose to market by talking
|
|
113
113
|
to folks instead of blaring messages through mass-market advertising.","website":"http:\/\/beaus.ca\/","established":"2006","isOrganic":"Y","images":{"icon":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/OR1ggJ\/upload_due5zU-icon.png","medium":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/OR1ggJ\/upload_due5zU-medium.png","large":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/OR1ggJ\/upload_due5zU-large.png"},"status":"verified","statusDisplay":"Verified","createDate":"2013-03-21
|
|
114
|
-
10:33:23","updateDate":"2013-
|
|
114
|
+
10:33:23","updateDate":"2013-09-15 18:47:50"},{"id":"pwfPCD","name":"Big Boss
|
|
115
115
|
Brewing Company","description":"Big Boss Brewing Company was started in 2006
|
|
116
116
|
and shipped its first beer in the 2nd quarter of 2007 in the triangle area
|
|
117
117
|
of North Carolina. It was formed as collaboration between Geoff Lamb, a UNC
|
|
@@ -154,7 +154,7 @@ http_interactions:
|
|
|
154
154
|
enterprise of this type, we seek to realize an alternative business model
|
|
155
155
|
for brewpubs and to help expand the co-operative movement into new and innovative
|
|
156
156
|
areas \u2014 both in Austin and around the world.","website":"http:\/\/www.blackstar.coop\/","established":"2006","isOrganic":"N","images":{"icon":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/NYOvdO\/upload_yun5pM-icon.png","medium":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/NYOvdO\/upload_yun5pM-medium.png","large":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/NYOvdO\/upload_yun5pM-large.png"},"status":"verified","statusDisplay":"Verified","createDate":"2012-01-03
|
|
157
|
-
02:41:46","updateDate":"
|
|
157
|
+
02:41:46","updateDate":"2013-08-14 13:52:40"},{"id":"GKA5lt","name":"Brasseurs
|
|
158
158
|
du Hameau","description":"The Brewers of Hamlet took up residence in the village
|
|
159
159
|
to make a craft beer quality.\r\nThe term nano-brewery is a project which
|
|
160
160
|
initially is modest in terms of quantity, about 750 liters per week. This
|
|
@@ -175,7 +175,9 @@ http_interactions:
|
|
|
175
175
|
in Fraserburgh produced its first brew in April 2007. It is Scotland''s largest
|
|
176
176
|
independently owned brewery producing about 120,000 bottles per month for
|
|
177
177
|
export all over the world.","website":"http:\/\/brewdog.com\/","established":"2006","isOrganic":"N","images":{"icon":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/wfAwfx\/upload_tn2qSA-icon.png","medium":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/wfAwfx\/upload_tn2qSA-medium.png","large":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/wfAwfx\/upload_tn2qSA-large.png"},"status":"verified","statusDisplay":"Verified","createDate":"2012-01-03
|
|
178
|
-
02:41:48","updateDate":"2012-08-23 12:47:02"},{"id":"
|
|
178
|
+
02:41:48","updateDate":"2012-08-23 12:47:02"},{"id":"wN2mAf","name":"BrickStone
|
|
179
|
+
Restaurant & Brewery","website":"http:\/\/www.brickstonebrewery.com\/","established":"2006","isOrganic":"N","images":{"icon":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/wN2mAf\/upload_7BecqY-icon.png","medium":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/wN2mAf\/upload_7BecqY-medium.png","large":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/wN2mAf\/upload_7BecqY-large.png"},"status":"verified","statusDisplay":"Verified","createDate":"2012-01-03
|
|
180
|
+
02:41:48","updateDate":"2013-08-10 00:05:53"},{"id":"OVYjJ8","name":"Burlington
|
|
179
181
|
Beer Company","description":"Vermont''s first community supported brewery.
|
|
180
182
|
We''re planning to open a Brewery in the Burlington Area featuring hand crafted
|
|
181
183
|
ales & lagers. Follow our adventures from idea to brewery!","website":"http:\/\/www.burlingtonbeercompany.com\/","established":"2006","isOrganic":"N","images":{"icon":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/OVYjJ8\/upload_F5jiIP-icon.png","medium":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/OVYjJ8\/upload_F5jiIP-medium.png","large":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/OVYjJ8\/upload_F5jiIP-large.png"},"status":"verified","statusDisplay":"Verified","createDate":"2012-10-10
|
|
@@ -187,7 +189,14 @@ http_interactions:
|
|
|
187
189
|
the end of the alley between 20 and 22 Main Street. Stop by the brewery any
|
|
188
190
|
Saturday from 11am until 5pm to for a taste (or two). We''ll even sell you
|
|
189
191
|
a growler or a keg to take home.","website":"http:\/\/chathambrewing.com\/","established":"2006","isOrganic":"N","images":{"icon":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/cSJ6eN\/upload_mddF1S-icon.png","medium":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/cSJ6eN\/upload_mddF1S-medium.png","large":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/cSJ6eN\/upload_mddF1S-large.png"},"status":"verified","statusDisplay":"Verified","createDate":"2012-01-03
|
|
190
|
-
02:41:50","updateDate":"2012-03-30 12:00:04"},{"id":"
|
|
192
|
+
02:41:50","updateDate":"2012-03-30 12:00:04"},{"id":"Lli3HQ","name":"Check
|
|
193
|
+
Six Brewing Company","description":"A craft brewery in the making!\r\nCoFounded
|
|
194
|
+
by Noah Goldman, Tim Hassel and Norm Weiss. With a special thanks to Mike
|
|
195
|
+
and J.R. Goldman!","website":"http:\/\/checksixbeer.com","established":"2006","isOrganic":"N","images":{"icon":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/Lli3HQ\/upload_1GKu6N-icon.png","medium":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/Lli3HQ\/upload_1GKu6N-medium.png","large":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/Lli3HQ\/upload_1GKu6N-large.png"},"status":"verified","statusDisplay":"Verified","createDate":"2014-03-17
|
|
196
|
+
15:11:13","updateDate":"2014-03-17 15:11:51"},{"id":"v5bPRk","name":"Cherry
|
|
197
|
+
Street Brewing Cooperative","description":"Forsyth''s only Brewpub. The Community
|
|
198
|
+
Brewery. Do You Know Your Brewer?","website":"http:\/\/www.cherrystreetbrewing.com","established":"2006","isOrganic":"N","images":{"icon":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/v5bPRk\/upload_s4rzy1-icon.png","medium":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/v5bPRk\/upload_s4rzy1-medium.png","large":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/v5bPRk\/upload_s4rzy1-large.png"},"status":"verified","statusDisplay":"Verified","createDate":"2013-08-02
|
|
199
|
+
19:13:55","updateDate":"2013-11-22 16:13:41"},{"id":"195Jl2","name":"Cody
|
|
191
200
|
Brewing Company","description":"Cody Brewing Company is located in Historic
|
|
192
201
|
Amesbury, Massachusetts on the Powow River. We make hand crafted beer that
|
|
193
202
|
combines traditional styles with rule breaking ideas to make the best beer
|
|
@@ -208,8 +217,8 @@ http_interactions:
|
|
|
208
217
|
fun doing what we love - Making Great Beer.\r\n\r\nThe Crabtree Brewing Company,
|
|
209
218
|
ltd. is a Colorado based company providing premium ale, wheat, stout, and
|
|
210
219
|
lager style beers. Established in 2006, this is the first micro-brewery located
|
|
211
|
-
within Greeley, Colorado.","website":"http:\/\/www.crabtreebrewing.com","established":"2006","isOrganic":"N","images":{"icon":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/OQJeOY\/
|
|
212
|
-
02:41:51","updateDate":"
|
|
220
|
+
within Greeley, Colorado.","website":"http:\/\/www.crabtreebrewing.com","established":"2006","isOrganic":"N","images":{"icon":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/OQJeOY\/upload_97eBIx-icon.png","medium":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/OQJeOY\/upload_97eBIx-medium.png","large":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/OQJeOY\/upload_97eBIx-large.png"},"status":"verified","statusDisplay":"Verified","createDate":"2012-01-03
|
|
221
|
+
02:41:51","updateDate":"2013-08-12 21:52:41"},{"id":"supFO9","name":"Dead
|
|
213
222
|
Frog Brewery","description":"A Canadian Craft Brewery located in Aldergrove
|
|
214
223
|
BC and home of the finest beer in the universe! Do It Froggy Style!!!","website":"http:\/\/www.deadfrogbrewery.com\/","established":"2006","isOrganic":"N","images":{"icon":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/supFO9\/upload_sAyr6d-icon.png","medium":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/supFO9\/upload_sAyr6d-medium.png","large":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/supFO9\/upload_sAyr6d-large.png"},"status":"verified","statusDisplay":"Verified","createDate":"2012-01-03
|
|
215
224
|
02:41:52","updateDate":"2012-03-21 19:06:13"},{"id":"MpYI7s","name":"Doolally","description":"Doolally
|
|
@@ -273,7 +282,13 @@ http_interactions:
|
|
|
273
282
|
\r\n\r\nWe make different beers throughout the year, some we brew all the
|
|
274
283
|
time and some are only around for a very short period. Our focus is to expand
|
|
275
284
|
our abilities and enjoy our work.","website":"http:\/\/www.halfacrebeer.com\/","established":"2006","isOrganic":"N","images":{"icon":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/lZfiot\/upload_A0HxP0-icon.png","medium":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/lZfiot\/upload_A0HxP0-medium.png","large":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/lZfiot\/upload_A0HxP0-large.png"},"status":"verified","statusDisplay":"Verified","createDate":"2012-01-03
|
|
276
|
-
02:41:56","updateDate":"
|
|
285
|
+
02:41:56","updateDate":"2013-08-09 14:22:06"},{"id":"h5HYz6","name":"Hamburger
|
|
286
|
+
Mary''s","description":"Opened in 2006, Hamburger Mary''s Chicago is a classy-kitsch
|
|
287
|
+
American diner serving gourmet half-pound burgers with a side of sass. Mary''s
|
|
288
|
+
expanded in 2009 and added a small brewery, making her the oldest nano-brewery
|
|
289
|
+
in Chicago. Mary''s motto is \"an open-air bar & grill for open-minded people,\" where
|
|
290
|
+
all are welcome to \"Eat, Drink.. .and be MARY!\"","website":"http:\/\/www.hamburgermarys.com\/chicago","established":"2006","isOrganic":"N","images":{"icon":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/h5HYz6\/upload_rNDRL5-icon.png","medium":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/h5HYz6\/upload_rNDRL5-medium.png","large":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/h5HYz6\/upload_rNDRL5-large.png"},"status":"verified","statusDisplay":"Verified","createDate":"2012-01-03
|
|
291
|
+
02:41:56","updateDate":"2013-08-09 16:24:56"},{"id":"s6FkDL","name":"High
|
|
277
292
|
& Mighty Beer Company","description":"High & Mighty Beer Company began in
|
|
278
293
|
2006 as an offshoot of Shelton Brothers beer importing company. Will Shelton
|
|
279
294
|
took his idea for a novel German-style ale to Paper City Brewery in Holyoke,
|
|
@@ -334,7 +349,15 @@ http_interactions:
|
|
|
334
349
|
people can enjoy fishing, hiking, camping, sailing, antiquing, and bird watching
|
|
335
350
|
or simply kicking back and taking in the spectacular views of the Sierra Nevada
|
|
336
351
|
mountain range.","website":"http:\/\/www.kernriverbrewingcompany.com\/","established":"2006","isOrganic":"N","images":{"icon":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/E1zSFp\/upload_m8yLwX-icon.png","medium":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/E1zSFp\/upload_m8yLwX-medium.png","large":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/E1zSFp\/upload_m8yLwX-large.png"},"status":"verified","statusDisplay":"Verified","createDate":"2012-01-03
|
|
337
|
-
02:41:59","updateDate":"2012-03-21 19:06:10"},{"id":"
|
|
352
|
+
02:41:59","updateDate":"2012-03-21 19:06:10"},{"id":"QoD9Zu","name":"La Gardenia","description":"ROSITA,
|
|
353
|
+
the main brand, is a honey-colored ale, that delivers elegance with a certain
|
|
354
|
+
density in the glass, ivory tones with white foam, creamy and consistent with
|
|
355
|
+
a wholesome persistence. Due to the presence of secondary fermentation yeast,
|
|
356
|
+
the appearance is cloudy.\r\n\r\nWe recommend tasting it cold, not frozen
|
|
357
|
+
(42 to 46\u00baF) in order to envelop its aromatic presence.\r\n\r\nOnes olfactory
|
|
358
|
+
will detect fruit such as banana and red apple notes along with molasses which
|
|
359
|
+
is very subtle but also very complex.","website":"http:\/\/www.rosita.cat","established":"2006","isOrganic":"N","images":{"icon":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/QoD9Zu\/upload_EwOgAZ-icon.png","medium":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/QoD9Zu\/upload_EwOgAZ-medium.png","large":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/QoD9Zu\/upload_EwOgAZ-large.png"},"status":"verified","statusDisplay":"Verified","createDate":"2013-08-16
|
|
360
|
+
11:11:33","updateDate":"2013-08-18 13:54:32"},{"id":"6QNMyS","name":"Laht
|
|
338
361
|
Neppur Brewing Company","description":"We couldn''t have said it better ourselves.
|
|
339
362
|
Laht Neppur Brewing Co., located in Waitsburg, WA, offers premium handcrafted
|
|
340
363
|
ale by the glass or pitcher in our tap room. Sampler trays are highly recommended
|
|
@@ -361,7 +384,7 @@ http_interactions:
|
|
|
361
384
|
each stage of the brewing cycle, never skimp on how long each step takes and
|
|
362
385
|
only use the highest quality ingredients: malted barley, hops, yeast, plus
|
|
363
386
|
a healthy dose of science.","website":"http:\/\/www.lightningbrewery.com\/","established":"2006","isOrganic":"N","images":{"icon":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/L3ozHK\/upload_N1uLAM-icon.png","medium":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/L3ozHK\/upload_N1uLAM-medium.png","large":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/L3ozHK\/upload_N1uLAM-large.png"},"status":"verified","statusDisplay":"Verified","createDate":"2012-01-03
|
|
364
|
-
02:42:00","updateDate":"
|
|
387
|
+
02:42:00","updateDate":"2014-03-16 21:21:48"},{"id":"hSeoOy","name":"Microbrasserie
|
|
365
388
|
de l''\u00cele d''Orl\u00e9ans","website":"http:\/\/www.microorleans.com\/","established":"2006","isOrganic":"N","status":"verified","statusDisplay":"Verified","createDate":"2013-07-03
|
|
366
389
|
15:20:18","updateDate":"2013-07-05 11:13:51"},{"id":"zpGIxB","name":"Moccasin
|
|
367
390
|
Bend Brewing Company","description":"Moccasin Bend Brewing Company is located
|
|
@@ -398,50 +421,7 @@ http_interactions:
|
|
|
398
421
|
before bringing them to market. Years of minor tweaks, arguments over hop
|
|
399
422
|
profiles, and experiments with different brands of base malts are poured into
|
|
400
423
|
every glass that we brew.","website":"http:\/\/mondaynightbrewing.com\/","established":"2006","isOrganic":"N","images":{"icon":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/1cfDau\/upload_24Ushu-icon.png","medium":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/1cfDau\/upload_24Ushu-medium.png","large":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/1cfDau\/upload_24Ushu-large.png"},"status":"verified","statusDisplay":"Verified","createDate":"2012-01-03
|
|
401
|
-
02:42:02","updateDate":"2013-
|
|
402
|
-
Beer Company","website":"http:\/\/naukabout.com\/","established":"2006","isOrganic":"N","images":{"icon":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/QlLikG\/upload_HPPVas-icon.png","medium":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/QlLikG\/upload_HPPVas-medium.png","large":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/QlLikG\/upload_HPPVas-large.png"},"status":"verified","statusDisplay":"Verified","createDate":"2013-01-09
|
|
403
|
-
12:14:30","updateDate":"2013-01-09 12:16:56"},{"id":"8hMBS3","name":"Nils
|
|
404
|
-
Oscar Bryggeri","description":"We brew beer and produce good spirits\r\n\r\nOur
|
|
405
|
-
brewing there since mid-September 2006 Fru\u00e4ngsk\u00e4llan in Nyk\u00f6ping,
|
|
406
|
-
about 10 mil south of Stockholm, and the distillery is nearby on T\u00e4rn\u00f6
|
|
407
|
-
Manor where even m\u00e4lteriet is located. We have been around since 1996.
|
|
408
|
-
The Nils Oscar operates some of Europe''s most qualified brewer. Our products
|
|
409
|
-
are sold to bars and liquor stores throughout the country. Other companies
|
|
410
|
-
in the same group , occupational group includes, in addition Brewery and Distillery
|
|
411
|
-
also our own malt house and farm T\u00e4rn\u00f6 Manor. Try our products and
|
|
412
|
-
please let us know if you want to know more: info@nilsoscar.se You can also
|
|
413
|
-
sign up to Nils Oscar Good Friends . Welcome!","website":"http:\/\/www.nilsoscar.se\/","established":"2006","isOrganic":"N","images":{"icon":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/8hMBS3\/upload_haARwd-icon.png","medium":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/8hMBS3\/upload_haARwd-medium.png","large":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/8hMBS3\/upload_haARwd-large.png"},"status":"verified","statusDisplay":"Verified","createDate":"2012-06-14
|
|
414
|
-
10:30:50","updateDate":"2012-06-14 11:59:08"},{"id":"V4I9FT","name":"Ninkasi
|
|
415
|
-
Brewing Company","description":"Ninkasi Brewing began its history on June
|
|
416
|
-
15th, 2006 when Jamie Floyd and Nikos Ridge spent 17 hours brewing their first
|
|
417
|
-
batch of Total Domination IPA in leased space inside a German restaurant in
|
|
418
|
-
Springfield, Oregon. Once a brewery, the building was equipped with a 15 barrel
|
|
419
|
-
brew house set up for brewpub brewing.\r\n\r\nWithin the next few months Ninkasi
|
|
420
|
-
maximized its first home as they pushed their maximum annual output of 1600
|
|
421
|
-
barrels. Meanwhile, the two worked with the City of Eugene, the SBA, Liberty
|
|
422
|
-
Bank and some investors to purchase their current location in the heart of
|
|
423
|
-
the Historic Whiteaker neighborhood in Eugene. Over time, Ninkasi transformed
|
|
424
|
-
the old plumbing company\u2019s building into the modern production brewery
|
|
425
|
-
it is today.","website":"http:\/\/www.ninkasibrewing.com\/","established":"2006","isOrganic":"N","images":{"icon":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/V4I9FT\/upload_vJvHqO-icon.png","medium":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/V4I9FT\/upload_vJvHqO-medium.png","large":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/V4I9FT\/upload_vJvHqO-large.png"},"status":"verified","statusDisplay":"Verified","createDate":"2012-01-03
|
|
426
|
-
02:42:03","updateDate":"2012-11-01 11:22:37"},{"id":"WwE6W1","name":"Oakshire
|
|
427
|
-
Brewing Company","description":"The name Oakshire represents Strength, Independence,
|
|
428
|
-
Community and Bioregion, values held by our owners and employees. Begun
|
|
429
|
-
in October 2006 by brothers Jeff and Chris Althouse, Oakshire Brewing operates
|
|
430
|
-
as a production brewery next to the train yards in Northwest Eugene. We
|
|
431
|
-
make three year round beers, available in 22oz bottles and on draft found
|
|
432
|
-
throughout Oregon. Oakshire makes a rotating seasonal beer available in 22oz
|
|
433
|
-
bottles and on draft as well. And the brewers at Oakshire craft a range of
|
|
434
|
-
single batch beers only available on draft. The brewery aims to make clean,
|
|
435
|
-
consistent, high quality beer \u2013 humble brewers of delicious beer.\r\n\r\nFormerly
|
|
436
|
-
know as Willamette Brewery","website":"http:\/\/oakbrew.com\/","established":"2006","isOrganic":"N","images":{"icon":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/WwE6W1\/upload_lV4GZt-icon.png","medium":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/WwE6W1\/upload_lV4GZt-medium.png","large":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/WwE6W1\/upload_lV4GZt-large.png"},"status":"verified","statusDisplay":"Verified","createDate":"2012-01-03
|
|
437
|
-
02:42:04","updateDate":"2012-03-21 19:06:11"},{"id":"ayEBYP","name":"Port
|
|
438
|
-
Brewing Company","description":"We officially opened on May 5th 2006. Now
|
|
439
|
-
we will be able to make up to 5000 barrels of beer enabling you more chances
|
|
440
|
-
to drink your favorite Port Brewed beers at home and around town. More impressive
|
|
441
|
-
is our oak barrel room where we age our barrel aged specialty beers. Come
|
|
442
|
-
check out our tasting bar on Fridays and Saturdays where you can get bottles,
|
|
443
|
-
jugs & merchandise to go while you sample what we''ve been brewing!","website":"http:\/\/www.portbrewing.com\/","established":"2006","isOrganic":"N","images":{"icon":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/ayEBYP\/upload_jgHQ5x-icon.png","medium":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/ayEBYP\/upload_jgHQ5x-medium.png","large":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/ayEBYP\/upload_jgHQ5x-large.png"},"status":"verified","statusDisplay":"Verified","createDate":"2012-01-03
|
|
444
|
-
02:42:06","updateDate":"2013-07-05 23:39:59"}],"status":"success"}'
|
|
424
|
+
02:42:02","updateDate":"2013-11-22 16:19:28"}],"status":"success"}'
|
|
445
425
|
http_version:
|
|
446
|
-
recorded_at: Mon,
|
|
426
|
+
recorded_at: Mon, 31 Mar 2014 20:13:22 GMT
|
|
447
427
|
recorded_with: VCR 2.4.0
|
data/spec/fixtures/BreweryDB_Resources_Breweries/_find/fetches_only_the_brewery_asked_for.yml
CHANGED
|
@@ -8,30 +8,30 @@ http_interactions:
|
|
|
8
8
|
string: ''
|
|
9
9
|
headers:
|
|
10
10
|
User-Agent:
|
|
11
|
-
- BreweryDB Ruby Gem 0.2.
|
|
11
|
+
- BreweryDB Ruby Gem 0.2.3
|
|
12
12
|
response:
|
|
13
13
|
status:
|
|
14
14
|
code: 200
|
|
15
15
|
message:
|
|
16
16
|
headers:
|
|
17
|
+
content-type:
|
|
18
|
+
- application/json
|
|
17
19
|
date:
|
|
18
|
-
- Mon,
|
|
20
|
+
- Mon, 31 Mar 2014 20:13:22 GMT
|
|
19
21
|
server:
|
|
20
|
-
- Apache/2.2.
|
|
22
|
+
- Apache/2.2.26 (Amazon)
|
|
23
|
+
vary:
|
|
24
|
+
- Accept-Encoding
|
|
21
25
|
x-powered-by:
|
|
22
|
-
- PHP/5.3.
|
|
26
|
+
- PHP/5.3.28
|
|
23
27
|
x-ratelimit-limit:
|
|
24
28
|
- Unlimited
|
|
25
29
|
x-ratelimit-remaining:
|
|
26
30
|
- Unlimited
|
|
27
|
-
vary:
|
|
28
|
-
- Accept-Encoding
|
|
29
31
|
content-length:
|
|
30
32
|
- '731'
|
|
31
33
|
connection:
|
|
32
|
-
-
|
|
33
|
-
content-type:
|
|
34
|
-
- application/json
|
|
34
|
+
- Close
|
|
35
35
|
body:
|
|
36
36
|
encoding: UTF-8
|
|
37
37
|
string: '{"message":"READ ONLY MODE: Request Successful","data":{"id":"Idm5Y5","name":"Founders
|
|
@@ -55,5 +55,5 @@ http_interactions:
|
|
|
55
55
|
friends, the consumer.","website":"http:\/\/www.foundersbrewing.com\/","established":"1997","isOrganic":"N","images":{"icon":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/Idm5Y5\/upload_5gYn8V-icon.png","medium":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/Idm5Y5\/upload_5gYn8V-medium.png","large":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/Idm5Y5\/upload_5gYn8V-large.png"},"status":"verified","statusDisplay":"Verified","createDate":"2012-01-03
|
|
56
56
|
02:41:55","updateDate":"2012-09-11 19:30:21"},"status":"success"}'
|
|
57
57
|
http_version:
|
|
58
|
-
recorded_at: Mon,
|
|
58
|
+
recorded_at: Mon, 31 Mar 2014 20:13:22 GMT
|
|
59
59
|
recorded_with: VCR 2.4.0
|
data/spec/fixtures/BreweryDB_Resources_Categories/_all/fetches_all_of_the_cagtegories_at_once.yml
CHANGED
|
@@ -8,30 +8,30 @@ http_interactions:
|
|
|
8
8
|
string: ''
|
|
9
9
|
headers:
|
|
10
10
|
User-Agent:
|
|
11
|
-
- BreweryDB Ruby Gem 0.2.
|
|
11
|
+
- BreweryDB Ruby Gem 0.2.3
|
|
12
12
|
response:
|
|
13
13
|
status:
|
|
14
14
|
code: 200
|
|
15
15
|
message:
|
|
16
16
|
headers:
|
|
17
|
+
content-type:
|
|
18
|
+
- application/json
|
|
17
19
|
date:
|
|
18
|
-
- Mon,
|
|
20
|
+
- Mon, 31 Mar 2014 20:13:22 GMT
|
|
19
21
|
server:
|
|
20
|
-
- Apache/2.2.
|
|
22
|
+
- Apache/2.2.26 (Amazon)
|
|
23
|
+
vary:
|
|
24
|
+
- Accept-Encoding
|
|
21
25
|
x-powered-by:
|
|
22
|
-
- PHP/5.3.
|
|
26
|
+
- PHP/5.3.28
|
|
23
27
|
x-ratelimit-limit:
|
|
24
28
|
- Unlimited
|
|
25
29
|
x-ratelimit-remaining:
|
|
26
30
|
- Unlimited
|
|
27
|
-
vary:
|
|
28
|
-
- Accept-Encoding
|
|
29
31
|
content-length:
|
|
30
|
-
- '
|
|
32
|
+
- '330'
|
|
31
33
|
connection:
|
|
32
|
-
-
|
|
33
|
-
content-type:
|
|
34
|
-
- application/json
|
|
34
|
+
- Close
|
|
35
35
|
body:
|
|
36
36
|
encoding: UTF-8
|
|
37
37
|
string: '{"message":"READ ONLY MODE: Request Successful","data":[{"id":1,"name":"British
|
|
@@ -45,7 +45,8 @@ http_interactions:
|
|
|
45
45
|
20:06:46"},{"id":9,"name":"Other Lager","createDate":"2012-03-21 20:06:46"},{"id":10,"name":"International
|
|
46
46
|
Styles","createDate":"2012-03-21 20:06:46"},{"id":11,"name":"Hybrid\/mixed
|
|
47
47
|
Beer","createDate":"2012-03-21 20:06:46"},{"id":12,"name":"Mead, Cider, &
|
|
48
|
-
Perry","createDate":"2012-03-21 20:06:46"}
|
|
48
|
+
Perry","createDate":"2012-03-21 20:06:46"},{"id":13,"name":"Other Origin","createDate":"2013-08-10
|
|
49
|
+
12:44:20"}],"status":"success"}'
|
|
49
50
|
http_version:
|
|
50
|
-
recorded_at: Mon,
|
|
51
|
+
recorded_at: Mon, 31 Mar 2014 20:13:22 GMT
|
|
51
52
|
recorded_with: VCR 2.4.0
|
data/spec/fixtures/BreweryDB_Resources_Categories/_find/fetches_only_the_category_asked_for.yml
CHANGED
|
@@ -8,34 +8,34 @@ http_interactions:
|
|
|
8
8
|
string: ''
|
|
9
9
|
headers:
|
|
10
10
|
User-Agent:
|
|
11
|
-
- BreweryDB Ruby Gem 0.2.
|
|
11
|
+
- BreweryDB Ruby Gem 0.2.3
|
|
12
12
|
response:
|
|
13
13
|
status:
|
|
14
14
|
code: 200
|
|
15
15
|
message:
|
|
16
16
|
headers:
|
|
17
|
+
content-type:
|
|
18
|
+
- application/json
|
|
17
19
|
date:
|
|
18
|
-
- Mon,
|
|
20
|
+
- Mon, 31 Mar 2014 20:13:22 GMT
|
|
19
21
|
server:
|
|
20
|
-
- Apache/2.2.
|
|
22
|
+
- Apache/2.2.26 (Amazon)
|
|
23
|
+
vary:
|
|
24
|
+
- Accept-Encoding
|
|
21
25
|
x-powered-by:
|
|
22
|
-
- PHP/5.3.
|
|
26
|
+
- PHP/5.3.28
|
|
23
27
|
x-ratelimit-limit:
|
|
24
28
|
- Unlimited
|
|
25
29
|
x-ratelimit-remaining:
|
|
26
30
|
- Unlimited
|
|
27
|
-
vary:
|
|
28
|
-
- Accept-Encoding
|
|
29
31
|
content-length:
|
|
30
32
|
- '148'
|
|
31
33
|
connection:
|
|
32
|
-
-
|
|
33
|
-
content-type:
|
|
34
|
-
- application/json
|
|
34
|
+
- Close
|
|
35
35
|
body:
|
|
36
36
|
encoding: UTF-8
|
|
37
37
|
string: '{"message":"READ ONLY MODE: Request Successful","data":{"id":1,"name":"British
|
|
38
38
|
Origin Ales","createDate":"2012-03-21 20:06:45"},"status":"success"}'
|
|
39
39
|
http_version:
|
|
40
|
-
recorded_at: Mon,
|
|
40
|
+
recorded_at: Mon, 31 Mar 2014 20:13:22 GMT
|
|
41
41
|
recorded_with: VCR 2.4.0
|
data/spec/fixtures/BreweryDB_Resources_Fermentables/_all/fetches_all_of_the_fermentables_at_once.yml
CHANGED
|
@@ -8,33 +8,33 @@ http_interactions:
|
|
|
8
8
|
string: ''
|
|
9
9
|
headers:
|
|
10
10
|
User-Agent:
|
|
11
|
-
- BreweryDB Ruby Gem 0.2.
|
|
11
|
+
- BreweryDB Ruby Gem 0.2.3
|
|
12
12
|
response:
|
|
13
13
|
status:
|
|
14
14
|
code: 200
|
|
15
15
|
message:
|
|
16
16
|
headers:
|
|
17
|
+
content-type:
|
|
18
|
+
- application/json
|
|
17
19
|
date:
|
|
18
|
-
-
|
|
20
|
+
- Mon, 31 Mar 2014 20:13:23 GMT
|
|
19
21
|
server:
|
|
20
|
-
- Apache/2.2.
|
|
22
|
+
- Apache/2.2.26 (Amazon)
|
|
23
|
+
vary:
|
|
24
|
+
- Accept-Encoding
|
|
21
25
|
x-powered-by:
|
|
22
|
-
- PHP/5.3.
|
|
26
|
+
- PHP/5.3.28
|
|
23
27
|
x-ratelimit-limit:
|
|
24
|
-
-
|
|
28
|
+
- Unlimited
|
|
25
29
|
x-ratelimit-remaining:
|
|
26
|
-
-
|
|
27
|
-
vary:
|
|
28
|
-
- Accept-Encoding
|
|
30
|
+
- Unlimited
|
|
29
31
|
content-length:
|
|
30
|
-
- '
|
|
32
|
+
- '2727'
|
|
31
33
|
connection:
|
|
32
|
-
-
|
|
33
|
-
content-type:
|
|
34
|
-
- application/json
|
|
34
|
+
- Close
|
|
35
35
|
body:
|
|
36
36
|
encoding: UTF-8
|
|
37
|
-
string: '{"currentPage":1,"numberOfPages":5,"totalResults":
|
|
37
|
+
string: '{"currentPage":1,"numberOfPages":5,"totalResults":222,"data":[{"id":165,"name":"Abbey
|
|
38
38
|
Malt","category":"malt","categoryDisplay":"Malts, Grains, & Fermentables","createDate":"2013-06-24
|
|
39
39
|
16:07:41"},{"id":166,"name":"Acidulated Malt","description":"Lowers mash,
|
|
40
40
|
wort, and beer pH. Contains 1-2% lactic acid. Enhances enzymatic activity
|
|
@@ -185,5 +185,5 @@ http_interactions:
|
|
|
185
185
|
16:07:54"},{"id":566,"name":"Caramel\/Crystal Malt - Light","category":"malt","categoryDisplay":"Malts,
|
|
186
186
|
Grains, & Fermentables","createDate":"2013-06-24 16:07:51"}],"status":"success"}'
|
|
187
187
|
http_version:
|
|
188
|
-
recorded_at:
|
|
189
|
-
recorded_with: VCR 2.
|
|
188
|
+
recorded_at: Mon, 31 Mar 2014 20:13:23 GMT
|
|
189
|
+
recorded_with: VCR 2.4.0
|