foodie-oscarpay4-test 0.2.0 → 0.2.1

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: 2c499d965c3536e35bbe9290ea5c2d64f364d1e51c0b0f64d6b303efd9cc2600
4
- data.tar.gz: abec6b1357cc97babb70e56b24b7bcaf5d2187f1d8d82b2308b1c63a4d8a695a
3
+ metadata.gz: f4482dc0ca9c28bed81a1060f3b1fdb02ffe39cca2c7bb1b728d044631e81d04
4
+ data.tar.gz: 3750d87ec86cf31bc4756a44668efd211bc0e93f6d44cf2161e32d68037ccf45
5
5
  SHA512:
6
- metadata.gz: 799a9d6766d39339a9999f72739391ef4e4f8a2d5623cf1a5378c63cfb7a269eb2dfc83c2cb82bee80d3d02b87903fb49c74fcc99b6ab68ba5bfeff4bcc38310
7
- data.tar.gz: 7c8c2a5631fadf28b9c3a4577cd427c616f735546366ec3573becf429a0585400fb9d57d4bb716b6414718e9528df2a23d80bebbb79c3fcb58cb3163ee84af5f
6
+ metadata.gz: e82a12da4bb9e551da020c1a3ef091152434ae11548b388ef1181170469ee10c678eaaa1f4a0b0e4a7469f7020488aba20f1d53e9a9a78ffc7a419c3696670d7
7
+ data.tar.gz: cf9eae81977333b5d5abb2749a5e752f20bf50effd704dfc509ad06dfa18b31f5af1db65b3816e429ed5d4bb45b6fcb8d2dd9412d81d9f61b0bcfb5f72053568
data/.rubocop.yml CHANGED
@@ -14,3 +14,6 @@ Layout/LineLength:
14
14
 
15
15
  Style/Documentation:
16
16
  Enabled: false
17
+
18
+ Metrics/BlockLength:
19
+ Max: 50
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- foodie-oscarpay4-test (0.1.1)
4
+ foodie-oscarpay4-test (0.2.0)
5
5
  activesupport
6
6
  thor
7
7
 
data/README.md CHANGED
@@ -1,38 +1,6 @@
1
1
  # Foodie
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/foodie`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
6
-
7
- ## Installation
8
-
9
- Add this line to your application's Gemfile:
10
-
11
- ```ruby
12
- gem 'foodie'
13
- ```
14
-
15
- And then execute:
16
-
17
- $ bundle install
18
-
19
- Or install it yourself as:
20
-
21
- $ gem install foodie
22
-
23
- ## Usage
24
-
25
- TODO: Write usage instructions here
26
-
27
- ## Development
28
-
29
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
-
31
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
-
33
- ## Contributing
34
-
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/foodie. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/foodie/blob/main/CODE_OF_CONDUCT.md).
3
+ A sample gem genereted following this guide: https://bundler.io/v2.3/guides/creating_gem.html
36
4
 
37
5
  ## License
38
6
 
data/lib/foodie/food.rb CHANGED
@@ -18,5 +18,11 @@ module Foodie
18
18
  def self.pluralize(word)
19
19
  word.pluralize
20
20
  end
21
+
22
+ def self.something_cool
23
+ raise StandardError, "Important ID undefined." if important_id.blank?
24
+
25
+ "Something Cool!"
26
+ end
21
27
  end
22
28
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Foodie
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foodie-oscarpay4-test
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oscar Pérez