insulin 0.0.16 → 0.0.17
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/insulin/day.rb +2 -3
- data/lib/insulin/version.rb +1 -1
- metadata +1 -1
data/Gemfile.lock
CHANGED
data/lib/insulin/day.rb
CHANGED
@@ -69,12 +69,11 @@ module Insulin
|
|
69
69
|
s << "\n"
|
70
70
|
|
71
71
|
self["all"].each do |e|
|
72
|
-
if ["breakfast", "lunch", "dinner", "bedtime"].include? e["tag"]
|
73
|
-
|
72
|
+
if ["breakfast", "lunch", "dinner", "bedtime"].include? e["tag"] and
|
73
|
+
["medication", "glucose"].include? e["type"]
|
74
74
|
s << " "
|
75
75
|
s << e.simple
|
76
76
|
s << "\n"
|
77
|
-
end
|
78
77
|
end
|
79
78
|
end
|
80
79
|
|
data/lib/insulin/version.rb
CHANGED