mailhopper 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/app/models/mailhopper/email.rb +8 -4
- data/lib/mailhopper/version.rb +1 -1
- data/spec/dummy/config/environments/development.rb +5 -3
- data/spec/dummy/config/environments/production.rb +5 -24
- data/spec/dummy/config/environments/test.rb +5 -3
- data/spec/dummy/log/test.log +500 -0
- data/spec/models/email_spec.rb +31 -2
- metadata +28 -21
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: a3d3f1e7666a0ef1ef6edb78e1df05cbf9178627
|
4
|
+
data.tar.gz: cd3dc3b2e0ab547e813dd8b489dddab1a22a7ec6
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: e45bb246727d8ea11cf39456fc483b90d714479d16f77fc7d0e9b0afafe83e5cf2344a5702f82a77ed1306d3a200befaa7818affcf0c6c60e8c686771fd2c489
|
7
|
+
data.tar.gz: 3d414c4c0e343b3db5a9650b0994cadb7dedd46dd28b59318875268bccf2efcb7b895b35f6a1488145c2aeb5cb807136554cf46267e6efe0d86c173a6b7d1ce0
|
@@ -1,9 +1,13 @@
|
|
1
1
|
module Mailhopper
|
2
2
|
class Email < ActiveRecord::Base
|
3
|
-
attr_accessible
|
4
|
-
|
5
|
-
|
6
|
-
|
3
|
+
# Starting from Rails 4 <tt>attr_accessible</tt> is deprecated in favour of Strong parameters
|
4
|
+
if Rails::VERSION::MAJOR < 4
|
5
|
+
attr_accessible :to_address, :from_address, :cc_address, :bcc_address,
|
6
|
+
:reply_to_address, :subject, :content
|
7
|
+
end
|
8
|
+
|
9
|
+
default_scope lambda { order('created_at DESC') }
|
10
|
+
scope :unsent, lambda { where(:sent_at => nil) }
|
7
11
|
|
8
12
|
validates :from_address, :presence => true
|
9
13
|
|
data/lib/mailhopper/version.rb
CHANGED
@@ -6,9 +6,6 @@ Dummy::Application.configure do
|
|
6
6
|
# since you don't have to restart the web server when you make code changes.
|
7
7
|
config.cache_classes = false
|
8
8
|
|
9
|
-
# Log error messages when you accidentally call methods on nil.
|
10
|
-
config.whiny_nils = true
|
11
|
-
|
12
9
|
# Show full error reports and disable caching
|
13
10
|
config.consider_all_requests_local = true
|
14
11
|
config.action_controller.perform_caching = false
|
@@ -24,4 +21,9 @@ Dummy::Application.configure do
|
|
24
21
|
|
25
22
|
# Do not compress assets
|
26
23
|
config.assets.compress = false
|
24
|
+
|
25
|
+
# Do not eager load code on boot. This avoids loading your whole application
|
26
|
+
# just for the purpose of running a single test. If you are using a tool that
|
27
|
+
# preloads Rails for running tests, you may have to set it to true.
|
28
|
+
config.eager_load = false
|
27
29
|
end
|
@@ -18,34 +18,15 @@ Dummy::Application.configure do
|
|
18
18
|
# (comment out if your front-end server doesn't support this)
|
19
19
|
config.action_dispatch.x_sendfile_header = "X-Sendfile" # Use 'X-Accel-Redirect' for nginx
|
20
20
|
|
21
|
-
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
22
|
-
# config.force_ssl = true
|
23
|
-
|
24
|
-
# See everything in the log (default is :info)
|
25
|
-
# config.log_level = :debug
|
26
|
-
|
27
|
-
# Use a different logger for distributed setups
|
28
|
-
# config.logger = SyslogLogger.new
|
29
|
-
|
30
|
-
# Use a different cache store in production
|
31
|
-
# config.cache_store = :mem_cache_store
|
32
|
-
|
33
|
-
# Enable serving of images, stylesheets, and JavaScripts from an asset server
|
34
|
-
# config.action_controller.asset_host = "http://assets.example.com"
|
35
|
-
|
36
|
-
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
|
37
|
-
# config.assets.precompile += %w( search.js )
|
38
|
-
|
39
|
-
# Disable delivery errors, bad email addresses will be ignored
|
40
|
-
# config.action_mailer.raise_delivery_errors = false
|
41
|
-
|
42
|
-
# Enable threaded mode
|
43
|
-
# config.threadsafe!
|
44
|
-
|
45
21
|
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
46
22
|
# the I18n.default_locale when a translation can not be found)
|
47
23
|
config.i18n.fallbacks = true
|
48
24
|
|
49
25
|
# Send deprecation notices to registered listeners
|
50
26
|
config.active_support.deprecation = :notify
|
27
|
+
|
28
|
+
# Do not eager load code on boot. This avoids loading your whole application
|
29
|
+
# just for the purpose of running a single test. If you are using a tool that
|
30
|
+
# preloads Rails for running tests, you may have to set it to true.
|
31
|
+
config.eager_load = true
|
51
32
|
end
|
@@ -11,9 +11,6 @@ Dummy::Application.configure do
|
|
11
11
|
config.serve_static_assets = true
|
12
12
|
config.static_cache_control = "public, max-age=3600"
|
13
13
|
|
14
|
-
# Log error messages when you accidentally call methods on nil
|
15
|
-
config.whiny_nils = true
|
16
|
-
|
17
14
|
# Show full error reports and disable caching
|
18
15
|
config.consider_all_requests_local = true
|
19
16
|
config.action_controller.perform_caching = false
|
@@ -36,4 +33,9 @@ Dummy::Application.configure do
|
|
36
33
|
|
37
34
|
# Print deprecation notices to the stderr
|
38
35
|
config.active_support.deprecation = :stderr
|
36
|
+
|
37
|
+
# Do not eager load code on boot. This avoids loading your whole application
|
38
|
+
# just for the purpose of running a single test. If you are using a tool that
|
39
|
+
# preloads Rails for running tests, you may have to set it to true.
|
40
|
+
config.eager_load = false
|
39
41
|
end
|
data/spec/dummy/log/test.log
CHANGED
@@ -821,3 +821,503 @@ Papaya
|
|
821
821
|
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "emails"
|
822
822
|
[1m[36mMailhopper::Email Load (0.1ms)[0m [1mSELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1[0m
|
823
823
|
[1m[35m (13.6ms)[0m rollback transaction
|
824
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
825
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
826
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
827
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM "emails"
|
828
|
+
Rendered sample_mailer/hello.text.erb (2.2ms)
|
829
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
830
|
+
[1m[35mSQL (44.0ms)[0m INSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bcc_address", "bcc@example.com"], ["cc_address", "cc@example.com"], ["content", "Date: Tue, 08 May 2012 07:25:45 -0400\r\nFrom: from@example.com\r\nReply-To: reply_to@example.com\r\nTo: to@example.com\r\nCc: cc@example.com\r\nMessage-ID: <4fa902b92f06f_133633fd091034cdc6445f@dgmpro.local.mail>\r\nSubject: Hiya!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\nPapaya"], ["created_at", Tue, 08 May 2012 11:25:45 UTC +00:00], ["from_address", "from@example.com"], ["reply_to_address", "reply_to@example.com"], ["sent_at", nil], ["subject", "Hiya!"], ["to_address", "to@example.com"], ["updated_at", Tue, 08 May 2012 11:25:45 UTC +00:00]]
|
831
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
832
|
+
|
833
|
+
Sent mail to to@example.com (93ms)
|
834
|
+
Date: Tue, 08 May 2012 07:25:45 -0400
|
835
|
+
From: from@example.com
|
836
|
+
Reply-To: reply_to@example.com
|
837
|
+
To: to@example.com
|
838
|
+
Cc: cc@example.com
|
839
|
+
Message-ID: <4fa902b92f06f_133633fd091034cdc6445f@dgmpro.local.mail>
|
840
|
+
Subject: Hiya!
|
841
|
+
Mime-Version: 1.0
|
842
|
+
Content-Type: text/plain;
|
843
|
+
charset=UTF-8
|
844
|
+
Content-Transfer-Encoding: 7bit
|
845
|
+
|
846
|
+
Papaya
|
847
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "emails"
|
848
|
+
[1m[36mMailhopper::Email Load (0.2ms)[0m [1mSELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1[0m
|
849
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
850
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
851
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "emails"
|
852
|
+
Rendered sample_mailer/hello.text.erb (0.1ms)
|
853
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
854
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bcc_address", "bcc1@example.com,bcc2@example.com"], ["cc_address", "cc1@example.com,cc2@example.com"], ["content", "Date: Tue, 08 May 2012 07:25:45 -0400\r\nFrom: from1@example.com\r\nReply-To: reply_to@example.com\r\nTo: to1@example.com, \r\n to2@example.com\r\nCc: cc1@example.com, \r\n cc2@example.com\r\nMessage-ID: <4fa902b940e98_133633fd091034cdc645a7@dgmpro.local.mail>\r\nSubject: Hiya!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\nPapaya"], ["created_at", Tue, 08 May 2012 11:25:45 UTC +00:00], ["from_address", "from1@example.com"], ["reply_to_address", "reply_to@example.com"], ["sent_at", nil], ["subject", "Hiya!"], ["to_address", "to1@example.com,to2@example.com"], ["updated_at", Tue, 08 May 2012 11:25:45 UTC +00:00]]
|
855
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
856
|
+
|
857
|
+
Sent mail to to1@example.com, to2@example.com (12ms)
|
858
|
+
Date: Tue, 08 May 2012 07:25:45 -0400
|
859
|
+
From: from1@example.com
|
860
|
+
Reply-To: reply_to@example.com
|
861
|
+
To: to1@example.com,
|
862
|
+
to2@example.com
|
863
|
+
Cc: cc1@example.com,
|
864
|
+
cc2@example.com
|
865
|
+
Message-ID: <4fa902b940e98_133633fd091034cdc645a7@dgmpro.local.mail>
|
866
|
+
Subject: Hiya!
|
867
|
+
Mime-Version: 1.0
|
868
|
+
Content-Type: text/plain;
|
869
|
+
charset=UTF-8
|
870
|
+
Content-Transfer-Encoding: 7bit
|
871
|
+
|
872
|
+
Papaya
|
873
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "emails"
|
874
|
+
[1m[36mMailhopper::Email Load (0.2ms)[0m [1mSELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1[0m
|
875
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
876
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
877
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "emails"
|
878
|
+
Rendered sample_mailer/hello.text.erb (0.1ms)
|
879
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
880
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bcc_address", nil], ["cc_address", nil], ["content", "Date: Tue, 08 May 2012 07:25:45 -0400\r\nFrom: from@example.com\r\nTo: to@example.com\r\nMessage-ID: <4fa902b945aa6_133633fd091034cdc64677@dgmpro.local.mail>\r\nSubject: Hiya!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\nPapaya"], ["created_at", Tue, 08 May 2012 11:25:45 UTC +00:00], ["from_address", "from@example.com"], ["reply_to_address", nil], ["sent_at", nil], ["subject", "Hiya!"], ["to_address", "to@example.com"], ["updated_at", Tue, 08 May 2012 11:25:45 UTC +00:00]]
|
881
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
882
|
+
|
883
|
+
Sent mail to to@example.com (8ms)
|
884
|
+
Date: Tue, 08 May 2012 07:25:45 -0400
|
885
|
+
From: from@example.com
|
886
|
+
To: to@example.com
|
887
|
+
Message-ID: <4fa902b945aa6_133633fd091034cdc64677@dgmpro.local.mail>
|
888
|
+
Subject: Hiya!
|
889
|
+
Mime-Version: 1.0
|
890
|
+
Content-Type: text/plain;
|
891
|
+
charset=UTF-8
|
892
|
+
Content-Transfer-Encoding: 7bit
|
893
|
+
|
894
|
+
Papaya
|
895
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "emails"
|
896
|
+
[1m[36mMailhopper::Email Load (0.2ms)[0m [1mSELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1[0m
|
897
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
898
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
899
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "emails"
|
900
|
+
Rendered sample_mailer/hello.text.erb (0.1ms)
|
901
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
902
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bcc_address", nil], ["cc_address", nil], ["content", "Date: Tue, 08 May 2012 07:25:45 -0400\r\nfrom: from.@example.com\r\nto: to@to@example.com\r\nMessage-ID: <4fa902b949bbd_133633fd091034cdc647cd@dgmpro.local.mail>\r\nSubject: Hiya!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\nPapaya"], ["created_at", Tue, 08 May 2012 11:25:45 UTC +00:00], ["from_address", "from.@example.com"], ["reply_to_address", nil], ["sent_at", nil], ["subject", "Hiya!"], ["to_address", "to@to@example.com"], ["updated_at", Tue, 08 May 2012 11:25:45 UTC +00:00]]
|
903
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
904
|
+
|
905
|
+
Sent mail to to@to@example.com (6ms)
|
906
|
+
Date: Tue, 08 May 2012 07:25:45 -0400
|
907
|
+
from: from.@example.com
|
908
|
+
to: to@to@example.com
|
909
|
+
Message-ID: <4fa902b949bbd_133633fd091034cdc647cd@dgmpro.local.mail>
|
910
|
+
Subject: Hiya!
|
911
|
+
Mime-Version: 1.0
|
912
|
+
Content-Type: text/plain;
|
913
|
+
charset=UTF-8
|
914
|
+
Content-Transfer-Encoding: 7bit
|
915
|
+
|
916
|
+
Papaya
|
917
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "emails"
|
918
|
+
[1m[36mMailhopper::Email Load (0.2ms)[0m [1mSELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1[0m
|
919
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
920
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
921
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
922
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
923
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "emails"
|
924
|
+
Rendered sample_mailer/hello.text.erb (0.7ms)
|
925
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
926
|
+
[1m[35mSQL (2.5ms)[0m INSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bcc_address", "bcc@example.com"], ["cc_address", "cc@example.com"], ["content", "Date: Sun, 22 Dec 2013 07:00:50 -0500\r\nFrom: from@example.com\r\nReply-To: reply_to@example.com\r\nTo: to@example.com\r\nCc: cc@example.com\r\nMessage-ID: <52b6d47258783_2b263fbfc60606d86552f@dgeb1.mail>\r\nSubject: Hiya!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\nPapaya"], ["created_at", Sun, 22 Dec 2013 12:00:50 UTC +00:00], ["from_address", "from@example.com"], ["reply_to_address", "reply_to@example.com"], ["sent_at", nil], ["subject", "Hiya!"], ["to_address", "to@example.com"], ["updated_at", Sun, 22 Dec 2013 12:00:50 UTC +00:00]]
|
927
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
928
|
+
|
929
|
+
Sent mail to to@example.com (15ms)
|
930
|
+
Date: Sun, 22 Dec 2013 07:00:50 -0500
|
931
|
+
From: from@example.com
|
932
|
+
Reply-To: reply_to@example.com
|
933
|
+
To: to@example.com
|
934
|
+
Cc: cc@example.com
|
935
|
+
Message-ID: <52b6d47258783_2b263fbfc60606d86552f@dgeb1.mail>
|
936
|
+
Subject: Hiya!
|
937
|
+
Mime-Version: 1.0
|
938
|
+
Content-Type: text/plain;
|
939
|
+
charset=UTF-8
|
940
|
+
Content-Transfer-Encoding: 7bit
|
941
|
+
|
942
|
+
Papaya
|
943
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "emails"
|
944
|
+
[1m[36mMailhopper::Email Load (0.1ms)[0m [1mSELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1[0m
|
945
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
946
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
947
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "emails"
|
948
|
+
Rendered sample_mailer/hello.text.erb (0.1ms)
|
949
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
950
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bcc_address", "bcc1@example.com,bcc2@example.com"], ["cc_address", "cc1@example.com,cc2@example.com"], ["content", "Date: Sun, 22 Dec 2013 07:00:50 -0500\r\nFrom: from1@example.com\r\nReply-To: reply_to@example.com\r\nTo: to1@example.com, \r\n to2@example.com\r\nCc: cc1@example.com, \r\n cc2@example.com\r\nMessage-ID: <52b6d4725e3d7_2b263fbfc60606d86562a@dgeb1.mail>\r\nSubject: Hiya!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\nPapaya"], ["created_at", Sun, 22 Dec 2013 12:00:50 UTC +00:00], ["from_address", "from1@example.com"], ["reply_to_address", "reply_to@example.com"], ["sent_at", nil], ["subject", "Hiya!"], ["to_address", "to1@example.com,to2@example.com"], ["updated_at", Sun, 22 Dec 2013 12:00:50 UTC +00:00]]
|
951
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
952
|
+
|
953
|
+
Sent mail to to1@example.com, to2@example.com (8ms)
|
954
|
+
Date: Sun, 22 Dec 2013 07:00:50 -0500
|
955
|
+
From: from1@example.com
|
956
|
+
Reply-To: reply_to@example.com
|
957
|
+
To: to1@example.com,
|
958
|
+
to2@example.com
|
959
|
+
Cc: cc1@example.com,
|
960
|
+
cc2@example.com
|
961
|
+
Message-ID: <52b6d4725e3d7_2b263fbfc60606d86562a@dgeb1.mail>
|
962
|
+
Subject: Hiya!
|
963
|
+
Mime-Version: 1.0
|
964
|
+
Content-Type: text/plain;
|
965
|
+
charset=UTF-8
|
966
|
+
Content-Transfer-Encoding: 7bit
|
967
|
+
|
968
|
+
Papaya
|
969
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "emails"
|
970
|
+
[1m[36mMailhopper::Email Load (0.1ms)[0m [1mSELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1[0m
|
971
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
972
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
973
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "emails"
|
974
|
+
Rendered sample_mailer/hello.text.erb (0.0ms)
|
975
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
976
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bcc_address", nil], ["cc_address", nil], ["content", "Date: Sun, 22 Dec 2013 07:00:50 -0500\r\nFrom: from@example.com\r\nTo: to@example.com\r\nMessage-ID: <52b6d47261769_2b263fbfc60606d8657a2@dgeb1.mail>\r\nSubject: Hiya!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\nPapaya"], ["created_at", Sun, 22 Dec 2013 12:00:50 UTC +00:00], ["from_address", "from@example.com"], ["reply_to_address", nil], ["sent_at", nil], ["subject", "Hiya!"], ["to_address", "to@example.com"], ["updated_at", Sun, 22 Dec 2013 12:00:50 UTC +00:00]]
|
977
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
978
|
+
|
979
|
+
Sent mail to to@example.com (5ms)
|
980
|
+
Date: Sun, 22 Dec 2013 07:00:50 -0500
|
981
|
+
From: from@example.com
|
982
|
+
To: to@example.com
|
983
|
+
Message-ID: <52b6d47261769_2b263fbfc60606d8657a2@dgeb1.mail>
|
984
|
+
Subject: Hiya!
|
985
|
+
Mime-Version: 1.0
|
986
|
+
Content-Type: text/plain;
|
987
|
+
charset=UTF-8
|
988
|
+
Content-Transfer-Encoding: 7bit
|
989
|
+
|
990
|
+
Papaya
|
991
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "emails"
|
992
|
+
[1m[36mMailhopper::Email Load (0.1ms)[0m [1mSELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1[0m
|
993
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
994
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
995
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "emails"
|
996
|
+
Rendered sample_mailer/hello.text.erb (0.0ms)
|
997
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
998
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bcc_address", nil], ["cc_address", nil], ["content", "Date: Sun, 22 Dec 2013 07:00:50 -0500\r\nfrom: from.@example.com\r\nto: to@to@example.com\r\nMessage-ID: <52b6d47264160_2b263fbfc60606d8658ca@dgeb1.mail>\r\nSubject: Hiya!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\nPapaya"], ["created_at", Sun, 22 Dec 2013 12:00:50 UTC +00:00], ["from_address", "from.@example.com"], ["reply_to_address", nil], ["sent_at", nil], ["subject", "Hiya!"], ["to_address", "to@to@example.com"], ["updated_at", Sun, 22 Dec 2013 12:00:50 UTC +00:00]]
|
999
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1000
|
+
|
1001
|
+
Sent mail to to@to@example.com (4ms)
|
1002
|
+
Date: Sun, 22 Dec 2013 07:00:50 -0500
|
1003
|
+
from: from.@example.com
|
1004
|
+
to: to@to@example.com
|
1005
|
+
Message-ID: <52b6d47264160_2b263fbfc60606d8658ca@dgeb1.mail>
|
1006
|
+
Subject: Hiya!
|
1007
|
+
Mime-Version: 1.0
|
1008
|
+
Content-Type: text/plain;
|
1009
|
+
charset=UTF-8
|
1010
|
+
Content-Transfer-Encoding: 7bit
|
1011
|
+
|
1012
|
+
Papaya
|
1013
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "emails"
|
1014
|
+
[1m[36mMailhopper::Email Load (0.1ms)[0m [1mSELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1[0m
|
1015
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1016
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
1017
|
+
Migrating to CreateEmails (20110916191655)
|
1018
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1019
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
1020
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("emails")
|
1021
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1022
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1023
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1024
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "emails"
|
1025
|
+
Rendered sample_mailer/hello.text.erb (0.7ms)
|
1026
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1027
|
+
[1m[35mSQL (2.3ms)[0m INSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bcc_address", "bcc@example.com"], ["cc_address", "cc@example.com"], ["content", "Date: Sun, 22 Dec 2013 07:04:44 -0500\r\nFrom: from@example.com\r\nReply-To: reply_to@example.com\r\nTo: to@example.com\r\nCc: cc@example.com\r\nMessage-ID: <52b6d55ce6162_2b683ff1848606cc14945@dgeb1.mail>\r\nSubject: Hiya!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\nPapaya"], ["created_at", Sun, 22 Dec 2013 12:04:44 UTC +00:00], ["from_address", "from@example.com"], ["reply_to_address", "reply_to@example.com"], ["sent_at", nil], ["subject", "Hiya!"], ["to_address", "to@example.com"], ["updated_at", Sun, 22 Dec 2013 12:04:44 UTC +00:00]]
|
1028
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1029
|
+
|
1030
|
+
Sent mail to to@example.com (13ms)
|
1031
|
+
Date: Sun, 22 Dec 2013 07:04:44 -0500
|
1032
|
+
From: from@example.com
|
1033
|
+
Reply-To: reply_to@example.com
|
1034
|
+
To: to@example.com
|
1035
|
+
Cc: cc@example.com
|
1036
|
+
Message-ID: <52b6d55ce6162_2b683ff1848606cc14945@dgeb1.mail>
|
1037
|
+
Subject: Hiya!
|
1038
|
+
Mime-Version: 1.0
|
1039
|
+
Content-Type: text/plain;
|
1040
|
+
charset=UTF-8
|
1041
|
+
Content-Transfer-Encoding: 7bit
|
1042
|
+
|
1043
|
+
Papaya
|
1044
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "emails"
|
1045
|
+
[1m[36mMailhopper::Email Load (0.1ms)[0m [1mSELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1[0m
|
1046
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1047
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1048
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "emails"
|
1049
|
+
Rendered sample_mailer/hello.text.erb (0.1ms)
|
1050
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1051
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bcc_address", "bcc1@example.com,bcc2@example.com"], ["cc_address", "cc1@example.com,cc2@example.com"], ["content", "Date: Sun, 22 Dec 2013 07:04:44 -0500\r\nFrom: from1@example.com\r\nReply-To: reply_to@example.com\r\nTo: to1@example.com, \r\n to2@example.com\r\nCc: cc1@example.com, \r\n cc2@example.com\r\nMessage-ID: <52b6d55cebc0f_2b683ff1848606cc15010@dgeb1.mail>\r\nSubject: Hiya!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\nPapaya"], ["created_at", Sun, 22 Dec 2013 12:04:44 UTC +00:00], ["from_address", "from1@example.com"], ["reply_to_address", "reply_to@example.com"], ["sent_at", nil], ["subject", "Hiya!"], ["to_address", "to1@example.com,to2@example.com"], ["updated_at", Sun, 22 Dec 2013 12:04:44 UTC +00:00]]
|
1052
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1053
|
+
|
1054
|
+
Sent mail to to1@example.com, to2@example.com (9ms)
|
1055
|
+
Date: Sun, 22 Dec 2013 07:04:44 -0500
|
1056
|
+
From: from1@example.com
|
1057
|
+
Reply-To: reply_to@example.com
|
1058
|
+
To: to1@example.com,
|
1059
|
+
to2@example.com
|
1060
|
+
Cc: cc1@example.com,
|
1061
|
+
cc2@example.com
|
1062
|
+
Message-ID: <52b6d55cebc0f_2b683ff1848606cc15010@dgeb1.mail>
|
1063
|
+
Subject: Hiya!
|
1064
|
+
Mime-Version: 1.0
|
1065
|
+
Content-Type: text/plain;
|
1066
|
+
charset=UTF-8
|
1067
|
+
Content-Transfer-Encoding: 7bit
|
1068
|
+
|
1069
|
+
Papaya
|
1070
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "emails"
|
1071
|
+
[1m[36mMailhopper::Email Load (0.1ms)[0m [1mSELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1[0m
|
1072
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1073
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1074
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "emails"
|
1075
|
+
Rendered sample_mailer/hello.text.erb (0.0ms)
|
1076
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1077
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bcc_address", nil], ["cc_address", nil], ["content", "Date: Sun, 22 Dec 2013 07:04:44 -0500\r\nFrom: from@example.com\r\nTo: to@example.com\r\nMessage-ID: <52b6d55cef112_2b683ff1848606cc151ee@dgeb1.mail>\r\nSubject: Hiya!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\nPapaya"], ["created_at", Sun, 22 Dec 2013 12:04:44 UTC +00:00], ["from_address", "from@example.com"], ["reply_to_address", nil], ["sent_at", nil], ["subject", "Hiya!"], ["to_address", "to@example.com"], ["updated_at", Sun, 22 Dec 2013 12:04:44 UTC +00:00]]
|
1078
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1079
|
+
|
1080
|
+
Sent mail to to@example.com (5ms)
|
1081
|
+
Date: Sun, 22 Dec 2013 07:04:44 -0500
|
1082
|
+
From: from@example.com
|
1083
|
+
To: to@example.com
|
1084
|
+
Message-ID: <52b6d55cef112_2b683ff1848606cc151ee@dgeb1.mail>
|
1085
|
+
Subject: Hiya!
|
1086
|
+
Mime-Version: 1.0
|
1087
|
+
Content-Type: text/plain;
|
1088
|
+
charset=UTF-8
|
1089
|
+
Content-Transfer-Encoding: 7bit
|
1090
|
+
|
1091
|
+
Papaya
|
1092
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "emails"
|
1093
|
+
[1m[36mMailhopper::Email Load (0.1ms)[0m [1mSELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1[0m
|
1094
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1095
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1096
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "emails"
|
1097
|
+
Rendered sample_mailer/hello.text.erb (0.0ms)
|
1098
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1099
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bcc_address", nil], ["cc_address", nil], ["content", "Date: Sun, 22 Dec 2013 07:04:44 -0500\r\nfrom: from.@example.com\r\nto: to@to@example.com\r\nMessage-ID: <52b6d55cf1b92_2b683ff1848606cc1521c@dgeb1.mail>\r\nSubject: Hiya!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\nPapaya"], ["created_at", Sun, 22 Dec 2013 12:04:44 UTC +00:00], ["from_address", "from.@example.com"], ["reply_to_address", nil], ["sent_at", nil], ["subject", "Hiya!"], ["to_address", "to@to@example.com"], ["updated_at", Sun, 22 Dec 2013 12:04:44 UTC +00:00]]
|
1100
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1101
|
+
|
1102
|
+
Sent mail to to@to@example.com (4ms)
|
1103
|
+
Date: Sun, 22 Dec 2013 07:04:44 -0500
|
1104
|
+
from: from.@example.com
|
1105
|
+
to: to@to@example.com
|
1106
|
+
Message-ID: <52b6d55cf1b92_2b683ff1848606cc1521c@dgeb1.mail>
|
1107
|
+
Subject: Hiya!
|
1108
|
+
Mime-Version: 1.0
|
1109
|
+
Content-Type: text/plain;
|
1110
|
+
charset=UTF-8
|
1111
|
+
Content-Transfer-Encoding: 7bit
|
1112
|
+
|
1113
|
+
Papaya
|
1114
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "emails"
|
1115
|
+
[1m[36mMailhopper::Email Load (0.1ms)[0m [1mSELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1[0m
|
1116
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1117
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1118
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1119
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["bcc_address", "bcc"], ["cc_address", "cc"], ["content", "content"], ["created_at", Sun, 22 Dec 2013 12:04:44 UTC +00:00], ["from_address", "from"], ["reply_to_address", "reply_to"], ["sent_at", nil], ["subject", "subject"], ["to_address", "to"], ["updated_at", Sun, 22 Dec 2013 12:04:44 UTC +00:00]]
|
1120
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1121
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1122
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1123
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1124
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1125
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "emails"
|
1126
|
+
Rendered sample_mailer/hello.text.erb (0.7ms)
|
1127
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1128
|
+
[1m[35mSQL (2.3ms)[0m INSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bcc_address", "bcc@example.com"], ["cc_address", "cc@example.com"], ["content", "Date: Sun, 22 Dec 2013 07:09:00 -0500\r\nFrom: from@example.com\r\nReply-To: reply_to@example.com\r\nTo: to@example.com\r\nCc: cc@example.com\r\nMessage-ID: <52b6d65cb3103_2b723ff05c4606cc427b5@dgeb1.mail>\r\nSubject: Hiya!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\nPapaya"], ["created_at", Sun, 22 Dec 2013 12:09:00 UTC +00:00], ["from_address", "from@example.com"], ["reply_to_address", "reply_to@example.com"], ["sent_at", nil], ["subject", "Hiya!"], ["to_address", "to@example.com"], ["updated_at", Sun, 22 Dec 2013 12:09:00 UTC +00:00]]
|
1129
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1130
|
+
|
1131
|
+
Sent mail to to@example.com (13ms)
|
1132
|
+
Date: Sun, 22 Dec 2013 07:09:00 -0500
|
1133
|
+
From: from@example.com
|
1134
|
+
Reply-To: reply_to@example.com
|
1135
|
+
To: to@example.com
|
1136
|
+
Cc: cc@example.com
|
1137
|
+
Message-ID: <52b6d65cb3103_2b723ff05c4606cc427b5@dgeb1.mail>
|
1138
|
+
Subject: Hiya!
|
1139
|
+
Mime-Version: 1.0
|
1140
|
+
Content-Type: text/plain;
|
1141
|
+
charset=UTF-8
|
1142
|
+
Content-Transfer-Encoding: 7bit
|
1143
|
+
|
1144
|
+
Papaya
|
1145
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "emails"
|
1146
|
+
[1m[36mMailhopper::Email Load (0.1ms)[0m [1mSELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1[0m
|
1147
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1148
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1149
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "emails"
|
1150
|
+
Rendered sample_mailer/hello.text.erb (0.0ms)
|
1151
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1152
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bcc_address", "bcc1@example.com,bcc2@example.com"], ["cc_address", "cc1@example.com,cc2@example.com"], ["content", "Date: Sun, 22 Dec 2013 07:09:00 -0500\r\nFrom: from1@example.com\r\nReply-To: reply_to@example.com\r\nTo: to1@example.com, \r\n to2@example.com\r\nCc: cc1@example.com, \r\n cc2@example.com\r\nMessage-ID: <52b6d65cb82c7_2b723ff05c4606cc428dc@dgeb1.mail>\r\nSubject: Hiya!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\nPapaya"], ["created_at", Sun, 22 Dec 2013 12:09:00 UTC +00:00], ["from_address", "from1@example.com"], ["reply_to_address", "reply_to@example.com"], ["sent_at", nil], ["subject", "Hiya!"], ["to_address", "to1@example.com,to2@example.com"], ["updated_at", Sun, 22 Dec 2013 12:09:00 UTC +00:00]]
|
1153
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1154
|
+
|
1155
|
+
Sent mail to to1@example.com, to2@example.com (9ms)
|
1156
|
+
Date: Sun, 22 Dec 2013 07:09:00 -0500
|
1157
|
+
From: from1@example.com
|
1158
|
+
Reply-To: reply_to@example.com
|
1159
|
+
To: to1@example.com,
|
1160
|
+
to2@example.com
|
1161
|
+
Cc: cc1@example.com,
|
1162
|
+
cc2@example.com
|
1163
|
+
Message-ID: <52b6d65cb82c7_2b723ff05c4606cc428dc@dgeb1.mail>
|
1164
|
+
Subject: Hiya!
|
1165
|
+
Mime-Version: 1.0
|
1166
|
+
Content-Type: text/plain;
|
1167
|
+
charset=UTF-8
|
1168
|
+
Content-Transfer-Encoding: 7bit
|
1169
|
+
|
1170
|
+
Papaya
|
1171
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "emails"
|
1172
|
+
[1m[36mMailhopper::Email Load (0.1ms)[0m [1mSELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1[0m
|
1173
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1174
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1175
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "emails"
|
1176
|
+
Rendered sample_mailer/hello.text.erb (0.1ms)
|
1177
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1178
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bcc_address", nil], ["cc_address", nil], ["content", "Date: Sun, 22 Dec 2013 07:09:00 -0500\r\nFrom: from@example.com\r\nTo: to@example.com\r\nMessage-ID: <52b6d65cbc099_2b723ff05c4606cc429a9@dgeb1.mail>\r\nSubject: Hiya!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\nPapaya"], ["created_at", Sun, 22 Dec 2013 12:09:00 UTC +00:00], ["from_address", "from@example.com"], ["reply_to_address", nil], ["sent_at", nil], ["subject", "Hiya!"], ["to_address", "to@example.com"], ["updated_at", Sun, 22 Dec 2013 12:09:00 UTC +00:00]]
|
1179
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1180
|
+
|
1181
|
+
Sent mail to to@example.com (7ms)
|
1182
|
+
Date: Sun, 22 Dec 2013 07:09:00 -0500
|
1183
|
+
From: from@example.com
|
1184
|
+
To: to@example.com
|
1185
|
+
Message-ID: <52b6d65cbc099_2b723ff05c4606cc429a9@dgeb1.mail>
|
1186
|
+
Subject: Hiya!
|
1187
|
+
Mime-Version: 1.0
|
1188
|
+
Content-Type: text/plain;
|
1189
|
+
charset=UTF-8
|
1190
|
+
Content-Transfer-Encoding: 7bit
|
1191
|
+
|
1192
|
+
Papaya
|
1193
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "emails"
|
1194
|
+
[1m[36mMailhopper::Email Load (0.1ms)[0m [1mSELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1[0m
|
1195
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1196
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1197
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "emails"
|
1198
|
+
Rendered sample_mailer/hello.text.erb (0.1ms)
|
1199
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1200
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bcc_address", nil], ["cc_address", nil], ["content", "Date: Sun, 22 Dec 2013 07:09:00 -0500\r\nfrom: from.@example.com\r\nto: to@to@example.com\r\nMessage-ID: <52b6d65cbf6bf_2b723ff05c4606cc4305a@dgeb1.mail>\r\nSubject: Hiya!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\nPapaya"], ["created_at", Sun, 22 Dec 2013 12:09:00 UTC +00:00], ["from_address", "from.@example.com"], ["reply_to_address", nil], ["sent_at", nil], ["subject", "Hiya!"], ["to_address", "to@to@example.com"], ["updated_at", Sun, 22 Dec 2013 12:09:00 UTC +00:00]]
|
1201
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1202
|
+
|
1203
|
+
Sent mail to to@to@example.com (5ms)
|
1204
|
+
Date: Sun, 22 Dec 2013 07:09:00 -0500
|
1205
|
+
from: from.@example.com
|
1206
|
+
to: to@to@example.com
|
1207
|
+
Message-ID: <52b6d65cbf6bf_2b723ff05c4606cc4305a@dgeb1.mail>
|
1208
|
+
Subject: Hiya!
|
1209
|
+
Mime-Version: 1.0
|
1210
|
+
Content-Type: text/plain;
|
1211
|
+
charset=UTF-8
|
1212
|
+
Content-Transfer-Encoding: 7bit
|
1213
|
+
|
1214
|
+
Papaya
|
1215
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "emails"
|
1216
|
+
[1m[36mMailhopper::Email Load (0.1ms)[0m [1mSELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1[0m
|
1217
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1218
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1219
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1220
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["bcc_address", "bcc"], ["cc_address", "cc"], ["content", "content"], ["created_at", Sun, 22 Dec 2013 12:09:00 UTC +00:00], ["from_address", "from"], ["reply_to_address", "reply_to"], ["sent_at", nil], ["subject", "subject"], ["to_address", "to"], ["updated_at", Sun, 22 Dec 2013 12:09:00 UTC +00:00]]
|
1221
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1222
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1223
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1224
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1225
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1226
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "emails"
|
1227
|
+
Rendered sample_mailer/hello.text.erb (0.8ms)
|
1228
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1229
|
+
[1m[35mSQL (2.3ms)[0m INSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bcc_address", "bcc@example.com"], ["cc_address", "cc@example.com"], ["content", "Date: Sun, 22 Dec 2013 07:13:37 -0500\r\nFrom: from@example.com\r\nReply-To: reply_to@example.com\r\nTo: to@example.com\r\nCc: cc@example.com\r\nMessage-ID: <52b6d771703a4_2ba13fd8d4c606dc25871@dgeb1.mail>\r\nSubject: Hiya!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\nPapaya"], ["created_at", Sun, 22 Dec 2013 12:13:37 UTC +00:00], ["from_address", "from@example.com"], ["reply_to_address", "reply_to@example.com"], ["sent_at", nil], ["subject", "Hiya!"], ["to_address", "to@example.com"], ["updated_at", Sun, 22 Dec 2013 12:13:37 UTC +00:00]]
|
1230
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1231
|
+
|
1232
|
+
Sent mail to to@example.com (13ms)
|
1233
|
+
Date: Sun, 22 Dec 2013 07:13:37 -0500
|
1234
|
+
From: from@example.com
|
1235
|
+
Reply-To: reply_to@example.com
|
1236
|
+
To: to@example.com
|
1237
|
+
Cc: cc@example.com
|
1238
|
+
Message-ID: <52b6d771703a4_2ba13fd8d4c606dc25871@dgeb1.mail>
|
1239
|
+
Subject: Hiya!
|
1240
|
+
Mime-Version: 1.0
|
1241
|
+
Content-Type: text/plain;
|
1242
|
+
charset=UTF-8
|
1243
|
+
Content-Transfer-Encoding: 7bit
|
1244
|
+
|
1245
|
+
Papaya
|
1246
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "emails"
|
1247
|
+
[1m[36mMailhopper::Email Load (0.1ms)[0m [1mSELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1[0m
|
1248
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1249
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1250
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "emails"
|
1251
|
+
Rendered sample_mailer/hello.text.erb (0.1ms)
|
1252
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1253
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bcc_address", "bcc1@example.com,bcc2@example.com"], ["cc_address", "cc1@example.com,cc2@example.com"], ["content", "Date: Sun, 22 Dec 2013 07:13:37 -0500\r\nFrom: from1@example.com\r\nReply-To: reply_to@example.com\r\nTo: to1@example.com, \r\n to2@example.com\r\nCc: cc1@example.com, \r\n cc2@example.com\r\nMessage-ID: <52b6d77176302_2ba13fd8d4c606dc25988@dgeb1.mail>\r\nSubject: Hiya!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\nPapaya"], ["created_at", Sun, 22 Dec 2013 12:13:37 UTC +00:00], ["from_address", "from1@example.com"], ["reply_to_address", "reply_to@example.com"], ["sent_at", nil], ["subject", "Hiya!"], ["to_address", "to1@example.com,to2@example.com"], ["updated_at", Sun, 22 Dec 2013 12:13:37 UTC +00:00]]
|
1254
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1255
|
+
|
1256
|
+
Sent mail to to1@example.com, to2@example.com (9ms)
|
1257
|
+
Date: Sun, 22 Dec 2013 07:13:37 -0500
|
1258
|
+
From: from1@example.com
|
1259
|
+
Reply-To: reply_to@example.com
|
1260
|
+
To: to1@example.com,
|
1261
|
+
to2@example.com
|
1262
|
+
Cc: cc1@example.com,
|
1263
|
+
cc2@example.com
|
1264
|
+
Message-ID: <52b6d77176302_2ba13fd8d4c606dc25988@dgeb1.mail>
|
1265
|
+
Subject: Hiya!
|
1266
|
+
Mime-Version: 1.0
|
1267
|
+
Content-Type: text/plain;
|
1268
|
+
charset=UTF-8
|
1269
|
+
Content-Transfer-Encoding: 7bit
|
1270
|
+
|
1271
|
+
Papaya
|
1272
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "emails"
|
1273
|
+
[1m[36mMailhopper::Email Load (0.1ms)[0m [1mSELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1[0m
|
1274
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1275
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1276
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "emails"
|
1277
|
+
Rendered sample_mailer/hello.text.erb (0.0ms)
|
1278
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1279
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bcc_address", nil], ["cc_address", nil], ["content", "Date: Sun, 22 Dec 2013 07:13:37 -0500\r\nFrom: from@example.com\r\nTo: to@example.com\r\nMessage-ID: <52b6d77179718_2ba13fd8d4c606dc26020@dgeb1.mail>\r\nSubject: Hiya!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\nPapaya"], ["created_at", Sun, 22 Dec 2013 12:13:37 UTC +00:00], ["from_address", "from@example.com"], ["reply_to_address", nil], ["sent_at", nil], ["subject", "Hiya!"], ["to_address", "to@example.com"], ["updated_at", Sun, 22 Dec 2013 12:13:37 UTC +00:00]]
|
1280
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1281
|
+
|
1282
|
+
Sent mail to to@example.com (5ms)
|
1283
|
+
Date: Sun, 22 Dec 2013 07:13:37 -0500
|
1284
|
+
From: from@example.com
|
1285
|
+
To: to@example.com
|
1286
|
+
Message-ID: <52b6d77179718_2ba13fd8d4c606dc26020@dgeb1.mail>
|
1287
|
+
Subject: Hiya!
|
1288
|
+
Mime-Version: 1.0
|
1289
|
+
Content-Type: text/plain;
|
1290
|
+
charset=UTF-8
|
1291
|
+
Content-Transfer-Encoding: 7bit
|
1292
|
+
|
1293
|
+
Papaya
|
1294
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "emails"
|
1295
|
+
[1m[36mMailhopper::Email Load (0.1ms)[0m [1mSELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1[0m
|
1296
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1297
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1298
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "emails"
|
1299
|
+
Rendered sample_mailer/hello.text.erb (0.0ms)
|
1300
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1301
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bcc_address", nil], ["cc_address", nil], ["content", "Date: Sun, 22 Dec 2013 07:13:37 -0500\r\nfrom: from.@example.com\r\nto: to@to@example.com\r\nMessage-ID: <52b6d7717c093_2ba13fd8d4c606dc26146@dgeb1.mail>\r\nSubject: Hiya!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\nPapaya"], ["created_at", Sun, 22 Dec 2013 12:13:37 UTC +00:00], ["from_address", "from.@example.com"], ["reply_to_address", nil], ["sent_at", nil], ["subject", "Hiya!"], ["to_address", "to@to@example.com"], ["updated_at", Sun, 22 Dec 2013 12:13:37 UTC +00:00]]
|
1302
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1303
|
+
|
1304
|
+
Sent mail to to@to@example.com (4ms)
|
1305
|
+
Date: Sun, 22 Dec 2013 07:13:37 -0500
|
1306
|
+
from: from.@example.com
|
1307
|
+
to: to@to@example.com
|
1308
|
+
Message-ID: <52b6d7717c093_2ba13fd8d4c606dc26146@dgeb1.mail>
|
1309
|
+
Subject: Hiya!
|
1310
|
+
Mime-Version: 1.0
|
1311
|
+
Content-Type: text/plain;
|
1312
|
+
charset=UTF-8
|
1313
|
+
Content-Transfer-Encoding: 7bit
|
1314
|
+
|
1315
|
+
Papaya
|
1316
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "emails"
|
1317
|
+
[1m[36mMailhopper::Email Load (0.1ms)[0m [1mSELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1[0m
|
1318
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1319
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1320
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1321
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["bcc_address", "bcc"], ["cc_address", "cc"], ["content", "content"], ["created_at", Sun, 22 Dec 2013 12:13:37 UTC +00:00], ["from_address", "from"], ["reply_to_address", "reply_to"], ["sent_at", nil], ["subject", "subject"], ["to_address", "to"], ["updated_at", Sun, 22 Dec 2013 12:13:37 UTC +00:00]]
|
1322
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1323
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
data/spec/models/email_spec.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
|
-
describe
|
3
|
+
describe Mailhopper::Email do
|
4
4
|
let(:email) { Mailhopper::Email.new }
|
5
5
|
|
6
6
|
it "should require a from address" do
|
@@ -54,7 +54,7 @@ describe "Email" do
|
|
54
54
|
it "should be generated even when mail is sent to invalid addresses" do
|
55
55
|
headers = {
|
56
56
|
:from => 'from.@example.com',
|
57
|
-
:to => 'to
|
57
|
+
:to => 'to@to@example.com',
|
58
58
|
:cc => nil,
|
59
59
|
:bcc => nil,
|
60
60
|
:reply_to => nil,
|
@@ -64,6 +64,35 @@ describe "Email" do
|
|
64
64
|
|
65
65
|
generate_and_verify_email(headers, content)
|
66
66
|
end
|
67
|
+
|
68
|
+
describe '#create_from_mail' do
|
69
|
+
|
70
|
+
subject { Mailhopper::Email }
|
71
|
+
|
72
|
+
let(:mail) do
|
73
|
+
double('mail', {
|
74
|
+
:from => 'from',
|
75
|
+
:to => 'to',
|
76
|
+
:cc => 'cc',
|
77
|
+
:bcc => 'bcc',
|
78
|
+
:reply_to => 'reply_to',
|
79
|
+
:subject => 'subject',
|
80
|
+
:to_s => 'content'
|
81
|
+
})
|
82
|
+
end
|
83
|
+
|
84
|
+
it 'creates successully with all data populated right' do
|
85
|
+
email = subject.send(:create_from_mail, mail)
|
86
|
+
assert email.valid?
|
87
|
+
assert_equal 'to', email.to_address
|
88
|
+
assert_equal 'from', email.from_address
|
89
|
+
assert_equal 'cc', email.cc_address
|
90
|
+
assert_equal 'bcc', email.bcc_address
|
91
|
+
assert_equal 'reply_to', email.reply_to_address
|
92
|
+
assert_equal 'subject', email.subject
|
93
|
+
assert_equal 'content', email.content
|
94
|
+
end
|
95
|
+
end
|
67
96
|
end
|
68
97
|
|
69
98
|
private
|
metadata
CHANGED
@@ -1,49 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mailhopper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.3.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Dan Gebhardt
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2013-12-22 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rails
|
16
|
-
requirement:
|
17
|
-
none: false
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 3.1.0
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
|
-
version_requirements:
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 3.1.0
|
25
27
|
- !ruby/object:Gem::Dependency
|
26
28
|
name: sqlite3
|
27
|
-
requirement:
|
28
|
-
none: false
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
29
30
|
requirements:
|
30
|
-
- -
|
31
|
+
- - '>='
|
31
32
|
- !ruby/object:Gem::Version
|
32
33
|
version: 1.3.4
|
33
34
|
type: :development
|
34
35
|
prerelease: false
|
35
|
-
version_requirements:
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.3.4
|
36
41
|
- !ruby/object:Gem::Dependency
|
37
42
|
name: rspec-rails
|
38
|
-
requirement:
|
39
|
-
none: false
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
40
44
|
requirements:
|
41
|
-
- -
|
45
|
+
- - '>='
|
42
46
|
- !ruby/object:Gem::Version
|
43
47
|
version: '0'
|
44
48
|
type: :development
|
45
49
|
prerelease: false
|
46
|
-
version_requirements:
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
47
55
|
description: Mailhopper stores your application's emails in an ActiveRecord queue
|
48
56
|
for asynchronous delivery. Use Mailhopper in combination with a delivery agent such
|
49
57
|
as DelayedMailhopper.
|
@@ -106,27 +114,26 @@ files:
|
|
106
114
|
- spec/spec_helper.rb
|
107
115
|
homepage: https://github.com/cerebris/mailhopper
|
108
116
|
licenses: []
|
117
|
+
metadata: {}
|
109
118
|
post_install_message:
|
110
119
|
rdoc_options: []
|
111
120
|
require_paths:
|
112
121
|
- lib
|
113
122
|
required_ruby_version: !ruby/object:Gem::Requirement
|
114
|
-
none: false
|
115
123
|
requirements:
|
116
|
-
- -
|
124
|
+
- - '>='
|
117
125
|
- !ruby/object:Gem::Version
|
118
126
|
version: '0'
|
119
127
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
120
|
-
none: false
|
121
128
|
requirements:
|
122
|
-
- -
|
129
|
+
- - '>='
|
123
130
|
- !ruby/object:Gem::Version
|
124
131
|
version: '0'
|
125
132
|
requirements: []
|
126
133
|
rubyforge_project:
|
127
|
-
rubygems_version: 1.
|
134
|
+
rubygems_version: 2.1.11
|
128
135
|
signing_key:
|
129
|
-
specification_version:
|
136
|
+
specification_version: 4
|
130
137
|
summary: A simple ActiveRecord-based email queue for Rails apps.
|
131
138
|
test_files:
|
132
139
|
- spec/dummy/app/assets/javascripts/application.js
|