insulin 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -9,12 +9,11 @@ GIT
9
9
  PATH
10
10
  remote: .
11
11
  specs:
12
- insulin (0.1.2)
12
+ insulin (0.1.3)
13
13
  bson_ext
14
14
  ffi
15
15
  mongo
16
16
  pony
17
- prawn
18
17
  thor
19
18
 
20
19
  GEM
data/README.md CHANGED
@@ -55,7 +55,7 @@ A weekly PDF summary can be generated and mailed out
55
55
 
56
56
  insulin pdf you@yourdmomain.com
57
57
 
58
- The PDF class is currently a bit hacky, I'm still learning the excellent (prawn gem)[https://github.com/prawnpdf/prawn]
58
+ The PDF class is currently a bit hacky, I'm still learning the excellent [prawn gem](https://github.com/prawnpdf/prawn). Requires a local SMTP server, too
59
59
 
60
60
  You can also run the tests, if you're into that sort of thing:
61
61
 
@@ -70,7 +70,6 @@ Next steps
70
70
  ==========
71
71
 
72
72
  * Generate custom CSVs for spreadsheeting
73
- * Generate PDFs for daily mail reports
74
73
  * Do some analysis
75
74
  * Generate some more detailed output (latest HbA1c, BP, etc)
76
75
  * Give it a [meteor](http://meteor.com/) front-end (might require some help from [Chris](https://github.com/mrchrisadams)). Graphs, yo
data/bin/insulin CHANGED
@@ -55,7 +55,7 @@ module Insulin
55
55
  "generate a PDF for the last week and mail to RECIPIENT"
56
56
  def pdf recipient = nil
57
57
  date = (Time.new - (7 * 86400)).strftime "%F"
58
- outfile = "/vagrant_data/insulin.pdf"
58
+ outfile = "/tmp/insulin.pdf"
59
59
  p = Insulin::Pdf.new Insulin::Week.new(date, @@mongo), outfile
60
60
  p.render
61
61
 
data/insulin.gemspec CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |gem|
21
21
  gem.add_dependency "mongo"
22
22
  gem.add_dependency "bson_ext"
23
23
  gem.add_dependency "ffi"
24
- gem.add_dependency "prawn"
24
+ # gem.add_dependency "prawn"
25
25
  gem.add_dependency "pony"
26
26
 
27
27
  gem.add_development_dependency "rspec", "~> 2.6"
@@ -1,5 +1,5 @@
1
1
  module Insulin
2
2
 
3
3
  # Current version
4
- VERSION = "0.1.3"
4
+ VERSION = "0.1.4"
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.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -75,22 +75,6 @@ dependencies:
75
75
  - - ! '>='
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
- - !ruby/object:Gem::Dependency
79
- name: prawn
80
- requirement: !ruby/object:Gem::Requirement
81
- none: false
82
- requirements:
83
- - - ! '>='
84
- - !ruby/object:Gem::Version
85
- version: '0'
86
- type: :runtime
87
- prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ! '>='
92
- - !ruby/object:Gem::Version
93
- version: '0'
94
78
  - !ruby/object:Gem::Dependency
95
79
  name: pony
96
80
  requirement: !ruby/object:Gem::Requirement