zutat 0.0.3 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/zutat/ingredient.rb +7 -6
- data/lib/zutat/version.rb +1 -1
- data/zutat.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53907daa96da09ce3faea252ad156358afac3080
|
4
|
+
data.tar.gz: 6b6e5579537d3a1bd2aa2bfbf347a512a8e98fcf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 357d2a2228f5bce44c4f8fd99ff030e1f5c3101dbf195a8ab09ee0ea56002035937a936cc01476431cad2fba7812c15fe28d2fc1a5a68436a1e07a71da1c9529
|
7
|
+
data.tar.gz: 60c57becd9fdd231ad5b0398ebd4d0accf59b4dfb2c473b0be7ab91a4ad76e1d2683aa1c7731ccb454922648b78c44b52106ce67a58a97e50b7c1c323aaabc87
|
data/lib/zutat/ingredient.rb
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
module Zutat
|
2
2
|
class Ingredient
|
3
3
|
attr_accessor :_id, :amount, :biotin, :calcium, :calories, :carbs, :chloride, :cholesterol,
|
4
|
-
:choline, :chromium, :container_size, :copper, :fat, :fiber, :folate, :form, :
|
5
|
-
:iodine, :iron, :item_cost, :maganese, :magnesium, :molybdenum,
|
6
|
-
:
|
7
|
-
:
|
8
|
-
:
|
9
|
-
:
|
4
|
+
:choline, :chromium, :container_size, :copper, :fat, :fiber, :folate, :form, :ingredientId
|
5
|
+
:insoluble_fiber, :iodine, :iron, :item_cost, :maganese, :magnesium, :molybdenum,
|
6
|
+
:monounsaturated_fat, :name, :niacin, :omega_3, :omega_6, :panthothenic, :persistedAsin,
|
7
|
+
:phosphorus, :polyunsaturated_fat, :potassium, :protein, :riboflavin, :saturated_fat,
|
8
|
+
:selinium, :serving, :sodium, :soluble_fiber, :source, :sulfur, :thiamin, :unit, :url,
|
9
|
+
:vitamin_a, :vitamin_b12, :vitamin_b6, :vitamin_c, :vitamin_d, :vitamin_e, :vitamin_k,
|
10
|
+
:zinc, :currency, :asin, :volumeStr, :id
|
10
11
|
|
11
12
|
def initialize(igrdnts)
|
12
13
|
igrdnts.each do |k,v|
|
data/lib/zutat/version.rb
CHANGED
data/zutat.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'zutat'
|
4
|
-
s.version = '0.
|
4
|
+
s.version = '0.1.1'
|
5
5
|
s.date = '2014-10-04'
|
6
6
|
s.summary = "Get Soylent recipes from diy.soylent.me."
|
7
7
|
s.description = "Fetch Soylent recipes from diy.soylent.me and get easy-to-use Ruby objects."
|