delayed_mailhopper 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +8 -0
- data/lib/delayed_mailhopper/version.rb +1 -1
- data/spec/dummy/log/test.log +270 -0
- metadata +11 -11
data/README.md
CHANGED
@@ -66,6 +66,14 @@ script/rails runner 'Delayed::Backend::Mongoid::Job.create_indexes'
|
|
66
66
|
|
67
67
|
see the README: https://github.com/collectiveidea/delayed_job_mongoid
|
68
68
|
|
69
|
+
## Troubleshooting
|
70
|
+
|
71
|
+
If you've cleared your delayed job queue and need to regenerate jobs for all unsent emails, try the following from your Rails console (`rails c`):
|
72
|
+
|
73
|
+
```
|
74
|
+
DelayedMailhopper::Email.unsent.each { |email| email.enqueue }
|
75
|
+
```
|
76
|
+
|
69
77
|
## References
|
70
78
|
|
71
79
|
Please see the README for Mailhopper: https://github.com/cerebris/mailhopper
|
data/spec/dummy/log/test.log
CHANGED
@@ -3095,3 +3095,273 @@ Papaya
|
|
3095
3095
|
[DelayedMailhopper::SendJob] success for email_id 1, delayed_job_id 1
|
3096
3096
|
[1m[35mDelayedMailhopper::Email Load (0.2ms)[0m SELECT "emails".* FROM "emails" WHERE "emails"."id" = ? LIMIT 1 [["id", 1]]
|
3097
3097
|
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
3098
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
3099
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3100
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3101
|
+
Rendered sample_mailer/hello.text.erb (1.9ms)
|
3102
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3103
|
+
[1m[36mSQL (37.7ms)[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@example.com"], ["cc_address", "cc@example.com"], ["content", "Date: Tue, 08 May 2012 08:18:06 -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: <4fa90efe776e8_135563fe3fc834cd8305dd@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 12:18:06 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 12:18:06 UTC +00:00]]
|
3104
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Tue, 08 May 2012 12:18:06 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:DelayedMailhopper::SendJob\nid: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Tue, 08 May 2012 12:18:06 UTC +00:00], ["updated_at", Tue, 08 May 2012 12:18:06 UTC +00:00]]
|
3105
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3106
|
+
|
3107
|
+
Sent mail to to@example.com (76ms)
|
3108
|
+
Date: Tue, 08 May 2012 08:18:06 -0400
|
3109
|
+
From: from@example.com
|
3110
|
+
Reply-To: reply_to@example.com
|
3111
|
+
To: to@example.com
|
3112
|
+
Cc: cc@example.com
|
3113
|
+
Message-ID: <4fa90efe776e8_135563fe3fc834cd8305dd@dgmpro.local.mail>
|
3114
|
+
Subject: Hiya!
|
3115
|
+
Mime-Version: 1.0
|
3116
|
+
Content-Type: text/plain;
|
3117
|
+
charset=UTF-8
|
3118
|
+
Content-Transfer-Encoding: 7bit
|
3119
|
+
|
3120
|
+
Papaya
|
3121
|
+
[1m[35mDelayedMailhopper::Email Load (0.2ms)[0m SELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1
|
3122
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
3123
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3124
|
+
Rendered sample_mailer/hello.text.erb (0.1ms)
|
3125
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3126
|
+
[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", "bcc@example.com"], ["cc_address", "cc@example.com"], ["content", "Date: Tue, 08 May 2012 08:18:06 -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: <4fa90efe8b74b_135563fe3fc834cd830630@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 12:18:06 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 12:18:06 UTC +00:00]]
|
3127
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attempts", 0], ["created_at", Tue, 08 May 2012 12:18:06 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:DelayedMailhopper::SendJob\nid: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Tue, 08 May 2012 12:18:06 UTC +00:00], ["updated_at", Tue, 08 May 2012 12:18:06 UTC +00:00]]
|
3128
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3129
|
+
|
3130
|
+
Sent mail to to@example.com (13ms)
|
3131
|
+
Date: Tue, 08 May 2012 08:18:06 -0400
|
3132
|
+
From: from@example.com
|
3133
|
+
Reply-To: reply_to@example.com
|
3134
|
+
To: to@example.com
|
3135
|
+
Cc: cc@example.com
|
3136
|
+
Message-ID: <4fa90efe8b74b_135563fe3fc834cd830630@dgmpro.local.mail>
|
3137
|
+
Subject: Hiya!
|
3138
|
+
Mime-Version: 1.0
|
3139
|
+
Content-Type: text/plain;
|
3140
|
+
charset=UTF-8
|
3141
|
+
Content-Transfer-Encoding: 7bit
|
3142
|
+
|
3143
|
+
Papaya
|
3144
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "emails" [0m
|
3145
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "delayed_jobs"
|
3146
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
3147
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3148
|
+
Rendered sample_mailer/hello.text.erb (0.1ms)
|
3149
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3150
|
+
[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", "bcc@example.com"], ["cc_address", "cc@example.com"], ["content", "Date: Tue, 08 May 2012 08:18:06 -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: <4fa90efe983af_135563fe3fc834cd8307c1@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 12:18:06 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 12:18:06 UTC +00:00]]
|
3151
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attempts", 0], ["created_at", Tue, 08 May 2012 12:18:06 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:DelayedMailhopper::SendJob\nid: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Tue, 08 May 2012 12:18:06 UTC +00:00], ["updated_at", Tue, 08 May 2012 12:18:06 UTC +00:00]]
|
3152
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3153
|
+
|
3154
|
+
Sent mail to to@example.com (12ms)
|
3155
|
+
Date: Tue, 08 May 2012 08:18:06 -0400
|
3156
|
+
From: from@example.com
|
3157
|
+
Reply-To: reply_to@example.com
|
3158
|
+
To: to@example.com
|
3159
|
+
Cc: cc@example.com
|
3160
|
+
Message-ID: <4fa90efe983af_135563fe3fc834cd8307c1@dgmpro.local.mail>
|
3161
|
+
Subject: Hiya!
|
3162
|
+
Mime-Version: 1.0
|
3163
|
+
Content-Type: text/plain;
|
3164
|
+
charset=UTF-8
|
3165
|
+
Content-Transfer-Encoding: 7bit
|
3166
|
+
|
3167
|
+
Papaya
|
3168
|
+
[1m[36mDelayedMailhopper::Email Load (0.2ms)[0m [1mSELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1[0m
|
3169
|
+
[1m[35mDelayed::Backend::ActiveRecord::Job Load (0.1ms)[0m SELECT "delayed_jobs".* FROM "delayed_jobs" LIMIT 1
|
3170
|
+
[1m[36mDelayedMailhopper::Email Load (0.1ms)[0m [1mSELECT "emails".* FROM "emails" WHERE "emails"."id" = ? ORDER BY created_at DESC LIMIT 1[0m [["id", 1]]
|
3171
|
+
|
3172
|
+
Sent mail to to@example.com (6ms)
|
3173
|
+
Date: Tue, 08 May 2012 08:18:06 -0400
|
3174
|
+
From: from@example.com
|
3175
|
+
Reply-To: reply_to@example.com
|
3176
|
+
To: to@example.com
|
3177
|
+
Cc: cc@example.com
|
3178
|
+
Message-ID: <4fa90efe983af_135563fe3fc834cd8307c1@dgmpro.local.mail>
|
3179
|
+
Subject: Hiya!
|
3180
|
+
Mime-Version: 1.0
|
3181
|
+
Content-Type: text/plain;
|
3182
|
+
charset=UTF-8
|
3183
|
+
Content-Transfer-Encoding: 7bit
|
3184
|
+
|
3185
|
+
Papaya
|
3186
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3187
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "emails" SET "sent_at" = '2012-05-08 12:18:06.654479', "updated_at" = '2012-05-08 12:18:06.655097' WHERE "emails"."id" = 1[0m
|
3188
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3189
|
+
[DelayedMailhopper::SendJob] success for email_id 1, delayed_job_id 1
|
3190
|
+
[1m[36mDelayedMailhopper::Email Load (0.1ms)[0m [1mSELECT "emails".* FROM "emails" WHERE "emails"."id" = ? LIMIT 1[0m [["id", 1]]
|
3191
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
3192
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3193
|
+
Rendered sample_mailer/hello.text.erb (0.1ms)
|
3194
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3195
|
+
[1m[36mSQL (0.5ms)[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@example.com"], ["cc_address", "cc@example.com"], ["content", "Date: Tue, 08 May 2012 08:18:06 -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: <4fa90efea3268_135563fe3fc834cd830863@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 12:18:06 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 12:18:06 UTC +00:00]]
|
3196
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Tue, 08 May 2012 12:18:06 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:DelayedMailhopper::SendJob\nid: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Tue, 08 May 2012 12:18:06 UTC +00:00], ["updated_at", Tue, 08 May 2012 12:18:06 UTC +00:00]]
|
3197
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3198
|
+
|
3199
|
+
Sent mail to to@example.com (12ms)
|
3200
|
+
Date: Tue, 08 May 2012 08:18:06 -0400
|
3201
|
+
From: from@example.com
|
3202
|
+
Reply-To: reply_to@example.com
|
3203
|
+
To: to@example.com
|
3204
|
+
Cc: cc@example.com
|
3205
|
+
Message-ID: <4fa90efea3268_135563fe3fc834cd830863@dgmpro.local.mail>
|
3206
|
+
Subject: Hiya!
|
3207
|
+
Mime-Version: 1.0
|
3208
|
+
Content-Type: text/plain;
|
3209
|
+
charset=UTF-8
|
3210
|
+
Content-Transfer-Encoding: 7bit
|
3211
|
+
|
3212
|
+
Papaya
|
3213
|
+
[1m[35mDelayedMailhopper::Email Load (0.2ms)[0m SELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1
|
3214
|
+
|
3215
|
+
Sent mail to to@example.com (5ms)
|
3216
|
+
Date: Tue, 08 May 2012 08:18:06 -0400
|
3217
|
+
From: from@example.com
|
3218
|
+
Reply-To: reply_to@example.com
|
3219
|
+
To: to@example.com
|
3220
|
+
Cc: cc@example.com
|
3221
|
+
Message-ID: <4fa90efea3268_135563fe3fc834cd830863@dgmpro.local.mail>
|
3222
|
+
Subject: Hiya!
|
3223
|
+
Mime-Version: 1.0
|
3224
|
+
Content-Type: text/plain;
|
3225
|
+
charset=UTF-8
|
3226
|
+
Content-Transfer-Encoding: 7bit
|
3227
|
+
|
3228
|
+
Papaya
|
3229
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3230
|
+
[1m[35m (0.4ms)[0m UPDATE "emails" SET "sent_at" = '2012-05-08 12:18:06.693970', "updated_at" = '2012-05-08 12:18:06.694481' WHERE "emails"."id" = 1
|
3231
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3232
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
3233
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
3234
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3235
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3236
|
+
Rendered sample_mailer/hello.text.erb (1.9ms)
|
3237
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3238
|
+
[1m[36mSQL (4.1ms)[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@example.com"], ["cc_address", "cc@example.com"], ["content", "Date: Tue, 08 May 2012 08:29:50 -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: <4fa911beb4307_135f13fc4adc34cd464820@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 12:29: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", Tue, 08 May 2012 12:29:50 UTC +00:00]]
|
3239
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Tue, 08 May 2012 12:29:50 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:DelayedMailhopper::SendJob\nid: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Tue, 08 May 2012 12:29:50 UTC +00:00], ["updated_at", Tue, 08 May 2012 12:29:50 UTC +00:00]]
|
3240
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3241
|
+
|
3242
|
+
Sent mail to to@example.com (40ms)
|
3243
|
+
Date: Tue, 08 May 2012 08:29:50 -0400
|
3244
|
+
From: from@example.com
|
3245
|
+
Reply-To: reply_to@example.com
|
3246
|
+
To: to@example.com
|
3247
|
+
Cc: cc@example.com
|
3248
|
+
Message-ID: <4fa911beb4307_135f13fc4adc34cd464820@dgmpro.local.mail>
|
3249
|
+
Subject: Hiya!
|
3250
|
+
Mime-Version: 1.0
|
3251
|
+
Content-Type: text/plain;
|
3252
|
+
charset=UTF-8
|
3253
|
+
Content-Transfer-Encoding: 7bit
|
3254
|
+
|
3255
|
+
Papaya
|
3256
|
+
[1m[35mDelayedMailhopper::Email Load (0.2ms)[0m SELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1
|
3257
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
3258
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3259
|
+
Rendered sample_mailer/hello.text.erb (0.1ms)
|
3260
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3261
|
+
[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", "bcc@example.com"], ["cc_address", "cc@example.com"], ["content", "Date: Tue, 08 May 2012 08:29:50 -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: <4fa911bebfbfd_135f13fc4adc34cd464998@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 12:29: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", Tue, 08 May 2012 12:29:50 UTC +00:00]]
|
3262
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attempts", 0], ["created_at", Tue, 08 May 2012 12:29:50 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:DelayedMailhopper::SendJob\nid: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Tue, 08 May 2012 12:29:50 UTC +00:00], ["updated_at", Tue, 08 May 2012 12:29:50 UTC +00:00]]
|
3263
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3264
|
+
|
3265
|
+
Sent mail to to@example.com (12ms)
|
3266
|
+
Date: Tue, 08 May 2012 08:29:50 -0400
|
3267
|
+
From: from@example.com
|
3268
|
+
Reply-To: reply_to@example.com
|
3269
|
+
To: to@example.com
|
3270
|
+
Cc: cc@example.com
|
3271
|
+
Message-ID: <4fa911bebfbfd_135f13fc4adc34cd464998@dgmpro.local.mail>
|
3272
|
+
Subject: Hiya!
|
3273
|
+
Mime-Version: 1.0
|
3274
|
+
Content-Type: text/plain;
|
3275
|
+
charset=UTF-8
|
3276
|
+
Content-Transfer-Encoding: 7bit
|
3277
|
+
|
3278
|
+
Papaya
|
3279
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "emails" [0m
|
3280
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "delayed_jobs"
|
3281
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
3282
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3283
|
+
Rendered sample_mailer/hello.text.erb (0.1ms)
|
3284
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3285
|
+
[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", "bcc@example.com"], ["cc_address", "cc@example.com"], ["content", "Date: Tue, 08 May 2012 08:29:50 -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: <4fa911becc52f_135f13fc4adc34cd465084@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 12:29: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", Tue, 08 May 2012 12:29:50 UTC +00:00]]
|
3286
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attempts", 0], ["created_at", Tue, 08 May 2012 12:29:50 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:DelayedMailhopper::SendJob\nid: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Tue, 08 May 2012 12:29:50 UTC +00:00], ["updated_at", Tue, 08 May 2012 12:29:50 UTC +00:00]]
|
3287
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3288
|
+
|
3289
|
+
Sent mail to to@example.com (12ms)
|
3290
|
+
Date: Tue, 08 May 2012 08:29:50 -0400
|
3291
|
+
From: from@example.com
|
3292
|
+
Reply-To: reply_to@example.com
|
3293
|
+
To: to@example.com
|
3294
|
+
Cc: cc@example.com
|
3295
|
+
Message-ID: <4fa911becc52f_135f13fc4adc34cd465084@dgmpro.local.mail>
|
3296
|
+
Subject: Hiya!
|
3297
|
+
Mime-Version: 1.0
|
3298
|
+
Content-Type: text/plain;
|
3299
|
+
charset=UTF-8
|
3300
|
+
Content-Transfer-Encoding: 7bit
|
3301
|
+
|
3302
|
+
Papaya
|
3303
|
+
[1m[36mDelayedMailhopper::Email Load (0.2ms)[0m [1mSELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1[0m
|
3304
|
+
[1m[35mDelayed::Backend::ActiveRecord::Job Load (0.1ms)[0m SELECT "delayed_jobs".* FROM "delayed_jobs" LIMIT 1
|
3305
|
+
[1m[36mDelayedMailhopper::Email Load (0.1ms)[0m [1mSELECT "emails".* FROM "emails" WHERE "emails"."id" = ? ORDER BY created_at DESC LIMIT 1[0m [["id", 1]]
|
3306
|
+
|
3307
|
+
Sent mail to to@example.com (6ms)
|
3308
|
+
Date: Tue, 08 May 2012 08:29:50 -0400
|
3309
|
+
From: from@example.com
|
3310
|
+
Reply-To: reply_to@example.com
|
3311
|
+
To: to@example.com
|
3312
|
+
Cc: cc@example.com
|
3313
|
+
Message-ID: <4fa911becc52f_135f13fc4adc34cd465084@dgmpro.local.mail>
|
3314
|
+
Subject: Hiya!
|
3315
|
+
Mime-Version: 1.0
|
3316
|
+
Content-Type: text/plain;
|
3317
|
+
charset=UTF-8
|
3318
|
+
Content-Transfer-Encoding: 7bit
|
3319
|
+
|
3320
|
+
Papaya
|
3321
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3322
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "emails" SET "sent_at" = '2012-05-08 12:29:50.867434', "updated_at" = '2012-05-08 12:29:50.868103' WHERE "emails"."id" = 1[0m
|
3323
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3324
|
+
[DelayedMailhopper::SendJob] success for email_id 1, delayed_job_id 1
|
3325
|
+
[1m[36mDelayedMailhopper::Email Load (0.1ms)[0m [1mSELECT "emails".* FROM "emails" WHERE "emails"."id" = ? LIMIT 1[0m [["id", 1]]
|
3326
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
3327
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3328
|
+
Rendered sample_mailer/hello.text.erb (0.1ms)
|
3329
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3330
|
+
[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@example.com"], ["cc_address", "cc@example.com"], ["content", "Date: Tue, 08 May 2012 08:29:50 -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: <4fa911bed7440_135f13fc4adc34cd4651f@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 12:29: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", Tue, 08 May 2012 12:29:50 UTC +00:00]]
|
3331
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Tue, 08 May 2012 12:29:50 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:DelayedMailhopper::SendJob\nid: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Tue, 08 May 2012 12:29:50 UTC +00:00], ["updated_at", Tue, 08 May 2012 12:29:50 UTC +00:00]]
|
3332
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3333
|
+
|
3334
|
+
Sent mail to to@example.com (12ms)
|
3335
|
+
Date: Tue, 08 May 2012 08:29:50 -0400
|
3336
|
+
From: from@example.com
|
3337
|
+
Reply-To: reply_to@example.com
|
3338
|
+
To: to@example.com
|
3339
|
+
Cc: cc@example.com
|
3340
|
+
Message-ID: <4fa911bed7440_135f13fc4adc34cd4651f@dgmpro.local.mail>
|
3341
|
+
Subject: Hiya!
|
3342
|
+
Mime-Version: 1.0
|
3343
|
+
Content-Type: text/plain;
|
3344
|
+
charset=UTF-8
|
3345
|
+
Content-Transfer-Encoding: 7bit
|
3346
|
+
|
3347
|
+
Papaya
|
3348
|
+
[1m[35mDelayedMailhopper::Email Load (0.2ms)[0m SELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1
|
3349
|
+
|
3350
|
+
Sent mail to to@example.com (5ms)
|
3351
|
+
Date: Tue, 08 May 2012 08:29:50 -0400
|
3352
|
+
From: from@example.com
|
3353
|
+
Reply-To: reply_to@example.com
|
3354
|
+
To: to@example.com
|
3355
|
+
Cc: cc@example.com
|
3356
|
+
Message-ID: <4fa911bed7440_135f13fc4adc34cd4651f@dgmpro.local.mail>
|
3357
|
+
Subject: Hiya!
|
3358
|
+
Mime-Version: 1.0
|
3359
|
+
Content-Type: text/plain;
|
3360
|
+
charset=UTF-8
|
3361
|
+
Content-Transfer-Encoding: 7bit
|
3362
|
+
|
3363
|
+
Papaya
|
3364
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3365
|
+
[1m[35m (0.4ms)[0m UPDATE "emails" SET "sent_at" = '2012-05-08 12:29:50.907683', "updated_at" = '2012-05-08 12:29:50.908164' WHERE "emails"."id" = 1
|
3366
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3367
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: delayed_mailhopper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-05-08 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mailhopper
|
16
|
-
requirement: &
|
16
|
+
requirement: &70317284404220 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.0.1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70317284404220
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: delayed_job
|
27
|
-
requirement: &
|
27
|
+
requirement: &70317284418620 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70317284418620
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: sqlite3
|
38
|
-
requirement: &
|
38
|
+
requirement: &70317284414440 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 1.3.4
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70317284414440
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rspec-rails
|
49
|
-
requirement: &
|
49
|
+
requirement: &70317284411280 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70317284411280
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: delayed_job_active_record
|
60
|
-
requirement: &
|
60
|
+
requirement: &70317284420600 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,7 +65,7 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70317284420600
|
69
69
|
description: DelayedMailhopper extends Mailhopper to deliver emails asynchronously
|
70
70
|
with DelayedJob.
|
71
71
|
email:
|