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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9eb1b72d754f83cabfd1ad6258b15bccb05f12e1
4
- data.tar.gz: 5d905d38a821dbe0e2e1514a9beba7ee8d1a6662
3
+ metadata.gz: 20a5cbefe79eb40adefcd03f223f29b30b6a12a7
4
+ data.tar.gz: d13883dcede6756bf4e848382369dc6001b495bf
5
5
  SHA512:
6
- metadata.gz: deec8d17374ea0cb8b5016cdfe0450cdcfdaf3a0e78cd94647a41c4b5b7024c6853c2c626337e1a14898beefe2cec42704e51629de9780cf693d36b536406021
7
- data.tar.gz: 64a3c80aa37cfd2930a74efe60616280b0720d4fea21eef31a8a2adb8ab83f3fcaf36c744ee397216736203bd40d7ab2a5fb5e51bd7ec37f0d9028094bbc4ec2
6
+ metadata.gz: 474d2aac80d116a46540a7b2ed4f20498e727c75cdc0a0c20336a099a195f85a10e919c5d223031d2380ce9825f272c2a68dfd2c4c256d2640908766d126495c
7
+ data.tar.gz: f729dd455eea1635562cebc8af9354e9b8b8cd86d096a882ae66ec5d7d7e9b35a2924752bfbf480b5e14ec644efededea0cebbd8d071416314385bcb5a07f3b6
@@ -1,3 +1,3 @@
1
1
  module Dripper
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -24510,3 +24510,318 @@ Content-Transfer-Encoding: 7bit
24510
24510
  Dripper::Action Load (0.0ms) SELECT "dripper_actions".* FROM "dripper_actions" WHERE "dripper_actions"."action" = ? AND "dripper_actions"."mailer" = ? LIMIT 1 [["action", "newsletter"], ["mailer", "user_mailer"]]
24511
24511
  User Load (0.1ms) 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
   (2.2ms) rollback transaction
24513
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
24514
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
24515
+  (0.1ms) begin transaction
24516
+ ---------------------------------------
24517
+ Dripper::ConcernTest: test_Concern_Test
24518
+ ---------------------------------------
24519
+ Dripper::Action Load (0.3ms) 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
+  (0.0ms) SAVEPOINT active_record_1
24521
+ SQL (1.0ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24523
+  (0.0ms) SAVEPOINT active_record_1
24524
+ SQL (0.5ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "foo@bar.com"], ["created_at", "2016-04-08 00:38:11.956066"], ["updated_at", "2016-04-08 00:38:11.956066"]]
24525
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24526
+  (0.0ms) SAVEPOINT active_record_1
24527
+ SQL (0.4ms) 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] Newsletter Load (0.1ms) SELECT "newsletters".* FROM "newsletters" WHERE "newsletters"."id" = ? LIMIT 1 [["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] Dripper::Action Load (0.1ms) 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] Newsletter Load (0.3ms) SELECT "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" = ? [["drippable_type", "Newsletter"], ["dripper_action_id", 1], ["id", 1]]
24532
+ [ActiveJob] [DripperJob] [f6c380da-d471-4f6c-898f-080fa93c67ce] SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24536
+  (0.3ms) rollback transaction
24537
+  (0.0ms) begin transaction
24538
+ ---------------------------------
24539
+ Dripper::MessageTest: test_Config
24540
+ ---------------------------------
24541
+  (0.0ms) SAVEPOINT active_record_1
24542
+ SQL (0.2ms) INSERT INTO "users" ("email", "username", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24544
+  (0.0ms) SAVEPOINT active_record_1
24545
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24547
+  (0.0ms) SAVEPOINT active_record_1
24548
+ SQL (0.0ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "foo3@bar.com"], ["created_at", "2016-04-08 00:38:11.988715"], ["updated_at", "2016-04-08 00:38:11.988715"]]
24549
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24550
+ Dripper::Action Load (0.0ms) 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"]]
24551
+  (0.0ms) SAVEPOINT active_record_1
24552
+ SQL (0.1ms) INSERT INTO "dripper_actions" ("action", "mailer", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action", "welcome"], ["mailer", "user_mailer"], ["created_at", "2016-04-08 00:38:11.989952"], ["updated_at", "2016-04-08 00:38:11.989952"]]
24553
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24554
+ Dripper::Action Load (0.0ms) 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"]]
24555
+  (0.0ms) SAVEPOINT active_record_1
24556
+ SQL (0.1ms) INSERT INTO "dripper_actions" ("action", "mailer", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action", "newsletter"], ["mailer", "user_mailer"], ["created_at", "2016-04-08 00:38:11.990976"], ["updated_at", "2016-04-08 00:38:11.990976"]]
24557
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24558
+  (1.9ms) rollback transaction
24559
+  (0.1ms) begin transaction
24560
+ --------------------------------------
24561
+ Dripper::MessageTest: test_Integration
24562
+ --------------------------------------
24563
+  (0.0ms) SAVEPOINT active_record_1
24564
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24566
+  (0.0ms) SAVEPOINT active_record_1
24567
+ SQL (0.2ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "foo2@bar.com"], ["created_at", "2016-04-08 00:38:11.995118"], ["updated_at", "2016-04-08 00:38:11.995118"]]
24568
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24569
+  (0.0ms) SAVEPOINT active_record_1
24570
+ SQL (0.0ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24572
+ Dripper::Action Load (0.0ms) 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
+  (0.0ms) SAVEPOINT active_record_1
24574
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24576
+ Dripper::Action Load (0.0ms) 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
+  (0.0ms) SAVEPOINT active_record_1
24578
+ SQL (0.0ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24580
+ Dripper::Action Load (0.0ms) SELECT "dripper_actions".* FROM "dripper_actions" WHERE "dripper_actions"."action" = ? AND "dripper_actions"."mailer" = ? LIMIT 1 [["action", "welcome"], ["mailer", "user_mailer"]]
24581
+ User Load (0.1ms) 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:11.000000') [["drippable_type", "User"], ["dripper_action_id", 1]]
24582
+  (0.0ms) SAVEPOINT active_record_1
24583
+ SQL (0.1ms) 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.000459"], ["updated_at", "2016-04-08 00:38:12.000459"]]
24584
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24585
+  (0.0ms) SAVEPOINT active_record_1
24586
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24588
+  (0.0ms) SAVEPOINT active_record_1
24589
+ SQL (0.0ms) 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.002305"], ["updated_at", "2016-04-08 00:38:12.002305"]]
24590
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24591
+ Dripper::Action Load (0.0ms) SELECT "dripper_actions".* FROM "dripper_actions" WHERE "dripper_actions"."action" = ? AND "dripper_actions"."mailer" = ? LIMIT 1 [["action", "newsletter"], ["mailer", "user_mailer"]]
24592
+ User Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
24594
+ SQL (0.0ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24596
+  (0.5ms) rollback transaction
24597
+  (0.1ms) begin transaction
24598
+ -----------------------------------
24599
+ Dripper::RunTwiceTest: test_2nd_Run
24600
+ -----------------------------------
24601
+ Dripper::Action Load (0.1ms) 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
+  (0.1ms) SAVEPOINT active_record_1
24603
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24605
+ Dripper::Action Load (0.1ms) 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
+  (0.1ms) SAVEPOINT active_record_1
24607
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24609
+  (0.0ms) SAVEPOINT active_record_1
24610
+ SQL (0.1ms) INSERT INTO "users" ("email", "username", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24612
+  (0.0ms) SAVEPOINT active_record_1
24613
+ SQL (0.0ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24615
+  (0.0ms) SAVEPOINT active_record_1
24616
+ SQL (0.0ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "foo3@bar.com"], ["created_at", "2016-04-08 00:38:12.014407"], ["updated_at", "2016-04-08 00:38:12.014407"]]
24617
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24618
+ Dripper::Action Load (0.0ms) SELECT "dripper_actions".* FROM "dripper_actions" WHERE "dripper_actions"."action" = ? AND "dripper_actions"."mailer" = ? LIMIT 1 [["action", "welcome"], ["mailer", "user_mailer"]]
24619
+ User Load (0.1ms) 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
+  (0.1ms) SAVEPOINT active_record_1
24667
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  (0.0ms) SAVEPOINT active_record_1
24716
+ SQL (0.1ms) 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.148565"], ["updated_at", "2016-04-08 00:38:12.148565"]]
24717
+  (0.0ms) 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
+  (0.0ms) SAVEPOINT active_record_1
24765
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24767
+ Dripper::Action Load (0.0ms) SELECT "dripper_actions".* FROM "dripper_actions" WHERE "dripper_actions"."action" = ? AND "dripper_actions"."mailer" = ? LIMIT 1 [["action", "newsletter"], ["mailer", "user_mailer"]]
24768
+ User Load (0.1ms) 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]]
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
+  (0.0ms) SAVEPOINT active_record_1
24816
+ SQL (0.1ms) 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.165954"], ["updated_at", "2016-04-08 00:38:12.165954"]]
24817
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24818
+ Dripper::Action Load (0.0ms) SELECT "dripper_actions".* FROM "dripper_actions" WHERE "dripper_actions"."action" = ? AND "dripper_actions"."mailer" = ? LIMIT 1 [["action", "welcome"], ["mailer", "user_mailer"]]
24819
+ User Load (0.1ms) 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
+ Dripper::Action Load (0.0ms) SELECT "dripper_actions".* FROM "dripper_actions" WHERE "dripper_actions"."action" = ? AND "dripper_actions"."mailer" = ? LIMIT 1 [["action", "newsletter"], ["mailer", "user_mailer"]]
24821
+ User Load (0.1ms) 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
+  (0.4ms) rollback transaction
24823
+  (0.0ms) begin transaction
24824
+ -----------------------
24825
+ DripperTest: test_truth
24826
+ -----------------------
24827
+  (0.0ms) rollback transaction
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.1
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-07 00:00:00.000000000 Z
11
+ date: 2016-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails