smailer 0.2.11 → 0.2.12

Sign up to get free protection for your applications and to get access to all the features.
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
 
@@ -1,3 +1,3 @@
1
1
  module Smailer
2
- VERSION = "0.2.11"
2
+ VERSION = "0.2.12"
3
3
  end
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: 1
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 11
10
- version: 0.2.11
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-13 00:00:00 +03:00
18
+ date: 2011-09-16 00:00:00 +03:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency