beer_list 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/.gitignore +1 -0
  2. data/README.md +12 -2
  3. data/beer_list.gemspec +1 -1
  4. metadata +2 -1
data/.gitignore ADDED
@@ -0,0 +1 @@
1
+ *.gem
data/README.md CHANGED
@@ -4,6 +4,13 @@ A utility for retrieving the beer list from various establishments
4
4
 
5
5
  ## Usage
6
6
 
7
+ `gem install beer_list`
8
+
9
+ or in your gemfile:
10
+
11
+ `gem 'beer_list'`
12
+
13
+
7
14
  `require 'beer_list'`
8
15
 
9
16
  ### Getting a List
@@ -28,8 +35,11 @@ the desired establishments in BeerList.establishments:
28
35
  three_squares = BeerList::Establishments::ThreeSquares.new
29
36
  muddy_waters = BeerList::Establishments::MuddyWaters.new
30
37
 
31
- BeerList.establishments << three_squares
32
- BeerList.establishments << muddy_waters
38
+ # Register establishments
39
+ BeerList.add_establishments(three_squares, muddy_waters)
40
+
41
+ # See your registered establishments
42
+ BeerList.establishments
33
43
 
34
44
  # Array of BeerList::List objects
35
45
  BeerList.lists
data/beer_list.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'beer_list'
3
- spec.version = '0.0.1'
3
+ spec.version = '0.0.2'
4
4
  spec.authors = ['Dan Olson']
5
5
  spec.email = ['olson_dan@yahoo.com']
6
6
  spec.description = 'A utility for retrieving the beer list from various establishments'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beer_list
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -66,6 +66,7 @@ executables: []
66
66
  extensions: []
67
67
  extra_rdoc_files: []
68
68
  files:
69
+ - .gitignore
69
70
  - .rspec
70
71
  - Gemfile
71
72
  - Gemfile.lock