push_type_auth 0.10.0.beta.5 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/test/dummy/config/initializers/push_type.rb +1 -1
  3. data/test/dummy/config/secrets.yml +2 -2
  4. data/test/dummy/db/migrate/{20161117154613_create_push_type_users.push_type.rb → 20161121193509_create_push_type_users.push_type.rb} +0 -0
  5. data/test/dummy/db/migrate/{20161117154614_create_push_type_nodes.push_type.rb → 20161121193510_create_push_type_nodes.push_type.rb} +0 -0
  6. data/test/dummy/db/migrate/{20161117154615_create_push_type_node_hierarchies.push_type.rb → 20161121193511_create_push_type_node_hierarchies.push_type.rb} +0 -0
  7. data/test/dummy/db/migrate/{20161117154616_create_push_type_assets.push_type.rb → 20161121193512_create_push_type_assets.push_type.rb} +0 -0
  8. data/test/dummy/db/migrate/{20161117154617_add_field_store_default_values.push_type.rb → 20161121193513_add_field_store_default_values.push_type.rb} +0 -0
  9. data/test/dummy/db/migrate/{20161117154618_drop_legacy_push_type_taxonomies.push_type.rb → 20161121193514_drop_legacy_push_type_taxonomies.push_type.rb} +0 -0
  10. data/test/dummy/db/migrate/{20161117154619_devise_extend_push_type_users.push_type_auth.rb → 20161121193515_devise_extend_push_type_users.push_type_auth.rb} +0 -0
  11. data/test/dummy/db/schema.rb +1 -1
  12. data/test/dummy/log/test.log +929 -929
  13. data/test/dummy/tmp/cache/assets/sprockets/v3.0/-u/-uA3ner0KC5JP2cgDrCF-EW4eJJjbbrSXo0mid0Lkpc.cache +0 -0
  14. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{jF/JfFY8lonU0I2AsjpzdVowD_AffLyeoyVuKpJsOYEcIo.cache → 0N/0Nvn7amCm57gbQXtwkY0sUrR2GCy1vkC1KaQYFHkhms.cache} +0 -0
  15. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Q-/Q-B0KjMjeZvFEILBNwaZ3canWwqm1KdOv3vK7gxyGl4.cache → 5Q/5QpeVAOa25LEn0s5YFyK55MCsKW7MYvk9HLaLGpbiRE.cache} +0 -0
  16. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{NM/NMZLRB60V8XQfWizqeahYNXIvFKZxe0aOxG02Lc7_go.cache → An/AnWgN435yfoa_iAQnQM-6Po3I7FkVZfpoj66JLodaas.cache} +1 -1
  17. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Cu/Cu95HOeuYx3eBsNSNUQmudIe3mzpg8Ec_3qGXhoFL64.cache → Dq/DqAtSAHTRLmpmjRpej_g_-2xn92Qc8KuRd_ddqvq5JA.cache} +0 -0
  18. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Dw/DwdggQXm6ZH-aSLBuTvkYGR62EsUEwC4ENjTpk0m2L4.cache +0 -0
  19. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{vn/vnS8iRHnjRA-xraHK0MkzVsrys1g7mm2NOoBd3dHSCg.cache → GL/GLygLUnq7VxWNF71j0mD6qJb0_qH3pzsyY9tlIjOZHY.cache} +0 -0
  20. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{iu → IU}/IUrx_cz11W6a7Js_I-zzSgQEpw58K2zYnJsvznf71Pg.cache +0 -0
  21. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{iu → IU}/iueRqT5f_OEnnwWdS4llGbZmYIG3GbfMUoCvqcj3Lww.cache +0 -0
  22. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{lI/lIwIyXK_adgmCIiq5HRbz5j259OJS28RA1CM7C2_vkA.cache → KD/KDwgIXsUyc9A7EAbIu8WzeUgd0jNZWARnXWe7SRraeA.cache} +1 -1
  23. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{kD → KD}/kDWd6eVuC0_YkAM77VEqzOByead1OzgtxvB79NVWsus.cache +0 -0
  24. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{ZZ/ZZ7607am6Ae1GUHaDTN11SAKDGzTNAb_MfObVWfY6-c.cache → L4/L4cES5iTQPpCM37s9Ix7BxC5rPscNmeo9trPYDmt0ac.cache} +0 -0
  25. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{l4 → L4}/l4aRD3nvzXXX77_d2YICKdzGX-t1yUD6g2DS_-1tBok.cache +0 -0
  26. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{lI → LI}/LIce03ly1VwHLAuP5vxGhuLd3UPJnVz4vbLj8pq9dpU.cache +0 -0
  27. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{lI → LI}/LiqLaDwSUoYbRZB-2TkFN_ex20rlkF3Mbzc5CGI_wOQ.cache +0 -0
  28. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Pv/Pva-QI8VTid93HRJYYn0W7nrWgtNyy430BeLt2_qauE.cache → Rk/RkTYl4HRg9X2IDopr7y4jcVm5X5zY6FeTRa6gEmyc6U.cache} +0 -0
  29. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{rk → Rk}/rk-TKZt4mkxsPx-rMEICwXmyd10au7m70oRoijbv91M.cache +0 -0
  30. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{rk → Rk}/rkkl0h-NZF2Azjxs0dVM9v43bAPsOER2ZplZlqLFYAE.cache +0 -0
  31. data/test/dummy/tmp/cache/assets/sprockets/v3.0/V4/V4Z5NswvwJe0sjx2f-PpdeYMd_f9NrvkHNvGtWCId2s.cache +0 -0
  32. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{xM → XM}/XM3DBlByPxBkHmk_0YnTMQRksSqlxv1pXVEhlfudgp8.cache +0 -0
  33. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{xM → XM}/xM5dCtEPcOYxMSYPooGY0_4u2CGeuPmpv3UpjTL_fr0.cache +0 -0
  34. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{yi → YI}/YIwPgyIyY2ckKJBjv0IGN2eNWiG0R6cqt4K7JY3H5Sc.cache +0 -0
  35. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{yi → YI}/yict4FJOAq2YqQ0pSFNtz7mcoJXKPqQrgRP1O3o5Z0s.cache +0 -0
  36. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Yg/Yg7x_SeJVjWObBMrvjJlYzt_NHDWapfLi8j9JsxtcIk.cache +0 -0
  37. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Yl/YlleUgGeLyPgqS37Oj7_2VR6pJSl9CF-d_n6W_bl280.cache +1 -0
  38. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{yL → Yl}/yLS-fGKlQTnGAyOj2oc8QEnKO-DB2TKnDA2xaGy5yxQ.cache +0 -0
  39. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Zw/ZWNd-UXV0xpgcmo0JjbKJN5tyYJ5EMVnkKK1FoN321Y.cache +0 -0
  40. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{ZZ → Zz}/Zz4ooiEyGY1LWqg-z3eJ7TvTPBwNYgZ4i0gawFnxC3I.cache +0 -0
  41. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{ZZ → Zz}/zzMATx5AELoZwySbX4AyioljtaXA4azoqZQr3YwVscE.cache +0 -0
  42. data/test/dummy/tmp/cache/assets/sprockets/v3.0/c9/c91vSpII3Sqf5SqPgMSaVb7ztdOIRs8mA6JXFwwBnyE.cache +0 -0
  43. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Cu → cu}/cuPU9xIfihBdB1wVF4O7YtxB9Ml2l2aUIZTdRa89yJs.cache +0 -0
  44. data/test/dummy/tmp/cache/assets/sprockets/v3.0/dm/dmIWp3QDSff8nWm7N9Y3htzjHvHSFC_XC3CaVXDIrZM.cache +0 -0
  45. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{TW/TWYxOlxuwoh_ai5opT2v7vGKuP78hsGlXghACmUFR9Y.cache → do/dOJUHAceD6PEVDmBNQfG5JI2knVwj3yewZRdmdbfahQ.cache} +0 -0
  46. data/test/dummy/tmp/cache/assets/sprockets/v3.0/h6/H6n13_F6qgolR_b4bPWT5jrgAmT7OtEcZm6F32trMDg.cache +0 -0
  47. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ht/htl1DWXkM5FElPADSdpns20k48A5YN4Nii0Dy_amvnM.cache +0 -0
  48. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Nb → nB}/NbbOFtOTx6E10lpzGRjncOYUoZQxkr3RCYADZOahnFU.cache +0 -0
  49. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{FI/FIFcActZGNpg4vqbxLfvq6tSmdI1xar7todQp9oCmn8.cache → nB/nB3gaJYWhR_WUeneROkCwm_e__9BxKzItrpYlC_QOMY.cache} +0 -0
  50. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{K3/K3vx_EKfCpzmIdo7jrOa_5R0vjJPnmTjBtH56Wsdt6w.cache → of/oFteK3Ba1XSWqxWPg66XDwHNkfePX4Q-xEt-T6s5xhc.cache} +0 -0
  51. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Pv → pv}/pvK2qYi5PX3OV5hnjBsWcpBFRewHA5xGdRe1XS908kU.cache +0 -0
  52. data/test/dummy/tmp/cache/assets/sprockets/v3.0/tL/TlKBfTWl0DYv-eJ_kRs8pmYqovVrqylGfemHNyQkJYY.cache +0 -0
  53. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Oo/oOxhWn-jO1h9FV6j-kkZ_W0qb-W-uada3FZvRiJAoCQ.cache → uG/uGOJBd0aYdJvAm7V5MSM2zeTALm6QP-pwA4z-gAoAYE.cache} +1 -1
  54. data/test/dummy/tmp/cache/assets/sprockets/v3.0/uk/UKN7Zp2jICMXkcPuptMjtj-3Zf2lwQIr032GHSdlM-w.cache +0 -0
  55. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{tt/tt8CCaYLaRc8blfKCYrHNUSTlnXLkRDBgCbshaFbjbM.cache → wj/WJQlP8t22An6XBuQaDwmWt5Jq7NV_TUdu4HUWZV1glU.cache} +0 -0
  56. metadata +92 -92
  57. data/test/dummy/tmp/cache/assets/sprockets/v3.0/3O/3OSvESZHwsmJZcTIspnlF01U6ojhEQ9ieu_dNmSP4fM.cache +0 -0
  58. data/test/dummy/tmp/cache/assets/sprockets/v3.0/f3/f3arewg1TEV5w4JI09f2DaSGdPB1qeE_zpTPSuMzvt0.cache +0 -1
  59. data/test/dummy/tmp/cache/assets/sprockets/v3.0/rc/RcIJ3oZ3acP0fYMMEQKIatsIvlZNjIcg8-q0pEJ8AiY.cache +0 -0
@@ -1,81 +1,81 @@
1
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
1
+ ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
2
2
   (0.1ms) BEGIN
3
- SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-17 15:46:08 UTC], ["updated_at", 2016-11-17 15:46:08 UTC]]
4
-  (0.7ms) COMMIT
3
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-21 19:35:03 UTC], ["updated_at", 2016-11-21 19:35:03 UTC]]
4
+  (0.5ms) COMMIT
5
5
  ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
6
6
   (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
7
7
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8
8
   (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
9
9
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
10
-  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
11
-  (199.3ms) DROP DATABASE IF EXISTS "dummy_test"
12
-  (403.1ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
13
-  (3.9ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
14
-  (1.9ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
15
-  (0.1ms) SELECT pg_try_advisory_lock(2735718569030447490);
10
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
11
+  (192.3ms) DROP DATABASE IF EXISTS "dummy_test"
12
+  (704.9ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
13
+  (5.0ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
14
+  (2.1ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
15
+  (0.2ms) SELECT pg_try_advisory_lock(2735718569030447490);
16
16
  ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
17
- Migrating to CreatePushTypeUsers (20161117154613)
17
+ Migrating to CreatePushTypeUsers (20161121193509)
18
18
   (0.1ms) BEGIN
19
- SQL (2.0ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
20
-  (2.1ms) CREATE TABLE "push_type_users" ("id" uuid DEFAULT uuid_generate_v4() PRIMARY KEY, "name" character varying, "email" character varying, "field_store" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
21
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161117154613"]]
22
-  (0.6ms) COMMIT
23
- Migrating to CreatePushTypeNodes (20161117154614)
19
+ SQL (14.6ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
20
+  (3.5ms) CREATE TABLE "push_type_users" ("id" uuid DEFAULT uuid_generate_v4() PRIMARY KEY, "name" character varying, "email" character varying, "field_store" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
21
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161121193509"]]
22
+  (0.7ms) COMMIT
23
+ Migrating to CreatePushTypeNodes (20161121193510)
24
24
   (0.1ms) BEGIN
25
-  (2.0ms) CREATE TABLE "push_type_nodes" ("id" uuid DEFAULT uuid_generate_v4() PRIMARY KEY, "type" character varying, "title" character varying, "slug" character varying, "field_store" jsonb, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
26
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161117154614"]]
25
+  (2.1ms) CREATE TABLE "push_type_nodes" ("id" uuid DEFAULT uuid_generate_v4() PRIMARY KEY, "type" character varying, "title" character varying, "slug" character varying, "field_store" jsonb, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
26
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161121193510"]]
27
27
   (0.5ms) COMMIT
28
- Migrating to CreatePushTypeNodeHierarchies (20161117154615)
29
-  (0.1ms) BEGIN
30
-  (0.5ms) CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)
31
-  (0.8ms) CREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")
32
-  (0.5ms) CREATE INDEX "node_desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
33
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161117154615"]]
34
-  (0.4ms) COMMIT
35
- Migrating to CreatePushTypeAssets (20161117154616)
28
+ Migrating to CreatePushTypeNodeHierarchies (20161121193511)
29
+  (0.3ms) BEGIN
30
+  (0.7ms) CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)
31
+  (1.3ms) CREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")
32
+  (0.7ms) CREATE INDEX "node_desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
33
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161121193511"]]
34
+  (0.5ms) COMMIT
35
+ Migrating to CreatePushTypeAssets (20161121193512)
36
36
   (0.1ms) BEGIN
37
37
   (1.8ms) CREATE TABLE "push_type_assets" ("id" uuid DEFAULT uuid_generate_v4() PRIMARY KEY, "file_uid" character varying, "file_name" character varying, "file_size" integer, "file_ext" character varying, "mime_type" character varying, "description" character varying, "uploader_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
38
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161117154616"]]
39
-  (0.5ms) COMMIT
40
- Migrating to AddFieldStoreDefaultValues (20161117154617)
38
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161121193512"]]
39
+  (0.4ms) COMMIT
40
+ Migrating to AddFieldStoreDefaultValues (20161121193513)
41
41
   (0.1ms) BEGIN
42
-  (0.2ms) ALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" TYPE jsonb
42
+  (0.3ms) ALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" TYPE jsonb
43
43
   (0.2ms) ALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" SET DEFAULT '{}'
44
-  (0.2ms) UPDATE "push_type_nodes" SET "field_store"='{}' WHERE "field_store" IS NULL
44
+  (0.4ms) UPDATE "push_type_nodes" SET "field_store"='{}' WHERE "field_store" IS NULL
45
45
   (0.1ms) ALTER TABLE "push_type_nodes" ALTER "field_store" SET NOT NULL
46
-  (0.2ms) ALTER TABLE "push_type_users" ALTER COLUMN "field_store" TYPE jsonb
46
+  (0.3ms) ALTER TABLE "push_type_users" ALTER COLUMN "field_store" TYPE jsonb
47
47
   (0.2ms) ALTER TABLE "push_type_users" ALTER COLUMN "field_store" SET DEFAULT '{}'
48
-  (0.2ms) UPDATE "push_type_users" SET "field_store"='{}' WHERE "field_store" IS NULL
49
-  (0.2ms) ALTER TABLE "push_type_users" ALTER "field_store" SET NOT NULL
50
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161117154617"]]
51
-  (0.6ms) COMMIT
52
- Migrating to DropLegacyPushTypeTaxonomies (20161117154618)
53
-  (0.1ms) BEGIN
54
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161117154618"]]
48
+  (0.3ms) UPDATE "push_type_users" SET "field_store"='{}' WHERE "field_store" IS NULL
49
+  (0.1ms) ALTER TABLE "push_type_users" ALTER "field_store" SET NOT NULL
50
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161121193513"]]
55
51
   (0.4ms) COMMIT
56
- Migrating to DeviseExtendPushTypeUsers (20161117154619)
52
+ Migrating to DropLegacyPushTypeTaxonomies (20161121193514)
53
+  (0.1ms) BEGIN
54
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161121193514"]]
55
+  (0.3ms) COMMIT
56
+ Migrating to DeviseExtendPushTypeUsers (20161121193515)
57
57
   (0.1ms) BEGIN
58
58
   (2.7ms) ALTER TABLE "push_type_users" ADD "encrypted_password" character varying DEFAULT '' NOT NULL
59
59
   (0.2ms) ALTER TABLE "push_type_users" ADD "reset_password_token" character varying
60
60
   (0.2ms) ALTER TABLE "push_type_users" ADD "reset_password_sent_at" timestamp
61
-  (0.1ms) ALTER TABLE "push_type_users" ADD "remember_created_at" timestamp
62
-  (2.2ms) ALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
61
+  (0.2ms) ALTER TABLE "push_type_users" ADD "remember_created_at" timestamp
62
+  (2.5ms) ALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
63
63
   (0.2ms) ALTER TABLE "push_type_users" ADD "current_sign_in_at" timestamp
64
64
   (0.1ms) ALTER TABLE "push_type_users" ADD "last_sign_in_at" timestamp
65
65
   (0.1ms) ALTER TABLE "push_type_users" ADD "current_sign_in_ip" character varying
66
-  (0.1ms) ALTER TABLE "push_type_users" ADD "last_sign_in_ip" character varying
67
-  (0.1ms) ALTER TABLE "push_type_users" ADD "confirmation_token" character varying
66
+  (0.3ms) ALTER TABLE "push_type_users" ADD "last_sign_in_ip" character varying
67
+  (0.2ms) ALTER TABLE "push_type_users" ADD "confirmation_token" character varying
68
68
   (0.1ms) ALTER TABLE "push_type_users" ADD "confirmed_at" timestamp
69
69
   (0.1ms) ALTER TABLE "push_type_users" ADD "confirmation_sent_at" timestamp
70
-  (0.6ms) CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")
71
-  (0.5ms) CREATE UNIQUE INDEX "index_push_type_users_on_reset_password_token" ON "push_type_users" ("reset_password_token")
72
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161117154619"]]
73
-  (1.0ms) COMMIT
74
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
70
+  (0.8ms) CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")
71
+  (0.7ms) CREATE UNIQUE INDEX "index_push_type_users_on_reset_password_token" ON "push_type_users" ("reset_password_token")
72
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161121193515"]]
73
+  (1.1ms) COMMIT
74
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
75
75
   (0.1ms) BEGIN
76
- SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-17 15:46:16 UTC], ["updated_at", 2016-11-17 15:46:16 UTC]]
76
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-21 19:35:12 UTC], ["updated_at", 2016-11-21 19:35:12 UTC]]
77
77
   (0.5ms) COMMIT
78
-  (0.1ms) SELECT pg_advisory_unlock(2735718569030447490)
78
+  (0.2ms) SELECT pg_advisory_unlock(2735718569030447490)
79
79
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
80
80
   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
81
81
  FROM pg_constraint c
@@ -101,7 +101,7 @@ WHERE c.contype = 'f'
101
101
  AND t3.nspname = ANY (current_schemas(false))
102
102
  ORDER BY c.conname
103
103
  
104
-  (1.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
104
+  (1.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
105
105
  FROM pg_constraint c
106
106
  JOIN pg_class t1 ON c.conrelid = t1.oid
107
107
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -125,144 +125,68 @@ WHERE c.contype = 'f'
125
125
  AND t3.nspname = ANY (current_schemas(false))
126
126
  ORDER BY c.conname
127
127
  
128
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
128
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
129
129
  Creating scope :published. Overwriting existing method PushType::Node.published.
130
130
   (0.1ms) BEGIN
131
-  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL
131
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL
132
132
   (0.1ms) COMMIT
133
-  (1.0ms)  SELECT schemaname || '.' || tablename
133
+  (0.9ms)  SELECT schemaname || '.' || tablename
134
134
  FROM pg_tables
135
135
  WHERE
136
136
  tablename !~ '_prt_' AND
137
137
  tablename <> 'schema_migrations' AND
138
138
  schemaname = ANY (current_schemas(false))
139
139
  
140
-  (0.9ms) select table_name from information_schema.views where table_schema = 'dummy_test'
141
-  (9.8ms) TRUNCATE TABLE "public"."ar_internal_metadata", "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_assets", "public"."push_type_users" RESTART IDENTITY CASCADE;
140
+  (1.2ms) select table_name from information_schema.views where table_schema = 'dummy_test'
141
+  (28.7ms) TRUNCATE TABLE "public"."ar_internal_metadata", "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_assets", "public"."push_type_users" RESTART IDENTITY CASCADE;
142
142
   (0.1ms) BEGIN
143
-  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL
143
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL
144
144
   (0.1ms) COMMIT
145
145
   (0.1ms) BEGIN
146
- ------------------------------------------------------------------------------------------------------
147
- PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
148
- ------------------------------------------------------------------------------------------------------
149
-  (0.1ms) SAVEPOINT active_record_1
150
-  (0.1ms) RELEASE SAVEPOINT active_record_1
151
-  (0.1ms) SAVEPOINT active_record_1
152
- Processing by PushType::ConfirmationsController#show as HTML
153
- Parameters: {"confirmation_token"=>"invalid"}
154
- PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
155
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
156
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "a168dc8277b63168238969053cff2c04941280886be3437deff95405123e07e0"], ["LIMIT", 1]]
157
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
158
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.3ms)
159
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (18.4ms)
160
- DEPRECATION WARNING on line 78 of /Users/aaron/.rvm/gems/ruby-2.3.1@push_type/gems/foundation-rails-5.5.3.2/vendor/assets/stylesheets/foundation/components/_top-bar.scss: #{} interpolation near operators will be simplified
161
- in a future version of Sass. To preserve the current behavior, use quotes:
162
-
163
- unquote("#{lower-bound($medium-range)}")
164
-
165
-
166
- Completed 200 OK in 13468ms (Views: 13254.9ms | ActiveRecord: 3.3ms)
167
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
168
-  (0.2ms) ROLLBACK
169
-  (0.1ms) BEGIN
170
- ------------------------------------------------------------------------------------------------------
171
- PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0002_anonymous
172
- ------------------------------------------------------------------------------------------------------
173
-  (0.1ms) SAVEPOINT active_record_1
174
-  (0.1ms) RELEASE SAVEPOINT active_record_1
175
-  (0.0ms) SAVEPOINT active_record_1
176
- Processing by PushType::ConfirmationsController#show as HTML
177
- Parameters: {"confirmation_token"=>"invalid"}
178
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
179
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
180
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "a168dc8277b63168238969053cff2c04941280886be3437deff95405123e07e0"], ["LIMIT", 1]]
181
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
182
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
183
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.7ms)
184
- Completed 200 OK in 9ms (Views: 5.6ms | ActiveRecord: 0.6ms)
185
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
186
-  (0.1ms) ROLLBACK
187
-  (0.1ms) BEGIN
188
- --------------------------------------------------------
189
- PushType::AuthenticationMethodsTest: test_0001_anonymous
190
- --------------------------------------------------------
191
-  (0.1ms) SAVEPOINT active_record_1
192
-  (0.0ms) RELEASE SAVEPOINT active_record_1
193
-  (0.0ms) SAVEPOINT active_record_1
194
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
195
-  (0.0ms) ROLLBACK
196
-  (0.1ms) BEGIN
197
- --------------------------------------------------------
198
- PushType::AuthenticationMethodsTest: test_0002_anonymous
199
- --------------------------------------------------------
200
-  (0.1ms) SAVEPOINT active_record_1
201
-  (0.1ms) RELEASE SAVEPOINT active_record_1
202
-  (0.0ms) SAVEPOINT active_record_1
203
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
204
-  (0.0ms) ROLLBACK
205
-  (0.1ms) BEGIN
206
- ----------------------------------------------------------------------------
207
- AuthenticatedApiControllerTest::unauthenticated request: test_0001_anonymous
208
- ----------------------------------------------------------------------------
209
-  (0.0ms) SAVEPOINT active_record_1
210
-  (0.0ms) RELEASE SAVEPOINT active_record_1
211
-  (0.0ms) SAVEPOINT active_record_1
212
- Started GET "/api/nodes" for 127.0.0.1 at 2016-11-17 15:46:34 +0000
213
- Processing by PushType::Api::NodesController#index as JSON
214
- Filter chain halted as :authenticate_user! rendered or redirected
215
- Completed 401 Unauthorized in 17ms (ActiveRecord: 0.0ms)
216
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
217
-  (0.1ms) ROLLBACK
218
-  (0.0ms) BEGIN
219
146
  ----------------------------------------------------------------
220
147
  PushType::AuthenticatableTest::rememberable: test_0001_anonymous
221
148
  ----------------------------------------------------------------
222
149
   (0.1ms) SAVEPOINT active_record_1
223
150
   (0.0ms) RELEASE SAVEPOINT active_record_1
224
-  (0.0ms) SAVEPOINT active_record_1
225
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
226
-  (0.1ms) ROLLBACK
227
-  (0.1ms) BEGIN
228
- ---------------------------------------------------------------
229
- PushType::AuthenticatableTest::recoverable: test_0001_anonymous
230
- ---------------------------------------------------------------
231
151
   (0.1ms) SAVEPOINT active_record_1
232
-  (0.0ms) RELEASE SAVEPOINT active_record_1
233
-  (0.0ms) SAVEPOINT active_record_1
234
152
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
235
153
   (0.1ms) ROLLBACK
236
-  (0.2ms) BEGIN
237
- ------------------------------------------------------------------------------------------
238
- PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0002_anonymous
239
- ------------------------------------------------------------------------------------------
154
+  (0.1ms) BEGIN
155
+ ----------------------------------------------------------------------------------------
156
+ PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0002_anonymous
157
+ ----------------------------------------------------------------------------------------
240
158
   (0.1ms) SAVEPOINT active_record_1
241
159
   (0.1ms) RELEASE SAVEPOINT active_record_1
242
160
   (0.1ms) SAVEPOINT active_record_1
243
161
   (0.1ms) SAVEPOINT active_record_2
162
+ PushType::User Exists (0.5ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-1@example.com"], ["LIMIT", 1]]
244
163
  PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-1@example.com"], ["LIMIT", 1]]
245
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-1@example.com"], ["LIMIT", 1]]
246
- SQL (1.0ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-1@example.com"], ["created_at", 2016-11-17 15:46:34 UTC], ["updated_at", 2016-11-17 15:46:34 UTC], ["confirmation_token", "SM8JydGKGRkuT11VDR4P"], ["confirmation_sent_at", 2016-11-17 15:46:34 UTC]]
164
+ SQL (1.3ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-1@example.com"], ["created_at", 2016-11-21 19:35:17 UTC], ["updated_at", 2016-11-21 19:35:17 UTC], ["confirmation_token", "HUB9RjJLo67UGqZ4DKBy"], ["confirmation_sent_at", 2016-11-21 19:35:17 UTC]]
247
165
   (0.1ms) RELEASE SAVEPOINT active_record_2
248
166
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
249
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (1.0ms)
250
- Devise::Mailer#confirmation_instructions: processed outbound mail in 191.5ms
251
- Sent mail to joe-1@example.com (9.9ms)
252
- Date: Thu, 17 Nov 2016 15:46:34 +0000
167
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (6.4ms)
168
+ DEPRECATION WARNING on line 78 of /Users/aaron/.rvm/gems/ruby-2.3.1@push_type/gems/foundation-rails-5.5.3.2/vendor/assets/stylesheets/foundation/components/_top-bar.scss: #{} interpolation near operators will be simplified
169
+ in a future version of Sass. To preserve the current behavior, use quotes:
170
+
171
+ unquote("#{lower-bound($medium-range)}")
172
+
173
+
174
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 13058.3ms
175
+ Sent mail to joe-1@example.com (10.9ms)
176
+ Date: Mon, 21 Nov 2016 19:35:30 +0000
253
177
  From: pushtype@example.com
254
178
  Reply-To: pushtype@example.com
255
179
  To: joe-1@example.com
256
- Message-ID: <582dd0dad154b_d4703fd50d43f9c82483a@Aarons-iMac.local.mail>
180
+ Message-ID: <58334c825aafd_79d13fe85c43f9e88904e@Aarons-iMac.local.mail>
257
181
  Subject: [PushType] Confirm your account
258
182
  Mime-Version: 1.0
259
183
  Content-Type: multipart/alternative;
260
- boundary="--==_mimepart_582dd0dad00f6_d4703fd50d43f9c824773";
184
+ boundary="--==_mimepart_58334c825938d_79d13fe85c43f9e88896e";
261
185
  charset=UTF-8
262
186
  Content-Transfer-Encoding: 7bit
263
187
 
264
188
 
265
- ----==_mimepart_582dd0dad00f6_d4703fd50d43f9c824773
189
+ ----==_mimepart_58334c825938d_79d13fe85c43f9e88896e
266
190
  Content-Type: text/plain;
267
191
  charset=UTF-8
268
192
  Content-Transfer-Encoding: 7bit
@@ -278,11 +202,11 @@ To get started, confirm your account and set your own password by
278
202
  clicking the link below:
279
203
 
280
204
  Confirm my account
281
- ( http://localhost:3000/admin/confirmation.ad1375bc-f7d1-40d8-981e-864ff655e61d?confirmation_token=SM8JydGKGRkuT11VDR4P )
205
+ ( http://localhost:3000/admin/confirmation.2b4ff827-1b99-4207-8bc1-5f319819c0a0?confirmation_token=HUB9RjJLo67UGqZ4DKBy )
282
206
 
283
207
 
284
208
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
285
- ----==_mimepart_582dd0dad00f6_d4703fd50d43f9c824773
209
+ ----==_mimepart_58334c825938d_79d13fe85c43f9e88896e
286
210
  Content-Type: text/html;
287
211
  charset=UTF-8
288
212
  Content-Transfer-Encoding: 7bit
@@ -328,7 +252,7 @@ body {
328
252
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
329
253
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
330
254
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
331
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.ad1375bc-f7d1-40d8-981e-864ff655e61d?confirmation_token=SM8JydGKGRkuT11VDR4P" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
255
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.2b4ff827-1b99-4207-8bc1-5f319819c0a0?confirmation_token=HUB9RjJLo67UGqZ4DKBy" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
332
256
  </td>
333
257
  </tr>
334
258
  </table>
@@ -373,48 +297,52 @@ body {
373
297
  </body>
374
298
  </html>
375
299
 
376
- ----==_mimepart_582dd0dad00f6_d4703fd50d43f9c824773--
300
+ ----==_mimepart_58334c825938d_79d13fe85c43f9e88896e--
377
301
 
378
302
  Processing by PushType::ConfirmationsController#update as HTML
379
- Parameters: {"user"=>{"confirmation_token"=>"SM8JydGKGRkuT11VDR4P", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
380
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "SM8JydGKGRkuT11VDR4P"], ["LIMIT", 1]]
381
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-1@example.com"], ["id", "ad1375bc-f7d1-40d8-981e-864ff655e61d"], ["LIMIT", 1]]
382
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
383
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.1ms)
384
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (9.1ms)
385
- Completed 200 OK in 23ms (Views: 19.3ms | ActiveRecord: 0.5ms)
303
+ Parameters: {"user"=>{"confirmation_token"=>"HUB9RjJLo67UGqZ4DKBy", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
304
+ PushType::User Load (7.0ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "HUB9RjJLo67UGqZ4DKBy"], ["LIMIT", 1]]
305
+ PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-1@example.com"], ["id", "2b4ff827-1b99-4207-8bc1-5f319819c0a0"], ["LIMIT", 1]]
306
+  (0.1ms) SAVEPOINT active_record_2
307
+ SQL (0.3ms) UPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["encrypted_password", "$2a$04$tm55CKGjgcK4Ds6Wk1jFmOmxju6gpAyVvGwMx8FVQlIWSbRt0B9bO"], ["confirmed_at", 2016-11-21 19:35:30 UTC], ["updated_at", 2016-11-21 19:35:30 UTC], ["id", "2b4ff827-1b99-4207-8bc1-5f319819c0a0"]]
308
+  (0.1ms) RELEASE SAVEPOINT active_record_2
309
+  (0.1ms) SAVEPOINT active_record_2
310
+ SQL (0.2ms) UPDATE "push_type_users" SET "updated_at" = $1, "sign_in_count" = $2, "current_sign_in_at" = $3, "last_sign_in_at" = $4, "current_sign_in_ip" = $5, "last_sign_in_ip" = $6 WHERE "push_type_users"."id" = $7 [["updated_at", 2016-11-21 19:35:30 UTC], ["sign_in_count", 1], ["current_sign_in_at", 2016-11-21 19:35:30 UTC], ["last_sign_in_at", 2016-11-21 19:35:30 UTC], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "2b4ff827-1b99-4207-8bc1-5f319819c0a0"]]
311
+  (0.1ms) RELEASE SAVEPOINT active_record_2
312
+ Redirected to http://test.host/admin/
313
+ Completed 302 Found in 30ms (ActiveRecord: 8.3ms)
386
314
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
387
-  (0.1ms) ROLLBACK
315
+  (0.2ms) ROLLBACK
388
316
   (0.1ms) BEGIN
389
- ------------------------------------------------------------------------------------------
390
- PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0001_anonymous
391
- ------------------------------------------------------------------------------------------
392
-  (0.1ms) SAVEPOINT active_record_1
393
-  (0.1ms) RELEASE SAVEPOINT active_record_1
394
-  (0.1ms) SAVEPOINT active_record_1
395
-  (0.1ms) SAVEPOINT active_record_2
317
+ ----------------------------------------------------------------------------------------
318
+ PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0001_anonymous
319
+ ----------------------------------------------------------------------------------------
320
+  (0.0ms) SAVEPOINT active_record_1
321
+  (0.0ms) RELEASE SAVEPOINT active_record_1
322
+  (0.0ms) SAVEPOINT active_record_1
323
+  (0.2ms) SAVEPOINT active_record_2
396
324
  PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-2@example.com"], ["LIMIT", 1]]
397
325
  PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-2@example.com"], ["LIMIT", 1]]
398
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-2@example.com"], ["created_at", 2016-11-17 15:46:34 UTC], ["updated_at", 2016-11-17 15:46:34 UTC], ["confirmation_token", "_eixzM1GBg3gggbU2xzx"], ["confirmation_sent_at", 2016-11-17 15:46:34 UTC]]
326
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-2@example.com"], ["created_at", 2016-11-21 19:35:30 UTC], ["updated_at", 2016-11-21 19:35:30 UTC], ["confirmation_token", "mkVxyXDhCaVT4xszQpq6"], ["confirmation_sent_at", 2016-11-21 19:35:30 UTC]]
399
327
   (0.1ms) RELEASE SAVEPOINT active_record_2
400
328
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
401
329
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
402
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.9ms
403
- Sent mail to joe-2@example.com (4.2ms)
404
- Date: Thu, 17 Nov 2016 15:46:34 +0000
330
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 3.1ms
331
+ Sent mail to joe-2@example.com (5.2ms)
332
+ Date: Mon, 21 Nov 2016 19:35:30 +0000
405
333
  From: pushtype@example.com
406
334
  Reply-To: pushtype@example.com
407
335
  To: joe-2@example.com
408
- Message-ID: <582dd0dae5577_d4703fd50d43f9c8251ab@Aarons-iMac.local.mail>
336
+ Message-ID: <58334c82709e1_79d13fe85c43f9e88939c@Aarons-iMac.local.mail>
409
337
  Subject: [PushType] Confirm your account
410
338
  Mime-Version: 1.0
411
339
  Content-Type: multipart/alternative;
412
- boundary="--==_mimepart_582dd0dae4fef_d4703fd50d43f9c8250bc";
340
+ boundary="--==_mimepart_58334c8270314_79d13fe85c43f9e889250";
413
341
  charset=UTF-8
414
342
  Content-Transfer-Encoding: 7bit
415
343
 
416
344
 
417
- ----==_mimepart_582dd0dae4fef_d4703fd50d43f9c8250bc
345
+ ----==_mimepart_58334c8270314_79d13fe85c43f9e889250
418
346
  Content-Type: text/plain;
419
347
  charset=UTF-8
420
348
  Content-Transfer-Encoding: 7bit
@@ -430,11 +358,11 @@ To get started, confirm your account and set your own password by
430
358
  clicking the link below:
431
359
 
432
360
  Confirm my account
433
- ( http://localhost:3000/admin/confirmation.694e526d-3bbd-44b6-bbd6-6f7d8c4ec3b7?confirmation_token=_eixzM1GBg3gggbU2xzx )
361
+ ( http://localhost:3000/admin/confirmation.105a875e-ad1b-4616-9dd7-8ff05d21b8c3?confirmation_token=mkVxyXDhCaVT4xszQpq6 )
434
362
 
435
363
 
436
364
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
437
- ----==_mimepart_582dd0dae4fef_d4703fd50d43f9c8250bc
365
+ ----==_mimepart_58334c8270314_79d13fe85c43f9e889250
438
366
  Content-Type: text/html;
439
367
  charset=UTF-8
440
368
  Content-Transfer-Encoding: 7bit
@@ -480,7 +408,7 @@ body {
480
408
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
481
409
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
482
410
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
483
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.694e526d-3bbd-44b6-bbd6-6f7d8c4ec3b7?confirmation_token=_eixzM1GBg3gggbU2xzx" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
411
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.105a875e-ad1b-4616-9dd7-8ff05d21b8c3?confirmation_token=mkVxyXDhCaVT4xszQpq6" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
484
412
  </td>
485
413
  </tr>
486
414
  </table>
@@ -525,48 +453,75 @@ body {
525
453
  </body>
526
454
  </html>
527
455
 
528
- ----==_mimepart_582dd0dae4fef_d4703fd50d43f9c8250bc--
456
+ ----==_mimepart_58334c8270314_79d13fe85c43f9e889250--
529
457
 
530
458
  Processing by PushType::ConfirmationsController#update as HTML
531
- Parameters: {"user"=>{"confirmation_token"=>"_eixzM1GBg3gggbU2xzx", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
532
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "_eixzM1GBg3gggbU2xzx"], ["LIMIT", 1]]
533
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-2@example.com"], ["id", "694e526d-3bbd-44b6-bbd6-6f7d8c4ec3b7"], ["LIMIT", 1]]
534
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
535
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
536
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.9ms)
537
- Completed 200 OK in 11ms (Views: 7.5ms | ActiveRecord: 0.4ms)
459
+ Parameters: {"user"=>{"confirmation_token"=>"mkVxyXDhCaVT4xszQpq6", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
460
+ PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "mkVxyXDhCaVT4xszQpq6"], ["LIMIT", 1]]
461
+ PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-2@example.com"], ["id", "105a875e-ad1b-4616-9dd7-8ff05d21b8c3"], ["LIMIT", 1]]
462
+  (0.1ms) SAVEPOINT active_record_2
463
+ SQL (0.3ms) UPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["encrypted_password", "$2a$04$iQpjUnXOet6Wp/ETXCFRMOWyUJIpwRoTug87WeV8ZoAvhwKOP2hG6"], ["confirmed_at", 2016-11-21 19:35:30 UTC], ["updated_at", 2016-11-21 19:35:30 UTC], ["id", "105a875e-ad1b-4616-9dd7-8ff05d21b8c3"]]
464
+  (0.1ms) RELEASE SAVEPOINT active_record_2
465
+  (0.1ms) SAVEPOINT active_record_2
466
+ SQL (0.2ms) UPDATE "push_type_users" SET "updated_at" = $1, "sign_in_count" = $2, "current_sign_in_at" = $3, "last_sign_in_at" = $4, "current_sign_in_ip" = $5, "last_sign_in_ip" = $6 WHERE "push_type_users"."id" = $7 [["updated_at", 2016-11-21 19:35:30 UTC], ["sign_in_count", 1], ["current_sign_in_at", 2016-11-21 19:35:30 UTC], ["last_sign_in_at", 2016-11-21 19:35:30 UTC], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "105a875e-ad1b-4616-9dd7-8ff05d21b8c3"]]
467
+  (0.1ms) RELEASE SAVEPOINT active_record_2
468
+ Redirected to http://test.host/admin/
469
+ Completed 302 Found in 9ms (ActiveRecord: 1.4ms)
470
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT $2 [["id", "105a875e-ad1b-4616-9dd7-8ff05d21b8c3"], ["LIMIT", 1]]
538
471
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
539
472
   (0.1ms) ROLLBACK
540
473
   (0.1ms) BEGIN
541
- ------------------------------------------------------------------------------------------
542
- PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0003_anonymous
543
- ------------------------------------------------------------------------------------------
544
-  (0.0ms) SAVEPOINT active_record_1
474
+ --------------------------------------------------------------------------------------------
475
+ AuthenticatedApiControllerTest::authenticated with authorization header: test_0001_anonymous
476
+ --------------------------------------------------------------------------------------------
477
+  (0.1ms) SAVEPOINT active_record_1
545
478
   (0.1ms) RELEASE SAVEPOINT active_record_1
546
479
   (0.0ms) SAVEPOINT active_record_1
547
480
   (0.1ms) SAVEPOINT active_record_2
548
481
  PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-3@example.com"], ["LIMIT", 1]]
549
482
  PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-3@example.com"], ["LIMIT", 1]]
550
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-3@example.com"], ["created_at", 2016-11-17 15:46:34 UTC], ["updated_at", 2016-11-17 15:46:34 UTC], ["confirmation_token", "5Eu7hYJvHHFQyxYwqxHJ"], ["confirmation_sent_at", 2016-11-17 15:46:34 UTC]]
483
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-3@example.com"], ["created_at", 2016-11-21 19:35:30 UTC], ["updated_at", 2016-11-21 19:35:30 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-21 19:35:30 UTC], ["confirmation_sent_at", 2016-11-21 19:35:30 UTC]]
484
+  (0.1ms) RELEASE SAVEPOINT active_record_2
485
+ Started GET "/api/nodes" for 127.0.0.1 at 2016-11-21 19:35:30 +0000
486
+ Processing by PushType::Api::NodesController#index as JSON
487
+ PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "2a62dc3e-49d5-410a-ae69-4ef4dab03748"], ["LIMIT", 1]]
488
+ Rendering /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder
489
+ PushType::Node Load (0.8ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL ORDER BY sort_order LIMIT $1 OFFSET $2 [["LIMIT", 30], ["OFFSET", 0]]
490
+ Rendered collection of /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/shared/_pagination.json.jbuilder [0 times] (0.0ms)
491
+ Rendered /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder (8.5ms)
492
+ Completed 200 OK in 56ms (Views: 36.1ms | ActiveRecord: 1.2ms)
493
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
494
+  (0.1ms) ROLLBACK
495
+  (0.0ms) BEGIN
496
+ ------------------------------------------------------------------------------------------
497
+ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0002_anonymous
498
+ ------------------------------------------------------------------------------------------
499
+  (0.0ms) SAVEPOINT active_record_1
500
+  (0.0ms) RELEASE SAVEPOINT active_record_1
501
+  (0.0ms) SAVEPOINT active_record_1
502
+  (0.1ms) SAVEPOINT active_record_2
503
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-4@example.com"], ["LIMIT", 1]]
504
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-4@example.com"], ["LIMIT", 1]]
505
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-4@example.com"], ["created_at", 2016-11-21 19:35:30 UTC], ["updated_at", 2016-11-21 19:35:30 UTC], ["confirmation_token", "TQazj5XMEUTxTjaxVsqm"], ["confirmation_sent_at", 2016-11-21 19:35:30 UTC]]
551
506
   (0.1ms) RELEASE SAVEPOINT active_record_2
552
507
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
553
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
554
- Devise::Mailer#confirmation_instructions: processed outbound mail in 3.1ms
555
- Sent mail to joe-3@example.com (3.5ms)
556
- Date: Thu, 17 Nov 2016 15:46:35 +0000
508
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.8ms)
509
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 39.5ms
510
+ Sent mail to joe-4@example.com (3.5ms)
511
+ Date: Mon, 21 Nov 2016 19:35:30 +0000
557
512
  From: pushtype@example.com
558
513
  Reply-To: pushtype@example.com
559
- To: joe-3@example.com
560
- Message-ID: <582dd0dbfe0_d4703fd50d43f9c82544a@Aarons-iMac.local.mail>
514
+ To: joe-4@example.com
515
+ Message-ID: <58334c829a239_79d13fe85c43f9e8896b6@Aarons-iMac.local.mail>
561
516
  Subject: [PushType] Confirm your account
562
517
  Mime-Version: 1.0
563
518
  Content-Type: multipart/alternative;
564
- boundary="--==_mimepart_582dd0dbb99_d4703fd50d43f9c82534c";
519
+ boundary="--==_mimepart_58334c8299e24_79d13fe85c43f9e889558";
565
520
  charset=UTF-8
566
521
  Content-Transfer-Encoding: 7bit
567
522
 
568
523
 
569
- ----==_mimepart_582dd0dbb99_d4703fd50d43f9c82534c
524
+ ----==_mimepart_58334c8299e24_79d13fe85c43f9e889558
570
525
  Content-Type: text/plain;
571
526
  charset=UTF-8
572
527
  Content-Transfer-Encoding: 7bit
@@ -582,11 +537,11 @@ To get started, confirm your account and set your own password by
582
537
  clicking the link below:
583
538
 
584
539
  Confirm my account
585
- ( http://localhost:3000/admin/confirmation.cf334ef9-de0a-477b-92e3-6ba27dfebaab?confirmation_token=5Eu7hYJvHHFQyxYwqxHJ )
540
+ ( http://localhost:3000/admin/confirmation.37ae1f0c-d3d1-4e25-a5be-bf7c57d123f4?confirmation_token=TQazj5XMEUTxTjaxVsqm )
586
541
 
587
542
 
588
543
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
589
- ----==_mimepart_582dd0dbb99_d4703fd50d43f9c82534c
544
+ ----==_mimepart_58334c8299e24_79d13fe85c43f9e889558
590
545
  Content-Type: text/html;
591
546
  charset=UTF-8
592
547
  Content-Transfer-Encoding: 7bit
@@ -632,7 +587,7 @@ body {
632
587
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
633
588
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
634
589
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
635
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.cf334ef9-de0a-477b-92e3-6ba27dfebaab?confirmation_token=5Eu7hYJvHHFQyxYwqxHJ" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
590
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.37ae1f0c-d3d1-4e25-a5be-bf7c57d123f4?confirmation_token=TQazj5XMEUTxTjaxVsqm" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
636
591
  </td>
637
592
  </tr>
638
593
  </table>
@@ -677,95 +632,48 @@ body {
677
632
  </body>
678
633
  </html>
679
634
 
680
- ----==_mimepart_582dd0dbb99_d4703fd50d43f9c82534c--
635
+ ----==_mimepart_58334c8299e24_79d13fe85c43f9e889558--
681
636
 
682
637
  Processing by PushType::ConfirmationsController#update as HTML
683
- Parameters: {"user"=>{"confirmation_token"=>"5Eu7hYJvHHFQyxYwqxHJ", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
684
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "5Eu7hYJvHHFQyxYwqxHJ"], ["LIMIT", 1]]
685
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-3@example.com"], ["id", "cf334ef9-de0a-477b-92e3-6ba27dfebaab"], ["LIMIT", 1]]
638
+ Parameters: {"user"=>{"confirmation_token"=>"TQazj5XMEUTxTjaxVsqm", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
639
+ PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "TQazj5XMEUTxTjaxVsqm"], ["LIMIT", 1]]
640
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-4@example.com"], ["id", "37ae1f0c-d3d1-4e25-a5be-bf7c57d123f4"], ["LIMIT", 1]]
686
641
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
687
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
688
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.7ms)
689
- Completed 200 OK in 9ms (Views: 5.9ms | ActiveRecord: 0.4ms)
690
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
691
-  (0.1ms) ROLLBACK
692
-  (0.0ms) BEGIN
693
- -----------------------------------------------------------------------
694
- PushType::Admin::ProfilesControllerTest::GET #edit: test_0001_anonymous
695
- -----------------------------------------------------------------------
696
-  (0.1ms) SAVEPOINT active_record_1
697
-  (0.1ms) RELEASE SAVEPOINT active_record_1
698
-  (0.1ms) SAVEPOINT active_record_1
699
-  (0.1ms) SAVEPOINT active_record_2
700
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-4@example.com"], ["LIMIT", 1]]
701
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-4@example.com"], ["LIMIT", 1]]
702
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-4@example.com"], ["created_at", 2016-11-17 15:46:35 UTC], ["updated_at", 2016-11-17 15:46:35 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-17 15:46:35 UTC], ["confirmation_sent_at", 2016-11-17 15:46:35 UTC]]
703
-  (0.1ms) RELEASE SAVEPOINT active_record_2
704
- Processing by PushType::Admin::ProfilesController#edit as HTML
705
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "112cf427-e66b-4da3-872e-6404e95ce1a2"], ["LIMIT", 1]]
706
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
707
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (5.7ms)
708
- Completed 200 OK in 23ms (Views: 17.9ms | ActiveRecord: 0.2ms)
642
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.0ms)
643
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (18.0ms)
644
+ Completed 200 OK in 32ms (Views: 28.8ms | ActiveRecord: 0.5ms)
709
645
   (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
710
646
   (0.1ms) ROLLBACK
711
647
   (0.1ms) BEGIN
712
- -----------------------------------------------------------------------
713
- PushType::Admin::ProfilesControllerTest::GET #edit: test_0002_anonymous
714
- -----------------------------------------------------------------------
648
+ ------------------------------------------------------------------------------------------
649
+ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0001_anonymous
650
+ ------------------------------------------------------------------------------------------
715
651
   (0.1ms) SAVEPOINT active_record_1
716
652
   (0.0ms) RELEASE SAVEPOINT active_record_1
717
-  (0.1ms) SAVEPOINT active_record_1
718
-  (0.1ms) SAVEPOINT active_record_2
719
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-5@example.com"], ["LIMIT", 1]]
720
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-5@example.com"], ["LIMIT", 1]]
721
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-5@example.com"], ["created_at", 2016-11-17 15:46:35 UTC], ["updated_at", 2016-11-17 15:46:35 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-17 15:46:35 UTC], ["confirmation_sent_at", 2016-11-17 15:46:35 UTC]]
722
-  (0.1ms) RELEASE SAVEPOINT active_record_2
723
- Processing by PushType::Admin::ProfilesController#edit as HTML
724
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "345bd74f-0d12-4e7a-8fe2-2c4b080712a4"], ["LIMIT", 1]]
725
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
726
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (1.8ms)
727
- Completed 200 OK in 10ms (Views: 8.1ms | ActiveRecord: 0.2ms)
728
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
729
-  (0.1ms) ROLLBACK
730
-  (0.1ms) BEGIN
731
- ----------------------------------------------------
732
- PushType::InvitationMethodsTest: test_0001_anonymous
733
- ----------------------------------------------------
734
-  (0.1ms) SAVEPOINT active_record_1
735
-  (0.1ms) RELEASE SAVEPOINT active_record_1
736
-  (0.0ms) SAVEPOINT active_record_1
737
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
738
-  (0.0ms) ROLLBACK
739
-  (0.0ms) BEGIN
740
- ----------------------------------------------------------------------------------------------------
741
- PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0001_anonymous
742
- ----------------------------------------------------------------------------------------------------
743
-  (0.1ms) SAVEPOINT active_record_1
744
-  (0.1ms) RELEASE SAVEPOINT active_record_1
745
653
   (0.0ms) SAVEPOINT active_record_1
746
654
   (0.1ms) SAVEPOINT active_record_2
747
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-6@example.com"], ["LIMIT", 1]]
748
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-6@example.com"], ["LIMIT", 1]]
749
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-6@example.com"], ["created_at", 2016-11-17 15:46:35 UTC], ["updated_at", 2016-11-17 15:46:35 UTC], ["confirmation_token", "d5kyX3nz9n641VXzhq-A"], ["confirmation_sent_at", 2016-11-17 15:46:35 UTC]]
655
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-5@example.com"], ["LIMIT", 1]]
656
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-5@example.com"], ["LIMIT", 1]]
657
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-5@example.com"], ["created_at", 2016-11-21 19:35:30 UTC], ["updated_at", 2016-11-21 19:35:30 UTC], ["confirmation_token", "QfBpcbCmrxtDmfUrBNc3"], ["confirmation_sent_at", 2016-11-21 19:35:30 UTC]]
750
658
   (0.1ms) RELEASE SAVEPOINT active_record_2
751
659
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
752
660
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
753
661
  Devise::Mailer#confirmation_instructions: processed outbound mail in 2.8ms
754
- Sent mail to joe-6@example.com (4.1ms)
755
- Date: Thu, 17 Nov 2016 15:46:35 +0000
662
+ Sent mail to joe-5@example.com (3.6ms)
663
+ Date: Mon, 21 Nov 2016 19:35:30 +0000
756
664
  From: pushtype@example.com
757
665
  Reply-To: pushtype@example.com
758
- To: joe-6@example.com
759
- Message-ID: <582dd0db1b24e_d4703fd50d43f9c825796@Aarons-iMac.local.mail>
666
+ To: joe-5@example.com
667
+ Message-ID: <58334c82ac2c4_79d13fe85c43f9e8899d3@Aarons-iMac.local.mail>
760
668
  Subject: [PushType] Confirm your account
761
669
  Mime-Version: 1.0
762
670
  Content-Type: multipart/alternative;
763
- boundary="--==_mimepart_582dd0db1ad53_d4703fd50d43f9c825635";
671
+ boundary="--==_mimepart_58334c82abe01_79d13fe85c43f9e889838";
764
672
  charset=UTF-8
765
673
  Content-Transfer-Encoding: 7bit
766
674
 
767
675
 
768
- ----==_mimepart_582dd0db1ad53_d4703fd50d43f9c825635
676
+ ----==_mimepart_58334c82abe01_79d13fe85c43f9e889838
769
677
  Content-Type: text/plain;
770
678
  charset=UTF-8
771
679
  Content-Transfer-Encoding: 7bit
@@ -781,11 +689,11 @@ To get started, confirm your account and set your own password by
781
689
  clicking the link below:
782
690
 
783
691
  Confirm my account
784
- ( http://localhost:3000/admin/confirmation.e4fc2feb-b0d9-4fa8-b350-f0c9075d1a24?confirmation_token=d5kyX3nz9n641VXzhq-A )
692
+ ( http://localhost:3000/admin/confirmation.79e58e4e-4701-428d-ae35-2ec8b1967796?confirmation_token=QfBpcbCmrxtDmfUrBNc3 )
785
693
 
786
694
 
787
695
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
788
- ----==_mimepart_582dd0db1ad53_d4703fd50d43f9c825635
696
+ ----==_mimepart_58334c82abe01_79d13fe85c43f9e889838
789
697
  Content-Type: text/html;
790
698
  charset=UTF-8
791
699
  Content-Transfer-Encoding: 7bit
@@ -831,7 +739,7 @@ body {
831
739
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
832
740
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
833
741
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
834
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.e4fc2feb-b0d9-4fa8-b350-f0c9075d1a24?confirmation_token=d5kyX3nz9n641VXzhq-A" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
742
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.79e58e4e-4701-428d-ae35-2ec8b1967796?confirmation_token=QfBpcbCmrxtDmfUrBNc3" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
835
743
  </td>
836
744
  </tr>
837
745
  </table>
@@ -876,47 +784,48 @@ body {
876
784
  </body>
877
785
  </html>
878
786
 
879
- ----==_mimepart_582dd0db1ad53_d4703fd50d43f9c825635--
787
+ ----==_mimepart_58334c82abe01_79d13fe85c43f9e889838--
880
788
 
881
- Processing by PushType::ConfirmationsController#show as HTML
882
- Parameters: {"confirmation_token"=>"d5kyX3nz9n641VXzhq-A"}
883
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "d5kyX3nz9n641VXzhq-A"], ["LIMIT", 1]]
789
+ Processing by PushType::ConfirmationsController#update as HTML
790
+ Parameters: {"user"=>{"confirmation_token"=>"QfBpcbCmrxtDmfUrBNc3", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
791
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "QfBpcbCmrxtDmfUrBNc3"], ["LIMIT", 1]]
792
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-5@example.com"], ["id", "79e58e4e-4701-428d-ae35-2ec8b1967796"], ["LIMIT", 1]]
884
793
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
885
794
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
886
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (2.0ms)
887
- Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.2ms)
795
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.6ms)
796
+ Completed 200 OK in 8ms (Views: 5.5ms | ActiveRecord: 0.5ms)
888
797
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
889
798
   (0.1ms) ROLLBACK
890
799
   (0.1ms) BEGIN
891
- ----------------------------------------------------------------------------------------------------
892
- PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0002_anonymous
893
- ----------------------------------------------------------------------------------------------------
800
+ ------------------------------------------------------------------------------------------
801
+ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0003_anonymous
802
+ ------------------------------------------------------------------------------------------
803
+  (0.0ms) SAVEPOINT active_record_1
804
+  (0.0ms) RELEASE SAVEPOINT active_record_1
894
805
   (0.0ms) SAVEPOINT active_record_1
895
-  (0.1ms) RELEASE SAVEPOINT active_record_1
896
-  (0.1ms) SAVEPOINT active_record_1
897
806
   (0.1ms) SAVEPOINT active_record_2
898
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-7@example.com"], ["LIMIT", 1]]
899
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-7@example.com"], ["LIMIT", 1]]
900
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-7@example.com"], ["created_at", 2016-11-17 15:46:35 UTC], ["updated_at", 2016-11-17 15:46:35 UTC], ["confirmation_token", "rXuNA46as2vZZyDMqHax"], ["confirmation_sent_at", 2016-11-17 15:46:35 UTC]]
807
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-6@example.com"], ["LIMIT", 1]]
808
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-6@example.com"], ["LIMIT", 1]]
809
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-6@example.com"], ["created_at", 2016-11-21 19:35:30 UTC], ["updated_at", 2016-11-21 19:35:30 UTC], ["confirmation_token", "2xGfekDfr9YdSJkwppfB"], ["confirmation_sent_at", 2016-11-21 19:35:30 UTC]]
901
810
   (0.1ms) RELEASE SAVEPOINT active_record_2
902
811
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
903
812
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
904
- Devise::Mailer#confirmation_instructions: processed outbound mail in 3.3ms
905
- Sent mail to joe-7@example.com (4.5ms)
906
- Date: Thu, 17 Nov 2016 15:46:35 +0000
813
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
814
+ Sent mail to joe-6@example.com (3.6ms)
815
+ Date: Mon, 21 Nov 2016 19:35:30 +0000
907
816
  From: pushtype@example.com
908
817
  Reply-To: pushtype@example.com
909
- To: joe-7@example.com
910
- Message-ID: <582dd0db28fad_d4703fd50d43f9c826085@Aarons-iMac.local.mail>
818
+ To: joe-6@example.com
819
+ Message-ID: <58334c82b8093_79d13fe85c43f9e890234@Aarons-iMac.local.mail>
911
820
  Subject: [PushType] Confirm your account
912
821
  Mime-Version: 1.0
913
822
  Content-Type: multipart/alternative;
914
- boundary="--==_mimepart_582dd0db289e5_d4703fd50d43f9c8259b0";
823
+ boundary="--==_mimepart_58334c82b7bf5_79d13fe85c43f9e8901c4";
915
824
  charset=UTF-8
916
825
  Content-Transfer-Encoding: 7bit
917
826
 
918
827
 
919
- ----==_mimepart_582dd0db289e5_d4703fd50d43f9c8259b0
828
+ ----==_mimepart_58334c82b7bf5_79d13fe85c43f9e8901c4
920
829
  Content-Type: text/plain;
921
830
  charset=UTF-8
922
831
  Content-Transfer-Encoding: 7bit
@@ -932,11 +841,11 @@ To get started, confirm your account and set your own password by
932
841
  clicking the link below:
933
842
 
934
843
  Confirm my account
935
- ( http://localhost:3000/admin/confirmation.d4fa336d-9ff6-4c8c-a4cc-c1694aeb65ad?confirmation_token=rXuNA46as2vZZyDMqHax )
844
+ ( http://localhost:3000/admin/confirmation.81ed8da6-f9b6-4013-9167-74b5c9a885ab?confirmation_token=2xGfekDfr9YdSJkwppfB )
936
845
 
937
846
 
938
847
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
939
- ----==_mimepart_582dd0db289e5_d4703fd50d43f9c8259b0
848
+ ----==_mimepart_58334c82b7bf5_79d13fe85c43f9e8901c4
940
849
  Content-Type: text/html;
941
850
  charset=UTF-8
942
851
  Content-Transfer-Encoding: 7bit
@@ -982,7 +891,7 @@ body {
982
891
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
983
892
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
984
893
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
985
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.d4fa336d-9ff6-4c8c-a4cc-c1694aeb65ad?confirmation_token=rXuNA46as2vZZyDMqHax" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
894
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.81ed8da6-f9b6-4013-9167-74b5c9a885ab?confirmation_token=2xGfekDfr9YdSJkwppfB" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
986
895
  </td>
987
896
  </tr>
988
897
  </table>
@@ -1027,33 +936,25 @@ body {
1027
936
  </body>
1028
937
  </html>
1029
938
 
1030
- ----==_mimepart_582dd0db289e5_d4703fd50d43f9c8259b0--
939
+ ----==_mimepart_58334c82b7bf5_79d13fe85c43f9e8901c4--
1031
940
 
1032
- Processing by PushType::ConfirmationsController#show as HTML
1033
- Parameters: {"confirmation_token"=>"rXuNA46as2vZZyDMqHax"}
1034
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "rXuNA46as2vZZyDMqHax"], ["LIMIT", 1]]
941
+ Processing by PushType::ConfirmationsController#update as HTML
942
+ Parameters: {"user"=>{"confirmation_token"=>"2xGfekDfr9YdSJkwppfB", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
943
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "2xGfekDfr9YdSJkwppfB"], ["LIMIT", 1]]
944
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-6@example.com"], ["id", "81ed8da6-f9b6-4013-9167-74b5c9a885ab"], ["LIMIT", 1]]
1035
945
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
1036
946
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
1037
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.7ms)
1038
- Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.2ms)
947
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.6ms)
948
+ Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.5ms)
1039
949
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1040
-  (0.1ms) ROLLBACK
950
+  (0.4ms) ROLLBACK
1041
951
   (0.1ms) BEGIN
1042
952
  ---------------------------------------------------------------
1043
953
  PushType::AuthenticatableTest::confirmable: test_0001_anonymous
1044
954
  ---------------------------------------------------------------
1045
-  (0.1ms) SAVEPOINT active_record_1
1046
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1047
-  (0.0ms) SAVEPOINT active_record_1
1048
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1049
-  (0.1ms) ROLLBACK
1050
-  (0.1ms) BEGIN
1051
- -------------------------------------------------------------
1052
- PushType::AuthenticatableTest::trackable: test_0001_anonymous
1053
- -------------------------------------------------------------
1054
955
   (0.1ms) SAVEPOINT active_record_1
1055
956
   (0.1ms) RELEASE SAVEPOINT active_record_1
1056
-  (0.1ms) SAVEPOINT active_record_1
957
+  (0.0ms) SAVEPOINT active_record_1
1057
958
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1058
959
   (0.1ms) ROLLBACK
1059
960
   (0.1ms) BEGIN
@@ -1062,30 +963,30 @@ PushType::AuthenticatableTest::#password_required?::with existing user and dirty
1062
963
  --------------------------------------------------------------------------------------------------------------
1063
964
   (0.1ms) SAVEPOINT active_record_1
1064
965
   (0.1ms) RELEASE SAVEPOINT active_record_1
1065
-  (0.0ms) SAVEPOINT active_record_1
966
+  (0.1ms) SAVEPOINT active_record_1
1066
967
   (0.1ms) SAVEPOINT active_record_2
1067
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-8@example.com"], ["LIMIT", 1]]
1068
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-8@example.com"], ["LIMIT", 1]]
1069
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-8@example.com"], ["created_at", 2016-11-17 15:46:35 UTC], ["updated_at", 2016-11-17 15:46:35 UTC], ["confirmation_token", "Kwoz8WhzSpXdyUyHXoRQ"], ["confirmation_sent_at", 2016-11-17 15:46:35 UTC]]
968
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-7@example.com"], ["LIMIT", 1]]
969
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-7@example.com"], ["LIMIT", 1]]
970
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-7@example.com"], ["created_at", 2016-11-21 19:35:30 UTC], ["updated_at", 2016-11-21 19:35:30 UTC], ["confirmation_token", "7e5Xfu3qNqPHYEsUk7sN"], ["confirmation_sent_at", 2016-11-21 19:35:30 UTC]]
1070
971
   (0.1ms) RELEASE SAVEPOINT active_record_2
1071
972
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
1072
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1073
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
1074
- Sent mail to joe-8@example.com (3.3ms)
1075
- Date: Thu, 17 Nov 2016 15:46:35 +0000
973
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms)
974
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms
975
+ Sent mail to joe-7@example.com (3.5ms)
976
+ Date: Mon, 21 Nov 2016 19:35:30 +0000
1076
977
  From: pushtype@example.com
1077
978
  Reply-To: pushtype@example.com
1078
- To: joe-8@example.com
1079
- Message-ID: <582dd0db36697_d4703fd50d43f9c826398@Aarons-iMac.local.mail>
979
+ To: joe-7@example.com
980
+ Message-ID: <58334c82c4fab_79d13fe85c43f9e89053f@Aarons-iMac.local.mail>
1080
981
  Subject: [PushType] Confirm your account
1081
982
  Mime-Version: 1.0
1082
983
  Content-Type: multipart/alternative;
1083
- boundary="--==_mimepart_582dd0db3627e_d4703fd50d43f9c826222";
984
+ boundary="--==_mimepart_58334c82c4b3a_79d13fe85c43f9e890497";
1084
985
  charset=UTF-8
1085
986
  Content-Transfer-Encoding: 7bit
1086
987
 
1087
988
 
1088
- ----==_mimepart_582dd0db3627e_d4703fd50d43f9c826222
989
+ ----==_mimepart_58334c82c4b3a_79d13fe85c43f9e890497
1089
990
  Content-Type: text/plain;
1090
991
  charset=UTF-8
1091
992
  Content-Transfer-Encoding: 7bit
@@ -1101,11 +1002,11 @@ To get started, confirm your account and set your own password by
1101
1002
  clicking the link below:
1102
1003
 
1103
1004
  Confirm my account
1104
- ( http://localhost:3000/admin/confirmation.0fc495a9-0949-4230-bbac-8f5191d04067?confirmation_token=Kwoz8WhzSpXdyUyHXoRQ )
1005
+ ( http://localhost:3000/admin/confirmation.b1b8f6ee-e40d-4073-a676-b395ae08a0cd?confirmation_token=7e5Xfu3qNqPHYEsUk7sN )
1105
1006
 
1106
1007
 
1107
1008
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1108
- ----==_mimepart_582dd0db3627e_d4703fd50d43f9c826222
1009
+ ----==_mimepart_58334c82c4b3a_79d13fe85c43f9e890497
1109
1010
  Content-Type: text/html;
1110
1011
  charset=UTF-8
1111
1012
  Content-Transfer-Encoding: 7bit
@@ -1151,7 +1052,7 @@ body {
1151
1052
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
1152
1053
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1153
1054
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
1154
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.0fc495a9-0949-4230-bbac-8f5191d04067?confirmation_token=Kwoz8WhzSpXdyUyHXoRQ" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
1055
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.b1b8f6ee-e40d-4073-a676-b395ae08a0cd?confirmation_token=7e5Xfu3qNqPHYEsUk7sN" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
1155
1056
  </td>
1156
1057
  </tr>
1157
1058
  </table>
@@ -1196,58 +1097,40 @@ body {
1196
1097
  </body>
1197
1098
  </html>
1198
1099
 
1199
- ----==_mimepart_582dd0db3627e_d4703fd50d43f9c826222--
1100
+ ----==_mimepart_58334c82c4b3a_79d13fe85c43f9e890497--
1200
1101
 
1201
1102
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1202
1103
   (0.1ms) ROLLBACK
1203
1104
   (0.1ms) BEGIN
1204
- ---------------------------------------------------------------
1205
- PushType::AuthenticatableTest::validatable: test_0002_anonymous
1206
- ---------------------------------------------------------------
1207
-  (0.0ms) SAVEPOINT active_record_1
1208
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1105
+ ----------------------------------------------------------------------------------------------------
1106
+ PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0001_anonymous
1107
+ ----------------------------------------------------------------------------------------------------
1209
1108
   (0.0ms) SAVEPOINT active_record_1
1210
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1211
-  (0.1ms) ROLLBACK
1212
-  (0.1ms) BEGIN
1213
- ---------------------------------------------------------------
1214
- PushType::AuthenticatableTest::validatable: test_0001_anonymous
1215
- ---------------------------------------------------------------
1216
-  (0.1ms) SAVEPOINT active_record_1
1217
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1218
-  (0.1ms) SAVEPOINT active_record_1
1219
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1220
-  (0.1ms) ROLLBACK
1221
-  (0.0ms) BEGIN
1222
- --------------------------------------------------------------------------------------------------------------
1223
- PushType::AuthenticatableTest::#password_required?::with existing user and clean password: test_0001_anonymous
1224
- --------------------------------------------------------------------------------------------------------------
1225
-  (0.1ms) SAVEPOINT active_record_1
1226
1109
   (0.1ms) RELEASE SAVEPOINT active_record_1
1227
1110
   (0.1ms) SAVEPOINT active_record_1
1228
1111
   (0.1ms) SAVEPOINT active_record_2
1229
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-9@example.com"], ["LIMIT", 1]]
1230
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-9@example.com"], ["LIMIT", 1]]
1231
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-9@example.com"], ["created_at", 2016-11-17 15:46:35 UTC], ["updated_at", 2016-11-17 15:46:35 UTC], ["confirmation_token", "3tsiag8GmZAagzwQfMbw"], ["confirmation_sent_at", 2016-11-17 15:46:35 UTC]]
1112
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-8@example.com"], ["LIMIT", 1]]
1113
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-8@example.com"], ["LIMIT", 1]]
1114
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-8@example.com"], ["created_at", 2016-11-21 19:35:30 UTC], ["updated_at", 2016-11-21 19:35:30 UTC], ["confirmation_token", "R4CF6diWZitETV9Y_sJw"], ["confirmation_sent_at", 2016-11-21 19:35:30 UTC]]
1232
1115
   (0.1ms) RELEASE SAVEPOINT active_record_2
1233
1116
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
1234
1117
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1235
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.8ms
1236
- Sent mail to joe-9@example.com (3.6ms)
1237
- Date: Thu, 17 Nov 2016 15:46:35 +0000
1118
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms
1119
+ Sent mail to joe-8@example.com (3.6ms)
1120
+ Date: Mon, 21 Nov 2016 19:35:30 +0000
1238
1121
  From: pushtype@example.com
1239
1122
  Reply-To: pushtype@example.com
1240
- To: joe-9@example.com
1241
- Message-ID: <582dd0db44265_d4703fd50d43f9c82668f@Aarons-iMac.local.mail>
1123
+ To: joe-8@example.com
1124
+ Message-ID: <58334c82cf09e_79d13fe85c43f9e8908ee@Aarons-iMac.local.mail>
1242
1125
  Subject: [PushType] Confirm your account
1243
1126
  Mime-Version: 1.0
1244
1127
  Content-Type: multipart/alternative;
1245
- boundary="--==_mimepart_582dd0db43e31_d4703fd50d43f9c826557";
1128
+ boundary="--==_mimepart_58334c82cec12_79d13fe85c43f9e8907e8";
1246
1129
  charset=UTF-8
1247
1130
  Content-Transfer-Encoding: 7bit
1248
1131
 
1249
1132
 
1250
- ----==_mimepart_582dd0db43e31_d4703fd50d43f9c826557
1133
+ ----==_mimepart_58334c82cec12_79d13fe85c43f9e8907e8
1251
1134
  Content-Type: text/plain;
1252
1135
  charset=UTF-8
1253
1136
  Content-Transfer-Encoding: 7bit
@@ -1263,11 +1146,11 @@ To get started, confirm your account and set your own password by
1263
1146
  clicking the link below:
1264
1147
 
1265
1148
  Confirm my account
1266
- ( http://localhost:3000/admin/confirmation.d2de71d6-31c1-4e29-8895-8f36d0662fc2?confirmation_token=3tsiag8GmZAagzwQfMbw )
1149
+ ( http://localhost:3000/admin/confirmation.a8b2fcb3-d557-4a2b-b602-9af1bef1399d?confirmation_token=R4CF6diWZitETV9Y_sJw )
1267
1150
 
1268
1151
 
1269
1152
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1270
- ----==_mimepart_582dd0db43e31_d4703fd50d43f9c826557
1153
+ ----==_mimepart_58334c82cec12_79d13fe85c43f9e8907e8
1271
1154
  Content-Type: text/html;
1272
1155
  charset=UTF-8
1273
1156
  Content-Transfer-Encoding: 7bit
@@ -1313,7 +1196,7 @@ body {
1313
1196
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
1314
1197
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1315
1198
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
1316
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.d2de71d6-31c1-4e29-8895-8f36d0662fc2?confirmation_token=3tsiag8GmZAagzwQfMbw" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
1199
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.a8b2fcb3-d557-4a2b-b602-9af1bef1399d?confirmation_token=R4CF6diWZitETV9Y_sJw" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
1317
1200
  </td>
1318
1201
  </tr>
1319
1202
  </table>
@@ -1358,140 +1241,47 @@ body {
1358
1241
  </body>
1359
1242
  </html>
1360
1243
 
1361
- ----==_mimepart_582dd0db43e31_d4703fd50d43f9c826557--
1244
+ ----==_mimepart_58334c82cec12_79d13fe85c43f9e8907e8--
1362
1245
 
1246
+ Processing by PushType::ConfirmationsController#show as HTML
1247
+ Parameters: {"confirmation_token"=>"R4CF6diWZitETV9Y_sJw"}
1248
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "R4CF6diWZitETV9Y_sJw"], ["LIMIT", 1]]
1249
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
1250
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
1251
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.7ms)
1252
+ Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.2ms)
1363
1253
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1364
1254
   (0.1ms) ROLLBACK
1365
1255
   (0.1ms) BEGIN
1366
- -----------------------------------------------------------------------
1367
- AuthenticatedControllerTest::authenticated request: test_0001_anonymous
1368
- -----------------------------------------------------------------------
1256
+ ----------------------------------------------------------------------------------------------------
1257
+ PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0002_anonymous
1258
+ ----------------------------------------------------------------------------------------------------
1369
1259
   (0.1ms) SAVEPOINT active_record_1
1370
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1260
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1371
1261
   (0.0ms) SAVEPOINT active_record_1
1372
1262
   (0.1ms) SAVEPOINT active_record_2
1373
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-10@example.com"], ["LIMIT", 1]]
1374
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-10@example.com"], ["LIMIT", 1]]
1375
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "encrypted_password", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-10@example.com"], ["created_at", 2016-11-17 15:46:35 UTC], ["updated_at", 2016-11-17 15:46:35 UTC], ["encrypted_password", "$2a$04$w7gh3VZ3OzTpYTXST9fVcOdXCf722YMh8/4rh5gVaNy4WE/7NUuHy"], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-17 15:46:35 UTC], ["confirmation_sent_at", 2016-11-17 15:46:35 UTC]]
1376
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1377
- Started POST "/admin/sign_in" for 127.0.0.1 at 2016-11-17 15:46:35 +0000
1378
- Processing by PushType::SessionsController#create as HTML
1379
- Parameters: {"user"=>{"email"=>"joe-10@example.com", "password"=>"[FILTERED]"}}
1380
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."email" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["email", "joe-10@example.com"], ["LIMIT", 1]]
1381
-  (0.1ms) SAVEPOINT active_record_2
1382
- SQL (0.3ms) UPDATE "push_type_users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "current_sign_in_ip" = $3, "last_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7 [["current_sign_in_at", 2016-11-17 15:46:35 UTC], ["last_sign_in_at", 2016-11-17 15:46:35 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", 2016-11-17 15:46:35 UTC], ["id", "aaa15e16-d375-49ac-8b96-96b9d50e87d8"]]
1383
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1384
- Redirected to http://www.example.com/admin/
1385
- Completed 302 Found in 49ms (ActiveRecord: 0.8ms)
1386
- Started GET "/admin/nodes" for 127.0.0.1 at 2016-11-17 15:46:35 +0000
1387
- Processing by PushType::Admin::NodesController#index as HTML
1388
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "aaa15e16-d375-49ac-8b96-96b9d50e87d8"], ["LIMIT", 1]]
1389
- Rendering /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/index.html.haml within layouts/push_type/admin
1390
-  (0.7ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL LIMIT $1 OFFSET $2) subquery_for_count [["LIMIT", 30], ["OFFSET", 0]]
1391
-  (0.4ms) SELECT COUNT(*) FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL
1392
- Rendered /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/_new_node_button.html.haml (2.6ms)
1393
- Rendered /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/index.html.haml within layouts/push_type/admin (36.1ms)
1394
- Completed 200 OK in 2071ms (Views: 55.8ms | ActiveRecord: 1.4ms)
1395
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1396
-  (0.1ms) ROLLBACK
1397
-  (0.1ms) BEGIN
1398
- --------------------------------------------------------------------------------------
1399
- PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
1400
- --------------------------------------------------------------------------------------
1401
-  (0.1ms) SAVEPOINT active_record_1
1402
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1403
-  (0.1ms) SAVEPOINT active_record_1
1404
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1405
-  (0.1ms) ROLLBACK
1406
-  (0.1ms) BEGIN
1407
- --------------------------------------------------------------------------------------------
1408
- AuthenticatedApiControllerTest::authenticated with authorization header: test_0001_anonymous
1409
- --------------------------------------------------------------------------------------------
1410
-  (0.1ms) SAVEPOINT active_record_1
1411
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1412
-  (0.1ms) SAVEPOINT active_record_1
1413
-  (0.2ms) SAVEPOINT active_record_2
1414
- PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-11@example.com"], ["LIMIT", 1]]
1415
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-11@example.com"], ["LIMIT", 1]]
1416
- SQL (0.4ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-11@example.com"], ["created_at", 2016-11-17 15:46:37 UTC], ["updated_at", 2016-11-17 15:46:37 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-17 15:46:37 UTC], ["confirmation_sent_at", 2016-11-17 15:46:37 UTC]]
1417
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1418
- Started GET "/api/nodes" for 127.0.0.1 at 2016-11-17 15:46:37 +0000
1419
- Processing by PushType::Api::NodesController#index as JSON
1420
- PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "93aac0b0-b972-4553-a07b-262929f484bd"], ["LIMIT", 1]]
1421
- Rendering /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder
1422
- PushType::Node Load (0.6ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL ORDER BY sort_order LIMIT $1 OFFSET $2 [["LIMIT", 30], ["OFFSET", 0]]
1423
- Rendered collection of /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/shared/_pagination.json.jbuilder [0 times] (0.0ms)
1424
- Rendered /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder (7.9ms)
1425
- Completed 200 OK in 66ms (Views: 52.0ms | ActiveRecord: 0.9ms)
1426
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1427
-  (0.1ms) ROLLBACK
1428
-  (0.1ms) BEGIN
1429
- ---------------------------------------------------------------------------
1430
- PushType::AuthenticatableTest::database_athenticatable: test_0001_anonymous
1431
- ---------------------------------------------------------------------------
1432
-  (0.1ms) SAVEPOINT active_record_1
1433
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1434
-  (0.1ms) SAVEPOINT active_record_1
1435
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1436
-  (0.1ms) ROLLBACK
1437
-  (0.1ms) BEGIN
1438
- ---------------------------------------------------------------------------
1439
- PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
1440
- ---------------------------------------------------------------------------
1441
-  (0.1ms) SAVEPOINT active_record_1
1442
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1443
-  (0.1ms) SAVEPOINT active_record_1
1444
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1445
-  (0.1ms) ROLLBACK
1446
-  (0.1ms) BEGIN
1447
- -------------------------------------------------------------------------
1448
- AuthenticatedControllerTest::unauthenticated request: test_0001_anonymous
1449
- -------------------------------------------------------------------------
1450
-  (0.1ms) SAVEPOINT active_record_1
1451
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1452
-  (0.1ms) SAVEPOINT active_record_1
1453
- Started GET "/admin/nodes" for 127.0.0.1 at 2016-11-17 15:46:37 +0000
1454
- Processing by PushType::Admin::NodesController#index as HTML
1455
- Redirected to http://www.example.com/admin/sign_in
1456
- Filter chain halted as :authenticate_user! rendered or redirected
1457
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1458
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1459
-  (0.1ms) ROLLBACK
1460
-  (0.1ms) BEGIN
1461
- ----------------------------------------------------------------------
1462
- PushType::Admin::UsersControllerTest::PUT #invite: test_0001_anonymous
1463
- ----------------------------------------------------------------------
1464
-  (0.1ms) SAVEPOINT active_record_1
1465
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1466
-  (0.1ms) SAVEPOINT active_record_1
1467
-  (0.1ms) SAVEPOINT active_record_2
1468
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-12@example.com"], ["LIMIT", 1]]
1469
- PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-12@example.com"], ["LIMIT", 1]]
1470
- SQL (0.5ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-12@example.com"], ["created_at", 2016-11-17 15:46:37 UTC], ["updated_at", 2016-11-17 15:46:37 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-17 15:46:37 UTC], ["confirmation_sent_at", 2016-11-17 15:46:37 UTC]]
1471
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1472
-  (0.1ms) SAVEPOINT active_record_2
1473
- PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-13@example.com"], ["LIMIT", 1]]
1474
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-13@example.com"], ["LIMIT", 1]]
1475
- SQL (0.4ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-13@example.com"], ["created_at", 2016-11-17 15:46:37 UTC], ["updated_at", 2016-11-17 15:46:37 UTC], ["confirmation_token", "FvZjFuis1q7U5sGHfTx-"], ["confirmation_sent_at", 2016-11-17 15:46:37 UTC]]
1263
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-9@example.com"], ["LIMIT", 1]]
1264
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-9@example.com"], ["LIMIT", 1]]
1265
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-9@example.com"], ["created_at", 2016-11-21 19:35:30 UTC], ["updated_at", 2016-11-21 19:35:30 UTC], ["confirmation_token", "qXkhCCyeocKKksVk8HmH"], ["confirmation_sent_at", 2016-11-21 19:35:30 UTC]]
1476
1266
   (0.1ms) RELEASE SAVEPOINT active_record_2
1477
1267
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
1478
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (1.1ms)
1479
- Devise::Mailer#confirmation_instructions: processed outbound mail in 61.5ms
1480
- Sent mail to joe-13@example.com (6.6ms)
1481
- Date: Thu, 17 Nov 2016 15:46:37 +0000
1268
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1269
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 3.1ms
1270
+ Sent mail to joe-9@example.com (3.3ms)
1271
+ Date: Mon, 21 Nov 2016 19:35:30 +0000
1482
1272
  From: pushtype@example.com
1483
1273
  Reply-To: pushtype@example.com
1484
- To: joe-13@example.com
1485
- Message-ID: <582dd0dd9cb04_d4703fd50d43f9c826941@Aarons-iMac.local.mail>
1274
+ To: joe-9@example.com
1275
+ Message-ID: <58334c82e1be0_79d13fe85c43f9e8911da@Aarons-iMac.local.mail>
1486
1276
  Subject: [PushType] Confirm your account
1487
1277
  Mime-Version: 1.0
1488
1278
  Content-Type: multipart/alternative;
1489
- boundary="--==_mimepart_582dd0dd9c2ff_d4703fd50d43f9c8268fb";
1279
+ boundary="--==_mimepart_58334c82e17c8_79d13fe85c43f9e89103b";
1490
1280
  charset=UTF-8
1491
1281
  Content-Transfer-Encoding: 7bit
1492
1282
 
1493
1283
 
1494
- ----==_mimepart_582dd0dd9c2ff_d4703fd50d43f9c8268fb
1284
+ ----==_mimepart_58334c82e17c8_79d13fe85c43f9e89103b
1495
1285
  Content-Type: text/plain;
1496
1286
  charset=UTF-8
1497
1287
  Content-Transfer-Encoding: 7bit
@@ -1507,11 +1297,11 @@ To get started, confirm your account and set your own password by
1507
1297
  clicking the link below:
1508
1298
 
1509
1299
  Confirm my account
1510
- ( http://localhost:3000/admin/confirmation.a3fb4cfe-938c-42b1-8dd7-c6be21d8636f?confirmation_token=FvZjFuis1q7U5sGHfTx- )
1300
+ ( http://localhost:3000/admin/confirmation.e09fc2e0-5cb0-4d13-8fc3-a07ac78f4a05?confirmation_token=qXkhCCyeocKKksVk8HmH )
1511
1301
 
1512
1302
 
1513
1303
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1514
- ----==_mimepart_582dd0dd9c2ff_d4703fd50d43f9c8268fb
1304
+ ----==_mimepart_58334c82e17c8_79d13fe85c43f9e89103b
1515
1305
  Content-Type: text/html;
1516
1306
  charset=UTF-8
1517
1307
  Content-Transfer-Encoding: 7bit
@@ -1557,7 +1347,7 @@ body {
1557
1347
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
1558
1348
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1559
1349
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
1560
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.a3fb4cfe-938c-42b1-8dd7-c6be21d8636f?confirmation_token=FvZjFuis1q7U5sGHfTx-" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
1350
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.e09fc2e0-5cb0-4d13-8fc3-a07ac78f4a05?confirmation_token=qXkhCCyeocKKksVk8HmH" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
1561
1351
  </td>
1562
1352
  </tr>
1563
1353
  </table>
@@ -1602,183 +1392,317 @@ body {
1602
1392
  </body>
1603
1393
  </html>
1604
1394
 
1605
- ----==_mimepart_582dd0dd9c2ff_d4703fd50d43f9c8268fb--
1395
+ ----==_mimepart_58334c82e17c8_79d13fe85c43f9e89103b--
1606
1396
 
1607
- Processing by PushType::Admin::UsersController#invite as HTML
1608
- Parameters: {"id"=>"a3fb4cfe-938c-42b1-8dd7-c6be21d8636f"}
1609
- PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "fb8ae052-6a3c-4b70-997e-6b9c32000d6d"], ["LIMIT", 1]]
1610
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "a3fb4cfe-938c-42b1-8dd7-c6be21d8636f"], ["LIMIT", 1]]
1397
+ Processing by PushType::ConfirmationsController#show as HTML
1398
+ Parameters: {"confirmation_token"=>"qXkhCCyeocKKksVk8HmH"}
1399
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "qXkhCCyeocKKksVk8HmH"], ["LIMIT", 1]]
1400
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
1401
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
1402
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.7ms)
1403
+ Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.2ms)
1404
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1405
+  (0.2ms) ROLLBACK
1406
+  (0.1ms) BEGIN
1407
+ -----------------------------------------------------------
1408
+ PushType::ApiAuthenticationMethodsTest: test_0001_anonymous
1409
+ -----------------------------------------------------------
1410
+  (0.1ms) SAVEPOINT active_record_1
1411
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1412
+  (0.0ms) SAVEPOINT active_record_1
1413
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1414
+  (0.0ms) ROLLBACK
1415
+  (0.1ms) BEGIN
1416
+ -----------------------------------------------------------
1417
+ PushType::ApiAuthenticationMethodsTest: test_0003_anonymous
1418
+ -----------------------------------------------------------
1419
+  (0.1ms) SAVEPOINT active_record_1
1420
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1421
+  (0.0ms) SAVEPOINT active_record_1
1422
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1423
+  (0.1ms) ROLLBACK
1424
+  (0.1ms) BEGIN
1425
+ -----------------------------------------------------------
1426
+ PushType::ApiAuthenticationMethodsTest: test_0004_anonymous
1427
+ -----------------------------------------------------------
1428
+  (0.0ms) SAVEPOINT active_record_1
1429
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1430
+  (0.0ms) SAVEPOINT active_record_1
1431
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1432
+  (0.0ms) ROLLBACK
1433
+  (0.1ms) BEGIN
1434
+ -----------------------------------------------------------
1435
+ PushType::ApiAuthenticationMethodsTest: test_0002_anonymous
1436
+ -----------------------------------------------------------
1437
+  (0.0ms) SAVEPOINT active_record_1
1438
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1439
+  (0.0ms) SAVEPOINT active_record_1
1440
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1441
+  (0.0ms) ROLLBACK
1442
+  (0.1ms) BEGIN
1443
+ --------------------------------------------------------------------------------------
1444
+ PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
1445
+ --------------------------------------------------------------------------------------
1446
+  (0.1ms) SAVEPOINT active_record_1
1447
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1448
+  (0.0ms) SAVEPOINT active_record_1
1449
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1450
+  (0.1ms) ROLLBACK
1451
+  (0.1ms) BEGIN
1452
+ --------------------------------------------------------------------------------------------
1453
+ PushType::Admin::ProfilesControllerTest::PUT #update::with invalid user: test_0001_anonymous
1454
+ --------------------------------------------------------------------------------------------
1455
+  (0.1ms) SAVEPOINT active_record_1
1456
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1457
+  (0.1ms) SAVEPOINT active_record_1
1611
1458
   (0.1ms) SAVEPOINT active_record_2
1459
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-10@example.com"], ["LIMIT", 1]]
1460
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-10@example.com"], ["LIMIT", 1]]
1461
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-10@example.com"], ["created_at", 2016-11-21 19:35:30 UTC], ["updated_at", 2016-11-21 19:35:30 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-21 19:35:30 UTC], ["confirmation_sent_at", 2016-11-21 19:35:30 UTC]]
1612
1462
   (0.1ms) RELEASE SAVEPOINT active_record_2
1613
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
1614
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms)
1615
- Devise::Mailer#confirmation_instructions: processed outbound mail in 4.0ms
1616
- Sent mail to joe-13@example.com (4.0ms)
1617
- Date: Thu, 17 Nov 2016 15:46:37 +0000
1618
- From: pushtype@example.com
1619
- Reply-To: pushtype@example.com
1620
- To: joe-13@example.com
1621
- Message-ID: <582dd0ddab284_d4703fd50d43f9c8272af@Aarons-iMac.local.mail>
1622
- Subject: [PushType] Confirm your account
1623
- Mime-Version: 1.0
1624
- Content-Type: multipart/alternative;
1625
- boundary="--==_mimepart_582dd0ddaae31_d4703fd50d43f9c8271bb";
1626
- charset=UTF-8
1627
- Content-Transfer-Encoding: 7bit
1628
-
1629
-
1630
- ----==_mimepart_582dd0ddaae31_d4703fd50d43f9c8271bb
1631
- Content-Type: text/plain;
1632
- charset=UTF-8
1633
- Content-Transfer-Encoding: 7bit
1634
-
1635
- PushType ( http://localhost:3000/admin/ )
1636
-
1637
- Hello Joe Bloggs
1638
-
1639
- You're receiving this email because a PushType account has been
1640
- created for you.
1641
-
1642
- To get started, confirm your account and set your own password by
1643
- clicking the link below:
1644
-
1645
- Confirm my account
1646
- ( http://localhost:3000/admin/confirmation.a3fb4cfe-938c-42b1-8dd7-c6be21d8636f?confirmation_token=FvZjFuis1q7U5sGHfTx- )
1647
-
1648
-
1649
- PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1650
- ----==_mimepart_582dd0ddaae31_d4703fd50d43f9c8271bb
1651
- Content-Type: text/html;
1652
- charset=UTF-8
1653
- Content-Transfer-Encoding: 7bit
1654
-
1655
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
1656
- <html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1657
- <head>
1658
- <meta name="viewport" content="width=device-width" />
1659
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
1660
- <title>[PushType] Confirm your account</title>
1661
-
1662
- </head>
1663
-
1664
- <body bgcolor="#f6f6f6" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; height: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100% !important;"><style type="text/css">
1665
- img {
1666
- max-width: 100%;
1667
- }
1668
- body {
1669
- -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%;
1670
- }
1671
- </style>
1672
-
1673
- <!-- body -->
1674
- <table class="body-wrap" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 20px; width: 100%;">
1675
- <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1676
- <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"></td>
1677
- <td class="container" bgcolor="#FFFFFF" style="border: 1px solid #f0f0f0; clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 20px;">
1678
-
1679
- <!-- content -->
1680
- <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0;">
1681
- <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
1682
- <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1683
- <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px;"><a href="http://localhost:3000/admin/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"><img alt="PushType" src="/assets/push_type/pushtype-logo-a3af31e6141c9b155900c4cfde696ee92b3c080d35cd5d7afc82f8fb5a2fe6fa.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0;" /></a></td>
1684
- </tr>
1685
- <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1686
- <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1687
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;">Hello Joe Bloggs</p>
1688
-
1689
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;">You're receiving this email because a PushType account has been created for you.</p>
1690
-
1691
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;">To get started, confirm your account and set your own password by clicking the link below:</p>
1692
-
1693
- <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
1694
- <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1695
- <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
1696
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.a3fb4cfe-938c-42b1-8dd7-c6be21d8636f?confirmation_token=FvZjFuis1q7U5sGHfTx-" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
1697
- </td>
1698
- </tr>
1699
- </table>
1700
-
1701
-
1702
- </td>
1703
- </tr>
1704
- </table>
1705
- </div>
1706
- <!-- /content -->
1707
-
1708
- </td>
1709
- <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"></td>
1710
- </tr>
1711
- </table>
1712
- <!-- /body -->
1713
-
1714
- <!-- footer -->
1715
- <table class="footer-wrap" style="clear: both !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
1716
- <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1717
- <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"></td>
1718
- <td class="container" style="clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 0;">
1719
-
1720
- <!-- content -->
1721
- <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0;">
1722
- <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
1723
- <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1724
- <td align="center" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1725
- <p style="color: #666; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 12px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;">PushType CMS: <a href="http://www.pushtype.org" style="color: #999; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">www.pushtype.org</a>.</p>
1726
- </td>
1727
- </tr>
1728
- </table>
1729
- </div>
1730
- <!-- /content -->
1731
-
1732
- </td>
1733
- <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"></td>
1734
- </tr>
1735
- </table>
1736
- <!-- /footer -->
1737
-
1738
- </body>
1739
- </html>
1740
-
1741
- ----==_mimepart_582dd0ddaae31_d4703fd50d43f9c8271bb--
1742
-
1743
- Redirected to http://test.host/push_type/users
1744
- Completed 302 Found in 56ms (ActiveRecord: 0.8ms)
1745
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1463
+ Processing by PushType::Admin::ProfilesController#update as HTML
1464
+ Parameters: {"user"=>{"name"=>""}}
1465
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "d7b1a68f-f2f2-4972-8bfd-8a6f3e39bb66"], ["LIMIT", 1]]
1466
+  (0.1ms) SAVEPOINT active_record_2
1467
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-10@example.com"], ["id", "d7b1a68f-f2f2-4972-8bfd-8a6f3e39bb66"], ["LIMIT", 1]]
1468
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
1469
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
1470
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (7.1ms)
1471
+ Completed 200 OK in 27ms (Views: 22.6ms | ActiveRecord: 0.5ms)
1472
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1473
+  (0.1ms) ROLLBACK
1474
+  (0.1ms) BEGIN
1475
+ --------------------------------------------------------------------------------------------
1476
+ PushType::Admin::ProfilesControllerTest::PUT #update::with invalid user: test_0002_anonymous
1477
+ --------------------------------------------------------------------------------------------
1478
+  (0.1ms) SAVEPOINT active_record_1
1479
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1480
+  (0.1ms) SAVEPOINT active_record_1
1481
+  (0.1ms) SAVEPOINT active_record_2
1482
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-11@example.com"], ["LIMIT", 1]]
1483
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-11@example.com"], ["LIMIT", 1]]
1484
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-11@example.com"], ["created_at", 2016-11-21 19:35:30 UTC], ["updated_at", 2016-11-21 19:35:30 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-21 19:35:30 UTC], ["confirmation_sent_at", 2016-11-21 19:35:30 UTC]]
1485
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1486
+ Processing by PushType::Admin::ProfilesController#update as HTML
1487
+ Parameters: {"user"=>{"name"=>""}}
1488
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "f349a688-6ba6-4fa2-a5e8-529278e39d42"], ["LIMIT", 1]]
1489
+  (0.1ms) SAVEPOINT active_record_2
1490
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-11@example.com"], ["id", "f349a688-6ba6-4fa2-a5e8-529278e39d42"], ["LIMIT", 1]]
1491
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
1492
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
1493
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (1.7ms)
1494
+ Completed 200 OK in 11ms (Views: 7.5ms | ActiveRecord: 0.6ms)
1495
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1496
+  (0.2ms) ROLLBACK
1497
+  (0.1ms) BEGIN
1498
+ -----------------------------------------------------------------------------------
1499
+ AuthenticatedApiControllerTest::authenticated with token param: test_0001_anonymous
1500
+ -----------------------------------------------------------------------------------
1501
+  (0.0ms) SAVEPOINT active_record_1
1502
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1503
+  (0.0ms) SAVEPOINT active_record_1
1504
+  (0.1ms) SAVEPOINT active_record_2
1505
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-12@example.com"], ["LIMIT", 1]]
1506
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-12@example.com"], ["LIMIT", 1]]
1507
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-12@example.com"], ["created_at", 2016-11-21 19:35:31 UTC], ["updated_at", 2016-11-21 19:35:31 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-21 19:35:31 UTC], ["confirmation_sent_at", 2016-11-21 19:35:31 UTC]]
1508
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1509
+ Started GET "/api/nodes?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE0Nzk4NDMzMzEsInN1YiI6IjliNzVjZTBiLWMwNzItNDVlYS05ZGZhLTE3MTIzODM2ZTkxNSJ9.DcYWTSDOKexcqi9yKWQFUe5Hw6pOHwJ2R3UQG18uC2I" for 127.0.0.1 at 2016-11-21 19:35:31 +0000
1510
+ Processing by PushType::Api::NodesController#index as JSON
1511
+ Parameters: {"token"=>"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE0Nzk4NDMzMzEsInN1YiI6IjliNzVjZTBiLWMwNzItNDVlYS05ZGZhLTE3MTIzODM2ZTkxNSJ9.DcYWTSDOKexcqi9yKWQFUe5Hw6pOHwJ2R3UQG18uC2I"}
1512
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "9b75ce0b-c072-45ea-9dfa-17123836e915"], ["LIMIT", 1]]
1513
+ Rendering /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder
1514
+ PushType::Node Load (0.3ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL ORDER BY sort_order LIMIT $1 OFFSET $2 [["LIMIT", 30], ["OFFSET", 0]]
1515
+ Rendered collection of /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/shared/_pagination.json.jbuilder [0 times] (0.0ms)
1516
+ Rendered /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder (3.5ms)
1517
+ Completed 200 OK in 40ms (Views: 31.0ms | ActiveRecord: 0.5ms)
1518
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1519
+  (0.1ms) ROLLBACK
1520
+  (0.1ms) BEGIN
1521
+ ----------------------------------------------------
1522
+ PushType::InvitationMethodsTest: test_0001_anonymous
1523
+ ----------------------------------------------------
1524
+  (0.1ms) SAVEPOINT active_record_1
1525
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1526
+  (0.0ms) SAVEPOINT active_record_1
1527
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1528
+  (0.0ms) ROLLBACK
1529
+  (0.1ms) BEGIN
1530
+ ---------------------------------------------------------------------------
1531
+ PushType::AuthenticatableTest::database_athenticatable: test_0001_anonymous
1532
+ ---------------------------------------------------------------------------
1533
+  (0.0ms) SAVEPOINT active_record_1
1534
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1535
+  (0.0ms) SAVEPOINT active_record_1
1536
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1537
+  (0.1ms) ROLLBACK
1538
+  (0.1ms) BEGIN
1539
+ ---------------------------------------------------------------------------
1540
+ PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
1541
+ ---------------------------------------------------------------------------
1542
+  (0.1ms) SAVEPOINT active_record_1
1543
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1544
+  (0.0ms) SAVEPOINT active_record_1
1545
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1546
+  (0.1ms) ROLLBACK
1547
+  (0.1ms) BEGIN
1548
+ ------------------------------------------------------------------------------------------------------
1549
+ PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0002_anonymous
1550
+ ------------------------------------------------------------------------------------------------------
1551
+  (0.1ms) SAVEPOINT active_record_1
1552
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1553
+  (0.0ms) SAVEPOINT active_record_1
1554
+ Processing by PushType::ConfirmationsController#show as HTML
1555
+ Parameters: {"confirmation_token"=>"invalid"}
1556
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
1557
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
1558
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "6a2592a12168a6491847ff437fe938822157cf69b691a711d1f2732083d94c33"], ["LIMIT", 1]]
1559
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
1560
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.1ms)
1561
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (7.5ms)
1562
+ Completed 200 OK in 209ms (Views: 19.9ms | ActiveRecord: 0.3ms)
1563
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1564
+  (0.1ms) ROLLBACK
1565
+  (0.1ms) BEGIN
1566
+ ------------------------------------------------------------------------------------------------------
1567
+ PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
1568
+ ------------------------------------------------------------------------------------------------------
1569
+  (0.1ms) SAVEPOINT active_record_1
1570
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1571
+  (0.1ms) SAVEPOINT active_record_1
1572
+ Processing by PushType::ConfirmationsController#show as HTML
1573
+ Parameters: {"confirmation_token"=>"invalid"}
1574
+ PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
1575
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
1576
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "6a2592a12168a6491847ff437fe938822157cf69b691a711d1f2732083d94c33"], ["LIMIT", 1]]
1577
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
1578
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms)
1579
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (2.1ms)
1580
+ Completed 200 OK in 11ms (Views: 5.9ms | ActiveRecord: 0.6ms)
1581
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1582
+  (0.1ms) ROLLBACK
1583
+  (0.1ms) BEGIN
1584
+ ------------------------------------------------------------------------------------------
1585
+ PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0003_anonymous
1586
+ ------------------------------------------------------------------------------------------
1587
+  (0.1ms) SAVEPOINT active_record_1
1588
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1589
+  (0.1ms) SAVEPOINT active_record_1
1590
+  (0.1ms) SAVEPOINT active_record_2
1591
+ PushType::User Exists (0.5ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-13@example.com"], ["LIMIT", 1]]
1592
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-13@example.com"], ["LIMIT", 1]]
1593
+ SQL (0.3ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-13@example.com"], ["created_at", 2016-11-21 19:35:31 UTC], ["updated_at", 2016-11-21 19:35:31 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-21 19:35:31 UTC], ["confirmation_sent_at", 2016-11-21 19:35:31 UTC]]
1594
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1595
+ Processing by PushType::Admin::ProfilesController#update as HTML
1596
+ Parameters: {"user"=>{"name"=>"Test user ABC"}}
1597
+ PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "fb5ca563-c505-4dfc-bc9d-784b668d2dcb"], ["LIMIT", 1]]
1598
+  (0.2ms) SAVEPOINT active_record_2
1599
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-13@example.com"], ["id", "fb5ca563-c505-4dfc-bc9d-784b668d2dcb"], ["LIMIT", 1]]
1600
+ SQL (0.2ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", 2016-11-21 19:35:31 UTC], ["id", "fb5ca563-c505-4dfc-bc9d-784b668d2dcb"]]
1601
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1602
+ Redirected to http://test.host/admin/profile/edit
1603
+ Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
1604
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1605
+  (0.1ms) ROLLBACK
1606
+  (0.1ms) BEGIN
1607
+ ------------------------------------------------------------------------------------------
1608
+ PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
1609
+ ------------------------------------------------------------------------------------------
1610
+  (0.1ms) SAVEPOINT active_record_1
1611
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1612
+  (0.1ms) SAVEPOINT active_record_1
1613
+  (0.1ms) SAVEPOINT active_record_2
1614
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-14@example.com"], ["LIMIT", 1]]
1615
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-14@example.com"], ["LIMIT", 1]]
1616
+ SQL (0.4ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-14@example.com"], ["created_at", 2016-11-21 19:35:31 UTC], ["updated_at", 2016-11-21 19:35:31 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-21 19:35:31 UTC], ["confirmation_sent_at", 2016-11-21 19:35:31 UTC]]
1617
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1618
+ Processing by PushType::Admin::ProfilesController#update as HTML
1619
+ Parameters: {"user"=>{"name"=>"Test user ABC"}}
1620
+ PushType::User Load (0.5ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "0f427eac-c93e-4f96-832d-9d2889e0f687"], ["LIMIT", 1]]
1621
+  (0.3ms) SAVEPOINT active_record_2
1622
+ PushType::User Exists (0.7ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-14@example.com"], ["id", "0f427eac-c93e-4f96-832d-9d2889e0f687"], ["LIMIT", 1]]
1623
+ SQL (0.3ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", 2016-11-21 19:35:31 UTC], ["id", "0f427eac-c93e-4f96-832d-9d2889e0f687"]]
1624
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1625
+ Redirected to http://test.host/admin/profile/edit
1626
+ Completed 302 Found in 8ms (ActiveRecord: 1.9ms)
1627
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT $2 [["id", "0f427eac-c93e-4f96-832d-9d2889e0f687"], ["LIMIT", 1]]
1628
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1629
+  (0.1ms) ROLLBACK
1630
+  (0.1ms) BEGIN
1631
+ ------------------------------------------------------------------------------------------
1632
+ PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0002_anonymous
1633
+ ------------------------------------------------------------------------------------------
1634
+  (0.1ms) SAVEPOINT active_record_1
1635
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1636
+  (0.1ms) SAVEPOINT active_record_1
1637
+  (0.1ms) SAVEPOINT active_record_2
1638
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-15@example.com"], ["LIMIT", 1]]
1639
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-15@example.com"], ["LIMIT", 1]]
1640
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-15@example.com"], ["created_at", 2016-11-21 19:35:31 UTC], ["updated_at", 2016-11-21 19:35:31 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-21 19:35:31 UTC], ["confirmation_sent_at", 2016-11-21 19:35:31 UTC]]
1641
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1642
+ Processing by PushType::Admin::ProfilesController#update as HTML
1643
+ Parameters: {"user"=>{"name"=>"Test user ABC"}}
1644
+ PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "f8610cb1-1cc8-47e7-aa05-cabbf3591e37"], ["LIMIT", 1]]
1645
+  (0.1ms) SAVEPOINT active_record_2
1646
+ PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-15@example.com"], ["id", "f8610cb1-1cc8-47e7-aa05-cabbf3591e37"], ["LIMIT", 1]]
1647
+ SQL (0.4ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", 2016-11-21 19:35:31 UTC], ["id", "f8610cb1-1cc8-47e7-aa05-cabbf3591e37"]]
1648
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1649
+ Redirected to http://test.host/admin/profile/edit
1650
+ Completed 302 Found in 6ms (ActiveRecord: 1.5ms)
1651
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1652
+  (0.1ms) ROLLBACK
1653
+  (0.1ms) BEGIN
1654
+ ---------------------------------------------------------------
1655
+ PushType::AuthenticatableTest::validatable: test_0001_anonymous
1656
+ ---------------------------------------------------------------
1657
+  (0.1ms) SAVEPOINT active_record_1
1658
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1659
+  (0.1ms) SAVEPOINT active_record_1
1660
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1661
+  (0.1ms) ROLLBACK
1662
+  (0.1ms) BEGIN
1663
+ ---------------------------------------------------------------
1664
+ PushType::AuthenticatableTest::validatable: test_0002_anonymous
1665
+ ---------------------------------------------------------------
1666
+  (0.1ms) SAVEPOINT active_record_1
1667
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1668
+  (0.1ms) SAVEPOINT active_record_1
1669
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1746
1670
   (0.1ms) ROLLBACK
1747
1671
   (0.1ms) BEGIN
1748
1672
  ----------------------------------------------------------------------
1749
- PushType::Admin::UsersControllerTest::PUT #invite: test_0002_anonymous
1673
+ PushType::Admin::UsersControllerTest::PUT #invite: test_0003_anonymous
1750
1674
  ----------------------------------------------------------------------
1751
1675
   (0.1ms) SAVEPOINT active_record_1
1752
1676
   (0.1ms) RELEASE SAVEPOINT active_record_1
1753
1677
   (0.1ms) SAVEPOINT active_record_1
1754
1678
   (0.1ms) SAVEPOINT active_record_2
1755
- PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-14@example.com"], ["LIMIT", 1]]
1756
- PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-14@example.com"], ["LIMIT", 1]]
1757
- SQL (0.3ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-14@example.com"], ["created_at", 2016-11-17 15:46:37 UTC], ["updated_at", 2016-11-17 15:46:37 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-17 15:46:37 UTC], ["confirmation_sent_at", 2016-11-17 15:46:37 UTC]]
1679
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-16@example.com"], ["LIMIT", 1]]
1680
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-16@example.com"], ["LIMIT", 1]]
1681
+ SQL (0.4ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-16@example.com"], ["created_at", 2016-11-21 19:35:31 UTC], ["updated_at", 2016-11-21 19:35:31 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-21 19:35:31 UTC], ["confirmation_sent_at", 2016-11-21 19:35:31 UTC]]
1758
1682
   (0.1ms) RELEASE SAVEPOINT active_record_2
1759
1683
   (0.1ms) SAVEPOINT active_record_2
1760
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-15@example.com"], ["LIMIT", 1]]
1761
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-15@example.com"], ["LIMIT", 1]]
1762
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-15@example.com"], ["created_at", 2016-11-17 15:46:37 UTC], ["updated_at", 2016-11-17 15:46:37 UTC], ["confirmation_token", "XxvfSxCkj8jHwtoH3aoh"], ["confirmation_sent_at", 2016-11-17 15:46:37 UTC]]
1684
+ PushType::User Exists (0.6ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-17@example.com"], ["LIMIT", 1]]
1685
+ PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-17@example.com"], ["LIMIT", 1]]
1686
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-17@example.com"], ["created_at", 2016-11-21 19:35:31 UTC], ["updated_at", 2016-11-21 19:35:31 UTC], ["confirmation_token", "ePw1TEZtmWQBcnh-SbHD"], ["confirmation_sent_at", 2016-11-21 19:35:31 UTC]]
1763
1687
   (0.1ms) RELEASE SAVEPOINT active_record_2
1764
1688
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
1765
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.5ms)
1766
- Devise::Mailer#confirmation_instructions: processed outbound mail in 4.8ms
1767
- Sent mail to joe-15@example.com (5.4ms)
1768
- Date: Thu, 17 Nov 2016 15:46:37 +0000
1689
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.7ms)
1690
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 42.2ms
1691
+ Sent mail to joe-17@example.com (3.5ms)
1692
+ Date: Mon, 21 Nov 2016 19:35:31 +0000
1769
1693
  From: pushtype@example.com
1770
1694
  Reply-To: pushtype@example.com
1771
- To: joe-15@example.com
1772
- Message-ID: <582dd0ddbba8a_d4703fd50d43f9c82758e@Aarons-iMac.local.mail>
1695
+ To: joe-17@example.com
1696
+ Message-ID: <58334c836357b_79d13fe85c43f9e8914c@Aarons-iMac.local.mail>
1773
1697
  Subject: [PushType] Confirm your account
1774
1698
  Mime-Version: 1.0
1775
1699
  Content-Type: multipart/alternative;
1776
- boundary="--==_mimepart_582dd0ddbb46d_d4703fd50d43f9c82743b";
1700
+ boundary="--==_mimepart_58334c83630fa_79d13fe85c43f9e89139e";
1777
1701
  charset=UTF-8
1778
1702
  Content-Transfer-Encoding: 7bit
1779
1703
 
1780
1704
 
1781
- ----==_mimepart_582dd0ddbb46d_d4703fd50d43f9c82743b
1705
+ ----==_mimepart_58334c83630fa_79d13fe85c43f9e89139e
1782
1706
  Content-Type: text/plain;
1783
1707
  charset=UTF-8
1784
1708
  Content-Transfer-Encoding: 7bit
@@ -1794,11 +1718,11 @@ To get started, confirm your account and set your own password by
1794
1718
  clicking the link below:
1795
1719
 
1796
1720
  Confirm my account
1797
- ( http://localhost:3000/admin/confirmation.7a53f1b2-0b87-4ca3-8844-634e6ce65607?confirmation_token=XxvfSxCkj8jHwtoH3aoh )
1721
+ ( http://localhost:3000/admin/confirmation.e311eef5-cbb5-4835-8fdc-d94983db87a2?confirmation_token=ePw1TEZtmWQBcnh-SbHD )
1798
1722
 
1799
1723
 
1800
1724
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1801
- ----==_mimepart_582dd0ddbb46d_d4703fd50d43f9c82743b
1725
+ ----==_mimepart_58334c83630fa_79d13fe85c43f9e89139e
1802
1726
  Content-Type: text/html;
1803
1727
  charset=UTF-8
1804
1728
  Content-Transfer-Encoding: 7bit
@@ -1844,7 +1768,7 @@ body {
1844
1768
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
1845
1769
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1846
1770
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
1847
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.7a53f1b2-0b87-4ca3-8844-634e6ce65607?confirmation_token=XxvfSxCkj8jHwtoH3aoh" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
1771
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.e311eef5-cbb5-4835-8fdc-d94983db87a2?confirmation_token=ePw1TEZtmWQBcnh-SbHD" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
1848
1772
  </td>
1849
1773
  </tr>
1850
1774
  </table>
@@ -1889,32 +1813,32 @@ body {
1889
1813
  </body>
1890
1814
  </html>
1891
1815
 
1892
- ----==_mimepart_582dd0ddbb46d_d4703fd50d43f9c82743b--
1816
+ ----==_mimepart_58334c83630fa_79d13fe85c43f9e89139e--
1893
1817
 
1894
1818
  Processing by PushType::Admin::UsersController#invite as HTML
1895
- Parameters: {"id"=>"7a53f1b2-0b87-4ca3-8844-634e6ce65607"}
1896
- PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "5f981038-e263-4761-9a73-7803785f5022"], ["LIMIT", 1]]
1897
- PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "7a53f1b2-0b87-4ca3-8844-634e6ce65607"], ["LIMIT", 1]]
1819
+ Parameters: {"id"=>"e311eef5-cbb5-4835-8fdc-d94983db87a2"}
1820
+ PushType::User Load (0.5ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "c9535838-f054-40ef-bffa-93e69d00ae25"], ["LIMIT", 1]]
1821
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "e311eef5-cbb5-4835-8fdc-d94983db87a2"], ["LIMIT", 1]]
1898
1822
   (0.1ms) SAVEPOINT active_record_2
1899
1823
   (0.1ms) RELEASE SAVEPOINT active_record_2
1900
1824
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
1901
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1902
- Devise::Mailer#confirmation_instructions: processed outbound mail in 3.7ms
1903
- Sent mail to joe-15@example.com (3.5ms)
1904
- Date: Thu, 17 Nov 2016 15:46:37 +0000
1825
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms)
1826
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 3.5ms
1827
+ Sent mail to joe-17@example.com (4.2ms)
1828
+ Date: Mon, 21 Nov 2016 19:35:31 +0000
1905
1829
  From: pushtype@example.com
1906
1830
  Reply-To: pushtype@example.com
1907
- To: joe-15@example.com
1908
- Message-ID: <582dd0ddc9c43_d4703fd50d43f9c8278b3@Aarons-iMac.local.mail>
1831
+ To: joe-17@example.com
1832
+ Message-ID: <58334c836e04a_79d13fe85c43f9e89179a@Aarons-iMac.local.mail>
1909
1833
  Subject: [PushType] Confirm your account
1910
1834
  Mime-Version: 1.0
1911
1835
  Content-Type: multipart/alternative;
1912
- boundary="--==_mimepart_582dd0ddc97fa_d4703fd50d43f9c8277d2";
1836
+ boundary="--==_mimepart_58334c836dba9_79d13fe85c43f9e891689";
1913
1837
  charset=UTF-8
1914
1838
  Content-Transfer-Encoding: 7bit
1915
1839
 
1916
1840
 
1917
- ----==_mimepart_582dd0ddc97fa_d4703fd50d43f9c8277d2
1841
+ ----==_mimepart_58334c836dba9_79d13fe85c43f9e891689
1918
1842
  Content-Type: text/plain;
1919
1843
  charset=UTF-8
1920
1844
  Content-Transfer-Encoding: 7bit
@@ -1930,11 +1854,11 @@ To get started, confirm your account and set your own password by
1930
1854
  clicking the link below:
1931
1855
 
1932
1856
  Confirm my account
1933
- ( http://localhost:3000/admin/confirmation.7a53f1b2-0b87-4ca3-8844-634e6ce65607?confirmation_token=XxvfSxCkj8jHwtoH3aoh )
1857
+ ( http://localhost:3000/admin/confirmation.e311eef5-cbb5-4835-8fdc-d94983db87a2?confirmation_token=ePw1TEZtmWQBcnh-SbHD )
1934
1858
 
1935
1859
 
1936
1860
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1937
- ----==_mimepart_582dd0ddc97fa_d4703fd50d43f9c8277d2
1861
+ ----==_mimepart_58334c836dba9_79d13fe85c43f9e891689
1938
1862
  Content-Type: text/html;
1939
1863
  charset=UTF-8
1940
1864
  Content-Transfer-Encoding: 7bit
@@ -1980,7 +1904,7 @@ body {
1980
1904
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
1981
1905
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1982
1906
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
1983
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.7a53f1b2-0b87-4ca3-8844-634e6ce65607?confirmation_token=XxvfSxCkj8jHwtoH3aoh" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
1907
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.e311eef5-cbb5-4835-8fdc-d94983db87a2?confirmation_token=ePw1TEZtmWQBcnh-SbHD" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
1984
1908
  </td>
1985
1909
  </tr>
1986
1910
  </table>
@@ -2025,47 +1949,47 @@ body {
2025
1949
  </body>
2026
1950
  </html>
2027
1951
 
2028
- ----==_mimepart_582dd0ddc97fa_d4703fd50d43f9c8277d2--
1952
+ ----==_mimepart_58334c836dba9_79d13fe85c43f9e891689--
2029
1953
 
2030
1954
  Redirected to http://test.host/push_type/users
2031
- Completed 302 Found in 55ms (ActiveRecord: 1.0ms)
2032
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2033
-  (0.1ms) ROLLBACK
1955
+ Completed 302 Found in 44ms (ActiveRecord: 0.9ms)
1956
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1957
+  (0.2ms) ROLLBACK
2034
1958
   (0.1ms) BEGIN
2035
1959
  ----------------------------------------------------------------------
2036
- PushType::Admin::UsersControllerTest::PUT #invite: test_0003_anonymous
1960
+ PushType::Admin::UsersControllerTest::PUT #invite: test_0001_anonymous
2037
1961
  ----------------------------------------------------------------------
2038
-  (0.1ms) SAVEPOINT active_record_1
2039
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2040
-  (0.1ms) SAVEPOINT active_record_1
1962
+  (0.0ms) SAVEPOINT active_record_1
1963
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1964
+  (0.0ms) SAVEPOINT active_record_1
2041
1965
   (0.1ms) SAVEPOINT active_record_2
2042
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-16@example.com"], ["LIMIT", 1]]
2043
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-16@example.com"], ["LIMIT", 1]]
2044
- SQL (0.3ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-16@example.com"], ["created_at", 2016-11-17 15:46:37 UTC], ["updated_at", 2016-11-17 15:46:37 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-17 15:46:37 UTC], ["confirmation_sent_at", 2016-11-17 15:46:37 UTC]]
1966
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-18@example.com"], ["LIMIT", 1]]
1967
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-18@example.com"], ["LIMIT", 1]]
1968
+ SQL (0.4ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-18@example.com"], ["created_at", 2016-11-21 19:35:31 UTC], ["updated_at", 2016-11-21 19:35:31 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-21 19:35:31 UTC], ["confirmation_sent_at", 2016-11-21 19:35:31 UTC]]
2045
1969
   (0.1ms) RELEASE SAVEPOINT active_record_2
2046
1970
   (0.1ms) SAVEPOINT active_record_2
2047
- PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-17@example.com"], ["LIMIT", 1]]
2048
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-17@example.com"], ["LIMIT", 1]]
2049
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-17@example.com"], ["created_at", 2016-11-17 15:46:37 UTC], ["updated_at", 2016-11-17 15:46:37 UTC], ["confirmation_token", "_XjubFxAgz_cWiJ5PeQN"], ["confirmation_sent_at", 2016-11-17 15:46:37 UTC]]
1971
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-19@example.com"], ["LIMIT", 1]]
1972
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-19@example.com"], ["LIMIT", 1]]
1973
+ SQL (0.3ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-19@example.com"], ["created_at", 2016-11-21 19:35:31 UTC], ["updated_at", 2016-11-21 19:35:31 UTC], ["confirmation_token", "cAaeibbHCL_29tPoAJ9p"], ["confirmation_sent_at", 2016-11-21 19:35:31 UTC]]
2050
1974
   (0.1ms) RELEASE SAVEPOINT active_record_2
2051
1975
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
2052
1976
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
2053
1977
  Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms
2054
- Sent mail to joe-17@example.com (4.4ms)
2055
- Date: Thu, 17 Nov 2016 15:46:37 +0000
1978
+ Sent mail to joe-19@example.com (4.0ms)
1979
+ Date: Mon, 21 Nov 2016 19:35:31 +0000
2056
1980
  From: pushtype@example.com
2057
1981
  Reply-To: pushtype@example.com
2058
- To: joe-17@example.com
2059
- Message-ID: <582dd0ddd80ea_d4703fd50d43f9c8281a7@Aarons-iMac.local.mail>
1982
+ To: joe-19@example.com
1983
+ Message-ID: <58334c837d5c1_79d13fe85c43f9e892056@Aarons-iMac.local.mail>
2060
1984
  Subject: [PushType] Confirm your account
2061
1985
  Mime-Version: 1.0
2062
1986
  Content-Type: multipart/alternative;
2063
- boundary="--==_mimepart_582dd0ddd7b5f_d4703fd50d43f9c8280d2";
1987
+ boundary="--==_mimepart_58334c837d117_79d13fe85c43f9e8919d1";
2064
1988
  charset=UTF-8
2065
1989
  Content-Transfer-Encoding: 7bit
2066
1990
 
2067
1991
 
2068
- ----==_mimepart_582dd0ddd7b5f_d4703fd50d43f9c8280d2
1992
+ ----==_mimepart_58334c837d117_79d13fe85c43f9e8919d1
2069
1993
  Content-Type: text/plain;
2070
1994
  charset=UTF-8
2071
1995
  Content-Transfer-Encoding: 7bit
@@ -2081,11 +2005,11 @@ To get started, confirm your account and set your own password by
2081
2005
  clicking the link below:
2082
2006
 
2083
2007
  Confirm my account
2084
- ( http://localhost:3000/admin/confirmation.d2367a54-f1e7-4a4f-be01-5a40647afe53?confirmation_token=_XjubFxAgz_cWiJ5PeQN )
2008
+ ( http://localhost:3000/admin/confirmation.9892af1e-bb05-4d73-98f6-7ded541c3315?confirmation_token=cAaeibbHCL_29tPoAJ9p )
2085
2009
 
2086
2010
 
2087
2011
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2088
- ----==_mimepart_582dd0ddd7b5f_d4703fd50d43f9c8280d2
2012
+ ----==_mimepart_58334c837d117_79d13fe85c43f9e8919d1
2089
2013
  Content-Type: text/html;
2090
2014
  charset=UTF-8
2091
2015
  Content-Transfer-Encoding: 7bit
@@ -2131,7 +2055,7 @@ body {
2131
2055
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
2132
2056
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2133
2057
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
2134
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.d2367a54-f1e7-4a4f-be01-5a40647afe53?confirmation_token=_XjubFxAgz_cWiJ5PeQN" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
2058
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.9892af1e-bb05-4d73-98f6-7ded541c3315?confirmation_token=cAaeibbHCL_29tPoAJ9p" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
2135
2059
  </td>
2136
2060
  </tr>
2137
2061
  </table>
@@ -2176,32 +2100,32 @@ body {
2176
2100
  </body>
2177
2101
  </html>
2178
2102
 
2179
- ----==_mimepart_582dd0ddd7b5f_d4703fd50d43f9c8280d2--
2103
+ ----==_mimepart_58334c837d117_79d13fe85c43f9e8919d1--
2180
2104
 
2181
2105
  Processing by PushType::Admin::UsersController#invite as HTML
2182
- Parameters: {"id"=>"d2367a54-f1e7-4a4f-be01-5a40647afe53"}
2183
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "61e1164a-9d47-4b49-921f-0fbe9ea967e0"], ["LIMIT", 1]]
2184
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "d2367a54-f1e7-4a4f-be01-5a40647afe53"], ["LIMIT", 1]]
2106
+ Parameters: {"id"=>"9892af1e-bb05-4d73-98f6-7ded541c3315"}
2107
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "17c0d50e-8112-4096-9347-e212f4cd0544"], ["LIMIT", 1]]
2108
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "9892af1e-bb05-4d73-98f6-7ded541c3315"], ["LIMIT", 1]]
2185
2109
   (0.1ms) SAVEPOINT active_record_2
2186
2110
   (0.1ms) RELEASE SAVEPOINT active_record_2
2187
2111
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
2188
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
2112
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms)
2189
2113
  Devise::Mailer#confirmation_instructions: processed outbound mail in 3.0ms
2190
- Sent mail to joe-17@example.com (4.5ms)
2191
- Date: Thu, 17 Nov 2016 15:46:37 +0000
2114
+ Sent mail to joe-19@example.com (4.7ms)
2115
+ Date: Mon, 21 Nov 2016 19:35:31 +0000
2192
2116
  From: pushtype@example.com
2193
2117
  Reply-To: pushtype@example.com
2194
- To: joe-17@example.com
2195
- Message-ID: <582dd0dde5991_d4703fd50d43f9c828427@Aarons-iMac.local.mail>
2118
+ To: joe-19@example.com
2119
+ Message-ID: <58334c838a50e_79d13fe85c43f9e8923d2@Aarons-iMac.local.mail>
2196
2120
  Subject: [PushType] Confirm your account
2197
2121
  Mime-Version: 1.0
2198
2122
  Content-Type: multipart/alternative;
2199
- boundary="--==_mimepart_582dd0dde53a4_d4703fd50d43f9c8283e2";
2123
+ boundary="--==_mimepart_58334c8389fc8_79d13fe85c43f9e8922af";
2200
2124
  charset=UTF-8
2201
2125
  Content-Transfer-Encoding: 7bit
2202
2126
 
2203
2127
 
2204
- ----==_mimepart_582dd0dde53a4_d4703fd50d43f9c8283e2
2128
+ ----==_mimepart_58334c8389fc8_79d13fe85c43f9e8922af
2205
2129
  Content-Type: text/plain;
2206
2130
  charset=UTF-8
2207
2131
  Content-Transfer-Encoding: 7bit
@@ -2217,11 +2141,11 @@ To get started, confirm your account and set your own password by
2217
2141
  clicking the link below:
2218
2142
 
2219
2143
  Confirm my account
2220
- ( http://localhost:3000/admin/confirmation.d2367a54-f1e7-4a4f-be01-5a40647afe53?confirmation_token=_XjubFxAgz_cWiJ5PeQN )
2144
+ ( http://localhost:3000/admin/confirmation.9892af1e-bb05-4d73-98f6-7ded541c3315?confirmation_token=cAaeibbHCL_29tPoAJ9p )
2221
2145
 
2222
2146
 
2223
2147
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2224
- ----==_mimepart_582dd0dde53a4_d4703fd50d43f9c8283e2
2148
+ ----==_mimepart_58334c8389fc8_79d13fe85c43f9e8922af
2225
2149
  Content-Type: text/html;
2226
2150
  charset=UTF-8
2227
2151
  Content-Transfer-Encoding: 7bit
@@ -2267,7 +2191,7 @@ body {
2267
2191
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
2268
2192
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2269
2193
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
2270
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.d2367a54-f1e7-4a4f-be01-5a40647afe53?confirmation_token=_XjubFxAgz_cWiJ5PeQN" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
2194
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.9892af1e-bb05-4d73-98f6-7ded541c3315?confirmation_token=cAaeibbHCL_29tPoAJ9p" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
2271
2195
  </td>
2272
2196
  </tr>
2273
2197
  </table>
@@ -2312,217 +2236,47 @@ body {
2312
2236
  </body>
2313
2237
  </html>
2314
2238
 
2315
- ----==_mimepart_582dd0dde53a4_d4703fd50d43f9c8283e2--
2239
+ ----==_mimepart_58334c8389fc8_79d13fe85c43f9e8922af--
2316
2240
 
2317
2241
  Redirected to http://test.host/push_type/users
2318
- Completed 302 Found in 55ms (ActiveRecord: 0.5ms)
2319
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2320
-  (0.1ms) ROLLBACK
2321
-  (0.1ms) BEGIN
2322
- ------------------------------------------------------------------------------------------
2323
- PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
2324
- ------------------------------------------------------------------------------------------
2325
-  (0.1ms) SAVEPOINT active_record_1
2326
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2327
-  (0.1ms) SAVEPOINT active_record_1
2328
-  (0.1ms) SAVEPOINT active_record_2
2329
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-18@example.com"], ["LIMIT", 1]]
2330
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-18@example.com"], ["LIMIT", 1]]
2331
- SQL (0.4ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-18@example.com"], ["created_at", 2016-11-17 15:46:37 UTC], ["updated_at", 2016-11-17 15:46:37 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-17 15:46:37 UTC], ["confirmation_sent_at", 2016-11-17 15:46:37 UTC]]
2332
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2333
- Processing by PushType::Admin::ProfilesController#update as HTML
2334
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
2335
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "c41dde78-bb1a-4d1d-a757-fa3246f8ccfe"], ["LIMIT", 1]]
2336
-  (0.1ms) SAVEPOINT active_record_2
2337
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-18@example.com"], ["id", "c41dde78-bb1a-4d1d-a757-fa3246f8ccfe"], ["LIMIT", 1]]
2338
- SQL (0.2ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", 2016-11-17 15:46:37 UTC], ["id", "c41dde78-bb1a-4d1d-a757-fa3246f8ccfe"]]
2339
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2340
- Redirected to http://test.host/admin/profile/edit
2341
- Completed 302 Found in 7ms (ActiveRecord: 1.0ms)
2342
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT $2 [["id", "c41dde78-bb1a-4d1d-a757-fa3246f8ccfe"], ["LIMIT", 1]]
2343
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2344
-  (0.1ms) ROLLBACK
2345
-  (0.1ms) BEGIN
2346
- ------------------------------------------------------------------------------------------
2347
- PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0002_anonymous
2348
- ------------------------------------------------------------------------------------------
2349
-  (0.1ms) SAVEPOINT active_record_1
2350
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2351
-  (0.0ms) SAVEPOINT active_record_1
2352
-  (0.1ms) SAVEPOINT active_record_2
2353
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-19@example.com"], ["LIMIT", 1]]
2354
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-19@example.com"], ["LIMIT", 1]]
2355
- SQL (0.3ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-19@example.com"], ["created_at", 2016-11-17 15:46:37 UTC], ["updated_at", 2016-11-17 15:46:37 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-17 15:46:37 UTC], ["confirmation_sent_at", 2016-11-17 15:46:37 UTC]]
2356
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2357
- Processing by PushType::Admin::ProfilesController#update as HTML
2358
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
2359
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "c20c8454-7994-43ce-81bb-9f17444634c3"], ["LIMIT", 1]]
2360
-  (0.1ms) SAVEPOINT active_record_2
2361
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-19@example.com"], ["id", "c20c8454-7994-43ce-81bb-9f17444634c3"], ["LIMIT", 1]]
2362
- SQL (0.3ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", 2016-11-17 15:46:37 UTC], ["id", "c20c8454-7994-43ce-81bb-9f17444634c3"]]
2363
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2364
- Redirected to http://test.host/admin/profile/edit
2365
- Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
2366
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2367
-  (0.1ms) ROLLBACK
2368
-  (0.1ms) BEGIN
2369
- ------------------------------------------------------------------------------------------
2370
- PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0003_anonymous
2371
- ------------------------------------------------------------------------------------------
2372
-  (0.0ms) SAVEPOINT active_record_1
2373
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2374
-  (0.0ms) SAVEPOINT active_record_1
2375
-  (0.1ms) SAVEPOINT active_record_2
2376
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-20@example.com"], ["LIMIT", 1]]
2377
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-20@example.com"], ["LIMIT", 1]]
2378
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-20@example.com"], ["created_at", 2016-11-17 15:46:37 UTC], ["updated_at", 2016-11-17 15:46:37 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-17 15:46:37 UTC], ["confirmation_sent_at", 2016-11-17 15:46:37 UTC]]
2379
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2380
- Processing by PushType::Admin::ProfilesController#update as HTML
2381
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
2382
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "7c1f49af-8dc5-4170-9aca-34ae45062d1c"], ["LIMIT", 1]]
2383
-  (0.1ms) SAVEPOINT active_record_2
2384
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-20@example.com"], ["id", "7c1f49af-8dc5-4170-9aca-34ae45062d1c"], ["LIMIT", 1]]
2385
- SQL (0.2ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", 2016-11-17 15:46:37 UTC], ["id", "7c1f49af-8dc5-4170-9aca-34ae45062d1c"]]
2386
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2387
- Redirected to http://test.host/admin/profile/edit
2388
- Completed 302 Found in 7ms (ActiveRecord: 0.9ms)
2389
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2390
-  (0.1ms) ROLLBACK
2391
-  (0.1ms) BEGIN
2392
- --------------------------------------------------------------------------------------------
2393
- PushType::Admin::ProfilesControllerTest::PUT #update::with invalid user: test_0001_anonymous
2394
- --------------------------------------------------------------------------------------------
2395
-  (0.1ms) SAVEPOINT active_record_1
2396
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2397
-  (0.0ms) SAVEPOINT active_record_1
2398
-  (0.1ms) SAVEPOINT active_record_2
2399
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-21@example.com"], ["LIMIT", 1]]
2400
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-21@example.com"], ["LIMIT", 1]]
2401
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-21@example.com"], ["created_at", 2016-11-17 15:46:37 UTC], ["updated_at", 2016-11-17 15:46:37 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-17 15:46:37 UTC], ["confirmation_sent_at", 2016-11-17 15:46:37 UTC]]
2402
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2403
- Processing by PushType::Admin::ProfilesController#update as HTML
2404
- Parameters: {"user"=>{"name"=>""}}
2405
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "4af2a0cb-8ff7-4ab9-8864-5cff9ccf1504"], ["LIMIT", 1]]
2406
-  (0.1ms) SAVEPOINT active_record_2
2407
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-21@example.com"], ["id", "4af2a0cb-8ff7-4ab9-8864-5cff9ccf1504"], ["LIMIT", 1]]
2408
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
2409
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
2410
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (7.0ms)
2411
- Completed 200 OK in 28ms (Views: 24.3ms | ActiveRecord: 0.5ms)
2242
+ Completed 302 Found in 53ms (ActiveRecord: 0.6ms)
2412
2243
   (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2413
-  (0.1ms) ROLLBACK
2414
-  (0.1ms) BEGIN
2415
- --------------------------------------------------------------------------------------------
2416
- PushType::Admin::ProfilesControllerTest::PUT #update::with invalid user: test_0002_anonymous
2417
- --------------------------------------------------------------------------------------------
2418
-  (0.1ms) SAVEPOINT active_record_1
2419
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2420
-  (0.0ms) SAVEPOINT active_record_1
2421
-  (0.1ms) SAVEPOINT active_record_2
2422
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-22@example.com"], ["LIMIT", 1]]
2423
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-22@example.com"], ["LIMIT", 1]]
2424
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-22@example.com"], ["created_at", 2016-11-17 15:46:38 UTC], ["updated_at", 2016-11-17 15:46:38 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-17 15:46:38 UTC], ["confirmation_sent_at", 2016-11-17 15:46:38 UTC]]
2425
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2426
- Processing by PushType::Admin::ProfilesController#update as HTML
2427
- Parameters: {"user"=>{"name"=>""}}
2428
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "4f66ed90-dd80-478e-a919-981a41124627"], ["LIMIT", 1]]
2429
-  (0.1ms) SAVEPOINT active_record_2
2430
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-22@example.com"], ["id", "4f66ed90-dd80-478e-a919-981a41124627"], ["LIMIT", 1]]
2431
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
2432
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
2433
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (2.5ms)
2434
- Completed 200 OK in 14ms (Views: 9.7ms | ActiveRecord: 0.5ms)
2435
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2436
-  (0.1ms) ROLLBACK
2437
-  (0.1ms) BEGIN
2438
- -----------------------------------------------------------------------------------
2439
- AuthenticatedApiControllerTest::authenticated with token param: test_0001_anonymous
2440
- -----------------------------------------------------------------------------------
2441
-  (0.0ms) SAVEPOINT active_record_1
2442
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2443
-  (0.1ms) SAVEPOINT active_record_1
2444
-  (0.1ms) SAVEPOINT active_record_2
2445
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-23@example.com"], ["LIMIT", 1]]
2446
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-23@example.com"], ["LIMIT", 1]]
2447
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-23@example.com"], ["created_at", 2016-11-17 15:46:38 UTC], ["updated_at", 2016-11-17 15:46:38 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-17 15:46:38 UTC], ["confirmation_sent_at", 2016-11-17 15:46:38 UTC]]
2448
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2449
- Started GET "/api/nodes?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE0Nzk0ODM5OTgsInN1YiI6Ijc0ZWJiMThmLTc0Y2ItNGQ0OC05MTUxLTEyMTBkNTAxZGY5NyJ9.NX5UVN_FvIzDgPWPSUxljiNyVCB8V0nnwnRKxmT5cuQ" for 127.0.0.1 at 2016-11-17 15:46:38 +0000
2450
- Processing by PushType::Api::NodesController#index as JSON
2451
- Parameters: {"token"=>"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE0Nzk0ODM5OTgsInN1YiI6Ijc0ZWJiMThmLTc0Y2ItNGQ0OC05MTUxLTEyMTBkNTAxZGY5NyJ9.NX5UVN_FvIzDgPWPSUxljiNyVCB8V0nnwnRKxmT5cuQ"}
2452
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "74ebb18f-74cb-4d48-9151-1210d501df97"], ["LIMIT", 1]]
2453
- Rendering /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder
2454
- PushType::Node Load (0.3ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL ORDER BY sort_order LIMIT $1 OFFSET $2 [["LIMIT", 30], ["OFFSET", 0]]
2455
- Rendered collection of /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/shared/_pagination.json.jbuilder [0 times] (0.0ms)
2456
- Rendered /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder (4.1ms)
2457
- Completed 200 OK in 44ms (Views: 33.7ms | ActiveRecord: 0.6ms)
2458
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2459
-  (0.1ms) ROLLBACK
2460
-  (0.0ms) BEGIN
2461
- -----------------------------------------------------------
2462
- PushType::ApiAuthenticationMethodsTest: test_0001_anonymous
2463
- -----------------------------------------------------------
2464
-  (0.0ms) SAVEPOINT active_record_1
2465
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2466
-  (0.0ms) SAVEPOINT active_record_1
2467
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2468
-  (0.0ms) ROLLBACK
2469
-  (0.1ms) BEGIN
2470
- -----------------------------------------------------------
2471
- PushType::ApiAuthenticationMethodsTest: test_0003_anonymous
2472
- -----------------------------------------------------------
2473
-  (0.0ms) SAVEPOINT active_record_1
2474
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2475
-  (0.1ms) SAVEPOINT active_record_1
2476
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2477
-  (0.0ms) ROLLBACK
2478
-  (0.1ms) BEGIN
2479
- -----------------------------------------------------------
2480
- PushType::ApiAuthenticationMethodsTest: test_0002_anonymous
2481
- -----------------------------------------------------------
2482
-  (0.1ms) SAVEPOINT active_record_1
2483
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2484
-  (0.1ms) SAVEPOINT active_record_1
2485
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2486
-  (0.1ms) ROLLBACK
2487
-  (0.1ms) BEGIN
2488
- -----------------------------------------------------------
2489
- PushType::ApiAuthenticationMethodsTest: test_0004_anonymous
2490
- -----------------------------------------------------------
2491
-  (0.1ms) SAVEPOINT active_record_1
2492
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2493
-  (0.0ms) SAVEPOINT active_record_1
2494
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2495
-  (0.1ms) ROLLBACK
2496
-  (0.1ms) BEGIN
2497
- ----------------------------------------------------------------------------------------
2498
- PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0001_anonymous
2499
- ----------------------------------------------------------------------------------------
2500
-  (0.2ms) SAVEPOINT active_record_1
2501
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2244
+  (0.1ms) ROLLBACK
2245
+  (0.1ms) BEGIN
2246
+ ----------------------------------------------------------------------
2247
+ PushType::Admin::UsersControllerTest::PUT #invite: test_0002_anonymous
2248
+ ----------------------------------------------------------------------
2502
2249
   (0.1ms) SAVEPOINT active_record_1
2250
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2251
+  (0.0ms) SAVEPOINT active_record_1
2252
+  (0.1ms) SAVEPOINT active_record_2
2253
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-20@example.com"], ["LIMIT", 1]]
2254
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-20@example.com"], ["LIMIT", 1]]
2255
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-20@example.com"], ["created_at", 2016-11-21 19:35:31 UTC], ["updated_at", 2016-11-21 19:35:31 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-21 19:35:31 UTC], ["confirmation_sent_at", 2016-11-21 19:35:31 UTC]]
2256
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2503
2257
   (0.1ms) SAVEPOINT active_record_2
2504
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-24@example.com"], ["LIMIT", 1]]
2505
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-24@example.com"], ["LIMIT", 1]]
2506
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-24@example.com"], ["created_at", 2016-11-17 15:46:38 UTC], ["updated_at", 2016-11-17 15:46:38 UTC], ["confirmation_token", "ymcrARsd1bNd9k-frNfA"], ["confirmation_sent_at", 2016-11-17 15:46:38 UTC]]
2258
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-21@example.com"], ["LIMIT", 1]]
2259
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-21@example.com"], ["LIMIT", 1]]
2260
+ SQL (0.3ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-21@example.com"], ["created_at", 2016-11-21 19:35:31 UTC], ["updated_at", 2016-11-21 19:35:31 UTC], ["confirmation_token", "Yb8SnbMbhgqt96S3W2sb"], ["confirmation_sent_at", 2016-11-21 19:35:31 UTC]]
2507
2261
   (0.1ms) RELEASE SAVEPOINT active_record_2
2508
2262
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
2509
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.8ms)
2510
- Devise::Mailer#confirmation_instructions: processed outbound mail in 40.6ms
2511
- Sent mail to joe-24@example.com (3.5ms)
2512
- Date: Thu, 17 Nov 2016 15:46:38 +0000
2263
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms)
2264
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 3.4ms
2265
+ Sent mail to joe-21@example.com (3.5ms)
2266
+ Date: Mon, 21 Nov 2016 19:35:31 +0000
2513
2267
  From: pushtype@example.com
2514
2268
  Reply-To: pushtype@example.com
2515
- To: joe-24@example.com
2516
- Message-ID: <582dd0de2f141_d4703fd50d43f9c82875f@Aarons-iMac.local.mail>
2269
+ To: joe-21@example.com
2270
+ Message-ID: <58334c8398e0e_79d13fe85c43f9e89268@Aarons-iMac.local.mail>
2517
2271
  Subject: [PushType] Confirm your account
2518
2272
  Mime-Version: 1.0
2519
2273
  Content-Type: multipart/alternative;
2520
- boundary="--==_mimepart_582dd0de2ed35_d4703fd50d43f9c8286e1";
2274
+ boundary="--==_mimepart_58334c839897a_79d13fe85c43f9e89259a";
2521
2275
  charset=UTF-8
2522
2276
  Content-Transfer-Encoding: 7bit
2523
2277
 
2524
2278
 
2525
- ----==_mimepart_582dd0de2ed35_d4703fd50d43f9c8286e1
2279
+ ----==_mimepart_58334c839897a_79d13fe85c43f9e89259a
2526
2280
  Content-Type: text/plain;
2527
2281
  charset=UTF-8
2528
2282
  Content-Transfer-Encoding: 7bit
@@ -2538,11 +2292,11 @@ To get started, confirm your account and set your own password by
2538
2292
  clicking the link below:
2539
2293
 
2540
2294
  Confirm my account
2541
- ( http://localhost:3000/admin/confirmation.8abe587e-d9f4-49b0-95b5-ae0cfc02b30e?confirmation_token=ymcrARsd1bNd9k-frNfA )
2295
+ ( http://localhost:3000/admin/confirmation.3ff65948-738e-4d1d-8d34-3981ff5e4592?confirmation_token=Yb8SnbMbhgqt96S3W2sb )
2542
2296
 
2543
2297
 
2544
2298
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2545
- ----==_mimepart_582dd0de2ed35_d4703fd50d43f9c8286e1
2299
+ ----==_mimepart_58334c839897a_79d13fe85c43f9e89259a
2546
2300
  Content-Type: text/html;
2547
2301
  charset=UTF-8
2548
2302
  Content-Transfer-Encoding: 7bit
@@ -2588,7 +2342,7 @@ body {
2588
2342
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
2589
2343
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2590
2344
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
2591
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.8abe587e-d9f4-49b0-95b5-ae0cfc02b30e?confirmation_token=ymcrARsd1bNd9k-frNfA" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
2345
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.3ff65948-738e-4d1d-8d34-3981ff5e4592?confirmation_token=Yb8SnbMbhgqt96S3W2sb" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
2592
2346
  </td>
2593
2347
  </tr>
2594
2348
  </table>
@@ -2633,53 +2387,228 @@ body {
2633
2387
  </body>
2634
2388
  </html>
2635
2389
 
2636
- ----==_mimepart_582dd0de2ed35_d4703fd50d43f9c8286e1--
2390
+ ----==_mimepart_58334c839897a_79d13fe85c43f9e89259a--
2637
2391
 
2638
- Processing by PushType::ConfirmationsController#update as HTML
2639
- Parameters: {"user"=>{"confirmation_token"=>"ymcrARsd1bNd9k-frNfA", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2640
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "ymcrARsd1bNd9k-frNfA"], ["LIMIT", 1]]
2641
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-24@example.com"], ["id", "8abe587e-d9f4-49b0-95b5-ae0cfc02b30e"], ["LIMIT", 1]]
2642
-  (0.1ms) SAVEPOINT active_record_2
2643
- SQL (0.3ms) UPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["encrypted_password", "$2a$04$xLssArG2VfBz1A6pWz90LeaCLTnAMLq/OveoM.KEWL.HDJr23Iqj6"], ["confirmed_at", 2016-11-17 15:46:38 UTC], ["updated_at", 2016-11-17 15:46:38 UTC], ["id", "8abe587e-d9f4-49b0-95b5-ae0cfc02b30e"]]
2644
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2392
+ Processing by PushType::Admin::UsersController#invite as HTML
2393
+ Parameters: {"id"=>"3ff65948-738e-4d1d-8d34-3981ff5e4592"}
2394
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "a532bd67-26d0-41c4-aa4e-52ad00379a20"], ["LIMIT", 1]]
2395
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "3ff65948-738e-4d1d-8d34-3981ff5e4592"], ["LIMIT", 1]]
2645
2396
   (0.1ms) SAVEPOINT active_record_2
2646
- SQL (0.2ms) UPDATE "push_type_users" SET "updated_at" = $1, "sign_in_count" = $2, "current_sign_in_at" = $3, "last_sign_in_at" = $4, "current_sign_in_ip" = $5, "last_sign_in_ip" = $6 WHERE "push_type_users"."id" = $7 [["updated_at", 2016-11-17 15:46:38 UTC], ["sign_in_count", 1], ["current_sign_in_at", 2016-11-17 15:46:38 UTC], ["last_sign_in_at", 2016-11-17 15:46:38 UTC], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "8abe587e-d9f4-49b0-95b5-ae0cfc02b30e"]]
2647
2397
   (0.1ms) RELEASE SAVEPOINT active_record_2
2648
- Redirected to http://test.host/admin/
2649
- Completed 302 Found in 9ms (ActiveRecord: 1.3ms)
2650
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT $2 [["id", "8abe587e-d9f4-49b0-95b5-ae0cfc02b30e"], ["LIMIT", 1]]
2398
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
2399
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
2400
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 3.4ms
2401
+ Sent mail to joe-21@example.com (3.6ms)
2402
+ Date: Mon, 21 Nov 2016 19:35:31 +0000
2403
+ From: pushtype@example.com
2404
+ Reply-To: pushtype@example.com
2405
+ To: joe-21@example.com
2406
+ Message-ID: <58334c83a5313_79d13fe85c43f9e8929ed@Aarons-iMac.local.mail>
2407
+ Subject: [PushType] Confirm your account
2408
+ Mime-Version: 1.0
2409
+ Content-Type: multipart/alternative;
2410
+ boundary="--==_mimepart_58334c83a4f07_79d13fe85c43f9e892882";
2411
+ charset=UTF-8
2412
+ Content-Transfer-Encoding: 7bit
2413
+
2414
+
2415
+ ----==_mimepart_58334c83a4f07_79d13fe85c43f9e892882
2416
+ Content-Type: text/plain;
2417
+ charset=UTF-8
2418
+ Content-Transfer-Encoding: 7bit
2419
+
2420
+ PushType ( http://localhost:3000/admin/ )
2421
+
2422
+ Hello Joe Bloggs
2423
+
2424
+ You're receiving this email because a PushType account has been
2425
+ created for you.
2426
+
2427
+ To get started, confirm your account and set your own password by
2428
+ clicking the link below:
2429
+
2430
+ Confirm my account
2431
+ ( http://localhost:3000/admin/confirmation.3ff65948-738e-4d1d-8d34-3981ff5e4592?confirmation_token=Yb8SnbMbhgqt96S3W2sb )
2432
+
2433
+
2434
+ PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2435
+ ----==_mimepart_58334c83a4f07_79d13fe85c43f9e892882
2436
+ Content-Type: text/html;
2437
+ charset=UTF-8
2438
+ Content-Transfer-Encoding: 7bit
2439
+
2440
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2441
+ <html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2442
+ <head>
2443
+ <meta name="viewport" content="width=device-width" />
2444
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
2445
+ <title>[PushType] Confirm your account</title>
2446
+
2447
+ </head>
2448
+
2449
+ <body bgcolor="#f6f6f6" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; height: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100% !important;"><style type="text/css">
2450
+ img {
2451
+ max-width: 100%;
2452
+ }
2453
+ body {
2454
+ -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%;
2455
+ }
2456
+ </style>
2457
+
2458
+ <!-- body -->
2459
+ <table class="body-wrap" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 20px; width: 100%;">
2460
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2461
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"></td>
2462
+ <td class="container" bgcolor="#FFFFFF" style="border: 1px solid #f0f0f0; clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 20px;">
2463
+
2464
+ <!-- content -->
2465
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0;">
2466
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
2467
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2468
+ <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px;"><a href="http://localhost:3000/admin/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"><img alt="PushType" src="/assets/push_type/pushtype-logo-a3af31e6141c9b155900c4cfde696ee92b3c080d35cd5d7afc82f8fb5a2fe6fa.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0;" /></a></td>
2469
+ </tr>
2470
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2471
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2472
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;">Hello Joe Bloggs</p>
2473
+
2474
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;">You're receiving this email because a PushType account has been created for you.</p>
2475
+
2476
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;">To get started, confirm your account and set your own password by clicking the link below:</p>
2477
+
2478
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
2479
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2480
+ <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
2481
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.3ff65948-738e-4d1d-8d34-3981ff5e4592?confirmation_token=Yb8SnbMbhgqt96S3W2sb" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
2482
+ </td>
2483
+ </tr>
2484
+ </table>
2485
+
2486
+
2487
+ </td>
2488
+ </tr>
2489
+ </table>
2490
+ </div>
2491
+ <!-- /content -->
2492
+
2493
+ </td>
2494
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"></td>
2495
+ </tr>
2496
+ </table>
2497
+ <!-- /body -->
2498
+
2499
+ <!-- footer -->
2500
+ <table class="footer-wrap" style="clear: both !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
2501
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2502
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"></td>
2503
+ <td class="container" style="clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 0;">
2504
+
2505
+ <!-- content -->
2506
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0;">
2507
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
2508
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2509
+ <td align="center" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2510
+ <p style="color: #666; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 12px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;">PushType CMS: <a href="http://www.pushtype.org" style="color: #999; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">www.pushtype.org</a>.</p>
2511
+ </td>
2512
+ </tr>
2513
+ </table>
2514
+ </div>
2515
+ <!-- /content -->
2516
+
2517
+ </td>
2518
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"></td>
2519
+ </tr>
2520
+ </table>
2521
+ <!-- /footer -->
2522
+
2523
+ </body>
2524
+ </html>
2525
+
2526
+ ----==_mimepart_58334c83a4f07_79d13fe85c43f9e892882--
2527
+
2528
+ Redirected to http://test.host/push_type/users
2529
+ Completed 302 Found in 50ms (ActiveRecord: 0.6ms)
2530
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2531
+  (0.1ms) ROLLBACK
2532
+  (0.1ms) BEGIN
2533
+ ---------------------------------------------------------------
2534
+ PushType::AuthenticatableTest::recoverable: test_0001_anonymous
2535
+ ---------------------------------------------------------------
2536
+  (0.1ms) SAVEPOINT active_record_1
2537
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2538
+  (0.1ms) SAVEPOINT active_record_1
2651
2539
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2652
2540
   (0.1ms) ROLLBACK
2653
-  (0.0ms) BEGIN
2654
- ----------------------------------------------------------------------------------------
2655
- PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0002_anonymous
2656
- ----------------------------------------------------------------------------------------
2541
+  (0.1ms) BEGIN
2542
+ -------------------------------------------------------------
2543
+ PushType::AuthenticatableTest::trackable: test_0001_anonymous
2544
+ -------------------------------------------------------------
2545
+  (0.1ms) SAVEPOINT active_record_1
2546
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2547
+  (0.1ms) SAVEPOINT active_record_1
2548
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2549
+  (0.1ms) ROLLBACK
2550
+  (0.1ms) BEGIN
2551
+ --------------------------------------------------------
2552
+ PushType::AuthenticationMethodsTest: test_0002_anonymous
2553
+ --------------------------------------------------------
2554
+  (0.1ms) SAVEPOINT active_record_1
2555
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2556
+  (0.1ms) SAVEPOINT active_record_1
2557
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2558
+  (0.1ms) ROLLBACK
2559
+  (0.1ms) BEGIN
2560
+ --------------------------------------------------------
2561
+ PushType::AuthenticationMethodsTest: test_0001_anonymous
2562
+ --------------------------------------------------------
2563
+  (0.0ms) SAVEPOINT active_record_1
2564
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2657
2565
   (0.0ms) SAVEPOINT active_record_1
2566
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2567
+  (0.0ms) ROLLBACK
2568
+  (0.1ms) BEGIN
2569
+ -------------------------------------------------------------------------
2570
+ AuthenticatedControllerTest::unauthenticated request: test_0001_anonymous
2571
+ -------------------------------------------------------------------------
2572
+  (0.1ms) SAVEPOINT active_record_1
2573
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2574
+  (0.1ms) SAVEPOINT active_record_1
2575
+ Started GET "/admin/nodes" for 127.0.0.1 at 2016-11-21 19:35:31 +0000
2576
+ Processing by PushType::Admin::NodesController#index as HTML
2577
+ Redirected to http://www.example.com/admin/sign_in
2578
+ Filter chain halted as :authenticate_user! rendered or redirected
2579
+ Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
2580
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2581
+  (0.1ms) ROLLBACK
2582
+  (0.1ms) BEGIN
2583
+ --------------------------------------------------------------------------------------------------------------
2584
+ PushType::AuthenticatableTest::#password_required?::with existing user and clean password: test_0001_anonymous
2585
+ --------------------------------------------------------------------------------------------------------------
2586
+  (0.1ms) SAVEPOINT active_record_1
2658
2587
   (0.0ms) RELEASE SAVEPOINT active_record_1
2659
2588
   (0.0ms) SAVEPOINT active_record_1
2660
2589
   (0.1ms) SAVEPOINT active_record_2
2661
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-25@example.com"], ["LIMIT", 1]]
2662
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-25@example.com"], ["LIMIT", 1]]
2663
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-25@example.com"], ["created_at", 2016-11-17 15:46:38 UTC], ["updated_at", 2016-11-17 15:46:38 UTC], ["confirmation_token", "FUGmmuoDZfi6XSpvyc87"], ["confirmation_sent_at", 2016-11-17 15:46:38 UTC]]
2590
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-22@example.com"], ["LIMIT", 1]]
2591
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-22@example.com"], ["LIMIT", 1]]
2592
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-22@example.com"], ["created_at", 2016-11-21 19:35:31 UTC], ["updated_at", 2016-11-21 19:35:31 UTC], ["confirmation_token", "x28cS2bwRfZbTGNpcxCz"], ["confirmation_sent_at", 2016-11-21 19:35:31 UTC]]
2664
2593
   (0.1ms) RELEASE SAVEPOINT active_record_2
2665
2594
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
2666
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
2667
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.9ms
2668
- Sent mail to joe-25@example.com (3.7ms)
2669
- Date: Thu, 17 Nov 2016 15:46:38 +0000
2595
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.8ms)
2596
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 46.1ms
2597
+ Sent mail to joe-22@example.com (3.9ms)
2598
+ Date: Mon, 21 Nov 2016 19:35:31 +0000
2670
2599
  From: pushtype@example.com
2671
2600
  Reply-To: pushtype@example.com
2672
- To: joe-25@example.com
2673
- Message-ID: <582dd0de3c10c_d4703fd50d43f9c8290df@Aarons-iMac.local.mail>
2601
+ To: joe-22@example.com
2602
+ Message-ID: <58334c83c405e_79d13fe85c43f9e8932cc@Aarons-iMac.local.mail>
2674
2603
  Subject: [PushType] Confirm your account
2675
2604
  Mime-Version: 1.0
2676
2605
  Content-Type: multipart/alternative;
2677
- boundary="--==_mimepart_582dd0de3bbd3_d4703fd50d43f9c82893";
2606
+ boundary="--==_mimepart_58334c83c3baa_79d13fe85c43f9e89316";
2678
2607
  charset=UTF-8
2679
2608
  Content-Transfer-Encoding: 7bit
2680
2609
 
2681
2610
 
2682
- ----==_mimepart_582dd0de3bbd3_d4703fd50d43f9c82893
2611
+ ----==_mimepart_58334c83c3baa_79d13fe85c43f9e89316
2683
2612
  Content-Type: text/plain;
2684
2613
  charset=UTF-8
2685
2614
  Content-Transfer-Encoding: 7bit
@@ -2695,11 +2624,11 @@ To get started, confirm your account and set your own password by
2695
2624
  clicking the link below:
2696
2625
 
2697
2626
  Confirm my account
2698
- ( http://localhost:3000/admin/confirmation.6bb56aa1-361e-4852-a3fb-0bb783283098?confirmation_token=FUGmmuoDZfi6XSpvyc87 )
2627
+ ( http://localhost:3000/admin/confirmation.f0adad5a-c055-4ef2-8118-78ad971a693c?confirmation_token=x28cS2bwRfZbTGNpcxCz )
2699
2628
 
2700
2629
 
2701
2630
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2702
- ----==_mimepart_582dd0de3bbd3_d4703fd50d43f9c82893
2631
+ ----==_mimepart_58334c83c3baa_79d13fe85c43f9e89316
2703
2632
  Content-Type: text/html;
2704
2633
  charset=UTF-8
2705
2634
  Content-Transfer-Encoding: 7bit
@@ -2745,7 +2674,7 @@ body {
2745
2674
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
2746
2675
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2747
2676
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
2748
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.6bb56aa1-361e-4852-a3fb-0bb783283098?confirmation_token=FUGmmuoDZfi6XSpvyc87" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
2677
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.f0adad5a-c055-4ef2-8118-78ad971a693c?confirmation_token=x28cS2bwRfZbTGNpcxCz" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
2749
2678
  </td>
2750
2679
  </tr>
2751
2680
  </table>
@@ -2790,19 +2719,90 @@ body {
2790
2719
  </body>
2791
2720
  </html>
2792
2721
 
2793
- ----==_mimepart_582dd0de3bbd3_d4703fd50d43f9c82893--
2722
+ ----==_mimepart_58334c83c3baa_79d13fe85c43f9e89316--
2794
2723
 
2795
- Processing by PushType::ConfirmationsController#update as HTML
2796
- Parameters: {"user"=>{"confirmation_token"=>"FUGmmuoDZfi6XSpvyc87", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2797
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "FUGmmuoDZfi6XSpvyc87"], ["LIMIT", 1]]
2798
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-25@example.com"], ["id", "6bb56aa1-361e-4852-a3fb-0bb783283098"], ["LIMIT", 1]]
2724
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2725
+  (0.1ms) ROLLBACK
2726
+  (0.1ms) BEGIN
2727
+ ----------------------------------------------------------------------------
2728
+ AuthenticatedApiControllerTest::unauthenticated request: test_0001_anonymous
2729
+ ----------------------------------------------------------------------------
2730
+  (0.1ms) SAVEPOINT active_record_1
2731
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2732
+  (0.1ms) SAVEPOINT active_record_1
2733
+ Started GET "/api/nodes" for 127.0.0.1 at 2016-11-21 19:35:31 +0000
2734
+ Processing by PushType::Api::NodesController#index as JSON
2735
+ Filter chain halted as :authenticate_user! rendered or redirected
2736
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
2737
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2738
+  (0.1ms) ROLLBACK
2739
+  (0.1ms) BEGIN
2740
+ -----------------------------------------------------------------------
2741
+ AuthenticatedControllerTest::authenticated request: test_0001_anonymous
2742
+ -----------------------------------------------------------------------
2743
+  (0.1ms) SAVEPOINT active_record_1
2744
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2745
+  (0.1ms) SAVEPOINT active_record_1
2746
+  (0.1ms) SAVEPOINT active_record_2
2747
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-23@example.com"], ["LIMIT", 1]]
2748
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-23@example.com"], ["LIMIT", 1]]
2749
+ SQL (0.3ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "encrypted_password", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-23@example.com"], ["created_at", 2016-11-21 19:35:31 UTC], ["updated_at", 2016-11-21 19:35:31 UTC], ["encrypted_password", "$2a$04$tlJogDXIFnetl8G01R//.Ozju6rGJRwZua4VtjlI4yGLhACkRwk6S"], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-21 19:35:31 UTC], ["confirmation_sent_at", 2016-11-21 19:35:31 UTC]]
2750
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2751
+ Started POST "/admin/sign_in" for 127.0.0.1 at 2016-11-21 19:35:31 +0000
2752
+ Processing by PushType::SessionsController#create as HTML
2753
+ Parameters: {"user"=>{"email"=>"joe-23@example.com", "password"=>"[FILTERED]"}}
2754
+ PushType::User Load (0.9ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."email" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["email", "joe-23@example.com"], ["LIMIT", 1]]
2799
2755
   (0.1ms) SAVEPOINT active_record_2
2800
- SQL (0.2ms) UPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["encrypted_password", "$2a$04$D5aifzGyk4sN2ZwKoUktpOsmb5bi7JMaZ8DZWqrrOEB.6xoWEzjNy"], ["confirmed_at", 2016-11-17 15:46:38 UTC], ["updated_at", 2016-11-17 15:46:38 UTC], ["id", "6bb56aa1-361e-4852-a3fb-0bb783283098"]]
2756
+ SQL (0.4ms) UPDATE "push_type_users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "current_sign_in_ip" = $3, "last_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7 [["current_sign_in_at", 2016-11-21 19:35:31 UTC], ["last_sign_in_at", 2016-11-21 19:35:31 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", 2016-11-21 19:35:31 UTC], ["id", "f169fc37-7fce-44b5-814d-966f4afa17f5"]]
2801
2757
   (0.1ms) RELEASE SAVEPOINT active_record_2
2758
+ Redirected to http://www.example.com/admin/
2759
+ Completed 302 Found in 57ms (ActiveRecord: 1.6ms)
2760
+ Started GET "/admin/nodes" for 127.0.0.1 at 2016-11-21 19:35:31 +0000
2761
+ Processing by PushType::Admin::NodesController#index as HTML
2762
+ PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "f169fc37-7fce-44b5-814d-966f4afa17f5"], ["LIMIT", 1]]
2763
+ Rendering /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/index.html.haml within layouts/push_type/admin
2764
+  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL LIMIT $1 OFFSET $2) subquery_for_count [["LIMIT", 30], ["OFFSET", 0]]
2765
+  (0.1ms) SELECT COUNT(*) FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL
2766
+ Rendered /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/_new_node_button.html.haml (2.6ms)
2767
+ Rendered /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/index.html.haml within layouts/push_type/admin (24.4ms)
2768
+ Completed 200 OK in 2048ms (Views: 35.7ms | ActiveRecord: 0.8ms)
2769
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2770
+  (0.1ms) ROLLBACK
2771
+  (0.1ms) BEGIN
2772
+ -----------------------------------------------------------------------
2773
+ PushType::Admin::ProfilesControllerTest::GET #edit: test_0001_anonymous
2774
+ -----------------------------------------------------------------------
2775
+  (0.1ms) SAVEPOINT active_record_1
2776
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2777
+  (0.0ms) SAVEPOINT active_record_1
2802
2778
   (0.1ms) SAVEPOINT active_record_2
2803
- SQL (0.2ms) UPDATE "push_type_users" SET "updated_at" = $1, "sign_in_count" = $2, "current_sign_in_at" = $3, "last_sign_in_at" = $4, "current_sign_in_ip" = $5, "last_sign_in_ip" = $6 WHERE "push_type_users"."id" = $7 [["updated_at", 2016-11-17 15:46:38 UTC], ["sign_in_count", 1], ["current_sign_in_at", 2016-11-17 15:46:38 UTC], ["last_sign_in_at", 2016-11-17 15:46:38 UTC], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "6bb56aa1-361e-4852-a3fb-0bb783283098"]]
2779
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-24@example.com"], ["LIMIT", 1]]
2780
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-24@example.com"], ["LIMIT", 1]]
2781
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-24@example.com"], ["created_at", 2016-11-21 19:35:33 UTC], ["updated_at", 2016-11-21 19:35:33 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-21 19:35:33 UTC], ["confirmation_sent_at", 2016-11-21 19:35:33 UTC]]
2804
2782
   (0.1ms) RELEASE SAVEPOINT active_record_2
2805
- Redirected to http://test.host/admin/
2806
- Completed 302 Found in 8ms (ActiveRecord: 1.2ms)
2783
+ Processing by PushType::Admin::ProfilesController#edit as HTML
2784
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "60dbfd37-a95a-4bdb-9590-b599cd9b311c"], ["LIMIT", 1]]
2785
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
2786
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (5.6ms)
2787
+ Completed 200 OK in 16ms (Views: 12.1ms | ActiveRecord: 0.2ms)
2788
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2789
+  (0.1ms) ROLLBACK
2790
+  (0.1ms) BEGIN
2791
+ -----------------------------------------------------------------------
2792
+ PushType::Admin::ProfilesControllerTest::GET #edit: test_0002_anonymous
2793
+ -----------------------------------------------------------------------
2794
+  (0.1ms) SAVEPOINT active_record_1
2795
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2796
+  (0.1ms) SAVEPOINT active_record_1
2797
+  (0.1ms) SAVEPOINT active_record_2
2798
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-25@example.com"], ["LIMIT", 1]]
2799
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-25@example.com"], ["LIMIT", 1]]
2800
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-25@example.com"], ["created_at", 2016-11-21 19:35:33 UTC], ["updated_at", 2016-11-21 19:35:33 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-21 19:35:33 UTC], ["confirmation_sent_at", 2016-11-21 19:35:33 UTC]]
2801
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2802
+ Processing by PushType::Admin::ProfilesController#edit as HTML
2803
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "3f17eba5-4a41-4839-bebd-e5f77d6069e5"], ["LIMIT", 1]]
2804
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
2805
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (1.9ms)
2806
+ Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.1ms)
2807
2807
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2808
2808
   (0.1ms) ROLLBACK