beerdb-models 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/beerdb/reader.rb +12 -0
- data/lib/beerdb/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 333f48b7fbc66cb2fa3d9ef78a9815496c093fc7
|
4
|
+
data.tar.gz: 283dc0368e9bdf46e69f8a774ed6a6daca3efbac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 728c6d69adb5ad926a5fea6f852d1d92dd30f5479741a2810454c770abbef939466627752c31b4a335d0e4553568238186e530432382a6de75f62c734adfa4ba
|
7
|
+
data.tar.gz: cfb8cf388ccf45838213c4ac8b3fe296df9747c00a272c200944f0f2a348c83ea7db3bb2797e6c3f8fc6078b880fbf430b43dbce545134826d9b924463a957b5
|
data/lib/beerdb/reader.rb
CHANGED
@@ -144,5 +144,17 @@ class ReaderBase
|
|
144
144
|
load_breweries_worker( name, more_attribs )
|
145
145
|
end
|
146
146
|
|
147
|
+
|
148
|
+
|
149
|
+
def load_beers_worker( name, more_attribs )
|
150
|
+
reader = create_beers_reader( name, more_attribs )
|
151
|
+
reader.read
|
152
|
+
end
|
153
|
+
|
154
|
+
def load_breweries_worker( name, more_attribs )
|
155
|
+
reader = create_breweries_reader( name, more_attribs )
|
156
|
+
reader.read
|
157
|
+
end
|
158
|
+
|
147
159
|
end # class ReaderBase
|
148
160
|
end # module BeerDb
|
data/lib/beerdb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beerdb-models
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gerald Bauer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: worlddb-models
|