push_type_auth 0.6.0 → 0.7.0.beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) 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/{20151108150849_create_push_type_users.push_type.rb → 20160108132444_create_push_type_users.push_type.rb} +0 -0
  5. data/test/dummy/db/migrate/{20151108150850_create_push_type_nodes.push_type.rb → 20160108132445_create_push_type_nodes.push_type.rb} +0 -0
  6. data/test/dummy/db/migrate/{20151108150851_create_push_type_node_hierarchies.push_type.rb → 20160108132446_create_push_type_node_hierarchies.push_type.rb} +0 -0
  7. data/test/dummy/db/migrate/{20151108150852_create_push_type_assets.push_type.rb → 20160108132447_create_push_type_assets.push_type.rb} +0 -0
  8. data/test/dummy/db/migrate/{20151108150853_create_push_type_taxonomies.push_type.rb → 20160108132448_create_push_type_taxonomies.push_type.rb} +0 -0
  9. data/test/dummy/db/migrate/{20151108150854_create_push_type_taxonomy_hierarchies.push_type.rb → 20160108132449_create_push_type_taxonomy_hierarchies.push_type.rb} +0 -0
  10. data/test/dummy/db/migrate/{20151108150855_add_field_store_default_values.push_type.rb → 20160108132450_add_field_store_default_values.push_type.rb} +0 -0
  11. data/test/dummy/db/migrate/{20151108150856_devise_extend_push_type_users.push_type_auth.rb → 20160108132451_devise_extend_push_type_users.push_type_auth.rb} +0 -0
  12. data/test/dummy/db/schema.rb +1 -1
  13. data/test/dummy/log/test.log +679 -679
  14. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1_0VGkM5cGAdnUslcA4e75o4r_nschU5CvqxE0mJeXg.cache +0 -0
  15. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{7gLQBh3Ik9gTVFib3VMPp7E1xnaMA0nZ2vqbsd6nc0o.cache → CLZ7YKSIME2tQ3HB1ZZWilIxjGbmlo2AMFVHRsow7R0.cache} +0 -0
  16. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{9Z74veAvEOGER8nxvUsOzSxyPdV4V2XBbP7SXXBtUzU.cache → CZ5linriiMKGZRAXRB5PMje70Q8T6BE1sPmIU2PWUXk.cache} +0 -0
  17. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/DOV5BcgXJRpA3mjUpEW47CpZjq9dHBUVhrL8zAFuhTM.cache +1 -0
  18. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/DtVZIXiAkbGC4xUsA3Dbf8fqC83eM2A4i1Bwe-jpx0g.cache +0 -0
  19. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/EUw0ygAS9CODkaeumLuEGsL7RkiPtWoULuCMV82wX0k.cache +1 -0
  20. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Itnw7AK8G_kj0Kolp0Pgi48mZjhZKf6L3hjewwuI160.cache +0 -0
  21. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/LftZeoFRtnjwV9dJZJqv-Q06NlDXhyXQBgb9lYM4HCw.cache +0 -0
  22. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/NkPqKt6sWJzgCX3DSm1ZHSvOAao713kmsRNNVb5mLbQ.cache +0 -0
  23. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{xW0MZCmr6qsKPiKHi-p_tpm4quTg9MjmOa-Od5_rIU4.cache → SpcuvRr_gGxW8aGWr6tzvW_UR2XZQ2Im5eJuQs2Dh0s.cache} +7 -1
  24. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/XJdjxw9ggawiZShvpEwuZ-3CwyBzCzDB291E6Y0AnTQ.cache +1 -0
  25. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/YYSQo_OqBQZ10wOYN4NaF92Zvz_V2xtpveRseirh6L4.cache +2 -0
  26. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{fUjwjDI8TTWz2HrWHI5JMUs6j5Zhhpt4gu6RUqI_mUI.cache → aYWejdE5c3DtRUssooNAsFCbTHGNUplZuASgZez0GXg.cache} +1 -1
  27. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/gXc6u_8xhUR3xhGzaG5dREVihlZPJaMOMn4tezZfESk.cache +1 -0
  28. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/huUnS0nn6s2q39qbtsXLh3nnpDxm5AqZFwhA6Rvjtpo.cache +0 -0
  29. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/k5ttUYVvftQJvBHW_usrTFXPePz4PJzzbW_DBMgycX4.cache +1 -0
  30. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/lVSC6_4HpsCJqGdM-yGnwsHucumh4AvcEJ8VEholH-Y.cache +0 -0
  31. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ne3ndi1KEMy95ywVG3WulIgoQO0uaZI3yTaiGZW6ZBM.cache +1 -0
  32. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{Uh8MXM6z2fmNXc4sqqPfSRoLUQPEFMEmu2Ifr44NsEc.cache → vLHQ_FfVMreBcRg2HPdcMSfCx6CZduuh0zlYa-2wtuM.cache} +1 -1
  33. metadata +62 -54
  34. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/13enFOLQsI8Mye9dhTWkj9KKyYFODHE888fUc0YLTYw.cache +0 -0
  35. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/AKNuwBosUS_xVARIwHOtZLhpTj0VGfcpMSDOzY5VYSM.cache +0 -1
  36. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/FSZdKH9EpzkLwg6gkrVskMvU7dJHC9B9a428CfpcVpo.cache +0 -1
  37. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/GSuwmAmknqPxy3lOcjsmOG1cGtWUAK67WCqDt3pWc0E.cache +0 -0
  38. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Ti3ckxVqeNRd1ShfRfv4oOZZ8Boq8qKJB6y_Fv9ytU0.cache +0 -0
  39. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/XiPzbpfeCvnGWwIVSCm4dpZsHw_nf0oiCvViXKY3M0A.cache +0 -1
  40. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/YYzFefU0_ds10v4STNe8TB77tSdI0H_KoOTf3IC0W5w.cache +0 -0
  41. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/f1opt7BM9dnmxGb_MLgUjRgCNqtffPgDaP1yQPYozHw.cache +0 -0
  42. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/lsEcRvbzxJ1n-4tMTHbOsxFNDzY_q2C4TUTpDqY7WCQ.cache +0 -1
  43. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/megN6QCcG4mwKczRObfHIHA8XpDGRwlsppU_Zz3_Tl4.cache +0 -0
@@ -1,43 +1,43 @@
1
-  (13.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
2
-  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1
+  (14.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
2
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
3
  ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
- Migrating to CreatePushTypeUsers (20151108150849)
5
-  (0.1ms) BEGIN
6
- SQL (1.8ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
7
-  (2.2ms) CREATE TABLE "push_type_users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying, "email" character varying, "field_store" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
8
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151108150849"]]
4
+ Migrating to CreatePushTypeUsers (20160108132444)
5
+  (0.2ms) BEGIN
6
+ SQL (1.7ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
7
+  (2.6ms) CREATE TABLE "push_type_users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying, "email" character varying, "field_store" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
8
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160108132444"]]
9
9
   (0.7ms) COMMIT
10
- Migrating to CreatePushTypeNodes (20151108150850)
10
+ Migrating to CreatePushTypeNodes (20160108132445)
11
11
   (0.1ms) BEGIN
12
-  (1.9ms) CREATE TABLE "push_type_nodes" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "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)
13
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151108150850"]]
14
-  (0.4ms) COMMIT
15
- Migrating to CreatePushTypeNodeHierarchies (20151108150851)
12
+  (2.0ms) CREATE TABLE "push_type_nodes" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "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)
13
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160108132445"]]
14
+  (0.3ms) COMMIT
15
+ Migrating to CreatePushTypeNodeHierarchies (20160108132446)
16
16
   (0.1ms) BEGIN
17
17
   (0.4ms) CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)
18
18
   (0.7ms) CREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")
19
-  (0.6ms) CREATE INDEX "node_desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
20
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151108150851"]]
19
+  (0.5ms) CREATE INDEX "node_desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
20
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160108132446"]]
21
21
   (0.5ms) COMMIT
22
- Migrating to CreatePushTypeAssets (20151108150852)
22
+ Migrating to CreatePushTypeAssets (20160108132447)
23
23
   (0.1ms) BEGIN
24
-  (2.0ms) CREATE TABLE "push_type_assets" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "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)
25
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151108150852"]]
24
+  (2.4ms) CREATE TABLE "push_type_assets" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "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)
25
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160108132447"]]
26
26
   (0.4ms) COMMIT
27
- Migrating to CreatePushTypeTaxonomies (20151108150853)
27
+ Migrating to CreatePushTypeTaxonomies (20160108132448)
28
28
   (0.1ms) BEGIN
29
-  (1.8ms) CREATE TABLE "push_type_taxonomies" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying, "title" character varying, "slug" character varying, "parent_id" uuid, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
29
+  (2.0ms) CREATE TABLE "push_type_taxonomies" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying, "title" character varying, "slug" character varying, "parent_id" uuid, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
30
30
   (0.2ms) ALTER TABLE "push_type_assets" ADD "tags" character varying[]
31
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151108150853"]]
32
-  (0.7ms) COMMIT
33
- Migrating to CreatePushTypeTaxonomyHierarchies (20151108150854)
31
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160108132448"]]
32
+  (0.5ms) COMMIT
33
+ Migrating to CreatePushTypeTaxonomyHierarchies (20160108132449)
34
34
   (0.1ms) BEGIN
35
35
   (0.5ms) CREATE TABLE "push_type_taxonomy_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL) 
36
-  (0.7ms) CREATE UNIQUE INDEX "taxonomy_anc_desc_idx" ON "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations")
37
-  (0.5ms) CREATE INDEX "taxonomy_desc_idx" ON "push_type_taxonomy_hierarchies" ("descendant_id")
38
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151108150854"]]
36
+  (0.8ms) CREATE UNIQUE INDEX "taxonomy_anc_desc_idx" ON "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations")
37
+  (0.7ms) CREATE INDEX "taxonomy_desc_idx" ON "push_type_taxonomy_hierarchies" ("descendant_id")
38
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160108132449"]]
39
39
   (0.4ms) COMMIT
40
- Migrating to AddFieldStoreDefaultValues (20151108150855)
40
+ Migrating to AddFieldStoreDefaultValues (20160108132450)
41
41
   (0.1ms) BEGIN
42
42
   (0.2ms) 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 '{}'
@@ -47,28 +47,28 @@ Migrating to AddFieldStoreDefaultValues (20151108150855)
47
47
   (0.1ms) ALTER TABLE "push_type_users" ALTER COLUMN "field_store" SET DEFAULT '{}'
48
48
   (0.2ms) UPDATE "push_type_users" SET "field_store"='{}' WHERE "field_store" IS NULL
49
49
   (0.1ms) ALTER TABLE "push_type_users" ALTER "field_store" SET NOT NULL
50
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151108150855"]]
50
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160108132450"]]
51
51
   (0.4ms) COMMIT
52
- Migrating to DeviseExtendPushTypeUsers (20151108150856)
52
+ Migrating to DeviseExtendPushTypeUsers (20160108132451)
53
53
   (0.1ms) BEGIN
54
-  (2.7ms) ALTER TABLE "push_type_users" ADD "encrypted_password" character varying DEFAULT '' NOT NULL
54
+  (2.9ms) ALTER TABLE "push_type_users" ADD "encrypted_password" character varying DEFAULT '' NOT NULL
55
55
   (0.2ms) ALTER TABLE "push_type_users" ADD "reset_password_token" character varying
56
-  (0.2ms) ALTER TABLE "push_type_users" ADD "reset_password_sent_at" timestamp
57
-  (0.2ms) ALTER TABLE "push_type_users" ADD "remember_created_at" timestamp
58
-  (2.1ms) ALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
59
-  (0.1ms) ALTER TABLE "push_type_users" ADD "current_sign_in_at" timestamp
56
+  (0.1ms) ALTER TABLE "push_type_users" ADD "reset_password_sent_at" timestamp
57
+  (0.1ms) ALTER TABLE "push_type_users" ADD "remember_created_at" timestamp
58
+  (2.3ms) ALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
59
+  (0.2ms) ALTER TABLE "push_type_users" ADD "current_sign_in_at" timestamp
60
60
   (0.1ms) ALTER TABLE "push_type_users" ADD "last_sign_in_at" timestamp
61
61
   (0.1ms) ALTER TABLE "push_type_users" ADD "current_sign_in_ip" character varying
62
62
   (0.1ms) ALTER TABLE "push_type_users" ADD "last_sign_in_ip" character varying
63
63
   (0.1ms) ALTER TABLE "push_type_users" ADD "confirmation_token" character varying
64
64
   (0.1ms) ALTER TABLE "push_type_users" ADD "confirmed_at" timestamp
65
65
   (0.1ms) ALTER TABLE "push_type_users" ADD "confirmation_sent_at" timestamp
66
-  (0.6ms) CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")
66
+  (0.8ms) CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")
67
67
   (0.7ms) CREATE UNIQUE INDEX "index_push_type_users_on_reset_password_token" ON "push_type_users" ("reset_password_token")
68
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151108150856"]]
69
-  (1.2ms) COMMIT
68
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160108132451"]]
69
+  (1.0ms) COMMIT
70
70
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
71
-  (1.6ms) 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
71
+  (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
72
72
  FROM pg_constraint c
73
73
  JOIN pg_class t1 ON c.conrelid = t1.oid
74
74
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -80,7 +80,7 @@ WHERE c.contype = 'f'
80
80
  AND t3.nspname = ANY (current_schemas(false))
81
81
  ORDER BY c.conname
82
82
  
83
-  (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
83
+  (1.2ms) 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
84
84
  FROM pg_constraint c
85
85
  JOIN pg_class t1 ON c.conrelid = t1.oid
86
86
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -104,7 +104,7 @@ WHERE c.contype = 'f'
104
104
  AND t3.nspname = ANY (current_schemas(false))
105
105
  ORDER BY c.conname
106
106
  
107
-  (1.2ms) 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
107
+  (1.6ms) 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
108
108
  FROM pg_constraint c
109
109
  JOIN pg_class t1 ON c.conrelid = t1.oid
110
110
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -116,7 +116,7 @@ WHERE c.contype = 'f'
116
116
  AND t3.nspname = ANY (current_schemas(false))
117
117
  ORDER BY c.conname
118
118
 
119
-  (1.2ms) 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
119
+  (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
120
120
  FROM pg_constraint c
121
121
  JOIN pg_class t1 ON c.conrelid = t1.oid
122
122
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -128,7 +128,7 @@ WHERE c.contype = 'f'
128
128
  AND t3.nspname = ANY (current_schemas(false))
129
129
  ORDER BY c.conname
130
130
  
131
-  (1.2ms) 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
131
+  (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
132
132
  FROM pg_constraint c
133
133
  JOIN pg_class t1 ON c.conrelid = t1.oid
134
134
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -141,17 +141,35 @@ WHERE c.contype = 'f'
141
141
  ORDER BY c.conname
142
142
 
143
143
  ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
144
-  (0.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL
145
-  (1.2ms)  SELECT schemaname || '.' || tablename
144
+  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL
145
+  (0.9ms)  SELECT schemaname || '.' || tablename
146
146
  FROM pg_tables
147
147
  WHERE
148
148
  tablename !~ '_prt_' AND
149
149
  tablename <> 'schema_migrations' AND
150
150
  schemaname = ANY (current_schemas(false))
151
151
  
152
-  (1.1ms) select table_name from information_schema.views where table_schema = 'dummy_test'
153
-  (96.7ms) TRUNCATE TABLE "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_taxonomies", "public"."push_type_assets", "public"."push_type_taxonomy_hierarchies", "public"."push_type_users" RESTART IDENTITY CASCADE;
154
-  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL
152
+  (1.0ms) select table_name from information_schema.views where table_schema = 'dummy_test'
153
+  (10.4ms) TRUNCATE TABLE "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_taxonomies", "public"."push_type_assets", "public"."push_type_taxonomy_hierarchies", "public"."push_type_users" RESTART IDENTITY CASCADE;
154
+  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL
155
+  (0.2ms) BEGIN
156
+ -------------------------------------------------------------
157
+ PushType::AuthenticatableTest::trackable: test_0001_anonymous
158
+ -------------------------------------------------------------
159
+  (0.1ms) SAVEPOINT active_record_1
160
+  (0.1ms) RELEASE SAVEPOINT active_record_1
161
+  (0.0ms) SAVEPOINT active_record_1
162
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
163
+  (0.1ms) ROLLBACK
164
+  (0.1ms) BEGIN
165
+ ---------------------------------------------------------------
166
+ PushType::AuthenticatableTest::confirmable: test_0001_anonymous
167
+ ---------------------------------------------------------------
168
+  (0.1ms) SAVEPOINT active_record_1
169
+  (0.1ms) RELEASE SAVEPOINT active_record_1
170
+  (0.0ms) SAVEPOINT active_record_1
171
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
172
+  (0.1ms) ROLLBACK
155
173
   (0.1ms) BEGIN
156
174
  ----------------------------------------------------------------
157
175
  PushType::ProfilesControllerTest::GET #edit: test_0001_anonymous
@@ -160,92 +178,65 @@ PushType::ProfilesControllerTest::GET #edit: test_0001_anonymous
160
178
   (0.1ms) RELEASE SAVEPOINT active_record_1
161
179
   (0.1ms) SAVEPOINT active_record_1
162
180
   (0.1ms) SAVEPOINT active_record_2
163
- PushType::User Exists (0.5ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
164
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
165
- SQL (0.7ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-1@example.com"], ["confirmation_sent_at", "2015-11-08 15:08:55.595880"], ["confirmed_at", "2015-11-08 15:08:55.595989"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-08 15:08:55.608600"], ["updated_at", "2015-11-08 15:08:55.608600"]]
181
+ PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
182
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
183
+ SQL (0.7ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-1@example.com"], ["confirmation_sent_at", "2016-01-08 13:24:49.822940"], ["confirmed_at", "2016-01-08 13:24:49.823016"], ["confirmation_token", "Generated account"], ["created_at", "2016-01-08 13:24:49.833079"], ["updated_at", "2016-01-08 13:24:49.833079"]]
166
184
   (0.1ms) RELEASE SAVEPOINT active_record_2
167
185
  Processing by PushType::ProfilesController#edit as HTML
168
- 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 1 [["id", "a66741c1-ead6-41fe-97ff-590ee5a103eb"]]
169
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (29.4ms)
170
- Completed 200 OK in 11185ms (Views: 11155.4ms | ActiveRecord: 0.3ms)
186
+ 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 1 [["id", "c83668ca-d254-4855-99d6-5fc9afe32ae6"]]
187
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (20.0ms)
188
+ Completed 200 OK in 11126ms (Views: 11090.5ms | ActiveRecord: 0.3ms)
171
189
   (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
172
-  (0.3ms) ROLLBACK
190
+  (0.2ms) ROLLBACK
173
191
   (0.1ms) BEGIN
174
192
  ----------------------------------------------------------------
175
193
  PushType::ProfilesControllerTest::GET #edit: test_0002_anonymous
176
194
  ----------------------------------------------------------------
177
-  (0.1ms) SAVEPOINT active_record_1
195
+  (0.0ms) SAVEPOINT active_record_1
178
196
   (0.1ms) RELEASE SAVEPOINT active_record_1
179
-  (0.1ms) SAVEPOINT active_record_1
197
+  (0.0ms) SAVEPOINT active_record_1
180
198
   (0.1ms) SAVEPOINT active_record_2
181
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
182
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
183
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-2@example.com"], ["confirmation_sent_at", "2015-11-08 15:09:06.801996"], ["confirmed_at", "2015-11-08 15:09:06.802083"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-08 15:09:06.803914"], ["updated_at", "2015-11-08 15:09:06.803914"]]
199
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
200
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
201
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-2@example.com"], ["confirmation_sent_at", "2016-01-08 13:25:00.967814"], ["confirmed_at", "2016-01-08 13:25:00.967893"], ["confirmation_token", "Generated account"], ["created_at", "2016-01-08 13:25:00.969719"], ["updated_at", "2016-01-08 13:25:00.969719"]]
184
202
   (0.1ms) RELEASE SAVEPOINT active_record_2
185
203
  Processing by PushType::ProfilesController#edit as HTML
186
- 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 1 [["id", "2601aa4f-0627-4525-a9b9-675b421e7786"]]
187
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.9ms)
188
- Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.2ms)
189
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
190
-  (0.1ms) ROLLBACK
191
-  (0.1ms) BEGIN
192
- ----------------------------------------------------
193
- PushType::InvitationMethodsTest: test_0001_anonymous
194
- ----------------------------------------------------
195
-  (0.0ms) SAVEPOINT active_record_1
196
-  (0.0ms) RELEASE SAVEPOINT active_record_1
197
-  (0.0ms) SAVEPOINT active_record_1
198
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
199
-  (0.0ms) ROLLBACK
200
-  (0.1ms) BEGIN
201
- ---------------------------------------------------------------
202
- PushType::AuthenticatableTest::validatable: test_0001_anonymous
203
- ---------------------------------------------------------------
204
-  (0.1ms) SAVEPOINT active_record_1
205
-  (0.1ms) RELEASE SAVEPOINT active_record_1
206
-  (0.0ms) SAVEPOINT active_record_1
207
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
208
-  (0.1ms) ROLLBACK
209
-  (0.1ms) BEGIN
210
- ---------------------------------------------------------------
211
- PushType::AuthenticatableTest::validatable: test_0002_anonymous
212
- ---------------------------------------------------------------
213
-  (0.0ms) SAVEPOINT active_record_1
214
-  (0.1ms) RELEASE SAVEPOINT active_record_1
215
-  (0.1ms) SAVEPOINT active_record_1
204
+ 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 1 [["id", "d07274f5-72b8-48df-839c-fa76184bc60e"]]
205
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (2.1ms)
206
+ Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.2ms)
216
207
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
217
208
   (0.1ms) ROLLBACK
218
209
   (0.1ms) BEGIN
219
- ------------------------------------------------------------------------------------------
220
- PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0001_anonymous
221
- ------------------------------------------------------------------------------------------
210
+ ----------------------------------------------------------------------------------------
211
+ PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0001_anonymous
212
+ ----------------------------------------------------------------------------------------
222
213
   (0.1ms) SAVEPOINT active_record_1
223
214
   (0.1ms) RELEASE SAVEPOINT active_record_1
224
215
   (0.1ms) SAVEPOINT active_record_1
225
216
   (0.1ms) SAVEPOINT active_record_2
226
217
  PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
227
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
228
- 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 1 [["confirmation_token", "aed521d9bfc91b0e04effd0ef9fe8cd8447cdb94859d65ca5102e5f4ae1c6f20"]]
229
- 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", "2015-11-08 15:09:06.851452"], ["updated_at", "2015-11-08 15:09:06.851452"], ["confirmation_token", "ZQq626SEhs9pL4M6Wcyv"], ["confirmation_sent_at", "2015-11-08 15:09:07.025585"]]
218
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
219
+ 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 1 [["confirmation_token", "35fea762c984d9af780966e283d0b26dee5fc2c317eac785a9c52d6a8e7d7381"]]
220
+ 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-01-08 13:25:01.016069"], ["updated_at", "2016-01-08 13:25:01.016069"], ["confirmation_token", "W1nUBtWJ5RAsEDzqtLCT"], ["confirmation_sent_at", "2016-01-08 13:25:01.190297"]]
230
221
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.7ms)
231
222
 
232
- Devise::Mailer#confirmation_instructions: processed outbound mail in 223.5ms
223
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 153.5ms
233
224
 
234
- Sent mail to joe-3@example.com (9.4ms)
235
- Date: Sun, 08 Nov 2015 15:09:07 +0000
225
+ Sent mail to joe-3@example.com (9.2ms)
226
+ Date: Fri, 08 Jan 2016 13:25:01 +0000
236
227
  From: pushtype@example.com
237
228
  Reply-To: pushtype@example.com
238
229
  To: joe-3@example.com
239
- Message-ID: <563f659350fd5_2b1b3fde29063be0536dd@Aarons-iMac.local.mail>
230
+ Message-ID: <568fb8ad62bf8_19013ff9b8c63be87613@Aarons-iMac.local.mail>
240
231
  Subject: [PushType] Confirm your account
241
232
  Mime-Version: 1.0
242
233
  Content-Type: multipart/alternative;
243
- boundary="--==_mimepart_563f65934fa15_2b1b3fde29063be0535d3";
234
+ boundary="--==_mimepart_568fb8ad615be_19013ff9b8c63be8760e0";
244
235
  charset=UTF-8
245
236
  Content-Transfer-Encoding: 7bit
246
237
 
247
238
 
248
- ----==_mimepart_563f65934fa15_2b1b3fde29063be0535d3
239
+ ----==_mimepart_568fb8ad615be_19013ff9b8c63be8760e0
249
240
  Content-Type: text/plain;
250
241
  charset=UTF-8
251
242
  Content-Transfer-Encoding: 7bit
@@ -260,10 +251,10 @@ created for you.
260
251
  To get started, confirm your account and set your own password by
261
252
  clicking the link below:
262
253
 
263
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=ZQq626SEhs9pL4M6Wcyv )
254
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=W1nUBtWJ5RAsEDzqtLCT )
264
255
 
265
256
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
266
- ----==_mimepart_563f65934fa15_2b1b3fde29063be0535d3
257
+ ----==_mimepart_568fb8ad615be_19013ff9b8c63be8760e0
267
258
  Content-Type: text/html;
268
259
  charset=UTF-8
269
260
  Content-Transfer-Encoding: 7bit
@@ -309,7 +300,7 @@ body {
309
300
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
310
301
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
311
302
  <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">
312
- <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/push_type/confirmation?confirmation_token=ZQq626SEhs9pL4M6Wcyv" 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>
303
+ <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/push_type/confirmation?confirmation_token=W1nUBtWJ5RAsEDzqtLCT" 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>
313
304
  </td>
314
305
  </tr>
315
306
  </table>
@@ -354,49 +345,55 @@ body {
354
345
  </body>
355
346
  </html>
356
347
 
357
- ----==_mimepart_563f65934fa15_2b1b3fde29063be0535d3--
348
+ ----==_mimepart_568fb8ad615be_19013ff9b8c63be8760e0--
358
349
 
359
350
   (0.1ms) RELEASE SAVEPOINT active_record_2
360
351
  Processing by PushType::ConfirmationsController#update as HTML
361
- Parameters: {"user"=>{"confirmation_token"=>"ZQq626SEhs9pL4M6Wcyv", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
362
- 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 1 [["confirmation_token", "ZQq626SEhs9pL4M6Wcyv"]]
363
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-3@example.com' AND "push_type_users"."id" != '02954d70-7f83-4959-a372-12b90e0c058f') LIMIT 1
364
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.9ms)
365
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (7.2ms)
366
- Completed 200 OK in 31ms (Views: 27.6ms | ActiveRecord: 0.5ms)
367
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
368
-  (0.1ms) ROLLBACK
369
-  (0.1ms) BEGIN
370
- ------------------------------------------------------------------------------------------
371
- PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0002_anonymous
372
- ------------------------------------------------------------------------------------------
373
-  (0.0ms) SAVEPOINT active_record_1
374
-  (0.1ms) RELEASE SAVEPOINT active_record_1
375
-  (0.0ms) SAVEPOINT active_record_1
352
+ Parameters: {"user"=>{"confirmation_token"=>"W1nUBtWJ5RAsEDzqtLCT", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
353
+ 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 1 [["confirmation_token", "W1nUBtWJ5RAsEDzqtLCT"]]
354
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-3@example.com' AND "push_type_users"."id" != 'a34ae89a-b243-45db-889a-a1835fe2884d') LIMIT 1
376
355
   (0.1ms) SAVEPOINT active_record_2
356
+ 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$qyLZUO5n9QFxDnLaPd9D2.sh8jF8And6j1wu/XzGsnZRNzD1K5hYi"], ["confirmed_at", "2016-01-08 13:25:01.457341"], ["updated_at", "2016-01-08 13:25:01.457800"], ["id", "a34ae89a-b243-45db-889a-a1835fe2884d"]]
357
+  (0.1ms) RELEASE SAVEPOINT active_record_2
358
+  (0.1ms) SAVEPOINT active_record_2
359
+ SQL (0.2ms) UPDATE "push_type_users" SET "last_sign_in_at" = $1, "current_sign_in_at" = $2, "last_sign_in_ip" = $3, "current_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7 [["last_sign_in_at", "2016-01-08 13:25:01.459751"], ["current_sign_in_at", "2016-01-08 13:25:01.459751"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2016-01-08 13:25:01.460281"], ["id", "a34ae89a-b243-45db-889a-a1835fe2884d"]]
360
+  (0.1ms) RELEASE SAVEPOINT active_record_2
361
+ Redirected to http://test.host/push_type/
362
+ Completed 302 Found in 51ms (ActiveRecord: 1.2ms)
363
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "a34ae89a-b243-45db-889a-a1835fe2884d"]]
364
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
365
+  (0.1ms) ROLLBACK
366
+  (0.1ms) BEGIN
367
+ ----------------------------------------------------------------------------------------
368
+ PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0002_anonymous
369
+ ----------------------------------------------------------------------------------------
370
+  (0.1ms) SAVEPOINT active_record_1
371
+  (0.0ms) RELEASE SAVEPOINT active_record_1
372
+  (0.1ms) SAVEPOINT active_record_1
373
+  (0.1ms) SAVEPOINT active_record_2
374
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
377
375
  PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
378
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
379
- 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 1 [["confirmation_token", "c5840767c1e23ce99a090cecb8b708b072b31507955edd57622268a95552c951"]]
380
- 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", "2015-11-08 15:09:07.372671"], ["updated_at", "2015-11-08 15:09:07.372671"], ["confirmation_token", "oekNz6zyHt-TAq-vdiAC"], ["confirmation_sent_at", "2015-11-08 15:09:07.373525"]]
381
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
376
+ 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 1 [["confirmation_token", "bb6a542018ad3fd87fcfbf0dc920c2c7639cdd161af3da72089726b2cce3c089"]]
377
+ SQL (0.1ms) 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-01-08 13:25:01.466056"], ["updated_at", "2016-01-08 13:25:01.466056"], ["confirmation_token", "s8HggVa4LPYHJJpmEURb"], ["confirmation_sent_at", "2016-01-08 13:25:01.466837"]]
378
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
382
379
 
383
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
380
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
384
381
 
385
382
  Sent mail to joe-4@example.com (3.1ms)
386
- Date: Sun, 08 Nov 2015 15:09:07 +0000
383
+ Date: Fri, 08 Jan 2016 13:25:01 +0000
387
384
  From: pushtype@example.com
388
385
  Reply-To: pushtype@example.com
389
386
  To: joe-4@example.com
390
- Message-ID: <563f659362dc8_2b1b3fde29063be05392@Aarons-iMac.local.mail>
387
+ Message-ID: <568fb8ad79a6f_19013ff9b8c63be8764d8@Aarons-iMac.local.mail>
391
388
  Subject: [PushType] Confirm your account
392
389
  Mime-Version: 1.0
393
390
  Content-Type: multipart/alternative;
394
- boundary="--==_mimepart_563f65936284e_2b1b3fde29063be053877";
391
+ boundary="--==_mimepart_568fb8ad794f8_19013ff9b8c63be8763f8";
395
392
  charset=UTF-8
396
393
  Content-Transfer-Encoding: 7bit
397
394
 
398
395
 
399
- ----==_mimepart_563f65936284e_2b1b3fde29063be053877
396
+ ----==_mimepart_568fb8ad794f8_19013ff9b8c63be8763f8
400
397
  Content-Type: text/plain;
401
398
  charset=UTF-8
402
399
  Content-Transfer-Encoding: 7bit
@@ -411,10 +408,10 @@ created for you.
411
408
  To get started, confirm your account and set your own password by
412
409
  clicking the link below:
413
410
 
414
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=oekNz6zyHt-TAq-vdiAC )
411
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=s8HggVa4LPYHJJpmEURb )
415
412
 
416
413
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
417
- ----==_mimepart_563f65936284e_2b1b3fde29063be053877
414
+ ----==_mimepart_568fb8ad794f8_19013ff9b8c63be8763f8
418
415
  Content-Type: text/html;
419
416
  charset=UTF-8
420
417
  Content-Transfer-Encoding: 7bit
@@ -460,7 +457,7 @@ body {
460
457
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
461
458
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
462
459
  <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">
463
- <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/push_type/confirmation?confirmation_token=oekNz6zyHt-TAq-vdiAC" 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>
460
+ <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/push_type/confirmation?confirmation_token=s8HggVa4LPYHJJpmEURb" 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>
464
461
  </td>
465
462
  </tr>
466
463
  </table>
@@ -505,49 +502,54 @@ body {
505
502
  </body>
506
503
  </html>
507
504
 
508
- ----==_mimepart_563f65936284e_2b1b3fde29063be053877--
505
+ ----==_mimepart_568fb8ad794f8_19013ff9b8c63be8763f8--
509
506
 
510
-  (0.1ms) RELEASE SAVEPOINT active_record_2
507
+  (0.1ms) RELEASE SAVEPOINT active_record_2
511
508
  Processing by PushType::ConfirmationsController#update as HTML
512
- Parameters: {"user"=>{"confirmation_token"=>"oekNz6zyHt-TAq-vdiAC", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
513
- 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 1 [["confirmation_token", "oekNz6zyHt-TAq-vdiAC"]]
514
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-4@example.com' AND "push_type_users"."id" != '9ed61fac-4afa-4479-87be-47eaee6d24c8') LIMIT 1
515
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
516
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.6ms)
517
- Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.4ms)
518
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
519
-  (0.1ms) ROLLBACK
520
-  (0.1ms) BEGIN
521
- ------------------------------------------------------------------------------------------
522
- PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0003_anonymous
523
- ------------------------------------------------------------------------------------------
524
-  (0.1ms) SAVEPOINT active_record_1
525
-  (0.1ms) RELEASE SAVEPOINT active_record_1
526
-  (0.1ms) SAVEPOINT active_record_1
509
+ Parameters: {"user"=>{"confirmation_token"=>"s8HggVa4LPYHJJpmEURb", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
510
+ 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 1 [["confirmation_token", "s8HggVa4LPYHJJpmEURb"]]
511
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-4@example.com' AND "push_type_users"."id" != '4ea2df77-909d-4822-a09d-7410feb9abf0') LIMIT 1
512
+  (0.1ms) SAVEPOINT active_record_2
513
+ 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$gN2DSzkVbheCJGv9lavnaOVgfVBXuuX3j0RLLr7cqiEORRPrQT6j6"], ["confirmed_at", "2016-01-08 13:25:01.505021"], ["updated_at", "2016-01-08 13:25:01.505442"], ["id", "4ea2df77-909d-4822-a09d-7410feb9abf0"]]
514
+  (0.1ms) RELEASE SAVEPOINT active_record_2
527
515
   (0.1ms) SAVEPOINT active_record_2
528
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
529
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
530
- 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 1 [["confirmation_token", "d9f484473ebf3a983a16ed1728f8250c8157cee284d253402c4eae63bdd53368"]]
531
- SQL (0.1ms) 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", "2015-11-08 15:09:07.419159"], ["updated_at", "2015-11-08 15:09:07.419159"], ["confirmation_token", "sLvwYDaqMoiE9z2i4EW6"], ["confirmation_sent_at", "2015-11-08 15:09:07.419938"]]
516
+ SQL (0.1ms) UPDATE "push_type_users" SET "last_sign_in_at" = $1, "current_sign_in_at" = $2, "last_sign_in_ip" = $3, "current_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7 [["last_sign_in_at", "2016-01-08 13:25:01.506751"], ["current_sign_in_at", "2016-01-08 13:25:01.506751"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2016-01-08 13:25:01.507148"], ["id", "4ea2df77-909d-4822-a09d-7410feb9abf0"]]
517
+  (0.1ms) RELEASE SAVEPOINT active_record_2
518
+ Redirected to http://test.host/push_type/
519
+ Completed 302 Found in 7ms (ActiveRecord: 1.0ms)
520
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
521
+  (0.2ms) ROLLBACK
522
+  (0.1ms) BEGIN
523
+ --------------------------------------------------------------------------------------------------------------
524
+ PushType::AuthenticatableTest::#password_required?::with existing user and dirty password: test_0001_anonymous
525
+ --------------------------------------------------------------------------------------------------------------
526
+  (0.1ms) SAVEPOINT active_record_1
527
+  (0.1ms) RELEASE SAVEPOINT active_record_1
528
+  (0.1ms) SAVEPOINT active_record_1
529
+  (0.1ms) SAVEPOINT active_record_2
530
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
531
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
532
+ 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 1 [["confirmation_token", "97b63fb268369e7992f11260d29fb9023b1598370184d524d0777fa594589af8"]]
533
+ SQL (0.1ms) 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-01-08 13:25:01.512341"], ["updated_at", "2016-01-08 13:25:01.512341"], ["confirmation_token", "A45zft1i--osFrsA6SSc"], ["confirmation_sent_at", "2016-01-08 13:25:01.513084"]]
532
534
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
533
535
 
534
536
  Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
535
537
 
536
- Sent mail to joe-5@example.com (3.2ms)
537
- Date: Sun, 08 Nov 2015 15:09:07 +0000
538
+ Sent mail to joe-5@example.com (3.1ms)
539
+ Date: Fri, 08 Jan 2016 13:25:01 +0000
538
540
  From: pushtype@example.com
539
541
  Reply-To: pushtype@example.com
540
542
  To: joe-5@example.com
541
- Message-ID: <563f65936e2cd_2b1b3fde29063be0542a3@Aarons-iMac.local.mail>
543
+ Message-ID: <568fb8ad84c8e_19013ff9b8c63be8767d1@Aarons-iMac.local.mail>
542
544
  Subject: [PushType] Confirm your account
543
545
  Mime-Version: 1.0
544
546
  Content-Type: multipart/alternative;
545
- boundary="--==_mimepart_563f65936dcf6_2b1b3fde29063be0541b4";
547
+ boundary="--==_mimepart_568fb8ad84744_19013ff9b8c63be87661a";
546
548
  charset=UTF-8
547
549
  Content-Transfer-Encoding: 7bit
548
550
 
549
551
 
550
- ----==_mimepart_563f65936dcf6_2b1b3fde29063be0541b4
552
+ ----==_mimepart_568fb8ad84744_19013ff9b8c63be87661a
551
553
  Content-Type: text/plain;
552
554
  charset=UTF-8
553
555
  Content-Transfer-Encoding: 7bit
@@ -562,10 +564,10 @@ created for you.
562
564
  To get started, confirm your account and set your own password by
563
565
  clicking the link below:
564
566
 
565
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=sLvwYDaqMoiE9z2i4EW6 )
567
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=A45zft1i--osFrsA6SSc )
566
568
 
567
569
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
568
- ----==_mimepart_563f65936dcf6_2b1b3fde29063be0541b4
570
+ ----==_mimepart_568fb8ad84744_19013ff9b8c63be87661a
569
571
  Content-Type: text/html;
570
572
  charset=UTF-8
571
573
  Content-Transfer-Encoding: 7bit
@@ -611,7 +613,7 @@ body {
611
613
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
612
614
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
613
615
  <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">
614
- <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/push_type/confirmation?confirmation_token=sLvwYDaqMoiE9z2i4EW6" 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>
616
+ <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/push_type/confirmation?confirmation_token=A45zft1i--osFrsA6SSc" 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>
615
617
  </td>
616
618
  </tr>
617
619
  </table>
@@ -656,67 +658,42 @@ body {
656
658
  </body>
657
659
  </html>
658
660
 
659
- ----==_mimepart_563f65936dcf6_2b1b3fde29063be0541b4--
661
+ ----==_mimepart_568fb8ad84744_19013ff9b8c63be87661a--
660
662
 
661
-  (0.1ms) RELEASE SAVEPOINT active_record_2
662
- Processing by PushType::ConfirmationsController#update as HTML
663
- Parameters: {"user"=>{"confirmation_token"=>"sLvwYDaqMoiE9z2i4EW6", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
664
- 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 1 [["confirmation_token", "sLvwYDaqMoiE9z2i4EW6"]]
665
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-5@example.com' AND "push_type_users"."id" != 'b86de9eb-cbbb-4f8d-8360-8a4efe70bfb6') LIMIT 1
666
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
667
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.8ms)
668
- Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.4ms)
669
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
670
-  (0.1ms) ROLLBACK
671
-  (0.1ms) BEGIN
672
- ---------------------------------------------------------------------------
673
- PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
674
- ---------------------------------------------------------------------------
675
-  (0.1ms) SAVEPOINT active_record_1
676
-  (0.1ms) RELEASE SAVEPOINT active_record_1
677
-  (0.0ms) SAVEPOINT active_record_1
678
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
679
-  (0.1ms) ROLLBACK
680
-  (0.1ms) BEGIN
681
- ---------------------------------------------------------------------------
682
- PushType::AuthenticatableTest::database_athenticatable: test_0001_anonymous
683
- ---------------------------------------------------------------------------
684
-  (0.1ms) SAVEPOINT active_record_1
685
-  (0.0ms) RELEASE SAVEPOINT active_record_1
686
-  (0.0ms) SAVEPOINT active_record_1
687
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
688
-  (0.0ms) ROLLBACK
689
-  (0.0ms) BEGIN
690
- --------------------------------------------------------------------------------------------------------------
691
- PushType::AuthenticatableTest::#password_required?::with existing user and dirty password: test_0001_anonymous
692
- --------------------------------------------------------------------------------------------------------------
693
-  (0.0ms) SAVEPOINT active_record_1
694
-  (0.0ms) RELEASE SAVEPOINT active_record_1
695
-  (0.0ms) SAVEPOINT active_record_1
696
-  (0.1ms) SAVEPOINT active_record_2
663
+  (0.1ms) RELEASE SAVEPOINT active_record_2
664
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
665
+  (0.1ms) ROLLBACK
666
+  (0.1ms) BEGIN
667
+ ------------------------------------------------------------------------------------------
668
+ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0001_anonymous
669
+ ------------------------------------------------------------------------------------------
670
+  (0.1ms) SAVEPOINT active_record_1
671
+  (0.1ms) RELEASE SAVEPOINT active_record_1
672
+  (0.1ms) SAVEPOINT active_record_1
673
+  (0.1ms) SAVEPOINT active_record_2
674
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
697
675
  PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
698
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
699
- 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 1 [["confirmation_token", "34c95ea598a13b88097a89f3682d315ac2c1dd2eea0922d21b2e2c34d93d4f53"]]
700
- SQL (0.1ms) 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", "2015-11-08 15:09:07.469091"], ["updated_at", "2015-11-08 15:09:07.469091"], ["confirmation_token", "xMZx2-5zMLVmJXrN_fdh"], ["confirmation_sent_at", "2015-11-08 15:09:07.469806"]]
676
+ 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 1 [["confirmation_token", "0c7151b2c95be4e1d82a28792c360f6bc5cbdc836c7a95734c8bedc8e9df2d4d"]]
677
+ 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-01-08 13:25:01.551737"], ["updated_at", "2016-01-08 13:25:01.551737"], ["confirmation_token", "jmf6YLMgyhwe-PK2vM9N"], ["confirmation_sent_at", "2016-01-08 13:25:01.552562"]]
701
678
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
702
679
 
703
680
  Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
704
681
 
705
- Sent mail to joe-6@example.com (3.0ms)
706
- Date: Sun, 08 Nov 2015 15:09:07 +0000
682
+ Sent mail to joe-6@example.com (3.2ms)
683
+ Date: Fri, 08 Jan 2016 13:25:01 +0000
707
684
  From: pushtype@example.com
708
685
  Reply-To: pushtype@example.com
709
686
  To: joe-6@example.com
710
- Message-ID: <563f65937a646_2b1b3fde29063be054567@Aarons-iMac.local.mail>
687
+ Message-ID: <568fb8ad8e7ac_19013ff9b8c63be8770e8@Aarons-iMac.local.mail>
711
688
  Subject: [PushType] Confirm your account
712
689
  Mime-Version: 1.0
713
690
  Content-Type: multipart/alternative;
714
- boundary="--==_mimepart_563f65937a0e4_2b1b3fde29063be0544b4";
691
+ boundary="--==_mimepart_568fb8ad8e1e5_19013ff9b8c63be87699b";
715
692
  charset=UTF-8
716
693
  Content-Transfer-Encoding: 7bit
717
694
 
718
695
 
719
- ----==_mimepart_563f65937a0e4_2b1b3fde29063be0544b4
696
+ ----==_mimepart_568fb8ad8e1e5_19013ff9b8c63be87699b
720
697
  Content-Type: text/plain;
721
698
  charset=UTF-8
722
699
  Content-Transfer-Encoding: 7bit
@@ -731,10 +708,10 @@ created for you.
731
708
  To get started, confirm your account and set your own password by
732
709
  clicking the link below:
733
710
 
734
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=xMZx2-5zMLVmJXrN_fdh )
711
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=jmf6YLMgyhwe-PK2vM9N )
735
712
 
736
713
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
737
- ----==_mimepart_563f65937a0e4_2b1b3fde29063be0544b4
714
+ ----==_mimepart_568fb8ad8e1e5_19013ff9b8c63be87699b
738
715
  Content-Type: text/html;
739
716
  charset=UTF-8
740
717
  Content-Transfer-Encoding: 7bit
@@ -780,7 +757,7 @@ body {
780
757
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
781
758
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
782
759
  <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">
783
- <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/push_type/confirmation?confirmation_token=xMZx2-5zMLVmJXrN_fdh" 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>
760
+ <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/push_type/confirmation?confirmation_token=jmf6YLMgyhwe-PK2vM9N" 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>
784
761
  </td>
785
762
  </tr>
786
763
  </table>
@@ -825,122 +802,49 @@ body {
825
802
  </body>
826
803
  </html>
827
804
 
828
- ----==_mimepart_563f65937a0e4_2b1b3fde29063be0544b4--
805
+ ----==_mimepart_568fb8ad8e1e5_19013ff9b8c63be87699b--
829
806
 
830
-  (0.1ms) RELEASE SAVEPOINT active_record_2
831
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
832
-  (0.1ms) ROLLBACK
833
-  (0.1ms) BEGIN
834
- ----------------------------------------------------------------
835
- PushType::AuthenticatableTest::rememberable: test_0001_anonymous
836
- ----------------------------------------------------------------
837
-  (0.0ms) SAVEPOINT active_record_1
838
-  (0.0ms) RELEASE SAVEPOINT active_record_1
839
-  (0.0ms) SAVEPOINT active_record_1
840
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
841
-  (0.1ms) ROLLBACK
842
-  (0.1ms) BEGIN
843
- --------------------------------------------------------
844
- PushType::AuthenticationMethodsTest: test_0001_anonymous
845
- --------------------------------------------------------
846
-  (0.1ms) SAVEPOINT active_record_1
847
-  (0.0ms) RELEASE SAVEPOINT active_record_1
848
-  (0.0ms) SAVEPOINT active_record_1
849
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
850
-  (0.0ms) ROLLBACK
851
-  (0.0ms) BEGIN
852
- --------------------------------------------------------
853
- PushType::AuthenticationMethodsTest: test_0002_anonymous
854
- --------------------------------------------------------
855
-  (0.0ms) SAVEPOINT active_record_1
856
-  (0.0ms) RELEASE SAVEPOINT active_record_1
857
-  (0.0ms) SAVEPOINT active_record_1
858
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
859
-  (0.0ms) ROLLBACK
860
-  (0.1ms) BEGIN
861
- -------------------------------------------------------------------------------------
862
- PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0001_anonymous
863
- -------------------------------------------------------------------------------------
864
-  (0.1ms) SAVEPOINT active_record_1
865
-  (0.1ms) RELEASE SAVEPOINT active_record_1
866
-  (0.0ms) SAVEPOINT active_record_1
867
-  (0.1ms) SAVEPOINT active_record_2
868
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
869
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
870
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-7@example.com"], ["confirmation_sent_at", "2015-11-08 15:09:07.535815"], ["confirmed_at", "2015-11-08 15:09:07.535882"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-08 15:09:07.537471"], ["updated_at", "2015-11-08 15:09:07.537471"]]
871
807
   (0.1ms) RELEASE SAVEPOINT active_record_2
872
- Processing by PushType::ProfilesController#update as HTML
873
- Parameters: {"user"=>{"name"=>""}}
874
- 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 1 [["id", "2d2915e0-2bf9-4b4d-be62-dbc9500576a5"]]
875
-  (0.1ms) SAVEPOINT active_record_2
876
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-7@example.com' AND "push_type_users"."id" != '2d2915e0-2bf9-4b4d-be62-dbc9500576a5') LIMIT 1
877
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
878
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.9ms)
879
- Completed 200 OK in 10ms (Views: 7.0ms | ActiveRecord: 0.5ms)
808
+ Processing by PushType::ConfirmationsController#update as HTML
809
+ Parameters: {"user"=>{"confirmation_token"=>"jmf6YLMgyhwe-PK2vM9N", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
810
+ 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 1 [["confirmation_token", "jmf6YLMgyhwe-PK2vM9N"]]
811
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-6@example.com' AND "push_type_users"."id" != 'd01b5928-80de-4b71-9638-f27afd9a5c76') LIMIT 1
812
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.0ms)
813
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (23.6ms)
814
+ Completed 200 OK in 47ms (Views: 44.2ms | ActiveRecord: 0.4ms)
880
815
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
881
816
   (0.1ms) ROLLBACK
882
817
   (0.1ms) BEGIN
883
- -------------------------------------------------------------------------------------
884
- PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0002_anonymous
885
- -------------------------------------------------------------------------------------
818
+ ------------------------------------------------------------------------------------------
819
+ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0002_anonymous
820
+ ------------------------------------------------------------------------------------------
886
821
   (0.0ms) SAVEPOINT active_record_1
887
-  (0.0ms) RELEASE SAVEPOINT active_record_1
822
+  (0.1ms) RELEASE SAVEPOINT active_record_1
888
823
   (0.0ms) SAVEPOINT active_record_1
889
824
   (0.1ms) SAVEPOINT active_record_2
890
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
891
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
892
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-8@example.com"], ["confirmation_sent_at", "2015-11-08 15:09:07.551293"], ["confirmed_at", "2015-11-08 15:09:07.551355"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-08 15:09:07.552838"], ["updated_at", "2015-11-08 15:09:07.552838"]]
893
-  (0.1ms) RELEASE SAVEPOINT active_record_2
894
- Processing by PushType::ProfilesController#update as HTML
895
- Parameters: {"user"=>{"name"=>""}}
896
- 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 1 [["id", "d45400ac-0b84-4404-ae0e-eb98c4c67102"]]
897
-  (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" = 'joe-8@example.com' AND "push_type_users"."id" != 'd45400ac-0b84-4404-ae0e-eb98c4c67102') LIMIT 1
899
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
900
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.8ms)
901
- Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.5ms)
902
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
903
-  (0.1ms) ROLLBACK
904
-  (0.1ms) BEGIN
905
- -------------------------------------------------------------
906
- PushType::AuthenticatableTest::trackable: test_0001_anonymous
907
- -------------------------------------------------------------
908
-  (0.1ms) SAVEPOINT active_record_1
909
-  (0.1ms) RELEASE SAVEPOINT active_record_1
910
-  (0.0ms) SAVEPOINT active_record_1
911
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
912
-  (0.1ms) ROLLBACK
913
-  (0.0ms) BEGIN
914
- ----------------------------------------------------------------------------------------------------
915
- PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0001_anonymous
916
- ----------------------------------------------------------------------------------------------------
917
-  (0.0ms) SAVEPOINT active_record_1
918
-  (0.0ms) RELEASE SAVEPOINT active_record_1
919
-  (0.0ms) SAVEPOINT active_record_1
920
-  (0.0ms) SAVEPOINT active_record_2
921
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
922
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
923
- 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 1 [["confirmation_token", "d4377e0736a55e753b88b2fa777d5ad5e6b02a85647d4464c391e0efeb5cbc73"]]
924
- SQL (0.1ms) 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", "2015-11-08 15:09:07.570491"], ["updated_at", "2015-11-08 15:09:07.570491"], ["confirmation_token", "BZN_z_gz16f_EbZWs_9d"], ["confirmation_sent_at", "2015-11-08 15:09:07.571198"]]
825
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
826
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
827
+ 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 1 [["confirmation_token", "d6a777b3dd507fe796d10d1c260aba8cdfeec50d420f364edf61b32d199faad8"]]
828
+ 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-01-08 13:25:01.637155"], ["updated_at", "2016-01-08 13:25:01.637155"], ["confirmation_token", "rjxnn__1wT3giSs6diEz"], ["confirmation_sent_at", "2016-01-08 13:25:01.638077"]]
925
829
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
926
830
 
927
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
831
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
928
832
 
929
- Sent mail to joe-9@example.com (3.0ms)
930
- Date: Sun, 08 Nov 2015 15:09:07 +0000
833
+ Sent mail to joe-7@example.com (3.0ms)
834
+ Date: Fri, 08 Jan 2016 13:25:01 +0000
931
835
  From: pushtype@example.com
932
836
  Reply-To: pushtype@example.com
933
- To: joe-9@example.com
934
- Message-ID: <563f65939344f_2b1b3fde29063be05488@Aarons-iMac.local.mail>
837
+ To: joe-7@example.com
838
+ Message-ID: <568fb8adad377_19013ff9b8c63be877377@Aarons-iMac.local.mail>
935
839
  Subject: [PushType] Confirm your account
936
840
  Mime-Version: 1.0
937
841
  Content-Type: multipart/alternative;
938
- boundary="--==_mimepart_563f659392eed_2b1b3fde29063be0547c3";
842
+ boundary="--==_mimepart_568fb8adace0a_19013ff9b8c63be87725b";
939
843
  charset=UTF-8
940
844
  Content-Transfer-Encoding: 7bit
941
845
 
942
846
 
943
- ----==_mimepart_563f659392eed_2b1b3fde29063be0547c3
847
+ ----==_mimepart_568fb8adace0a_19013ff9b8c63be87725b
944
848
  Content-Type: text/plain;
945
849
  charset=UTF-8
946
850
  Content-Transfer-Encoding: 7bit
@@ -955,10 +859,10 @@ created for you.
955
859
  To get started, confirm your account and set your own password by
956
860
  clicking the link below:
957
861
 
958
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=BZN_z_gz16f_EbZWs_9d )
862
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=rjxnn__1wT3giSs6diEz )
959
863
 
960
864
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
961
- ----==_mimepart_563f659392eed_2b1b3fde29063be0547c3
865
+ ----==_mimepart_568fb8adace0a_19013ff9b8c63be87725b
962
866
  Content-Type: text/html;
963
867
  charset=UTF-8
964
868
  Content-Transfer-Encoding: 7bit
@@ -1004,7 +908,7 @@ body {
1004
908
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1005
909
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1006
910
  <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">
1007
- <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/push_type/confirmation?confirmation_token=BZN_z_gz16f_EbZWs_9d" 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>
911
+ <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/push_type/confirmation?confirmation_token=rjxnn__1wT3giSs6diEz" 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>
1008
912
  </td>
1009
913
  </tr>
1010
914
  </table>
@@ -1049,48 +953,49 @@ body {
1049
953
  </body>
1050
954
  </html>
1051
955
 
1052
- ----==_mimepart_563f659392eed_2b1b3fde29063be0547c3--
956
+ ----==_mimepart_568fb8adace0a_19013ff9b8c63be87725b--
1053
957
 
1054
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1055
- Processing by PushType::ConfirmationsController#show as HTML
1056
- Parameters: {"confirmation_token"=>"BZN_z_gz16f_EbZWs_9d"}
1057
- 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 1 [["confirmation_token", "BZN_z_gz16f_EbZWs_9d"]]
1058
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
1059
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.6ms)
1060
- Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.1ms)
958
+  (0.1ms) RELEASE SAVEPOINT active_record_2
959
+ Processing by PushType::ConfirmationsController#update as HTML
960
+ Parameters: {"user"=>{"confirmation_token"=>"rjxnn__1wT3giSs6diEz", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
961
+ 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 1 [["confirmation_token", "rjxnn__1wT3giSs6diEz"]]
962
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-7@example.com' AND "push_type_users"."id" != '82f1f903-94b2-4875-835b-7d1681c61a68') LIMIT 1
963
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms)
964
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.7ms)
965
+ Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.3ms)
1061
966
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1062
967
   (0.1ms) ROLLBACK
1063
968
   (0.1ms) BEGIN
1064
- ----------------------------------------------------------------------------------------------------
1065
- PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0002_anonymous
1066
- ----------------------------------------------------------------------------------------------------
969
+ ------------------------------------------------------------------------------------------
970
+ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0003_anonymous
971
+ ------------------------------------------------------------------------------------------
1067
972
   (0.0ms) SAVEPOINT active_record_1
1068
973
   (0.0ms) RELEASE SAVEPOINT active_record_1
1069
974
   (0.0ms) SAVEPOINT active_record_1
1070
-  (0.1ms) SAVEPOINT active_record_2
1071
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
1072
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
1073
- 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 1 [["confirmation_token", "37e65f17c4be2b983722cc49028d9e6a956058029fd207e5fe37844c30829a04"]]
1074
- 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-10@example.com"], ["created_at", "2015-11-08 15:09:07.616064"], ["updated_at", "2015-11-08 15:09:07.616064"], ["confirmation_token", "GFGZSrVmwXx-umxAj1Nv"], ["confirmation_sent_at", "2015-11-08 15:09:07.616891"]]
1075
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
975
+  (0.0ms) SAVEPOINT active_record_2
976
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
977
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
978
+ 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 1 [["confirmation_token", "68db00b440c8ac08613839f9239d2064ebda0b324d7b067a87a6aa6eeea26ec1"]]
979
+ SQL (0.1ms) 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-01-08 13:25:01.723286"], ["updated_at", "2016-01-08 13:25:01.723286"], ["confirmation_token", "dpbZjQq-Yzhsksan8dxo"], ["confirmation_sent_at", "2016-01-08 13:25:01.723976"]]
980
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1076
981
 
1077
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
982
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
1078
983
 
1079
- Sent mail to joe-10@example.com (3.2ms)
1080
- Date: Sun, 08 Nov 2015 15:09:07 +0000
984
+ Sent mail to joe-8@example.com (3.0ms)
985
+ Date: Fri, 08 Jan 2016 13:25:01 +0000
1081
986
  From: pushtype@example.com
1082
987
  Reply-To: pushtype@example.com
1083
- To: joe-10@example.com
1084
- Message-ID: <563f65939e610_2b1b3fde29063be055156@Aarons-iMac.local.mail>
988
+ To: joe-8@example.com
989
+ Message-ID: <568fb8adb8579_19013ff9b8c63be8776f9@Aarons-iMac.local.mail>
1085
990
  Subject: [PushType] Confirm your account
1086
991
  Mime-Version: 1.0
1087
992
  Content-Type: multipart/alternative;
1088
- boundary="--==_mimepart_563f65939e041_2b1b3fde29063be0550ee";
993
+ boundary="--==_mimepart_568fb8adb8038_19013ff9b8c63be8775ce";
1089
994
  charset=UTF-8
1090
995
  Content-Transfer-Encoding: 7bit
1091
996
 
1092
997
 
1093
- ----==_mimepart_563f65939e041_2b1b3fde29063be0550ee
998
+ ----==_mimepart_568fb8adb8038_19013ff9b8c63be8775ce
1094
999
  Content-Type: text/plain;
1095
1000
  charset=UTF-8
1096
1001
  Content-Transfer-Encoding: 7bit
@@ -1105,10 +1010,10 @@ created for you.
1105
1010
  To get started, confirm your account and set your own password by
1106
1011
  clicking the link below:
1107
1012
 
1108
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=GFGZSrVmwXx-umxAj1Nv )
1013
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=dpbZjQq-Yzhsksan8dxo )
1109
1014
 
1110
1015
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1111
- ----==_mimepart_563f65939e041_2b1b3fde29063be0550ee
1016
+ ----==_mimepart_568fb8adb8038_19013ff9b8c63be8775ce
1112
1017
  Content-Type: text/html;
1113
1018
  charset=UTF-8
1114
1019
  Content-Transfer-Encoding: 7bit
@@ -1154,7 +1059,7 @@ body {
1154
1059
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1155
1060
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1156
1061
  <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">
1157
- <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/push_type/confirmation?confirmation_token=GFGZSrVmwXx-umxAj1Nv" 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>
1062
+ <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/push_type/confirmation?confirmation_token=dpbZjQq-Yzhsksan8dxo" 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>
1158
1063
  </td>
1159
1064
  </tr>
1160
1065
  </table>
@@ -1199,48 +1104,76 @@ body {
1199
1104
  </body>
1200
1105
  </html>
1201
1106
 
1202
- ----==_mimepart_563f65939e041_2b1b3fde29063be0550ee--
1107
+ ----==_mimepart_568fb8adb8038_19013ff9b8c63be8775ce--
1203
1108
 
1204
1109
   (0.1ms) RELEASE SAVEPOINT active_record_2
1205
- Processing by PushType::ConfirmationsController#show as HTML
1206
- Parameters: {"confirmation_token"=>"GFGZSrVmwXx-umxAj1Nv"}
1207
- 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 1 [["confirmation_token", "GFGZSrVmwXx-umxAj1Nv"]]
1110
+ Processing by PushType::ConfirmationsController#update as HTML
1111
+ Parameters: {"user"=>{"confirmation_token"=>"dpbZjQq-Yzhsksan8dxo", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1112
+ 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 1 [["confirmation_token", "dpbZjQq-Yzhsksan8dxo"]]
1113
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-8@example.com' AND "push_type_users"."id" != '6e7f6320-c5a0-465f-b762-bd196d68c8f3') LIMIT 1
1208
1114
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
1209
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.7ms)
1210
- Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.1ms)
1211
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1212
-  (0.1ms) ROLLBACK
1213
-  (0.1ms) BEGIN
1214
- ----------------------------------------------------------------------------------------
1215
- PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0001_anonymous
1216
- ----------------------------------------------------------------------------------------
1217
-  (0.1ms) SAVEPOINT active_record_1
1218
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1219
-  (0.0ms) SAVEPOINT active_record_1
1220
-  (0.1ms) SAVEPOINT active_record_2
1221
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
1222
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
1223
- 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 1 [["confirmation_token", "7ab7819efe51897021e0d3a63f46538cb7220f80fe0d7f4a74dc18240a233db5"]]
1224
- SQL (0.1ms) 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-11@example.com"], ["created_at", "2015-11-08 15:09:07.662515"], ["updated_at", "2015-11-08 15:09:07.662515"], ["confirmation_token", "Kbei3-MWnC6Vs_M7sdv6"], ["confirmation_sent_at", "2015-11-08 15:09:07.663208"]]
1225
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.6ms)
1115
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (2.1ms)
1116
+ Completed 200 OK in 8ms (Views: 5.6ms | ActiveRecord: 0.5ms)
1117
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1118
+  (0.1ms) ROLLBACK
1119
+  (0.1ms) BEGIN
1120
+ ---------------------------------------------------------------
1121
+ PushType::AuthenticatableTest::validatable: test_0001_anonymous
1122
+ ---------------------------------------------------------------
1123
+  (0.0ms) SAVEPOINT active_record_1
1124
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1125
+  (0.0ms) SAVEPOINT active_record_1
1126
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1127
+  (0.1ms) ROLLBACK
1128
+  (0.1ms) BEGIN
1129
+ ---------------------------------------------------------------
1130
+ PushType::AuthenticatableTest::validatable: test_0002_anonymous
1131
+ ---------------------------------------------------------------
1132
+  (0.0ms) SAVEPOINT active_record_1
1133
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1134
+  (0.0ms) SAVEPOINT active_record_1
1135
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1136
+  (0.0ms) ROLLBACK
1137
+  (0.1ms) BEGIN
1138
+ ----------------------------------------------------
1139
+ PushType::InvitationMethodsTest: test_0001_anonymous
1140
+ ----------------------------------------------------
1141
+  (0.1ms) SAVEPOINT active_record_1
1142
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1143
+  (0.0ms) SAVEPOINT active_record_1
1144
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1145
+  (0.0ms) ROLLBACK
1146
+  (0.1ms) BEGIN
1147
+ --------------------------------------------------------------------------------------------------------------
1148
+ PushType::AuthenticatableTest::#password_required?::with existing user and clean password: test_0001_anonymous
1149
+ --------------------------------------------------------------------------------------------------------------
1150
+  (0.0ms) SAVEPOINT active_record_1
1151
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1152
+  (0.1ms) SAVEPOINT active_record_1
1153
+  (0.0ms) SAVEPOINT active_record_2
1154
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
1155
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
1156
+ 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 1 [["confirmation_token", "ff7fb81a3aefab22e23d39cd1966354fd0d0d9c77923955933334ac81ef1dade"]]
1157
+ 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-01-08 13:25:01.774789"], ["updated_at", "2016-01-08 13:25:01.774789"], ["confirmation_token", "GZPQSZoY6LWaD1jNWS56"], ["confirmation_sent_at", "2016-01-08 13:25:01.775528"]]
1158
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1226
1159
 
1227
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.9ms
1160
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
1228
1161
 
1229
- Sent mail to joe-11@example.com (3.1ms)
1230
- Date: Sun, 08 Nov 2015 15:09:07 +0000
1162
+ Sent mail to joe-9@example.com (3.3ms)
1163
+ Date: Fri, 08 Jan 2016 13:25:01 +0000
1231
1164
  From: pushtype@example.com
1232
1165
  Reply-To: pushtype@example.com
1233
- To: joe-11@example.com
1234
- Message-ID: <563f6593a9aa4_2b1b3fde29063be055433@Aarons-iMac.local.mail>
1166
+ To: joe-9@example.com
1167
+ Message-ID: <568fb8adc51e9_19013ff9b8c63be8779dd@Aarons-iMac.local.mail>
1235
1168
  Subject: [PushType] Confirm your account
1236
1169
  Mime-Version: 1.0
1237
1170
  Content-Type: multipart/alternative;
1238
- boundary="--==_mimepart_563f6593a94e8_2b1b3fde29063be055357";
1171
+ boundary="--==_mimepart_568fb8adc4b63_19013ff9b8c63be87789c";
1239
1172
  charset=UTF-8
1240
1173
  Content-Transfer-Encoding: 7bit
1241
1174
 
1242
1175
 
1243
- ----==_mimepart_563f6593a94e8_2b1b3fde29063be055357
1176
+ ----==_mimepart_568fb8adc4b63_19013ff9b8c63be87789c
1244
1177
  Content-Type: text/plain;
1245
1178
  charset=UTF-8
1246
1179
  Content-Transfer-Encoding: 7bit
@@ -1255,10 +1188,10 @@ created for you.
1255
1188
  To get started, confirm your account and set your own password by
1256
1189
  clicking the link below:
1257
1190
 
1258
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Kbei3-MWnC6Vs_M7sdv6 )
1191
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=GZPQSZoY6LWaD1jNWS56 )
1259
1192
 
1260
1193
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1261
- ----==_mimepart_563f6593a94e8_2b1b3fde29063be055357
1194
+ ----==_mimepart_568fb8adc4b63_19013ff9b8c63be87789c
1262
1195
  Content-Type: text/html;
1263
1196
  charset=UTF-8
1264
1197
  Content-Transfer-Encoding: 7bit
@@ -1304,7 +1237,7 @@ body {
1304
1237
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1305
1238
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1306
1239
  <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">
1307
- <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/push_type/confirmation?confirmation_token=Kbei3-MWnC6Vs_M7sdv6" 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>
1240
+ <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/push_type/confirmation?confirmation_token=GZPQSZoY6LWaD1jNWS56" 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>
1308
1241
  </td>
1309
1242
  </tr>
1310
1243
  </table>
@@ -1349,55 +1282,74 @@ body {
1349
1282
  </body>
1350
1283
  </html>
1351
1284
 
1352
- ----==_mimepart_563f6593a94e8_2b1b3fde29063be055357--
1285
+ ----==_mimepart_568fb8adc4b63_19013ff9b8c63be87789c--
1353
1286
 
1354
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1355
- Processing by PushType::ConfirmationsController#update as HTML
1356
- Parameters: {"user"=>{"confirmation_token"=>"Kbei3-MWnC6Vs_M7sdv6", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1357
- 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 1 [["confirmation_token", "Kbei3-MWnC6Vs_M7sdv6"]]
1358
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-11@example.com' AND "push_type_users"."id" != '84bd9f19-29a0-498b-b87e-2144ef41924c') LIMIT 1
1359
-  (0.1ms) SAVEPOINT active_record_2
1360
- 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$r3f/o5oADa7o3PQr1ikuF.k2Bk7IgUe9SUzFE06qsjyA5KLYgzun6"], ["confirmed_at", "2015-11-08 15:09:07.701823"], ["updated_at", "2015-11-08 15:09:07.702318"], ["id", "84bd9f19-29a0-498b-b87e-2144ef41924c"]]
1361
1287
   (0.1ms) RELEASE SAVEPOINT active_record_2
1362
-  (0.1ms) SAVEPOINT active_record_2
1363
- SQL (0.2ms) UPDATE "push_type_users" SET "last_sign_in_at" = $1, "current_sign_in_at" = $2, "last_sign_in_ip" = $3, "current_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7 [["last_sign_in_at", "2015-11-08 15:09:07.704541"], ["current_sign_in_at", "2015-11-08 15:09:07.704541"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-11-08 15:09:07.705075"], ["id", "84bd9f19-29a0-498b-b87e-2144ef41924c"]]
1364
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1365
- Redirected to http://test.host/push_type/
1366
- Completed 302 Found in 8ms (ActiveRecord: 1.1ms)
1367
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "84bd9f19-29a0-498b-b87e-2144ef41924c"]]
1368
1288
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1369
1289
   (0.1ms) ROLLBACK
1370
1290
   (0.1ms) BEGIN
1371
- ----------------------------------------------------------------------------------------
1372
- PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0002_anonymous
1373
- ----------------------------------------------------------------------------------------
1291
+ --------------------------------------------------------
1292
+ PushType::AuthenticationMethodsTest: test_0001_anonymous
1293
+ --------------------------------------------------------
1294
+  (0.1ms) SAVEPOINT active_record_1
1295
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1296
+  (0.0ms) SAVEPOINT active_record_1
1297
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1298
+  (0.1ms) ROLLBACK
1299
+  (0.1ms) BEGIN
1300
+ --------------------------------------------------------
1301
+ PushType::AuthenticationMethodsTest: test_0002_anonymous
1302
+ --------------------------------------------------------
1374
1303
   (0.0ms) SAVEPOINT active_record_1
1375
1304
   (0.0ms) RELEASE SAVEPOINT active_record_1
1376
1305
   (0.0ms) SAVEPOINT active_record_1
1377
-  (0.1ms) SAVEPOINT active_record_2
1378
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
1379
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
1380
- 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 1 [["confirmation_token", "c1b4085f43f12cda1866823223a916925c24a5df2760981623507c66163474bc"]]
1381
- 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-12@example.com"], ["created_at", "2015-11-08 15:09:07.711379"], ["updated_at", "2015-11-08 15:09:07.711379"], ["confirmation_token", "qiezzXcQsfAMcxASCJSH"], ["confirmation_sent_at", "2015-11-08 15:09:07.712270"]]
1382
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1306
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1307
+  (0.0ms) ROLLBACK
1308
+  (0.1ms) BEGIN
1309
+ ---------------------------------------------------------------
1310
+ PushType::AuthenticatableTest::recoverable: test_0001_anonymous
1311
+ ---------------------------------------------------------------
1312
+  (0.0ms) SAVEPOINT active_record_1
1313
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1314
+  (0.0ms) SAVEPOINT active_record_1
1315
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1316
+  (0.1ms) ROLLBACK
1317
+  (0.1ms) BEGIN
1318
+ ---------------------------------------------------------------
1319
+ PushType::UsersControllerTest::PUT #invite: test_0003_anonymous
1320
+ ---------------------------------------------------------------
1321
+  (0.0ms) SAVEPOINT active_record_1
1322
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1323
+  (0.0ms) SAVEPOINT active_record_1
1324
+  (0.0ms) SAVEPOINT active_record_2
1325
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
1326
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
1327
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-10@example.com"], ["confirmation_sent_at", "2016-01-08 13:25:01.817064"], ["confirmed_at", "2016-01-08 13:25:01.817129"], ["confirmation_token", "Generated account"], ["created_at", "2016-01-08 13:25:01.818682"], ["updated_at", "2016-01-08 13:25:01.818682"]]
1328
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1329
+  (0.1ms) SAVEPOINT active_record_2
1330
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
1331
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
1332
+ 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 1 [["confirmation_token", "48c8488c92a78067b258a09869557664d5426a073795383b1455d62daf5c0206"]]
1333
+ SQL (0.1ms) 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-11@example.com"], ["created_at", "2016-01-08 13:25:01.821429"], ["updated_at", "2016-01-08 13:25:01.821429"], ["confirmation_token", "tXzL-uAXUSzpooR17vYx"], ["confirmation_sent_at", "2016-01-08 13:25:01.822107"]]
1334
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1383
1335
 
1384
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
1336
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
1385
1337
 
1386
- Sent mail to joe-12@example.com (4.1ms)
1387
- Date: Sun, 08 Nov 2015 15:09:07 +0000
1338
+ Sent mail to joe-11@example.com (2.9ms)
1339
+ Date: Fri, 08 Jan 2016 13:25:01 +0000
1388
1340
  From: pushtype@example.com
1389
1341
  Reply-To: pushtype@example.com
1390
- To: joe-12@example.com
1391
- Message-ID: <563f6593b7592_2b1b3fde29063be0557d9@Aarons-iMac.local.mail>
1342
+ To: joe-11@example.com
1343
+ Message-ID: <568fb8add0564_19013ff9b8c63be878296@Aarons-iMac.local.mail>
1392
1344
  Subject: [PushType] Confirm your account
1393
1345
  Mime-Version: 1.0
1394
1346
  Content-Type: multipart/alternative;
1395
- boundary="--==_mimepart_563f6593b6f54_2b1b3fde29063be05567f";
1347
+ boundary="--==_mimepart_568fb8add0038_19013ff9b8c63be8781ce";
1396
1348
  charset=UTF-8
1397
1349
  Content-Transfer-Encoding: 7bit
1398
1350
 
1399
1351
 
1400
- ----==_mimepart_563f6593b6f54_2b1b3fde29063be05567f
1352
+ ----==_mimepart_568fb8add0038_19013ff9b8c63be8781ce
1401
1353
  Content-Type: text/plain;
1402
1354
  charset=UTF-8
1403
1355
  Content-Transfer-Encoding: 7bit
@@ -1412,10 +1364,10 @@ created for you.
1412
1364
  To get started, confirm your account and set your own password by
1413
1365
  clicking the link below:
1414
1366
 
1415
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=qiezzXcQsfAMcxASCJSH )
1367
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=tXzL-uAXUSzpooR17vYx )
1416
1368
 
1417
1369
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1418
- ----==_mimepart_563f6593b6f54_2b1b3fde29063be05567f
1370
+ ----==_mimepart_568fb8add0038_19013ff9b8c63be8781ce
1419
1371
  Content-Type: text/html;
1420
1372
  charset=UTF-8
1421
1373
  Content-Transfer-Encoding: 7bit
@@ -1461,7 +1413,7 @@ body {
1461
1413
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1462
1414
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1463
1415
  <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">
1464
- <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/push_type/confirmation?confirmation_token=qiezzXcQsfAMcxASCJSH" 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>
1416
+ <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/push_type/confirmation?confirmation_token=tXzL-uAXUSzpooR17vYx" 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>
1465
1417
  </td>
1466
1418
  </tr>
1467
1419
  </table>
@@ -1500,148 +1452,40 @@ body {
1500
1452
  </td>
1501
1453
  <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1502
1454
  </tr>
1503
- </table>
1504
- <!-- /footer -->
1505
-
1506
- </body>
1507
- </html>
1508
-
1509
- ----==_mimepart_563f6593b6f54_2b1b3fde29063be05567f--
1510
-
1511
-  (0.2ms) RELEASE SAVEPOINT active_record_2
1512
- Processing by PushType::ConfirmationsController#update as HTML
1513
- Parameters: {"user"=>{"confirmation_token"=>"qiezzXcQsfAMcxASCJSH", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1514
- 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 1 [["confirmation_token", "qiezzXcQsfAMcxASCJSH"]]
1515
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-12@example.com' AND "push_type_users"."id" != 'a96a8d9b-7399-49f4-b675-1b26f1a384d8') LIMIT 1
1516
-  (0.1ms) SAVEPOINT active_record_2
1517
- 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$ZXmY5vl/YHzPII.wGM8pVu30QtxA.E4HrPGndfZhHtNX9yPiNJAqu"], ["confirmed_at", "2015-11-08 15:09:07.758564"], ["updated_at", "2015-11-08 15:09:07.758943"], ["id", "a96a8d9b-7399-49f4-b675-1b26f1a384d8"]]
1518
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1519
-  (0.0ms) SAVEPOINT active_record_2
1520
- SQL (0.1ms) UPDATE "push_type_users" SET "last_sign_in_at" = $1, "current_sign_in_at" = $2, "last_sign_in_ip" = $3, "current_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7 [["last_sign_in_at", "2015-11-08 15:09:07.760450"], ["current_sign_in_at", "2015-11-08 15:09:07.760450"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-11-08 15:09:07.760803"], ["id", "a96a8d9b-7399-49f4-b675-1b26f1a384d8"]]
1521
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1522
- Redirected to http://test.host/push_type/
1523
- Completed 302 Found in 7ms (ActiveRecord: 1.1ms)
1524
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1525
-  (0.1ms) ROLLBACK
1526
-  (0.1ms) BEGIN
1527
- ---------------------------------------------------------------
1528
- PushType::AuthenticatableTest::confirmable: test_0001_anonymous
1529
- ---------------------------------------------------------------
1530
-  (0.0ms) SAVEPOINT active_record_1
1531
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1532
-  (0.0ms) SAVEPOINT active_record_1
1533
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1534
-  (0.1ms) ROLLBACK
1535
-  (0.1ms) BEGIN
1536
- -----------------------------------------------------------------------------------
1537
- PushType::ProfilesControllerTest::PUT #update::with valid user: test_0003_anonymous
1538
- -----------------------------------------------------------------------------------
1539
-  (0.1ms) SAVEPOINT active_record_1
1540
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1541
-  (0.1ms) SAVEPOINT active_record_1
1542
-  (0.1ms) SAVEPOINT active_record_2
1543
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
1544
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
1545
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-13@example.com"], ["confirmation_sent_at", "2015-11-08 15:09:07.766571"], ["confirmed_at", "2015-11-08 15:09:07.766629"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-08 15:09:07.768641"], ["updated_at", "2015-11-08 15:09:07.768641"]]
1546
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1547
- Processing by PushType::ProfilesController#update as HTML
1548
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
1549
- 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 1 [["id", "b8b64f34-d8ac-474c-8689-aa297fa407a5"]]
1550
-  (0.1ms) SAVEPOINT active_record_2
1551
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-13@example.com' AND "push_type_users"."id" != 'b8b64f34-d8ac-474c-8689-aa297fa407a5') LIMIT 1
1552
- SQL (0.1ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2015-11-08 15:09:07.773136"], ["id", "b8b64f34-d8ac-474c-8689-aa297fa407a5"]]
1553
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1554
- Redirected to http://test.host/push_type/profile/edit
1555
- Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
1556
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1557
-  (0.1ms) ROLLBACK
1558
-  (0.1ms) BEGIN
1559
- -----------------------------------------------------------------------------------
1560
- PushType::ProfilesControllerTest::PUT #update::with valid user: test_0002_anonymous
1561
- -----------------------------------------------------------------------------------
1562
-  (0.1ms) SAVEPOINT active_record_1
1563
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1564
-  (0.0ms) SAVEPOINT active_record_1
1565
-  (0.1ms) SAVEPOINT active_record_2
1566
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
1567
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
1568
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-14@example.com"], ["confirmation_sent_at", "2015-11-08 15:09:07.776454"], ["confirmed_at", "2015-11-08 15:09:07.776501"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-08 15:09:07.778034"], ["updated_at", "2015-11-08 15:09:07.778034"]]
1569
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1570
- Processing by PushType::ProfilesController#update as HTML
1571
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
1572
- 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 1 [["id", "3f29093f-92e9-463b-ae1e-0f5e999eef66"]]
1573
-  (0.1ms) SAVEPOINT active_record_2
1574
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-14@example.com' AND "push_type_users"."id" != '3f29093f-92e9-463b-ae1e-0f5e999eef66') LIMIT 1
1575
- 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", "2015-11-08 15:09:07.782074"], ["id", "3f29093f-92e9-463b-ae1e-0f5e999eef66"]]
1576
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1577
- Redirected to http://test.host/push_type/profile/edit
1578
- Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
1579
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1580
-  (0.1ms) ROLLBACK
1581
-  (0.1ms) BEGIN
1582
- -----------------------------------------------------------------------------------
1583
- PushType::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
1584
- -----------------------------------------------------------------------------------
1585
-  (0.1ms) SAVEPOINT active_record_1
1586
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1587
-  (0.1ms) SAVEPOINT active_record_1
1588
-  (0.1ms) SAVEPOINT active_record_2
1589
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
1590
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
1591
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-15@example.com"], ["confirmation_sent_at", "2015-11-08 15:09:07.785399"], ["confirmed_at", "2015-11-08 15:09:07.785488"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-08 15:09:07.787015"], ["updated_at", "2015-11-08 15:09:07.787015"]]
1455
+ </table>
1456
+ <!-- /footer -->
1457
+
1458
+ </body>
1459
+ </html>
1460
+
1461
+ ----==_mimepart_568fb8add0038_19013ff9b8c63be8781ce--
1462
+
1592
1463
   (0.1ms) RELEASE SAVEPOINT active_record_2
1593
- Processing by PushType::ProfilesController#update as HTML
1594
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
1595
- 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 1 [["id", "1e4df0da-191d-472c-85cc-021c021794e2"]]
1596
-  (0.1ms) SAVEPOINT active_record_2
1597
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-15@example.com' AND "push_type_users"."id" != '1e4df0da-191d-472c-85cc-021c021794e2') LIMIT 1
1598
- 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", "2015-11-08 15:09:07.791405"], ["id", "1e4df0da-191d-472c-85cc-021c021794e2"]]
1599
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1600
- Redirected to http://test.host/push_type/profile/edit
1601
- Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
1602
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "1e4df0da-191d-472c-85cc-021c021794e2"]]
1603
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1604
-  (0.1ms) ROLLBACK
1605
-  (0.1ms) BEGIN
1606
- ---------------------------------------------------------------
1607
- PushType::AuthenticatableTest::recoverable: test_0001_anonymous
1608
- ---------------------------------------------------------------
1609
-  (0.0ms) SAVEPOINT active_record_1
1610
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1611
-  (0.0ms) SAVEPOINT active_record_1
1612
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1613
-  (0.1ms) ROLLBACK
1614
-  (0.1ms) BEGIN
1615
- --------------------------------------------------------------------------------------------------------------
1616
- PushType::AuthenticatableTest::#password_required?::with existing user and clean password: test_0001_anonymous
1617
- --------------------------------------------------------------------------------------------------------------
1618
-  (0.1ms) SAVEPOINT active_record_1
1619
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1620
-  (0.0ms) SAVEPOINT active_record_1
1621
-  (0.0ms) SAVEPOINT active_record_2
1622
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
1623
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
1624
- 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 1 [["confirmation_token", "4e8f595c692ea70bd8e7c83f3f1a0cc52f19798adf7f0020e681e39cead2f560"]]
1625
- SQL (0.1ms) 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-16@example.com"], ["created_at", "2015-11-08 15:09:07.798924"], ["updated_at", "2015-11-08 15:09:07.798924"], ["confirmation_token", "yexdEVH-UsY9RdBfVw4J"], ["confirmation_sent_at", "2015-11-08 15:09:07.799851"]]
1626
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms)
1464
+ Processing by PushType::UsersController#invite as HTML
1465
+ Parameters: {"id"=>"3cf552b0-c6b5-41a3-837e-6453fafc08ca"}
1466
+ 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 1 [["id", "388be1c3-91d8-4220-81b8-ee0ec5da762c"]]
1467
+ 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 1 [["id", "3cf552b0-c6b5-41a3-837e-6453fafc08ca"]]
1468
+  (0.1ms) SAVEPOINT active_record_2
1469
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1470
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1627
1471
 
1628
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.9ms
1472
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.2ms
1629
1473
 
1630
- Sent mail to joe-16@example.com (3.6ms)
1631
- Date: Sun, 08 Nov 2015 15:09:07 +0000
1474
+ Sent mail to joe-11@example.com (3.0ms)
1475
+ Date: Fri, 08 Jan 2016 13:25:01 +0000
1632
1476
  From: pushtype@example.com
1633
1477
  Reply-To: pushtype@example.com
1634
- To: joe-16@example.com
1635
- Message-ID: <563f6593cb8f7_2b1b3fde29063be056079@Aarons-iMac.local.mail>
1478
+ To: joe-11@example.com
1479
+ Message-ID: <568fb8add9423_19013ff9b8c63be8785a5@Aarons-iMac.local.mail>
1636
1480
  Subject: [PushType] Confirm your account
1637
1481
  Mime-Version: 1.0
1638
1482
  Content-Type: multipart/alternative;
1639
- boundary="--==_mimepart_563f6593cb2cd_2b1b3fde29063be05599b";
1483
+ boundary="--==_mimepart_568fb8add8ef0_19013ff9b8c63be8784b1";
1640
1484
  charset=UTF-8
1641
1485
  Content-Transfer-Encoding: 7bit
1642
1486
 
1643
1487
 
1644
- ----==_mimepart_563f6593cb2cd_2b1b3fde29063be05599b
1488
+ ----==_mimepart_568fb8add8ef0_19013ff9b8c63be8784b1
1645
1489
  Content-Type: text/plain;
1646
1490
  charset=UTF-8
1647
1491
  Content-Transfer-Encoding: 7bit
@@ -1656,10 +1500,10 @@ created for you.
1656
1500
  To get started, confirm your account and set your own password by
1657
1501
  clicking the link below:
1658
1502
 
1659
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=yexdEVH-UsY9RdBfVw4J )
1503
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=tXzL-uAXUSzpooR17vYx )
1660
1504
 
1661
1505
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1662
- ----==_mimepart_563f6593cb2cd_2b1b3fde29063be05599b
1506
+ ----==_mimepart_568fb8add8ef0_19013ff9b8c63be8784b1
1663
1507
  Content-Type: text/html;
1664
1508
  charset=UTF-8
1665
1509
  Content-Transfer-Encoding: 7bit
@@ -1705,7 +1549,7 @@ body {
1705
1549
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1706
1550
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1707
1551
  <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">
1708
- <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/push_type/confirmation?confirmation_token=yexdEVH-UsY9RdBfVw4J" 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>
1552
+ <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/push_type/confirmation?confirmation_token=tXzL-uAXUSzpooR17vYx" 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>
1709
1553
  </td>
1710
1554
  </tr>
1711
1555
  </table>
@@ -1750,47 +1594,48 @@ body {
1750
1594
  </body>
1751
1595
  </html>
1752
1596
 
1753
- ----==_mimepart_563f6593cb2cd_2b1b3fde29063be05599b--
1597
+ ----==_mimepart_568fb8add8ef0_19013ff9b8c63be8784b1--
1754
1598
 
1755
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1599
+ Redirected to /push_type/users
1600
+ Completed 302 Found in 35ms (ActiveRecord: 0.5ms)
1756
1601
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1757
1602
   (0.1ms) ROLLBACK
1758
1603
   (0.1ms) BEGIN
1759
1604
  ---------------------------------------------------------------
1760
- PushType::UsersControllerTest::PUT #invite: test_0003_anonymous
1605
+ PushType::UsersControllerTest::PUT #invite: test_0002_anonymous
1761
1606
  ---------------------------------------------------------------
1762
-  (0.1ms) SAVEPOINT active_record_1
1763
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1764
-  (0.1ms) SAVEPOINT active_record_1
1607
+  (0.0ms) SAVEPOINT active_record_1
1608
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1609
+  (0.0ms) SAVEPOINT active_record_1
1765
1610
   (0.1ms) SAVEPOINT active_record_2
1766
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
1767
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
1768
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-17@example.com"], ["confirmation_sent_at", "2015-11-08 15:09:07.839683"], ["confirmed_at", "2015-11-08 15:09:07.839744"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-08 15:09:07.841450"], ["updated_at", "2015-11-08 15:09:07.841450"]]
1611
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
1612
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
1613
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-12@example.com"], ["confirmation_sent_at", "2016-01-08 13:25:01.893922"], ["confirmed_at", "2016-01-08 13:25:01.893980"], ["confirmation_token", "Generated account"], ["created_at", "2016-01-08 13:25:01.895426"], ["updated_at", "2016-01-08 13:25:01.895426"]]
1769
1614
   (0.1ms) RELEASE SAVEPOINT active_record_2
1770
-  (0.0ms) SAVEPOINT active_record_2
1771
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
1772
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
1773
- 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 1 [["confirmation_token", "c69018a4768dc052ab6a2633bfcdf6318bd101958cecb167d405a3e4f698d856"]]
1774
- SQL (0.1ms) 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-18@example.com"], ["created_at", "2015-11-08 15:09:07.844036"], ["updated_at", "2015-11-08 15:09:07.844036"], ["confirmation_token", "spf2yKg2rvqMgYfuVuUE"], ["confirmation_sent_at", "2015-11-08 15:09:07.844898"]]
1615
+  (0.1ms) SAVEPOINT active_record_2
1616
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
1617
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
1618
+ 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 1 [["confirmation_token", "2a1f3272c27cdf01fad662496625abe8c3e69d8313c7cb6d92b8c00977163dc2"]]
1619
+ SQL (0.1ms) 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-01-08 13:25:01.898396"], ["updated_at", "2016-01-08 13:25:01.898396"], ["confirmation_token", "hX3yh8egWDsxx91XAZsb"], ["confirmation_sent_at", "2016-01-08 13:25:01.899096"]]
1775
1620
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1776
1621
 
1777
1622
  Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
1778
1623
 
1779
- Sent mail to joe-18@example.com (3.4ms)
1780
- Date: Sun, 08 Nov 2015 15:09:07 +0000
1624
+ Sent mail to joe-13@example.com (3.4ms)
1625
+ Date: Fri, 08 Jan 2016 13:25:01 +0000
1781
1626
  From: pushtype@example.com
1782
1627
  Reply-To: pushtype@example.com
1783
- To: joe-18@example.com
1784
- Message-ID: <563f6593d6b4f_2b1b3fde29063be056359@Aarons-iMac.local.mail>
1628
+ To: joe-13@example.com
1629
+ Message-ID: <568fb8ade31f7_19013ff9b8c63be87884@Aarons-iMac.local.mail>
1785
1630
  Subject: [PushType] Confirm your account
1786
1631
  Mime-Version: 1.0
1787
1632
  Content-Type: multipart/alternative;
1788
- boundary="--==_mimepart_563f6593d64fe_2b1b3fde29063be0562b7";
1633
+ boundary="--==_mimepart_568fb8ade2c4d_19013ff9b8c63be878751";
1789
1634
  charset=UTF-8
1790
1635
  Content-Transfer-Encoding: 7bit
1791
1636
 
1792
1637
 
1793
- ----==_mimepart_563f6593d64fe_2b1b3fde29063be0562b7
1638
+ ----==_mimepart_568fb8ade2c4d_19013ff9b8c63be878751
1794
1639
  Content-Type: text/plain;
1795
1640
  charset=UTF-8
1796
1641
  Content-Transfer-Encoding: 7bit
@@ -1805,10 +1650,10 @@ created for you.
1805
1650
  To get started, confirm your account and set your own password by
1806
1651
  clicking the link below:
1807
1652
 
1808
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=spf2yKg2rvqMgYfuVuUE )
1653
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=hX3yh8egWDsxx91XAZsb )
1809
1654
 
1810
1655
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1811
- ----==_mimepart_563f6593d64fe_2b1b3fde29063be0562b7
1656
+ ----==_mimepart_568fb8ade2c4d_19013ff9b8c63be878751
1812
1657
  Content-Type: text/html;
1813
1658
  charset=UTF-8
1814
1659
  Content-Transfer-Encoding: 7bit
@@ -1854,7 +1699,7 @@ body {
1854
1699
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1855
1700
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1856
1701
  <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">
1857
- <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/push_type/confirmation?confirmation_token=spf2yKg2rvqMgYfuVuUE" 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>
1702
+ <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/push_type/confirmation?confirmation_token=hX3yh8egWDsxx91XAZsb" 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>
1858
1703
  </td>
1859
1704
  </tr>
1860
1705
  </table>
@@ -1899,34 +1744,34 @@ body {
1899
1744
  </body>
1900
1745
  </html>
1901
1746
 
1902
- ----==_mimepart_563f6593d64fe_2b1b3fde29063be0562b7--
1747
+ ----==_mimepart_568fb8ade2c4d_19013ff9b8c63be878751--
1903
1748
 
1904
1749
   (0.1ms) RELEASE SAVEPOINT active_record_2
1905
1750
  Processing by PushType::UsersController#invite as HTML
1906
- Parameters: {"id"=>"36b31554-c161-44e1-8901-011fd39e58d9"}
1907
- 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 1 [["id", "ac121c62-c8e4-4534-99f5-4e0c344fe81d"]]
1908
- 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 1 [["id", "36b31554-c161-44e1-8901-011fd39e58d9"]]
1751
+ Parameters: {"id"=>"500b09e0-9d89-4928-8fcb-df08d08f8a4e"}
1752
+ 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 1 [["id", "ffbe6b1a-fee1-4a88-a8c5-2ec2d2e46d24"]]
1753
+ 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 1 [["id", "500b09e0-9d89-4928-8fcb-df08d08f8a4e"]]
1909
1754
   (0.1ms) SAVEPOINT active_record_2
1910
1755
   (0.1ms) RELEASE SAVEPOINT active_record_2
1911
1756
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1912
1757
 
1913
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
1758
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.1ms
1914
1759
 
1915
- Sent mail to joe-18@example.com (3.4ms)
1916
- Date: Sun, 08 Nov 2015 15:09:07 +0000
1760
+ Sent mail to joe-13@example.com (3.2ms)
1761
+ Date: Fri, 08 Jan 2016 13:25:01 +0000
1917
1762
  From: pushtype@example.com
1918
1763
  Reply-To: pushtype@example.com
1919
- To: joe-18@example.com
1920
- Message-ID: <563f6593e07d0_2b1b3fde29063be0566e7@Aarons-iMac.local.mail>
1764
+ To: joe-13@example.com
1765
+ Message-ID: <568fb8adebe4e_19013ff9b8c63be8791f5@Aarons-iMac.local.mail>
1921
1766
  Subject: [PushType] Confirm your account
1922
1767
  Mime-Version: 1.0
1923
1768
  Content-Type: multipart/alternative;
1924
- boundary="--==_mimepart_563f6593e0155_2b1b3fde29063be0565d9";
1769
+ boundary="--==_mimepart_568fb8adeb8df_19013ff9b8c63be87901d";
1925
1770
  charset=UTF-8
1926
1771
  Content-Transfer-Encoding: 7bit
1927
1772
 
1928
1773
 
1929
- ----==_mimepart_563f6593e0155_2b1b3fde29063be0565d9
1774
+ ----==_mimepart_568fb8adeb8df_19013ff9b8c63be87901d
1930
1775
  Content-Type: text/plain;
1931
1776
  charset=UTF-8
1932
1777
  Content-Transfer-Encoding: 7bit
@@ -1941,10 +1786,10 @@ created for you.
1941
1786
  To get started, confirm your account and set your own password by
1942
1787
  clicking the link below:
1943
1788
 
1944
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=spf2yKg2rvqMgYfuVuUE )
1789
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=hX3yh8egWDsxx91XAZsb )
1945
1790
 
1946
1791
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1947
- ----==_mimepart_563f6593e0155_2b1b3fde29063be0565d9
1792
+ ----==_mimepart_568fb8adeb8df_19013ff9b8c63be87901d
1948
1793
  Content-Type: text/html;
1949
1794
  charset=UTF-8
1950
1795
  Content-Transfer-Encoding: 7bit
@@ -1990,7 +1835,7 @@ body {
1990
1835
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1991
1836
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1992
1837
  <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">
1993
- <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/push_type/confirmation?confirmation_token=spf2yKg2rvqMgYfuVuUE" 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>
1838
+ <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/push_type/confirmation?confirmation_token=hX3yh8egWDsxx91XAZsb" 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>
1994
1839
  </td>
1995
1840
  </tr>
1996
1841
  </table>
@@ -2035,48 +1880,48 @@ body {
2035
1880
  </body>
2036
1881
  </html>
2037
1882
 
2038
- ----==_mimepart_563f6593e0155_2b1b3fde29063be0565d9--
1883
+ ----==_mimepart_568fb8adeb8df_19013ff9b8c63be87901d--
2039
1884
 
2040
1885
  Redirected to /push_type/users
2041
- Completed 302 Found in 39ms (ActiveRecord: 0.5ms)
1886
+ Completed 302 Found in 35ms (ActiveRecord: 0.5ms)
2042
1887
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2043
1888
   (0.1ms) ROLLBACK
2044
1889
   (0.1ms) BEGIN
2045
1890
  ---------------------------------------------------------------
2046
- PushType::UsersControllerTest::PUT #invite: test_0002_anonymous
1891
+ PushType::UsersControllerTest::PUT #invite: test_0001_anonymous
2047
1892
  ---------------------------------------------------------------
2048
1893
   (0.1ms) SAVEPOINT active_record_1
2049
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2050
-  (0.1ms) SAVEPOINT active_record_1
1894
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1895
+  (0.0ms) SAVEPOINT active_record_1
2051
1896
   (0.1ms) SAVEPOINT active_record_2
2052
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
2053
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
2054
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-19@example.com"], ["confirmation_sent_at", "2015-11-08 15:09:07.924256"], ["confirmed_at", "2015-11-08 15:09:07.924324"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-08 15:09:07.925840"], ["updated_at", "2015-11-08 15:09:07.925840"]]
1897
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
1898
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
1899
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-14@example.com"], ["confirmation_sent_at", "2016-01-08 13:25:01.970497"], ["confirmed_at", "2016-01-08 13:25:01.970559"], ["confirmation_token", "Generated account"], ["created_at", "2016-01-08 13:25:01.972104"], ["updated_at", "2016-01-08 13:25:01.972104"]]
2055
1900
   (0.1ms) RELEASE SAVEPOINT active_record_2
2056
1901
   (0.1ms) SAVEPOINT active_record_2
2057
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
2058
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
2059
- 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 1 [["confirmation_token", "409286f597fc1d73b3bcdd5f8d2d898a7d4895103ce1314acd17ab010998a3c6"]]
2060
- SQL (0.1ms) 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-20@example.com"], ["created_at", "2015-11-08 15:09:07.928566"], ["updated_at", "2015-11-08 15:09:07.928566"], ["confirmation_token", "yaZJMF2j4nq7Zpc_sUwK"], ["confirmation_sent_at", "2015-11-08 15:09:07.929279"]]
1902
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
1903
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
1904
+ 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 1 [["confirmation_token", "e4560210b2ca01ac6c5e0d84b3564ff93a7b6615422aa5a81a3d1ac94e363bdc"]]
1905
+ SQL (0.1ms) 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-01-08 13:25:01.974791"], ["updated_at", "2016-01-08 13:25:01.974791"], ["confirmation_token", "HgSFzULAY15uMZsXkCyW"], ["confirmation_sent_at", "2016-01-08 13:25:01.975543"]]
2061
1906
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
2062
1907
 
2063
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
1908
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.2ms
2064
1909
 
2065
- Sent mail to joe-20@example.com (2.9ms)
2066
- Date: Sun, 08 Nov 2015 15:09:07 +0000
1910
+ Sent mail to joe-15@example.com (3.0ms)
1911
+ Date: Fri, 08 Jan 2016 13:25:02 +0000
2067
1912
  From: pushtype@example.com
2068
1913
  Reply-To: pushtype@example.com
2069
- To: joe-20@example.com
2070
- Message-ID: <563f6593eb215_2b1b3fde29063be056963@Aarons-iMac.local.mail>
1914
+ To: joe-15@example.com
1915
+ Message-ID: <568fb8ae1739_19013ff9b8c63be8794b0@Aarons-iMac.local.mail>
2071
1916
  Subject: [PushType] Confirm your account
2072
1917
  Mime-Version: 1.0
2073
1918
  Content-Type: multipart/alternative;
2074
- boundary="--==_mimepart_563f6593eac6e_2b1b3fde29063be0568d3";
1919
+ boundary="--==_mimepart_568fb8ae1190_19013ff9b8c63be879330";
2075
1920
  charset=UTF-8
2076
1921
  Content-Transfer-Encoding: 7bit
2077
1922
 
2078
1923
 
2079
- ----==_mimepart_563f6593eac6e_2b1b3fde29063be0568d3
1924
+ ----==_mimepart_568fb8ae1190_19013ff9b8c63be879330
2080
1925
  Content-Type: text/plain;
2081
1926
  charset=UTF-8
2082
1927
  Content-Transfer-Encoding: 7bit
@@ -2091,10 +1936,10 @@ created for you.
2091
1936
  To get started, confirm your account and set your own password by
2092
1937
  clicking the link below:
2093
1938
 
2094
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=yaZJMF2j4nq7Zpc_sUwK )
1939
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=HgSFzULAY15uMZsXkCyW )
2095
1940
 
2096
1941
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2097
- ----==_mimepart_563f6593eac6e_2b1b3fde29063be0568d3
1942
+ ----==_mimepart_568fb8ae1190_19013ff9b8c63be879330
2098
1943
  Content-Type: text/html;
2099
1944
  charset=UTF-8
2100
1945
  Content-Transfer-Encoding: 7bit
@@ -2140,7 +1985,7 @@ body {
2140
1985
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2141
1986
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2142
1987
  <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">
2143
- <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/push_type/confirmation?confirmation_token=yaZJMF2j4nq7Zpc_sUwK" 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>
1988
+ <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/push_type/confirmation?confirmation_token=HgSFzULAY15uMZsXkCyW" 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>
2144
1989
  </td>
2145
1990
  </tr>
2146
1991
  </table>
@@ -2185,34 +2030,34 @@ body {
2185
2030
  </body>
2186
2031
  </html>
2187
2032
 
2188
- ----==_mimepart_563f6593eac6e_2b1b3fde29063be0568d3--
2033
+ ----==_mimepart_568fb8ae1190_19013ff9b8c63be879330--
2189
2034
 
2190
2035
   (0.1ms) RELEASE SAVEPOINT active_record_2
2191
2036
  Processing by PushType::UsersController#invite as HTML
2192
- Parameters: {"id"=>"eeb20ad5-049e-4b88-8d82-e02794d46c47"}
2193
- 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 1 [["id", "65af6108-a7e5-4ac6-bbda-7f8cf395a0ae"]]
2194
- 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 1 [["id", "eeb20ad5-049e-4b88-8d82-e02794d46c47"]]
2037
+ Parameters: {"id"=>"88f84626-09af-4a52-8b07-26fee80c7d4a"}
2038
+ 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 1 [["id", "eba22cff-2686-425b-bc83-78258e7fb3a4"]]
2039
+ 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 1 [["id", "88f84626-09af-4a52-8b07-26fee80c7d4a"]]
2195
2040
   (0.1ms) SAVEPOINT active_record_2
2196
2041
   (0.1ms) RELEASE SAVEPOINT active_record_2
2197
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
2042
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
2198
2043
 
2199
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
2044
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
2200
2045
 
2201
- Sent mail to joe-20@example.com (3.7ms)
2202
- Date: Sun, 08 Nov 2015 15:09:08 +0000
2046
+ Sent mail to joe-15@example.com (3.0ms)
2047
+ Date: Fri, 08 Jan 2016 13:25:02 +0000
2203
2048
  From: pushtype@example.com
2204
2049
  Reply-To: pushtype@example.com
2205
- To: joe-20@example.com
2206
- Message-ID: <563f65945c3_2b1b3fde29063be057233@Aarons-iMac.local.mail>
2050
+ To: joe-15@example.com
2051
+ Message-ID: <568fb8aea368_19013ff9b8c63be8797cc@Aarons-iMac.local.mail>
2207
2052
  Subject: [PushType] Confirm your account
2208
2053
  Mime-Version: 1.0
2209
2054
  Content-Type: multipart/alternative;
2210
- boundary="--==_mimepart_563f65942_2b1b3fde29063be057115";
2055
+ boundary="--==_mimepart_568fb8ae9e36_19013ff9b8c63be8796a0";
2211
2056
  charset=UTF-8
2212
2057
  Content-Transfer-Encoding: 7bit
2213
2058
 
2214
2059
 
2215
- ----==_mimepart_563f65942_2b1b3fde29063be057115
2060
+ ----==_mimepart_568fb8ae9e36_19013ff9b8c63be8796a0
2216
2061
  Content-Type: text/plain;
2217
2062
  charset=UTF-8
2218
2063
  Content-Transfer-Encoding: 7bit
@@ -2227,10 +2072,10 @@ created for you.
2227
2072
  To get started, confirm your account and set your own password by
2228
2073
  clicking the link below:
2229
2074
 
2230
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=yaZJMF2j4nq7Zpc_sUwK )
2075
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=HgSFzULAY15uMZsXkCyW )
2231
2076
 
2232
2077
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2233
- ----==_mimepart_563f65942_2b1b3fde29063be057115
2078
+ ----==_mimepart_568fb8ae9e36_19013ff9b8c63be8796a0
2234
2079
  Content-Type: text/html;
2235
2080
  charset=UTF-8
2236
2081
  Content-Transfer-Encoding: 7bit
@@ -2276,7 +2121,7 @@ body {
2276
2121
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2277
2122
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2278
2123
  <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">
2279
- <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/push_type/confirmation?confirmation_token=yaZJMF2j4nq7Zpc_sUwK" 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>
2124
+ <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/push_type/confirmation?confirmation_token=HgSFzULAY15uMZsXkCyW" 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>
2280
2125
  </td>
2281
2126
  </tr>
2282
2127
  </table>
@@ -2321,48 +2166,95 @@ body {
2321
2166
  </body>
2322
2167
  </html>
2323
2168
 
2324
- ----==_mimepart_563f65942_2b1b3fde29063be057115--
2169
+ ----==_mimepart_568fb8ae9e36_19013ff9b8c63be8796a0--
2325
2170
 
2326
2171
  Redirected to /push_type/users
2327
- Completed 302 Found in 38ms (ActiveRecord: 0.4ms)
2172
+ Completed 302 Found in 35ms (ActiveRecord: 0.4ms)
2328
2173
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2329
2174
   (0.1ms) ROLLBACK
2330
2175
   (0.1ms) BEGIN
2331
- ---------------------------------------------------------------
2332
- PushType::UsersControllerTest::PUT #invite: test_0001_anonymous
2333
- ---------------------------------------------------------------
2176
+ ------------------------------------------------------------------------------------------------------
2177
+ PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0002_anonymous
2178
+ ------------------------------------------------------------------------------------------------------
2179
+  (0.1ms) SAVEPOINT active_record_1
2180
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2181
+  (0.1ms) SAVEPOINT active_record_1
2182
+ Processing by PushType::ConfirmationsController#show as HTML
2183
+ Parameters: {"confirmation_token"=>"invalid"}
2184
+ 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 1 [["confirmation_token", "invalid"]]
2185
+ 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 1 [["confirmation_token", "invalid"]]
2186
+ 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 1 [["confirmation_token", "fabdd4b8d6024ce049780fb082c61a3b62899a97aa6d937de6f9e783b8d1df09"]]
2187
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
2188
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (3.0ms)
2189
+ Completed 200 OK in 20ms (Views: 15.5ms | ActiveRecord: 0.3ms)
2190
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2191
+  (0.1ms) ROLLBACK
2192
+  (0.1ms) BEGIN
2193
+ ------------------------------------------------------------------------------------------------------
2194
+ PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
2195
+ ------------------------------------------------------------------------------------------------------
2196
+  (0.1ms) SAVEPOINT active_record_1
2197
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2198
+  (0.0ms) SAVEPOINT active_record_1
2199
+ Processing by PushType::ConfirmationsController#show as HTML
2200
+ Parameters: {"confirmation_token"=>"invalid"}
2201
+ 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 1 [["confirmation_token", "invalid"]]
2202
+ 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 1 [["confirmation_token", "invalid"]]
2203
+ 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 1 [["confirmation_token", "fabdd4b8d6024ce049780fb082c61a3b62899a97aa6d937de6f9e783b8d1df09"]]
2204
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.2ms)
2205
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.2ms)
2206
+ Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.3ms)
2207
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2208
+  (0.1ms) ROLLBACK
2209
+  (0.1ms) BEGIN
2210
+ ----------------------------------------------------------------
2211
+ PushType::AuthenticatableTest::rememberable: test_0001_anonymous
2212
+ ----------------------------------------------------------------
2213
+  (0.0ms) SAVEPOINT active_record_1
2214
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2215
+  (0.0ms) SAVEPOINT active_record_1
2216
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2217
+  (0.1ms) ROLLBACK
2218
+  (0.0ms) BEGIN
2219
+ --------------------------------------------------------------------------------------
2220
+ PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
2221
+ --------------------------------------------------------------------------------------
2334
2222
   (0.0ms) SAVEPOINT active_record_1
2335
2223
   (0.0ms) RELEASE SAVEPOINT active_record_1
2336
2224
   (0.0ms) SAVEPOINT active_record_1
2225
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2226
+  (0.0ms) ROLLBACK
2227
+  (0.1ms) BEGIN
2228
+ ----------------------------------------------------------------------------------------------------
2229
+ PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0002_anonymous
2230
+ ----------------------------------------------------------------------------------------------------
2231
+  (0.1ms) SAVEPOINT active_record_1
2232
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2233
+  (0.1ms) SAVEPOINT active_record_1
2337
2234
   (0.1ms) SAVEPOINT active_record_2
2338
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
2339
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
2340
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-21@example.com"], ["confirmation_sent_at", "2015-11-08 15:09:08.006133"], ["confirmed_at", "2015-11-08 15:09:08.006198"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-08 15:09:08.007641"], ["updated_at", "2015-11-08 15:09:08.007641"]]
2341
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2342
-  (0.1ms) SAVEPOINT active_record_2
2343
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
2344
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
2345
- 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 1 [["confirmation_token", "d8e2cbbf3c99f66417680ed9bb7331301e7ebb85ba57431df20c22a3eeedb931"]]
2346
- SQL (0.1ms) 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", "2015-11-08 15:09:08.010269"], ["updated_at", "2015-11-08 15:09:08.010269"], ["confirmation_token", "mC1cxqUC1pzsUpu4nAku"], ["confirmation_sent_at", "2015-11-08 15:09:08.010931"]]
2347
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
2235
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
2236
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
2237
+ 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 1 [["confirmation_token", "bb573171529486c7eb8f9d47c66287661828d9cbdc9f0eb09d9c1c06bbb3dba7"]]
2238
+ SQL (0.1ms) 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-16@example.com"], ["created_at", "2016-01-08 13:25:02.084810"], ["updated_at", "2016-01-08 13:25:02.084810"], ["confirmation_token", "HFxuczTsGhStbKZztAc6"], ["confirmation_sent_at", "2016-01-08 13:25:02.085520"]]
2239
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
2348
2240
 
2349
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
2241
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms
2350
2242
 
2351
- Sent mail to joe-22@example.com (3.1ms)
2352
- Date: Sun, 08 Nov 2015 15:09:08 +0000
2243
+ Sent mail to joe-16@example.com (3.2ms)
2244
+ Date: Fri, 08 Jan 2016 13:25:02 +0000
2353
2245
  From: pushtype@example.com
2354
2246
  Reply-To: pushtype@example.com
2355
- To: joe-22@example.com
2356
- Message-ID: <563f6594a8ff_2b1b3fde29063be05752c@Aarons-iMac.local.mail>
2247
+ To: joe-16@example.com
2248
+ Message-ID: <568fb8ae1e445_19013ff9b8c63be880025@Aarons-iMac.local.mail>
2357
2249
  Subject: [PushType] Confirm your account
2358
2250
  Mime-Version: 1.0
2359
2251
  Content-Type: multipart/alternative;
2360
- boundary="--==_mimepart_563f6594a3a5_2b1b3fde29063be05748e";
2252
+ boundary="--==_mimepart_568fb8ae1de5e_19013ff9b8c63be879968";
2361
2253
  charset=UTF-8
2362
2254
  Content-Transfer-Encoding: 7bit
2363
2255
 
2364
2256
 
2365
- ----==_mimepart_563f6594a3a5_2b1b3fde29063be05748e
2257
+ ----==_mimepart_568fb8ae1de5e_19013ff9b8c63be879968
2366
2258
  Content-Type: text/plain;
2367
2259
  charset=UTF-8
2368
2260
  Content-Transfer-Encoding: 7bit
@@ -2377,10 +2269,10 @@ created for you.
2377
2269
  To get started, confirm your account and set your own password by
2378
2270
  clicking the link below:
2379
2271
 
2380
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=mC1cxqUC1pzsUpu4nAku )
2272
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=HFxuczTsGhStbKZztAc6 )
2381
2273
 
2382
2274
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2383
- ----==_mimepart_563f6594a3a5_2b1b3fde29063be05748e
2275
+ ----==_mimepart_568fb8ae1de5e_19013ff9b8c63be879968
2384
2276
  Content-Type: text/html;
2385
2277
  charset=UTF-8
2386
2278
  Content-Transfer-Encoding: 7bit
@@ -2426,7 +2318,7 @@ body {
2426
2318
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2427
2319
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2428
2320
  <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">
2429
- <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/push_type/confirmation?confirmation_token=mC1cxqUC1pzsUpu4nAku" 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>
2321
+ <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/push_type/confirmation?confirmation_token=HFxuczTsGhStbKZztAc6" 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>
2430
2322
  </td>
2431
2323
  </tr>
2432
2324
  </table>
@@ -2471,34 +2363,48 @@ body {
2471
2363
  </body>
2472
2364
  </html>
2473
2365
 
2474
- ----==_mimepart_563f6594a3a5_2b1b3fde29063be05748e--
2366
+ ----==_mimepart_568fb8ae1de5e_19013ff9b8c63be879968--
2475
2367
 
2476
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2477
- Processing by PushType::UsersController#invite as HTML
2478
- Parameters: {"id"=>"2924ef25-5a19-4352-acda-c8e98802c94e"}
2479
- 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 1 [["id", "9ea3546e-7d5c-4508-aebc-aaaa3e05b482"]]
2480
- 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 1 [["id", "2924ef25-5a19-4352-acda-c8e98802c94e"]]
2368
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2369
+ Processing by PushType::ConfirmationsController#show as HTML
2370
+ Parameters: {"confirmation_token"=>"HFxuczTsGhStbKZztAc6"}
2371
+ 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 1 [["confirmation_token", "HFxuczTsGhStbKZztAc6"]]
2372
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
2373
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.8ms)
2374
+ Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.1ms)
2375
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2376
+  (0.1ms) ROLLBACK
2377
+  (0.1ms) BEGIN
2378
+ ----------------------------------------------------------------------------------------------------
2379
+ PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0001_anonymous
2380
+ ----------------------------------------------------------------------------------------------------
2381
+  (0.0ms) SAVEPOINT active_record_1
2382
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2383
+  (0.0ms) SAVEPOINT active_record_1
2481
2384
   (0.1ms) SAVEPOINT active_record_2
2482
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2385
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
2386
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
2387
+ 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 1 [["confirmation_token", "a5d1bbec7cfa880c76e0a10bd22e6932f01267d8f24de56969cadbfbbd37e0a0"]]
2388
+ SQL (0.1ms) 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-01-08 13:25:02.137556"], ["updated_at", "2016-01-08 13:25:02.137556"], ["confirmation_token", "bxTaBJWaKxPMthFdt_LN"], ["confirmation_sent_at", "2016-01-08 13:25:02.138246"]]
2483
2389
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
2484
2390
 
2485
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
2391
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
2486
2392
 
2487
- Sent mail to joe-22@example.com (3.1ms)
2488
- Date: Sun, 08 Nov 2015 15:09:08 +0000
2393
+ Sent mail to joe-17@example.com (3.0ms)
2394
+ Date: Fri, 08 Jan 2016 13:25:02 +0000
2489
2395
  From: pushtype@example.com
2490
2396
  Reply-To: pushtype@example.com
2491
- To: joe-22@example.com
2492
- Message-ID: <563f659413b13_2b1b3fde29063be05783@Aarons-iMac.local.mail>
2397
+ To: joe-17@example.com
2398
+ Message-ID: <568fb8ae293a9_19013ff9b8c63be8803c5@Aarons-iMac.local.mail>
2493
2399
  Subject: [PushType] Confirm your account
2494
2400
  Mime-Version: 1.0
2495
2401
  Content-Type: multipart/alternative;
2496
- boundary="--==_mimepart_563f6594135a5_2b1b3fde29063be057790";
2402
+ boundary="--==_mimepart_568fb8ae28e69_19013ff9b8c63be8802b2";
2497
2403
  charset=UTF-8
2498
2404
  Content-Transfer-Encoding: 7bit
2499
2405
 
2500
2406
 
2501
- ----==_mimepart_563f6594135a5_2b1b3fde29063be057790
2407
+ ----==_mimepart_568fb8ae28e69_19013ff9b8c63be8802b2
2502
2408
  Content-Type: text/plain;
2503
2409
  charset=UTF-8
2504
2410
  Content-Transfer-Encoding: 7bit
@@ -2513,10 +2419,10 @@ created for you.
2513
2419
  To get started, confirm your account and set your own password by
2514
2420
  clicking the link below:
2515
2421
 
2516
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=mC1cxqUC1pzsUpu4nAku )
2422
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=bxTaBJWaKxPMthFdt_LN )
2517
2423
 
2518
2424
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2519
- ----==_mimepart_563f6594135a5_2b1b3fde29063be057790
2425
+ ----==_mimepart_568fb8ae28e69_19013ff9b8c63be8802b2
2520
2426
  Content-Type: text/html;
2521
2427
  charset=UTF-8
2522
2428
  Content-Transfer-Encoding: 7bit
@@ -2562,7 +2468,7 @@ body {
2562
2468
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2563
2469
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2564
2470
  <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">
2565
- <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/push_type/confirmation?confirmation_token=mC1cxqUC1pzsUpu4nAku" 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>
2471
+ <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/push_type/confirmation?confirmation_token=bxTaBJWaKxPMthFdt_LN" 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>
2566
2472
  </td>
2567
2473
  </tr>
2568
2474
  </table>
@@ -2607,52 +2513,146 @@ body {
2607
2513
  </body>
2608
2514
  </html>
2609
2515
 
2610
- ----==_mimepart_563f6594135a5_2b1b3fde29063be057790--
2516
+ ----==_mimepart_568fb8ae28e69_19013ff9b8c63be8802b2--
2611
2517
 
2612
- Redirected to /push_type/users
2613
- Completed 302 Found in 36ms (ActiveRecord: 0.4ms)
2518
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2519
+ Processing by PushType::ConfirmationsController#show as HTML
2520
+ Parameters: {"confirmation_token"=>"bxTaBJWaKxPMthFdt_LN"}
2521
+ 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 1 [["confirmation_token", "bxTaBJWaKxPMthFdt_LN"]]
2522
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms)
2523
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.7ms)
2524
+ Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.1ms)
2525
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2526
+  (0.1ms) ROLLBACK
2527
+  (0.1ms) BEGIN
2528
+ -----------------------------------------------------------------------------------
2529
+ PushType::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
2530
+ -----------------------------------------------------------------------------------
2531
+  (0.1ms) SAVEPOINT active_record_1
2532
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2533
+  (0.1ms) SAVEPOINT active_record_1
2534
+  (0.1ms) SAVEPOINT active_record_2
2535
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
2536
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
2537
+ SQL (0.3ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-18@example.com"], ["confirmation_sent_at", "2016-01-08 13:25:02.182239"], ["confirmed_at", "2016-01-08 13:25:02.182358"], ["confirmation_token", "Generated account"], ["created_at", "2016-01-08 13:25:02.185373"], ["updated_at", "2016-01-08 13:25:02.185373"]]
2538
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2539
+ Processing by PushType::ProfilesController#update as HTML
2540
+ Parameters: {"user"=>{"name"=>"Test user ABC"}}
2541
+ 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 1 [["id", "176230ea-79af-45fd-ad26-54ab237af267"]]
2542
+  (0.1ms) SAVEPOINT active_record_2
2543
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-18@example.com' AND "push_type_users"."id" != '176230ea-79af-45fd-ad26-54ab237af267') LIMIT 1
2544
+ 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-01-08 13:25:02.191858"], ["id", "176230ea-79af-45fd-ad26-54ab237af267"]]
2545
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2546
+ Redirected to http://test.host/push_type/profile/edit
2547
+ Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
2548
+ PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "176230ea-79af-45fd-ad26-54ab237af267"]]
2614
2549
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2615
2550
   (0.1ms) ROLLBACK
2616
2551
   (0.1ms) BEGIN
2617
- --------------------------------------------------------------------------------------
2618
- PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
2619
- --------------------------------------------------------------------------------------
2552
+ -----------------------------------------------------------------------------------
2553
+ PushType::ProfilesControllerTest::PUT #update::with valid user: test_0002_anonymous
2554
+ -----------------------------------------------------------------------------------
2555
+  (0.1ms) SAVEPOINT active_record_1
2556
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2557
+  (0.1ms) SAVEPOINT active_record_1
2558
+  (0.1ms) SAVEPOINT active_record_2
2559
+ PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
2560
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
2561
+ SQL (0.3ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-19@example.com"], ["confirmation_sent_at", "2016-01-08 13:25:02.198757"], ["confirmed_at", "2016-01-08 13:25:02.198865"], ["confirmation_token", "Generated account"], ["created_at", "2016-01-08 13:25:02.202370"], ["updated_at", "2016-01-08 13:25:02.202370"]]
2562
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2563
+ Processing by PushType::ProfilesController#update as HTML
2564
+ Parameters: {"user"=>{"name"=>"Test user ABC"}}
2565
+ 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 1 [["id", "944aac32-1339-451e-bccf-31ce24230e61"]]
2566
+  (0.2ms) SAVEPOINT active_record_2
2567
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-19@example.com' AND "push_type_users"."id" != '944aac32-1339-451e-bccf-31ce24230e61') LIMIT 1
2568
+ 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-01-08 13:25:02.207830"], ["id", "944aac32-1339-451e-bccf-31ce24230e61"]]
2569
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2570
+ Redirected to http://test.host/push_type/profile/edit
2571
+ Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
2572
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2573
+  (0.1ms) ROLLBACK
2574
+  (0.1ms) BEGIN
2575
+ -----------------------------------------------------------------------------------
2576
+ PushType::ProfilesControllerTest::PUT #update::with valid user: test_0003_anonymous
2577
+ -----------------------------------------------------------------------------------
2578
+  (0.1ms) SAVEPOINT active_record_1
2579
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2620
2580
   (0.1ms) SAVEPOINT active_record_1
2581
+  (0.1ms) SAVEPOINT active_record_2
2582
+ PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
2583
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
2584
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-20@example.com"], ["confirmation_sent_at", "2016-01-08 13:25:02.211698"], ["confirmed_at", "2016-01-08 13:25:02.211768"], ["confirmation_token", "Generated account"], ["created_at", "2016-01-08 13:25:02.214696"], ["updated_at", "2016-01-08 13:25:02.214696"]]
2585
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2586
+ Processing by PushType::ProfilesController#update as HTML
2587
+ Parameters: {"user"=>{"name"=>"Test user ABC"}}
2588
+ 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 1 [["id", "cfa779b0-1dea-4fd4-8d39-47589bcaa87d"]]
2589
+  (0.1ms) SAVEPOINT active_record_2
2590
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-20@example.com' AND "push_type_users"."id" != 'cfa779b0-1dea-4fd4-8d39-47589bcaa87d') LIMIT 1
2591
+ 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-01-08 13:25:02.220674"], ["id", "cfa779b0-1dea-4fd4-8d39-47589bcaa87d"]]
2592
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2593
+ Redirected to http://test.host/push_type/profile/edit
2594
+ Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
2595
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2596
+  (0.1ms) ROLLBACK
2597
+  (0.0ms) BEGIN
2598
+ ---------------------------------------------------------------------------
2599
+ PushType::AuthenticatableTest::database_athenticatable: test_0001_anonymous
2600
+ ---------------------------------------------------------------------------
2601
+  (0.0ms) SAVEPOINT active_record_1
2621
2602
   (0.0ms) RELEASE SAVEPOINT active_record_1
2622
2603
   (0.0ms) SAVEPOINT active_record_1
2623
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2624
-  (0.0ms) ROLLBACK
2604
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2605
+  (0.1ms) ROLLBACK
2625
2606
   (0.1ms) BEGIN
2626
- ------------------------------------------------------------------------------------------------------
2627
- PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
2628
- ------------------------------------------------------------------------------------------------------
2629
-  (0.1ms) SAVEPOINT active_record_1
2607
+ ---------------------------------------------------------------------------
2608
+ PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
2609
+ ---------------------------------------------------------------------------
2610
+  (0.0ms) SAVEPOINT active_record_1
2630
2611
   (0.0ms) RELEASE SAVEPOINT active_record_1
2631
2612
   (0.0ms) SAVEPOINT active_record_1
2632
- Processing by PushType::ConfirmationsController#show as HTML
2633
- Parameters: {"confirmation_token"=>"invalid"}
2634
- 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 1 [["confirmation_token", "invalid"]]
2635
- 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 1 [["confirmation_token", "invalid"]]
2636
- 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 1 [["confirmation_token", "ec1f005c64ac87922cbe92a38f29fbf8b1cb8c5cc5d4b8f13b834e4dbaa5d526"]]
2637
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
2638
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (2.8ms)
2639
- Completed 200 OK in 23ms (Views: 18.6ms | ActiveRecord: 0.3ms)
2613
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2614
+  (0.1ms) ROLLBACK
2615
+  (0.0ms) BEGIN
2616
+ -------------------------------------------------------------------------------------
2617
+ PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0001_anonymous
2618
+ -------------------------------------------------------------------------------------
2619
+  (0.0ms) SAVEPOINT active_record_1
2620
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2621
+  (0.0ms) SAVEPOINT active_record_1
2622
+  (0.1ms) SAVEPOINT active_record_2
2623
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
2624
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
2625
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-21@example.com"], ["confirmation_sent_at", "2016-01-08 13:25:02.227431"], ["confirmed_at", "2016-01-08 13:25:02.227529"], ["confirmation_token", "Generated account"], ["created_at", "2016-01-08 13:25:02.229430"], ["updated_at", "2016-01-08 13:25:02.229430"]]
2626
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2627
+ Processing by PushType::ProfilesController#update as HTML
2628
+ Parameters: {"user"=>{"name"=>""}}
2629
+ 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 1 [["id", "a9168e2a-789d-4bd9-ade8-5c067c9c2537"]]
2630
+  (0.1ms) SAVEPOINT active_record_2
2631
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-21@example.com' AND "push_type_users"."id" != 'a9168e2a-789d-4bd9-ade8-5c067c9c2537') LIMIT 1
2632
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
2633
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (2.0ms)
2634
+ Completed 200 OK in 11ms (Views: 7.1ms | ActiveRecord: 0.5ms)
2640
2635
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2641
2636
   (0.1ms) ROLLBACK
2642
2637
   (0.1ms) BEGIN
2643
- ------------------------------------------------------------------------------------------------------
2644
- PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0002_anonymous
2645
- ------------------------------------------------------------------------------------------------------
2646
-  (0.0ms) SAVEPOINT active_record_1
2638
+ -------------------------------------------------------------------------------------
2639
+ PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0002_anonymous
2640
+ -------------------------------------------------------------------------------------
2641
+  (0.1ms) SAVEPOINT active_record_1
2647
2642
   (0.0ms) RELEASE SAVEPOINT active_record_1
2648
2643
   (0.0ms) SAVEPOINT active_record_1
2649
- Processing by PushType::ConfirmationsController#show as HTML
2650
- Parameters: {"confirmation_token"=>"invalid"}
2651
- 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 1 [["confirmation_token", "invalid"]]
2652
- 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 1 [["confirmation_token", "invalid"]]
2653
- 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 1 [["confirmation_token", "ec1f005c64ac87922cbe92a38f29fbf8b1cb8c5cc5d4b8f13b834e4dbaa5d526"]]
2654
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
2655
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.2ms)
2656
- Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.3ms)
2644
+  (0.1ms) SAVEPOINT active_record_2
2645
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
2646
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
2647
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-22@example.com"], ["confirmation_sent_at", "2016-01-08 13:25:02.244510"], ["confirmed_at", "2016-01-08 13:25:02.244573"], ["confirmation_token", "Generated account"], ["created_at", "2016-01-08 13:25:02.246317"], ["updated_at", "2016-01-08 13:25:02.246317"]]
2648
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2649
+ Processing by PushType::ProfilesController#update as HTML
2650
+ Parameters: {"user"=>{"name"=>""}}
2651
+ 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 1 [["id", "660cdc52-e0e3-4fea-ab2c-13896516bec8"]]
2652
+  (0.1ms) SAVEPOINT active_record_2
2653
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-22@example.com' AND "push_type_users"."id" != '660cdc52-e0e3-4fea-ab2c-13896516bec8') LIMIT 1
2654
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
2655
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (2.0ms)
2656
+ Completed 200 OK in 10ms (Views: 7.0ms | ActiveRecord: 0.5ms)
2657
2657
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2658
2658
   (0.1ms) ROLLBACK