insulin 0.0.16 → 0.0.17

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.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- insulin (0.0.15)
4
+ insulin (0.0.16)
5
5
  bson_ext
6
6
  ffi
7
7
  mongo
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
- if ["medication", "glucose"].include? e["type"]
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
 
@@ -1,5 +1,5 @@
1
1
  module Insulin
2
2
 
3
3
  # Current version
4
- VERSION = "0.0.16"
4
+ VERSION = "0.0.17"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: insulin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.17
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: