push_type_auth 0.5.2 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/test/dummy/config/initializers/push_type.rb +1 -1
- data/test/dummy/config/secrets.yml +2 -2
- data/test/dummy/db/migrate/{20150824095231_create_push_type_users.push_type.rb → 20150928114749_create_push_type_users.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150824095232_create_push_type_nodes.push_type.rb → 20150928114750_create_push_type_nodes.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150824095233_create_push_type_node_hierarchies.push_type.rb → 20150928114751_create_push_type_node_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150824095234_create_push_type_assets.push_type.rb → 20150928114752_create_push_type_assets.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150824095235_create_push_type_taxonomies.push_type.rb → 20150928114753_create_push_type_taxonomies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150824095236_create_push_type_taxonomy_hierarchies.push_type.rb → 20150928114754_create_push_type_taxonomy_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150824095237_add_field_store_default_values.push_type.rb → 20150928114755_add_field_store_default_values.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150824095238_devise_extend_push_type_users.push_type_auth.rb → 20150928114756_devise_extend_push_type_users.push_type_auth.rb} +0 -0
- data/test/dummy/db/schema.rb +1 -1
- data/test/dummy/log/test.log +687 -687
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1IwXnDjpUoS0eTU6wSMi8CLvUNNUHfvoazkg8P0raCE.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{BIcAxHnFRztqOqFfeOZDc90vPc1vEp6Nx2EOZ4hUVgQ.cache → AFosvpRRM0x48rPHPouVE6eBrYZY6rcsRuUatpTfJzY.cache} +3 -4
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{roQZdID5OVEkBhvSpwJF90XjEEUSZNBuxJgoKcoogY8.cache → Dvlpvnnl3KR7OqDq0IHS3rUmMy-l8sddi3lLIhAyy64.cache} +1 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{sZDtGgBFawVRCrD-3UBlByrKSiU4igGf6JiyooAH93s.cache → GBLMJtzXdgs1d5Wj6YdrLfLmLSe1l8rc3w1tfXcxh_c.cache} +1 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{lWIjMusRlLK-G8RwtbFoarhLAiuYVebf0dSMdA6e0pw.cache → RiwrNKijZxRPJcvdNrzjs101s-eH3xlZkaSopyJJX6I.cache} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{WJtU2FdGu_S_02ZXzsYbR_X545PAX8GQSFGBXau2_Mo.cache → abzucxF2C9WqVEZYDzOGkrgmpo4ryCL2-Smf9tzxx4E.cache} +1 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{r5aclzIdW9wv43vpG7BQudXY1U1-jBp108JCJJF3Jek.cache → d8gmeAr1RVRe468D7_pN7gei0bv0zTKlHOBVSqXFumA.cache} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hqsXgQKrjrCyBteINTGVVCWP_zSt7zsHA0wpjPl0TUI.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/nyCi63wSIzhvneYoT4G5SKAFrlKAJuY9BNH6pj5J45U.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{eX4AVif45PgHpC1DxSJYbS3YTQDSVu3a0bMDAsTGZh8.cache → pR1mjNIiV0z8PLCDzUMA7pobawnxCzi4o7rs18AcYds.cache} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{YyRPsQnEhI8vJCWvDi2VvCZPjIovsxRD0z472Y7nL58.cache → tqeTTBSirByDryp3mzWTJzg5eYt1h8Q2NpdCAtIybu0.cache} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/u_eoxO07vke2i3ZH4Ln21zbYPLZKZEdrCUb_cnM3V2k.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/zikP2qnEFr_45mNBsFma_RuuQ4YSZFcYUhz5Pze3QIs.cache +0 -0
- metadata +44 -44
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/OqfIbaXj5ucEMam2I6PPD3viDT6CYr4Dt0ccS9_h9ZM.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/svn8H0sQujVcitS-TzKmNYL4qY3QX3SlwGqsdtWUNnI.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/wyaHOEzsJy4qL6ifXOIR7S7_Ae94c0XajePrU3S7vsQ.cache +0 -0
data/test/dummy/log/test.log
CHANGED
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
[1m[36m (
|
|
2
|
-
[1m[35m (
|
|
3
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.
|
|
4
|
-
Migrating to CreatePushTypeUsers (
|
|
1
|
+
[1m[36m (7.5ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
|
2
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
3
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
4
|
+
Migrating to CreatePushTypeUsers (20150928114749)
|
|
5
5
|
[1m[35m (0.1ms)[0m BEGIN
|
|
6
|
-
[1m[36mSQL (1.
|
|
7
|
-
[1m[35m (2.
|
|
8
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
|
6
|
+
[1m[36mSQL (1.7ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
|
7
|
+
[1m[35m (2.1ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150928114749"]]
|
|
9
9
|
[1m[35m (0.6ms)[0m COMMIT
|
|
10
|
-
Migrating to CreatePushTypeNodes (
|
|
10
|
+
Migrating to CreatePushTypeNodes (20150928114750)
|
|
11
11
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
12
|
-
[1m[35m (1.
|
|
13
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
|
12
|
+
[1m[35m (1.7ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150928114750"]]
|
|
14
14
|
[1m[35m (0.4ms)[0m COMMIT
|
|
15
|
-
Migrating to CreatePushTypeNodeHierarchies (
|
|
15
|
+
Migrating to CreatePushTypeNodeHierarchies (20150928114751)
|
|
16
16
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
17
|
-
[1m[35m (0.
|
|
18
|
-
[1m[36m (0.
|
|
19
|
-
[1m[35m (0.
|
|
20
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
|
17
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)
|
|
18
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")[0m
|
|
19
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "node_desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
|
|
20
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150928114751"]]
|
|
21
21
|
[1m[35m (0.4ms)[0m COMMIT
|
|
22
|
-
Migrating to CreatePushTypeAssets (
|
|
22
|
+
Migrating to CreatePushTypeAssets (20150928114752)
|
|
23
23
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
24
|
-
[1m[35m (1.
|
|
25
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
|
24
|
+
[1m[35m (1.7ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150928114752"]]
|
|
26
26
|
[1m[35m (0.5ms)[0m COMMIT
|
|
27
|
-
Migrating to CreatePushTypeTaxonomies (
|
|
27
|
+
Migrating to CreatePushTypeTaxonomies (20150928114753)
|
|
28
28
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
29
|
-
[1m[35m (1.
|
|
30
|
-
[1m[36m (0.
|
|
31
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "
|
|
32
|
-
[1m[36m (0.
|
|
33
|
-
Migrating to CreatePushTypeTaxonomyHierarchies (
|
|
29
|
+
[1m[35m (1.5ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "push_type_assets" ADD "tags" character varying[][0m
|
|
31
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150928114753"]]
|
|
32
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
|
33
|
+
Migrating to CreatePushTypeTaxonomyHierarchies (20150928114754)
|
|
34
34
|
[1m[35m (0.1ms)[0m BEGIN
|
|
35
35
|
[1m[36m (0.4ms)[0m [1mCREATE TABLE "push_type_taxonomy_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL) [0m
|
|
36
|
-
[1m[35m (0.
|
|
36
|
+
[1m[35m (0.6ms)[0m CREATE UNIQUE INDEX "taxonomy_anc_desc_idx" ON "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations")
|
|
37
37
|
[1m[36m (0.5ms)[0m [1mCREATE INDEX "taxonomy_desc_idx" ON "push_type_taxonomy_hierarchies" ("descendant_id")[0m
|
|
38
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "
|
|
39
|
-
[1m[36m (0.
|
|
40
|
-
Migrating to AddFieldStoreDefaultValues (
|
|
38
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150928114754"]]
|
|
39
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
|
40
|
+
Migrating to AddFieldStoreDefaultValues (20150928114755)
|
|
41
41
|
[1m[35m (0.1ms)[0m BEGIN
|
|
42
|
-
[1m[36m (0.
|
|
42
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" TYPE jsonb[0m
|
|
43
43
|
[1m[35m (0.2ms)[0m ALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" SET DEFAULT '{}'
|
|
44
44
|
[1m[36m (0.2ms)[0m [1mUPDATE "push_type_nodes" SET "field_store"='{}' WHERE "field_store" IS NULL[0m
|
|
45
45
|
[1m[35m (0.1ms)[0m ALTER TABLE "push_type_nodes" ALTER "field_store" SET NOT NULL
|
|
46
46
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "push_type_users" ALTER COLUMN "field_store" TYPE jsonb[0m
|
|
47
|
-
[1m[35m (0.
|
|
47
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "push_type_users" ALTER COLUMN "field_store" SET DEFAULT '{}'
|
|
48
48
|
[1m[36m (0.2ms)[0m [1mUPDATE "push_type_users" SET "field_store"='{}' WHERE "field_store" IS NULL[0m
|
|
49
49
|
[1m[35m (0.1ms)[0m ALTER TABLE "push_type_users" ALTER "field_store" SET NOT NULL
|
|
50
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
|
51
|
-
[1m[35m (0.
|
|
52
|
-
Migrating to DeviseExtendPushTypeUsers (
|
|
50
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150928114755"]]
|
|
51
|
+
[1m[35m (0.5ms)[0m COMMIT
|
|
52
|
+
Migrating to DeviseExtendPushTypeUsers (20150928114756)
|
|
53
53
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
54
|
-
[1m[35m (
|
|
55
|
-
[1m[36m (0.
|
|
54
|
+
[1m[35m (2.5ms)[0m ALTER TABLE "push_type_users" ADD "encrypted_password" character varying DEFAULT '' NOT NULL
|
|
55
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "push_type_users" ADD "reset_password_token" character varying[0m
|
|
56
56
|
[1m[35m (0.1ms)[0m ALTER TABLE "push_type_users" ADD "reset_password_sent_at" timestamp
|
|
57
57
|
[1m[36m (0.1ms)[0m [1mALTER TABLE "push_type_users" ADD "remember_created_at" timestamp[0m
|
|
58
|
-
[1m[35m (
|
|
58
|
+
[1m[35m (2.1ms)[0m ALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
|
|
59
59
|
[1m[36m (0.1ms)[0m [1mALTER TABLE "push_type_users" ADD "current_sign_in_at" timestamp[0m
|
|
60
60
|
[1m[35m (0.1ms)[0m ALTER TABLE "push_type_users" ADD "last_sign_in_at" timestamp
|
|
61
61
|
[1m[36m (0.1ms)[0m [1mALTER TABLE "push_type_users" ADD "current_sign_in_ip" character varying[0m
|
|
@@ -63,10 +63,10 @@ Migrating to DeviseExtendPushTypeUsers (20150824095238)
|
|
|
63
63
|
[1m[36m (0.1ms)[0m [1mALTER TABLE "push_type_users" ADD "confirmation_token" character varying[0m
|
|
64
64
|
[1m[35m (0.1ms)[0m ALTER TABLE "push_type_users" ADD "confirmed_at" timestamp
|
|
65
65
|
[1m[36m (0.1ms)[0m [1mALTER TABLE "push_type_users" ADD "confirmation_sent_at" timestamp[0m
|
|
66
|
-
[1m[35m (0.
|
|
67
|
-
[1m[36m (0.
|
|
68
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "
|
|
69
|
-
[1m[36m (1.
|
|
66
|
+
[1m[35m (0.6ms)[0m CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")
|
|
67
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "index_push_type_users_on_reset_password_token" ON "push_type_users" ("reset_password_token")[0m
|
|
68
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150928114756"]]
|
|
69
|
+
[1m[36m (1.1ms)[0m [1mCOMMIT[0m
|
|
70
70
|
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
71
71
|
[1m[36m (1.6ms)[0m [1mSELECT 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
|
|
@@ -92,7 +92,7 @@ WHERE c.contype = 'f'
|
|
|
92
92
|
AND t3.nspname = ANY (current_schemas(false))
|
|
93
93
|
ORDER BY c.conname
|
|
94
94
|
|
|
95
|
-
[1m[36m (1.
|
|
95
|
+
[1m[36m (1.3ms)[0m [1mSELECT 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
|
|
96
96
|
FROM pg_constraint c
|
|
97
97
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
|
98
98
|
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
|
[0m
|
|
107
|
-
[1m[35m (1.
|
|
107
|
+
[1m[35m (1.3ms)[0m 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
|
|
@@ -140,90 +140,101 @@ WHERE c.contype = 'f'
|
|
|
140
140
|
AND t3.nspname = ANY (current_schemas(false))
|
|
141
141
|
ORDER BY c.conname
|
|
142
142
|
|
|
143
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.
|
|
144
|
-
[1m[35m (
|
|
145
|
-
[1m[36m (
|
|
143
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
144
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.9ms)[0m [1m 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
|
[0m
|
|
152
|
-
[1m[35m (1.
|
|
153
|
-
[1m[36m (
|
|
154
|
-
[1m[35m (0.
|
|
152
|
+
[1m[35m (1.0ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
|
153
|
+
[1m[36m (10.0ms)[0m [1mTRUNCATE 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;[0m
|
|
154
|
+
[1m[35m (0.3ms)[0m 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
155
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
156
|
-
|
|
157
|
-
PushType::
|
|
158
|
-
|
|
156
|
+
------------------------------------------------------------------------------------------------------
|
|
157
|
+
PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
|
|
158
|
+
------------------------------------------------------------------------------------------------------
|
|
159
159
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
160
160
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
161
161
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
[1m[36mPushType::User
|
|
165
|
-
[1m[
|
|
166
|
-
[1m[
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
162
|
+
Processing by PushType::ConfirmationsController#show as HTML
|
|
163
|
+
Parameters: {"confirmation_token"=>"invalid"}
|
|
164
|
+
[1m[36mPushType::User Load (0.4ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "invalid"]]
|
|
165
|
+
[1m[35mPushType::User Load (0.2ms)[0m 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"]]
|
|
166
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "5c793a37d5070450b5a9371ce7dc3494302fde0b6d668820c0ea8f4335585cff"]]
|
|
167
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.3ms)
|
|
168
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (23.7ms)
|
|
169
|
+
Completed 200 OK in 10411ms (Views: 10218.3ms | ActiveRecord: 2.0ms)
|
|
170
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
171
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
|
172
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
173
|
+
------------------------------------------------------------------------------------------------------
|
|
174
|
+
PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0002_anonymous
|
|
175
|
+
------------------------------------------------------------------------------------------------------
|
|
176
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
177
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
178
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
179
|
+
Processing by PushType::ConfirmationsController#show as HTML
|
|
180
|
+
Parameters: {"confirmation_token"=>"invalid"}
|
|
181
|
+
[1m[35mPushType::User Load (0.3ms)[0m 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"]]
|
|
182
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "invalid"]]
|
|
183
|
+
[1m[35mPushType::User Load (0.2ms)[0m 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", "5c793a37d5070450b5a9371ce7dc3494302fde0b6d668820c0ea8f4335585cff"]]
|
|
184
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
|
185
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.4ms)
|
|
186
|
+
Completed 200 OK in 8ms (Views: 4.9ms | ActiveRecord: 0.6ms)
|
|
171
187
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
172
|
-
[1m[35m (0.
|
|
173
|
-
[1m[36m (0.
|
|
174
|
-
|
|
175
|
-
PushType::
|
|
176
|
-
|
|
188
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
189
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
|
190
|
+
---------------------------------------------------------------
|
|
191
|
+
PushType::AuthenticatableTest::validatable: test_0001_anonymous
|
|
192
|
+
---------------------------------------------------------------
|
|
177
193
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
178
194
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
179
195
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
180
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
181
|
-
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
|
|
182
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1[0m
|
|
183
|
-
[1m[35mSQL (0.1ms)[0m 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-08-24 09:52:48.111367"], ["confirmed_at", "2015-08-24 09:52:48.111449"], ["confirmation_token", "Generated account"], ["created_at", "2015-08-24 09:52:48.113131"], ["updated_at", "2015-08-24 09:52:48.113131"]]
|
|
184
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
185
|
-
Processing by PushType::ProfilesController#edit as HTML
|
|
186
|
-
[1m[35mPushType::User Load (0.2ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "33ae4871-5da3-4020-86d6-af9b7227dd60"]]
|
|
187
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (2.2ms)
|
|
188
|
-
Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.2ms)
|
|
189
196
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
190
197
|
[1m[35m (0.1ms)[0m ROLLBACK
|
|
191
198
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
192
199
|
---------------------------------------------------------------
|
|
193
|
-
PushType::
|
|
200
|
+
PushType::AuthenticatableTest::validatable: test_0002_anonymous
|
|
194
201
|
---------------------------------------------------------------
|
|
195
202
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
196
|
-
[1m[36m (0.
|
|
203
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
204
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
205
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
206
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
|
207
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
|
208
|
+
--------------------------------------------------------------------------------------------------------------
|
|
209
|
+
PushType::AuthenticatableTest::#password_required?::with existing user and dirty password: test_0001_anonymous
|
|
210
|
+
--------------------------------------------------------------------------------------------------------------
|
|
211
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
212
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
197
213
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
198
214
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
199
|
-
[1m[35mPushType::User Exists (0.
|
|
200
|
-
[1m[36mPushType::User Exists (0.
|
|
201
|
-
[1m[
|
|
202
|
-
[1m[
|
|
203
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
204
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1[0m
|
|
205
|
-
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
|
|
206
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "6f9a17fe77f04aa591db348daeb63b14c8e0266d34820826192606e276592125"]]
|
|
207
|
-
[1m[35mSQL (0.2ms)[0m 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-08-24 09:52:48.132657"], ["updated_at", "2015-08-24 09:52:48.132657"], ["confirmation_token", "Yvsp8xdQYazb63Ampjg2"], ["confirmation_sent_at", "2015-08-24 09:52:48.304089"]]
|
|
215
|
+
[1m[35mPushType::User Exists (0.3ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
|
|
216
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1[0m
|
|
217
|
+
[1m[35mPushType::User Load (0.1ms)[0m 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", "0f2261de7e1260ba81a341d40aae842812b1ea3b216af22aad4158ba64a42fe4"]]
|
|
218
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-1@example.com"], ["created_at", "2015-09-28 11:48:05.569811"], ["updated_at", "2015-09-28 11:48:05.569811"], ["confirmation_token", "zZfQUA5sfFnPq48Pyr28"], ["confirmation_sent_at", "2015-09-28 11:48:05.570627"]]
|
|
208
219
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.7ms)
|
|
209
220
|
|
|
210
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
221
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 162.0ms
|
|
211
222
|
|
|
212
|
-
Sent mail to joe-
|
|
213
|
-
Date: Mon,
|
|
223
|
+
Sent mail to joe-1@example.com (39.0ms)
|
|
224
|
+
Date: Mon, 28 Sep 2015 12:48:05 +0100
|
|
214
225
|
From: pushtype@example.com
|
|
215
226
|
Reply-To: pushtype@example.com
|
|
216
|
-
To: joe-
|
|
217
|
-
Message-ID: <
|
|
227
|
+
To: joe-1@example.com
|
|
228
|
+
Message-ID: <560928f5cccf9_1c123feeca065bf021781@Aarons-iMac.local.mail>
|
|
218
229
|
Subject: [PushType] Confirm your account
|
|
219
230
|
Mime-Version: 1.0
|
|
220
231
|
Content-Type: multipart/alternative;
|
|
221
|
-
boundary="--==
|
|
232
|
+
boundary="--==_mimepart_560928f5c4202_1c123feeca065bf02167d";
|
|
222
233
|
charset=UTF-8
|
|
223
234
|
Content-Transfer-Encoding: 7bit
|
|
224
235
|
|
|
225
236
|
|
|
226
|
-
----==
|
|
237
|
+
----==_mimepart_560928f5c4202_1c123feeca065bf02167d
|
|
227
238
|
Content-Type: text/plain;
|
|
228
239
|
charset=UTF-8
|
|
229
240
|
Content-Transfer-Encoding: 7bit
|
|
@@ -238,10 +249,10 @@ created for you.
|
|
|
238
249
|
To get started, confirm your account and set your own password by
|
|
239
250
|
clicking the link below:
|
|
240
251
|
|
|
241
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
|
252
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=zZfQUA5sfFnPq48Pyr28 )
|
|
242
253
|
|
|
243
254
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
244
|
-
----==
|
|
255
|
+
----==_mimepart_560928f5c4202_1c123feeca065bf02167d
|
|
245
256
|
Content-Type: text/html;
|
|
246
257
|
charset=UTF-8
|
|
247
258
|
Content-Transfer-Encoding: 7bit
|
|
@@ -287,7 +298,7 @@ body {
|
|
|
287
298
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
|
288
299
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
|
289
300
|
<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">
|
|
290
|
-
<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=
|
|
301
|
+
<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=zZfQUA5sfFnPq48Pyr28" 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>
|
|
291
302
|
</td>
|
|
292
303
|
</tr>
|
|
293
304
|
</table>
|
|
@@ -332,34 +343,170 @@ body {
|
|
|
332
343
|
</body>
|
|
333
344
|
</html>
|
|
334
345
|
|
|
335
|
-
----==
|
|
346
|
+
----==_mimepart_560928f5c4202_1c123feeca065bf02167d--
|
|
336
347
|
|
|
337
|
-
[1m[
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
[1m[
|
|
341
|
-
|
|
348
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
349
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
350
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
351
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
|
352
|
+
-----------------------------------------------------------------------------------
|
|
353
|
+
PushType::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
|
|
354
|
+
-----------------------------------------------------------------------------------
|
|
355
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
356
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
357
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
358
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
359
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
|
|
360
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1[0m
|
|
361
|
+
[1m[35mSQL (0.2ms)[0m 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-09-28 11:48:05.872867"], ["confirmed_at", "2015-09-28 11:48:05.872953"], ["confirmation_token", "Generated account"], ["created_at", "2015-09-28 11:48:05.874848"], ["updated_at", "2015-09-28 11:48:05.874848"]]
|
|
362
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
363
|
+
Processing by PushType::ProfilesController#update as HTML
|
|
364
|
+
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
|
365
|
+
[1m[35mPushType::User Load (0.2ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "7d8908e7-b623-4a69-becb-100c467769c1"]]
|
|
366
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
367
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-2@example.com' AND "push_type_users"."id" != '7d8908e7-b623-4a69-becb-100c467769c1') LIMIT 1
|
|
368
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3[0m [["name", "Test user ABC"], ["updated_at", "2015-09-28 11:48:05.880882"], ["id", "7d8908e7-b623-4a69-becb-100c467769c1"]]
|
|
369
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
370
|
+
Redirected to http://test.host/push_type/profile/edit
|
|
371
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
|
|
372
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1[0m [["id", "7d8908e7-b623-4a69-becb-100c467769c1"]]
|
|
373
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
374
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
375
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
376
|
+
-----------------------------------------------------------------------------------
|
|
377
|
+
PushType::ProfilesControllerTest::PUT #update::with valid user: test_0002_anonymous
|
|
378
|
+
-----------------------------------------------------------------------------------
|
|
379
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
380
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
381
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
382
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
383
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1[0m
|
|
384
|
+
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
|
|
385
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT 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"[0m [["name", "Joe Bloggs"], ["email", "joe-3@example.com"], ["confirmation_sent_at", "2015-09-28 11:48:05.885207"], ["confirmed_at", "2015-09-28 11:48:05.885253"], ["confirmation_token", "Generated account"], ["created_at", "2015-09-28 11:48:05.886524"], ["updated_at", "2015-09-28 11:48:05.886524"]]
|
|
386
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
387
|
+
Processing by PushType::ProfilesController#update as HTML
|
|
388
|
+
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
|
389
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["id", "305700e8-c2b1-4675-a877-b46fe572bd96"]]
|
|
342
390
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
391
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-3@example.com' AND "push_type_users"."id" != '305700e8-c2b1-4675-a877-b46fe572bd96') LIMIT 1[0m
|
|
392
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2015-09-28 11:48:05.890498"], ["id", "305700e8-c2b1-4675-a877-b46fe572bd96"]]
|
|
343
393
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
344
|
-
|
|
394
|
+
Redirected to http://test.host/push_type/profile/edit
|
|
395
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
|
|
396
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
397
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
398
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
399
|
+
-----------------------------------------------------------------------------------
|
|
400
|
+
PushType::ProfilesControllerTest::PUT #update::with valid user: test_0003_anonymous
|
|
401
|
+
-----------------------------------------------------------------------------------
|
|
402
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
403
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
404
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
405
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
406
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1[0m
|
|
407
|
+
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
|
|
408
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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"[0m [["name", "Joe Bloggs"], ["email", "joe-4@example.com"], ["confirmation_sent_at", "2015-09-28 11:48:05.893453"], ["confirmed_at", "2015-09-28 11:48:05.893499"], ["confirmation_token", "Generated account"], ["created_at", "2015-09-28 11:48:05.894752"], ["updated_at", "2015-09-28 11:48:05.894752"]]
|
|
409
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
410
|
+
Processing by PushType::ProfilesController#update as HTML
|
|
411
|
+
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
|
412
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["id", "de19e010-bb64-43f2-9270-86f14baaa654"]]
|
|
413
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
414
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-4@example.com' AND "push_type_users"."id" != 'de19e010-bb64-43f2-9270-86f14baaa654') LIMIT 1[0m
|
|
415
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2015-09-28 11:48:05.898761"], ["id", "de19e010-bb64-43f2-9270-86f14baaa654"]]
|
|
416
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
417
|
+
Redirected to http://test.host/push_type/profile/edit
|
|
418
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
|
419
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
420
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
421
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
422
|
+
---------------------------------------------------------------
|
|
423
|
+
PushType::AuthenticatableTest::recoverable: test_0001_anonymous
|
|
424
|
+
---------------------------------------------------------------
|
|
425
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
426
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
427
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
428
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
429
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
|
430
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
431
|
+
-------------------------------------------------------------------------------------
|
|
432
|
+
PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0001_anonymous
|
|
433
|
+
-------------------------------------------------------------------------------------
|
|
434
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
435
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
436
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
437
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
438
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1[0m
|
|
439
|
+
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
|
|
440
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT 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"[0m [["name", "Joe Bloggs"], ["email", "joe-5@example.com"], ["confirmation_sent_at", "2015-09-28 11:48:05.904547"], ["confirmed_at", "2015-09-28 11:48:05.904596"], ["confirmation_token", "Generated account"], ["created_at", "2015-09-28 11:48:05.906031"], ["updated_at", "2015-09-28 11:48:05.906031"]]
|
|
441
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
442
|
+
Processing by PushType::ProfilesController#update as HTML
|
|
443
|
+
Parameters: {"user"=>{"name"=>""}}
|
|
444
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["id", "d044616f-0959-4a18-b015-58c610ae8050"]]
|
|
445
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
446
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-5@example.com' AND "push_type_users"."id" != 'd044616f-0959-4a18-b015-58c610ae8050') LIMIT 1[0m
|
|
447
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
|
|
448
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (16.7ms)
|
|
449
|
+
Completed 200 OK in 34ms (Views: 31.3ms | ActiveRecord: 0.5ms)
|
|
450
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
451
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
452
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
453
|
+
-------------------------------------------------------------------------------------
|
|
454
|
+
PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0002_anonymous
|
|
455
|
+
-------------------------------------------------------------------------------------
|
|
456
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
457
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
458
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
459
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
460
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
|
|
461
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1[0m
|
|
462
|
+
[1m[35mSQL (0.1ms)[0m 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-6@example.com"], ["confirmation_sent_at", "2015-09-28 11:48:05.943946"], ["confirmed_at", "2015-09-28 11:48:05.944010"], ["confirmation_token", "Generated account"], ["created_at", "2015-09-28 11:48:05.945516"], ["updated_at", "2015-09-28 11:48:05.945516"]]
|
|
463
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
464
|
+
Processing by PushType::ProfilesController#update as HTML
|
|
465
|
+
Parameters: {"user"=>{"name"=>""}}
|
|
466
|
+
[1m[35mPushType::User Load (0.2ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "a799eecb-01ea-455f-aa5d-bf05b7a893ce"]]
|
|
467
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
468
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-6@example.com' AND "push_type_users"."id" != 'a799eecb-01ea-455f-aa5d-bf05b7a893ce') LIMIT 1
|
|
469
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
|
|
470
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.8ms)
|
|
471
|
+
Completed 200 OK in 10ms (Views: 6.8ms | ActiveRecord: 0.6ms)
|
|
472
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
473
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
474
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
475
|
+
---------------------------------------------------------------
|
|
476
|
+
PushType::UsersControllerTest::PUT #invite: test_0002_anonymous
|
|
477
|
+
---------------------------------------------------------------
|
|
478
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
479
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
480
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
481
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
482
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1[0m
|
|
483
|
+
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
|
|
484
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT 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"[0m [["name", "Joe Bloggs"], ["email", "joe-7@example.com"], ["confirmation_sent_at", "2015-09-28 11:48:05.959671"], ["confirmed_at", "2015-09-28 11:48:05.959731"], ["confirmation_token", "Generated account"], ["created_at", "2015-09-28 11:48:05.961223"], ["updated_at", "2015-09-28 11:48:05.961223"]]
|
|
485
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
486
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
487
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
|
|
488
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1[0m
|
|
489
|
+
[1m[35mPushType::User Load (0.1ms)[0m 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", "c88b2c0c932b8fb313ec8ce34893010059d7bfe3d78b38018deeea01804bf49e"]]
|
|
490
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-8@example.com"], ["created_at", "2015-09-28 11:48:05.963938"], ["updated_at", "2015-09-28 11:48:05.963938"], ["confirmation_token", "CZcyUDeTR7k36_qFJc-L"], ["confirmation_sent_at", "2015-09-28 11:48:05.964712"]]
|
|
491
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
345
492
|
|
|
346
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
|
493
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
|
|
347
494
|
|
|
348
|
-
Sent mail to joe-
|
|
349
|
-
Date: Mon,
|
|
495
|
+
Sent mail to joe-8@example.com (2.9ms)
|
|
496
|
+
Date: Mon, 28 Sep 2015 12:48:05 +0100
|
|
350
497
|
From: pushtype@example.com
|
|
351
498
|
Reply-To: pushtype@example.com
|
|
352
|
-
To: joe-
|
|
353
|
-
Message-ID: <
|
|
499
|
+
To: joe-8@example.com
|
|
500
|
+
Message-ID: <560928f5f2e07_1c123feeca065bf02203e@Aarons-iMac.local.mail>
|
|
354
501
|
Subject: [PushType] Confirm your account
|
|
355
502
|
Mime-Version: 1.0
|
|
356
503
|
Content-Type: multipart/alternative;
|
|
357
|
-
boundary="--==
|
|
504
|
+
boundary="--==_mimepart_560928f5f28d1_1c123feeca065bf02197";
|
|
358
505
|
charset=UTF-8
|
|
359
506
|
Content-Transfer-Encoding: 7bit
|
|
360
507
|
|
|
361
508
|
|
|
362
|
-
----==
|
|
509
|
+
----==_mimepart_560928f5f28d1_1c123feeca065bf02197
|
|
363
510
|
Content-Type: text/plain;
|
|
364
511
|
charset=UTF-8
|
|
365
512
|
Content-Transfer-Encoding: 7bit
|
|
@@ -374,10 +521,10 @@ created for you.
|
|
|
374
521
|
To get started, confirm your account and set your own password by
|
|
375
522
|
clicking the link below:
|
|
376
523
|
|
|
377
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
|
524
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=CZcyUDeTR7k36_qFJc-L )
|
|
378
525
|
|
|
379
526
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
380
|
-
----==
|
|
527
|
+
----==_mimepart_560928f5f28d1_1c123feeca065bf02197
|
|
381
528
|
Content-Type: text/html;
|
|
382
529
|
charset=UTF-8
|
|
383
530
|
Content-Transfer-Encoding: 7bit
|
|
@@ -423,7 +570,7 @@ body {
|
|
|
423
570
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
|
424
571
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
|
425
572
|
<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">
|
|
426
|
-
<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=
|
|
573
|
+
<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=CZcyUDeTR7k36_qFJc-L" 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>
|
|
427
574
|
</td>
|
|
428
575
|
</tr>
|
|
429
576
|
</table>
|
|
@@ -468,48 +615,34 @@ body {
|
|
|
468
615
|
</body>
|
|
469
616
|
</html>
|
|
470
617
|
|
|
471
|
-
----==
|
|
618
|
+
----==_mimepart_560928f5f28d1_1c123feeca065bf02197--
|
|
472
619
|
|
|
473
|
-
Redirected to /push_type/users
|
|
474
|
-
Completed 302 Found in 35ms (ActiveRecord: 0.5ms)
|
|
475
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
476
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
477
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
478
|
-
---------------------------------------------------------------
|
|
479
|
-
PushType::UsersControllerTest::PUT #invite: test_0001_anonymous
|
|
480
|
-
---------------------------------------------------------------
|
|
481
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
482
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
483
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
484
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
485
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1[0m
|
|
486
|
-
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
|
|
487
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT 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"[0m [["name", "Joe Bloggs"], ["email", "joe-5@example.com"], ["confirmation_sent_at", "2015-08-24 09:52:48.468073"], ["confirmed_at", "2015-08-24 09:52:48.468134"], ["confirmation_token", "Generated account"], ["created_at", "2015-08-24 09:52:48.469606"], ["updated_at", "2015-08-24 09:52:48.469606"]]
|
|
488
620
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
621
|
+
Processing by PushType::UsersController#invite as HTML
|
|
622
|
+
Parameters: {"id"=>"19ec4bb4-a2b3-4d5f-9c31-ea0020fc22fa"}
|
|
623
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["id", "ff33720c-b32f-4d69-9e55-f12850b6ccd9"]]
|
|
624
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "19ec4bb4-a2b3-4d5f-9c31-ea0020fc22fa"]]
|
|
489
625
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
490
|
-
[1m[
|
|
491
|
-
|
|
492
|
-
[1m[35mPushType::User Load (0.1ms)[0m 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", "e68addd69c62c6ad8243cf6cdb797a69605cbb2d1537d5c088f2c3edaf25abe8"]]
|
|
493
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-6@example.com"], ["created_at", "2015-08-24 09:52:48.472297"], ["updated_at", "2015-08-24 09:52:48.472297"], ["confirmation_token", "BpjFypmeUJboRJmx-QAR"], ["confirmation_sent_at", "2015-08-24 09:52:48.472998"]]
|
|
494
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
626
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
627
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
|
|
495
628
|
|
|
496
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
|
629
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.2ms
|
|
497
630
|
|
|
498
|
-
Sent mail to joe-
|
|
499
|
-
Date: Mon,
|
|
631
|
+
Sent mail to joe-8@example.com (2.9ms)
|
|
632
|
+
Date: Mon, 28 Sep 2015 12:48:06 +0100
|
|
500
633
|
From: pushtype@example.com
|
|
501
634
|
Reply-To: pushtype@example.com
|
|
502
|
-
To: joe-
|
|
503
|
-
Message-ID: <
|
|
635
|
+
To: joe-8@example.com
|
|
636
|
+
Message-ID: <560928f61c1d7_1c123feeca065bf0223cd@Aarons-iMac.local.mail>
|
|
504
637
|
Subject: [PushType] Confirm your account
|
|
505
638
|
Mime-Version: 1.0
|
|
506
639
|
Content-Type: multipart/alternative;
|
|
507
|
-
boundary="--==
|
|
640
|
+
boundary="--==_mimepart_560928f61bcad_1c123feeca065bf0222e4";
|
|
508
641
|
charset=UTF-8
|
|
509
642
|
Content-Transfer-Encoding: 7bit
|
|
510
643
|
|
|
511
644
|
|
|
512
|
-
----==
|
|
645
|
+
----==_mimepart_560928f61bcad_1c123feeca065bf0222e4
|
|
513
646
|
Content-Type: text/plain;
|
|
514
647
|
charset=UTF-8
|
|
515
648
|
Content-Transfer-Encoding: 7bit
|
|
@@ -524,10 +657,10 @@ created for you.
|
|
|
524
657
|
To get started, confirm your account and set your own password by
|
|
525
658
|
clicking the link below:
|
|
526
659
|
|
|
527
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
|
660
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=CZcyUDeTR7k36_qFJc-L )
|
|
528
661
|
|
|
529
662
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
530
|
-
----==
|
|
663
|
+
----==_mimepart_560928f61bcad_1c123feeca065bf0222e4
|
|
531
664
|
Content-Type: text/html;
|
|
532
665
|
charset=UTF-8
|
|
533
666
|
Content-Transfer-Encoding: 7bit
|
|
@@ -573,7 +706,7 @@ body {
|
|
|
573
706
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
|
574
707
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
|
575
708
|
<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">
|
|
576
|
-
<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=
|
|
709
|
+
<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=CZcyUDeTR7k36_qFJc-L" 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>
|
|
577
710
|
</td>
|
|
578
711
|
</tr>
|
|
579
712
|
</table>
|
|
@@ -618,34 +751,48 @@ body {
|
|
|
618
751
|
</body>
|
|
619
752
|
</html>
|
|
620
753
|
|
|
621
|
-
----==
|
|
754
|
+
----==_mimepart_560928f61bcad_1c123feeca065bf0222e4--
|
|
622
755
|
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
[1m[
|
|
627
|
-
[1m[
|
|
756
|
+
Redirected to /push_type/users
|
|
757
|
+
Completed 302 Found in 119ms (ActiveRecord: 0.5ms)
|
|
758
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
759
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
760
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
761
|
+
---------------------------------------------------------------
|
|
762
|
+
PushType::UsersControllerTest::PUT #invite: test_0001_anonymous
|
|
763
|
+
---------------------------------------------------------------
|
|
764
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
765
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
766
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
628
767
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
629
|
-
[1m[
|
|
768
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
|
|
769
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1[0m
|
|
770
|
+
[1m[35mSQL (0.1ms)[0m 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-9@example.com"], ["confirmation_sent_at", "2015-09-28 11:48:06.119332"], ["confirmed_at", "2015-09-28 11:48:06.119394"], ["confirmation_token", "Generated account"], ["created_at", "2015-09-28 11:48:06.120887"], ["updated_at", "2015-09-28 11:48:06.120887"]]
|
|
771
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
772
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
|
773
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1[0m
|
|
774
|
+
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
|
|
775
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "317d297c3292d47d5d2729cc9f3b4ed17bb42f3d2e5a4f107fc11c9b5888c0ea"]]
|
|
776
|
+
[1m[35mSQL (0.1ms)[0m 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-09-28 11:48:06.123435"], ["updated_at", "2015-09-28 11:48:06.123435"], ["confirmation_token", "2Y4uDtnMgi7ehDdSF5Cx"], ["confirmation_sent_at", "2015-09-28 11:48:06.124096"]]
|
|
630
777
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
|
|
631
778
|
|
|
632
779
|
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
|
|
633
780
|
|
|
634
|
-
Sent mail to joe-
|
|
635
|
-
Date: Mon,
|
|
781
|
+
Sent mail to joe-10@example.com (3.0ms)
|
|
782
|
+
Date: Mon, 28 Sep 2015 12:48:06 +0100
|
|
636
783
|
From: pushtype@example.com
|
|
637
784
|
Reply-To: pushtype@example.com
|
|
638
|
-
To: joe-
|
|
639
|
-
Message-ID: <
|
|
785
|
+
To: joe-10@example.com
|
|
786
|
+
Message-ID: <560928f625d62_1c123feeca065bf022627@Aarons-iMac.local.mail>
|
|
640
787
|
Subject: [PushType] Confirm your account
|
|
641
788
|
Mime-Version: 1.0
|
|
642
789
|
Content-Type: multipart/alternative;
|
|
643
|
-
boundary="--==
|
|
790
|
+
boundary="--==_mimepart_560928f6257cf_1c123feeca065bf0225c9";
|
|
644
791
|
charset=UTF-8
|
|
645
792
|
Content-Transfer-Encoding: 7bit
|
|
646
793
|
|
|
647
794
|
|
|
648
|
-
----==
|
|
795
|
+
----==_mimepart_560928f6257cf_1c123feeca065bf0225c9
|
|
649
796
|
Content-Type: text/plain;
|
|
650
797
|
charset=UTF-8
|
|
651
798
|
Content-Transfer-Encoding: 7bit
|
|
@@ -660,10 +807,10 @@ created for you.
|
|
|
660
807
|
To get started, confirm your account and set your own password by
|
|
661
808
|
clicking the link below:
|
|
662
809
|
|
|
663
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
|
810
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=2Y4uDtnMgi7ehDdSF5Cx )
|
|
664
811
|
|
|
665
812
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
666
|
-
----==
|
|
813
|
+
----==_mimepart_560928f6257cf_1c123feeca065bf0225c9
|
|
667
814
|
Content-Type: text/html;
|
|
668
815
|
charset=UTF-8
|
|
669
816
|
Content-Transfer-Encoding: 7bit
|
|
@@ -709,7 +856,7 @@ body {
|
|
|
709
856
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
|
710
857
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
|
711
858
|
<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">
|
|
712
|
-
<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=
|
|
859
|
+
<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=2Y4uDtnMgi7ehDdSF5Cx" 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>
|
|
713
860
|
</td>
|
|
714
861
|
</tr>
|
|
715
862
|
</table>
|
|
@@ -754,48 +901,34 @@ body {
|
|
|
754
901
|
</body>
|
|
755
902
|
</html>
|
|
756
903
|
|
|
757
|
-
----==
|
|
904
|
+
----==_mimepart_560928f6257cf_1c123feeca065bf0225c9--
|
|
758
905
|
|
|
759
|
-
Redirected to /push_type/users
|
|
760
|
-
Completed 302 Found in 117ms (ActiveRecord: 0.6ms)
|
|
761
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
762
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
763
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
764
|
-
---------------------------------------------------------------
|
|
765
|
-
PushType::UsersControllerTest::PUT #invite: test_0003_anonymous
|
|
766
|
-
---------------------------------------------------------------
|
|
767
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
768
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
769
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
770
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
771
|
-
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
|
|
772
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1[0m
|
|
773
|
-
[1m[35mSQL (0.1ms)[0m 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-08-24 09:52:48.625141"], ["confirmed_at", "2015-08-24 09:52:48.625200"], ["confirmation_token", "Generated account"], ["created_at", "2015-08-24 09:52:48.626680"], ["updated_at", "2015-08-24 09:52:48.626680"]]
|
|
774
906
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
907
|
+
Processing by PushType::UsersController#invite as HTML
|
|
908
|
+
Parameters: {"id"=>"1e639e39-23bc-491b-a8cb-4c160059a171"}
|
|
909
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "d74c9c72-848d-4145-b496-d9734afed78c"]]
|
|
910
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["id", "1e639e39-23bc-491b-a8cb-4c160059a171"]]
|
|
775
911
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
776
|
-
[1m[
|
|
777
|
-
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
|
|
778
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "cd1b25e3d4d6958441d2575095e326fe9bc350419da5d31616566fbb01c321ef"]]
|
|
779
|
-
[1m[35mSQL (0.1ms)[0m 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", "2015-08-24 09:52:48.629284"], ["updated_at", "2015-08-24 09:52:48.629284"], ["confirmation_token", "iXHPtkxdxhhs9Qn1vSHR"], ["confirmation_sent_at", "2015-08-24 09:52:48.630009"]]
|
|
912
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
780
913
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
|
|
781
914
|
|
|
782
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
|
915
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.2ms
|
|
783
916
|
|
|
784
|
-
Sent mail to joe-
|
|
785
|
-
Date: Mon,
|
|
917
|
+
Sent mail to joe-10@example.com (2.9ms)
|
|
918
|
+
Date: Mon, 28 Sep 2015 12:48:06 +0100
|
|
786
919
|
From: pushtype@example.com
|
|
787
920
|
Reply-To: pushtype@example.com
|
|
788
|
-
To: joe-
|
|
789
|
-
Message-ID: <
|
|
921
|
+
To: joe-10@example.com
|
|
922
|
+
Message-ID: <560928f62e701_1c123feeca065bf02298f@Aarons-iMac.local.mail>
|
|
790
923
|
Subject: [PushType] Confirm your account
|
|
791
924
|
Mime-Version: 1.0
|
|
792
925
|
Content-Type: multipart/alternative;
|
|
793
|
-
boundary="--==
|
|
926
|
+
boundary="--==_mimepart_560928f62e1e9_1c123feeca065bf02281b";
|
|
794
927
|
charset=UTF-8
|
|
795
928
|
Content-Transfer-Encoding: 7bit
|
|
796
929
|
|
|
797
930
|
|
|
798
|
-
----==
|
|
931
|
+
----==_mimepart_560928f62e1e9_1c123feeca065bf02281b
|
|
799
932
|
Content-Type: text/plain;
|
|
800
933
|
charset=UTF-8
|
|
801
934
|
Content-Transfer-Encoding: 7bit
|
|
@@ -810,10 +943,10 @@ created for you.
|
|
|
810
943
|
To get started, confirm your account and set your own password by
|
|
811
944
|
clicking the link below:
|
|
812
945
|
|
|
813
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
|
946
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=2Y4uDtnMgi7ehDdSF5Cx )
|
|
814
947
|
|
|
815
948
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
816
|
-
----==
|
|
949
|
+
----==_mimepart_560928f62e1e9_1c123feeca065bf02281b
|
|
817
950
|
Content-Type: text/html;
|
|
818
951
|
charset=UTF-8
|
|
819
952
|
Content-Transfer-Encoding: 7bit
|
|
@@ -859,7 +992,7 @@ body {
|
|
|
859
992
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
|
860
993
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
|
861
994
|
<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">
|
|
862
|
-
<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=
|
|
995
|
+
<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=2Y4uDtnMgi7ehDdSF5Cx" 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>
|
|
863
996
|
</td>
|
|
864
997
|
</tr>
|
|
865
998
|
</table>
|
|
@@ -904,34 +1037,48 @@ body {
|
|
|
904
1037
|
</body>
|
|
905
1038
|
</html>
|
|
906
1039
|
|
|
907
|
-
----==
|
|
1040
|
+
----==_mimepart_560928f62e1e9_1c123feeca065bf02281b--
|
|
908
1041
|
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
[1m[
|
|
913
|
-
[1m[
|
|
1042
|
+
Redirected to /push_type/users
|
|
1043
|
+
Completed 302 Found in 34ms (ActiveRecord: 0.4ms)
|
|
1044
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1045
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1046
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
1047
|
+
---------------------------------------------------------------
|
|
1048
|
+
PushType::UsersControllerTest::PUT #invite: test_0003_anonymous
|
|
1049
|
+
---------------------------------------------------------------
|
|
1050
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1051
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1052
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
914
1053
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
915
|
-
[1m[
|
|
1054
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1[0m
|
|
1055
|
+
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
|
|
1056
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT 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"[0m [["name", "Joe Bloggs"], ["email", "joe-11@example.com"], ["confirmation_sent_at", "2015-09-28 11:48:06.194185"], ["confirmed_at", "2015-09-28 11:48:06.194244"], ["confirmation_token", "Generated account"], ["created_at", "2015-09-28 11:48:06.195687"], ["updated_at", "2015-09-28 11:48:06.195687"]]
|
|
1057
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1058
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1059
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
|
|
1060
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1[0m
|
|
1061
|
+
[1m[35mPushType::User Load (0.1ms)[0m 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", "7572e4b59de592dc9b628e664d11d09f0e16db2b908b3a6d55da011d71769450"]]
|
|
1062
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-12@example.com"], ["created_at", "2015-09-28 11:48:06.198517"], ["updated_at", "2015-09-28 11:48:06.198517"], ["confirmation_token", "1_qkwhxhd7LAibQVakQ9"], ["confirmation_sent_at", "2015-09-28 11:48:06.199195"]]
|
|
916
1063
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
|
|
917
1064
|
|
|
918
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
|
1065
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.2ms
|
|
919
1066
|
|
|
920
|
-
Sent mail to joe-
|
|
921
|
-
Date: Mon,
|
|
1067
|
+
Sent mail to joe-12@example.com (3.1ms)
|
|
1068
|
+
Date: Mon, 28 Sep 2015 12:48:06 +0100
|
|
922
1069
|
From: pushtype@example.com
|
|
923
1070
|
Reply-To: pushtype@example.com
|
|
924
|
-
To: joe-
|
|
925
|
-
Message-ID: <
|
|
1071
|
+
To: joe-12@example.com
|
|
1072
|
+
Message-ID: <560928f637e93_1c123feeca065bf023264@Aarons-iMac.local.mail>
|
|
926
1073
|
Subject: [PushType] Confirm your account
|
|
927
1074
|
Mime-Version: 1.0
|
|
928
1075
|
Content-Type: multipart/alternative;
|
|
929
|
-
boundary="--==
|
|
1076
|
+
boundary="--==_mimepart_560928f6378fc_1c123feeca065bf0231eb";
|
|
930
1077
|
charset=UTF-8
|
|
931
1078
|
Content-Transfer-Encoding: 7bit
|
|
932
1079
|
|
|
933
1080
|
|
|
934
|
-
----==
|
|
1081
|
+
----==_mimepart_560928f6378fc_1c123feeca065bf0231eb
|
|
935
1082
|
Content-Type: text/plain;
|
|
936
1083
|
charset=UTF-8
|
|
937
1084
|
Content-Transfer-Encoding: 7bit
|
|
@@ -946,10 +1093,10 @@ created for you.
|
|
|
946
1093
|
To get started, confirm your account and set your own password by
|
|
947
1094
|
clicking the link below:
|
|
948
1095
|
|
|
949
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
|
1096
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=1_qkwhxhd7LAibQVakQ9 )
|
|
950
1097
|
|
|
951
1098
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
952
|
-
----==
|
|
1099
|
+
----==_mimepart_560928f6378fc_1c123feeca065bf0231eb
|
|
953
1100
|
Content-Type: text/html;
|
|
954
1101
|
charset=UTF-8
|
|
955
1102
|
Content-Transfer-Encoding: 7bit
|
|
@@ -995,7 +1142,7 @@ body {
|
|
|
995
1142
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
|
996
1143
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
|
997
1144
|
<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">
|
|
998
|
-
<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=
|
|
1145
|
+
<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=1_qkwhxhd7LAibQVakQ9" 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>
|
|
999
1146
|
</td>
|
|
1000
1147
|
</tr>
|
|
1001
1148
|
</table>
|
|
@@ -1040,52 +1187,34 @@ body {
|
|
|
1040
1187
|
</body>
|
|
1041
1188
|
</html>
|
|
1042
1189
|
|
|
1043
|
-
----==
|
|
1190
|
+
----==_mimepart_560928f6378fc_1c123feeca065bf0231eb--
|
|
1044
1191
|
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
[1m[
|
|
1049
|
-
[1m[
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
---------------------------------------------------------------
|
|
1053
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1054
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1055
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1056
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1057
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1058
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
1059
|
-
----------------------------------------------------------------------------------------------------
|
|
1060
|
-
PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0001_anonymous
|
|
1061
|
-
----------------------------------------------------------------------------------------------------
|
|
1062
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1063
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1064
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1065
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1066
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1[0m
|
|
1067
|
-
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
|
|
1068
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "e8633df7b84f58a09cc7a66549f66433109d401dbdd4a9f7dcedbcbd66560021"]]
|
|
1069
|
-
[1m[35mSQL (0.1ms)[0m 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-08-24 09:52:48.708014"], ["updated_at", "2015-08-24 09:52:48.708014"], ["confirmation_token", "dpP_oXJvWCE7WHiV1k8H"], ["confirmation_sent_at", "2015-08-24 09:52:48.708788"]]
|
|
1192
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1193
|
+
Processing by PushType::UsersController#invite as HTML
|
|
1194
|
+
Parameters: {"id"=>"d5737b15-c300-4d41-89e5-f6f5471c78e1"}
|
|
1195
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["id", "311ca9ce-f63e-480a-90e2-59fe013a4cee"]]
|
|
1196
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "d5737b15-c300-4d41-89e5-f6f5471c78e1"]]
|
|
1197
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1198
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1070
1199
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
|
|
1071
1200
|
|
|
1072
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
|
1201
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.1ms
|
|
1073
1202
|
|
|
1074
|
-
Sent mail to joe-
|
|
1075
|
-
Date: Mon,
|
|
1203
|
+
Sent mail to joe-12@example.com (2.9ms)
|
|
1204
|
+
Date: Mon, 28 Sep 2015 12:48:06 +0100
|
|
1076
1205
|
From: pushtype@example.com
|
|
1077
1206
|
Reply-To: pushtype@example.com
|
|
1078
|
-
To: joe-
|
|
1079
|
-
Message-ID: <
|
|
1207
|
+
To: joe-12@example.com
|
|
1208
|
+
Message-ID: <560928f6405a2_1c123feeca065bf0235ca@Aarons-iMac.local.mail>
|
|
1080
1209
|
Subject: [PushType] Confirm your account
|
|
1081
1210
|
Mime-Version: 1.0
|
|
1082
1211
|
Content-Type: multipart/alternative;
|
|
1083
|
-
boundary="--==
|
|
1212
|
+
boundary="--==_mimepart_560928f640055_1c123feeca065bf02342e";
|
|
1084
1213
|
charset=UTF-8
|
|
1085
1214
|
Content-Transfer-Encoding: 7bit
|
|
1086
1215
|
|
|
1087
1216
|
|
|
1088
|
-
----==
|
|
1217
|
+
----==_mimepart_560928f640055_1c123feeca065bf02342e
|
|
1089
1218
|
Content-Type: text/plain;
|
|
1090
1219
|
charset=UTF-8
|
|
1091
1220
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1100,10 +1229,10 @@ created for you.
|
|
|
1100
1229
|
To get started, confirm your account and set your own password by
|
|
1101
1230
|
clicking the link below:
|
|
1102
1231
|
|
|
1103
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
|
1232
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=1_qkwhxhd7LAibQVakQ9 )
|
|
1104
1233
|
|
|
1105
1234
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
1106
|
-
----==
|
|
1235
|
+
----==_mimepart_560928f640055_1c123feeca065bf02342e
|
|
1107
1236
|
Content-Type: text/html;
|
|
1108
1237
|
charset=UTF-8
|
|
1109
1238
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1149,7 +1278,7 @@ body {
|
|
|
1149
1278
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
|
1150
1279
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
|
1151
1280
|
<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">
|
|
1152
|
-
<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=
|
|
1281
|
+
<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=1_qkwhxhd7LAibQVakQ9" 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>
|
|
1153
1282
|
</td>
|
|
1154
1283
|
</tr>
|
|
1155
1284
|
</table>
|
|
@@ -1194,48 +1323,52 @@ body {
|
|
|
1194
1323
|
</body>
|
|
1195
1324
|
</html>
|
|
1196
1325
|
|
|
1197
|
-
----==
|
|
1326
|
+
----==_mimepart_560928f640055_1c123feeca065bf02342e--
|
|
1198
1327
|
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
Parameters: {"confirmation_token"=>"dpP_oXJvWCE7WHiV1k8H"}
|
|
1202
|
-
[1m[35mPushType::User Load (0.3ms)[0m 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", "dpP_oXJvWCE7WHiV1k8H"]]
|
|
1203
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.9ms)
|
|
1204
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (6.5ms)
|
|
1205
|
-
Completed 200 OK in 13ms (Views: 11.6ms | ActiveRecord: 0.3ms)
|
|
1328
|
+
Redirected to /push_type/users
|
|
1329
|
+
Completed 302 Found in 33ms (ActiveRecord: 0.4ms)
|
|
1206
1330
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1207
1331
|
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1208
1332
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1209
|
-
|
|
1210
|
-
PushType::
|
|
1211
|
-
|
|
1333
|
+
---------------------------------------------------------------
|
|
1334
|
+
PushType::AuthenticatableTest::confirmable: test_0001_anonymous
|
|
1335
|
+
---------------------------------------------------------------
|
|
1212
1336
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1213
1337
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1214
1338
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1215
|
-
[1m[36m (0.1ms)[0m [
|
|
1216
|
-
[1m[
|
|
1217
|
-
[1m[
|
|
1218
|
-
|
|
1219
|
-
|
|
1339
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1340
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1341
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1342
|
+
--------------------------------------------------------------------------------------------------------------
|
|
1343
|
+
PushType::AuthenticatableTest::#password_required?::with existing user and clean password: test_0001_anonymous
|
|
1344
|
+
--------------------------------------------------------------------------------------------------------------
|
|
1345
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1346
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1347
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1348
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1349
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
|
|
1350
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1[0m
|
|
1351
|
+
[1m[35mPushType::User Load (0.1ms)[0m 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", "71c7b8b843f92ef0cbc2f97938480d7901a16b245e59698cd70c06a1034bd95c"]]
|
|
1352
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-13@example.com"], ["created_at", "2015-09-28 11:48:06.271251"], ["updated_at", "2015-09-28 11:48:06.271251"], ["confirmation_token", "uysssJFp3uTsxnCWNxkx"], ["confirmation_sent_at", "2015-09-28 11:48:06.271943"]]
|
|
1220
1353
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
|
|
1221
1354
|
|
|
1222
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
|
1355
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.1ms
|
|
1223
1356
|
|
|
1224
|
-
Sent mail to joe-
|
|
1225
|
-
Date: Mon,
|
|
1357
|
+
Sent mail to joe-13@example.com (3.0ms)
|
|
1358
|
+
Date: Mon, 28 Sep 2015 12:48:06 +0100
|
|
1226
1359
|
From: pushtype@example.com
|
|
1227
1360
|
Reply-To: pushtype@example.com
|
|
1228
|
-
To: joe-
|
|
1229
|
-
Message-ID: <
|
|
1361
|
+
To: joe-13@example.com
|
|
1362
|
+
Message-ID: <560928f649a01_1c123feeca065bf02381d@Aarons-iMac.local.mail>
|
|
1230
1363
|
Subject: [PushType] Confirm your account
|
|
1231
1364
|
Mime-Version: 1.0
|
|
1232
1365
|
Content-Type: multipart/alternative;
|
|
1233
|
-
boundary="--==
|
|
1366
|
+
boundary="--==_mimepart_560928f64948d_1c123feeca065bf0237af";
|
|
1234
1367
|
charset=UTF-8
|
|
1235
1368
|
Content-Transfer-Encoding: 7bit
|
|
1236
1369
|
|
|
1237
1370
|
|
|
1238
|
-
----==
|
|
1371
|
+
----==_mimepart_560928f64948d_1c123feeca065bf0237af
|
|
1239
1372
|
Content-Type: text/plain;
|
|
1240
1373
|
charset=UTF-8
|
|
1241
1374
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1250,10 +1383,10 @@ created for you.
|
|
|
1250
1383
|
To get started, confirm your account and set your own password by
|
|
1251
1384
|
clicking the link below:
|
|
1252
1385
|
|
|
1253
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
|
1386
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=uysssJFp3uTsxnCWNxkx )
|
|
1254
1387
|
|
|
1255
1388
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
1256
|
-
----==
|
|
1389
|
+
----==_mimepart_560928f64948d_1c123feeca065bf0237af
|
|
1257
1390
|
Content-Type: text/html;
|
|
1258
1391
|
charset=UTF-8
|
|
1259
1392
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1299,7 +1432,7 @@ body {
|
|
|
1299
1432
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
|
1300
1433
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
|
1301
1434
|
<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">
|
|
1302
|
-
<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=
|
|
1435
|
+
<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=uysssJFp3uTsxnCWNxkx" 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>
|
|
1303
1436
|
</td>
|
|
1304
1437
|
</tr>
|
|
1305
1438
|
</table>
|
|
@@ -1344,66 +1477,60 @@ body {
|
|
|
1344
1477
|
</body>
|
|
1345
1478
|
</html>
|
|
1346
1479
|
|
|
1347
|
-
----==
|
|
1480
|
+
----==_mimepart_560928f64948d_1c123feeca065bf0237af--
|
|
1348
1481
|
|
|
1349
1482
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
[1m[
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
[1m[35m (0.1ms)[0m
|
|
1357
|
-
[1m[36m (0.1ms)[0m [
|
|
1358
|
-
[1m[35m (0.
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
[1m[35m (0.0ms)[0m
|
|
1366
|
-
[1m[36m (0.0ms)[0m [
|
|
1367
|
-
[1m[35m (0.
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
[1m[35m (0.
|
|
1375
|
-
[1m[36m (0.1ms)[0m [
|
|
1376
|
-
[1m[35m (0.1ms)[0m
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
[1m[
|
|
1381
|
-
[1m[
|
|
1382
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1383
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
|
1384
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1[0m
|
|
1385
|
-
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
|
|
1386
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "4df3b6e72d44c5823c35310ea278cd77098564b16fe7391b8d44957b77745c28"]]
|
|
1387
|
-
[1m[35mSQL (0.1ms)[0m 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-08-24 09:52:48.806762"], ["updated_at", "2015-08-24 09:52:48.806762"], ["confirmation_token", "7NoHDasPZ3QxNPypGmij"], ["confirmation_sent_at", "2015-08-24 09:52:48.807486"]]
|
|
1483
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1484
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1485
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1486
|
+
----------------------------------------------------------------
|
|
1487
|
+
PushType::AuthenticatableTest::rememberable: test_0001_anonymous
|
|
1488
|
+
----------------------------------------------------------------
|
|
1489
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1490
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1491
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1492
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1493
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1494
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1495
|
+
--------------------------------------------------------------------------------------
|
|
1496
|
+
PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
|
|
1497
|
+
--------------------------------------------------------------------------------------
|
|
1498
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1499
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1500
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1501
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1502
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
|
1503
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1504
|
+
------------------------------------------------------------------------------------------
|
|
1505
|
+
PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0002_anonymous
|
|
1506
|
+
------------------------------------------------------------------------------------------
|
|
1507
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1508
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1509
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1510
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1511
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
|
|
1512
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1[0m
|
|
1513
|
+
[1m[35mPushType::User Load (0.1ms)[0m 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", "f254325edf8d46fa5626704dc0543472af5b577b11c65376f656b079ff5d461a"]]
|
|
1514
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-14@example.com"], ["created_at", "2015-09-28 11:48:06.311515"], ["updated_at", "2015-09-28 11:48:06.311515"], ["confirmation_token", "Wm8rjrXMoHbdLPuGrSPk"], ["confirmation_sent_at", "2015-09-28 11:48:06.312232"]]
|
|
1388
1515
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
|
|
1389
1516
|
|
|
1390
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
|
1517
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
|
|
1391
1518
|
|
|
1392
|
-
Sent mail to joe-
|
|
1393
|
-
Date: Mon,
|
|
1519
|
+
Sent mail to joe-14@example.com (2.9ms)
|
|
1520
|
+
Date: Mon, 28 Sep 2015 12:48:06 +0100
|
|
1394
1521
|
From: pushtype@example.com
|
|
1395
1522
|
Reply-To: pushtype@example.com
|
|
1396
|
-
To: joe-
|
|
1397
|
-
Message-ID: <
|
|
1523
|
+
To: joe-14@example.com
|
|
1524
|
+
Message-ID: <560928f653891_1c123feeca065bf0241d0@Aarons-iMac.local.mail>
|
|
1398
1525
|
Subject: [PushType] Confirm your account
|
|
1399
1526
|
Mime-Version: 1.0
|
|
1400
1527
|
Content-Type: multipart/alternative;
|
|
1401
|
-
boundary="--==
|
|
1528
|
+
boundary="--==_mimepart_560928f65334b_1c123feeca065bf0240f6";
|
|
1402
1529
|
charset=UTF-8
|
|
1403
1530
|
Content-Transfer-Encoding: 7bit
|
|
1404
1531
|
|
|
1405
1532
|
|
|
1406
|
-
----==
|
|
1533
|
+
----==_mimepart_560928f65334b_1c123feeca065bf0240f6
|
|
1407
1534
|
Content-Type: text/plain;
|
|
1408
1535
|
charset=UTF-8
|
|
1409
1536
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1418,10 +1545,10 @@ created for you.
|
|
|
1418
1545
|
To get started, confirm your account and set your own password by
|
|
1419
1546
|
clicking the link below:
|
|
1420
1547
|
|
|
1421
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
|
1548
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Wm8rjrXMoHbdLPuGrSPk )
|
|
1422
1549
|
|
|
1423
1550
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
1424
|
-
----==
|
|
1551
|
+
----==_mimepart_560928f65334b_1c123feeca065bf0240f6
|
|
1425
1552
|
Content-Type: text/html;
|
|
1426
1553
|
charset=UTF-8
|
|
1427
1554
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1467,7 +1594,7 @@ body {
|
|
|
1467
1594
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
|
1468
1595
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
|
1469
1596
|
<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">
|
|
1470
|
-
<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=
|
|
1597
|
+
<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=Wm8rjrXMoHbdLPuGrSPk" 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>
|
|
1471
1598
|
</td>
|
|
1472
1599
|
</tr>
|
|
1473
1600
|
</table>
|
|
@@ -1512,129 +1639,49 @@ body {
|
|
|
1512
1639
|
</body>
|
|
1513
1640
|
</html>
|
|
1514
1641
|
|
|
1515
|
-
----==
|
|
1642
|
+
----==_mimepart_560928f65334b_1c123feeca065bf0240f6--
|
|
1516
1643
|
|
|
1517
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1518
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1519
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1520
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
1521
|
-
----------------------------------------------------------------
|
|
1522
|
-
PushType::AuthenticatableTest::rememberable: test_0001_anonymous
|
|
1523
|
-
----------------------------------------------------------------
|
|
1524
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1525
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1526
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1527
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1528
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1529
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
1530
|
-
-------------------------------------------------------------------------------------
|
|
1531
|
-
PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0001_anonymous
|
|
1532
|
-
-------------------------------------------------------------------------------------
|
|
1533
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1534
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1535
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1536
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1537
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1[0m
|
|
1538
|
-
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
|
|
1539
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT 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"[0m [["name", "Joe Bloggs"], ["email", "joe-12@example.com"], ["confirmation_sent_at", "2015-08-24 09:52:48.845010"], ["confirmed_at", "2015-08-24 09:52:48.845064"], ["confirmation_token", "Generated account"], ["created_at", "2015-08-24 09:52:48.846641"], ["updated_at", "2015-08-24 09:52:48.846641"]]
|
|
1540
1644
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1541
|
-
Processing by PushType::
|
|
1542
|
-
Parameters: {"user"=>{"
|
|
1543
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."
|
|
1544
|
-
[1m[
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
Completed 200 OK in 10ms (Views: 7.1ms | ActiveRecord: 0.6ms)
|
|
1549
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1550
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1551
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1552
|
-
-------------------------------------------------------------------------------------
|
|
1553
|
-
PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0002_anonymous
|
|
1554
|
-
-------------------------------------------------------------------------------------
|
|
1555
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1556
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1557
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1558
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1559
|
-
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
|
|
1560
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1[0m
|
|
1561
|
-
[1m[35mSQL (0.1ms)[0m 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-08-24 09:52:48.861077"], ["confirmed_at", "2015-08-24 09:52:48.861141"], ["confirmation_token", "Generated account"], ["created_at", "2015-08-24 09:52:48.862646"], ["updated_at", "2015-08-24 09:52:48.862646"]]
|
|
1562
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1563
|
-
Processing by PushType::ProfilesController#update as HTML
|
|
1564
|
-
Parameters: {"user"=>{"name"=>""}}
|
|
1565
|
-
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "e6536849-2f2e-4e2f-8bf3-a81e45f9b9a0"]]
|
|
1566
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1567
|
-
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-13@example.com' AND "push_type_users"."id" != 'e6536849-2f2e-4e2f-8bf3-a81e45f9b9a0') LIMIT 1
|
|
1568
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
|
|
1569
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.9ms)
|
|
1570
|
-
Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.4ms)
|
|
1571
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1572
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1573
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
1574
|
-
------------------------------------------------------------------------------------------------------
|
|
1575
|
-
PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
|
|
1576
|
-
------------------------------------------------------------------------------------------------------
|
|
1577
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1578
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1579
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1580
|
-
Processing by PushType::ConfirmationsController#show as HTML
|
|
1581
|
-
Parameters: {"confirmation_token"=>"invalid"}
|
|
1582
|
-
[1m[35mPushType::User Load (0.1ms)[0m 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"]]
|
|
1583
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "invalid"]]
|
|
1584
|
-
[1m[35mPushType::User Load (0.1ms)[0m 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", "f2350dcb33f99a9ff72614b2c7aec8d310991ebec4e0fc2bf1d9be67ba66f059"]]
|
|
1585
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.2ms)
|
|
1586
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (2.5ms)
|
|
1587
|
-
Completed 200 OK in 9ms (Views: 6.4ms | ActiveRecord: 0.3ms)
|
|
1645
|
+
Processing by PushType::ConfirmationsController#update as HTML
|
|
1646
|
+
Parameters: {"user"=>{"confirmation_token"=>"Wm8rjrXMoHbdLPuGrSPk", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
|
1647
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "Wm8rjrXMoHbdLPuGrSPk"]]
|
|
1648
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-14@example.com' AND "push_type_users"."id" != '3f83b3df-0bef-4295-9b8c-f2379bf9e6cd') LIMIT 1
|
|
1649
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
|
1650
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (4.3ms)
|
|
1651
|
+
Completed 200 OK in 30ms (Views: 27.8ms | ActiveRecord: 0.3ms)
|
|
1588
1652
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1589
1653
|
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1590
1654
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1591
|
-
------------------------------------------------------------------------------------------------------
|
|
1592
|
-
PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0002_anonymous
|
|
1593
|
-
------------------------------------------------------------------------------------------------------
|
|
1594
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1595
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1596
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1597
|
-
Processing by PushType::ConfirmationsController#show as HTML
|
|
1598
|
-
Parameters: {"confirmation_token"=>"invalid"}
|
|
1599
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "invalid"]]
|
|
1600
|
-
[1m[35mPushType::User Load (0.1ms)[0m 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"]]
|
|
1601
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "f2350dcb33f99a9ff72614b2c7aec8d310991ebec4e0fc2bf1d9be67ba66f059"]]
|
|
1602
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
|
1603
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.4ms)
|
|
1604
|
-
Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 0.3ms)
|
|
1605
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1606
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1607
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
1608
1655
|
------------------------------------------------------------------------------------------
|
|
1609
1656
|
PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0001_anonymous
|
|
1610
1657
|
------------------------------------------------------------------------------------------
|
|
1611
|
-
[1m[
|
|
1612
|
-
[1m[
|
|
1613
|
-
[1m[
|
|
1614
|
-
[1m[
|
|
1615
|
-
[1m[
|
|
1616
|
-
[1m[
|
|
1617
|
-
[1m[
|
|
1618
|
-
[1m[
|
|
1658
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1659
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1660
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1661
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1662
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
|
|
1663
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1[0m
|
|
1664
|
+
[1m[35mPushType::User Load (0.1ms)[0m 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", "05c4ede4363e487eeadd463d65d9a9c24602072e91c814ada663640a82ed2521"]]
|
|
1665
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-15@example.com"], ["created_at", "2015-09-28 11:48:06.379076"], ["updated_at", "2015-09-28 11:48:06.379076"], ["confirmation_token", "hekAzr2dmWMAbk9hmuKW"], ["confirmation_sent_at", "2015-09-28 11:48:06.379788"]]
|
|
1619
1666
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
|
|
1620
1667
|
|
|
1621
1668
|
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
|
|
1622
1669
|
|
|
1623
|
-
Sent mail to joe-
|
|
1624
|
-
Date: Mon,
|
|
1670
|
+
Sent mail to joe-15@example.com (3.1ms)
|
|
1671
|
+
Date: Mon, 28 Sep 2015 12:48:06 +0100
|
|
1625
1672
|
From: pushtype@example.com
|
|
1626
1673
|
Reply-To: pushtype@example.com
|
|
1627
|
-
To: joe-
|
|
1628
|
-
Message-ID: <
|
|
1674
|
+
To: joe-15@example.com
|
|
1675
|
+
Message-ID: <560928f6644b6_1c123feeca065bf0244c@Aarons-iMac.local.mail>
|
|
1629
1676
|
Subject: [PushType] Confirm your account
|
|
1630
1677
|
Mime-Version: 1.0
|
|
1631
1678
|
Content-Type: multipart/alternative;
|
|
1632
|
-
boundary="--==
|
|
1679
|
+
boundary="--==_mimepart_560928f663ea7_1c123feeca065bf02434b";
|
|
1633
1680
|
charset=UTF-8
|
|
1634
1681
|
Content-Transfer-Encoding: 7bit
|
|
1635
1682
|
|
|
1636
1683
|
|
|
1637
|
-
----==
|
|
1684
|
+
----==_mimepart_560928f663ea7_1c123feeca065bf02434b
|
|
1638
1685
|
Content-Type: text/plain;
|
|
1639
1686
|
charset=UTF-8
|
|
1640
1687
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1649,10 +1696,10 @@ created for you.
|
|
|
1649
1696
|
To get started, confirm your account and set your own password by
|
|
1650
1697
|
clicking the link below:
|
|
1651
1698
|
|
|
1652
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
|
1699
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=hekAzr2dmWMAbk9hmuKW )
|
|
1653
1700
|
|
|
1654
1701
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
1655
|
-
----==
|
|
1702
|
+
----==_mimepart_560928f663ea7_1c123feeca065bf02434b
|
|
1656
1703
|
Content-Type: text/html;
|
|
1657
1704
|
charset=UTF-8
|
|
1658
1705
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1698,7 +1745,7 @@ body {
|
|
|
1698
1745
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
|
1699
1746
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
|
1700
1747
|
<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">
|
|
1701
|
-
<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=
|
|
1748
|
+
<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=hekAzr2dmWMAbk9hmuKW" 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
1749
|
</td>
|
|
1703
1750
|
</tr>
|
|
1704
1751
|
</table>
|
|
@@ -1743,49 +1790,49 @@ body {
|
|
|
1743
1790
|
</body>
|
|
1744
1791
|
</html>
|
|
1745
1792
|
|
|
1746
|
-
----==
|
|
1793
|
+
----==_mimepart_560928f663ea7_1c123feeca065bf02434b--
|
|
1747
1794
|
|
|
1748
|
-
[1m[
|
|
1795
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1749
1796
|
Processing by PushType::ConfirmationsController#update as HTML
|
|
1750
|
-
Parameters: {"user"=>{"confirmation_token"=>"
|
|
1751
|
-
[1m[
|
|
1752
|
-
[1m[
|
|
1797
|
+
Parameters: {"user"=>{"confirmation_token"=>"hekAzr2dmWMAbk9hmuKW", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
|
1798
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "hekAzr2dmWMAbk9hmuKW"]]
|
|
1799
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-15@example.com' AND "push_type_users"."id" != '8852d94d-306c-4146-8905-f673c474bac3') LIMIT 1
|
|
1753
1800
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
|
1754
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.
|
|
1755
|
-
Completed 200 OK in
|
|
1756
|
-
[1m[
|
|
1757
|
-
[1m[
|
|
1758
|
-
[1m[
|
|
1801
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.6ms)
|
|
1802
|
+
Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.4ms)
|
|
1803
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1804
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1805
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1759
1806
|
------------------------------------------------------------------------------------------
|
|
1760
|
-
PushType::ConfirmationsControllerTest::PUT #update::with invalid user:
|
|
1807
|
+
PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0003_anonymous
|
|
1761
1808
|
------------------------------------------------------------------------------------------
|
|
1762
|
-
[1m[
|
|
1763
|
-
[1m[
|
|
1764
|
-
[1m[
|
|
1765
|
-
[1m[
|
|
1766
|
-
[1m[
|
|
1767
|
-
[1m[
|
|
1768
|
-
[1m[
|
|
1769
|
-
[1m[
|
|
1809
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1810
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1811
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1812
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1813
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
|
|
1814
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1[0m
|
|
1815
|
+
[1m[35mPushType::User Load (0.1ms)[0m 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", "515dfc59f3c38c40b183eed3b548d425a221430b05acb9abfbce4b08626453b9"]]
|
|
1816
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-16@example.com"], ["created_at", "2015-09-28 11:48:06.424683"], ["updated_at", "2015-09-28 11:48:06.424683"], ["confirmation_token", "PbZixmr6eP5ysG3MvNJY"], ["confirmation_sent_at", "2015-09-28 11:48:06.425377"]]
|
|
1770
1817
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
|
|
1771
1818
|
|
|
1772
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
|
1819
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.2ms
|
|
1773
1820
|
|
|
1774
|
-
Sent mail to joe-
|
|
1775
|
-
Date: Mon,
|
|
1821
|
+
Sent mail to joe-16@example.com (3.0ms)
|
|
1822
|
+
Date: Mon, 28 Sep 2015 12:48:06 +0100
|
|
1776
1823
|
From: pushtype@example.com
|
|
1777
1824
|
Reply-To: pushtype@example.com
|
|
1778
|
-
To: joe-
|
|
1779
|
-
Message-ID: <
|
|
1825
|
+
To: joe-16@example.com
|
|
1826
|
+
Message-ID: <560928f66f3a1_1c123feeca065bf0247f5@Aarons-iMac.local.mail>
|
|
1780
1827
|
Subject: [PushType] Confirm your account
|
|
1781
1828
|
Mime-Version: 1.0
|
|
1782
1829
|
Content-Type: multipart/alternative;
|
|
1783
|
-
boundary="--==
|
|
1830
|
+
boundary="--==_mimepart_560928f66ee5a_1c123feeca065bf0246ca";
|
|
1784
1831
|
charset=UTF-8
|
|
1785
1832
|
Content-Transfer-Encoding: 7bit
|
|
1786
1833
|
|
|
1787
1834
|
|
|
1788
|
-
----==
|
|
1835
|
+
----==_mimepart_560928f66ee5a_1c123feeca065bf0246ca
|
|
1789
1836
|
Content-Type: text/plain;
|
|
1790
1837
|
charset=UTF-8
|
|
1791
1838
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1800,10 +1847,10 @@ created for you.
|
|
|
1800
1847
|
To get started, confirm your account and set your own password by
|
|
1801
1848
|
clicking the link below:
|
|
1802
1849
|
|
|
1803
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
|
1850
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=PbZixmr6eP5ysG3MvNJY )
|
|
1804
1851
|
|
|
1805
1852
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
1806
|
-
----==
|
|
1853
|
+
----==_mimepart_560928f66ee5a_1c123feeca065bf0246ca
|
|
1807
1854
|
Content-Type: text/html;
|
|
1808
1855
|
charset=UTF-8
|
|
1809
1856
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1849,7 +1896,7 @@ body {
|
|
|
1849
1896
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
|
1850
1897
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
|
1851
1898
|
<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">
|
|
1852
|
-
<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=
|
|
1899
|
+
<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=PbZixmr6eP5ysG3MvNJY" 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>
|
|
1853
1900
|
</td>
|
|
1854
1901
|
</tr>
|
|
1855
1902
|
</table>
|
|
@@ -1894,49 +1941,85 @@ body {
|
|
|
1894
1941
|
</body>
|
|
1895
1942
|
</html>
|
|
1896
1943
|
|
|
1897
|
-
----==
|
|
1944
|
+
----==_mimepart_560928f66ee5a_1c123feeca065bf0246ca--
|
|
1898
1945
|
|
|
1899
|
-
[1m[
|
|
1946
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1900
1947
|
Processing by PushType::ConfirmationsController#update as HTML
|
|
1901
|
-
Parameters: {"user"=>{"confirmation_token"=>"
|
|
1902
|
-
[1m[
|
|
1903
|
-
[1m[
|
|
1948
|
+
Parameters: {"user"=>{"confirmation_token"=>"PbZixmr6eP5ysG3MvNJY", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
|
1949
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "PbZixmr6eP5ysG3MvNJY"]]
|
|
1950
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-16@example.com' AND "push_type_users"."id" != 'ab8476be-fb35-43da-9efb-917c2ce97b2a') LIMIT 1
|
|
1904
1951
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
|
1905
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.
|
|
1906
|
-
Completed 200 OK in 7ms (Views:
|
|
1907
|
-
[1m[
|
|
1908
|
-
[1m[
|
|
1909
|
-
[1m[
|
|
1910
|
-
|
|
1911
|
-
PushType::
|
|
1912
|
-
|
|
1913
|
-
[1m[
|
|
1914
|
-
[1m[
|
|
1915
|
-
[1m[
|
|
1916
|
-
[1m[
|
|
1917
|
-
[1m[
|
|
1918
|
-
[1m[
|
|
1919
|
-
|
|
1920
|
-
|
|
1952
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.7ms)
|
|
1953
|
+
Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.4ms)
|
|
1954
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1955
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1956
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1957
|
+
---------------------------------------------------------------------------
|
|
1958
|
+
PushType::AuthenticatableTest::database_athenticatable: test_0001_anonymous
|
|
1959
|
+
---------------------------------------------------------------------------
|
|
1960
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1961
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1962
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1963
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1964
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1965
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1966
|
+
---------------------------------------------------------------------------
|
|
1967
|
+
PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
|
|
1968
|
+
---------------------------------------------------------------------------
|
|
1969
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1970
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1971
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1972
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1973
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
|
1974
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
|
1975
|
+
-------------------------------------------------------------
|
|
1976
|
+
PushType::AuthenticatableTest::trackable: test_0001_anonymous
|
|
1977
|
+
-------------------------------------------------------------
|
|
1978
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1979
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1980
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1981
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1982
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
|
1983
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1984
|
+
----------------------------------------------------
|
|
1985
|
+
PushType::InvitationMethodsTest: test_0001_anonymous
|
|
1986
|
+
----------------------------------------------------
|
|
1987
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1988
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1989
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1990
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1991
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
|
1992
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1993
|
+
----------------------------------------------------------------------------------------------------
|
|
1994
|
+
PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0001_anonymous
|
|
1995
|
+
----------------------------------------------------------------------------------------------------
|
|
1996
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1997
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1998
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1999
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
2000
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
|
|
2001
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1[0m
|
|
2002
|
+
[1m[35mPushType::User Load (0.1ms)[0m 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", "7bbe5cb8b6dd9377ac6a300890f245e60ef6527b3b7bae1c320436677c275560"]]
|
|
2003
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-17@example.com"], ["created_at", "2015-09-28 11:48:06.477721"], ["updated_at", "2015-09-28 11:48:06.477721"], ["confirmation_token", "4xH8kgCHnsjG2vH3nfGx"], ["confirmation_sent_at", "2015-09-28 11:48:06.478447"]]
|
|
1921
2004
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
|
|
1922
2005
|
|
|
1923
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
|
2006
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
|
|
1924
2007
|
|
|
1925
|
-
Sent mail to joe-
|
|
1926
|
-
Date: Mon,
|
|
2008
|
+
Sent mail to joe-17@example.com (3.0ms)
|
|
2009
|
+
Date: Mon, 28 Sep 2015 12:48:06 +0100
|
|
1927
2010
|
From: pushtype@example.com
|
|
1928
2011
|
Reply-To: pushtype@example.com
|
|
1929
|
-
To: joe-
|
|
1930
|
-
Message-ID: <
|
|
2012
|
+
To: joe-17@example.com
|
|
2013
|
+
Message-ID: <560928f67c360_1c123feeca065bf025026@Aarons-iMac.local.mail>
|
|
1931
2014
|
Subject: [PushType] Confirm your account
|
|
1932
2015
|
Mime-Version: 1.0
|
|
1933
2016
|
Content-Type: multipart/alternative;
|
|
1934
|
-
boundary="--==
|
|
2017
|
+
boundary="--==_mimepart_560928f67be05_1c123feeca065bf02494b";
|
|
1935
2018
|
charset=UTF-8
|
|
1936
2019
|
Content-Transfer-Encoding: 7bit
|
|
1937
2020
|
|
|
1938
2021
|
|
|
1939
|
-
----==
|
|
2022
|
+
----==_mimepart_560928f67be05_1c123feeca065bf02494b
|
|
1940
2023
|
Content-Type: text/plain;
|
|
1941
2024
|
charset=UTF-8
|
|
1942
2025
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1951,10 +2034,10 @@ created for you.
|
|
|
1951
2034
|
To get started, confirm your account and set your own password by
|
|
1952
2035
|
clicking the link below:
|
|
1953
2036
|
|
|
1954
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
|
2037
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=4xH8kgCHnsjG2vH3nfGx )
|
|
1955
2038
|
|
|
1956
2039
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
1957
|
-
----==
|
|
2040
|
+
----==_mimepart_560928f67be05_1c123feeca065bf02494b
|
|
1958
2041
|
Content-Type: text/html;
|
|
1959
2042
|
charset=UTF-8
|
|
1960
2043
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2000,7 +2083,7 @@ body {
|
|
|
2000
2083
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
|
2001
2084
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
|
2002
2085
|
<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">
|
|
2003
|
-
<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=
|
|
2086
|
+
<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=4xH8kgCHnsjG2vH3nfGx" 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>
|
|
2004
2087
|
</td>
|
|
2005
2088
|
</tr>
|
|
2006
2089
|
</table>
|
|
@@ -2045,49 +2128,48 @@ body {
|
|
|
2045
2128
|
</body>
|
|
2046
2129
|
</html>
|
|
2047
2130
|
|
|
2048
|
-
----==
|
|
2131
|
+
----==_mimepart_560928f67be05_1c123feeca065bf02494b--
|
|
2049
2132
|
|
|
2050
|
-
[1m[
|
|
2051
|
-
Processing by PushType::ConfirmationsController#
|
|
2052
|
-
Parameters: {"
|
|
2053
|
-
[1m[
|
|
2054
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-16@example.com' AND "push_type_users"."id" != '73e54fe8-48ae-44a0-be0f-5e59a6cdf274') LIMIT 1[0m
|
|
2133
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
|
|
2134
|
+
Processing by PushType::ConfirmationsController#show as HTML
|
|
2135
|
+
Parameters: {"confirmation_token"=>"4xH8kgCHnsjG2vH3nfGx"}
|
|
2136
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "4xH8kgCHnsjG2vH3nfGx"]]
|
|
2055
2137
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
|
2056
2138
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.8ms)
|
|
2057
|
-
Completed 200 OK in
|
|
2139
|
+
Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.2ms)
|
|
2058
2140
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
2059
2141
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
2060
2142
|
[1m[35m (0.1ms)[0m BEGIN
|
|
2061
|
-
|
|
2062
|
-
PushType::ConfirmationsControllerTest::
|
|
2063
|
-
|
|
2064
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2065
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2143
|
+
----------------------------------------------------------------------------------------------------
|
|
2144
|
+
PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0002_anonymous
|
|
2145
|
+
----------------------------------------------------------------------------------------------------
|
|
2066
2146
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2147
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2148
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2067
2149
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
2068
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-
|
|
2069
|
-
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-
|
|
2070
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "
|
|
2071
|
-
[1m[35mSQL (0.1ms)[0m 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-
|
|
2150
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1[0m
|
|
2151
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
|
|
2152
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "4987962089489b936ca7a13276b13e3e7deabc38833f5e4125288a93ec205929"]]
|
|
2153
|
+
[1m[35mSQL (0.1ms)[0m 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-09-28 11:48:06.521936"], ["updated_at", "2015-09-28 11:48:06.521936"], ["confirmation_token", "Dugbh4_suyMKt3uRc4wA"], ["confirmation_sent_at", "2015-09-28 11:48:06.522678"]]
|
|
2072
2154
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
|
|
2073
2155
|
|
|
2074
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
|
2156
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.2ms
|
|
2075
2157
|
|
|
2076
|
-
Sent mail to joe-
|
|
2077
|
-
Date: Mon,
|
|
2158
|
+
Sent mail to joe-18@example.com (3.0ms)
|
|
2159
|
+
Date: Mon, 28 Sep 2015 12:48:06 +0100
|
|
2078
2160
|
From: pushtype@example.com
|
|
2079
2161
|
Reply-To: pushtype@example.com
|
|
2080
|
-
To: joe-
|
|
2081
|
-
Message-ID: <
|
|
2162
|
+
To: joe-18@example.com
|
|
2163
|
+
Message-ID: <560928f686e73_1c123feeca065bf02537f@Aarons-iMac.local.mail>
|
|
2082
2164
|
Subject: [PushType] Confirm your account
|
|
2083
2165
|
Mime-Version: 1.0
|
|
2084
2166
|
Content-Type: multipart/alternative;
|
|
2085
|
-
boundary="--==
|
|
2167
|
+
boundary="--==_mimepart_560928f686925_1c123feeca065bf025229";
|
|
2086
2168
|
charset=UTF-8
|
|
2087
2169
|
Content-Transfer-Encoding: 7bit
|
|
2088
2170
|
|
|
2089
2171
|
|
|
2090
|
-
----==
|
|
2172
|
+
----==_mimepart_560928f686925_1c123feeca065bf025229
|
|
2091
2173
|
Content-Type: text/plain;
|
|
2092
2174
|
charset=UTF-8
|
|
2093
2175
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2102,10 +2184,10 @@ created for you.
|
|
|
2102
2184
|
To get started, confirm your account and set your own password by
|
|
2103
2185
|
clicking the link below:
|
|
2104
2186
|
|
|
2105
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
|
2187
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Dugbh4_suyMKt3uRc4wA )
|
|
2106
2188
|
|
|
2107
2189
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
2108
|
-
----==
|
|
2190
|
+
----==_mimepart_560928f686925_1c123feeca065bf025229
|
|
2109
2191
|
Content-Type: text/html;
|
|
2110
2192
|
charset=UTF-8
|
|
2111
2193
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2151,7 +2233,7 @@ body {
|
|
|
2151
2233
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
|
2152
2234
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
|
2153
2235
|
<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">
|
|
2154
|
-
<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=
|
|
2236
|
+
<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=Dugbh4_suyMKt3uRc4wA" 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>
|
|
2155
2237
|
</td>
|
|
2156
2238
|
</tr>
|
|
2157
2239
|
</table>
|
|
@@ -2196,22 +2278,15 @@ body {
|
|
|
2196
2278
|
</body>
|
|
2197
2279
|
</html>
|
|
2198
2280
|
|
|
2199
|
-
----==
|
|
2281
|
+
----==_mimepart_560928f686925_1c123feeca065bf025229--
|
|
2200
2282
|
|
|
2201
2283
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
2202
|
-
Processing by PushType::ConfirmationsController#
|
|
2203
|
-
Parameters: {"
|
|
2204
|
-
[1m[35mPushType::User Load (0.1ms)[0m 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", "
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
2209
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
2210
|
-
[1m[35mSQL (0.1ms)[0m 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-08-24 09:52:49.081675"], ["current_sign_in_at", "2015-08-24 09:52:49.081675"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-08-24 09:52:49.082229"], ["id", "3adde6b6-a755-4fce-824a-da6d7bc9e1d6"]]
|
|
2211
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
2212
|
-
Redirected to http://test.host/push_type/
|
|
2213
|
-
Completed 302 Found in 14ms (ActiveRecord: 1.0ms)
|
|
2214
|
-
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "3adde6b6-a755-4fce-824a-da6d7bc9e1d6"]]
|
|
2284
|
+
Processing by PushType::ConfirmationsController#show as HTML
|
|
2285
|
+
Parameters: {"confirmation_token"=>"Dugbh4_suyMKt3uRc4wA"}
|
|
2286
|
+
[1m[35mPushType::User Load (0.1ms)[0m 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", "Dugbh4_suyMKt3uRc4wA"]]
|
|
2287
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
|
2288
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.6ms)
|
|
2289
|
+
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.1ms)
|
|
2215
2290
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2216
2291
|
[1m[35m (0.1ms)[0m ROLLBACK
|
|
2217
2292
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
@@ -2221,30 +2296,30 @@ PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0002_a
|
|
|
2221
2296
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2222
2297
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2223
2298
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2224
|
-
[1m[36m (0.
|
|
2225
|
-
[1m[35mPushType::User Exists (0.
|
|
2226
|
-
[1m[36mPushType::User Exists (0.
|
|
2227
|
-
[1m[35mPushType::User Load (0.1ms)[0m 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", "
|
|
2228
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-
|
|
2229
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
|
2299
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
2300
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
|
|
2301
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1[0m
|
|
2302
|
+
[1m[35mPushType::User Load (0.1ms)[0m 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", "b5b13d9dc556b4d20b8ecdc6b7bf8c03186f064091e1de71223bf51575023cb0"]]
|
|
2303
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-19@example.com"], ["created_at", "2015-09-28 11:48:06.566328"], ["updated_at", "2015-09-28 11:48:06.566328"], ["confirmation_token", "9acxzRXUsyKn_i96UJzn"], ["confirmation_sent_at", "2015-09-28 11:48:06.567116"]]
|
|
2304
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
2230
2305
|
|
|
2231
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
|
2306
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
|
|
2232
2307
|
|
|
2233
|
-
Sent mail to joe-
|
|
2234
|
-
Date: Mon,
|
|
2308
|
+
Sent mail to joe-19@example.com (3.0ms)
|
|
2309
|
+
Date: Mon, 28 Sep 2015 12:48:06 +0100
|
|
2235
2310
|
From: pushtype@example.com
|
|
2236
2311
|
Reply-To: pushtype@example.com
|
|
2237
|
-
To: joe-
|
|
2238
|
-
Message-ID: <
|
|
2312
|
+
To: joe-19@example.com
|
|
2313
|
+
Message-ID: <560928f691e27_1c123feeca065bf02567b@Aarons-iMac.local.mail>
|
|
2239
2314
|
Subject: [PushType] Confirm your account
|
|
2240
2315
|
Mime-Version: 1.0
|
|
2241
2316
|
Content-Type: multipart/alternative;
|
|
2242
|
-
boundary="--==
|
|
2317
|
+
boundary="--==_mimepart_560928f6918ac_1c123feeca065bf0255ec";
|
|
2243
2318
|
charset=UTF-8
|
|
2244
2319
|
Content-Transfer-Encoding: 7bit
|
|
2245
2320
|
|
|
2246
2321
|
|
|
2247
|
-
----==
|
|
2322
|
+
----==_mimepart_560928f6918ac_1c123feeca065bf0255ec
|
|
2248
2323
|
Content-Type: text/plain;
|
|
2249
2324
|
charset=UTF-8
|
|
2250
2325
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2259,10 +2334,10 @@ created for you.
|
|
|
2259
2334
|
To get started, confirm your account and set your own password by
|
|
2260
2335
|
clicking the link below:
|
|
2261
2336
|
|
|
2262
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token
|
|
2337
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=9acxzRXUsyKn_i96UJzn )
|
|
2263
2338
|
|
|
2264
2339
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
2265
|
-
----==
|
|
2340
|
+
----==_mimepart_560928f6918ac_1c123feeca065bf0255ec
|
|
2266
2341
|
Content-Type: text/html;
|
|
2267
2342
|
charset=UTF-8
|
|
2268
2343
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2308,7 +2383,7 @@ body {
|
|
|
2308
2383
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
|
2309
2384
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
|
2310
2385
|
<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">
|
|
2311
|
-
<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
|
|
2386
|
+
<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=9acxzRXUsyKn_i96UJzn" 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>
|
|
2312
2387
|
</td>
|
|
2313
2388
|
</tr>
|
|
2314
2389
|
</table>
|
|
@@ -2353,126 +2428,54 @@ body {
|
|
|
2353
2428
|
</body>
|
|
2354
2429
|
</html>
|
|
2355
2430
|
|
|
2356
|
-
----==
|
|
2431
|
+
----==_mimepart_560928f6918ac_1c123feeca065bf0255ec--
|
|
2357
2432
|
|
|
2358
2433
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
2359
2434
|
Processing by PushType::ConfirmationsController#update as HTML
|
|
2360
|
-
Parameters: {"user"=>{"confirmation_token"=>"
|
|
2361
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "
|
|
2362
|
-
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-
|
|
2435
|
+
Parameters: {"user"=>{"confirmation_token"=>"9acxzRXUsyKn_i96UJzn", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
|
2436
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "9acxzRXUsyKn_i96UJzn"]]
|
|
2437
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-19@example.com' AND "push_type_users"."id" != '43de002f-4484-4057-8772-7f2c78539e40') LIMIT 1
|
|
2363
2438
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
2364
|
-
[1m[35mSQL (0.
|
|
2439
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["encrypted_password", "$2a$04$/qfxgHO9x5USfHQtO83OwuPzUREep/XKEMlXTLnNkZw73Cvc/RwKC"], ["confirmed_at", "2015-09-28 11:48:06.604047"], ["updated_at", "2015-09-28 11:48:06.604466"], ["id", "43de002f-4484-4057-8772-7f2c78539e40"]]
|
|
2365
2440
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
2366
2441
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
2367
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "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[0m [["last_sign_in_at", "2015-
|
|
2442
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "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[0m [["last_sign_in_at", "2015-09-28 11:48:06.605981"], ["current_sign_in_at", "2015-09-28 11:48:06.605981"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-09-28 11:48:06.606523"], ["id", "43de002f-4484-4057-8772-7f2c78539e40"]]
|
|
2368
2443
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
2369
2444
|
Redirected to http://test.host/push_type/
|
|
2370
|
-
Completed 302 Found in
|
|
2371
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2372
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
|
2373
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
2374
|
-
---------------------------------------------------------------
|
|
2375
|
-
PushType::AuthenticatableTest::recoverable: test_0001_anonymous
|
|
2376
|
-
---------------------------------------------------------------
|
|
2377
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2378
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2379
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2445
|
+
Completed 302 Found in 7ms (ActiveRecord: 1.0ms)
|
|
2380
2446
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2381
2447
|
[1m[35m (0.1ms)[0m ROLLBACK
|
|
2382
2448
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
2383
|
-
|
|
2384
|
-
PushType::
|
|
2385
|
-
|
|
2386
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2387
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2388
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2389
|
-
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2390
|
-
[1m[35m (0.0ms)[0m ROLLBACK
|
|
2391
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
2392
|
-
---------------------------------------------------------------------------
|
|
2393
|
-
PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
|
|
2394
|
-
---------------------------------------------------------------------------
|
|
2395
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2396
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2397
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2398
|
-
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2399
|
-
[1m[35m (0.0ms)[0m ROLLBACK
|
|
2400
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
2401
|
-
--------------------------------------------------------------------------------------
|
|
2402
|
-
PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
|
|
2403
|
-
--------------------------------------------------------------------------------------
|
|
2404
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2405
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2406
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2407
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2408
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
2409
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
2410
|
-
--------------------------------------------------------
|
|
2411
|
-
PushType::AuthenticationMethodsTest: test_0001_anonymous
|
|
2412
|
-
--------------------------------------------------------
|
|
2413
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2414
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2415
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2416
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2417
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
2418
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
2419
|
-
--------------------------------------------------------
|
|
2420
|
-
PushType::AuthenticationMethodsTest: test_0002_anonymous
|
|
2421
|
-
--------------------------------------------------------
|
|
2422
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2423
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2424
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2425
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2426
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
2427
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
2428
|
-
---------------------------------------------------------------
|
|
2429
|
-
PushType::AuthenticatableTest::validatable: test_0002_anonymous
|
|
2430
|
-
---------------------------------------------------------------
|
|
2431
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2432
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2433
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2434
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2435
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
2436
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
2437
|
-
---------------------------------------------------------------
|
|
2438
|
-
PushType::AuthenticatableTest::validatable: test_0001_anonymous
|
|
2439
|
-
---------------------------------------------------------------
|
|
2440
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2441
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2442
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2443
|
-
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2444
|
-
[1m[35m (0.0ms)[0m ROLLBACK
|
|
2445
|
-
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
|
2446
|
-
--------------------------------------------------------------------------------------------------------------
|
|
2447
|
-
PushType::AuthenticatableTest::#password_required?::with existing user and dirty password: test_0001_anonymous
|
|
2448
|
-
--------------------------------------------------------------------------------------------------------------
|
|
2449
|
+
----------------------------------------------------------------------------------------
|
|
2450
|
+
PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0001_anonymous
|
|
2451
|
+
----------------------------------------------------------------------------------------
|
|
2449
2452
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2450
2453
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2451
2454
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2452
2455
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
2453
|
-
[1m[35mPushType::User Exists (0.
|
|
2454
|
-
[1m[36mPushType::User Exists (0.
|
|
2455
|
-
[1m[35mPushType::User Load (0.1ms)[0m 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", "
|
|
2456
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-
|
|
2456
|
+
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
|
|
2457
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1[0m
|
|
2458
|
+
[1m[35mPushType::User Load (0.1ms)[0m 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", "a4ce96c21a0327928c9622398908ab861cc6792594a832809b8b6b404ad8a5fe"]]
|
|
2459
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-20@example.com"], ["created_at", "2015-09-28 11:48:06.611290"], ["updated_at", "2015-09-28 11:48:06.611290"], ["confirmation_token", "JptQQQK3QnahgxuF9t6s"], ["confirmation_sent_at", "2015-09-28 11:48:06.611948"]]
|
|
2457
2460
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
|
|
2458
2461
|
|
|
2459
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
|
2462
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
|
|
2460
2463
|
|
|
2461
|
-
Sent mail to joe-
|
|
2462
|
-
Date: Mon,
|
|
2464
|
+
Sent mail to joe-20@example.com (2.9ms)
|
|
2465
|
+
Date: Mon, 28 Sep 2015 12:48:06 +0100
|
|
2463
2466
|
From: pushtype@example.com
|
|
2464
2467
|
Reply-To: pushtype@example.com
|
|
2465
|
-
To: joe-
|
|
2466
|
-
Message-ID: <
|
|
2468
|
+
To: joe-20@example.com
|
|
2469
|
+
Message-ID: <560928f69cafc_1c123feeca065bf025920@Aarons-iMac.local.mail>
|
|
2467
2470
|
Subject: [PushType] Confirm your account
|
|
2468
2471
|
Mime-Version: 1.0
|
|
2469
2472
|
Content-Type: multipart/alternative;
|
|
2470
|
-
boundary="--==
|
|
2473
|
+
boundary="--==_mimepart_560928f69c5ab_1c123feeca065bf02587e";
|
|
2471
2474
|
charset=UTF-8
|
|
2472
2475
|
Content-Transfer-Encoding: 7bit
|
|
2473
2476
|
|
|
2474
2477
|
|
|
2475
|
-
----==
|
|
2478
|
+
----==_mimepart_560928f69c5ab_1c123feeca065bf02587e
|
|
2476
2479
|
Content-Type: text/plain;
|
|
2477
2480
|
charset=UTF-8
|
|
2478
2481
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2487,10 +2490,10 @@ created for you.
|
|
|
2487
2490
|
To get started, confirm your account and set your own password by
|
|
2488
2491
|
clicking the link below:
|
|
2489
2492
|
|
|
2490
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
|
2493
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=JptQQQK3QnahgxuF9t6s )
|
|
2491
2494
|
|
|
2492
2495
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
2493
|
-
----==
|
|
2496
|
+
----==_mimepart_560928f69c5ab_1c123feeca065bf02587e
|
|
2494
2497
|
Content-Type: text/html;
|
|
2495
2498
|
charset=UTF-8
|
|
2496
2499
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2536,7 +2539,7 @@ body {
|
|
|
2536
2539
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
|
2537
2540
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
|
2538
2541
|
<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">
|
|
2539
|
-
<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=
|
|
2542
|
+
<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=JptQQQK3QnahgxuF9t6s" 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>
|
|
2540
2543
|
</td>
|
|
2541
2544
|
</tr>
|
|
2542
2545
|
</table>
|
|
@@ -2581,78 +2584,75 @@ body {
|
|
|
2581
2584
|
</body>
|
|
2582
2585
|
</html>
|
|
2583
2586
|
|
|
2584
|
-
----==
|
|
2587
|
+
----==_mimepart_560928f69c5ab_1c123feeca065bf02587e--
|
|
2585
2588
|
|
|
2586
2589
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
[1m[
|
|
2590
|
-
|
|
2591
|
-
PushType::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
|
|
2592
|
-
-----------------------------------------------------------------------------------
|
|
2593
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2594
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2595
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2590
|
+
Processing by PushType::ConfirmationsController#update as HTML
|
|
2591
|
+
Parameters: {"user"=>{"confirmation_token"=>"JptQQQK3QnahgxuF9t6s", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
|
2592
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "JptQQQK3QnahgxuF9t6s"]]
|
|
2593
|
+
[1m[35mPushType::User Exists (0.3ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-20@example.com' AND "push_type_users"."id" != 'e788ebb9-b5bb-43c9-a0ae-ce0e28da98e0') LIMIT 1
|
|
2596
2594
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
2597
|
-
[1m[
|
|
2598
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1[0m
|
|
2599
|
-
[1m[35mSQL (0.1ms)[0m 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", "2015-08-24 09:52:49.180842"], ["confirmed_at", "2015-08-24 09:52:49.180893"], ["confirmation_token", "Generated account"], ["created_at", "2015-08-24 09:52:49.182379"], ["updated_at", "2015-08-24 09:52:49.182379"]]
|
|
2595
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["encrypted_password", "$2a$04$Q.LX0gfa6W2L8dTy/qQvcuS6BAtDb2ViDAurvmK4SNKd4bnV.7Eu6"], ["confirmed_at", "2015-09-28 11:48:06.647859"], ["updated_at", "2015-09-28 11:48:06.648296"], ["id", "e788ebb9-b5bb-43c9-a0ae-ce0e28da98e0"]]
|
|
2600
2596
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "04ee6bb3-467a-4ca9-96b0-907455271618"]]
|
|
2604
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
2605
|
-
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-20@example.com' AND "push_type_users"."id" != '04ee6bb3-467a-4ca9-96b0-907455271618') LIMIT 1
|
|
2606
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3[0m [["name", "Test user ABC"], ["updated_at", "2015-08-24 09:52:49.186497"], ["id", "04ee6bb3-467a-4ca9-96b0-907455271618"]]
|
|
2597
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
2598
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "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[0m [["last_sign_in_at", "2015-09-28 11:48:06.649603"], ["current_sign_in_at", "2015-09-28 11:48:06.649603"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-09-28 11:48:06.649969"], ["id", "e788ebb9-b5bb-43c9-a0ae-ce0e28da98e0"]]
|
|
2607
2599
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
2608
|
-
Redirected to http://test.host/push_type/
|
|
2609
|
-
Completed 302 Found in
|
|
2610
|
-
[1m[36mPushType::User Load (0.
|
|
2600
|
+
Redirected to http://test.host/push_type/
|
|
2601
|
+
Completed 302 Found in 6ms (ActiveRecord: 1.1ms)
|
|
2602
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1[0m [["id", "e788ebb9-b5bb-43c9-a0ae-ce0e28da98e0"]]
|
|
2611
2603
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
2612
2604
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
2613
|
-
[1m[35m (0.
|
|
2614
|
-
|
|
2615
|
-
PushType::
|
|
2616
|
-
|
|
2605
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
2606
|
+
--------------------------------------------------------
|
|
2607
|
+
PushType::AuthenticationMethodsTest: test_0001_anonymous
|
|
2608
|
+
--------------------------------------------------------
|
|
2617
2609
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2618
2610
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2619
2611
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2612
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
2613
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
|
2614
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
2615
|
+
--------------------------------------------------------
|
|
2616
|
+
PushType::AuthenticationMethodsTest: test_0002_anonymous
|
|
2617
|
+
--------------------------------------------------------
|
|
2618
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2619
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2620
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2621
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
2622
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
|
2623
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
2624
|
+
----------------------------------------------------------------
|
|
2625
|
+
PushType::ProfilesControllerTest::GET #edit: test_0001_anonymous
|
|
2626
|
+
----------------------------------------------------------------
|
|
2627
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2628
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2629
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2620
2630
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
2621
|
-
[1m[36mPushType::User Exists (0.
|
|
2631
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1[0m
|
|
2622
2632
|
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
|
|
2623
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT 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"[0m [["name", "Joe Bloggs"], ["email", "joe-21@example.com"], ["confirmation_sent_at", "2015-
|
|
2633
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT 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"[0m [["name", "Joe Bloggs"], ["email", "joe-21@example.com"], ["confirmation_sent_at", "2015-09-28 11:48:06.657378"], ["confirmed_at", "2015-09-28 11:48:06.657426"], ["confirmation_token", "Generated account"], ["created_at", "2015-09-28 11:48:06.658833"], ["updated_at", "2015-09-28 11:48:06.658833"]]
|
|
2624
2634
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
2625
|
-
Processing by PushType::ProfilesController#
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-21@example.com' AND "push_type_users"."id" != '2448e56b-6ddd-4894-9937-08f548a10572') LIMIT 1[0m
|
|
2630
|
-
[1m[35mSQL (0.1ms)[0m UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2015-08-24 09:52:49.195390"], ["id", "2448e56b-6ddd-4894-9937-08f548a10572"]]
|
|
2631
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
2632
|
-
Redirected to http://test.host/push_type/profile/edit
|
|
2633
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
|
2635
|
+
Processing by PushType::ProfilesController#edit as HTML
|
|
2636
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["id", "37098d72-6b98-48cc-bd4e-73d81b91af2d"]]
|
|
2637
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.8ms)
|
|
2638
|
+
Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.1ms)
|
|
2634
2639
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
2635
2640
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
2636
2641
|
[1m[35m (0.1ms)[0m BEGIN
|
|
2637
|
-
|
|
2638
|
-
PushType::ProfilesControllerTest::
|
|
2639
|
-
|
|
2642
|
+
----------------------------------------------------------------
|
|
2643
|
+
PushType::ProfilesControllerTest::GET #edit: test_0002_anonymous
|
|
2644
|
+
----------------------------------------------------------------
|
|
2640
2645
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2641
2646
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2642
2647
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2643
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
|
2644
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1[0m
|
|
2645
|
-
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
|
|
2646
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT 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"[0m [["name", "Joe Bloggs"], ["email", "joe-22@example.com"], ["confirmation_sent_at", "2015-08-24 09:52:49.198182"], ["confirmed_at", "2015-08-24 09:52:49.198223"], ["confirmation_token", "Generated account"], ["created_at", "2015-08-24 09:52:49.199447"], ["updated_at", "2015-08-24 09:52:49.199447"]]
|
|
2647
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
2648
|
-
Processing by PushType::ProfilesController#update as HTML
|
|
2649
|
-
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
|
2650
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["id", "4307f53a-ddfc-4cf9-bc5e-a55d68c4c15b"]]
|
|
2651
2648
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
2652
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE
|
|
2653
|
-
[1m[
|
|
2654
|
-
[1m[
|
|
2655
|
-
|
|
2656
|
-
|
|
2649
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1[0m
|
|
2650
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
|
|
2651
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT 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"[0m [["name", "Joe Bloggs"], ["email", "joe-22@example.com"], ["confirmation_sent_at", "2015-09-28 11:48:06.670449"], ["confirmed_at", "2015-09-28 11:48:06.670507"], ["confirmation_token", "Generated account"], ["created_at", "2015-09-28 11:48:06.672059"], ["updated_at", "2015-09-28 11:48:06.672059"]]
|
|
2652
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
2653
|
+
Processing by PushType::ProfilesController#edit as HTML
|
|
2654
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["id", "492fa265-860d-4b43-907b-1163f5bfbf59"]]
|
|
2655
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.7ms)
|
|
2656
|
+
Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.1ms)
|
|
2657
2657
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
2658
2658
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|