richie-foodie 0.2.0 → 0.3.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 +12 -11
- data/exe/foodie +2 -2
- data/lib/{foodie → richie-foodie}/cli.rb +6 -6
- data/lib/{foodie → richie-foodie}/food.rb +1 -1
- data/lib/{foodie → richie-foodie}/generators/recipe/recipe.txt +0 -0
- data/lib/{foodie → richie-foodie}/generators/recipe.rb +1 -1
- data/lib/richie-foodie/version.rb +5 -0
- data/lib/{foodie.rb → richie-foodie.rb} +3 -3
- data/sig/foodie.rbs +1 -1
- metadata +7 -7
- data/lib/foodie/version.rb +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a07073881bb726ab3be996bf03b2fd8de2c6c020802b5a246915fdb75d15ade
|
4
|
+
data.tar.gz: b61ca4050f1302014d0281dc7b68050dd52615172b0dacf0dce875584369b40f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e8e3e58ddaecde1d1949b17c81a20891b766073dfbe729db3d193a312d5828a6efdc2ab29fe5eb44c4e900867cd5de9420c42f6f2b27e52d35c86a14c502db7
|
7
|
+
data.tar.gz: 5cc541a7e3d03ece73a92b2792b965c00af26d26e71ad7e9b0d7131fbcd13178db96855948ff9b36483f11a600348f033348e283a7922cfb21dfc652d073a550
|
data/Gemfile.lock
CHANGED
@@ -1,18 +1,19 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
richie-foodie (0.
|
5
|
-
activesupport (
|
4
|
+
richie-foodie (0.2.0)
|
5
|
+
activesupport (>= 4.2.0)
|
6
6
|
thor
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activesupport (
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
tzinfo (~>
|
11
|
+
activesupport (6.1.6)
|
12
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
13
|
+
i18n (>= 1.6, < 2)
|
14
|
+
minitest (>= 5.1)
|
15
|
+
tzinfo (~> 2.0)
|
16
|
+
zeitwerk (~> 2.3)
|
16
17
|
aruba (2.1.0)
|
17
18
|
bundler (>= 1.17, < 3.0)
|
18
19
|
childprocess (>= 2.0, < 5.0)
|
@@ -51,7 +52,7 @@ GEM
|
|
51
52
|
cucumber-tag-expressions (4.1.0)
|
52
53
|
diff-lcs (1.5.0)
|
53
54
|
ffi (1.15.5)
|
54
|
-
i18n (
|
55
|
+
i18n (1.10.0)
|
55
56
|
concurrent-ruby (~> 1.0)
|
56
57
|
mime-types (3.4.1)
|
57
58
|
mime-types-data (~> 3.2015)
|
@@ -75,9 +76,9 @@ GEM
|
|
75
76
|
sys-uname (1.2.2)
|
76
77
|
ffi (~> 1.1)
|
77
78
|
thor (1.2.1)
|
78
|
-
|
79
|
-
|
80
|
-
|
79
|
+
tzinfo (2.0.4)
|
80
|
+
concurrent-ruby (~> 1.0)
|
81
|
+
zeitwerk (2.5.4)
|
81
82
|
|
82
83
|
PLATFORMS
|
83
84
|
x86_64-darwin-19
|
data/exe/foodie
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
require 'foodie/cli'
|
3
|
-
|
2
|
+
require 'richie-foodie/cli'
|
3
|
+
RichieFoodie::CLI.start
|
@@ -1,24 +1,24 @@
|
|
1
1
|
require 'thor'
|
2
|
-
require 'foodie'
|
3
|
-
require 'foodie/generators/recipe'
|
2
|
+
require 'richie-foodie'
|
3
|
+
require 'richie-foodie/generators/recipe'
|
4
4
|
|
5
|
-
module
|
5
|
+
module RichieFoodie
|
6
6
|
class CLI < Thor
|
7
7
|
|
8
8
|
desc "portray ITEM", "Determines if a piece of food is gross or delicious"
|
9
9
|
def portray(name)
|
10
|
-
puts
|
10
|
+
puts RichieFoodie::Food.portray(name)
|
11
11
|
end
|
12
12
|
|
13
13
|
desc "pluralize", "Pluralizes a word."
|
14
14
|
method_option :word, aliases: "-w"
|
15
15
|
def pluralize
|
16
|
-
puts
|
16
|
+
puts RichieFoodie::Food.pluralize(options[:word])
|
17
17
|
end
|
18
18
|
|
19
19
|
desc "recipe", "Generates a recipe scaffold"
|
20
20
|
def recipe(group, name)
|
21
|
-
|
21
|
+
RichieFoodie::Generators::Recipe.start([group, name])
|
22
22
|
end
|
23
23
|
end
|
24
24
|
end
|
File without changes
|
@@ -1,9 +1,9 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require_relative "foodie/version"
|
4
|
-
require "foodie/food"
|
3
|
+
require_relative "richie-foodie/version"
|
4
|
+
require "richie-foodie/food"
|
5
5
|
|
6
|
-
module
|
6
|
+
module RichieFoodie
|
7
7
|
class Error < StandardError; end
|
8
8
|
# Your code goes here...
|
9
9
|
end
|
data/sig/foodie.rbs
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: richie-foodie
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richie
|
@@ -112,12 +112,12 @@ files:
|
|
112
112
|
- dinner/salad.txt
|
113
113
|
- dinner/steak.txt
|
114
114
|
- exe/foodie
|
115
|
-
- lib/foodie.rb
|
116
|
-
- lib/foodie/cli.rb
|
117
|
-
- lib/foodie/food.rb
|
118
|
-
- lib/foodie/generators/recipe.rb
|
119
|
-
- lib/foodie/generators/recipe/recipe.txt
|
120
|
-
- lib/foodie/version.rb
|
115
|
+
- lib/richie-foodie.rb
|
116
|
+
- lib/richie-foodie/cli.rb
|
117
|
+
- lib/richie-foodie/food.rb
|
118
|
+
- lib/richie-foodie/generators/recipe.rb
|
119
|
+
- lib/richie-foodie/generators/recipe/recipe.txt
|
120
|
+
- lib/richie-foodie/version.rb
|
121
121
|
- sig/foodie.rbs
|
122
122
|
homepage: https://bundler.io/v2.0/guides/creating_gem.html
|
123
123
|
licenses:
|