insulin 0.0.17 → 0.0.18

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,7 +11,7 @@ module Insulin
11
11
 
12
12
  desc "ingest FILE", "ingest OnTrack CSV export FILE"
13
13
  def ingest file
14
- csv = Insulin::OnTrackCsvFile.new file
14
+ csv = Insulin::OnTrack::CsvFile.new file
15
15
  csv.save_events @@mongo
16
16
  end
17
17
 
@@ -68,6 +68,7 @@ module Insulin
68
68
  s << @date
69
69
  s << "\n"
70
70
 
71
+ # This needs a test!
71
72
  self["all"].each do |e|
72
73
  if ["breakfast", "lunch", "dinner", "bedtime"].include? e["tag"] and
73
74
  ["medication", "glucose"].include? e["type"]
@@ -1,5 +1,5 @@
1
1
  module Insulin
2
2
 
3
3
  # Current version
4
- VERSION = "0.0.17"
4
+ VERSION = "0.0.18"
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.17
4
+ version: 0.0.18
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: