dripper_mail 0.0.1 → 0.0.2
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.
- checksums.yaml +4 -4
- data/lib/dripper/version.rb +1 -1
- data/test/dummy/log/test.log +315 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20a5cbefe79eb40adefcd03f223f29b30b6a12a7
|
4
|
+
data.tar.gz: d13883dcede6756bf4e848382369dc6001b495bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 474d2aac80d116a46540a7b2ed4f20498e727c75cdc0a0c20336a099a195f85a10e919c5d223031d2380ce9825f272c2a68dfd2c4c256d2640908766d126495c
|
7
|
+
data.tar.gz: f729dd455eea1635562cebc8af9354e9b8b8cd86d096a882ae66ec5d7d7e9b35a2924752bfbf480b5e14ec644efededea0cebbd8d071416314385bcb5a07f3b6
|
data/lib/dripper/version.rb
CHANGED
data/test/dummy/log/test.log
CHANGED
@@ -24510,3 +24510,318 @@ Content-Transfer-Encoding: 7bit
|
|
24510
24510
|
[1m[36mDripper::Action Load (0.0ms)[0m [1mSELECT "dripper_actions".* FROM "dripper_actions" WHERE "dripper_actions"."action" = ? AND "dripper_actions"."mailer" = ? LIMIT 1[0m [["action", "newsletter"], ["mailer", "user_mailer"]]
|
24511
24511
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."username" IS NOT NULL) AND ("users"."id" NOT IN (SELECT "dripper_messages"."drippable_id" FROM "dripper_messages" WHERE "dripper_messages"."drippable_type" = ? AND "dripper_messages"."dripper_action_id" = ?)) AND (users.created_at >= '2016-04-07 19:47:49.000000') [["drippable_type", "User"], ["dripper_action_id", 2]]
|
24512
24512
|
[1m[36m (2.2ms)[0m [1mrollback transaction[0m
|
24513
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
24514
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.0ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
24515
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24516
|
+
---------------------------------------
|
24517
|
+
Dripper::ConcernTest: test_Concern_Test
|
24518
|
+
---------------------------------------
|
24519
|
+
[1m[35mDripper::Action Load (0.3ms)[0m SELECT "dripper_actions".* FROM "dripper_actions" WHERE "dripper_actions"."action" = ? AND "dripper_actions"."mailer" = ? ORDER BY "dripper_actions"."id" ASC LIMIT 1 [["action", "newsletter"], ["mailer", "user_mailer"]]
|
24520
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
24521
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "dripper_actions" ("action", "mailer", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action", "newsletter"], ["mailer", "user_mailer"], ["created_at", "2016-04-08 00:38:11.942389"], ["updated_at", "2016-04-08 00:38:11.942389"]]
|
24522
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
24523
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
24524
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "foo@bar.com"], ["created_at", "2016-04-08 00:38:11.956066"], ["updated_at", "2016-04-08 00:38:11.956066"]]
|
24525
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
24526
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
24527
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "newsletters" ("user_id", "title", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["user_id", 1], ["title", "test"], ["created_at", "2016-04-08 00:38:11.970208"], ["updated_at", "2016-04-08 00:38:11.970208"]]
|
24528
|
+
[ActiveJob] [1m[36mNewsletter Load (0.1ms)[0m [1mSELECT "newsletters".* FROM "newsletters" WHERE "newsletters"."id" = ? LIMIT 1[0m [["id", 1]]
|
24529
|
+
[ActiveJob] [DripperJob] [f6c380da-d471-4f6c-898f-080fa93c67ce] Performing DripperJob from Inline(default) with arguments: gid://dummy/Newsletter/1
|
24530
|
+
[ActiveJob] [DripperJob] [f6c380da-d471-4f6c-898f-080fa93c67ce] [1m[35mDripper::Action Load (0.1ms)[0m SELECT "dripper_actions".* FROM "dripper_actions" WHERE "dripper_actions"."action" = ? AND "dripper_actions"."mailer" = ? LIMIT 1 [["action", "newsletter"], ["mailer", "user_mailer"]]
|
24531
|
+
[ActiveJob] [DripperJob] [f6c380da-d471-4f6c-898f-080fa93c67ce] [1m[36mNewsletter Load (0.3ms)[0m [1mSELECT "newsletters".* FROM "newsletters" WHERE ("newsletters"."id" NOT IN (SELECT "dripper_messages"."drippable_id" FROM "dripper_messages" WHERE "dripper_messages"."drippable_type" = ? AND "dripper_messages"."dripper_action_id" = ?)) AND (newsletters.created_at >= '2016-04-08 00:38:11.000000') AND "newsletters"."id" = ?[0m [["drippable_type", "Newsletter"], ["dripper_action_id", 1], ["id", 1]]
|
24532
|
+
[ActiveJob] [DripperJob] [f6c380da-d471-4f6c-898f-080fa93c67ce] [1m[35mSQL (0.3ms)[0m INSERT INTO "dripper_messages" ("dripper_action_id", "drippable_id", "drippable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["dripper_action_id", 1], ["drippable_id", 1], ["drippable_type", "Newsletter"], ["created_at", "2016-04-08 00:38:11.984314"], ["updated_at", "2016-04-08 00:38:11.984314"]]
|
24533
|
+
[ActiveJob] [DripperJob] [f6c380da-d471-4f6c-898f-080fa93c67ce] Performed DripperJob from Inline(default) in 11.78ms
|
24534
|
+
[ActiveJob] Enqueued DripperJob (Job ID: f6c380da-d471-4f6c-898f-080fa93c67ce) to Inline(default) with arguments: gid://dummy/Newsletter/1
|
24535
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
24536
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
24537
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24538
|
+
---------------------------------
|
24539
|
+
Dripper::MessageTest: test_Config
|
24540
|
+
---------------------------------
|
24541
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
24542
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "username", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "foo@bar.com"], ["username", "foo"], ["created_at", "2016-04-08 00:38:11.987007"], ["updated_at", "2016-04-08 00:38:11.987007"]]
|
24543
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
24544
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
24545
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "foo2@bar.com"], ["created_at", "2016-04-08 00:38:11.987911"], ["updated_at", "2016-04-08 00:38:11.987911"]]
|
24546
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
24547
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
24548
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "foo3@bar.com"], ["created_at", "2016-04-08 00:38:11.988715"], ["updated_at", "2016-04-08 00:38:11.988715"]]
|
24549
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
24550
|
+
[1m[36mDripper::Action Load (0.0ms)[0m [1mSELECT "dripper_actions".* FROM "dripper_actions" WHERE "dripper_actions"."action" = ? AND "dripper_actions"."mailer" = ? ORDER BY "dripper_actions"."id" ASC LIMIT 1[0m [["action", "welcome"], ["mailer", "user_mailer"]]
|
24551
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
24552
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dripper_actions" ("action", "mailer", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["action", "welcome"], ["mailer", "user_mailer"], ["created_at", "2016-04-08 00:38:11.989952"], ["updated_at", "2016-04-08 00:38:11.989952"]]
|
24553
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
24554
|
+
[1m[36mDripper::Action Load (0.0ms)[0m [1mSELECT "dripper_actions".* FROM "dripper_actions" WHERE "dripper_actions"."action" = ? AND "dripper_actions"."mailer" = ? ORDER BY "dripper_actions"."id" ASC LIMIT 1[0m [["action", "newsletter"], ["mailer", "user_mailer"]]
|
24555
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
24556
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dripper_actions" ("action", "mailer", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["action", "newsletter"], ["mailer", "user_mailer"], ["created_at", "2016-04-08 00:38:11.990976"], ["updated_at", "2016-04-08 00:38:11.990976"]]
|
24557
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
24558
|
+
[1m[36m (1.9ms)[0m [1mrollback transaction[0m
|
24559
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24560
|
+
--------------------------------------
|
24561
|
+
Dripper::MessageTest: test_Integration
|
24562
|
+
--------------------------------------
|
24563
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
24564
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email", "username", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "foo@bar.com"], ["username", "foo"], ["created_at", "2016-04-08 00:38:11.994215"], ["updated_at", "2016-04-08 00:38:11.994215"]]
|
24565
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
24566
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
24567
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "foo2@bar.com"], ["created_at", "2016-04-08 00:38:11.995118"], ["updated_at", "2016-04-08 00:38:11.995118"]]
|
24568
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
24569
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
24570
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "foo3@bar.com"], ["created_at", "2016-04-08 00:38:11.995941"], ["updated_at", "2016-04-08 00:38:11.995941"]]
|
24571
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
24572
|
+
[1m[35mDripper::Action Load (0.0ms)[0m SELECT "dripper_actions".* FROM "dripper_actions" WHERE "dripper_actions"."action" = ? AND "dripper_actions"."mailer" = ? ORDER BY "dripper_actions"."id" ASC LIMIT 1 [["action", "welcome"], ["mailer", "user_mailer"]]
|
24573
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
24574
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dripper_actions" ("action", "mailer", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action", "welcome"], ["mailer", "user_mailer"], ["created_at", "2016-04-08 00:38:11.997166"], ["updated_at", "2016-04-08 00:38:11.997166"]]
|
24575
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
24576
|
+
[1m[35mDripper::Action Load (0.0ms)[0m SELECT "dripper_actions".* FROM "dripper_actions" WHERE "dripper_actions"."action" = ? AND "dripper_actions"."mailer" = ? ORDER BY "dripper_actions"."id" ASC LIMIT 1 [["action", "newsletter"], ["mailer", "user_mailer"]]
|
24577
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
24578
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "dripper_actions" ("action", "mailer", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action", "newsletter"], ["mailer", "user_mailer"], ["created_at", "2016-04-08 00:38:11.998176"], ["updated_at", "2016-04-08 00:38:11.998176"]]
|
24579
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
24580
|
+
[1m[35mDripper::Action Load (0.0ms)[0m SELECT "dripper_actions".* FROM "dripper_actions" WHERE "dripper_actions"."action" = ? AND "dripper_actions"."mailer" = ? LIMIT 1 [["action", "welcome"], ["mailer", "user_mailer"]]
|
24581
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (SELECT "dripper_messages"."drippable_id" FROM "dripper_messages" WHERE "dripper_messages"."drippable_type" = ? AND "dripper_messages"."dripper_action_id" = ?)) AND (users.created_at >= '2016-04-08 00:38:11.000000')[0m [["drippable_type", "User"], ["dripper_action_id", 1]]
|
24582
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
24583
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dripper_messages" ("dripper_action_id", "drippable_id", "drippable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["dripper_action_id", 1], ["drippable_id", 1], ["drippable_type", "User"], ["created_at", "2016-04-08 00:38:12.000459"], ["updated_at", "2016-04-08 00:38:12.000459"]]
|
24584
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
24585
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
24586
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dripper_messages" ("dripper_action_id", "drippable_id", "drippable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["dripper_action_id", 1], ["drippable_id", 2], ["drippable_type", "User"], ["created_at", "2016-04-08 00:38:12.001372"], ["updated_at", "2016-04-08 00:38:12.001372"]]
|
24587
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
24588
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
24589
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "dripper_messages" ("dripper_action_id", "drippable_id", "drippable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["dripper_action_id", 1], ["drippable_id", 3], ["drippable_type", "User"], ["created_at", "2016-04-08 00:38:12.002305"], ["updated_at", "2016-04-08 00:38:12.002305"]]
|
24590
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
24591
|
+
[1m[36mDripper::Action Load (0.0ms)[0m [1mSELECT "dripper_actions".* FROM "dripper_actions" WHERE "dripper_actions"."action" = ? AND "dripper_actions"."mailer" = ? LIMIT 1[0m [["action", "newsletter"], ["mailer", "user_mailer"]]
|
24592
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."username" IS NOT NULL) AND ("users"."id" NOT IN (SELECT "dripper_messages"."drippable_id" FROM "dripper_messages" WHERE "dripper_messages"."drippable_type" = ? AND "dripper_messages"."dripper_action_id" = ?)) AND (users.created_at >= '2016-04-08 00:38:11.000000') [["drippable_type", "User"], ["dripper_action_id", 2]]
|
24593
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
24594
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "dripper_messages" ("dripper_action_id", "drippable_id", "drippable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["dripper_action_id", 2], ["drippable_id", 1], ["drippable_type", "User"], ["created_at", "2016-04-08 00:38:12.004554"], ["updated_at", "2016-04-08 00:38:12.004554"]]
|
24595
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
24596
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
24597
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24598
|
+
-----------------------------------
|
24599
|
+
Dripper::RunTwiceTest: test_2nd_Run
|
24600
|
+
-----------------------------------
|
24601
|
+
[1m[35mDripper::Action Load (0.1ms)[0m SELECT "dripper_actions".* FROM "dripper_actions" WHERE "dripper_actions"."action" = ? AND "dripper_actions"."mailer" = ? ORDER BY "dripper_actions"."id" ASC LIMIT 1 [["action", "welcome"], ["mailer", "user_mailer"]]
|
24602
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
24603
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "dripper_actions" ("action", "mailer", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action", "welcome"], ["mailer", "user_mailer"], ["created_at", "2016-04-08 00:38:12.008935"], ["updated_at", "2016-04-08 00:38:12.008935"]]
|
24604
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
24605
|
+
[1m[35mDripper::Action Load (0.1ms)[0m SELECT "dripper_actions".* FROM "dripper_actions" WHERE "dripper_actions"."action" = ? AND "dripper_actions"."mailer" = ? ORDER BY "dripper_actions"."id" ASC LIMIT 1 [["action", "newsletter"], ["mailer", "user_mailer"]]
|
24606
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
24607
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "dripper_actions" ("action", "mailer", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action", "newsletter"], ["mailer", "user_mailer"], ["created_at", "2016-04-08 00:38:12.011379"], ["updated_at", "2016-04-08 00:38:12.011379"]]
|
24608
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
24609
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
24610
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email", "username", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "foo@bar.com"], ["username", "foo"], ["created_at", "2016-04-08 00:38:12.012657"], ["updated_at", "2016-04-08 00:38:12.012657"]]
|
24611
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
24612
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
24613
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "foo2@bar.com"], ["created_at", "2016-04-08 00:38:12.013628"], ["updated_at", "2016-04-08 00:38:12.013628"]]
|
24614
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
24615
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
24616
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "foo3@bar.com"], ["created_at", "2016-04-08 00:38:12.014407"], ["updated_at", "2016-04-08 00:38:12.014407"]]
|
24617
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
24618
|
+
[1m[36mDripper::Action Load (0.0ms)[0m [1mSELECT "dripper_actions".* FROM "dripper_actions" WHERE "dripper_actions"."action" = ? AND "dripper_actions"."mailer" = ? LIMIT 1[0m [["action", "welcome"], ["mailer", "user_mailer"]]
|
24619
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (SELECT "dripper_messages"."drippable_id" FROM "dripper_messages" WHERE "dripper_messages"."drippable_type" = ? AND "dripper_messages"."dripper_action_id" = ?)) AND (users.created_at >= '2016-04-08 00:38:12.000000') [["drippable_type", "User"], ["dripper_action_id", 1]]
|
24620
|
+
Rendered user_mailer/welcome.html.erb within layouts/mailer (1.0ms)
|
24621
|
+
Rendered user_mailer/welcome.text.erb within layouts/mailer (0.2ms)
|
24622
|
+
|
24623
|
+
UserMailer#welcome: processed outbound mail in 117.9ms
|
24624
|
+
|
24625
|
+
Sent mail to to@example.org (6.3ms)
|
24626
|
+
Date: Thu, 07 Apr 2016 17:38:12 -0700
|
24627
|
+
From: from@example.com
|
24628
|
+
To: to@example.org
|
24629
|
+
Message-ID: <5706fd7422180_2d9c3fe68905e20438e3@Douglass-MacBook-Pro.local.mail>
|
24630
|
+
Subject: Welcome
|
24631
|
+
Mime-Version: 1.0
|
24632
|
+
Content-Type: multipart/alternative;
|
24633
|
+
boundary="--==_mimepart_5706fd742108b_2d9c3fe68905e20437a7";
|
24634
|
+
charset=UTF-8
|
24635
|
+
Content-Transfer-Encoding: 7bit
|
24636
|
+
|
24637
|
+
|
24638
|
+
----==_mimepart_5706fd742108b_2d9c3fe68905e20437a7
|
24639
|
+
Content-Type: text/plain;
|
24640
|
+
charset=UTF-8
|
24641
|
+
Content-Transfer-Encoding: 7bit
|
24642
|
+
|
24643
|
+
UserMailer#welcome
|
24644
|
+
|
24645
|
+
Hi, find me in app/views/user_mailer/welcome.text.erb
|
24646
|
+
|
24647
|
+
|
24648
|
+
----==_mimepart_5706fd742108b_2d9c3fe68905e20437a7
|
24649
|
+
Content-Type: text/html;
|
24650
|
+
charset=UTF-8
|
24651
|
+
Content-Transfer-Encoding: 7bit
|
24652
|
+
|
24653
|
+
<html>
|
24654
|
+
<body>
|
24655
|
+
<h1>UserMailer#welcome</h1>
|
24656
|
+
|
24657
|
+
<p>
|
24658
|
+
Hi, find me in app/views/user_mailer/welcome.html.erb
|
24659
|
+
</p>
|
24660
|
+
|
24661
|
+
</body>
|
24662
|
+
</html>
|
24663
|
+
|
24664
|
+
----==_mimepart_5706fd742108b_2d9c3fe68905e20437a7--
|
24665
|
+
|
24666
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
24667
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dripper_messages" ("dripper_action_id", "drippable_id", "drippable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["dripper_action_id", 1], ["drippable_id", 1], ["drippable_type", "User"], ["created_at", "2016-04-08 00:38:12.143172"], ["updated_at", "2016-04-08 00:38:12.143172"]]
|
24668
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
24669
|
+
Rendered user_mailer/welcome.html.erb within layouts/mailer (0.0ms)
|
24670
|
+
Rendered user_mailer/welcome.text.erb within layouts/mailer (0.0ms)
|
24671
|
+
|
24672
|
+
UserMailer#welcome: processed outbound mail in 1.6ms
|
24673
|
+
|
24674
|
+
Sent mail to to@example.org (2.1ms)
|
24675
|
+
Date: Thu, 07 Apr 2016 17:38:12 -0700
|
24676
|
+
From: from@example.com
|
24677
|
+
To: to@example.org
|
24678
|
+
Message-ID: <5706fd7423d60_2d9c3fe68905e2044010@Douglass-MacBook-Pro.local.mail>
|
24679
|
+
Subject: Welcome
|
24680
|
+
Mime-Version: 1.0
|
24681
|
+
Content-Type: multipart/alternative;
|
24682
|
+
boundary="--==_mimepart_5706fd74237a5_2d9c3fe68905e20439e8";
|
24683
|
+
charset=UTF-8
|
24684
|
+
Content-Transfer-Encoding: 7bit
|
24685
|
+
|
24686
|
+
|
24687
|
+
----==_mimepart_5706fd74237a5_2d9c3fe68905e20439e8
|
24688
|
+
Content-Type: text/plain;
|
24689
|
+
charset=UTF-8
|
24690
|
+
Content-Transfer-Encoding: 7bit
|
24691
|
+
|
24692
|
+
UserMailer#welcome
|
24693
|
+
|
24694
|
+
Hi, find me in app/views/user_mailer/welcome.text.erb
|
24695
|
+
|
24696
|
+
|
24697
|
+
----==_mimepart_5706fd74237a5_2d9c3fe68905e20439e8
|
24698
|
+
Content-Type: text/html;
|
24699
|
+
charset=UTF-8
|
24700
|
+
Content-Transfer-Encoding: 7bit
|
24701
|
+
|
24702
|
+
<html>
|
24703
|
+
<body>
|
24704
|
+
<h1>UserMailer#welcome</h1>
|
24705
|
+
|
24706
|
+
<p>
|
24707
|
+
Hi, find me in app/views/user_mailer/welcome.html.erb
|
24708
|
+
</p>
|
24709
|
+
|
24710
|
+
</body>
|
24711
|
+
</html>
|
24712
|
+
|
24713
|
+
----==_mimepart_5706fd74237a5_2d9c3fe68905e20439e8--
|
24714
|
+
|
24715
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
24716
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dripper_messages" ("dripper_action_id", "drippable_id", "drippable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["dripper_action_id", 1], ["drippable_id", 2], ["drippable_type", "User"], ["created_at", "2016-04-08 00:38:12.148565"], ["updated_at", "2016-04-08 00:38:12.148565"]]
|
24717
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
24718
|
+
Rendered user_mailer/welcome.html.erb within layouts/mailer (0.0ms)
|
24719
|
+
Rendered user_mailer/welcome.text.erb within layouts/mailer (0.0ms)
|
24720
|
+
|
24721
|
+
UserMailer#welcome: processed outbound mail in 1.3ms
|
24722
|
+
|
24723
|
+
Sent mail to to@example.org (2.2ms)
|
24724
|
+
Date: Thu, 07 Apr 2016 17:38:12 -0700
|
24725
|
+
From: from@example.com
|
24726
|
+
To: to@example.org
|
24727
|
+
Message-ID: <5706fd742501f_2d9c3fe68905e2044279@Douglass-MacBook-Pro.local.mail>
|
24728
|
+
Subject: Welcome
|
24729
|
+
Mime-Version: 1.0
|
24730
|
+
Content-Type: multipart/alternative;
|
24731
|
+
boundary="--==_mimepart_5706fd7424aba_2d9c3fe68905e204417c";
|
24732
|
+
charset=UTF-8
|
24733
|
+
Content-Transfer-Encoding: 7bit
|
24734
|
+
|
24735
|
+
|
24736
|
+
----==_mimepart_5706fd7424aba_2d9c3fe68905e204417c
|
24737
|
+
Content-Type: text/plain;
|
24738
|
+
charset=UTF-8
|
24739
|
+
Content-Transfer-Encoding: 7bit
|
24740
|
+
|
24741
|
+
UserMailer#welcome
|
24742
|
+
|
24743
|
+
Hi, find me in app/views/user_mailer/welcome.text.erb
|
24744
|
+
|
24745
|
+
|
24746
|
+
----==_mimepart_5706fd7424aba_2d9c3fe68905e204417c
|
24747
|
+
Content-Type: text/html;
|
24748
|
+
charset=UTF-8
|
24749
|
+
Content-Transfer-Encoding: 7bit
|
24750
|
+
|
24751
|
+
<html>
|
24752
|
+
<body>
|
24753
|
+
<h1>UserMailer#welcome</h1>
|
24754
|
+
|
24755
|
+
<p>
|
24756
|
+
Hi, find me in app/views/user_mailer/welcome.html.erb
|
24757
|
+
</p>
|
24758
|
+
|
24759
|
+
</body>
|
24760
|
+
</html>
|
24761
|
+
|
24762
|
+
----==_mimepart_5706fd7424aba_2d9c3fe68905e204417c--
|
24763
|
+
|
24764
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
24765
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dripper_messages" ("dripper_action_id", "drippable_id", "drippable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["dripper_action_id", 1], ["drippable_id", 3], ["drippable_type", "User"], ["created_at", "2016-04-08 00:38:12.153361"], ["updated_at", "2016-04-08 00:38:12.153361"]]
|
24766
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
24767
|
+
[1m[35mDripper::Action Load (0.0ms)[0m SELECT "dripper_actions".* FROM "dripper_actions" WHERE "dripper_actions"."action" = ? AND "dripper_actions"."mailer" = ? LIMIT 1 [["action", "newsletter"], ["mailer", "user_mailer"]]
|
24768
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."username" IS NOT NULL) AND ("users"."id" NOT IN (SELECT "dripper_messages"."drippable_id" FROM "dripper_messages" WHERE "dripper_messages"."drippable_type" = ? AND "dripper_messages"."dripper_action_id" = ?)) AND (users.created_at >= '2016-04-08 00:38:12.000000')[0m [["drippable_type", "User"], ["dripper_action_id", 2]]
|
24769
|
+
Rendered user_mailer/newsletter.html.erb within layouts/mailer (0.3ms)
|
24770
|
+
Rendered user_mailer/newsletter.text.erb within layouts/mailer (0.2ms)
|
24771
|
+
|
24772
|
+
UserMailer#newsletter: processed outbound mail in 7.6ms
|
24773
|
+
|
24774
|
+
Sent mail to to@example.org (2.3ms)
|
24775
|
+
Date: Thu, 07 Apr 2016 17:38:12 -0700
|
24776
|
+
From: from@example.com
|
24777
|
+
To: to@example.org
|
24778
|
+
Message-ID: <5706fd742806b_2d9c3fe68905e2044445@Douglass-MacBook-Pro.local.mail>
|
24779
|
+
Subject: Newsletter
|
24780
|
+
Mime-Version: 1.0
|
24781
|
+
Content-Type: multipart/alternative;
|
24782
|
+
boundary="--==_mimepart_5706fd7427a88_2d9c3fe68905e20443a6";
|
24783
|
+
charset=UTF-8
|
24784
|
+
Content-Transfer-Encoding: 7bit
|
24785
|
+
|
24786
|
+
|
24787
|
+
----==_mimepart_5706fd7427a88_2d9c3fe68905e20443a6
|
24788
|
+
Content-Type: text/plain;
|
24789
|
+
charset=UTF-8
|
24790
|
+
Content-Transfer-Encoding: 7bit
|
24791
|
+
|
24792
|
+
UserMailer#newsletter
|
24793
|
+
|
24794
|
+
Hi, find me in app/views/user_mailer/newsletter.text.erb
|
24795
|
+
|
24796
|
+
|
24797
|
+
----==_mimepart_5706fd7427a88_2d9c3fe68905e20443a6
|
24798
|
+
Content-Type: text/html;
|
24799
|
+
charset=UTF-8
|
24800
|
+
Content-Transfer-Encoding: 7bit
|
24801
|
+
|
24802
|
+
<html>
|
24803
|
+
<body>
|
24804
|
+
<h1>UserMailer#newsletter</h1>
|
24805
|
+
|
24806
|
+
<p>
|
24807
|
+
Hi, find me in app/views/user_mailer/newsletter.html.erb
|
24808
|
+
</p>
|
24809
|
+
|
24810
|
+
</body>
|
24811
|
+
</html>
|
24812
|
+
|
24813
|
+
----==_mimepart_5706fd7427a88_2d9c3fe68905e20443a6--
|
24814
|
+
|
24815
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
24816
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dripper_messages" ("dripper_action_id", "drippable_id", "drippable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["dripper_action_id", 2], ["drippable_id", 1], ["drippable_type", "User"], ["created_at", "2016-04-08 00:38:12.165954"], ["updated_at", "2016-04-08 00:38:12.165954"]]
|
24817
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
24818
|
+
[1m[36mDripper::Action Load (0.0ms)[0m [1mSELECT "dripper_actions".* FROM "dripper_actions" WHERE "dripper_actions"."action" = ? AND "dripper_actions"."mailer" = ? LIMIT 1[0m [["action", "welcome"], ["mailer", "user_mailer"]]
|
24819
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" NOT IN (SELECT "dripper_messages"."drippable_id" FROM "dripper_messages" WHERE "dripper_messages"."drippable_type" = ? AND "dripper_messages"."dripper_action_id" = ?)) AND (users.created_at >= '2016-04-08 00:38:12.000000') [["drippable_type", "User"], ["dripper_action_id", 1]]
|
24820
|
+
[1m[36mDripper::Action Load (0.0ms)[0m [1mSELECT "dripper_actions".* FROM "dripper_actions" WHERE "dripper_actions"."action" = ? AND "dripper_actions"."mailer" = ? LIMIT 1[0m [["action", "newsletter"], ["mailer", "user_mailer"]]
|
24821
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."username" IS NOT NULL) AND ("users"."id" NOT IN (SELECT "dripper_messages"."drippable_id" FROM "dripper_messages" WHERE "dripper_messages"."drippable_type" = ? AND "dripper_messages"."dripper_action_id" = ?)) AND (users.created_at >= '2016-04-08 00:38:12.000000') [["drippable_type", "User"], ["dripper_action_id", 2]]
|
24822
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
24823
|
+
[1m[35m (0.0ms)[0m begin transaction
|
24824
|
+
-----------------------
|
24825
|
+
DripperTest: test_truth
|
24826
|
+
-----------------------
|
24827
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dripper_mail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Douglas Tarr
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|