smailer 0.2.11 → 0.2.12
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/README.md +1 -1
- data/lib/smailer/models/finished_mail.rb +1 -1
- data/lib/smailer/models/queued_mail.rb +1 -1
- data/lib/smailer/version.rb +1 -1
- metadata +4 -4
data/README.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
This project is a simple mailer for newsletters, which implements simple queue processing, basic campaign management and has some unsubscribe support.
|
6
6
|
|
7
|
-
It is intended to be used within a Rails project. It has been tested with Rails 3.1.0 and Rails 2.3.5.
|
7
|
+
It is intended to be used within a Rails project. It has been tested with Rails 3.0.x, Rails 3.1.0 and Rails 2.3.5.
|
8
8
|
|
9
9
|
## Install
|
10
10
|
|
@@ -10,7 +10,7 @@ module Smailer
|
|
10
10
|
|
11
11
|
validates_presence_of :mail_campaign_id, :from, :to, :retries, :status
|
12
12
|
validates_numericality_of :mail_campaign_id, :retries, :status, :only_integer => true, :allow_nil => true
|
13
|
-
validates_length_of :from, :to, :subject, :last_error, :maximum => 255
|
13
|
+
validates_length_of :from, :to, :subject, :last_error, :maximum => 255, :allow_nil => true
|
14
14
|
validates_uniqueness_of :key, :allow_nil => true
|
15
15
|
|
16
16
|
delegate :mailing_list, :to => :mail_campaign, :allow_nil => true
|
@@ -9,7 +9,7 @@ module Smailer
|
|
9
9
|
validates_uniqueness_of :to, :scope => :mail_campaign_id
|
10
10
|
validates_uniqueness_of :key
|
11
11
|
validates_numericality_of :mail_campaign_id, :retries, :only_integer => true, :allow_nil => true
|
12
|
-
validates_length_of :to, :last_error, :maximum => 255
|
12
|
+
validates_length_of :to, :last_error, :maximum => 255, :allow_nil => true
|
13
13
|
|
14
14
|
attr_accessible :mail_campaign_id, :to
|
15
15
|
|
data/lib/smailer/version.rb
CHANGED
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:
|
4
|
+
hash: 15
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 12
|
10
|
+
version: 0.2.12
|
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-
|
18
|
+
date: 2011-09-16 00:00:00 +03:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|