smailer 0.3.0 → 0.3.1

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/.gitignore CHANGED
@@ -3,3 +3,4 @@ pkg/*
3
3
  .bundle
4
4
  *.tmproj
5
5
  .DS_Store
6
+ *.sublime-*
@@ -15,7 +15,7 @@ module Smailer
15
15
  validates_numericality_of :mailing_list_id, :unsubscribe_methods, :only_integer => true, :allow_nil => true
16
16
  validates_length_of :from, :subject, :maximum => 255, :allow_nil => true
17
17
 
18
- attr_accessible :mailing_list_id, :from, :subject, :body_html, :body_text
18
+ attr_accessible :mailing_list_id, :from, :subject, :body_html, :body_text
19
19
 
20
20
  def add_unsubscribe_method(method)
21
21
  self.unsubscribe_methods = (self.unsubscribe_methods || 0) | method
@@ -1,3 +1,3 @@
1
1
  module Smailer
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
data/smailer.gemspec CHANGED
@@ -16,6 +16,8 @@ Gem::Specification.new do |s|
16
16
 
17
17
  s.add_development_dependency "bundler", ">= 1.0.0"
18
18
 
19
+ s.add_dependency "mail", "~> 2.2.0"
20
+
19
21
  s.files = `git ls-files`.split("\n")
20
22
  s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact
21
23
  s.require_path = 'lib'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smailer
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 0
10
- version: 0.3.0
9
+ - 1
10
+ version: 0.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dimitar Dimitrov
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-09-21 00:00:00 +03:00
18
+ date: 2011-09-27 00:00:00 +03:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -34,6 +34,22 @@ dependencies:
34
34
  version: 1.0.0
35
35
  type: :development
36
36
  version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ name: mail
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ hash: 7
46
+ segments:
47
+ - 2
48
+ - 2
49
+ - 0
50
+ version: 2.2.0
51
+ type: :runtime
52
+ version_requirements: *id002
37
53
  description: A simple mailer for newsletters with basic campaign management, queue and unsubscribe support. To be used within Rails.
38
54
  email:
39
55
  - wireman@gmail.com