diet 0.0.2 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/diet.gemspec +1 -1
- data/lib/diet.rb +1 -5
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.4
|
data/diet.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{diet}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Andy Rossmeissl", "Seamus Abshere", "Ian Hough", "Matt Kling"]
|
data/lib/diet.rb
CHANGED
@@ -23,15 +23,11 @@ module BrighterPlanet
|
|
23
23
|
quorum 'from diet class', :needs => :diet_class do |characteristics|
|
24
24
|
characteristics[:diet_class].intensity
|
25
25
|
end
|
26
|
-
|
27
|
-
quorum 'default' do
|
28
|
-
fallback.intensity
|
29
|
-
end
|
30
26
|
end
|
31
27
|
|
32
28
|
committee :size do # returns kcal food
|
33
29
|
quorum 'default' do
|
34
|
-
fallback.size
|
30
|
+
::Diet.fallback.size
|
35
31
|
end
|
36
32
|
end
|
37
33
|
|