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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 651e28e6b21d34ba02a1529d996183320a9807e25d82f2990c8e891770c5d970
4
- data.tar.gz: 8cc8bd2934fdd5efb0ef49f50e2fc2eb8e769af8eed6c02f0cb1882d9c389e99
3
+ metadata.gz: 8a07073881bb726ab3be996bf03b2fd8de2c6c020802b5a246915fdb75d15ade
4
+ data.tar.gz: b61ca4050f1302014d0281dc7b68050dd52615172b0dacf0dce875584369b40f
5
5
  SHA512:
6
- metadata.gz: dcb9d349ce1308a6260cd9352b950de7a2961afeaa7630281f112236203fc34a81caa59207a520e648de344fd06cf0fc81b970999da4836f7b82a8a2eb08190a
7
- data.tar.gz: 57da5c77655d95115e5fdd631f6935887165f47eee5af189c6aa958c56075a3ff43048167f58e24d971e9f2fbcc08e58fb308b6d6fe439dace0fcb70eecaf22d
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.1.0)
5
- activesupport (~> 4.2.0)
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 (4.2.11.3)
12
- i18n (~> 0.7)
13
- minitest (~> 5.1)
14
- thread_safe (~> 0.3, >= 0.3.4)
15
- tzinfo (~> 1.1)
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 (0.9.5)
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
- thread_safe (0.3.6)
79
- tzinfo (1.2.9)
80
- thread_safe (~> 0.1)
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
- Foodie::CLI.start
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 Foodie
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 Foodie::Food.portray(name)
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 Foodie::Food.pluralize(options[:word])
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
- Foodie::Generators::Recipe.start([group, name])
21
+ RichieFoodie::Generators::Recipe.start([group, name])
22
22
  end
23
23
  end
24
24
  end
@@ -1,6 +1,6 @@
1
1
  require 'active_support/inflector'
2
2
 
3
- module Foodie
3
+ module RichieFoodie
4
4
  class Food
5
5
 
6
6
  def self.pluralize(word)
@@ -1,6 +1,6 @@
1
1
  require 'thor/group'
2
2
 
3
- module Foodie
3
+ module RichieFoodie
4
4
  module Generators
5
5
  class Recipe < Thor::Group
6
6
  include Thor::Actions
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module RichieFoodie
4
+ VERSION = "0.3.0"
5
+ end
@@ -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 Foodie
6
+ module RichieFoodie
7
7
  class Error < StandardError; end
8
8
  # Your code goes here...
9
9
  end
data/sig/foodie.rbs CHANGED
@@ -1,4 +1,4 @@
1
- module Foodie
1
+ module RichieFoodie
2
2
  VERSION: String
3
3
  # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
4
  end
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.2.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:
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Foodie
4
- VERSION = "0.2.0"
5
- end