insulin 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
data/bin/insulin CHANGED
@@ -59,17 +59,17 @@ module Insulin
59
59
  p = Insulin::Pdf.new Insulin::Week.new(date, @@mongo), outfile
60
60
  p.render
61
61
 
62
- # require 'pony'
63
- # Pony.mail(
64
- # :to => recipient,
65
- # :from => "insulin@cruft.co",
66
- # :subject => "insulin report",
67
- # :body => "Attached",
68
- # :attachments => {
69
- # "insulin.pdf" => File.read(outfile)
70
- # },
71
- # :charset => 'utf-8'
72
- # )
62
+ require 'pony'
63
+ Pony.mail(
64
+ :to => recipient,
65
+ :from => "insulin@cruft.co",
66
+ :subject => "insulin report",
67
+ :body => "Attached",
68
+ :attachments => {
69
+ "insulin.pdf" => File.read(outfile)
70
+ },
71
+ :charset => 'utf-8'
72
+ )
73
73
  end
74
74
  end
75
75
  end
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" #, "= 1.0.0.rc1"
24
+ gem.add_dependency "prawn", "= 1.0.0.rc1"
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.8"
4
+ VERSION = "0.1.9"
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.8
4
+ version: 0.1.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -80,17 +80,17 @@ dependencies:
80
80
  requirement: !ruby/object:Gem::Requirement
81
81
  none: false
82
82
  requirements:
83
- - - ! '>='
83
+ - - '='
84
84
  - !ruby/object:Gem::Version
85
- version: '0'
85
+ version: 1.0.0.rc1
86
86
  type: :runtime
87
87
  prerelease: false
88
88
  version_requirements: !ruby/object:Gem::Requirement
89
89
  none: false
90
90
  requirements:
91
- - - ! '>='
91
+ - - '='
92
92
  - !ruby/object:Gem::Version
93
- version: '0'
93
+ version: 1.0.0.rc1
94
94
  - !ruby/object:Gem::Dependency
95
95
  name: pony
96
96
  requirement: !ruby/object:Gem::Requirement