push_type_auth 0.8.0.beta.2 → 0.8.0.beta.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/{20160215150646_create_push_type_users.push_type.rb → 20160219134027_create_push_type_users.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20160215150647_create_push_type_nodes.push_type.rb → 20160219134028_create_push_type_nodes.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20160215150648_create_push_type_node_hierarchies.push_type.rb → 20160219134029_create_push_type_node_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20160215150649_create_push_type_assets.push_type.rb → 20160219134030_create_push_type_assets.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20160215150650_add_field_store_default_values.push_type.rb → 20160219134031_add_field_store_default_values.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20160215150651_drop_legacy_push_type_taxonomies.push_type.rb → 20160219134032_drop_legacy_push_type_taxonomies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20160215150652_devise_extend_push_type_users.push_type_auth.rb → 20160219134033_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 +695 -695
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2AXrgoMJuqdqpJzlvQ6P6VSwwXhYUUfF_LtPGnN1K5Y.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{BVOrUX08Cn-x5Hpf0P8VpDaOzbQbvO1eCBO5YqH3694.cache → B3AbwJ4hZOeWaRnuyZR-m0i2ccirs4aZHNSH4__7GBM.cache} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/IO7ECUDxZfBwB7AOkEeEn1mE2pSd8EQCm4LXqxtin7Y.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{aCaQYd3pf59l_IpTAui4u-pPqF-B_ArbuBcQGeVl9sk.cache → LzpQAN4M1_g4aOLgSnrmWbQmUhDRNQjqs-hMnWrrF4A.cache} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{p8qBzBGmtwLX0h7Uvc2wwg2UWn1dEMZANLEY_RTVISY.cache → N5VR6tztt75gv0pFFNrPYhQtcNl3zHJ0kzsjgplLIas.cache} +1 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/OQhY_BVQRdv31fTpuWRAbujd1K0_jQ3JyjsFUCX1t0E.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Pr6xbIHRK4M9BEXD_PaCGOr2l8EuPhQpHumHkv6uypQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/U8zCXxUjRIhXiH_CGwPR_-ZkD7dRElkK9dBDgucU5GY.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{wQYAEbHjVdDpu679MCzdEJygi2xr7dTvqXs03raEdYI.cache → Vqc7xE26DMtonn-L6pEWgtq9c5cS3DmxLEeUPSXBazQ.cache} +1 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{dMQ64p_vMV2oC_4nIWJd4nxk_jDUGuhcoVIELXQQPA8.cache → WXucoZj7gGGhoom6WrT1um6ZL4v8V_Q-_jJJOi49aJA.cache} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/WcXzxAi7RqNUiQ5s0bvbIn3qv5ZUruKMTpKOoQ9ietk.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{R2NzOIXfXWhmK4Ase5Jn4UOMquEGC9pKCYRK8nbQydc.cache → YSkH9Kan976ELOfYu7bK_kA3M0ESjHlPUrlcmUuHHnQ.cache} +1 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/uquHYO67o4GaCroPKazscIdBCvlpC2XGkQUf7qgHOMc.cache +0 -0
- metadata +40 -40
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/6tKB6qnPaIvmB9w5BH4E9Wl6yPCC3Hrhf-JATqLD2CU.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/QHVOsGqa5eVyXVl3Je-KMQ_RzacIg5GYPTEY3xhZIwE.cache +0 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ZFq-AJgBiFxa3a1AvDYIH7TlZzRUXCBjKh5XFRaUCFw.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/fX719A72YIlhqOeoAaFIsdRMhwIa6hQJweKL797xdG4.cache +0 -0
data/test/dummy/log/test.log
CHANGED
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
[1m[36m (2.
|
|
2
|
-
[1m[35m (
|
|
1
|
+
[1m[36m (2.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
|
2
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
3
3
|
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
4
|
-
Migrating to CreatePushTypeUsers (
|
|
4
|
+
Migrating to CreatePushTypeUsers (20160219134027)
|
|
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", "
|
|
9
|
-
[1m[35m (0.
|
|
10
|
-
Migrating to CreatePushTypeNodes (
|
|
6
|
+
[1m[36mSQL (1.8ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
|
7
|
+
[1m[35m (2.4ms)[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", "20160219134027"]]
|
|
9
|
+
[1m[35m (0.6ms)[0m COMMIT
|
|
10
|
+
Migrating to CreatePushTypeNodes (20160219134028)
|
|
11
11
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
12
|
-
[1m[35m (
|
|
13
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
|
12
|
+
[1m[35m (2.0ms)[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", "20160219134028"]]
|
|
14
14
|
[1m[35m (0.4ms)[0m COMMIT
|
|
15
|
-
Migrating to CreatePushTypeNodeHierarchies (
|
|
15
|
+
Migrating to CreatePushTypeNodeHierarchies (20160219134029)
|
|
16
16
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
17
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.
|
|
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
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", "
|
|
20
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20160219134029"]]
|
|
21
21
|
[1m[35m (0.4ms)[0m COMMIT
|
|
22
|
-
Migrating to CreatePushTypeAssets (
|
|
22
|
+
Migrating to CreatePushTypeAssets (20160219134030)
|
|
23
23
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
24
|
-
[1m[35m (
|
|
25
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
|
24
|
+
[1m[35m (2.1ms)[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", "20160219134030"]]
|
|
26
26
|
[1m[35m (0.4ms)[0m COMMIT
|
|
27
|
-
Migrating to AddFieldStoreDefaultValues (
|
|
27
|
+
Migrating to AddFieldStoreDefaultValues (20160219134031)
|
|
28
28
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
29
|
-
[1m[35m (0.
|
|
29
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" TYPE jsonb
|
|
30
30
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" SET DEFAULT '{}'[0m
|
|
31
|
-
[1m[35m (0.
|
|
32
|
-
[1m[36m (0.
|
|
31
|
+
[1m[35m (0.2ms)[0m UPDATE "push_type_nodes" SET "field_store"='{}' WHERE "field_store" IS NULL
|
|
32
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "push_type_nodes" ALTER "field_store" SET NOT NULL[0m
|
|
33
33
|
[1m[35m (0.2ms)[0m ALTER TABLE "push_type_users" ALTER COLUMN "field_store" TYPE jsonb
|
|
34
|
-
[1m[36m (0.
|
|
34
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "push_type_users" ALTER COLUMN "field_store" SET DEFAULT '{}'[0m
|
|
35
35
|
[1m[35m (0.2ms)[0m UPDATE "push_type_users" SET "field_store"='{}' WHERE "field_store" IS NULL
|
|
36
36
|
[1m[36m (0.1ms)[0m [1mALTER TABLE "push_type_users" ALTER "field_store" SET NOT NULL[0m
|
|
37
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "
|
|
38
|
-
[1m[36m (0.
|
|
39
|
-
Migrating to DropLegacyPushTypeTaxonomies (
|
|
37
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160219134031"]]
|
|
38
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
|
39
|
+
Migrating to DropLegacyPushTypeTaxonomies (20160219134032)
|
|
40
40
|
[1m[35m (0.1ms)[0m BEGIN
|
|
41
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
|
42
|
-
[1m[35m (0.
|
|
43
|
-
Migrating to DeviseExtendPushTypeUsers (
|
|
41
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20160219134032"]]
|
|
42
|
+
[1m[35m (0.4ms)[0m COMMIT
|
|
43
|
+
Migrating to DeviseExtendPushTypeUsers (20160219134033)
|
|
44
44
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
45
|
-
[1m[35m (2.
|
|
45
|
+
[1m[35m (2.9ms)[0m ALTER TABLE "push_type_users" ADD "encrypted_password" character varying DEFAULT '' NOT NULL
|
|
46
46
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "push_type_users" ADD "reset_password_token" character varying[0m
|
|
47
47
|
[1m[35m (0.2ms)[0m ALTER TABLE "push_type_users" ADD "reset_password_sent_at" timestamp
|
|
48
48
|
[1m[36m (0.1ms)[0m [1mALTER TABLE "push_type_users" ADD "remember_created_at" timestamp[0m
|
|
49
|
-
[1m[35m (
|
|
49
|
+
[1m[35m (2.9ms)[0m ALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
|
|
50
50
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "push_type_users" ADD "current_sign_in_at" timestamp[0m
|
|
51
|
-
[1m[35m (0.
|
|
51
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "push_type_users" ADD "last_sign_in_at" timestamp
|
|
52
52
|
[1m[36m (0.1ms)[0m [1mALTER TABLE "push_type_users" ADD "current_sign_in_ip" character varying[0m
|
|
53
53
|
[1m[35m (0.1ms)[0m ALTER TABLE "push_type_users" ADD "last_sign_in_ip" character varying
|
|
54
54
|
[1m[36m (0.1ms)[0m [1mALTER TABLE "push_type_users" ADD "confirmation_token" character varying[0m
|
|
55
55
|
[1m[35m (0.1ms)[0m ALTER TABLE "push_type_users" ADD "confirmed_at" timestamp
|
|
56
56
|
[1m[36m (0.1ms)[0m [1mALTER TABLE "push_type_users" ADD "confirmation_sent_at" timestamp[0m
|
|
57
|
-
[1m[35m (0.
|
|
58
|
-
[1m[36m (0.
|
|
59
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "
|
|
60
|
-
[1m[36m (
|
|
57
|
+
[1m[35m (0.6ms)[0m CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")
|
|
58
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_push_type_users_on_reset_password_token" ON "push_type_users" ("reset_password_token")[0m
|
|
59
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160219134033"]]
|
|
60
|
+
[1m[36m (0.9ms)[0m [1mCOMMIT[0m
|
|
61
61
|
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
62
|
-
[1m[36m (
|
|
62
|
+
[1m[36m (2.0ms)[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
|
|
63
63
|
FROM pg_constraint c
|
|
64
64
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
|
65
65
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
|
@@ -107,108 +107,119 @@ WHERE c.contype = 'f'
|
|
|
107
107
|
AND t3.nspname = ANY (current_schemas(false))
|
|
108
108
|
ORDER BY c.conname
|
|
109
109
|
|
|
110
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.
|
|
110
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
111
111
|
[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_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL
|
|
112
|
-
[1m[36m (
|
|
112
|
+
[1m[36m (1.0ms)[0m [1m SELECT schemaname || '.' || tablename
|
|
113
113
|
FROM pg_tables
|
|
114
114
|
WHERE
|
|
115
115
|
tablename !~ '_prt_' AND
|
|
116
116
|
tablename <> 'schema_migrations' AND
|
|
117
117
|
schemaname = ANY (current_schemas(false))
|
|
118
118
|
[0m
|
|
119
|
-
[1m[35m (1.
|
|
120
|
-
[1m[36m (7.
|
|
121
|
-
[1m[35m (0.
|
|
119
|
+
[1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
|
120
|
+
[1m[36m (7.0ms)[0m [1mTRUNCATE TABLE "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_assets", "public"."push_type_users" RESTART IDENTITY CASCADE;[0m
|
|
121
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" 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
|
|
122
122
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
123
|
-
|
|
124
|
-
PushType::ProfilesControllerTest::PUT #update::with
|
|
125
|
-
|
|
123
|
+
-----------------------------------------------------------------------------------
|
|
124
|
+
PushType::ProfilesControllerTest::PUT #update::with valid user: test_0003_anonymous
|
|
125
|
+
-----------------------------------------------------------------------------------
|
|
126
126
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
127
127
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
128
128
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
129
|
-
[1m[36m (0.
|
|
130
|
-
[1m[35mPushType::User Exists (0.
|
|
131
|
-
[1m[36mPushType::User Exists (0.
|
|
132
|
-
[1m[35mSQL (0.7ms)[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-1@example.com"], ["confirmation_sent_at", "2016-02-
|
|
129
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
130
|
+
[1m[35mPushType::User Exists (0.5ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
|
|
131
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1[0m
|
|
132
|
+
[1m[35mSQL (0.7ms)[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-1@example.com"], ["confirmation_sent_at", "2016-02-19 13:40:33.172145"], ["confirmed_at", "2016-02-19 13:40:33.172228"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-19 13:40:33.182369"], ["updated_at", "2016-02-19 13:40:33.182369"]]
|
|
133
133
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
134
134
|
Processing by PushType::ProfilesController#update as HTML
|
|
135
|
-
Parameters: {"user"=>{"name"=>""}}
|
|
136
|
-
[1m[35mPushType::User Load (0.3ms)[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", "
|
|
135
|
+
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
|
136
|
+
[1m[35mPushType::User Load (0.3ms)[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", "32ce66b2-4af1-4fae-b94d-1cab567e8b3b"]]
|
|
137
137
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
138
|
-
[1m[35mPushType::User Exists (0.3ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-1@example.com' AND "push_type_users"."id" != '
|
|
139
|
-
[1m[
|
|
140
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (10.0ms)
|
|
141
|
-
DEPRECATION WARNING on line 78 of /Users/aaron/.rvm/gems/ruby-2.1.4@push_type/gems/foundation-rails-5.5.3.2/vendor/assets/stylesheets/foundation/components/_top-bar.scss: #{} interpolation near operators will be simplified
|
|
142
|
-
in a future version of Sass. To preserve the current behavior, use quotes:
|
|
143
|
-
|
|
144
|
-
unquote("#{lower-bound($medium-range)}")
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
Completed 200 OK in 9901ms (Views: 9883.8ms | ActiveRecord: 0.9ms)
|
|
148
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
149
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
|
150
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
151
|
-
-------------------------------------------------------------------------------------
|
|
152
|
-
PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0002_anonymous
|
|
153
|
-
-------------------------------------------------------------------------------------
|
|
154
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
155
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
156
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
157
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
158
|
-
[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
|
|
159
|
-
[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
|
|
160
|
-
[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-2@example.com"], ["confirmation_sent_at", "2016-02-15 15:07:01.296643"], ["confirmed_at", "2016-02-15 15:07:01.296734"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-15 15:07:01.298450"], ["updated_at", "2016-02-15 15:07:01.298450"]]
|
|
138
|
+
[1m[35mPushType::User Exists (0.3ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-1@example.com' AND "push_type_users"."id" != '32ce66b2-4af1-4fae-b94d-1cab567e8b3b') LIMIT 1
|
|
139
|
+
[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", "2016-02-19 13:40:33.201957"], ["id", "32ce66b2-4af1-4fae-b94d-1cab567e8b3b"]]
|
|
161
140
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
[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", "3341bea7-208d-4ce6-9c57-487a462d3bb0"]]
|
|
165
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
166
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-2@example.com' AND "push_type_users"."id" != '3341bea7-208d-4ce6-9c57-487a462d3bb0') LIMIT 1[0m
|
|
167
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
|
|
168
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.9ms)
|
|
169
|
-
Completed 200 OK in 10ms (Views: 7.4ms | ActiveRecord: 0.6ms)
|
|
141
|
+
Redirected to http://test.host/push_type/profile/edit
|
|
142
|
+
Completed 302 Found in 16ms (ActiveRecord: 1.0ms)
|
|
170
143
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
171
144
|
[1m[35m (0.1ms)[0m ROLLBACK
|
|
172
145
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
173
|
-
|
|
174
|
-
PushType::
|
|
175
|
-
|
|
146
|
+
-----------------------------------------------------------------------------------
|
|
147
|
+
PushType::ProfilesControllerTest::PUT #update::with valid user: test_0002_anonymous
|
|
148
|
+
-----------------------------------------------------------------------------------
|
|
176
149
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
177
|
-
[1m[36m (0.
|
|
150
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
178
151
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
152
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
153
|
+
[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
|
|
154
|
+
[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
|
|
155
|
+
[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", "2016-02-19 13:40:33.206313"], ["confirmed_at", "2016-02-19 13:40:33.206365"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-19 13:40:33.207751"], ["updated_at", "2016-02-19 13:40:33.207751"]]
|
|
156
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
157
|
+
Processing by PushType::ProfilesController#update as HTML
|
|
158
|
+
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
|
159
|
+
[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", "fbab6e40-bfb7-4026-a9e7-2ca12828a151"]]
|
|
160
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
161
|
+
[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" != 'fbab6e40-bfb7-4026-a9e7-2ca12828a151') LIMIT 1
|
|
162
|
+
[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", "2016-02-19 13:40:33.212447"], ["id", "fbab6e40-bfb7-4026-a9e7-2ca12828a151"]]
|
|
163
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
164
|
+
Redirected to http://test.host/push_type/profile/edit
|
|
165
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
|
|
179
166
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
180
167
|
[1m[35m (0.1ms)[0m ROLLBACK
|
|
181
|
-
[1m[36m (0.
|
|
182
|
-
|
|
183
|
-
PushType::
|
|
184
|
-
|
|
185
|
-
[1m[35m (0.
|
|
186
|
-
[1m[36m (0.
|
|
187
|
-
[1m[35m (0.
|
|
168
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
169
|
+
-----------------------------------------------------------------------------------
|
|
170
|
+
PushType::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
|
|
171
|
+
-----------------------------------------------------------------------------------
|
|
172
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
173
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
174
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
188
175
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
189
176
|
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
|
|
190
177
|
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1[0m
|
|
191
|
-
[1m[
|
|
192
|
-
[1m[
|
|
193
|
-
|
|
178
|
+
[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-3@example.com"], ["confirmation_sent_at", "2016-02-19 13:40:33.215700"], ["confirmed_at", "2016-02-19 13:40:33.215749"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-19 13:40:33.217159"], ["updated_at", "2016-02-19 13:40:33.217159"]]
|
|
179
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
180
|
+
Processing by PushType::ProfilesController#update as HTML
|
|
181
|
+
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
|
182
|
+
[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", "079c18d9-d80e-4056-b23c-b69785927b5f"]]
|
|
183
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
184
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-3@example.com' AND "push_type_users"."id" != '079c18d9-d80e-4056-b23c-b69785927b5f') LIMIT 1
|
|
185
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3[0m [["name", "Test user ABC"], ["updated_at", "2016-02-19 13:40:33.221545"], ["id", "079c18d9-d80e-4056-b23c-b69785927b5f"]]
|
|
186
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
187
|
+
Redirected to http://test.host/push_type/profile/edit
|
|
188
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
|
|
189
|
+
[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", "079c18d9-d80e-4056-b23c-b69785927b5f"]]
|
|
190
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
191
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
192
|
+
[1m[35m (0.0ms)[0m BEGIN
|
|
193
|
+
----------------------------------------------------------------------------------------------------
|
|
194
|
+
PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0001_anonymous
|
|
195
|
+
----------------------------------------------------------------------------------------------------
|
|
196
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
197
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
198
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
199
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
200
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1[0m
|
|
201
|
+
[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
|
|
202
|
+
[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", "f45bde298d5b4648942f3a2c57019f67572fd1e6e9a2553b3d1a4ffc771271e1"]]
|
|
203
|
+
[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-4@example.com"], ["created_at", "2016-02-19 13:40:33.232318"], ["updated_at", "2016-02-19 13:40:33.232318"], ["confirmation_token", "VyzAYqsstXB4sPMpqJBf"], ["confirmation_sent_at", "2016-02-19 13:40:33.399829"]]
|
|
204
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (1.3ms)
|
|
194
205
|
|
|
195
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
206
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 278.6ms
|
|
196
207
|
|
|
197
|
-
Sent mail to joe-
|
|
198
|
-
Date:
|
|
208
|
+
Sent mail to joe-4@example.com (9.7ms)
|
|
209
|
+
Date: Fri, 19 Feb 2016 13:40:33 +0000
|
|
199
210
|
From: pushtype@example.com
|
|
200
211
|
Reply-To: pushtype@example.com
|
|
201
|
-
To: joe-
|
|
202
|
-
Message-ID: <
|
|
212
|
+
To: joe-4@example.com
|
|
213
|
+
Message-ID: <56c71b51bc877_1c1f3ff851863bf049844@Aarons-iMac.local.mail>
|
|
203
214
|
Subject: [PushType] Confirm your account
|
|
204
215
|
Mime-Version: 1.0
|
|
205
216
|
Content-Type: multipart/alternative;
|
|
206
|
-
boundary="--==
|
|
217
|
+
boundary="--==_mimepart_56c71b51bafe6_1c1f3ff851863bf049786";
|
|
207
218
|
charset=UTF-8
|
|
208
219
|
Content-Transfer-Encoding: 7bit
|
|
209
220
|
|
|
210
221
|
|
|
211
|
-
----==
|
|
222
|
+
----==_mimepart_56c71b51bafe6_1c1f3ff851863bf049786
|
|
212
223
|
Content-Type: text/plain;
|
|
213
224
|
charset=UTF-8
|
|
214
225
|
Content-Transfer-Encoding: 7bit
|
|
@@ -223,10 +234,10 @@ created for you.
|
|
|
223
234
|
To get started, confirm your account and set your own password by
|
|
224
235
|
clicking the link below:
|
|
225
236
|
|
|
226
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
|
237
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=VyzAYqsstXB4sPMpqJBf )
|
|
227
238
|
|
|
228
239
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
229
|
-
----==
|
|
240
|
+
----==_mimepart_56c71b51bafe6_1c1f3ff851863bf049786
|
|
230
241
|
Content-Type: text/html;
|
|
231
242
|
charset=UTF-8
|
|
232
243
|
Content-Transfer-Encoding: 7bit
|
|
@@ -272,7 +283,7 @@ body {
|
|
|
272
283
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
|
273
284
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
|
274
285
|
<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">
|
|
275
|
-
<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=
|
|
286
|
+
<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=VyzAYqsstXB4sPMpqJBf" 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>
|
|
276
287
|
</td>
|
|
277
288
|
</tr>
|
|
278
289
|
</table>
|
|
@@ -317,48 +328,54 @@ body {
|
|
|
317
328
|
</body>
|
|
318
329
|
</html>
|
|
319
330
|
|
|
320
|
-
----==
|
|
331
|
+
----==_mimepart_56c71b51bafe6_1c1f3ff851863bf049786--
|
|
321
332
|
|
|
322
|
-
[1m[
|
|
333
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
323
334
|
Processing by PushType::ConfirmationsController#show as HTML
|
|
324
|
-
Parameters: {"confirmation_token"=>"
|
|
325
|
-
[1m[
|
|
326
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (
|
|
327
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
335
|
+
Parameters: {"confirmation_token"=>"VyzAYqsstXB4sPMpqJBf"}
|
|
336
|
+
[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", "VyzAYqsstXB4sPMpqJBf"]]
|
|
337
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.0ms)
|
|
338
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (10.3ms)
|
|
339
|
+
DEPRECATION WARNING on line 78 of /Users/aaron/.rvm/gems/ruby-2.1.4@push_type/gems/foundation-rails-5.5.3.2/vendor/assets/stylesheets/foundation/components/_top-bar.scss: #{} interpolation near operators will be simplified
|
|
340
|
+
in a future version of Sass. To preserve the current behavior, use quotes:
|
|
341
|
+
|
|
342
|
+
unquote("#{lower-bound($medium-range)}")
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
Completed 200 OK in 9700ms (Views: 9698.7ms | ActiveRecord: 0.2ms)
|
|
346
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
347
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
348
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
332
349
|
----------------------------------------------------------------------------------------------------
|
|
333
350
|
PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0002_anonymous
|
|
334
351
|
----------------------------------------------------------------------------------------------------
|
|
335
|
-
[1m[
|
|
336
|
-
[1m[
|
|
337
|
-
[1m[
|
|
338
|
-
[1m[
|
|
339
|
-
[1m[
|
|
340
|
-
[1m[
|
|
341
|
-
[1m[
|
|
342
|
-
[1m[
|
|
343
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
|
352
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
353
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
354
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
355
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
356
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
|
|
357
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1[0m
|
|
358
|
+
[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", "d4be9fc063b378f3944c2fc9031258599bf0dafa1a4ea03e74db903212b36e35"]]
|
|
359
|
+
[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-5@example.com"], ["created_at", "2016-02-19 13:40:43.482225"], ["updated_at", "2016-02-19 13:40:43.482225"], ["confirmation_token", "cBNP6bM1NFE26EMEF7yg"], ["confirmation_sent_at", "2016-02-19 13:40:43.483117"]]
|
|
360
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
344
361
|
|
|
345
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
|
362
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms
|
|
346
363
|
|
|
347
|
-
Sent mail to joe-
|
|
348
|
-
Date:
|
|
364
|
+
Sent mail to joe-5@example.com (3.3ms)
|
|
365
|
+
Date: Fri, 19 Feb 2016 13:40:43 +0000
|
|
349
366
|
From: pushtype@example.com
|
|
350
367
|
Reply-To: pushtype@example.com
|
|
351
|
-
To: joe-
|
|
352
|
-
Message-ID: <
|
|
368
|
+
To: joe-5@example.com
|
|
369
|
+
Message-ID: <56c71b5b7e40a_1c1f3ff851863bf0501c2@Aarons-iMac.local.mail>
|
|
353
370
|
Subject: [PushType] Confirm your account
|
|
354
371
|
Mime-Version: 1.0
|
|
355
372
|
Content-Type: multipart/alternative;
|
|
356
|
-
boundary="--==
|
|
373
|
+
boundary="--==_mimepart_56c71b5b7de1f_1c1f3ff851863bf050036";
|
|
357
374
|
charset=UTF-8
|
|
358
375
|
Content-Transfer-Encoding: 7bit
|
|
359
376
|
|
|
360
377
|
|
|
361
|
-
----==
|
|
378
|
+
----==_mimepart_56c71b5b7de1f_1c1f3ff851863bf050036
|
|
362
379
|
Content-Type: text/plain;
|
|
363
380
|
charset=UTF-8
|
|
364
381
|
Content-Transfer-Encoding: 7bit
|
|
@@ -373,10 +390,10 @@ created for you.
|
|
|
373
390
|
To get started, confirm your account and set your own password by
|
|
374
391
|
clicking the link below:
|
|
375
392
|
|
|
376
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
|
393
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=cBNP6bM1NFE26EMEF7yg )
|
|
377
394
|
|
|
378
395
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
379
|
-
----==
|
|
396
|
+
----==_mimepart_56c71b5b7de1f_1c1f3ff851863bf050036
|
|
380
397
|
Content-Type: text/html;
|
|
381
398
|
charset=UTF-8
|
|
382
399
|
Content-Transfer-Encoding: 7bit
|
|
@@ -422,7 +439,7 @@ body {
|
|
|
422
439
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
|
423
440
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
|
424
441
|
<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">
|
|
425
|
-
<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=
|
|
442
|
+
<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=cBNP6bM1NFE26EMEF7yg" 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>
|
|
426
443
|
</td>
|
|
427
444
|
</tr>
|
|
428
445
|
</table>
|
|
@@ -467,226 +484,101 @@ body {
|
|
|
467
484
|
</body>
|
|
468
485
|
</html>
|
|
469
486
|
|
|
470
|
-
----==
|
|
487
|
+
----==_mimepart_56c71b5b7de1f_1c1f3ff851863bf050036--
|
|
471
488
|
|
|
472
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
473
|
-
Processing by PushType::ConfirmationsController#show as HTML
|
|
474
|
-
Parameters: {"confirmation_token"=>"Qeyvkqr_W6skkPgbVsvT"}
|
|
475
|
-
[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", "Qeyvkqr_W6skkPgbVsvT"]]
|
|
476
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
|
477
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.6ms)
|
|
478
|
-
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.2ms)
|
|
479
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
480
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
481
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
482
|
-
----------------------------------------------------------------
|
|
483
|
-
PushType::ProfilesControllerTest::GET #edit: test_0001_anonymous
|
|
484
|
-
----------------------------------------------------------------
|
|
485
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
486
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
487
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
488
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
489
|
-
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
|
|
490
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1[0m
|
|
491
|
-
[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-5@example.com"], ["confirmation_sent_at", "2016-02-15 15:07:01.695331"], ["confirmed_at", "2016-02-15 15:07:01.695388"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-15 15:07:01.696753"], ["updated_at", "2016-02-15 15:07:01.696753"]]
|
|
492
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
493
|
-
Processing by PushType::ProfilesController#edit as HTML
|
|
494
|
-
[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", "a7939294-d697-4442-8925-57ef4956c029"]]
|
|
495
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.7ms)
|
|
496
|
-
Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.2ms)
|
|
497
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
498
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
499
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
500
|
-
----------------------------------------------------------------
|
|
501
|
-
PushType::ProfilesControllerTest::GET #edit: test_0002_anonymous
|
|
502
|
-
----------------------------------------------------------------
|
|
503
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
504
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
505
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
506
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
507
|
-
[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
|
|
508
|
-
[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
|
|
509
|
-
[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", "2016-02-15 15:07:01.708416"], ["confirmed_at", "2016-02-15 15:07:01.708468"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-15 15:07:01.709751"], ["updated_at", "2016-02-15 15:07:01.709751"]]
|
|
510
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
511
|
-
Processing by PushType::ProfilesController#edit as HTML
|
|
512
|
-
[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", "8ecef287-30e4-471d-8e26-ebcd68cfbf42"]]
|
|
513
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.7ms)
|
|
514
|
-
Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.2ms)
|
|
515
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
516
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
517
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
518
|
-
--------------------------------------------------------------------------------------
|
|
519
|
-
PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
|
|
520
|
-
--------------------------------------------------------------------------------------
|
|
521
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
522
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
523
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
524
|
-
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
525
|
-
[1m[35m (0.0ms)[0m ROLLBACK
|
|
526
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
527
|
-
-----------------------------------------------------------------------------------
|
|
528
|
-
PushType::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
|
|
529
|
-
-----------------------------------------------------------------------------------
|
|
530
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
531
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
532
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
533
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
534
|
-
[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
|
|
535
|
-
[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
|
|
536
|
-
[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-7@example.com"], ["confirmation_sent_at", "2016-02-15 15:07:01.723847"], ["confirmed_at", "2016-02-15 15:07:01.723911"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-15 15:07:01.725323"], ["updated_at", "2016-02-15 15:07:01.725323"]]
|
|
537
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
538
|
-
Processing by PushType::ProfilesController#update as HTML
|
|
539
|
-
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
|
540
|
-
[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", "641348b8-111f-4258-a56e-2ca1fa2165e9"]]
|
|
541
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
542
|
-
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-7@example.com' AND "push_type_users"."id" != '641348b8-111f-4258-a56e-2ca1fa2165e9') LIMIT 1
|
|
543
|
-
[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", "2016-02-15 15:07:01.729337"], ["id", "641348b8-111f-4258-a56e-2ca1fa2165e9"]]
|
|
544
489
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
[1m[36mPushType::User Load (0.
|
|
490
|
+
Processing by PushType::ConfirmationsController#show as HTML
|
|
491
|
+
Parameters: {"confirmation_token"=>"cBNP6bM1NFE26EMEF7yg"}
|
|
492
|
+
[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", "cBNP6bM1NFE26EMEF7yg"]]
|
|
493
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms)
|
|
494
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (2.1ms)
|
|
495
|
+
Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.2ms)
|
|
548
496
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
549
497
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
550
498
|
[1m[35m (0.1ms)[0m BEGIN
|
|
551
|
-
|
|
552
|
-
PushType::ProfilesControllerTest::PUT #update::with
|
|
553
|
-
|
|
499
|
+
-------------------------------------------------------------------------------------
|
|
500
|
+
PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0001_anonymous
|
|
501
|
+
-------------------------------------------------------------------------------------
|
|
554
502
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
555
503
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
556
504
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
557
505
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
558
|
-
[1m[36mPushType::User Exists (0.
|
|
559
|
-
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-
|
|
560
|
-
[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-
|
|
506
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1[0m
|
|
507
|
+
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
|
|
508
|
+
[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-6@example.com"], ["confirmation_sent_at", "2016-02-19 13:40:43.531204"], ["confirmed_at", "2016-02-19 13:40:43.531274"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-19 13:40:43.532754"], ["updated_at", "2016-02-19 13:40:43.532754"]]
|
|
561
509
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
562
510
|
Processing by PushType::ProfilesController#update as HTML
|
|
563
|
-
Parameters: {"user"=>{"name"=>"
|
|
564
|
-
[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", "
|
|
511
|
+
Parameters: {"user"=>{"name"=>""}}
|
|
512
|
+
[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", "057f34d9-8a5b-4366-ac3a-818d59318d6b"]]
|
|
565
513
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
566
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-
|
|
567
|
-
[1m[
|
|
514
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-6@example.com' AND "push_type_users"."id" != '057f34d9-8a5b-4366-ac3a-818d59318d6b') LIMIT 1[0m
|
|
515
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
|
|
516
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (6.7ms)
|
|
517
|
+
Completed 200 OK in 178ms (Views: 175.1ms | ActiveRecord: 0.5ms)
|
|
518
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
519
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
520
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
521
|
+
-------------------------------------------------------------------------------------
|
|
522
|
+
PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0002_anonymous
|
|
523
|
+
-------------------------------------------------------------------------------------
|
|
524
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
525
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
526
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
527
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
528
|
+
[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
|
|
529
|
+
[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
|
|
530
|
+
[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-7@example.com"], ["confirmation_sent_at", "2016-02-19 13:40:43.715981"], ["confirmed_at", "2016-02-19 13:40:43.716076"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-19 13:40:43.718146"], ["updated_at", "2016-02-19 13:40:43.718146"]]
|
|
568
531
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
[1m[
|
|
532
|
+
Processing by PushType::ProfilesController#update as HTML
|
|
533
|
+
Parameters: {"user"=>{"name"=>""}}
|
|
534
|
+
[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", "0fe5cb0d-3054-4dfd-8cd2-7e679fd6de76"]]
|
|
535
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
536
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-7@example.com' AND "push_type_users"."id" != '0fe5cb0d-3054-4dfd-8cd2-7e679fd6de76') LIMIT 1
|
|
537
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
|
|
538
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (2.8ms)
|
|
539
|
+
Completed 200 OK in 15ms (Views: 11.0ms | ActiveRecord: 0.7ms)
|
|
540
|
+
[1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
572
541
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
573
542
|
[1m[35m (0.1ms)[0m BEGIN
|
|
574
|
-
|
|
575
|
-
PushType::
|
|
576
|
-
|
|
543
|
+
-------------------------------------------------------------
|
|
544
|
+
PushType::AuthenticatableTest::trackable: test_0001_anonymous
|
|
545
|
+
-------------------------------------------------------------
|
|
577
546
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
578
547
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
579
548
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
580
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
581
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1[0m
|
|
582
|
-
[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
|
|
583
|
-
[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-9@example.com"], ["confirmation_sent_at", "2016-02-15 15:07:01.741979"], ["confirmed_at", "2016-02-15 15:07:01.742022"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-15 15:07:01.743192"], ["updated_at", "2016-02-15 15:07:01.743192"]]
|
|
584
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
585
|
-
Processing by PushType::ProfilesController#update as HTML
|
|
586
|
-
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
|
587
|
-
[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", "b69ae75a-544a-41bd-b31e-991a1bf5e610"]]
|
|
588
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
589
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-9@example.com' AND "push_type_users"."id" != 'b69ae75a-544a-41bd-b31e-991a1bf5e610') LIMIT 1[0m
|
|
590
|
-
[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", "2016-02-15 15:07:01.746754"], ["id", "b69ae75a-544a-41bd-b31e-991a1bf5e610"]]
|
|
591
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
592
|
-
Redirected to http://test.host/push_type/profile/edit
|
|
593
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
|
594
549
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
595
550
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
596
551
|
[1m[35m (0.1ms)[0m BEGIN
|
|
597
|
-
----------------------------------------------------
|
|
598
|
-
PushType::InvitationMethodsTest: test_0001_anonymous
|
|
599
|
-
----------------------------------------------------
|
|
600
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
601
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
602
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
603
|
-
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
604
|
-
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
|
605
|
-
[1m[35m (0.0ms)[0m BEGIN
|
|
606
|
-
---------------------------------------------------------------
|
|
607
|
-
PushType::AuthenticatableTest::confirmable: test_0001_anonymous
|
|
608
|
-
---------------------------------------------------------------
|
|
609
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
610
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
611
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
612
|
-
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
613
|
-
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
|
614
|
-
[1m[35m (0.0ms)[0m BEGIN
|
|
615
|
-
---------------------------------------------------------------------------
|
|
616
|
-
PushType::AuthenticatableTest::database_athenticatable: test_0001_anonymous
|
|
617
|
-
---------------------------------------------------------------------------
|
|
618
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
619
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
620
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
621
|
-
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
622
|
-
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
|
623
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
624
|
-
---------------------------------------------------------------------------
|
|
625
|
-
PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
|
|
626
|
-
---------------------------------------------------------------------------
|
|
627
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
628
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
629
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
630
|
-
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
631
|
-
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
|
632
|
-
[1m[35m (0.0ms)[0m BEGIN
|
|
633
|
-
---------------------------------------------------------------
|
|
634
|
-
PushType::AuthenticatableTest::validatable: test_0001_anonymous
|
|
635
|
-
---------------------------------------------------------------
|
|
636
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
637
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
638
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
639
|
-
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
640
|
-
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
|
641
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
642
|
-
---------------------------------------------------------------
|
|
643
|
-
PushType::AuthenticatableTest::validatable: test_0002_anonymous
|
|
644
|
-
---------------------------------------------------------------
|
|
645
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
646
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
647
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
648
|
-
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
649
|
-
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
|
650
|
-
[1m[35m (0.0ms)[0m BEGIN
|
|
651
|
-
----------------------------------------------------------------
|
|
652
|
-
PushType::AuthenticatableTest::rememberable: test_0001_anonymous
|
|
653
|
-
----------------------------------------------------------------
|
|
654
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
655
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
656
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
657
|
-
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
658
|
-
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
|
659
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
660
552
|
--------------------------------------------------------------------------------------------------------------
|
|
661
553
|
PushType::AuthenticatableTest::#password_required?::with existing user and dirty password: test_0001_anonymous
|
|
662
554
|
--------------------------------------------------------------------------------------------------------------
|
|
663
555
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
664
556
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
665
|
-
[1m[36m (0.
|
|
666
|
-
[1m[35m (0.
|
|
667
|
-
[1m[36mPushType::User Exists (0.
|
|
668
|
-
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-
|
|
669
|
-
[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", "
|
|
670
|
-
[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-
|
|
671
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
|
557
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
558
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
|
559
|
+
[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
|
|
560
|
+
[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
|
|
561
|
+
[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", "96af62ae4b0cf8fdcf1b378d62ce11fe0742c715bf4fcaec2637f885610ff28c"]]
|
|
562
|
+
[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", "2016-02-19 13:40:43.742910"], ["updated_at", "2016-02-19 13:40:43.742910"], ["confirmation_token", "D4Uh2ubQHboabsTuCyxP"], ["confirmation_sent_at", "2016-02-19 13:40:43.743802"]]
|
|
563
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
672
564
|
|
|
673
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
565
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 3.4ms
|
|
674
566
|
|
|
675
|
-
Sent mail to joe-
|
|
676
|
-
Date:
|
|
567
|
+
Sent mail to joe-8@example.com (3.9ms)
|
|
568
|
+
Date: Fri, 19 Feb 2016 13:40:43 +0000
|
|
677
569
|
From: pushtype@example.com
|
|
678
570
|
Reply-To: pushtype@example.com
|
|
679
|
-
To: joe-
|
|
680
|
-
Message-ID: <
|
|
571
|
+
To: joe-8@example.com
|
|
572
|
+
Message-ID: <56c71b5bbfa0d_1c1f3ff851863bf050420@Aarons-iMac.local.mail>
|
|
681
573
|
Subject: [PushType] Confirm your account
|
|
682
574
|
Mime-Version: 1.0
|
|
683
575
|
Content-Type: multipart/alternative;
|
|
684
|
-
boundary="--==
|
|
576
|
+
boundary="--==_mimepart_56c71b5bbf3db_1c1f3ff851863bf050386";
|
|
685
577
|
charset=UTF-8
|
|
686
578
|
Content-Transfer-Encoding: 7bit
|
|
687
579
|
|
|
688
580
|
|
|
689
|
-
----==
|
|
581
|
+
----==_mimepart_56c71b5bbf3db_1c1f3ff851863bf050386
|
|
690
582
|
Content-Type: text/plain;
|
|
691
583
|
charset=UTF-8
|
|
692
584
|
Content-Transfer-Encoding: 7bit
|
|
@@ -701,10 +593,10 @@ created for you.
|
|
|
701
593
|
To get started, confirm your account and set your own password by
|
|
702
594
|
clicking the link below:
|
|
703
595
|
|
|
704
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
|
596
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=D4Uh2ubQHboabsTuCyxP )
|
|
705
597
|
|
|
706
598
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
707
|
-
----==
|
|
599
|
+
----==_mimepart_56c71b5bbf3db_1c1f3ff851863bf050386
|
|
708
600
|
Content-Type: text/html;
|
|
709
601
|
charset=UTF-8
|
|
710
602
|
Content-Transfer-Encoding: 7bit
|
|
@@ -750,7 +642,7 @@ body {
|
|
|
750
642
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
|
751
643
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
|
752
644
|
<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">
|
|
753
|
-
<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=
|
|
645
|
+
<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=D4Uh2ubQHboabsTuCyxP" 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>
|
|
754
646
|
</td>
|
|
755
647
|
</tr>
|
|
756
648
|
</table>
|
|
@@ -795,42 +687,90 @@ body {
|
|
|
795
687
|
</body>
|
|
796
688
|
</html>
|
|
797
689
|
|
|
798
|
-
----==
|
|
690
|
+
----==_mimepart_56c71b5bbf3db_1c1f3ff851863bf050386--
|
|
799
691
|
|
|
800
692
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
801
693
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
802
694
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
803
695
|
[1m[35m (0.1ms)[0m BEGIN
|
|
804
|
-
|
|
805
|
-
PushType::AuthenticatableTest
|
|
806
|
-
|
|
696
|
+
---------------------------------------------------------------
|
|
697
|
+
PushType::AuthenticatableTest::confirmable: test_0001_anonymous
|
|
698
|
+
---------------------------------------------------------------
|
|
699
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
700
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
701
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
702
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
703
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
704
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
705
|
+
------------------------------------------------------------------------------------------------------
|
|
706
|
+
PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
|
|
707
|
+
------------------------------------------------------------------------------------------------------
|
|
708
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
709
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
710
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
711
|
+
Processing by PushType::ConfirmationsController#show as HTML
|
|
712
|
+
Parameters: {"confirmation_token"=>"invalid"}
|
|
713
|
+
[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"]]
|
|
714
|
+
[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"]]
|
|
715
|
+
[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", "5db6601db4fc560df69b69ee7adfcc1a0e2b6a0becd6c76361d1228f6a052f20"]]
|
|
716
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms)
|
|
717
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (3.5ms)
|
|
718
|
+
Completed 200 OK in 14ms (Views: 9.0ms | ActiveRecord: 0.5ms)
|
|
719
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
720
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
721
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
722
|
+
------------------------------------------------------------------------------------------------------
|
|
723
|
+
PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0002_anonymous
|
|
724
|
+
------------------------------------------------------------------------------------------------------
|
|
725
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
726
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
727
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
728
|
+
Processing by PushType::ConfirmationsController#show as HTML
|
|
729
|
+
Parameters: {"confirmation_token"=>"invalid"}
|
|
730
|
+
[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"]]
|
|
731
|
+
[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"]]
|
|
732
|
+
[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", "5db6601db4fc560df69b69ee7adfcc1a0e2b6a0becd6c76361d1228f6a052f20"]]
|
|
733
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
|
734
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.6ms)
|
|
735
|
+
Completed 200 OK in 9ms (Views: 6.1ms | ActiveRecord: 0.4ms)
|
|
736
|
+
[1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
737
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
738
|
+
[1m[35m (0.0ms)[0m BEGIN
|
|
739
|
+
---------------------------------------------------------------
|
|
740
|
+
PushType::UsersControllerTest::PUT #invite: test_0001_anonymous
|
|
741
|
+
---------------------------------------------------------------
|
|
807
742
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
808
743
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
809
744
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
810
|
-
[1m[35m (0.
|
|
811
|
-
[1m[36mPushType::User Exists (0.
|
|
812
|
-
[1m[35mPushType::User Exists (0.
|
|
813
|
-
[1m[
|
|
814
|
-
[1m[
|
|
815
|
-
|
|
745
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
746
|
+
[1m[36mPushType::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1[0m
|
|
747
|
+
[1m[35mPushType::User Exists (0.3ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
|
|
748
|
+
[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-9@example.com"], ["confirmation_sent_at", "2016-02-19 13:40:43.876608"], ["confirmed_at", "2016-02-19 13:40:43.876682"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-19 13:40:43.878662"], ["updated_at", "2016-02-19 13:40:43.878662"]]
|
|
749
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
750
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
751
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
|
|
752
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1[0m
|
|
753
|
+
[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", "e54ddce7cd7915d229e210a961671a18e85c94a96d5214eceaab356f4cf007de"]]
|
|
754
|
+
[1m[36mSQL (0.2ms)[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-10@example.com"], ["created_at", "2016-02-19 13:40:43.881884"], ["updated_at", "2016-02-19 13:40:43.881884"], ["confirmation_token", "Tx4nchxNx_RTmDnNrtfq"], ["confirmation_sent_at", "2016-02-19 13:40:43.882799"]]
|
|
755
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
816
756
|
|
|
817
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
757
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 3.0ms
|
|
818
758
|
|
|
819
|
-
Sent mail to joe-
|
|
820
|
-
Date:
|
|
759
|
+
Sent mail to joe-10@example.com (3.4ms)
|
|
760
|
+
Date: Fri, 19 Feb 2016 13:40:43 +0000
|
|
821
761
|
From: pushtype@example.com
|
|
822
762
|
Reply-To: pushtype@example.com
|
|
823
|
-
To: joe-
|
|
824
|
-
Message-ID: <
|
|
763
|
+
To: joe-10@example.com
|
|
764
|
+
Message-ID: <56c71b5be1005_1c1f3ff851863bf050770@Aarons-iMac.local.mail>
|
|
825
765
|
Subject: [PushType] Confirm your account
|
|
826
766
|
Mime-Version: 1.0
|
|
827
767
|
Content-Type: multipart/alternative;
|
|
828
|
-
boundary="--==
|
|
768
|
+
boundary="--==_mimepart_56c71b5be09d9_1c1f3ff851863bf050615";
|
|
829
769
|
charset=UTF-8
|
|
830
770
|
Content-Transfer-Encoding: 7bit
|
|
831
771
|
|
|
832
772
|
|
|
833
|
-
----==
|
|
773
|
+
----==_mimepart_56c71b5be09d9_1c1f3ff851863bf050615
|
|
834
774
|
Content-Type: text/plain;
|
|
835
775
|
charset=UTF-8
|
|
836
776
|
Content-Transfer-Encoding: 7bit
|
|
@@ -845,10 +785,10 @@ created for you.
|
|
|
845
785
|
To get started, confirm your account and set your own password by
|
|
846
786
|
clicking the link below:
|
|
847
787
|
|
|
848
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
|
788
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Tx4nchxNx_RTmDnNrtfq )
|
|
849
789
|
|
|
850
790
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
851
|
-
----==
|
|
791
|
+
----==_mimepart_56c71b5be09d9_1c1f3ff851863bf050615
|
|
852
792
|
Content-Type: text/html;
|
|
853
793
|
charset=UTF-8
|
|
854
794
|
Content-Transfer-Encoding: 7bit
|
|
@@ -894,7 +834,7 @@ body {
|
|
|
894
834
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
|
895
835
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
|
896
836
|
<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">
|
|
897
|
-
<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=
|
|
837
|
+
<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=Tx4nchxNx_RTmDnNrtfq" 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>
|
|
898
838
|
</td>
|
|
899
839
|
</tr>
|
|
900
840
|
</table>
|
|
@@ -939,47 +879,34 @@ body {
|
|
|
939
879
|
</body>
|
|
940
880
|
</html>
|
|
941
881
|
|
|
942
|
-
----==
|
|
882
|
+
----==_mimepart_56c71b5be09d9_1c1f3ff851863bf050615--
|
|
943
883
|
|
|
944
|
-
[1m[
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
[1m[
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
---------------------------------------------------------------
|
|
951
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
952
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
953
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
954
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
955
|
-
[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
|
|
956
|
-
[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
|
|
957
|
-
[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", "2016-02-15 15:07:01.868609"], ["confirmed_at", "2016-02-15 15:07:01.868659"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-15 15:07:01.870059"], ["updated_at", "2016-02-15 15:07:01.870059"]]
|
|
884
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
|
|
885
|
+
Processing by PushType::UsersController#invite as HTML
|
|
886
|
+
Parameters: {"id"=>"c855a21c-d33d-4e4c-8468-336b89078368"}
|
|
887
|
+
[1m[36mPushType::User Load (0.4ms)[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", "b148ae00-3307-413e-9e80-50cd36184589"]]
|
|
888
|
+
[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", "c855a21c-d33d-4e4c-8468-336b89078368"]]
|
|
889
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
958
890
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
959
|
-
|
|
960
|
-
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
|
|
961
|
-
[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
|
|
962
|
-
[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", "a517a3999fc2071dc53bdc734926c33662f9d3c4fa0167651f30981264bb251f"]]
|
|
963
|
-
[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", "2016-02-15 15:07:01.872377"], ["updated_at", "2016-02-15 15:07:01.872377"], ["confirmation_token", "rdSsBW4X49XoutBpccT9"], ["confirmation_sent_at", "2016-02-15 15:07:01.873082"]]
|
|
964
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
|
|
891
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
965
892
|
|
|
966
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
|
893
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.8ms
|
|
967
894
|
|
|
968
|
-
Sent mail to joe-
|
|
969
|
-
Date:
|
|
895
|
+
Sent mail to joe-10@example.com (3.3ms)
|
|
896
|
+
Date: Fri, 19 Feb 2016 13:40:43 +0000
|
|
970
897
|
From: pushtype@example.com
|
|
971
898
|
Reply-To: pushtype@example.com
|
|
972
|
-
To: joe-
|
|
973
|
-
Message-ID: <
|
|
899
|
+
To: joe-10@example.com
|
|
900
|
+
Message-ID: <56c71b5bebbde_1c1f3ff851863bf0510b8@Aarons-iMac.local.mail>
|
|
974
901
|
Subject: [PushType] Confirm your account
|
|
975
902
|
Mime-Version: 1.0
|
|
976
903
|
Content-Type: multipart/alternative;
|
|
977
|
-
boundary="--==
|
|
904
|
+
boundary="--==_mimepart_56c71b5beb61f_1c1f3ff851863bf05099d";
|
|
978
905
|
charset=UTF-8
|
|
979
906
|
Content-Transfer-Encoding: 7bit
|
|
980
907
|
|
|
981
908
|
|
|
982
|
-
----==
|
|
909
|
+
----==_mimepart_56c71b5beb61f_1c1f3ff851863bf05099d
|
|
983
910
|
Content-Type: text/plain;
|
|
984
911
|
charset=UTF-8
|
|
985
912
|
Content-Transfer-Encoding: 7bit
|
|
@@ -994,10 +921,10 @@ created for you.
|
|
|
994
921
|
To get started, confirm your account and set your own password by
|
|
995
922
|
clicking the link below:
|
|
996
923
|
|
|
997
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
|
924
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Tx4nchxNx_RTmDnNrtfq )
|
|
998
925
|
|
|
999
926
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
1000
|
-
----==
|
|
927
|
+
----==_mimepart_56c71b5beb61f_1c1f3ff851863bf05099d
|
|
1001
928
|
Content-Type: text/html;
|
|
1002
929
|
charset=UTF-8
|
|
1003
930
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1043,7 +970,7 @@ body {
|
|
|
1043
970
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
|
1044
971
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
|
1045
972
|
<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">
|
|
1046
|
-
<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=
|
|
973
|
+
<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=Tx4nchxNx_RTmDnNrtfq" 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>
|
|
1047
974
|
</td>
|
|
1048
975
|
</tr>
|
|
1049
976
|
</table>
|
|
@@ -1088,34 +1015,48 @@ body {
|
|
|
1088
1015
|
</body>
|
|
1089
1016
|
</html>
|
|
1090
1017
|
|
|
1091
|
-
----==
|
|
1018
|
+
----==_mimepart_56c71b5beb61f_1c1f3ff851863bf05099d--
|
|
1092
1019
|
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
[1m[
|
|
1097
|
-
[1m[
|
|
1020
|
+
Redirected to /push_type/users
|
|
1021
|
+
Completed 302 Found in 42ms (ActiveRecord: 0.7ms)
|
|
1022
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1023
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1024
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1025
|
+
---------------------------------------------------------------
|
|
1026
|
+
PushType::UsersControllerTest::PUT #invite: test_0002_anonymous
|
|
1027
|
+
---------------------------------------------------------------
|
|
1028
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1029
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1030
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1098
1031
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1099
|
-
[1m[
|
|
1100
|
-
|
|
1032
|
+
[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
|
|
1033
|
+
[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
|
|
1034
|
+
[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-11@example.com"], ["confirmation_sent_at", "2016-02-19 13:40:43.970430"], ["confirmed_at", "2016-02-19 13:40:43.970495"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-19 13:40:43.972122"], ["updated_at", "2016-02-19 13:40:43.972122"]]
|
|
1035
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1036
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1037
|
+
[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
|
|
1038
|
+
[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
|
|
1039
|
+
[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", "d2d20ab8db1c49eac8d71100b010db9ae45c9b888b7470abe557006bd336b598"]]
|
|
1040
|
+
[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-12@example.com"], ["created_at", "2016-02-19 13:40:43.974939"], ["updated_at", "2016-02-19 13:40:43.974939"], ["confirmation_token", "VxP4HTqHiXT4qcDC6x2r"], ["confirmation_sent_at", "2016-02-19 13:40:43.975788"]]
|
|
1041
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
1101
1042
|
|
|
1102
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
1043
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms
|
|
1103
1044
|
|
|
1104
|
-
Sent mail to joe-
|
|
1105
|
-
Date:
|
|
1045
|
+
Sent mail to joe-12@example.com (3.2ms)
|
|
1046
|
+
Date: Fri, 19 Feb 2016 13:40:44 +0000
|
|
1106
1047
|
From: pushtype@example.com
|
|
1107
1048
|
Reply-To: pushtype@example.com
|
|
1108
|
-
To: joe-
|
|
1109
|
-
Message-ID: <
|
|
1049
|
+
To: joe-12@example.com
|
|
1050
|
+
Message-ID: <56c71b5c30d1_1c1f3ff851863bf051376@Aarons-iMac.local.mail>
|
|
1110
1051
|
Subject: [PushType] Confirm your account
|
|
1111
1052
|
Mime-Version: 1.0
|
|
1112
1053
|
Content-Type: multipart/alternative;
|
|
1113
|
-
boundary="--==
|
|
1054
|
+
boundary="--==_mimepart_56c71b5c2b0e_1c1f3ff851863bf0512e5";
|
|
1114
1055
|
charset=UTF-8
|
|
1115
1056
|
Content-Transfer-Encoding: 7bit
|
|
1116
1057
|
|
|
1117
1058
|
|
|
1118
|
-
----==
|
|
1059
|
+
----==_mimepart_56c71b5c2b0e_1c1f3ff851863bf0512e5
|
|
1119
1060
|
Content-Type: text/plain;
|
|
1120
1061
|
charset=UTF-8
|
|
1121
1062
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1130,10 +1071,10 @@ created for you.
|
|
|
1130
1071
|
To get started, confirm your account and set your own password by
|
|
1131
1072
|
clicking the link below:
|
|
1132
1073
|
|
|
1133
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
|
1074
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=VxP4HTqHiXT4qcDC6x2r )
|
|
1134
1075
|
|
|
1135
1076
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
1136
|
-
----==
|
|
1077
|
+
----==_mimepart_56c71b5c2b0e_1c1f3ff851863bf0512e5
|
|
1137
1078
|
Content-Type: text/html;
|
|
1138
1079
|
charset=UTF-8
|
|
1139
1080
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1179,7 +1120,7 @@ body {
|
|
|
1179
1120
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
|
1180
1121
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
|
1181
1122
|
<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">
|
|
1182
|
-
<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=
|
|
1123
|
+
<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=VxP4HTqHiXT4qcDC6x2r" 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>
|
|
1183
1124
|
</td>
|
|
1184
1125
|
</tr>
|
|
1185
1126
|
</table>
|
|
@@ -1224,48 +1165,34 @@ body {
|
|
|
1224
1165
|
</body>
|
|
1225
1166
|
</html>
|
|
1226
1167
|
|
|
1227
|
-
----==
|
|
1168
|
+
----==_mimepart_56c71b5c2b0e_1c1f3ff851863bf0512e5--
|
|
1228
1169
|
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
[1m[
|
|
1233
|
-
[1m[
|
|
1234
|
-
|
|
1235
|
-
PushType::UsersControllerTest::PUT #invite: test_0003_anonymous
|
|
1236
|
-
---------------------------------------------------------------
|
|
1237
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1238
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1239
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1240
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1241
|
-
[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
|
|
1242
|
-
[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
|
|
1243
|
-
[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-14@example.com"], ["confirmation_sent_at", "2016-02-15 15:07:02.013602"], ["confirmed_at", "2016-02-15 15:07:02.013658"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-15 15:07:02.015110"], ["updated_at", "2016-02-15 15:07:02.015110"]]
|
|
1170
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1171
|
+
Processing by PushType::UsersController#invite as HTML
|
|
1172
|
+
Parameters: {"id"=>"920d1336-48c5-4f87-9d33-39dd5cd4585d"}
|
|
1173
|
+
[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", "8d9e60fc-433f-4c7a-855b-c2773f4c797c"]]
|
|
1174
|
+
[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", "920d1336-48c5-4f87-9d33-39dd5cd4585d"]]
|
|
1175
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1244
1176
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1245
|
-
|
|
1246
|
-
[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
|
|
1247
|
-
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
|
|
1248
|
-
[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", "cbc221ba39e378e720179a240dd1b13eb182ff3f721c4ae7ad2a84a5937ef5b6"]]
|
|
1249
|
-
[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-15@example.com"], ["created_at", "2016-02-15 15:07:02.017526"], ["updated_at", "2016-02-15 15:07:02.017526"], ["confirmation_token", "Q4f4uXxb_sD6sYgy56Fa"], ["confirmation_sent_at", "2016-02-15 15:07:02.019209"]]
|
|
1250
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
|
|
1177
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
1251
1178
|
|
|
1252
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
|
1179
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms
|
|
1253
1180
|
|
|
1254
|
-
Sent mail to joe-
|
|
1255
|
-
Date:
|
|
1181
|
+
Sent mail to joe-12@example.com (3.6ms)
|
|
1182
|
+
Date: Fri, 19 Feb 2016 13:40:44 +0000
|
|
1256
1183
|
From: pushtype@example.com
|
|
1257
1184
|
Reply-To: pushtype@example.com
|
|
1258
|
-
To: joe-
|
|
1259
|
-
Message-ID: <
|
|
1185
|
+
To: joe-12@example.com
|
|
1186
|
+
Message-ID: <56c71b5cd193_1c1f3ff851863bf051663@Aarons-iMac.local.mail>
|
|
1260
1187
|
Subject: [PushType] Confirm your account
|
|
1261
1188
|
Mime-Version: 1.0
|
|
1262
1189
|
Content-Type: multipart/alternative;
|
|
1263
|
-
boundary="--==
|
|
1190
|
+
boundary="--==_mimepart_56c71b5ccbbb_1c1f3ff851863bf0515f2";
|
|
1264
1191
|
charset=UTF-8
|
|
1265
1192
|
Content-Transfer-Encoding: 7bit
|
|
1266
1193
|
|
|
1267
1194
|
|
|
1268
|
-
----==
|
|
1195
|
+
----==_mimepart_56c71b5ccbbb_1c1f3ff851863bf0515f2
|
|
1269
1196
|
Content-Type: text/plain;
|
|
1270
1197
|
charset=UTF-8
|
|
1271
1198
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1280,10 +1207,10 @@ created for you.
|
|
|
1280
1207
|
To get started, confirm your account and set your own password by
|
|
1281
1208
|
clicking the link below:
|
|
1282
1209
|
|
|
1283
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
|
1210
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=VxP4HTqHiXT4qcDC6x2r )
|
|
1284
1211
|
|
|
1285
1212
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
1286
|
-
----==
|
|
1213
|
+
----==_mimepart_56c71b5ccbbb_1c1f3ff851863bf0515f2
|
|
1287
1214
|
Content-Type: text/html;
|
|
1288
1215
|
charset=UTF-8
|
|
1289
1216
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1329,7 +1256,7 @@ body {
|
|
|
1329
1256
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
|
1330
1257
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
|
1331
1258
|
<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">
|
|
1332
|
-
<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=
|
|
1259
|
+
<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=VxP4HTqHiXT4qcDC6x2r" 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>
|
|
1333
1260
|
</td>
|
|
1334
1261
|
</tr>
|
|
1335
1262
|
</table>
|
|
@@ -1374,34 +1301,48 @@ body {
|
|
|
1374
1301
|
</body>
|
|
1375
1302
|
</html>
|
|
1376
1303
|
|
|
1377
|
-
----==
|
|
1304
|
+
----==_mimepart_56c71b5ccbbb_1c1f3ff851863bf0515f2--
|
|
1378
1305
|
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
[1m[
|
|
1383
|
-
[1m[
|
|
1306
|
+
Redirected to /push_type/users
|
|
1307
|
+
Completed 302 Found in 40ms (ActiveRecord: 0.5ms)
|
|
1308
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1309
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1310
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
1311
|
+
---------------------------------------------------------------
|
|
1312
|
+
PushType::UsersControllerTest::PUT #invite: test_0003_anonymous
|
|
1313
|
+
---------------------------------------------------------------
|
|
1314
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1315
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1316
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1384
1317
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1385
|
-
[1m[
|
|
1318
|
+
[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
|
|
1319
|
+
[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
|
|
1320
|
+
[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-13@example.com"], ["confirmation_sent_at", "2016-02-19 13:40:44.058322"], ["confirmed_at", "2016-02-19 13:40:44.058384"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-19 13:40:44.059880"], ["updated_at", "2016-02-19 13:40:44.059880"]]
|
|
1321
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1322
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1323
|
+
[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
|
|
1324
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1[0m
|
|
1325
|
+
[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", "5a23928d4ce2694258a17585856f713585a71e991fd41986117e1001658c65df"]]
|
|
1326
|
+
[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", "2016-02-19 13:40:44.062554"], ["updated_at", "2016-02-19 13:40:44.062554"], ["confirmation_token", "Q7JcEiPzdkRXR-2htCBy"], ["confirmation_sent_at", "2016-02-19 13:40:44.063279"]]
|
|
1386
1327
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
|
|
1387
1328
|
|
|
1388
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
|
1329
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
|
|
1389
1330
|
|
|
1390
|
-
Sent mail to joe-
|
|
1391
|
-
Date:
|
|
1331
|
+
Sent mail to joe-14@example.com (3.2ms)
|
|
1332
|
+
Date: Fri, 19 Feb 2016 13:40:44 +0000
|
|
1392
1333
|
From: pushtype@example.com
|
|
1393
1334
|
Reply-To: pushtype@example.com
|
|
1394
|
-
To: joe-
|
|
1395
|
-
Message-ID: <
|
|
1335
|
+
To: joe-14@example.com
|
|
1336
|
+
Message-ID: <56c71b5c1808f_1c1f3ff851863bf0519bf@Aarons-iMac.local.mail>
|
|
1396
1337
|
Subject: [PushType] Confirm your account
|
|
1397
1338
|
Mime-Version: 1.0
|
|
1398
1339
|
Content-Type: multipart/alternative;
|
|
1399
|
-
boundary="--==
|
|
1340
|
+
boundary="--==_mimepart_56c71b5c17af4_1c1f3ff851863bf051884";
|
|
1400
1341
|
charset=UTF-8
|
|
1401
1342
|
Content-Transfer-Encoding: 7bit
|
|
1402
1343
|
|
|
1403
1344
|
|
|
1404
|
-
----==
|
|
1345
|
+
----==_mimepart_56c71b5c17af4_1c1f3ff851863bf051884
|
|
1405
1346
|
Content-Type: text/plain;
|
|
1406
1347
|
charset=UTF-8
|
|
1407
1348
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1416,10 +1357,10 @@ created for you.
|
|
|
1416
1357
|
To get started, confirm your account and set your own password by
|
|
1417
1358
|
clicking the link below:
|
|
1418
1359
|
|
|
1419
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
|
1360
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Q7JcEiPzdkRXR-2htCBy )
|
|
1420
1361
|
|
|
1421
1362
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
1422
|
-
----==
|
|
1363
|
+
----==_mimepart_56c71b5c17af4_1c1f3ff851863bf051884
|
|
1423
1364
|
Content-Type: text/html;
|
|
1424
1365
|
charset=UTF-8
|
|
1425
1366
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1465,7 +1406,7 @@ body {
|
|
|
1465
1406
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
|
1466
1407
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
|
1467
1408
|
<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">
|
|
1468
|
-
<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=
|
|
1409
|
+
<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=Q7JcEiPzdkRXR-2htCBy" 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>
|
|
1469
1410
|
</td>
|
|
1470
1411
|
</tr>
|
|
1471
1412
|
</table>
|
|
@@ -1510,48 +1451,34 @@ body {
|
|
|
1510
1451
|
</body>
|
|
1511
1452
|
</html>
|
|
1512
1453
|
|
|
1513
|
-
----==
|
|
1454
|
+
----==_mimepart_56c71b5c17af4_1c1f3ff851863bf051884--
|
|
1514
1455
|
|
|
1515
|
-
Redirected to /push_type/users
|
|
1516
|
-
Completed 302 Found in 45ms (ActiveRecord: 0.4ms)
|
|
1517
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1518
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1519
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
1520
|
-
---------------------------------------------------------------
|
|
1521
|
-
PushType::UsersControllerTest::PUT #invite: test_0001_anonymous
|
|
1522
|
-
---------------------------------------------------------------
|
|
1523
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1524
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1525
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1526
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1527
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1[0m
|
|
1528
|
-
[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
|
|
1529
|
-
[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-16@example.com"], ["confirmation_sent_at", "2016-02-15 15:07:02.116794"], ["confirmed_at", "2016-02-15 15:07:02.116893"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-15 15:07:02.118361"], ["updated_at", "2016-02-15 15:07:02.118361"]]
|
|
1530
1456
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
[1m[36mPushType::User
|
|
1534
|
-
[1m[35mPushType::User Load (0.
|
|
1535
|
-
[1m[
|
|
1457
|
+
Processing by PushType::UsersController#invite as HTML
|
|
1458
|
+
Parameters: {"id"=>"771326f0-bc1f-4a04-b1f2-a3f385d3cb4e"}
|
|
1459
|
+
[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", "c25c9252-879a-4154-b7ce-ed305bf103b9"]]
|
|
1460
|
+
[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", "771326f0-bc1f-4a04-b1f2-a3f385d3cb4e"]]
|
|
1461
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1462
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1536
1463
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
|
|
1537
1464
|
|
|
1538
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
|
1465
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
|
|
1539
1466
|
|
|
1540
|
-
Sent mail to joe-
|
|
1541
|
-
Date:
|
|
1467
|
+
Sent mail to joe-14@example.com (3.2ms)
|
|
1468
|
+
Date: Fri, 19 Feb 2016 13:40:44 +0000
|
|
1542
1469
|
From: pushtype@example.com
|
|
1543
1470
|
Reply-To: pushtype@example.com
|
|
1544
|
-
To: joe-
|
|
1545
|
-
Message-ID: <
|
|
1471
|
+
To: joe-14@example.com
|
|
1472
|
+
Message-ID: <56c71b5c21c50_1c1f3ff851863bf052272@Aarons-iMac.local.mail>
|
|
1546
1473
|
Subject: [PushType] Confirm your account
|
|
1547
1474
|
Mime-Version: 1.0
|
|
1548
1475
|
Content-Type: multipart/alternative;
|
|
1549
|
-
boundary="--==
|
|
1476
|
+
boundary="--==_mimepart_56c71b5c216cf_1c1f3ff851863bf0521cf";
|
|
1550
1477
|
charset=UTF-8
|
|
1551
1478
|
Content-Transfer-Encoding: 7bit
|
|
1552
1479
|
|
|
1553
1480
|
|
|
1554
|
-
----==
|
|
1481
|
+
----==_mimepart_56c71b5c216cf_1c1f3ff851863bf0521cf
|
|
1555
1482
|
Content-Type: text/plain;
|
|
1556
1483
|
charset=UTF-8
|
|
1557
1484
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1566,10 +1493,10 @@ created for you.
|
|
|
1566
1493
|
To get started, confirm your account and set your own password by
|
|
1567
1494
|
clicking the link below:
|
|
1568
1495
|
|
|
1569
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
|
1496
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Q7JcEiPzdkRXR-2htCBy )
|
|
1570
1497
|
|
|
1571
1498
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
1572
|
-
----==
|
|
1499
|
+
----==_mimepart_56c71b5c216cf_1c1f3ff851863bf0521cf
|
|
1573
1500
|
Content-Type: text/html;
|
|
1574
1501
|
charset=UTF-8
|
|
1575
1502
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1615,7 +1542,7 @@ body {
|
|
|
1615
1542
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
|
1616
1543
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
|
1617
1544
|
<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">
|
|
1618
|
-
<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=
|
|
1545
|
+
<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=Q7JcEiPzdkRXR-2htCBy" 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>
|
|
1619
1546
|
</td>
|
|
1620
1547
|
</tr>
|
|
1621
1548
|
</table>
|
|
@@ -1660,34 +1587,43 @@ body {
|
|
|
1660
1587
|
</body>
|
|
1661
1588
|
</html>
|
|
1662
1589
|
|
|
1663
|
-
----==
|
|
1590
|
+
----==_mimepart_56c71b5c216cf_1c1f3ff851863bf0521cf--
|
|
1664
1591
|
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
[1m[
|
|
1669
|
-
[1m[
|
|
1592
|
+
Redirected to /push_type/users
|
|
1593
|
+
Completed 302 Found in 39ms (ActiveRecord: 0.4ms)
|
|
1594
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1595
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1596
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1597
|
+
------------------------------------------------------------------------------------------
|
|
1598
|
+
PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0001_anonymous
|
|
1599
|
+
------------------------------------------------------------------------------------------
|
|
1600
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1601
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1602
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1670
1603
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1671
|
-
[1m[
|
|
1672
|
-
|
|
1604
|
+
[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
|
|
1605
|
+
[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
|
|
1606
|
+
[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", "83374a020fa298cde341be108ee06ba449123753c6827929d9a49636f549f8da"]]
|
|
1607
|
+
[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", "2016-02-19 13:40:44.145245"], ["updated_at", "2016-02-19 13:40:44.145245"], ["confirmation_token", "QcqsJa3fbdbg2q9zzTn5"], ["confirmation_sent_at", "2016-02-19 13:40:44.146010"]]
|
|
1608
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
1673
1609
|
|
|
1674
1610
|
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
|
|
1675
1611
|
|
|
1676
|
-
Sent mail to joe-
|
|
1677
|
-
Date:
|
|
1612
|
+
Sent mail to joe-15@example.com (3.3ms)
|
|
1613
|
+
Date: Fri, 19 Feb 2016 13:40:44 +0000
|
|
1678
1614
|
From: pushtype@example.com
|
|
1679
1615
|
Reply-To: pushtype@example.com
|
|
1680
|
-
To: joe-
|
|
1681
|
-
Message-ID: <
|
|
1616
|
+
To: joe-15@example.com
|
|
1617
|
+
Message-ID: <56c71b5c3da39_1c1f3ff851863bf05251@Aarons-iMac.local.mail>
|
|
1682
1618
|
Subject: [PushType] Confirm your account
|
|
1683
1619
|
Mime-Version: 1.0
|
|
1684
1620
|
Content-Type: multipart/alternative;
|
|
1685
|
-
boundary="--==
|
|
1621
|
+
boundary="--==_mimepart_56c71b5c3d46b_1c1f3ff851863bf05241a";
|
|
1686
1622
|
charset=UTF-8
|
|
1687
1623
|
Content-Transfer-Encoding: 7bit
|
|
1688
1624
|
|
|
1689
1625
|
|
|
1690
|
-
----==
|
|
1626
|
+
----==_mimepart_56c71b5c3d46b_1c1f3ff851863bf05241a
|
|
1691
1627
|
Content-Type: text/plain;
|
|
1692
1628
|
charset=UTF-8
|
|
1693
1629
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1702,10 +1638,10 @@ created for you.
|
|
|
1702
1638
|
To get started, confirm your account and set your own password by
|
|
1703
1639
|
clicking the link below:
|
|
1704
1640
|
|
|
1705
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
|
1641
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=QcqsJa3fbdbg2q9zzTn5 )
|
|
1706
1642
|
|
|
1707
1643
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
1708
|
-
----==
|
|
1644
|
+
----==_mimepart_56c71b5c3d46b_1c1f3ff851863bf05241a
|
|
1709
1645
|
Content-Type: text/html;
|
|
1710
1646
|
charset=UTF-8
|
|
1711
1647
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1751,7 +1687,7 @@ body {
|
|
|
1751
1687
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
|
1752
1688
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
|
1753
1689
|
<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">
|
|
1754
|
-
<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=
|
|
1690
|
+
<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=QcqsJa3fbdbg2q9zzTn5" 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>
|
|
1755
1691
|
</td>
|
|
1756
1692
|
</tr>
|
|
1757
1693
|
</table>
|
|
@@ -1796,70 +1732,49 @@ body {
|
|
|
1796
1732
|
</body>
|
|
1797
1733
|
</html>
|
|
1798
1734
|
|
|
1799
|
-
----==
|
|
1735
|
+
----==_mimepart_56c71b5c3d46b_1c1f3ff851863bf05241a--
|
|
1800
1736
|
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
[1m[
|
|
1805
|
-
[1m[
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1810
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1811
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1812
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1813
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1814
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1815
|
-
--------------------------------------------------------
|
|
1816
|
-
PushType::AuthenticationMethodsTest: test_0001_anonymous
|
|
1817
|
-
--------------------------------------------------------
|
|
1818
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1819
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1820
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1737
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1738
|
+
Processing by PushType::ConfirmationsController#update as HTML
|
|
1739
|
+
Parameters: {"user"=>{"confirmation_token"=>"QcqsJa3fbdbg2q9zzTn5", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
|
1740
|
+
[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", "QcqsJa3fbdbg2q9zzTn5"]]
|
|
1741
|
+
[1m[35mPushType::User Exists (0.3ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-15@example.com' AND "push_type_users"."id" != 'b6f55d9c-dac3-4758-92f1-856cb442b78a') LIMIT 1
|
|
1742
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
|
1743
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.9ms)
|
|
1744
|
+
Completed 200 OK in 9ms (Views: 6.0ms | ActiveRecord: 0.4ms)
|
|
1821
1745
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1822
|
-
[1m[35m (0.
|
|
1746
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1823
1747
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1824
|
-
|
|
1825
|
-
PushType::
|
|
1826
|
-
|
|
1827
|
-
[1m[35m (0.
|
|
1828
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1829
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1830
|
-
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1831
|
-
[1m[35m (0.0ms)[0m ROLLBACK
|
|
1832
|
-
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
|
1833
|
-
----------------------------------------------------------------------------------------
|
|
1834
|
-
PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0001_anonymous
|
|
1835
|
-
----------------------------------------------------------------------------------------
|
|
1836
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1748
|
+
------------------------------------------------------------------------------------------
|
|
1749
|
+
PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0002_anonymous
|
|
1750
|
+
------------------------------------------------------------------------------------------
|
|
1751
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1837
1752
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1838
1753
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1839
|
-
[1m[36m (0.
|
|
1840
|
-
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-
|
|
1841
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-
|
|
1842
|
-
[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", "
|
|
1843
|
-
[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-
|
|
1754
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1755
|
+
[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
|
|
1756
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1[0m
|
|
1757
|
+
[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", "d32a0643bed62d7c0c2ba8eb1f6264d78a3aad9880f099c39fbe81e306844d9d"]]
|
|
1758
|
+
[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", "2016-02-19 13:40:44.268265"], ["updated_at", "2016-02-19 13:40:44.268265"], ["confirmation_token", "tEPHCEjb3qqvqpK5V1V4"], ["confirmation_sent_at", "2016-02-19 13:40:44.269066"]]
|
|
1844
1759
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
|
|
1845
1760
|
|
|
1846
1761
|
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
|
|
1847
1762
|
|
|
1848
|
-
Sent mail to joe-
|
|
1849
|
-
Date:
|
|
1763
|
+
Sent mail to joe-16@example.com (3.3ms)
|
|
1764
|
+
Date: Fri, 19 Feb 2016 13:40:44 +0000
|
|
1850
1765
|
From: pushtype@example.com
|
|
1851
1766
|
Reply-To: pushtype@example.com
|
|
1852
|
-
To: joe-
|
|
1853
|
-
Message-ID: <
|
|
1767
|
+
To: joe-16@example.com
|
|
1768
|
+
Message-ID: <56c71b5c49c98_1c1f3ff851863bf0528cb@Aarons-iMac.local.mail>
|
|
1854
1769
|
Subject: [PushType] Confirm your account
|
|
1855
1770
|
Mime-Version: 1.0
|
|
1856
1771
|
Content-Type: multipart/alternative;
|
|
1857
|
-
boundary="--==
|
|
1772
|
+
boundary="--==_mimepart_56c71b5c4964e_1c1f3ff851863bf0527a4";
|
|
1858
1773
|
charset=UTF-8
|
|
1859
1774
|
Content-Transfer-Encoding: 7bit
|
|
1860
1775
|
|
|
1861
1776
|
|
|
1862
|
-
----==
|
|
1777
|
+
----==_mimepart_56c71b5c4964e_1c1f3ff851863bf0527a4
|
|
1863
1778
|
Content-Type: text/plain;
|
|
1864
1779
|
charset=UTF-8
|
|
1865
1780
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1874,10 +1789,10 @@ created for you.
|
|
|
1874
1789
|
To get started, confirm your account and set your own password by
|
|
1875
1790
|
clicking the link below:
|
|
1876
1791
|
|
|
1877
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
|
1792
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=tEPHCEjb3qqvqpK5V1V4 )
|
|
1878
1793
|
|
|
1879
1794
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
1880
|
-
----==
|
|
1795
|
+
----==_mimepart_56c71b5c4964e_1c1f3ff851863bf0527a4
|
|
1881
1796
|
Content-Type: text/html;
|
|
1882
1797
|
charset=UTF-8
|
|
1883
1798
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1923,7 +1838,7 @@ body {
|
|
|
1923
1838
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
|
1924
1839
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
|
1925
1840
|
<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">
|
|
1926
|
-
<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=
|
|
1841
|
+
<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=tEPHCEjb3qqvqpK5V1V4" 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>
|
|
1927
1842
|
</td>
|
|
1928
1843
|
</tr>
|
|
1929
1844
|
</table>
|
|
@@ -1968,55 +1883,49 @@ body {
|
|
|
1968
1883
|
</body>
|
|
1969
1884
|
</html>
|
|
1970
1885
|
|
|
1971
|
-
----==
|
|
1886
|
+
----==_mimepart_56c71b5c4964e_1c1f3ff851863bf0527a4--
|
|
1972
1887
|
|
|
1973
1888
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1974
1889
|
Processing by PushType::ConfirmationsController#update as HTML
|
|
1975
|
-
Parameters: {"user"=>{"confirmation_token"=>"
|
|
1976
|
-
[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", "
|
|
1977
|
-
[1m[35mPushType::User Exists (0.
|
|
1890
|
+
Parameters: {"user"=>{"confirmation_token"=>"tEPHCEjb3qqvqpK5V1V4", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
|
1891
|
+
[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", "tEPHCEjb3qqvqpK5V1V4"]]
|
|
1892
|
+
[1m[35mPushType::User Exists (0.3ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-16@example.com' AND "push_type_users"."id" != '073d8212-5f27-4663-9a64-2896ff359b7c') LIMIT 1
|
|
1893
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
|
1894
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.9ms)
|
|
1895
|
+
Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.4ms)
|
|
1896
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1897
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1898
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1899
|
+
------------------------------------------------------------------------------------------
|
|
1900
|
+
PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0003_anonymous
|
|
1901
|
+
------------------------------------------------------------------------------------------
|
|
1902
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1903
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1904
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1978
1905
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1979
|
-
[1m[
|
|
1980
|
-
[1m[
|
|
1981
|
-
[1m[
|
|
1982
|
-
[1m[36mSQL (0.
|
|
1983
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1984
|
-
Redirected to http://test.host/push_type/
|
|
1985
|
-
Completed 302 Found in 7ms (ActiveRecord: 1.0ms)
|
|
1986
|
-
[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", "c7da2289-6627-4779-b084-170180d816f2"]]
|
|
1987
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1988
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1989
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
1990
|
-
----------------------------------------------------------------------------------------
|
|
1991
|
-
PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0002_anonymous
|
|
1992
|
-
----------------------------------------------------------------------------------------
|
|
1993
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1994
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1995
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1996
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
|
1997
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1[0m
|
|
1998
|
-
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
|
|
1999
|
-
[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", "8af8561289764582fec63e3b46a1459ce134258f987ee2d80de5f62ce8f3741e"]]
|
|
2000
|
-
[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-19@example.com"], ["created_at", "2016-02-15 15:07:02.255720"], ["updated_at", "2016-02-15 15:07:02.255720"], ["confirmation_token", "Wq5YPyfBoEa7skPRJvKs"], ["confirmation_sent_at", "2016-02-15 15:07:02.256345"]]
|
|
1906
|
+
[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
|
|
1907
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1[0m
|
|
1908
|
+
[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", "29b7a81db54182ee80f915d1f9ed37da61f1182e4558e6b18fbf5d69c9be43d3"]]
|
|
1909
|
+
[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", "2016-02-19 13:40:44.317562"], ["updated_at", "2016-02-19 13:40:44.317562"], ["confirmation_token", "_snLggDrxVeyyV6yXjMF"], ["confirmation_sent_at", "2016-02-19 13:40:44.318346"]]
|
|
2001
1910
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
|
|
2002
1911
|
|
|
2003
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
|
1912
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
|
|
2004
1913
|
|
|
2005
|
-
Sent mail to joe-
|
|
2006
|
-
Date:
|
|
1914
|
+
Sent mail to joe-17@example.com (3.4ms)
|
|
1915
|
+
Date: Fri, 19 Feb 2016 13:40:44 +0000
|
|
2007
1916
|
From: pushtype@example.com
|
|
2008
1917
|
Reply-To: pushtype@example.com
|
|
2009
|
-
To: joe-
|
|
2010
|
-
Message-ID: <
|
|
1918
|
+
To: joe-17@example.com
|
|
1919
|
+
Message-ID: <56c71b5c55e60_1c1f3ff851863bf0531d4@Aarons-iMac.local.mail>
|
|
2011
1920
|
Subject: [PushType] Confirm your account
|
|
2012
1921
|
Mime-Version: 1.0
|
|
2013
1922
|
Content-Type: multipart/alternative;
|
|
2014
|
-
boundary="--==
|
|
1923
|
+
boundary="--==_mimepart_56c71b5c55844_1c1f3ff851863bf0530bc";
|
|
2015
1924
|
charset=UTF-8
|
|
2016
1925
|
Content-Transfer-Encoding: 7bit
|
|
2017
1926
|
|
|
2018
1927
|
|
|
2019
|
-
----==
|
|
1928
|
+
----==_mimepart_56c71b5c55844_1c1f3ff851863bf0530bc
|
|
2020
1929
|
Content-Type: text/plain;
|
|
2021
1930
|
charset=UTF-8
|
|
2022
1931
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2031,10 +1940,10 @@ created for you.
|
|
|
2031
1940
|
To get started, confirm your account and set your own password by
|
|
2032
1941
|
clicking the link below:
|
|
2033
1942
|
|
|
2034
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
|
1943
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=_snLggDrxVeyyV6yXjMF )
|
|
2035
1944
|
|
|
2036
1945
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
2037
|
-
----==
|
|
1946
|
+
----==_mimepart_56c71b5c55844_1c1f3ff851863bf0530bc
|
|
2038
1947
|
Content-Type: text/html;
|
|
2039
1948
|
charset=UTF-8
|
|
2040
1949
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2080,7 +1989,7 @@ body {
|
|
|
2080
1989
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
|
2081
1990
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
|
2082
1991
|
<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">
|
|
2083
|
-
<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=
|
|
1992
|
+
<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=_snLggDrxVeyyV6yXjMF" 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>
|
|
2084
1993
|
</td>
|
|
2085
1994
|
</tr>
|
|
2086
1995
|
</table>
|
|
@@ -2125,88 +2034,49 @@ body {
|
|
|
2125
2034
|
</body>
|
|
2126
2035
|
</html>
|
|
2127
2036
|
|
|
2128
|
-
----==
|
|
2037
|
+
----==_mimepart_56c71b5c55844_1c1f3ff851863bf0530bc--
|
|
2129
2038
|
|
|
2130
|
-
[1m[
|
|
2039
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
|
|
2131
2040
|
Processing by PushType::ConfirmationsController#update as HTML
|
|
2132
|
-
Parameters: {"user"=>{"confirmation_token"=>"
|
|
2133
|
-
[1m[
|
|
2134
|
-
[1m[
|
|
2135
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
2136
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4[0m [["encrypted_password", "$2a$04$b6OMojGEnWWQaIRTIOA0CuExx2gfQZTHrdzhHUT1p4vAmO9WdvkEq"], ["confirmed_at", "2016-02-15 15:07:02.293134"], ["updated_at", "2016-02-15 15:07:02.293560"], ["id", "f7710d29-1e86-49a2-a9fd-fa150e2d7caa"]]
|
|
2137
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
2138
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
2139
|
-
[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", "2016-02-15 15:07:02.294842"], ["current_sign_in_at", "2016-02-15 15:07:02.294842"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2016-02-15 15:07:02.295231"], ["id", "f7710d29-1e86-49a2-a9fd-fa150e2d7caa"]]
|
|
2140
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
2141
|
-
Redirected to http://test.host/push_type/
|
|
2142
|
-
Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
|
|
2143
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
2144
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
2145
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
2146
|
-
------------------------------------------------------------------------------------------------------
|
|
2147
|
-
PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
|
|
2148
|
-
------------------------------------------------------------------------------------------------------
|
|
2149
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2150
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2151
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2152
|
-
Processing by PushType::ConfirmationsController#show as HTML
|
|
2153
|
-
Parameters: {"confirmation_token"=>"invalid"}
|
|
2154
|
-
[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"]]
|
|
2155
|
-
[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"]]
|
|
2156
|
-
[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", "ba2627981609cc5370212e149c1bd0b422c4d0872cb27260137da523d795bb55"]]
|
|
2041
|
+
Parameters: {"user"=>{"confirmation_token"=>"_snLggDrxVeyyV6yXjMF", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
|
2042
|
+
[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", "_snLggDrxVeyyV6yXjMF"]]
|
|
2043
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-17@example.com' AND "push_type_users"."id" != '613499d6-5b25-428e-a596-58fca002e9aa') LIMIT 1
|
|
2157
2044
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
|
2158
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/
|
|
2159
|
-
Completed 200 OK in
|
|
2045
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.7ms)
|
|
2046
|
+
Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 0.4ms)
|
|
2160
2047
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2161
2048
|
[1m[35m (0.1ms)[0m ROLLBACK
|
|
2162
2049
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
2163
|
-
|
|
2164
|
-
PushType::ConfirmationsControllerTest::
|
|
2165
|
-
|
|
2166
|
-
[1m[35m (0.
|
|
2167
|
-
[1m[36m (0.
|
|
2050
|
+
----------------------------------------------------------------------------------------
|
|
2051
|
+
PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0001_anonymous
|
|
2052
|
+
----------------------------------------------------------------------------------------
|
|
2053
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2054
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2168
2055
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
[1m[36mPushType::User
|
|
2172
|
-
[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", "
|
|
2173
|
-
[1m[
|
|
2174
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/
|
|
2175
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.2ms)
|
|
2176
|
-
Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 0.3ms)
|
|
2177
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
2178
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
2179
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
2180
|
-
------------------------------------------------------------------------------------------
|
|
2181
|
-
PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0003_anonymous
|
|
2182
|
-
------------------------------------------------------------------------------------------
|
|
2183
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2184
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2185
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2186
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
|
2187
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1[0m
|
|
2188
|
-
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
|
|
2189
|
-
[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", "9cbe75ec35cab355d11ffa1df097f18137901f4c1225a8627a12ec1fa9412071"]]
|
|
2190
|
-
[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-20@example.com"], ["created_at", "2016-02-15 15:07:02.321086"], ["updated_at", "2016-02-15 15:07:02.321086"], ["confirmation_token", "iVCLqXiXY9ByxKt6Rb_8"], ["confirmation_sent_at", "2016-02-15 15:07:02.321777"]]
|
|
2191
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
|
|
2056
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
2057
|
+
[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
|
|
2058
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1[0m
|
|
2059
|
+
[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", "f2b8df42f6f5e6af64028cd1ff0991e67c95d78be2e2b7a04ce1c9b56f0e9fe4"]]
|
|
2060
|
+
[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-18@example.com"], ["created_at", "2016-02-19 13:40:44.367560"], ["updated_at", "2016-02-19 13:40:44.367560"], ["confirmation_token", "Qd4sNTMqiEi53ABw6C-a"], ["confirmation_sent_at", "2016-02-19 13:40:44.368353"]]
|
|
2061
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
2192
2062
|
|
|
2193
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
|
2063
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
|
|
2194
2064
|
|
|
2195
|
-
Sent mail to joe-
|
|
2196
|
-
Date:
|
|
2065
|
+
Sent mail to joe-18@example.com (3.4ms)
|
|
2066
|
+
Date: Fri, 19 Feb 2016 13:40:44 +0000
|
|
2197
2067
|
From: pushtype@example.com
|
|
2198
2068
|
Reply-To: pushtype@example.com
|
|
2199
|
-
To: joe-
|
|
2200
|
-
Message-ID: <
|
|
2069
|
+
To: joe-18@example.com
|
|
2070
|
+
Message-ID: <56c71b5c61dad_1c1f3ff851863bf053495@Aarons-iMac.local.mail>
|
|
2201
2071
|
Subject: [PushType] Confirm your account
|
|
2202
2072
|
Mime-Version: 1.0
|
|
2203
2073
|
Content-Type: multipart/alternative;
|
|
2204
|
-
boundary="--==
|
|
2074
|
+
boundary="--==_mimepart_56c71b5c61741_1c1f3ff851863bf053372";
|
|
2205
2075
|
charset=UTF-8
|
|
2206
2076
|
Content-Transfer-Encoding: 7bit
|
|
2207
2077
|
|
|
2208
2078
|
|
|
2209
|
-
----==
|
|
2079
|
+
----==_mimepart_56c71b5c61741_1c1f3ff851863bf053372
|
|
2210
2080
|
Content-Type: text/plain;
|
|
2211
2081
|
charset=UTF-8
|
|
2212
2082
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2221,10 +2091,10 @@ created for you.
|
|
|
2221
2091
|
To get started, confirm your account and set your own password by
|
|
2222
2092
|
clicking the link below:
|
|
2223
2093
|
|
|
2224
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
|
2094
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Qd4sNTMqiEi53ABw6C-a )
|
|
2225
2095
|
|
|
2226
2096
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
2227
|
-
----==
|
|
2097
|
+
----==_mimepart_56c71b5c61741_1c1f3ff851863bf053372
|
|
2228
2098
|
Content-Type: text/html;
|
|
2229
2099
|
charset=UTF-8
|
|
2230
2100
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2270,7 +2140,7 @@ body {
|
|
|
2270
2140
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
|
2271
2141
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
|
2272
2142
|
<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">
|
|
2273
|
-
<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=
|
|
2143
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=Qd4sNTMqiEi53ABw6C-a" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
|
|
2274
2144
|
</td>
|
|
2275
2145
|
</tr>
|
|
2276
2146
|
</table>
|
|
@@ -2315,49 +2185,55 @@ body {
|
|
|
2315
2185
|
</body>
|
|
2316
2186
|
</html>
|
|
2317
2187
|
|
|
2318
|
-
----==
|
|
2188
|
+
----==_mimepart_56c71b5c61741_1c1f3ff851863bf053372--
|
|
2319
2189
|
|
|
2320
|
-
[1m[
|
|
2190
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
2321
2191
|
Processing by PushType::ConfirmationsController#update as HTML
|
|
2322
|
-
Parameters: {"user"=>{"confirmation_token"=>"
|
|
2323
|
-
[1m[
|
|
2324
|
-
[1m[
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2192
|
+
Parameters: {"user"=>{"confirmation_token"=>"Qd4sNTMqiEi53ABw6C-a", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
|
2193
|
+
[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", "Qd4sNTMqiEi53ABw6C-a"]]
|
|
2194
|
+
[1m[35mPushType::User Exists (0.3ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-18@example.com' AND "push_type_users"."id" != '710b1017-ff96-440d-8716-a396835d4311') LIMIT 1
|
|
2195
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
2196
|
+
[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$igHSAtD.P6y6V2991Cl95..DU3JsL4sQCY5kgqFL2ub7PmtMlhfOG"], ["confirmed_at", "2016-02-19 13:40:44.407456"], ["updated_at", "2016-02-19 13:40:44.407786"], ["id", "710b1017-ff96-440d-8716-a396835d4311"]]
|
|
2197
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
2198
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
2199
|
+
[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", "2016-02-19 13:40:44.409540"], ["current_sign_in_at", "2016-02-19 13:40:44.409540"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2016-02-19 13:40:44.410103"], ["id", "710b1017-ff96-440d-8716-a396835d4311"]]
|
|
2200
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
2201
|
+
Redirected to http://test.host/push_type/
|
|
2202
|
+
Completed 302 Found in 7ms (ActiveRecord: 1.1ms)
|
|
2203
|
+
[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", "710b1017-ff96-440d-8716-a396835d4311"]]
|
|
2328
2204
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
2329
2205
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
2330
2206
|
[1m[35m (0.1ms)[0m BEGIN
|
|
2331
|
-
|
|
2332
|
-
PushType::ConfirmationsControllerTest::PUT #update::with
|
|
2333
|
-
|
|
2207
|
+
----------------------------------------------------------------------------------------
|
|
2208
|
+
PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0002_anonymous
|
|
2209
|
+
----------------------------------------------------------------------------------------
|
|
2334
2210
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2335
2211
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2336
2212
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2337
2213
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
|
2338
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-
|
|
2339
|
-
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-
|
|
2340
|
-
[1m[36mPushType::User Load (0.
|
|
2341
|
-
[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-
|
|
2214
|
+
[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
|
|
2215
|
+
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
|
|
2216
|
+
[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", "c0d0793b3d270dee439c96ada766cbd8ea86b149f21b551218a31bc755d8d24a"]]
|
|
2217
|
+
[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-19@example.com"], ["created_at", "2016-02-19 13:40:44.415511"], ["updated_at", "2016-02-19 13:40:44.415511"], ["confirmation_token", "m8eSskAyNz_qp1PqS-yS"], ["confirmation_sent_at", "2016-02-19 13:40:44.416218"]]
|
|
2342
2218
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
|
|
2343
2219
|
|
|
2344
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
|
2220
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
|
|
2345
2221
|
|
|
2346
|
-
Sent mail to joe-
|
|
2347
|
-
Date:
|
|
2222
|
+
Sent mail to joe-19@example.com (3.3ms)
|
|
2223
|
+
Date: Fri, 19 Feb 2016 13:40:44 +0000
|
|
2348
2224
|
From: pushtype@example.com
|
|
2349
2225
|
Reply-To: pushtype@example.com
|
|
2350
|
-
To: joe-
|
|
2351
|
-
Message-ID: <
|
|
2226
|
+
To: joe-19@example.com
|
|
2227
|
+
Message-ID: <56c71b5c6d571_1c1f3ff851863bf053726@Aarons-iMac.local.mail>
|
|
2352
2228
|
Subject: [PushType] Confirm your account
|
|
2353
2229
|
Mime-Version: 1.0
|
|
2354
2230
|
Content-Type: multipart/alternative;
|
|
2355
|
-
boundary="--==
|
|
2231
|
+
boundary="--==_mimepart_56c71b5c6cf7c_1c1f3ff851863bf05362f";
|
|
2356
2232
|
charset=UTF-8
|
|
2357
2233
|
Content-Transfer-Encoding: 7bit
|
|
2358
2234
|
|
|
2359
2235
|
|
|
2360
|
-
----==
|
|
2236
|
+
----==_mimepart_56c71b5c6cf7c_1c1f3ff851863bf05362f
|
|
2361
2237
|
Content-Type: text/plain;
|
|
2362
2238
|
charset=UTF-8
|
|
2363
2239
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2372,10 +2248,10 @@ created for you.
|
|
|
2372
2248
|
To get started, confirm your account and set your own password by
|
|
2373
2249
|
clicking the link below:
|
|
2374
2250
|
|
|
2375
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
|
2251
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=m8eSskAyNz_qp1PqS-yS )
|
|
2376
2252
|
|
|
2377
2253
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
2378
|
-
----==
|
|
2254
|
+
----==_mimepart_56c71b5c6cf7c_1c1f3ff851863bf05362f
|
|
2379
2255
|
Content-Type: text/html;
|
|
2380
2256
|
charset=UTF-8
|
|
2381
2257
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2421,7 +2297,7 @@ body {
|
|
|
2421
2297
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
|
2422
2298
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
|
2423
2299
|
<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">
|
|
2424
|
-
<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=
|
|
2300
|
+
<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=m8eSskAyNz_qp1PqS-yS" 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>
|
|
2425
2301
|
</td>
|
|
2426
2302
|
</tr>
|
|
2427
2303
|
</table>
|
|
@@ -2466,49 +2342,126 @@ body {
|
|
|
2466
2342
|
</body>
|
|
2467
2343
|
</html>
|
|
2468
2344
|
|
|
2469
|
-
----==
|
|
2345
|
+
----==_mimepart_56c71b5c6cf7c_1c1f3ff851863bf05362f--
|
|
2470
2346
|
|
|
2471
|
-
[1m[36m (0.
|
|
2347
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
2472
2348
|
Processing by PushType::ConfirmationsController#update as HTML
|
|
2473
|
-
Parameters: {"user"=>{"confirmation_token"=>"
|
|
2474
|
-
[1m[35mPushType::User Load (0.
|
|
2475
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2349
|
+
Parameters: {"user"=>{"confirmation_token"=>"m8eSskAyNz_qp1PqS-yS", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
|
2350
|
+
[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", "m8eSskAyNz_qp1PqS-yS"]]
|
|
2351
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-19@example.com' AND "push_type_users"."id" != 'bbac1d43-e616-4b72-ba40-a96101927676') LIMIT 1[0m
|
|
2352
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
2353
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4[0m [["encrypted_password", "$2a$04$GW9Y7M8AR8f8hY52MEyRQO.wRdw4fgs3X.olYCTLEA5zawXrRcaFG"], ["confirmed_at", "2016-02-19 13:40:44.454515"], ["updated_at", "2016-02-19 13:40:44.454976"], ["id", "bbac1d43-e616-4b72-ba40-a96101927676"]]
|
|
2354
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
2355
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
2356
|
+
[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", "2016-02-19 13:40:44.456394"], ["current_sign_in_at", "2016-02-19 13:40:44.456394"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2016-02-19 13:40:44.456791"], ["id", "bbac1d43-e616-4b72-ba40-a96101927676"]]
|
|
2357
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
2358
|
+
Redirected to http://test.host/push_type/
|
|
2359
|
+
Completed 302 Found in 7ms (ActiveRecord: 1.1ms)
|
|
2479
2360
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
2480
2361
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
2481
2362
|
[1m[35m (0.1ms)[0m BEGIN
|
|
2482
|
-
|
|
2483
|
-
PushType::
|
|
2484
|
-
|
|
2363
|
+
---------------------------------------------------------------
|
|
2364
|
+
PushType::AuthenticatableTest::validatable: test_0001_anonymous
|
|
2365
|
+
---------------------------------------------------------------
|
|
2366
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2367
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2368
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2369
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
2370
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
2371
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
2372
|
+
---------------------------------------------------------------
|
|
2373
|
+
PushType::AuthenticatableTest::validatable: test_0002_anonymous
|
|
2374
|
+
---------------------------------------------------------------
|
|
2375
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2376
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2377
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2378
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
2379
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
2380
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
2381
|
+
---------------------------------------------------------------
|
|
2382
|
+
PushType::AuthenticatableTest::recoverable: test_0001_anonymous
|
|
2383
|
+
---------------------------------------------------------------
|
|
2384
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2385
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2386
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2387
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
2388
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
2389
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
2390
|
+
---------------------------------------------------------------------------
|
|
2391
|
+
PushType::AuthenticatableTest::database_athenticatable: test_0001_anonymous
|
|
2392
|
+
---------------------------------------------------------------------------
|
|
2393
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2394
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2395
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2396
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
2397
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
|
2398
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
2399
|
+
---------------------------------------------------------------------------
|
|
2400
|
+
PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
|
|
2401
|
+
---------------------------------------------------------------------------
|
|
2402
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2403
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2404
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2405
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
2406
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
2407
|
+
[1m[35m (0.0ms)[0m BEGIN
|
|
2408
|
+
----------------------------------------------------------------
|
|
2409
|
+
PushType::AuthenticatableTest::rememberable: test_0001_anonymous
|
|
2410
|
+
----------------------------------------------------------------
|
|
2411
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2412
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2413
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2414
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
2415
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
2416
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
2417
|
+
--------------------------------------------------------------------------------------
|
|
2418
|
+
PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
|
|
2419
|
+
--------------------------------------------------------------------------------------
|
|
2420
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2421
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2422
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2423
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
2424
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
|
2425
|
+
[1m[35m (0.0ms)[0m BEGIN
|
|
2426
|
+
----------------------------------------------------
|
|
2427
|
+
PushType::InvitationMethodsTest: test_0001_anonymous
|
|
2428
|
+
----------------------------------------------------
|
|
2429
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2430
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2431
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2432
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
2433
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
2434
|
+
[1m[35m (0.0ms)[0m BEGIN
|
|
2435
|
+
--------------------------------------------------------------------------------------------------------------
|
|
2436
|
+
PushType::AuthenticatableTest::#password_required?::with existing user and clean password: test_0001_anonymous
|
|
2437
|
+
--------------------------------------------------------------------------------------------------------------
|
|
2485
2438
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2486
2439
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2487
2440
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2488
2441
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
|
2489
|
-
[1m[36mPushType::User Exists (0.
|
|
2490
|
-
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-
|
|
2491
|
-
[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", "
|
|
2492
|
-
[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-
|
|
2442
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1[0m
|
|
2443
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
|
|
2444
|
+
[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", "e04e4fccc3f99874c297747a3c22d0eff64e484e34327b689cb2d87b748d2ec6"]]
|
|
2445
|
+
[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-20@example.com"], ["created_at", "2016-02-19 13:40:44.473593"], ["updated_at", "2016-02-19 13:40:44.473593"], ["confirmation_token", "_wM1UkDyWqL8Myx7usbA"], ["confirmation_sent_at", "2016-02-19 13:40:44.474400"]]
|
|
2493
2446
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
|
|
2494
2447
|
|
|
2495
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
|
2448
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
|
|
2496
2449
|
|
|
2497
|
-
Sent mail to joe-
|
|
2498
|
-
Date:
|
|
2450
|
+
Sent mail to joe-20@example.com (3.1ms)
|
|
2451
|
+
Date: Fri, 19 Feb 2016 13:40:44 +0000
|
|
2499
2452
|
From: pushtype@example.com
|
|
2500
2453
|
Reply-To: pushtype@example.com
|
|
2501
|
-
To: joe-
|
|
2502
|
-
Message-ID: <
|
|
2454
|
+
To: joe-20@example.com
|
|
2455
|
+
Message-ID: <56c71b5c7bc0e_1c1f3ff851863bf0540dc@Aarons-iMac.local.mail>
|
|
2503
2456
|
Subject: [PushType] Confirm your account
|
|
2504
2457
|
Mime-Version: 1.0
|
|
2505
2458
|
Content-Type: multipart/alternative;
|
|
2506
|
-
boundary="--==
|
|
2459
|
+
boundary="--==_mimepart_56c71b5c7b686_1c1f3ff851863bf053974";
|
|
2507
2460
|
charset=UTF-8
|
|
2508
2461
|
Content-Transfer-Encoding: 7bit
|
|
2509
2462
|
|
|
2510
2463
|
|
|
2511
|
-
----==
|
|
2464
|
+
----==_mimepart_56c71b5c7b686_1c1f3ff851863bf053974
|
|
2512
2465
|
Content-Type: text/plain;
|
|
2513
2466
|
charset=UTF-8
|
|
2514
2467
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2523,10 +2476,10 @@ created for you.
|
|
|
2523
2476
|
To get started, confirm your account and set your own password by
|
|
2524
2477
|
clicking the link below:
|
|
2525
2478
|
|
|
2526
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
|
2479
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=_wM1UkDyWqL8Myx7usbA )
|
|
2527
2480
|
|
|
2528
2481
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
2529
|
-
----==
|
|
2482
|
+
----==_mimepart_56c71b5c7b686_1c1f3ff851863bf053974
|
|
2530
2483
|
Content-Type: text/html;
|
|
2531
2484
|
charset=UTF-8
|
|
2532
2485
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2572,7 +2525,7 @@ body {
|
|
|
2572
2525
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
|
2573
2526
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
|
2574
2527
|
<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">
|
|
2575
|
-
<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=
|
|
2528
|
+
<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=_wM1UkDyWqL8Myx7usbA" 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>
|
|
2576
2529
|
</td>
|
|
2577
2530
|
</tr>
|
|
2578
2531
|
</table>
|
|
@@ -2617,15 +2570,62 @@ body {
|
|
|
2617
2570
|
</body>
|
|
2618
2571
|
</html>
|
|
2619
2572
|
|
|
2620
|
-
----==
|
|
2573
|
+
----==_mimepart_56c71b5c7b686_1c1f3ff851863bf053974--
|
|
2621
2574
|
|
|
2622
2575
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
[1m[
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2576
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
2577
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
2578
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
2579
|
+
--------------------------------------------------------
|
|
2580
|
+
PushType::AuthenticationMethodsTest: test_0001_anonymous
|
|
2581
|
+
--------------------------------------------------------
|
|
2582
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2583
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2584
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2585
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
2586
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
|
2587
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
2588
|
+
--------------------------------------------------------
|
|
2589
|
+
PushType::AuthenticationMethodsTest: test_0002_anonymous
|
|
2590
|
+
--------------------------------------------------------
|
|
2591
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2592
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2593
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2594
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
2595
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
|
2596
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
2597
|
+
----------------------------------------------------------------
|
|
2598
|
+
PushType::ProfilesControllerTest::GET #edit: test_0001_anonymous
|
|
2599
|
+
----------------------------------------------------------------
|
|
2600
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2601
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2602
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2603
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
2604
|
+
[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
|
|
2605
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
|
|
2606
|
+
[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", "2016-02-19 13:40:44.515326"], ["confirmed_at", "2016-02-19 13:40:44.515382"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-19 13:40:44.516939"], ["updated_at", "2016-02-19 13:40:44.516939"]]
|
|
2607
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
2608
|
+
Processing by PushType::ProfilesController#edit as HTML
|
|
2609
|
+
[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", "39862360-4e85-48a6-bfd4-6ce677e4acd9"]]
|
|
2610
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.9ms)
|
|
2611
|
+
Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.1ms)
|
|
2612
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
2613
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
2614
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
2615
|
+
----------------------------------------------------------------
|
|
2616
|
+
PushType::ProfilesControllerTest::GET #edit: test_0002_anonymous
|
|
2617
|
+
----------------------------------------------------------------
|
|
2618
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2619
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2620
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2621
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
2622
|
+
[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
|
|
2623
|
+
[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
|
|
2624
|
+
[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", "2016-02-19 13:40:44.529062"], ["confirmed_at", "2016-02-19 13:40:44.529112"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-19 13:40:44.530575"], ["updated_at", "2016-02-19 13:40:44.530575"]]
|
|
2625
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
2626
|
+
Processing by PushType::ProfilesController#edit as HTML
|
|
2627
|
+
[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", "0f4bdc7a-46cc-475b-bec9-efe56b08634c"]]
|
|
2628
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.7ms)
|
|
2629
|
+
Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.1ms)
|
|
2630
2630
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
2631
2631
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|