brewery_db 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -2
- data/README.md +5 -0
- data/brewery_db.gemspec +1 -0
- data/lib/brewery_db.rb +2 -0
- data/lib/brewery_db/client.rb +8 -0
- data/lib/brewery_db/resources/fermentables.rb +1 -1
- data/lib/brewery_db/resources/fluid_size.rb +13 -0
- data/lib/brewery_db/resources/hops.rb +1 -1
- data/lib/brewery_db/resources/menu.rb +15 -0
- data/lib/brewery_db/resources/yeasts.rb +1 -1
- data/lib/brewery_db/version.rb +1 -1
- data/spec/brewery_db/client_spec.rb +2 -0
- data/spec/brewery_db/resources/fermentables_spec.rb +1 -1
- data/spec/brewery_db/resources/fluid_size_spec.rb +20 -0
- data/spec/brewery_db/resources/glassware_spec.rb +1 -1
- data/spec/brewery_db/resources/hops_spec.rb +1 -1
- data/spec/brewery_db/resources/menu_spec.rb +15 -0
- data/spec/brewery_db/resources/search_spec.rb +1 -1
- data/spec/brewery_db/resources/styles_spec.rb +1 -1
- data/spec/brewery_db/resources/yeasts_spec.rb +1 -1
- data/spec/fixtures/BreweryDB_Resources_FluidSize/_all/fetches_all_of_the_fluid_sizes_at_once.yml +56 -0
- data/spec/fixtures/BreweryDB_Resources_FluidSize/_find/fetches_only_the_fluid_size_asked_for.yml +41 -0
- data/spec/fixtures/BreweryDB_Resources_Menu/_beer_availability/fetches_all_of_the_beer_availabilities_at_once.yml +48 -0
- metadata +16 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9298ddaf41f0f4f466aa0be333e4d4cbbcc0e231
|
4
|
+
data.tar.gz: 6ac72bbc6c34bb82e6df2b0bc710180ba8f049cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0f49dab931d53362683a451a201403f5619c3f49b5d45d1bd9b9e5e01a2c774c40e245712846ab4e98ded354b1cd0017c78d94068aba1e707dd122b2a8dbb7b
|
7
|
+
data.tar.gz: 6a2de27e7f1578e3b07e39ec400772e598a46185f92f3fda6da0a01d0a0fb64144fec96bfcb44850ddb5330f811477fb80cdef2947d4a262da9049669249be83
|
data/CHANGELOG.md
CHANGED
@@ -2,14 +2,21 @@
|
|
2
2
|
|
3
3
|
## Unreleased
|
4
4
|
|
5
|
+
## 0.2.2 (2013-08-05)
|
6
|
+
|
7
|
+
* Add support for `fluidsizes`, `fluidsize/:id`, and `menu/beer-availability`
|
8
|
+
endpoints. ([Steven Harman][stevenharman])
|
9
|
+
* Fix: Paginate `Hops`, `Fermentables`, and `Yeasts` ([Steven
|
10
|
+
Harman][stevenharman])
|
11
|
+
|
5
12
|
## 0.2.1 (2013-08-02)
|
6
13
|
|
7
|
-
* Add support for `hops`, `
|
14
|
+
* Add support for `hops`, `hop/:id`, `fermentables`, `fermentable/:id`,
|
8
15
|
`yeasts`, and `yeasts:id` endpoints ([Jésus Lopes][jtadeulopes])
|
9
16
|
|
10
17
|
## 0.2.0 (2013-06-26)
|
11
18
|
|
12
|
-
* Add support for `locations` and `
|
19
|
+
* Add support for `locations` and `location/:id` endpoints ([dbc-apprentice][dbc-apprentice])
|
13
20
|
* Add support for `subAttributeId` webhook parameter ([Steven Harman][stevenharman])
|
14
21
|
|
15
22
|
## 0.1.0 (2013-05-14)
|
data/README.md
CHANGED
@@ -73,6 +73,9 @@ brewery_db.categories.find(1)
|
|
73
73
|
brewery_db.fermentables.all(country: 'Brazil')
|
74
74
|
brewery_db.fermentables.find(1924)
|
75
75
|
|
76
|
+
brewery_db.fluid_size.all
|
77
|
+
brewery_db.fluid_size.find(1)
|
78
|
+
|
76
79
|
brewery_db.glassware.all
|
77
80
|
brewery_db.glassware.find(1)
|
78
81
|
|
@@ -93,6 +96,8 @@ brewery_db.locations.all(locality: 'San Francisco')
|
|
93
96
|
brewery_db.yeasts.all
|
94
97
|
brewery_db.yeasts.find(1836)
|
95
98
|
|
99
|
+
brewery_db.menu.beer_availability
|
100
|
+
|
96
101
|
```
|
97
102
|
|
98
103
|
### WebHooks
|
data/brewery_db.gemspec
CHANGED
data/lib/brewery_db.rb
CHANGED
@@ -26,9 +26,11 @@ module BreweryDB
|
|
26
26
|
autoload :Brewery, 'brewery_db/resources/brewery'
|
27
27
|
autoload :Categories, 'brewery_db/resources/categories'
|
28
28
|
autoload :Fermentables, 'brewery_db/resources/fermentables'
|
29
|
+
autoload :FluidSize, 'brewery_db/resources/fluid_size'
|
29
30
|
autoload :Glassware, 'brewery_db/resources/glassware'
|
30
31
|
autoload :Hops, 'brewery_db/resources/hops'
|
31
32
|
autoload :Locations, 'brewery_db/resources/locations'
|
33
|
+
autoload :Menu, 'brewery_db/resources/menu'
|
32
34
|
autoload :Search, 'brewery_db/resources/search'
|
33
35
|
autoload :Styles, 'brewery_db/resources/styles'
|
34
36
|
autoload :Yeasts, 'brewery_db/resources/yeasts'
|
data/lib/brewery_db/client.rb
CHANGED
@@ -37,6 +37,10 @@ module BreweryDB
|
|
37
37
|
@fermentables ||= Resources::Fermentables.new(config)
|
38
38
|
end
|
39
39
|
|
40
|
+
def fluid_size
|
41
|
+
@fluid_size ||= Resources::FluidSize.new(config)
|
42
|
+
end
|
43
|
+
|
40
44
|
def glassware
|
41
45
|
@glassware ||= Resources::Glassware.new(config)
|
42
46
|
end
|
@@ -49,6 +53,10 @@ module BreweryDB
|
|
49
53
|
@locations ||= Resources::Locations.new(config)
|
50
54
|
end
|
51
55
|
|
56
|
+
def menu
|
57
|
+
@menu ||= Resources::Menu.new(config)
|
58
|
+
end
|
59
|
+
|
52
60
|
def search
|
53
61
|
@search ||= Resources::Search.new(config)
|
54
62
|
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module BreweryDB
|
2
|
+
module Resources
|
3
|
+
class Menu < Resource
|
4
|
+
def beer_availability(params={})
|
5
|
+
get_menu('beer-availability', params).data
|
6
|
+
end
|
7
|
+
|
8
|
+
def get_menu(name, params)
|
9
|
+
get("menu/#{name}", params)
|
10
|
+
end
|
11
|
+
private :get_menu
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
data/lib/brewery_db/version.rb
CHANGED
@@ -50,9 +50,11 @@ describe BreweryDB::Client do
|
|
50
50
|
its(:breweries) { should be_a(BreweryDB::Resources::Breweries) }
|
51
51
|
its(:categories) { should be_a(BreweryDB::Resources::Categories) }
|
52
52
|
its(:fermentables) { should be_a(BreweryDB::Resources::Fermentables) }
|
53
|
+
its(:fluid_size) { should be_a(BreweryDB::Resources::FluidSize) }
|
53
54
|
its(:glassware) { should be_a(BreweryDB::Resources::Glassware) }
|
54
55
|
its(:hops) { should be_a(BreweryDB::Resources::Hops) }
|
55
56
|
its(:locations) { should be_a(BreweryDB::Resources::Locations) }
|
57
|
+
its(:menu) { should be_a(BreweryDB::Resources::Menu) }
|
56
58
|
its(:search) { should be_a(BreweryDB::Resources::Search) }
|
57
59
|
its(:styles) { should be_a(BreweryDB::Resources::Styles) }
|
58
60
|
its(:yeasts) { should be_a(BreweryDB::Resources::Yeasts) }
|
@@ -0,0 +1,20 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe BreweryDB::Resources::FluidSize, :resource do
|
4
|
+
context '#all', :vcr do
|
5
|
+
let(:response) { described_class.new(config).all }
|
6
|
+
|
7
|
+
it 'fetches all of the fluid sizes at once' do
|
8
|
+
expect(response.count).to eq(17)
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
context '#find', :vcr do
|
13
|
+
let(:response) { described_class.new(config).find(1) }
|
14
|
+
|
15
|
+
it 'fetches only the fluid size asked for' do
|
16
|
+
expect(response.id).to eq(1)
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
describe BreweryDB::Resources::Menu, :resource do
|
6
|
+
|
7
|
+
describe '#beer_availability', :vcr do
|
8
|
+
let(:availabilities) { described_class.new(config).beer_availability }
|
9
|
+
|
10
|
+
it 'fetches all of the beer availabilities at once' do
|
11
|
+
expect(availabilities.count).to eq(8)
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
end
|
@@ -22,7 +22,7 @@ describe BreweryDB::Resources::Search, :resource do
|
|
22
22
|
|
23
23
|
specify do
|
24
24
|
results = double(:results)
|
25
|
-
search.stub(:all).with(type: type, q: 'IPA') { results }
|
25
|
+
search.stub(:all).with(type: type, q: 'IPA') { results }
|
26
26
|
expect(search.send(method, q: 'IPA')).to eq(results)
|
27
27
|
end
|
28
28
|
end
|
data/spec/fixtures/BreweryDB_Resources_FluidSize/_all/fetches_all_of_the_fluid_sizes_at_once.yml
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.brewerydb.com/v2/fluidsizes?key=API_KEY
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- BreweryDB Ruby Gem 0.2.1
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message:
|
16
|
+
headers:
|
17
|
+
date:
|
18
|
+
- Mon, 05 Aug 2013 15:42:29 GMT
|
19
|
+
server:
|
20
|
+
- Apache/2.2.24 (Amazon)
|
21
|
+
x-powered-by:
|
22
|
+
- PHP/5.3.26
|
23
|
+
x-ratelimit-limit:
|
24
|
+
- '400'
|
25
|
+
x-ratelimit-remaining:
|
26
|
+
- '399'
|
27
|
+
vary:
|
28
|
+
- Accept-Encoding
|
29
|
+
content-length:
|
30
|
+
- '382'
|
31
|
+
connection:
|
32
|
+
- close
|
33
|
+
content-type:
|
34
|
+
- application/json
|
35
|
+
body:
|
36
|
+
encoding: UTF-8
|
37
|
+
string: '{"message":"READ ONLY MODE: Request Successful","data":[{"id":1,"volume":"oz","volumeDisplay":"Ounce
|
38
|
+
(oz)","quantity":"22","createDate":"2012-01-03 02:41:33"},{"id":2,"volume":"oz","volumeDisplay":"Ounce
|
39
|
+
(oz)","quantity":"12","createDate":"2012-01-03 02:41:33"},{"id":3,"volume":"oz","volumeDisplay":"Ounce
|
40
|
+
(oz)","quantity":"16","createDate":"2012-01-03 02:41:33"},{"id":4,"volume":"oz","volumeDisplay":"Ounce
|
41
|
+
(oz)","quantity":"7","createDate":"2012-01-03 02:41:33"},{"id":5,"volume":"liter","volumeDisplay":"Liter","quantity":".75","createDate":"2012-01-03
|
42
|
+
02:41:33"},{"id":6,"volume":"pack","volumeDisplay":"Pack","quantity":"6","createDate":"2012-01-03
|
43
|
+
02:41:33"},{"id":7,"volume":"pack","volumeDisplay":"Pack","quantity":"4","createDate":"2012-01-03
|
44
|
+
02:41:33"},{"id":8,"volume":"pack","volumeDisplay":"Pack","quantity":"12","createDate":"2012-01-03
|
45
|
+
02:41:33"},{"id":9,"volume":"case","createDate":"2012-01-03 02:41:33"},{"id":10,"volume":"oz","volumeDisplay":"Ounce
|
46
|
+
(oz)","quantity":"18","createDate":"2012-01-04 13:41:24"},{"id":11,"volume":"oz","volumeDisplay":"Ounce
|
47
|
+
(oz)","quantity":"25.4","createDate":"2012-01-04 13:47:15"},{"id":12,"volume":"oz","volumeDisplay":"Ounce
|
48
|
+
(oz)","quantity":"11.2","createDate":"2012-07-15 13:06:32"},{"id":13,"volume":"oz","volumeDisplay":"Ounce
|
49
|
+
(oz)","quantity":"16.9","createDate":"2012-07-29 21:20:00"},{"id":14,"volume":"pack","volumeDisplay":"Pack","quantity":"Case
|
50
|
+
12\/22","createDate":"2012-09-09 14:49:35","updateDate":"2012-09-09 14:49:55"},{"id":15,"volume":"barrel","volumeDisplay":"Barrel","quantity":"1\/2","createDate":"2012-09-09
|
51
|
+
14:51:14"},{"id":16,"volume":"barrel","volumeDisplay":"Barrel","quantity":"1\/6","createDate":"2012-09-09
|
52
|
+
14:51:29"},{"id":17,"volume":"barrel","volumeDisplay":"Barrel","quantity":"1\/4","createDate":"2012-09-09
|
53
|
+
14:51:44"}],"status":"success"}'
|
54
|
+
http_version:
|
55
|
+
recorded_at: Mon, 05 Aug 2013 15:42:29 GMT
|
56
|
+
recorded_with: VCR 2.4.0
|
data/spec/fixtures/BreweryDB_Resources_FluidSize/_find/fetches_only_the_fluid_size_asked_for.yml
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.brewerydb.com/v2/fluidsize/1?key=API_KEY
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- BreweryDB Ruby Gem 0.2.1
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message:
|
16
|
+
headers:
|
17
|
+
date:
|
18
|
+
- Mon, 05 Aug 2013 15:42:29 GMT
|
19
|
+
server:
|
20
|
+
- Apache/2.2.24 (Amazon)
|
21
|
+
x-powered-by:
|
22
|
+
- PHP/5.3.26
|
23
|
+
x-ratelimit-limit:
|
24
|
+
- '400'
|
25
|
+
x-ratelimit-remaining:
|
26
|
+
- '398'
|
27
|
+
vary:
|
28
|
+
- Accept-Encoding
|
29
|
+
content-length:
|
30
|
+
- '165'
|
31
|
+
connection:
|
32
|
+
- close
|
33
|
+
content-type:
|
34
|
+
- application/json
|
35
|
+
body:
|
36
|
+
encoding: UTF-8
|
37
|
+
string: '{"message":"READ ONLY MODE: Request Successful","data":{"id":1,"volume":"oz","volumeDisplay":"Ounce
|
38
|
+
(oz)","quantity":"22","createDate":"2012-01-03 02:41:33"},"status":"success"}'
|
39
|
+
http_version:
|
40
|
+
recorded_at: Mon, 05 Aug 2013 15:42:29 GMT
|
41
|
+
recorded_with: VCR 2.4.0
|
@@ -0,0 +1,48 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.brewerydb.com/v2/menu/beer-availability?key=API_KEY
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- BreweryDB Ruby Gem 0.2.1
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message:
|
16
|
+
headers:
|
17
|
+
date:
|
18
|
+
- Mon, 05 Aug 2013 16:43:43 GMT
|
19
|
+
server:
|
20
|
+
- Apache/2.2.24 (Amazon)
|
21
|
+
x-powered-by:
|
22
|
+
- PHP/5.3.26
|
23
|
+
x-ratelimit-limit:
|
24
|
+
- '400'
|
25
|
+
x-ratelimit-remaining:
|
26
|
+
- '393'
|
27
|
+
vary:
|
28
|
+
- Accept-Encoding
|
29
|
+
content-length:
|
30
|
+
- '296'
|
31
|
+
connection:
|
32
|
+
- close
|
33
|
+
content-type:
|
34
|
+
- application/json
|
35
|
+
body:
|
36
|
+
encoding: UTF-8
|
37
|
+
string: '{"message":"READ ONLY MODE: Request Successful","data":[{"id":1,"name":"Year
|
38
|
+
Round","description":"Available year round as a staple beer."},{"id":2,"name":"Limited","description":"Limited
|
39
|
+
availability."},{"id":3,"name":"Not Available","description":"Beer is not
|
40
|
+
available."},{"id":4,"name":"Seasonal","description":"Available at the same
|
41
|
+
time of year, every year."},{"id":5,"name":"Spring","description":"Available
|
42
|
+
during the spring months."},{"id":6,"name":"Summer","description":"Available
|
43
|
+
during the summer months."},{"id":7,"name":"Fall","description":"Available
|
44
|
+
during the fall months."},{"id":8,"name":"Winter","description":"Available
|
45
|
+
during the winter months."}],"status":"success"}'
|
46
|
+
http_version:
|
47
|
+
recorded_at: Mon, 05 Aug 2013 16:43:43 GMT
|
48
|
+
recorded_with: VCR 2.4.0
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brewery_db
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tyler Hunt
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-08-
|
12
|
+
date: 2013-08-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: faraday
|
@@ -129,9 +129,11 @@ files:
|
|
129
129
|
- lib/brewery_db/resources/brewery.rb
|
130
130
|
- lib/brewery_db/resources/categories.rb
|
131
131
|
- lib/brewery_db/resources/fermentables.rb
|
132
|
+
- lib/brewery_db/resources/fluid_size.rb
|
132
133
|
- lib/brewery_db/resources/glassware.rb
|
133
134
|
- lib/brewery_db/resources/hops.rb
|
134
135
|
- lib/brewery_db/resources/locations.rb
|
136
|
+
- lib/brewery_db/resources/menu.rb
|
135
137
|
- lib/brewery_db/resources/search.rb
|
136
138
|
- lib/brewery_db/resources/styles.rb
|
137
139
|
- lib/brewery_db/resources/yeasts.rb
|
@@ -148,9 +150,11 @@ files:
|
|
148
150
|
- spec/brewery_db/resources/brewery_spec.rb
|
149
151
|
- spec/brewery_db/resources/categories_spec.rb
|
150
152
|
- spec/brewery_db/resources/fermentables_spec.rb
|
153
|
+
- spec/brewery_db/resources/fluid_size_spec.rb
|
151
154
|
- spec/brewery_db/resources/glassware_spec.rb
|
152
155
|
- spec/brewery_db/resources/hops_spec.rb
|
153
156
|
- spec/brewery_db/resources/locations_spec.rb
|
157
|
+
- spec/brewery_db/resources/menu_spec.rb
|
154
158
|
- spec/brewery_db/resources/search_spec.rb
|
155
159
|
- spec/brewery_db/resources/styles_spec.rb
|
156
160
|
- spec/brewery_db/resources/yeasts_spec.rb
|
@@ -168,12 +172,15 @@ files:
|
|
168
172
|
- spec/fixtures/BreweryDB_Resources_Categories/_find/fetches_only_the_category_asked_for.yml
|
169
173
|
- spec/fixtures/BreweryDB_Resources_Fermentables/_all/fetches_all_of_the_fermentables_at_once.yml
|
170
174
|
- spec/fixtures/BreweryDB_Resources_Fermentables/_find/fetches_only_the_fermentable_asked_for.yml
|
175
|
+
- spec/fixtures/BreweryDB_Resources_FluidSize/_all/fetches_all_of_the_fluid_sizes_at_once.yml
|
176
|
+
- spec/fixtures/BreweryDB_Resources_FluidSize/_find/fetches_only_the_fluid_size_asked_for.yml
|
171
177
|
- spec/fixtures/BreweryDB_Resources_Glassware/_all/fetches_all_of_the_glassware_at_once.yml
|
172
178
|
- spec/fixtures/BreweryDB_Resources_Glassware/_find/fetches_only_the_glassware_asked_for.yml
|
173
179
|
- spec/fixtures/BreweryDB_Resources_Hops/_all/fetches_all_of_the_hops_at_once.yml
|
174
180
|
- spec/fixtures/BreweryDB_Resources_Hops/_find/fetches_only_the_hop_asked_for.yml
|
175
181
|
- spec/fixtures/BreweryDB_Resources_Locations/_all/fetches_all_of_the_breweries_at_once.yml
|
176
182
|
- spec/fixtures/BreweryDB_Resources_Locations/_find/fetches_only_the_location_asked_for.yml
|
183
|
+
- spec/fixtures/BreweryDB_Resources_Menu/_beer_availability/fetches_all_of_the_beer_availabilities_at_once.yml
|
177
184
|
- spec/fixtures/BreweryDB_Resources_Search/_all/fetches_all_of_the_search_results_at_once.yml
|
178
185
|
- spec/fixtures/BreweryDB_Resources_Styles/_all/fetches_all_of_the_styles_at_once.yml
|
179
186
|
- spec/fixtures/BreweryDB_Resources_Styles/_find/fetches_only_the_style_asked_for.yml
|
@@ -183,7 +190,8 @@ files:
|
|
183
190
|
- spec/support/shared/a_resource.rb
|
184
191
|
- spec/support/vcr.rb
|
185
192
|
homepage: http://github.com/tylerhunt/brewery_db
|
186
|
-
licenses:
|
193
|
+
licenses:
|
194
|
+
- MIT
|
187
195
|
metadata: {}
|
188
196
|
post_install_message:
|
189
197
|
rdoc_options: []
|
@@ -216,9 +224,11 @@ test_files:
|
|
216
224
|
- spec/brewery_db/resources/brewery_spec.rb
|
217
225
|
- spec/brewery_db/resources/categories_spec.rb
|
218
226
|
- spec/brewery_db/resources/fermentables_spec.rb
|
227
|
+
- spec/brewery_db/resources/fluid_size_spec.rb
|
219
228
|
- spec/brewery_db/resources/glassware_spec.rb
|
220
229
|
- spec/brewery_db/resources/hops_spec.rb
|
221
230
|
- spec/brewery_db/resources/locations_spec.rb
|
231
|
+
- spec/brewery_db/resources/menu_spec.rb
|
222
232
|
- spec/brewery_db/resources/search_spec.rb
|
223
233
|
- spec/brewery_db/resources/styles_spec.rb
|
224
234
|
- spec/brewery_db/resources/yeasts_spec.rb
|
@@ -236,12 +246,15 @@ test_files:
|
|
236
246
|
- spec/fixtures/BreweryDB_Resources_Categories/_find/fetches_only_the_category_asked_for.yml
|
237
247
|
- spec/fixtures/BreweryDB_Resources_Fermentables/_all/fetches_all_of_the_fermentables_at_once.yml
|
238
248
|
- spec/fixtures/BreweryDB_Resources_Fermentables/_find/fetches_only_the_fermentable_asked_for.yml
|
249
|
+
- spec/fixtures/BreweryDB_Resources_FluidSize/_all/fetches_all_of_the_fluid_sizes_at_once.yml
|
250
|
+
- spec/fixtures/BreweryDB_Resources_FluidSize/_find/fetches_only_the_fluid_size_asked_for.yml
|
239
251
|
- spec/fixtures/BreweryDB_Resources_Glassware/_all/fetches_all_of_the_glassware_at_once.yml
|
240
252
|
- spec/fixtures/BreweryDB_Resources_Glassware/_find/fetches_only_the_glassware_asked_for.yml
|
241
253
|
- spec/fixtures/BreweryDB_Resources_Hops/_all/fetches_all_of_the_hops_at_once.yml
|
242
254
|
- spec/fixtures/BreweryDB_Resources_Hops/_find/fetches_only_the_hop_asked_for.yml
|
243
255
|
- spec/fixtures/BreweryDB_Resources_Locations/_all/fetches_all_of_the_breweries_at_once.yml
|
244
256
|
- spec/fixtures/BreweryDB_Resources_Locations/_find/fetches_only_the_location_asked_for.yml
|
257
|
+
- spec/fixtures/BreweryDB_Resources_Menu/_beer_availability/fetches_all_of_the_beer_availabilities_at_once.yml
|
245
258
|
- spec/fixtures/BreweryDB_Resources_Search/_all/fetches_all_of_the_search_results_at_once.yml
|
246
259
|
- spec/fixtures/BreweryDB_Resources_Styles/_all/fetches_all_of_the_styles_at_once.yml
|
247
260
|
- spec/fixtures/BreweryDB_Resources_Styles/_find/fetches_only_the_style_asked_for.yml
|