mailhopper 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -21,21 +21,26 @@ Rails 3.1+
21
21
  ## Installation
22
22
 
23
23
  Add to your project's Gemfile:
24
+
24
25
  ```
25
26
  gem 'mailhopper'
26
27
  ```
27
28
 
28
29
  Install with bundler:
30
+
29
31
  ```
30
32
  bundle install
31
33
  ```
32
34
 
33
35
  Generate default initializer and migration files:
36
+
34
37
  ```
35
38
  rails generate mailhopper
36
39
  ```
37
40
 
38
- Migrate your database:
41
+ *Before migrating your database, please take a moment to review the `CreateEmails` migration that has been generated.* In particular, please review the limit to the `content` field, which has been set to a safe but very large size (100MB characters). You may wish to change this based upon your needs and particular database.
42
+
43
+ When you're ready, migrate your database:
39
44
 
40
45
  ```
41
46
  rake db:migrate
@@ -16,7 +16,12 @@ class CreateEmails < ActiveRecord::Migration
16
16
  :cc_address,
17
17
  :bcc_address
18
18
 
19
- t.text :content
19
+ # The content field must be large enough to include the full content of emails, including any attachments. If you
20
+ # do not plan to send any attachments or long emails, you could leave off this limit. In MySQL, this will result
21
+ # in a TEXT column with a limit of 64KB characters. Otherwise, 100MB characters seems a safe limit for almost any
22
+ # email. In MySQL, this will result in the creation of a LONGTEXT column with an actual limit of 4GB characters.
23
+
24
+ t.text :content, :limit => 100.megabytes
20
25
 
21
26
  t.datetime :sent_at
22
27
  t.timestamps
@@ -1,3 +1,3 @@
1
1
  module Mailhopper
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailhopper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-11 00:00:00.000000000 Z
12
+ date: 2012-02-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &70261996136400 !ruby/object:Gem::Requirement
16
+ requirement: &70342664052840 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.1.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70261996136400
24
+ version_requirements: *70342664052840
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: sqlite3
27
- requirement: &70261996134720 !ruby/object:Gem::Requirement
27
+ requirement: &70342664052000 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.3.4
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70261996134720
35
+ version_requirements: *70342664052000
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rspec-rails
38
- requirement: &70261996133420 !ruby/object:Gem::Requirement
38
+ requirement: &70342664050860 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70261996133420
46
+ version_requirements: *70342664050860
47
47
  description: Mailhopper stores your application's emails in an ActiveRecord queue
48
48
  for asynchronous delivery. Use Mailhopper in combination with a delivery agent such
49
49
  as DelayedMailhopper.