wholefoods_recipe 0.1.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 793b7ca78aa78b07c3a736d1269f9b234da1e337b91b805d711da722e1b599cc
4
+ data.tar.gz: 2413ce83126d70788ff2a05f938d917147be7248f1ca1f4efe4946bdacab0f19
5
+ SHA512:
6
+ metadata.gz: 72d9d1eb3f2e0cc0092862e721e4e1082e388eb25859c0d0f389615d2545a97a727ca0658d432b1fc47a4ccbc82decafc18b42b8cadf812c5aa1a0b3fea681a0
7
+ data.tar.gz: d813c95b0cee4d0e6e71b53a4819a1bcb4b89b7c7798c6c5e848ac2e357d07e577059b7f5ee9c89cdbd01bf79127ac3a75042c03754545b64298597e9d0405ff
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.travis.yml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.3.3
7
+ before_install: gem install bundler -v 1.17.2
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at yukijina@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,9 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in wholefoods_recipe.gemspec
6
+ gemspec
7
+
8
+ gem 'nokogiri'
9
+ gem 'pry'
data/Gemfile.lock ADDED
@@ -0,0 +1,46 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ wholefoods_recipe (0.1.0)
5
+ nokogiri
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ coderay (1.1.2)
11
+ diff-lcs (1.3)
12
+ method_source (0.9.2)
13
+ mini_portile2 (2.4.0)
14
+ nokogiri (1.10.1)
15
+ mini_portile2 (~> 2.4.0)
16
+ pry (0.12.2)
17
+ coderay (~> 1.1.0)
18
+ method_source (~> 0.9.0)
19
+ rake (10.5.0)
20
+ rspec (3.8.0)
21
+ rspec-core (~> 3.8.0)
22
+ rspec-expectations (~> 3.8.0)
23
+ rspec-mocks (~> 3.8.0)
24
+ rspec-core (3.8.0)
25
+ rspec-support (~> 3.8.0)
26
+ rspec-expectations (3.8.2)
27
+ diff-lcs (>= 1.2.0, < 2.0)
28
+ rspec-support (~> 3.8.0)
29
+ rspec-mocks (3.8.0)
30
+ diff-lcs (>= 1.2.0, < 2.0)
31
+ rspec-support (~> 3.8.0)
32
+ rspec-support (3.8.0)
33
+
34
+ PLATFORMS
35
+ ruby
36
+
37
+ DEPENDENCIES
38
+ bundler (~> 1.17)
39
+ nokogiri
40
+ pry
41
+ rake (~> 10.0)
42
+ rspec (~> 3.0)
43
+ wholefoods_recipe!
44
+
45
+ BUNDLED WITH
46
+ 1.17.2
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 yukijina
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/NOTE.md ADDED
@@ -0,0 +1,5 @@
1
+ class
2
+
3
+ CLI - interact with users
4
+ Category - assign attribute
5
+ Scraper - scrape and get data from website
data/README.md ADDED
@@ -0,0 +1,42 @@
1
+ # Whole Foods Market Recipe Collection
2
+
3
+ You can find your favorite recipes from Whole Foods Market Recipe Collection.
4
+
5
+ ## Installation
6
+
7
+ ```ruby
8
+ gem 'wholefoods_recipe'
9
+ ```
10
+
11
+ And then execute:
12
+
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install wholefoods_recipe
18
+
19
+ ## Usage
20
+
21
+ Type the below and follow the on screen prompts.
22
+ ```
23
+ $ wholefoods_recipe
24
+ ```
25
+
26
+ ## Development
27
+
28
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
29
+
30
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
31
+
32
+ ## Contributing
33
+
34
+ Bug reports and pull requests are welcome on GitHub at https://github.com/<github username>/wholefoods_recipe. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
35
+
36
+ ## License
37
+
38
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
39
+
40
+ ## Code of Conduct
41
+
42
+ Everyone interacting in the WholefoodsRecipe project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/<github username>/wholefoods_recipe/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "wholefoods_recipe"
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,8 @@
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
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env ruby
2
+ require_relative '../lib/wholefoods_recipe'
3
+
4
+ WholefoodsRecipe::CLI.new.call
@@ -0,0 +1,15 @@
1
+ require 'nokogiri'
2
+ require 'open-uri'
3
+ require 'pry'
4
+
5
+ require_relative "./wholefoods_recipe/version"
6
+ require_relative "./wholefoods_recipe/cli"
7
+ require_relative "./wholefoods_recipe/category"
8
+ require_relative "./wholefoods_recipe/recipe"
9
+ require_relative "./wholefoods_recipe/scraper"
10
+
11
+
12
+
13
+ module WholefoodsRecipe
14
+ class Error < StandardError; end
15
+ end
@@ -0,0 +1,15 @@
1
+ class WholefoodsRecipe::Category
2
+ attr_accessor :title, :url
3
+ @@all = []
4
+
5
+ def initialize(title, url)
6
+ @title = title
7
+ @url = url
8
+ @@all << self
9
+ end
10
+
11
+ def self.all
12
+ @@all
13
+ end
14
+
15
+ end
@@ -0,0 +1,150 @@
1
+ class WholefoodsRecipe::CLI
2
+
3
+ def call
4
+ puts "Welcome to Wholfoods Recipe Collection!!!"
5
+ puts ""
6
+ puts " # # "
7
+ puts " # # # # # # "
8
+ puts " # # # # # # # # "
9
+ puts " # # # # # # # "
10
+ puts " # # # # # # "
11
+ puts " # # # # # "
12
+ puts " # # # # # # # # "
13
+ puts " ## ## "
14
+ puts " # # "
15
+ puts " # # "
16
+ puts " # # # # # # "
17
+ puts " # # # # # # "
18
+ puts " # # # # # "
19
+ puts " # # # # "
20
+ puts " # # # # "
21
+ puts " # # # "
22
+ puts "   # # "
23
+ puts "   ## ## "
24
+ puts " ### "
25
+ puts ""
26
+ list_category
27
+ end
28
+
29
+ def list_category
30
+ puts "Please type list to see recipe categories or type exit: "
31
+ input = gets.strip.downcase
32
+ if input == "list"
33
+ WholefoodsRecipe::Scraper.scraper_category
34
+ display_category
35
+ elsif input == "exit"
36
+ goodbye
37
+ else
38
+ puts "Invalid."
39
+ list_category
40
+ end
41
+ end
42
+
43
+ def display_category
44
+ WholefoodsRecipe::Category.all.each.with_index(1) do |list, index|
45
+ puts "#{index}. #{list.title}"
46
+ end
47
+ puts ""
48
+ select_number
49
+ end
50
+
51
+ def select_number
52
+ puts "Please type the number you are interested in or type exit: "
53
+ input = gets.strip
54
+ if input.to_i <= WholefoodsRecipe::Category.all.size && input.to_i > 0
55
+ index = input.to_i-1
56
+ @user_input = WholefoodsRecipe::Category.all[index]
57
+ puts ""
58
+ puts "Here is the recipes for No.#{input} #{@user_input.title}!"
59
+ WholefoodsRecipe::Scraper.scraper_recipes(@user_input.url)
60
+ display_recipes
61
+ elsif
62
+ input.downcase == "exit"
63
+ goodbye
64
+ elsif
65
+ input.to_i <= 0 || input.to_i > WholefoodsRecipe::Category.all.size
66
+ puts "Invalid number"
67
+ select_number
68
+ end
69
+ end
70
+
71
+ def display_recipes
72
+ WholefoodsRecipe::Recipe.all.each.with_index(1) do |recipe, index|
73
+ puts "#{index}. #{recipe.name}"
74
+ end
75
+ select_recipe
76
+ end
77
+
78
+ def select_recipe
79
+ puts ""
80
+ puts "Please type the number to see the recipe or type menu to go back to the categories or exit: "
81
+ input = gets.strip
82
+ if input.to_i <= WholefoodsRecipe::Recipe.all.size && input.to_i > 0
83
+ index = input.to_i-1
84
+
85
+ @user_select = WholefoodsRecipe::Recipe.all[index]
86
+ puts "Here is the recipe for #{input}.#{@user_select.name}!!"
87
+ WholefoodsRecipe::Scraper.scraper_recipe_details(@user_select)
88
+ display_recipe_details
89
+ elsif
90
+ input.downcase == "menu"
91
+ WholefoodsRecipe::Recipe.all.clear
92
+ display_category
93
+ elsif
94
+ input.downcase == "exit"
95
+ goodbye
96
+ elsif
97
+ input.to_i <= 0 || input.to_i > WholefoodsRecipe::Recipe.all.size
98
+ puts "Invalid number"
99
+ select_recipe
100
+ end
101
+ end
102
+
103
+ def display_recipe_details
104
+ WholefoodsRecipe::Recipe.all.each do |recipe_details|
105
+ @recipe_name = recipe_details.name
106
+ @recipe_description = recipe_details.description if recipe_details.description != nil
107
+ @recipe_ingredients = recipe_details.ingredients if recipe_details.ingredients != nil
108
+ end
109
+
110
+ puts "********************************************************"
111
+ puts ""
112
+ puts "*** #{@recipe_name} ***"
113
+ puts ""
114
+ puts "~~ #{@recipe_description} ~~"
115
+ puts ""
116
+ puts "* What you need: "
117
+ @recipe_ingredients.each.with_index(1) do |ingredient, index|
118
+ puts "#{index}. #{ingredient}"
119
+ end
120
+ puts ""
121
+ puts "Enjoy cooking!!!"
122
+ puts ""
123
+ puts "********************************************************"
124
+ go_back?
125
+ end
126
+
127
+ def go_back?
128
+ puts "Would you like to go back to the list of #{@user_input.title}[y/n]? Or type menu or exit: "
129
+ answer = gets.strip.downcase
130
+ if answer == "yes" || answer == "y"
131
+ puts "OK! Here you go!!"
132
+ display_recipes
133
+ elsif answer == "no" || answer == "n"
134
+ goodbye
135
+ elsif answer == "menu"
136
+ WholefoodsRecipe::Recipe.all.clear
137
+ display_category
138
+ elsif answer == "exit"
139
+ goodbye
140
+ else
141
+ puts "Invalid."
142
+ go_back?
143
+ end
144
+ end
145
+
146
+ def goodbye
147
+ puts "Thanks for visiting my project!!!"
148
+ end
149
+
150
+ end
@@ -0,0 +1,20 @@
1
+ class WholefoodsRecipe::Recipe
2
+ attr_accessor :name, :url, :description, :ingredients
3
+ @@all = []
4
+
5
+ def initialize(name, url)
6
+ @name = name
7
+ @url = url
8
+ @@all << self
9
+ end
10
+
11
+ def set_additonal_attribute(description, ingredients)
12
+ @description = description
13
+ @ingredients = ingredients
14
+ end
15
+
16
+ def self.all
17
+ @@all
18
+ end
19
+
20
+ end
@@ -0,0 +1,49 @@
1
+ class WholefoodsRecipe::Scraper
2
+
3
+ def self.scraper_category
4
+ doc = Nokogiri::HTML(open('https://www.wholefoodsmarket.com/recipe-collections'))
5
+
6
+ doc.css(".recipe-item").each do |collection|
7
+ title = collection.css("h3").text.strip
8
+ url = "https://www.wholefoodsmarket.com" + collection.css("h3 a").attr("href")
9
+ WholefoodsRecipe::Category.new(title, url)
10
+ end
11
+ end
12
+
13
+ def self.scraper_recipes(url)
14
+ doc = Nokogiri::HTML(open(url))
15
+
16
+ if doc.at_css(".he-recipes")
17
+ doc.css(".he-recipes p a").each do |element|
18
+ if !element.attr("href").include?("blog")
19
+ recipe_name = element.text.strip
20
+ recipe_url = "https://www.wholefoodsmarket.com" + element.attr("href")
21
+ end
22
+ WholefoodsRecipe::Recipe.new(recipe_name, recipe_url) unless recipe_url == nil
23
+ end
24
+ elsif doc.at_css(".he-recipes") == nil
25
+ doc.css("span.field-content a").each do |element|
26
+ if !element.attr("href").include?("blog")
27
+ recipe_name = element.text
28
+ recipe_url = "https://www.wholefoodsmarket.com" + element.attr("href")
29
+ end
30
+ WholefoodsRecipe::Recipe.new(recipe_name, recipe_url) unless recipe_url == nil
31
+ end
32
+ end
33
+ end
34
+
35
+ def self.scraper_recipe_details(recipe)
36
+ doc = Nokogiri::HTML(open(recipe.url))
37
+
38
+ if xml = doc.at_css(".torn-pod-content")
39
+ description = xml.css(".views-field-body").text.strip
40
+ ingredients = doc.css(".field-items ul li").map {|li| li.text.strip}
41
+ recipe.set_additonal_attribute(description, ingredients)
42
+ elsif xml == nil
43
+ description = doc.css(".main-copy p").first.text
44
+ ingredients = doc.css(".main-copy li").map {|li| li.text.strip}
45
+ recipe.set_additonal_attribute(description, ingredients)
46
+ end
47
+ end
48
+
49
+ end
@@ -0,0 +1,3 @@
1
+ module WholefoodsRecipe
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,44 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "wholefoods_recipe/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "wholefoods_recipe"
8
+ spec.version = WholefoodsRecipe::VERSION
9
+ spec.authors = ["yukijina"]
10
+ spec.email = ["yukijina@gmail.com"]
11
+
12
+ spec.summary = "CLI for wholefoods recipe collection"
13
+ spec.description = "Scrapes a recipe collection from https://www.wholefoodsmarket.com/recipe-collections"
14
+ spec.homepage = "https://github.com/yukijina/cli-project-wholefoods-recipe"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
19
+ # if spec.respond_to?(:metadata)
20
+ # spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
21
+
22
+ #spec.metadata["homepage_uri"] = spec.homepage
23
+ #spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
24
+ #spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
25
+ # else
26
+ # raise "RubyGems 2.0 or newer is required to protect against " \
27
+ # "public gem pushes."
28
+ # end
29
+
30
+ # Specify which files should be added to the gem when it is released.
31
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
32
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
33
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
34
+ end
35
+ spec.bindir = "bin"
36
+ spec.executables = ["wholefoods_recipe"]
37
+ spec.require_paths = ["lib"]
38
+
39
+ spec.add_development_dependency "bundler", "~> 1.17"
40
+ spec.add_development_dependency "rake", "~> 10.0"
41
+ spec.add_development_dependency "rspec", "~> 3.0"
42
+ spec.add_development_dependency "pry"
43
+ spec.add_dependency "nokogiri"
44
+ end
metadata ADDED
@@ -0,0 +1,134 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: wholefoods_recipe
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - yukijina
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-02-18 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.17'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.17'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: pry
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: nokogiri
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ description: Scrapes a recipe collection from https://www.wholefoodsmarket.com/recipe-collections
84
+ email:
85
+ - yukijina@gmail.com
86
+ executables:
87
+ - wholefoods_recipe
88
+ extensions: []
89
+ extra_rdoc_files: []
90
+ files:
91
+ - ".gitignore"
92
+ - ".rspec"
93
+ - ".travis.yml"
94
+ - CODE_OF_CONDUCT.md
95
+ - Gemfile
96
+ - Gemfile.lock
97
+ - LICENSE.txt
98
+ - NOTE.md
99
+ - README.md
100
+ - Rakefile
101
+ - bin/console
102
+ - bin/setup
103
+ - bin/wholefoods_recipe
104
+ - lib/wholefoods_recipe.rb
105
+ - lib/wholefoods_recipe/category.rb
106
+ - lib/wholefoods_recipe/cli.rb
107
+ - lib/wholefoods_recipe/recipe.rb
108
+ - lib/wholefoods_recipe/scraper.rb
109
+ - lib/wholefoods_recipe/version.rb
110
+ - wholefoods_recipe.gemspec
111
+ homepage: https://github.com/yukijina/cli-project-wholefoods-recipe
112
+ licenses:
113
+ - MIT
114
+ metadata: {}
115
+ post_install_message:
116
+ rdoc_options: []
117
+ require_paths:
118
+ - lib
119
+ required_ruby_version: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ required_rubygems_version: !ruby/object:Gem::Requirement
125
+ requirements:
126
+ - - ">="
127
+ - !ruby/object:Gem::Version
128
+ version: '0'
129
+ requirements: []
130
+ rubygems_version: 3.0.1
131
+ signing_key:
132
+ specification_version: 4
133
+ summary: CLI for wholefoods recipe collection
134
+ test_files: []