sinatra_mailer 0.0.1.1 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -36,12 +36,12 @@ module Sinatra
36
36
  module Mailer
37
37
  class << self
38
38
  attr_accessor :config, :delivery_method
39
-
40
- def email(mail_options={})
41
- Email.new(mail_options).deliver!
42
- end
43
39
  end
44
40
 
41
+ def email(mail_options={})
42
+ Email.new(mail_options).deliver!
43
+ end
44
+
45
45
  class Email
46
46
  attr_accessor :mail, :config
47
47
 
@@ -94,9 +94,6 @@ module Sinatra
94
94
  o[:rawhtml] = o.delete(:html)
95
95
  m = MailFactory.new()
96
96
  o.each { |k,v| m.send "#{k}=", v }
97
- puts "++++"
98
- puts "m: #{m.inspect}"
99
- puts "++++"
100
97
  @mail = m
101
98
  end
102
99
 
@@ -1,3 +1,3 @@
1
1
  module SinatraMailer
2
- VERSION = "0.0.1.1"
2
+ VERSION = "0.0.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra_mailer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.1
4
+ version: 0.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: