meals 1.2.3 → 1.2.4

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: 249f285dc0c1ff720eac456fdc17d39feddcc99a9c9aca28f323952e96dbcfdc
4
- data.tar.gz: dced28dbf2e1fa5d717eaaa0c3016da936d4105126295161354ec1aa3b7f2ac5
3
+ metadata.gz: a42e790078b96056ea69663cf8d76b6f3ef5b46e99b4f41d38d0a88437174e99
4
+ data.tar.gz: '082a956e0d5d1182728e7b0e814778ec6037254c8b754cbc317d0ebb7595a629'
5
5
  SHA512:
6
- metadata.gz: 1d89f45364d320beec14c72570213480d2232357e38227cc4e73cc66d56620110d223163edf056516a7d75274017cbb5428d2fc538730afd5a0bd4c44d365033
7
- data.tar.gz: c287893fcacc4cd05c0f2ebdb7fc150895a558a02217554d8663e13591c1e31cc549f5fc92523be1652e2e1c847922bcf1e94d2a7af37ead4a32ccd3749e6af3
6
+ metadata.gz: b16c0ccdbb5ff4355e18c8afbc7d86f7bed40e52c0fc2fdc80a51da4d76f98af5fd9e8191305628b599c77e51da761b898b373be9f10df6501b7b9909cd8fe34
7
+ data.tar.gz: 57869081a71a38169c6545b486c68a1e24483596b80136b3d467417aa08cecc4d62e77e57a61e0967214d99a78ebaa77a8430541b4d471f8d85f1fe96deaf8f6
@@ -1,3 +1,7 @@
1
+ # 1.2.4
2
+
3
+ I think we messed up the file path for the recipes. Maybe this will fix it 🤷‍♂️.
4
+
1
5
  # 1.2.3
2
6
 
3
7
  Everything is new. We just liked the number
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # meals.rb
1
+ # meals.rb [![Gem Version](https://badge.fury.io/rb/meals.svg)](https://badge.fury.io/rb/meals) ![emoji? yes](https://img.shields.io/badge/emoji%3F-%F0%9F%91%8D-brightgreen) ![Tests](https://github.com/EmojiMeals/meals.rb/workflows/Tests/badge.svg?branch=master)
2
2
 
3
3
  Find what you can cook with your emojis
4
4
 
@@ -18,7 +18,7 @@ class Meals
18
18
  end
19
19
 
20
20
  def recipes
21
- JSON.parse(File.read('recipes.json'))
21
+ JSON.parse(File.read(File.join(__dir__, 'recipes.json')))
22
22
  end
23
23
  end
24
24
  end
File without changes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meals
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Leger
@@ -49,7 +49,7 @@ files:
49
49
  - LICENSE
50
50
  - README.md
51
51
  - lib/meals.rb
52
- - recipes.json
52
+ - lib/recipes.json
53
53
  homepage: https://github.com/EmojiMeals/meals.rb
54
54
  licenses:
55
55
  - MIT