just-the-recipe 0.4.0 → 0.5.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: 783bc9148a0c31e87a91b77ff5bc63e6f3e576a9569647611f97d91d43539c2c
4
- data.tar.gz: 5566f44576ebdc8659833e54fc9d57c1c79a7adcfae5eefb20d0a3427d9dfdf3
3
+ metadata.gz: fa0b761e655e7b5c4f78daaad4d29dff143b0f7a9ef1ecdbff52265616aa00ed
4
+ data.tar.gz: 938a1bc8e272ea6440d7a9d0618ce2c80d69de009c65d04a5e52a297f00770db
5
5
  SHA512:
6
- metadata.gz: 45098457fc97e62b54ccc92f73195c7cffb868a754a4e462b255b3d7bdfecce746d510b60a77055bfe9a910ef9f6d0a8cbdbf7de761a231535751cf7eb2ab493
7
- data.tar.gz: 2ccc4c48093df3fc60e57aa0d432ab65bc557992b76900a4452f4a5e7d9a8c1ecc26c4d02daf8af5b6b12d9328b3a7c7a613cf0323bc02dd66f5acebffe1962c
6
+ metadata.gz: a2e057b7e53e44c04445565925229cb09470acb6e096de81ecd8bc41085d745271a8ef03c857afc413a387d713eafec244b49bd3a63eed1f9d9d53df9f98a35d
7
+ data.tar.gz: 49d1cf7a8a2b31639d21fd0c65d70b16a70559b0d689911d058855eb774d18006cf05cfbc17ba0fea7a3e937d9e392875d22faa6af51975be45b67e6080719dd
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- just-the-recipe (0.4.0)
4
+ just-the-recipe (0.5.0)
5
5
  dotenv
6
6
  nokogiri
7
7
  open-uri
@@ -0,0 +1,11 @@
1
+
2
+ class Authenticate
3
+
4
+ def initialize(app_id, app_key)
5
+ @app_id, @app_key = app_id, app_key
6
+ File.write(".env", "APP_ID = #{app_id.to_s}\nAPP_KEY = #{app_key.to_s}")
7
+ end
8
+
9
+ end
10
+
11
+ Authenticate.new('6d8b7767', 'e1633ded1da9906633b79ec6c8525ac5')
@@ -5,8 +5,6 @@ require 'JSON'
5
5
  require 'net/http'
6
6
  require 'tty-prompt'
7
7
 
8
- Dotenv.require_keys("APP_ID", "APP_KEY")
9
-
10
8
  require './lib/just-the-recipe/version.rb'
11
9
  require './lib/just-the-recipe/cli.rb'
12
10
  require './lib/just-the-recipe/cookbook.rb'
@@ -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
@@ -1,3 +1,3 @@
1
1
  module JustTheRecipe
2
- VERSION = "0.4.0"
2
+ VERSION = "0.5.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.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - George Dilthey
@@ -77,7 +77,6 @@ extensions: []
77
77
  extra_rdoc_files: []
78
78
  files:
79
79
  - ".DS_Store"
80
- - ".env.template"
81
80
  - ".gitignore"
82
81
  - Gemfile
83
82
  - Gemfile.lock
@@ -87,6 +86,7 @@ files:
87
86
  - bin/just-the-recipe
88
87
  - bin/setup
89
88
  - just-the-recipe.gemspec
89
+ - lib/authenticate.rb
90
90
  - lib/just-the-recipe.rb
91
91
  - lib/just-the-recipe/cli.rb
92
92
  - lib/just-the-recipe/cookbook.rb
data/.env.template DELETED
@@ -1,2 +0,0 @@
1
- APP_ID =APP_ID
2
- APP_KEY =APP_KEY