just-the-recipe 0.6.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9f762feff2c616419e85ce6ddf071c889643531c3f90b3934d06b5356f9e4282
4
- data.tar.gz: e3ecdd69fc59b935137748d66afec24371466c6bc336c166ff917c45daab569d
3
+ metadata.gz: c273b4df88cd27062ee4e5cf69902c82debad7870d180797e505f2ada2033e7d
4
+ data.tar.gz: 0f4a493f635feb94715c2868512156f33246a7e220299b2dcd018737ad6e9239
5
5
  SHA512:
6
- metadata.gz: 9dcc649793cdac6c6a99e4e04243954c9869da5c809f85ccc8f2e71c0e204fd43e72a8e052db17ca51f719d9d0c6229af239c1436b23d219e74212c36eba3431
7
- data.tar.gz: 3a87384a00dbfc2742d37323f1f1cd745a09bd53440cf0dfd34c408775cb28a8991148513d703caef5da5f67e9298ab58dc288b2824476cf724b62fd5b0f2549
6
+ metadata.gz: b72d4324906dbef73af9a921a212681c51bd4ad4d20308a064c010e7fb5acb37e072da279ea031fa597dbfba6284734120364878308f032628588987dbdf4924
7
+ data.tar.gz: af7a31f39c825c8b16f9e63ae4a25cbfbe18bc468315e7d01e0cfd3f5584b38525327b4a7ef3dc27ef939dbaf4edb2e4bf5bd5dcd84b75b41cac207e2aea22f1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- just-the-recipe (0.6.0)
4
+ just-the-recipe (0.11.0)
5
5
  dotenv
6
6
  nokogiri
7
7
  open-uri
@@ -1,3 +1,4 @@
1
+
1
2
  require 'dotenv/load'
2
3
  require 'open-uri'
3
4
  require 'nokogiri'
@@ -5,11 +6,12 @@ require 'JSON'
5
6
  require 'net/http'
6
7
  require 'tty-prompt'
7
8
 
8
- require './lib/just-the-recipe/version.rb'
9
- require './lib/just-the-recipe/cli.rb'
10
- require './lib/just-the-recipe/cookbook.rb'
11
- require './lib/just-the-recipe/recipe.rb'
12
- require './lib/just-the-recipe/scraper.rb'
13
- require './lib/just-the-recipe/searcher.rb'
9
+ require_relative 'just-the-recipe/version'
10
+ require_relative 'just-the-recipe/cli'
11
+ require_relative 'just-the-recipe/cookbook'
12
+ require_relative 'just-the-recipe/recipe'
13
+ require_relative 'just-the-recipe/scraper'
14
+ require_relative 'just-the-recipe/searcher'
15
+ require_relative 'just-the-recipe/authenticate'
14
16
 
15
17
 
@@ -1,5 +1,4 @@
1
-
2
- class Authenticate
1
+ class JustTheRecipe::Authenticate
3
2
 
4
3
  def initialize(app_id, app_key)
5
4
  @app_id, @app_key = app_id, app_key
@@ -8,4 +7,3 @@ class Authenticate
8
7
 
9
8
  end
10
9
 
11
- Authenticate.new('6d8b7767', 'e1633ded1da9906633b79ec6c8525ac5')
@@ -1,5 +1,3 @@
1
- require './lib/just-the-recipe.rb'
2
-
3
1
  class JustTheRecipe::CLI
4
2
 
5
3
  def call
@@ -1,6 +1,3 @@
1
- require 'pry'
2
- require './lib/just-the-recipe.rb'
3
-
4
1
  class JustTheRecipe::Cookbook
5
2
 
6
3
  attr_accessor :name
@@ -1,6 +1,3 @@
1
- require 'pry'
2
- require './lib/just-the-recipe.rb'
3
-
4
1
  class JustTheRecipe::Recipe
5
2
 
6
3
  attr_accessor :title, :description, :ingredients, :steps, :url, :cookbook
@@ -1,7 +1,3 @@
1
- require 'pry'
2
-
3
- require './lib/just-the-recipe.rb'
4
-
5
1
  class JustTheRecipe::Scraper
6
2
 
7
3
  attr_accessor :url
@@ -1,7 +1,3 @@
1
- require 'pry'
2
-
3
- require './lib/just-the-recipe.rb'
4
-
5
1
  class JustTheRecipe::Searcher
6
2
 
7
3
  def initialize(search_term)
@@ -1,3 +1,3 @@
1
1
  module JustTheRecipe
2
- VERSION = "0.6.0"
2
+ VERSION = "0.11.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: just-the-recipe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - George Dilthey