just-the-recipe 0.2.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +1 -2
- data/bin/console +1 -1
- data/bin/just-the-recipe +1 -1
- data/just-the-recipe.gemspec +3 -3
- data/lib/{environment.rb → just-the-recipe.rb} +2 -2
- data/lib/just-the-recipe/authenticate.rb +11 -0
- data/lib/just-the-recipe/cli.rb +3 -1
- data/lib/just-the-recipe/cookbook.rb +1 -1
- data/lib/just-the-recipe/recipe.rb +1 -1
- data/lib/just-the-recipe/scraper.rb +1 -1
- data/lib/just-the-recipe/searcher.rb +1 -1
- data/lib/just-the-recipe/version.rb +1 -1
- metadata +8 -6
- data/.env.template +0 -2
- data/notes.md +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9630aec266f08d9d58d7496be1386ca8b0e298cec9beeef1fcb4b608ceeb96f
|
4
|
+
data.tar.gz: 739fe2c46d8d15d5c8d15d84106f2dad5fecac321e7c7d48f8b8ceb982e82801
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60779d8f45c4e053db12688db40a014029ac3824bd45a90203e5c1d4d15c6645c063735e39225f03fec1cec7fe059a584d228fc6a0a1a21e559df11f7fc50f41
|
7
|
+
data.tar.gz: e024954f91b3279ee6643344d5613c558c2bb1af3f0bb69519335f626efc076e562a4318a5fa2a0ae519518db00b462113003c3701a8f85c406e6d09cd474937
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
data/bin/console
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
require "bundler/setup"
|
5
|
-
require
|
5
|
+
require './lib/just-the-recipe.rb'
|
6
6
|
|
7
7
|
# You can add fixtures and/or initialization code here to make experimenting
|
8
8
|
# with your gem easier. You can also use a different console, if you like.
|
data/bin/just-the-recipe
CHANGED
data/just-the-recipe.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "./lib/
|
3
|
+
require "./lib/just-the-recipe.rb"
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "just-the-recipe"
|
@@ -24,8 +24,8 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
25
25
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
|
26
26
|
end
|
27
|
-
spec.bindir = "
|
28
|
-
spec.executables = spec.files.grep(%r{\
|
27
|
+
spec.bindir = "bin"
|
28
|
+
spec.executables = spec.files.grep(%r{\Abin/}) { |f| File.basename(f) }
|
29
29
|
spec.require_paths = ["lib"]
|
30
30
|
|
31
31
|
# Uncomment to register a new dependency of your gem
|
@@ -1,3 +1,4 @@
|
|
1
|
+
|
1
2
|
require 'dotenv/load'
|
2
3
|
require 'open-uri'
|
3
4
|
require 'nokogiri'
|
@@ -5,13 +6,12 @@ require 'JSON'
|
|
5
6
|
require 'net/http'
|
6
7
|
require 'tty-prompt'
|
7
8
|
|
8
|
-
Dotenv.require_keys("APP_ID", "APP_KEY")
|
9
|
-
|
10
9
|
require './lib/just-the-recipe/version.rb'
|
11
10
|
require './lib/just-the-recipe/cli.rb'
|
12
11
|
require './lib/just-the-recipe/cookbook.rb'
|
13
12
|
require './lib/just-the-recipe/recipe.rb'
|
14
13
|
require './lib/just-the-recipe/scraper.rb'
|
15
14
|
require './lib/just-the-recipe/searcher.rb'
|
15
|
+
require 'bundler/setup'
|
16
16
|
|
17
17
|
|
data/lib/just-the-recipe/cli.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
require './lib/just-the-recipe.rb'
|
2
2
|
|
3
3
|
class JustTheRecipe::CLI
|
4
4
|
|
@@ -140,4 +140,6 @@ class JustTheRecipe::CLI
|
|
140
140
|
puts "\n\nThanks for stopping by! If you created any cookbooks, they'll be saved as text files so that you can continue using them in the future. See you soon!"
|
141
141
|
end
|
142
142
|
|
143
|
+
|
144
|
+
|
143
145
|
end
|
metadata
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: just-the-recipe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- George Dilthey
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2021-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
@@ -69,12 +69,14 @@ dependencies:
|
|
69
69
|
description: A small CLI application to search for recipes and create simple cookbooks.
|
70
70
|
email:
|
71
71
|
- george.dilthey@gmail.com
|
72
|
-
executables:
|
72
|
+
executables:
|
73
|
+
- console
|
74
|
+
- just-the-recipe
|
75
|
+
- setup
|
73
76
|
extensions: []
|
74
77
|
extra_rdoc_files: []
|
75
78
|
files:
|
76
79
|
- ".DS_Store"
|
77
|
-
- ".env.template"
|
78
80
|
- ".gitignore"
|
79
81
|
- Gemfile
|
80
82
|
- Gemfile.lock
|
@@ -84,14 +86,14 @@ files:
|
|
84
86
|
- bin/just-the-recipe
|
85
87
|
- bin/setup
|
86
88
|
- just-the-recipe.gemspec
|
87
|
-
- lib/
|
89
|
+
- lib/just-the-recipe.rb
|
90
|
+
- lib/just-the-recipe/authenticate.rb
|
88
91
|
- lib/just-the-recipe/cli.rb
|
89
92
|
- lib/just-the-recipe/cookbook.rb
|
90
93
|
- lib/just-the-recipe/recipe.rb
|
91
94
|
- lib/just-the-recipe/scraper.rb
|
92
95
|
- lib/just-the-recipe/searcher.rb
|
93
96
|
- lib/just-the-recipe/version.rb
|
94
|
-
- notes.md
|
95
97
|
homepage: https://github.com/george-dilthey/just-the-recipe
|
96
98
|
licenses: []
|
97
99
|
metadata:
|
data/.env.template
DELETED
data/notes.md
DELETED