recipe-grater 0.1.0 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1c4ed0031d02a380a64a145b2bb9676233622874
4
- data.tar.gz: de38c42299af4350ec6448f78525f61052dc414e
3
+ metadata.gz: b6b650b70f6a7ecb8390d9e40cf7f098c0e499ad
4
+ data.tar.gz: 4cf9bc4e796961042062194f83e421f434820d10
5
5
  SHA512:
6
- metadata.gz: d9923c97ecb69cdee49bac3ae6b2e75be5654aaeb799f8f339c9dfc0dd44b753f68897826dfde1081c1b80fb6f826bf8507b4b7b90b290f28a81bf4957706f0b
7
- data.tar.gz: ddf87a6fc61a7e978bf5dcef22133b4a0369b88e43a8901b39367641ec5485163d9534e03a48d1f1167f749557e42f3fcd1532fa58c447fa2c4f98544bde638d
6
+ metadata.gz: '0581867e4b3e263e1fd3f8214f96dab8e40668f775d421e0649f2312fdd07f3498e9fb3717bba86e1e1d9cc226c7a3630863500a73e4377e04dd70b2b41dd811'
7
+ data.tar.gz: 601f2ff02f0b0429b1ec60c1141893a2e23b96db72291ee24e47ead51e037dbf13eb5830bdc9c607794659822c1a1bd7988809f7d1901cc0f34b3fe7b707529d
data/Gemfile CHANGED
@@ -3,4 +3,7 @@ source "https://rubygems.org"
3
3
 
4
4
  gem 'pry'
5
5
  gem 'nokogiri', '1.6.6.2'
6
- gem 'rspec'
6
+ gem 'rspec'
7
+
8
+ # Specify your gem's dependencies in recipe-grater.gemspec
9
+ gemspec
data/README.md CHANGED
@@ -1,16 +1,34 @@
1
- *Grater*
1
+ #Grater
2
2
 
3
3
  Grater is a recipe scraper command line application that scrapes recipes from [BBC Good Food](https://www.bbcgoodfood.com/).
4
4
 
5
5
  When you run Grater, it gives you a list of 12 recipe categories to choose from. Based on a category (e.g. "healthy) you select, it lists the recipe collections available for that category. By selecting a collection, Grater returns a numbered list of recipe titles to choose from. When you select a recipe, Grater lists the ingredient list and step by step method to cook the chosen recipe.
6
6
 
7
- User selection is done by inputting a list item number.
7
+ ## Installation
8
8
 
9
- **Example**
10
- - To select a recipe from `healthy` category, enter `1`
11
- - To select the `Cheap and healthy` recipe collection, which belongs to `healthy` category, enter `5`
12
- - To get the ingredient list and cooking instructions for the `Winter vegetable pie` recipe, enter `25`
9
+ Add this line to your application's Gemfile:
13
10
 
11
+ ```
12
+ gem 'recipe-grater'
13
+ ```
14
+
15
+ And then execute:
16
+ ```
17
+ $ bundle
18
+ ```
19
+
20
+ Or install it yourself as:
21
+ ```
22
+ gem install recipe-grater
23
+ ```
24
+
25
+ ## Usage
26
+
27
+ Install the gem and follow the instructions. When prompted for a response, use numbers to provide input.
28
+
29
+ ## License
30
+
31
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
14
32
 
15
33
 
16
34
 
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "recipe-grater"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
9
+ Contact GitHub API Training Shop Blog About
@@ -1,3 +1,3 @@
1
1
  module RecipeGrater
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recipe-grater
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kaisa Piipari
@@ -93,7 +93,10 @@ files:
93
93
  - Gemfile.lock
94
94
  - LICENSE
95
95
  - README.md
96
+ - Rakefile
97
+ - bin/console
96
98
  - bin/recipe-grater
99
+ - bin/setup
97
100
  - config/environment.rb
98
101
  - fixtures/index.html
99
102
  - fixtures/recipes.html