push_type_auth 0.10.2 → 0.10.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.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/concerns/push_type/api_authentication_methods.rb +1 -1
  3. data/test/dummy/config/initializers/push_type.rb +1 -1
  4. data/test/dummy/config/secrets.yml +2 -2
  5. data/test/dummy/db/migrate/{20161221151131_create_push_type_users.push_type.rb → 20170130110823_create_push_type_users.push_type.rb} +0 -0
  6. data/test/dummy/db/migrate/{20161221151132_create_push_type_nodes.push_type.rb → 20170130110824_create_push_type_nodes.push_type.rb} +0 -0
  7. data/test/dummy/db/migrate/{20161221151133_create_push_type_node_hierarchies.push_type.rb → 20170130110825_create_push_type_node_hierarchies.push_type.rb} +0 -0
  8. data/test/dummy/db/migrate/{20161221151134_create_push_type_assets.push_type.rb → 20170130110826_create_push_type_assets.push_type.rb} +0 -0
  9. data/test/dummy/db/migrate/{20161221151135_add_field_store_default_values.push_type.rb → 20170130110827_add_field_store_default_values.push_type.rb} +0 -0
  10. data/test/dummy/db/migrate/{20161221151136_drop_legacy_push_type_taxonomies.push_type.rb → 20170130110828_drop_legacy_push_type_taxonomies.push_type.rb} +0 -0
  11. data/test/dummy/db/migrate/{20161221151137_devise_extend_push_type_users.push_type_auth.rb → 20170130110829_devise_extend_push_type_users.push_type_auth.rb} +0 -0
  12. data/test/dummy/db/schema.rb +1 -1
  13. data/test/dummy/log/test.log +949 -949
  14. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{8b/8b4xkobgOfYieOlJzpl_RO86vloCGw5BOHOQmi2Wn9o.cache → 5O/5oSx9u5bWTMJuw7R5SS1kgD1-6em-qGFB5Dtiem3VRI.cache} +0 -0
  15. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{DM/DMoO5Vfw1xgLIEcEHizU4O2eiDZFqp0DmSw-S52apG0.cache → Le/Le4Ce9pqmasm4pY_e44MIgf0idX17AywIXq0O02QgCg.cache} +0 -0
  16. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{le → Le}/LeNwaaVdD0ZGishj5VsGjPyTXYzeoZFZUuuOzXCnN50.cache +0 -0
  17. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{le → Le}/le77pXpWqSiDQU-50m4Bgj4xUDnP3N2z2dZlM748lys.cache +0 -0
  18. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Nu/NuhfvPTDloTFqZ8oNDMzEL6yMq-c5173C_eig2PglVs.cache +0 -0
  19. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Nx/nxLR0lMxFzfBBKpNXx7WthIbO_gA6RQJlu681QaXJAA.cache +0 -0
  20. data/test/dummy/tmp/cache/assets/sprockets/v3.0/PL/plsjhVQ9Z_pERrWa9lf4D7OWYFBxUEGj908YMz0WUBA.cache +0 -0
  21. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{cF/cFQAswd1euWrklVs-_7sxmhhtuuMHa9gvt9dhDXUcdg.cache → S4/S4QMlBb9qH9BzBF85RN3IJW-ez6beKLmRiCb0B474GQ.cache} +0 -0
  22. data/test/dummy/tmp/cache/assets/sprockets/v3.0/SJ/SJSKco2hBBjKKEO-nexiQu8cSVHBd9Okfoa4GknabZk.cache +0 -0
  23. data/test/dummy/tmp/cache/assets/sprockets/v3.0/UI/uisrogUVYx_xiRQCKG3RAe1bamd4hctBPms7MbzWgIo.cache +0 -0
  24. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Zg/ZgkrPk6MzpN7HmhXbK_xtVfqnIi4VFSRuXq8BtTbdA8.cache → UI/uixp4REYxOkku4JWWmDA9M3Vmwa8IXV8L7t3ZA33OU0.cache} +0 -0
  25. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{x6/x60by82yOt_KJs9QZKHEApE39ww9ljIVLWT3j1sxWaQ.cache → YI/YISuRMiaS6zXA3IXNXcl6VNA1aMFDxcRCdTPZUcAEFk.cache} +0 -0
  26. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Zg → ZG}/ZGzmCPd1GqApgtqXTO9zaRxQdQRynfkSl74zrh4Fg_Y.cache +0 -0
  27. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Zg → ZG}/ZgljiSRp0wAR7vwKB531Y6LnA2PQWPhTwvz8d6xIShA.cache +0 -0
  28. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Zg → ZG}/zgGHsSlX8eJxNiVGn1x0lp9f-lQE02yy6OywFLQvKPY.cache +0 -0
  29. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{cF → cf}/cf_JXanhgxNES8jO5tz21KuT1yZMbhUQ-VFQbKkuh-g.cache +0 -0
  30. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{DM → dM}/dMZj_GbLfuRLUK-h9i97Pgu2Ch-0qNUigWKCC1_OMfo.cache +0 -0
  31. data/test/dummy/tmp/cache/assets/sprockets/v3.0/fo/foWRCutGW14uCPyhFv_u9qOrXVyxak4CrPfYv9SVCw4.cache +0 -0
  32. data/test/dummy/tmp/cache/assets/sprockets/v3.0/gb/gbhVrYBl4f54-OqjKRkfpIupTo9wELk4k_EZ45ZocJU.cache +0 -0
  33. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{rS/rSsXenjAK9ZGM4gcEMwTrnA3G-IKo0Dk-mQsMtaU8T4.cache → gt/gtpf9VoBF9gSDwkvVrZAhwswiM5lBH1KcKMGVz0L8fw.cache} +0 -0
  34. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{4T/4T84YPi0TSK6RB73by6SqUqRbbzM_qJf4B7QfcfuFTk.cache → i0/i0HR2mxLv1s1BCaid-LRYm_aFDjevPS1SfCUZRsytgU.cache} +0 -0
  35. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{b1/b1C7s0eYDoLd1bktLHb05ubzzBM5IcGDgVqnL5VK9CE.cache → oB/oBZGml_gmn9zvHdaBvwefFWXR4sZHKfpnESqWeknC4w.cache} +0 -0
  36. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sG/sgt3FIYS9DvkhX6Yp8HlCFxg9LfJU7QIut4wkuYX18k.cache +0 -0
  37. data/test/dummy/tmp/cache/assets/sprockets/v3.0/tk/tkycX5kvKxT8eE7KehdIWjBoez0ZvC2W1zVG5J14wB4.cache +0 -0
  38. data/test/dummy/tmp/cache/assets/sprockets/v3.0/uV/uVmR6TCC4tWulbphsO_NyETKUWU7d-WH8XqN9i-kqVU.cache +0 -0
  39. data/test/dummy/tmp/cache/assets/sprockets/v3.0/vL/vLEv8Jkra3i7mYQOYsx4giUE3uB_ohJDsHB-19bNlRg.cache +0 -0
  40. metadata +52 -52
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2a8cf0119a81b31e1788ef6051ae82072f2a89b0
4
- data.tar.gz: f822591684b352444dda680cbf3801b3638c2604
3
+ metadata.gz: 28f0f8a20e108a47ca4bfc8ae3efac03612526a8
4
+ data.tar.gz: d3b0f977539fa61a9f19ca27a1066ddc9e365cc5
5
5
  SHA512:
6
- metadata.gz: 92095142d890869e4a0f03243c2cd1a9c7e2547564189c40757fc407db47d8f2c7d5e9a40a52de1a93fa27af60ad6641cc593d6e6466999681f458d3a1d27858
7
- data.tar.gz: a509a4cee2de4203c79027a79c0aea54e693e1bfec809718ad7a3945e16573f2b98f7447f5b008d1dcfc4d471de5df1734fa45e00e7df86685277ad1e70bd55b
6
+ metadata.gz: c01adfe6f182420b74f70f9e8e508da1ef28df26a068979ad181b2e07508a70a46d9bfe69d63b1f7df8fcfb643da40bbb2c8dc278b08b8b4497a731c96f9bfce
7
+ data.tar.gz: 4ad97d91023d1a01b340100b3af07b722358f30b129b846f79f50cbbd4e9a7d898ba685bc63bb601feed3bc4e1a615b46f7cd0123300a7efc4cb7716304aab1e
@@ -23,7 +23,7 @@ module PushType
23
23
  end
24
24
 
25
25
  def auth_token
26
- params[:token] || request.headers['Authorization']&.split&.last
26
+ params[:token] || request.headers['Authorization'].try(:split).try(:last)
27
27
  end
28
28
 
29
29
  end
@@ -45,6 +45,6 @@ PushType.setup do |config|
45
45
  # secret_access_key: ENV['SECRET_ACCESS_KEY_ID']
46
46
  # }
47
47
 
48
- # config.dragonfly_secret = 'acf9618c34c0f18299734e75debbc67c2296a8507b22c688b98421879cda072d'
48
+ # config.dragonfly_secret = 'a018d34a0c3359f477179af16c1463b2153e792bf216dd9313f8267f167de2cd'
49
49
 
50
50
  end
@@ -11,10 +11,10 @@
11
11
  # if you're sharing your code publicly.
12
12
 
13
13
  development:
14
- secret_key_base: 3a7c44ea15bd81a6fc228b1ad09f99958a67d902d2246e898b10bdfbf7f11d6f73903abf523795001e08fda5325ea908eb41ab67b3df1feae72563bf4acaa7d1
14
+ secret_key_base: 861beaab64add0294d6f10a3132e043ecaa9d1ca8444ec3dcee71c2c203441d5d0f8e9efaad395098c9cac679624f47ba55296a5ad51b55c6229ca576f8d1d9c
15
15
 
16
16
  test:
17
- secret_key_base: e3756c2065f33fbb3ae579a6131835ba31c135560a873d0a2cd75d9039784b9cee557f4eda0a320038361dc89257db290083e7e72b5ae9d14bb68f819d4f2804
17
+ secret_key_base: e06e74c545c2ca8cbc2795c456e36b41b931ca2c2b1b2a486bab28e2bb03068fa819294ed1511827cb5ecf2c65f6fcaca987f1afc854c41ade58564e3240597b
18
18
 
19
19
  # Do not keep production secrets in the repository,
20
20
  # instead read values from the environment.
@@ -10,7 +10,7 @@
10
10
  #
11
11
  # It's strongly recommended that you check this file into your version control system.
12
12
 
13
- ActiveRecord::Schema.define(version: 20161221151137) do
13
+ ActiveRecord::Schema.define(version: 20170130110829) do
14
14
 
15
15
  # These are extensions that must be enabled in order to support this database
16
16
  enable_extension "plpgsql"
@@ -1,45 +1,45 @@
1
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
1
+ ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
2
2
   (0.1ms) BEGIN
3
- SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-12-21 15:11:25 UTC], ["updated_at", 2016-12-21 15:11:25 UTC]]
3
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2017-01-30 11:08:17 UTC], ["updated_at", 2017-01-30 11:08:17 UTC]]
4
4
   (0.6ms) COMMIT
5
5
  ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
6
-  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
6
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
7
7
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8
8
   (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
9
9
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
10
10
   (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
11
-  (189.9ms) DROP DATABASE IF EXISTS "dummy_test"
12
-  (389.0ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
13
-  (4.1ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
11
+  (190.9ms) DROP DATABASE IF EXISTS "dummy_test"
12
+  (384.6ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
13
+  (3.9ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
14
14
   (1.9ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
15
-  (0.1ms) SELECT pg_try_advisory_lock(2735718569030447490);
16
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
17
- Migrating to CreatePushTypeUsers (20161221151131)
15
+  (0.2ms) SELECT pg_try_advisory_lock(2735718569030447490);
16
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
17
+ Migrating to CreatePushTypeUsers (20170130110823)
18
18
   (0.1ms) BEGIN
19
- SQL (20.8ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
20
-  (13.4ms) CREATE TABLE "push_type_users" ("id" uuid DEFAULT uuid_generate_v4() PRIMARY KEY, "name" character varying, "email" character varying, "field_store" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
21
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161221151131"]]
22
-  (5.3ms) COMMIT
23
- Migrating to CreatePushTypeNodes (20161221151132)
19
+ SQL (12.1ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
20
+  (13.6ms) CREATE TABLE "push_type_users" ("id" uuid DEFAULT uuid_generate_v4() PRIMARY KEY, "name" character varying, "email" character varying, "field_store" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
21
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170130110823"]]
22
+  (4.8ms) COMMIT
23
+ Migrating to CreatePushTypeNodes (20170130110824)
24
24
   (0.1ms) BEGIN
25
-  (1.9ms) CREATE TABLE "push_type_nodes" ("id" uuid DEFAULT uuid_generate_v4() PRIMARY KEY, "type" character varying, "title" character varying, "slug" character varying, "field_store" jsonb, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
26
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161221151132"]]
25
+  (2.0ms) CREATE TABLE "push_type_nodes" ("id" uuid DEFAULT uuid_generate_v4() PRIMARY KEY, "type" character varying, "title" character varying, "slug" character varying, "field_store" jsonb, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
26
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170130110824"]]
27
27
   (0.5ms) COMMIT
28
- Migrating to CreatePushTypeNodeHierarchies (20161221151133)
28
+ Migrating to CreatePushTypeNodeHierarchies (20170130110825)
29
29
   (0.1ms) BEGIN
30
-  (0.5ms) CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)
31
-  (0.8ms) CREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")
32
-  (0.5ms) CREATE INDEX "node_desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
33
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161221151133"]]
30
+  (0.4ms) CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)
31
+  (0.7ms) CREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")
32
+  (0.6ms) CREATE INDEX "node_desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
33
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170130110825"]]
34
34
   (0.4ms) COMMIT
35
- Migrating to CreatePushTypeAssets (20161221151134)
35
+ Migrating to CreatePushTypeAssets (20170130110826)
36
36
   (0.1ms) BEGIN
37
37
   (1.8ms) CREATE TABLE "push_type_assets" ("id" uuid DEFAULT uuid_generate_v4() PRIMARY KEY, "file_uid" character varying, "file_name" character varying, "file_size" integer, "file_ext" character varying, "mime_type" character varying, "description" character varying, "uploader_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
38
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161221151134"]]
38
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170130110826"]]
39
39
   (0.5ms) COMMIT
40
- Migrating to AddFieldStoreDefaultValues (20161221151135)
40
+ Migrating to AddFieldStoreDefaultValues (20170130110827)
41
41
   (0.1ms) BEGIN
42
-  (0.2ms) ALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" TYPE jsonb
42
+  (0.3ms) ALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" TYPE jsonb
43
43
   (0.2ms) ALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" SET DEFAULT '{}'
44
44
   (0.2ms) UPDATE "push_type_nodes" SET "field_store"='{}' WHERE "field_store" IS NULL
45
45
   (0.1ms) ALTER TABLE "push_type_nodes" ALTER "field_store" SET NOT NULL
@@ -47,36 +47,36 @@ Migrating to AddFieldStoreDefaultValues (20161221151135)
47
47
   (0.2ms) ALTER TABLE "push_type_users" ALTER COLUMN "field_store" SET DEFAULT '{}'
48
48
   (0.2ms) UPDATE "push_type_users" SET "field_store"='{}' WHERE "field_store" IS NULL
49
49
   (0.1ms) ALTER TABLE "push_type_users" ALTER "field_store" SET NOT NULL
50
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161221151135"]]
50
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170130110827"]]
51
51
   (0.4ms) COMMIT
52
- Migrating to DropLegacyPushTypeTaxonomies (20161221151136)
52
+ Migrating to DropLegacyPushTypeTaxonomies (20170130110828)
53
53
   (0.1ms) BEGIN
54
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161221151136"]]
54
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170130110828"]]
55
55
   (0.4ms) COMMIT
56
- Migrating to DeviseExtendPushTypeUsers (20161221151137)
56
+ Migrating to DeviseExtendPushTypeUsers (20170130110829)
57
57
   (0.1ms) BEGIN
58
-  (4.5ms) ALTER TABLE "push_type_users" ADD "encrypted_password" character varying DEFAULT '' NOT NULL
58
+  (2.8ms) ALTER TABLE "push_type_users" ADD "encrypted_password" character varying DEFAULT '' NOT NULL
59
59
   (0.2ms) ALTER TABLE "push_type_users" ADD "reset_password_token" character varying
60
60
   (0.1ms) ALTER TABLE "push_type_users" ADD "reset_password_sent_at" timestamp
61
61
   (0.1ms) ALTER TABLE "push_type_users" ADD "remember_created_at" timestamp
62
-  (2.3ms) ALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
62
+  (2.1ms) ALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
63
63
   (0.2ms) ALTER TABLE "push_type_users" ADD "current_sign_in_at" timestamp
64
64
   (0.1ms) ALTER TABLE "push_type_users" ADD "last_sign_in_at" timestamp
65
65
   (0.1ms) ALTER TABLE "push_type_users" ADD "current_sign_in_ip" character varying
66
66
   (0.1ms) ALTER TABLE "push_type_users" ADD "last_sign_in_ip" character varying
67
67
   (0.1ms) ALTER TABLE "push_type_users" ADD "confirmation_token" character varying
68
-  (0.2ms) ALTER TABLE "push_type_users" ADD "confirmed_at" timestamp
68
+  (0.1ms) ALTER TABLE "push_type_users" ADD "confirmed_at" timestamp
69
69
   (0.1ms) ALTER TABLE "push_type_users" ADD "confirmation_sent_at" timestamp
70
-  (0.8ms) CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")
70
+  (0.7ms) CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")
71
71
   (0.6ms) CREATE UNIQUE INDEX "index_push_type_users_on_reset_password_token" ON "push_type_users" ("reset_password_token")
72
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161221151137"]]
73
-  (1.2ms) COMMIT
74
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
72
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170130110829"]]
73
+  (1.1ms) COMMIT
74
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
75
75
   (0.1ms) BEGIN
76
- SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-12-21 15:11:34 UTC], ["updated_at", 2016-12-21 15:11:34 UTC]]
77
-  (0.4ms) COMMIT
78
-  (0.1ms) SELECT pg_advisory_unlock(2735718569030447490)
79
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
76
+ SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2017-01-30 11:08:25 UTC], ["updated_at", 2017-01-30 11:08:25 UTC]]
77
+  (0.5ms) COMMIT
78
+  (0.2ms) SELECT pg_advisory_unlock(2735718569030447490)
79
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
80
80
   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
81
81
  FROM pg_constraint c
82
82
  JOIN pg_class t1 ON c.conrelid = t1.oid
@@ -101,7 +101,7 @@ WHERE c.contype = 'f'
101
101
  AND t3.nspname = ANY (current_schemas(false))
102
102
  ORDER BY c.conname
103
103
  
104
-  (1.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
104
+  (1.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
105
105
  FROM pg_constraint c
106
106
  JOIN pg_class t1 ON c.conrelid = t1.oid
107
107
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -130,195 +130,54 @@ Creating scope :published. Overwriting existing method PushType::Node.published.
130
130
   (0.1ms) BEGIN
131
131
   (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL
132
132
   (0.1ms) COMMIT
133
-  (0.9ms)  SELECT schemaname || '.' || tablename
133
+  (1.0ms)  SELECT schemaname || '.' || tablename
134
134
  FROM pg_tables
135
135
  WHERE
136
136
  tablename !~ '_prt_' AND
137
137
  tablename <> 'schema_migrations' AND
138
138
  schemaname = ANY (current_schemas(false))
139
139
  
140
-  (1.0ms) select table_name from information_schema.views where table_schema = 'dummy_test'
141
-  (42.4ms) TRUNCATE TABLE "public"."ar_internal_metadata", "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_assets", "public"."push_type_users" RESTART IDENTITY CASCADE;
140
+  (0.9ms) select table_name from information_schema.views where table_schema = 'dummy_test'
141
+  (8.3ms) TRUNCATE TABLE "public"."ar_internal_metadata", "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_assets", "public"."push_type_users" RESTART IDENTITY CASCADE;
142
142
   (0.1ms) BEGIN
143
143
   (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL
144
144
   (0.1ms) COMMIT
145
145
   (0.1ms) BEGIN
146
- ----------------------------------------------------------------------
147
- PushType::Admin::UsersControllerTest::PUT #invite: test_0001_anonymous
148
- ----------------------------------------------------------------------
146
+ --------------------------------------------------------------------------------------------------------------
147
+ PushType::AuthenticatableTest::#password_required?::with existing user and dirty password: test_0001_anonymous
148
+ --------------------------------------------------------------------------------------------------------------
149
149
   (0.1ms) SAVEPOINT active_record_1
150
150
   (0.1ms) RELEASE SAVEPOINT active_record_1
151
-  (0.1ms) SAVEPOINT active_record_1
151
+  (0.0ms) SAVEPOINT active_record_1
152
152
   (0.1ms) SAVEPOINT active_record_2
153
153
  PushType::User Exists (0.5ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-1@example.com"], ["LIMIT", 1]]
154
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-1@example.com"], ["LIMIT", 1]]
155
- SQL (1.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-1@example.com"], ["created_at", 2016-12-21 15:11:38 UTC], ["updated_at", 2016-12-21 15:11:38 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-21 15:11:38 UTC], ["confirmation_sent_at", 2016-12-21 15:11:38 UTC]]
156
-  (0.1ms) RELEASE SAVEPOINT active_record_2
157
-  (0.1ms) SAVEPOINT active_record_2
158
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-2@example.com"], ["LIMIT", 1]]
159
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-2@example.com"], ["LIMIT", 1]]
160
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-2@example.com"], ["created_at", 2016-12-21 15:11:38 UTC], ["updated_at", 2016-12-21 15:11:38 UTC], ["confirmation_token", "syd4fawY9ZvTZLB8btoL"], ["confirmation_sent_at", 2016-12-21 15:11:38 UTC]]
154
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-1@example.com"], ["LIMIT", 1]]
155
+ SQL (1.3ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-1@example.com"], ["created_at", 2017-01-30 11:08:30 UTC], ["updated_at", 2017-01-30 11:08:30 UTC], ["confirmation_token", "CpawkFXMkAMgKRF-kx4v"], ["confirmation_sent_at", 2017-01-30 11:08:30 UTC]]
161
156
   (0.1ms) RELEASE SAVEPOINT active_record_2
162
157
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
163
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (5.0ms)
158
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (5.1ms)
164
159
  DEPRECATION WARNING on line 78 of /Users/aaron/.rvm/gems/ruby-2.3.1@push_type/gems/foundation-rails-5.5.3.2/vendor/assets/stylesheets/foundation/components/_top-bar.scss: #{} interpolation near operators will be simplified
165
160
  in a future version of Sass. To preserve the current behavior, use quotes:
166
161
 
167
162
  unquote("#{lower-bound($medium-range)}")
168
163
 
169
164
 
170
- Devise::Mailer#confirmation_instructions: processed outbound mail in 12901.6ms
171
- Sent mail to joe-2@example.com (10.1ms)
172
- Date: Wed, 21 Dec 2016 15:11:51 +0000
173
- From: pushtype@example.com
174
- Reply-To: pushtype@example.com
175
- To: joe-2@example.com
176
- Message-ID: <585a9bb789043_cf8c3ff7ee43f9d88924d@Aarons-iMac.local.mail>
177
- Subject: [PushType] Confirm your account
178
- Mime-Version: 1.0
179
- Content-Type: multipart/alternative;
180
- boundary="--==_mimepart_585a9bb787bcc_cf8c3ff7ee43f9d889186";
181
- charset=UTF-8
182
- Content-Transfer-Encoding: 7bit
183
-
184
-
185
- ----==_mimepart_585a9bb787bcc_cf8c3ff7ee43f9d889186
186
- Content-Type: text/plain;
187
- charset=UTF-8
188
- Content-Transfer-Encoding: 7bit
189
-
190
- PushType ( http://localhost:3000/admin/ )
191
-
192
- Hello Joe Bloggs
193
-
194
- You're receiving this email because a PushType account has been
195
- created for you.
196
-
197
- To get started, confirm your account and set your own password by
198
- clicking the link below:
199
-
200
- Confirm my account
201
- ( http://localhost:3000/admin/confirmation.d2850749-87a2-4525-82aa-23ee2666495b?confirmation_token=syd4fawY9ZvTZLB8btoL )
202
-
203
-
204
- PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
205
- ----==_mimepart_585a9bb787bcc_cf8c3ff7ee43f9d889186
206
- Content-Type: text/html;
207
- charset=UTF-8
208
- Content-Transfer-Encoding: 7bit
209
-
210
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
211
- <html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
212
- <head>
213
- <meta name="viewport" content="width=device-width" />
214
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
215
- <title>[PushType] Confirm your account</title>
216
-
217
- </head>
218
-
219
- <body bgcolor="#f6f6f6" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; height: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100% !important;"><style type="text/css">
220
- img {
221
- max-width: 100%;
222
- }
223
- body {
224
- -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%;
225
- }
226
- </style>
227
-
228
- <!-- body -->
229
- <table class="body-wrap" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 20px; width: 100%;">
230
- <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
231
- <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"></td>
232
- <td class="container" bgcolor="#FFFFFF" style="border: 1px solid #f0f0f0; clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 20px;">
233
-
234
- <!-- content -->
235
- <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0;">
236
- <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
237
- <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
238
- <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px;"><a href="http://localhost:3000/admin/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"><img alt="PushType" src="/assets/push_type/pushtype-logo-a3af31e6141c9b155900c4cfde696ee92b3c080d35cd5d7afc82f8fb5a2fe6fa.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0;" /></a></td>
239
- </tr>
240
- <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
241
- <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
242
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;">Hello Joe Bloggs</p>
243
-
244
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;">You're receiving this email because a PushType account has been created for you.</p>
245
-
246
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;">To get started, confirm your account and set your own password by clicking the link below:</p>
247
-
248
- <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
249
- <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
250
- <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;">
251
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.d2850749-87a2-4525-82aa-23ee2666495b?confirmation_token=syd4fawY9ZvTZLB8btoL" 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>
252
- </td>
253
- </tr>
254
- </table>
255
-
256
-
257
- </td>
258
- </tr>
259
- </table>
260
- </div>
261
- <!-- /content -->
262
-
263
- </td>
264
- <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"></td>
265
- </tr>
266
- </table>
267
- <!-- /body -->
268
-
269
- <!-- footer -->
270
- <table class="footer-wrap" style="clear: both !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
271
- <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
272
- <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"></td>
273
- <td class="container" style="clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 0;">
274
-
275
- <!-- content -->
276
- <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0;">
277
- <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
278
- <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
279
- <td align="center" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
280
- <p style="color: #666; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 12px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;">PushType CMS: <a href="http://www.pushtype.org" style="color: #999; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">www.pushtype.org</a>.</p>
281
- </td>
282
- </tr>
283
- </table>
284
- </div>
285
- <!-- /content -->
286
-
287
- </td>
288
- <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"></td>
289
- </tr>
290
- </table>
291
- <!-- /footer -->
292
-
293
- </body>
294
- </html>
295
-
296
- ----==_mimepart_585a9bb787bcc_cf8c3ff7ee43f9d889186--
297
-
298
- Processing by PushType::Admin::UsersController#invite as HTML
299
- Parameters: {"id"=>"d2850749-87a2-4525-82aa-23ee2666495b"}
300
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "9bf48f97-0c2f-4d5f-88aa-95852e37b665"], ["LIMIT", 1]]
301
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "d2850749-87a2-4525-82aa-23ee2666495b"], ["LIMIT", 1]]
302
-  (0.1ms) SAVEPOINT active_record_2
303
-  (0.1ms) RELEASE SAVEPOINT active_record_2
304
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
305
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
306
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.8ms
307
- Sent mail to joe-2@example.com (3.9ms)
308
- Date: Wed, 21 Dec 2016 15:11:51 +0000
165
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 12478.5ms
166
+ Sent mail to joe-1@example.com (10.5ms)
167
+ Date: Mon, 30 Jan 2017 11:08:42 +0000
309
168
  From: pushtype@example.com
310
169
  Reply-To: pushtype@example.com
311
- To: joe-2@example.com
312
- Message-ID: <585a9bb794e21_cf8c3ff7ee43f9d8895d1@Aarons-iMac.local.mail>
170
+ To: joe-1@example.com
171
+ Message-ID: <588f1ebab554a_75b23ff6f243f9d09951@Aarons-iMac.local.mail>
313
172
  Subject: [PushType] Confirm your account
314
173
  Mime-Version: 1.0
315
174
  Content-Type: multipart/alternative;
316
- boundary="--==_mimepart_585a9bb79495d_cf8c3ff7ee43f9d889420";
175
+ boundary="--==_mimepart_588f1ebab3e48_75b23ff6f243f9d098d1";
317
176
  charset=UTF-8
318
177
  Content-Transfer-Encoding: 7bit
319
178
 
320
179
 
321
- ----==_mimepart_585a9bb79495d_cf8c3ff7ee43f9d889420
180
+ ----==_mimepart_588f1ebab3e48_75b23ff6f243f9d098d1
322
181
  Content-Type: text/plain;
323
182
  charset=UTF-8
324
183
  Content-Transfer-Encoding: 7bit
@@ -334,11 +193,11 @@ To get started, confirm your account and set your own password by
334
193
  clicking the link below:
335
194
 
336
195
  Confirm my account
337
- ( http://localhost:3000/admin/confirmation.d2850749-87a2-4525-82aa-23ee2666495b?confirmation_token=syd4fawY9ZvTZLB8btoL )
196
+ ( http://localhost:3000/admin/confirmation.47f8c8a3-58e2-49cf-8956-eeb469bc5f3f?confirmation_token=CpawkFXMkAMgKRF-kx4v )
338
197
 
339
198
 
340
199
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
341
- ----==_mimepart_585a9bb79495d_cf8c3ff7ee43f9d889420
200
+ ----==_mimepart_588f1ebab3e48_75b23ff6f243f9d098d1
342
201
  Content-Type: text/html;
343
202
  charset=UTF-8
344
203
  Content-Transfer-Encoding: 7bit
@@ -384,7 +243,7 @@ body {
384
243
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
385
244
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
386
245
  <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;">
387
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.d2850749-87a2-4525-82aa-23ee2666495b?confirmation_token=syd4fawY9ZvTZLB8btoL" 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>
246
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.47f8c8a3-58e2-49cf-8956-eeb469bc5f3f?confirmation_token=CpawkFXMkAMgKRF-kx4v" 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>
388
247
  </td>
389
248
  </tr>
390
249
  </table>
@@ -429,47 +288,103 @@ body {
429
288
  </body>
430
289
  </html>
431
290
 
432
- ----==_mimepart_585a9bb79495d_cf8c3ff7ee43f9d889420--
291
+ ----==_mimepart_588f1ebab3e48_75b23ff6f243f9d098d1--
433
292
 
434
- Redirected to http://test.host/push_type/users
435
- Completed 302 Found in 42ms (ActiveRecord: 0.8ms)
436
293
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
437
294
   (0.2ms) ROLLBACK
438
295
   (0.1ms) BEGIN
439
- ----------------------------------------------------------------------
440
- PushType::Admin::UsersControllerTest::PUT #invite: test_0002_anonymous
441
- ----------------------------------------------------------------------
296
+ --------------------------------------------------------------------------------------------
297
+ AuthenticatedApiControllerTest::authenticated with authorization header: test_0001_anonymous
298
+ --------------------------------------------------------------------------------------------
442
299
   (0.1ms) SAVEPOINT active_record_1
443
300
   (0.1ms) RELEASE SAVEPOINT active_record_1
301
+  (0.0ms) SAVEPOINT active_record_1
302
+  (0.1ms) SAVEPOINT active_record_2
303
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-2@example.com"], ["LIMIT", 1]]
304
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-2@example.com"], ["LIMIT", 1]]
305
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-2@example.com"], ["created_at", 2017-01-30 11:08:42 UTC], ["updated_at", 2017-01-30 11:08:42 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-01-30 11:08:42 UTC], ["confirmation_sent_at", 2017-01-30 11:08:42 UTC]]
306
+  (0.1ms) RELEASE SAVEPOINT active_record_2
307
+ Started GET "/api/nodes" for 127.0.0.1 at 2017-01-30 11:08:42 +0000
308
+ Processing by PushType::Api::NodesController#index as JSON
309
+ PushType::User Load (0.5ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "221c8cac-9c29-4aba-8d1d-c3b892832c42"], ["LIMIT", 1]]
310
+ Rendering /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder
311
+ PushType::Node Load (0.5ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL ORDER BY sort_order LIMIT $1 OFFSET $2 [["LIMIT", 30], ["OFFSET", 0]]
312
+ Rendered collection of /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/shared/_pagination.json.jbuilder [0 times] (0.0ms)
313
+ Rendered /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder (7.9ms)
314
+ Completed 200 OK in 68ms (Views: 35.4ms | ActiveRecord: 1.0ms)
315
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
316
+  (0.1ms) ROLLBACK
317
+  (0.1ms) BEGIN
318
+ -------------------------------------------------------------
319
+ PushType::AuthenticatableTest::trackable: test_0001_anonymous
320
+ -------------------------------------------------------------
321
+  (0.0ms) SAVEPOINT active_record_1
322
+  (0.1ms) RELEASE SAVEPOINT active_record_1
323
+  (0.0ms) SAVEPOINT active_record_1
324
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
325
+  (0.1ms) ROLLBACK
326
+  (0.1ms) BEGIN
327
+ -----------------------------------------------------------------------------------
328
+ AuthenticatedApiControllerTest::authenticated with token param: test_0001_anonymous
329
+ -----------------------------------------------------------------------------------
444
330
   (0.1ms) SAVEPOINT active_record_1
331
+  (0.1ms) RELEASE SAVEPOINT active_record_1
332
+  (0.0ms) SAVEPOINT active_record_1
445
333
   (0.1ms) SAVEPOINT active_record_2
446
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-3@example.com"], ["LIMIT", 1]]
334
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-3@example.com"], ["LIMIT", 1]]
447
335
  PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-3@example.com"], ["LIMIT", 1]]
448
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-3@example.com"], ["created_at", 2016-12-21 15:11:51 UTC], ["updated_at", 2016-12-21 15:11:51 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-21 15:11:51 UTC], ["confirmation_sent_at", 2016-12-21 15:11:51 UTC]]
336
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-3@example.com"], ["created_at", 2017-01-30 11:08:42 UTC], ["updated_at", 2017-01-30 11:08:42 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-01-30 11:08:42 UTC], ["confirmation_sent_at", 2017-01-30 11:08:42 UTC]]
449
337
   (0.1ms) RELEASE SAVEPOINT active_record_2
338
+ Started GET "/api/nodes?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE0ODU4NjA5MjIsInN1YiI6ImY0YzhkODJhLWY5ODEtNGVmYi04YzM2LTlmNjEyNTBmMGExYSJ9.9TC8w1GQaEagIBBwcGxhwO3hHumgqEvZEXGKskgKERg" for 127.0.0.1 at 2017-01-30 11:08:42 +0000
339
+ Processing by PushType::Api::NodesController#index as JSON
340
+ Parameters: {"token"=>"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE0ODU4NjA5MjIsInN1YiI6ImY0YzhkODJhLWY5ODEtNGVmYi04YzM2LTlmNjEyNTBmMGExYSJ9.9TC8w1GQaEagIBBwcGxhwO3hHumgqEvZEXGKskgKERg"}
341
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "f4c8d82a-f981-4efb-8c36-9f61250f0a1a"], ["LIMIT", 1]]
342
+ Rendering /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder
343
+ PushType::Node Load (0.3ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL ORDER BY sort_order LIMIT $1 OFFSET $2 [["LIMIT", 30], ["OFFSET", 0]]
344
+ Rendered collection of /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/shared/_pagination.json.jbuilder [0 times] (0.0ms)
345
+ Rendered /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder (3.5ms)
346
+ Completed 200 OK in 40ms (Views: 31.3ms | ActiveRecord: 0.5ms)
347
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
348
+  (0.1ms) ROLLBACK
349
+  (0.1ms) BEGIN
350
+ --------------------------------------------------------------------------------------
351
+ PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
352
+ --------------------------------------------------------------------------------------
353
+  (0.0ms) SAVEPOINT active_record_1
354
+  (0.0ms) RELEASE SAVEPOINT active_record_1
355
+  (0.0ms) SAVEPOINT active_record_1
356
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
357
+  (0.0ms) ROLLBACK
358
+  (0.0ms) BEGIN
359
+ ----------------------------------------------------------------------------------------
360
+ PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0001_anonymous
361
+ ----------------------------------------------------------------------------------------
362
+  (0.1ms) SAVEPOINT active_record_1
363
+  (0.1ms) RELEASE SAVEPOINT active_record_1
364
+  (0.0ms) SAVEPOINT active_record_1
450
365
   (0.1ms) SAVEPOINT active_record_2
366
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-4@example.com"], ["LIMIT", 1]]
451
367
  PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-4@example.com"], ["LIMIT", 1]]
452
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-4@example.com"], ["LIMIT", 1]]
453
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-4@example.com"], ["created_at", 2016-12-21 15:11:51 UTC], ["updated_at", 2016-12-21 15:11:51 UTC], ["confirmation_token", "8Vs5vGdUn3QDsyXpXGW-"], ["confirmation_sent_at", 2016-12-21 15:11:51 UTC]]
368
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-4@example.com"], ["created_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["confirmation_token", "75VYKgCrwMp2v54eWSbz"], ["confirmation_sent_at", 2017-01-30 11:08:43 UTC]]
454
369
   (0.1ms) RELEASE SAVEPOINT active_record_2
455
370
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
456
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
457
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
458
- Sent mail to joe-4@example.com (3.7ms)
459
- Date: Wed, 21 Dec 2016 15:11:51 +0000
371
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.8ms)
372
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 40.8ms
373
+ Sent mail to joe-4@example.com (3.4ms)
374
+ Date: Mon, 30 Jan 2017 11:08:43 +0000
460
375
  From: pushtype@example.com
461
376
  Reply-To: pushtype@example.com
462
377
  To: joe-4@example.com
463
- Message-ID: <585a9bb7a05d6_cf8c3ff7ee43f9d8898a3@Aarons-iMac.local.mail>
378
+ Message-ID: <588f1ebb123a8_75b23ff6f243f9d01023f@Aarons-iMac.local.mail>
464
379
  Subject: [PushType] Confirm your account
465
380
  Mime-Version: 1.0
466
381
  Content-Type: multipart/alternative;
467
- boundary="--==_mimepart_585a9bb7a008b_cf8c3ff7ee43f9d889713";
382
+ boundary="--==_mimepart_588f1ebb11f81_75b23ff6f243f9d0101b7";
468
383
  charset=UTF-8
469
384
  Content-Transfer-Encoding: 7bit
470
385
 
471
386
 
472
- ----==_mimepart_585a9bb7a008b_cf8c3ff7ee43f9d889713
387
+ ----==_mimepart_588f1ebb11f81_75b23ff6f243f9d0101b7
473
388
  Content-Type: text/plain;
474
389
  charset=UTF-8
475
390
  Content-Transfer-Encoding: 7bit
@@ -485,11 +400,11 @@ To get started, confirm your account and set your own password by
485
400
  clicking the link below:
486
401
 
487
402
  Confirm my account
488
- ( http://localhost:3000/admin/confirmation.476633c2-2f82-4a01-9201-97727521755f?confirmation_token=8Vs5vGdUn3QDsyXpXGW- )
403
+ ( http://localhost:3000/admin/confirmation.3e7913ce-9726-442c-b57e-cd1078dac596?confirmation_token=75VYKgCrwMp2v54eWSbz )
489
404
 
490
405
 
491
406
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
492
- ----==_mimepart_585a9bb7a008b_cf8c3ff7ee43f9d889713
407
+ ----==_mimepart_588f1ebb11f81_75b23ff6f243f9d0101b7
493
408
  Content-Type: text/html;
494
409
  charset=UTF-8
495
410
  Content-Transfer-Encoding: 7bit
@@ -535,7 +450,7 @@ body {
535
450
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
536
451
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
537
452
  <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;">
538
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.476633c2-2f82-4a01-9201-97727521755f?confirmation_token=8Vs5vGdUn3QDsyXpXGW-" 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>
453
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.3e7913ce-9726-442c-b57e-cd1078dac596?confirmation_token=75VYKgCrwMp2v54eWSbz" 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>
539
454
  </td>
540
455
  </tr>
541
456
  </table>
@@ -580,32 +495,53 @@ body {
580
495
  </body>
581
496
  </html>
582
497
 
583
- ----==_mimepart_585a9bb7a008b_cf8c3ff7ee43f9d889713--
498
+ ----==_mimepart_588f1ebb11f81_75b23ff6f243f9d0101b7--
584
499
 
585
- Processing by PushType::Admin::UsersController#invite as HTML
586
- Parameters: {"id"=>"476633c2-2f82-4a01-9201-97727521755f"}
587
- PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "f729a72f-27cc-4ffa-be26-7fa4f77999ba"], ["LIMIT", 1]]
588
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "476633c2-2f82-4a01-9201-97727521755f"], ["LIMIT", 1]]
500
+ Processing by PushType::ConfirmationsController#update as HTML
501
+ Parameters: {"user"=>{"confirmation_token"=>"75VYKgCrwMp2v54eWSbz", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
502
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "75VYKgCrwMp2v54eWSbz"], ["LIMIT", 1]]
503
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-4@example.com"], ["id", "3e7913ce-9726-442c-b57e-cd1078dac596"], ["LIMIT", 1]]
504
+  (0.1ms) SAVEPOINT active_record_2
505
+ SQL (0.2ms) UPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["encrypted_password", "$2a$04$WjitcztD5k5zQAZU9iry3OIEzFEqGAJxjtC8nfwY7WtdO6Ewp8OEK"], ["confirmed_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["id", "3e7913ce-9726-442c-b57e-cd1078dac596"]]
506
+  (0.1ms) RELEASE SAVEPOINT active_record_2
507
+  (0.1ms) SAVEPOINT active_record_2
508
+ SQL (0.2ms) UPDATE "push_type_users" SET "updated_at" = $1, "sign_in_count" = $2, "current_sign_in_at" = $3, "last_sign_in_at" = $4, "current_sign_in_ip" = $5, "last_sign_in_ip" = $6 WHERE "push_type_users"."id" = $7 [["updated_at", 2017-01-30 11:08:43 UTC], ["sign_in_count", 1], ["current_sign_in_at", 2017-01-30 11:08:43 UTC], ["last_sign_in_at", 2017-01-30 11:08:43 UTC], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "3e7913ce-9726-442c-b57e-cd1078dac596"]]
509
+  (0.1ms) RELEASE SAVEPOINT active_record_2
510
+ Redirected to http://test.host/admin/
511
+ Completed 302 Found in 9ms (ActiveRecord: 1.3ms)
512
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT $2 [["id", "3e7913ce-9726-442c-b57e-cd1078dac596"], ["LIMIT", 1]]
513
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
514
+  (0.1ms) ROLLBACK
515
+  (0.1ms) BEGIN
516
+ ----------------------------------------------------------------------------------------
517
+ PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0002_anonymous
518
+ ----------------------------------------------------------------------------------------
519
+  (0.1ms) SAVEPOINT active_record_1
520
+  (0.0ms) RELEASE SAVEPOINT active_record_1
521
+  (0.0ms) SAVEPOINT active_record_1
589
522
   (0.1ms) SAVEPOINT active_record_2
523
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-5@example.com"], ["LIMIT", 1]]
524
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-5@example.com"], ["LIMIT", 1]]
525
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-5@example.com"], ["created_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["confirmation_token", "qZmxJo2tt4GhZvQYPiqs"], ["confirmation_sent_at", 2017-01-30 11:08:43 UTC]]
590
526
   (0.1ms) RELEASE SAVEPOINT active_record_2
591
527
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
592
528
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
593
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
594
- Sent mail to joe-4@example.com (3.6ms)
595
- Date: Wed, 21 Dec 2016 15:11:51 +0000
529
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
530
+ Sent mail to joe-5@example.com (10.1ms)
531
+ Date: Mon, 30 Jan 2017 11:08:43 +0000
596
532
  From: pushtype@example.com
597
533
  Reply-To: pushtype@example.com
598
- To: joe-4@example.com
599
- Message-ID: <585a9bb7aa47a_cf8c3ff7ee43f9d8901dd@Aarons-iMac.local.mail>
534
+ To: joe-5@example.com
535
+ Message-ID: <588f1ebb1f88b_75b23ff6f243f9d01058e@Aarons-iMac.local.mail>
600
536
  Subject: [PushType] Confirm your account
601
537
  Mime-Version: 1.0
602
538
  Content-Type: multipart/alternative;
603
- boundary="--==_mimepart_585a9bb7aa064_cf8c3ff7ee43f9d890068";
539
+ boundary="--==_mimepart_588f1ebb1f362_75b23ff6f243f9d0104de";
604
540
  charset=UTF-8
605
541
  Content-Transfer-Encoding: 7bit
606
542
 
607
543
 
608
- ----==_mimepart_585a9bb7aa064_cf8c3ff7ee43f9d890068
544
+ ----==_mimepart_588f1ebb1f362_75b23ff6f243f9d0104de
609
545
  Content-Type: text/plain;
610
546
  charset=UTF-8
611
547
  Content-Transfer-Encoding: 7bit
@@ -621,11 +557,11 @@ To get started, confirm your account and set your own password by
621
557
  clicking the link below:
622
558
 
623
559
  Confirm my account
624
- ( http://localhost:3000/admin/confirmation.476633c2-2f82-4a01-9201-97727521755f?confirmation_token=8Vs5vGdUn3QDsyXpXGW- )
560
+ ( http://localhost:3000/admin/confirmation.4b24bbc8-51ec-4dd1-a9b0-12707d42b02b?confirmation_token=qZmxJo2tt4GhZvQYPiqs )
625
561
 
626
562
 
627
563
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
628
- ----==_mimepart_585a9bb7aa064_cf8c3ff7ee43f9d890068
564
+ ----==_mimepart_588f1ebb1f362_75b23ff6f243f9d0104de
629
565
  Content-Type: text/html;
630
566
  charset=UTF-8
631
567
  Content-Transfer-Encoding: 7bit
@@ -671,7 +607,7 @@ body {
671
607
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
672
608
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
673
609
  <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;">
674
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.476633c2-2f82-4a01-9201-97727521755f?confirmation_token=8Vs5vGdUn3QDsyXpXGW-" 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>
610
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.4b24bbc8-51ec-4dd1-a9b0-12707d42b02b?confirmation_token=qZmxJo2tt4GhZvQYPiqs" 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>
675
611
  </td>
676
612
  </tr>
677
613
  </table>
@@ -716,47 +652,52 @@ body {
716
652
  </body>
717
653
  </html>
718
654
 
719
- ----==_mimepart_585a9bb7aa064_cf8c3ff7ee43f9d890068--
655
+ ----==_mimepart_588f1ebb1f362_75b23ff6f243f9d0104de--
720
656
 
721
- Redirected to http://test.host/push_type/users
722
- Completed 302 Found in 40ms (ActiveRecord: 0.7ms)
657
+ Processing by PushType::ConfirmationsController#update as HTML
658
+ Parameters: {"user"=>{"confirmation_token"=>"qZmxJo2tt4GhZvQYPiqs", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
659
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "qZmxJo2tt4GhZvQYPiqs"], ["LIMIT", 1]]
660
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-5@example.com"], ["id", "4b24bbc8-51ec-4dd1-a9b0-12707d42b02b"], ["LIMIT", 1]]
661
+  (0.1ms) SAVEPOINT active_record_2
662
+ SQL (0.2ms) UPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["encrypted_password", "$2a$04$EMRLpZkAMshx8OE0mudefewN9wSqdgruN3mjS..9yHvQrI7CQuGg2"], ["confirmed_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["id", "4b24bbc8-51ec-4dd1-a9b0-12707d42b02b"]]
663
+  (0.1ms) RELEASE SAVEPOINT active_record_2
664
+  (0.1ms) SAVEPOINT active_record_2
665
+ SQL (0.2ms) UPDATE "push_type_users" SET "updated_at" = $1, "sign_in_count" = $2, "current_sign_in_at" = $3, "last_sign_in_at" = $4, "current_sign_in_ip" = $5, "last_sign_in_ip" = $6 WHERE "push_type_users"."id" = $7 [["updated_at", 2017-01-30 11:08:43 UTC], ["sign_in_count", 1], ["current_sign_in_at", 2017-01-30 11:08:43 UTC], ["last_sign_in_at", 2017-01-30 11:08:43 UTC], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "4b24bbc8-51ec-4dd1-a9b0-12707d42b02b"]]
666
+  (0.1ms) RELEASE SAVEPOINT active_record_2
667
+ Redirected to http://test.host/admin/
668
+ Completed 302 Found in 7ms (ActiveRecord: 1.2ms)
723
669
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
724
670
   (0.1ms) ROLLBACK
725
671
   (0.1ms) BEGIN
726
- ----------------------------------------------------------------------
727
- PushType::Admin::UsersControllerTest::PUT #invite: test_0003_anonymous
728
- ----------------------------------------------------------------------
729
-  (0.1ms) SAVEPOINT active_record_1
672
+ --------------------------------------------------------------------------------------------------------------
673
+ PushType::AuthenticatableTest::#password_required?::with existing user and clean password: test_0001_anonymous
674
+ --------------------------------------------------------------------------------------------------------------
675
+  (0.0ms) SAVEPOINT active_record_1
730
676
   (0.0ms) RELEASE SAVEPOINT active_record_1
731
677
   (0.0ms) SAVEPOINT active_record_1
732
678
   (0.1ms) SAVEPOINT active_record_2
733
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-5@example.com"], ["LIMIT", 1]]
734
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-5@example.com"], ["LIMIT", 1]]
735
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-5@example.com"], ["created_at", 2016-12-21 15:11:51 UTC], ["updated_at", 2016-12-21 15:11:51 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-21 15:11:51 UTC], ["confirmation_sent_at", 2016-12-21 15:11:51 UTC]]
736
-  (0.1ms) RELEASE SAVEPOINT active_record_2
737
-  (0.1ms) SAVEPOINT active_record_2
738
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-6@example.com"], ["LIMIT", 1]]
739
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-6@example.com"], ["LIMIT", 1]]
740
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-6@example.com"], ["created_at", 2016-12-21 15:11:51 UTC], ["updated_at", 2016-12-21 15:11:51 UTC], ["confirmation_token", "ibPamMxzJz6bGPWTx1_k"], ["confirmation_sent_at", 2016-12-21 15:11:51 UTC]]
679
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-6@example.com"], ["LIMIT", 1]]
680
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-6@example.com"], ["LIMIT", 1]]
681
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-6@example.com"], ["created_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["confirmation_token", "ixMBhXGutjoTxprE8tCa"], ["confirmation_sent_at", 2017-01-30 11:08:43 UTC]]
741
682
   (0.1ms) RELEASE SAVEPOINT active_record_2
742
683
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
743
684
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
744
685
  Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
745
- Sent mail to joe-6@example.com (3.5ms)
746
- Date: Wed, 21 Dec 2016 15:11:51 +0000
686
+ Sent mail to joe-6@example.com (3.7ms)
687
+ Date: Mon, 30 Jan 2017 11:08:43 +0000
747
688
  From: pushtype@example.com
748
689
  Reply-To: pushtype@example.com
749
690
  To: joe-6@example.com
750
- Message-ID: <585a9bb7b556a_cf8c3ff7ee43f9d8904ae@Aarons-iMac.local.mail>
691
+ Message-ID: <588f1ebb2d08a_75b23ff6f243f9d0108d5@Aarons-iMac.local.mail>
751
692
  Subject: [PushType] Confirm your account
752
693
  Mime-Version: 1.0
753
694
  Content-Type: multipart/alternative;
754
- boundary="--==_mimepart_585a9bb7b50f9_cf8c3ff7ee43f9d8903f5";
695
+ boundary="--==_mimepart_588f1ebb2cbdc_75b23ff6f243f9d01077f";
755
696
  charset=UTF-8
756
697
  Content-Transfer-Encoding: 7bit
757
698
 
758
699
 
759
- ----==_mimepart_585a9bb7b50f9_cf8c3ff7ee43f9d8903f5
700
+ ----==_mimepart_588f1ebb2cbdc_75b23ff6f243f9d01077f
760
701
  Content-Type: text/plain;
761
702
  charset=UTF-8
762
703
  Content-Transfer-Encoding: 7bit
@@ -772,11 +713,11 @@ To get started, confirm your account and set your own password by
772
713
  clicking the link below:
773
714
 
774
715
  Confirm my account
775
- ( http://localhost:3000/admin/confirmation.04bea6ed-7d6b-4577-a79f-fef641824c70?confirmation_token=ibPamMxzJz6bGPWTx1_k )
716
+ ( http://localhost:3000/admin/confirmation.58df291c-7bc7-401c-9e7d-c3f89b086296?confirmation_token=ixMBhXGutjoTxprE8tCa )
776
717
 
777
718
 
778
719
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
779
- ----==_mimepart_585a9bb7b50f9_cf8c3ff7ee43f9d8903f5
720
+ ----==_mimepart_588f1ebb2cbdc_75b23ff6f243f9d01077f
780
721
  Content-Type: text/html;
781
722
  charset=UTF-8
782
723
  Content-Transfer-Encoding: 7bit
@@ -822,7 +763,7 @@ body {
822
763
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
823
764
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
824
765
  <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;">
825
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.04bea6ed-7d6b-4577-a79f-fef641824c70?confirmation_token=ibPamMxzJz6bGPWTx1_k" 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>
766
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.58df291c-7bc7-401c-9e7d-c3f89b086296?confirmation_token=ixMBhXGutjoTxprE8tCa" 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>
826
767
  </td>
827
768
  </tr>
828
769
  </table>
@@ -867,32 +808,347 @@ body {
867
808
  </body>
868
809
  </html>
869
810
 
870
- ----==_mimepart_585a9bb7b50f9_cf8c3ff7ee43f9d8903f5--
811
+ ----==_mimepart_588f1ebb2cbdc_75b23ff6f243f9d01077f--
871
812
 
872
- Processing by PushType::Admin::UsersController#invite as HTML
873
- Parameters: {"id"=>"04bea6ed-7d6b-4577-a79f-fef641824c70"}
874
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "62cd7544-7919-45a1-bea3-e3c8188133c3"], ["LIMIT", 1]]
875
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "04bea6ed-7d6b-4577-a79f-fef641824c70"], ["LIMIT", 1]]
813
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
814
+  (0.1ms) ROLLBACK
815
+  (0.1ms) BEGIN
816
+ -----------------------------------------------------------------------
817
+ AuthenticatedControllerTest::authenticated request: test_0001_anonymous
818
+ -----------------------------------------------------------------------
819
+  (0.1ms) SAVEPOINT active_record_1
820
+  (0.0ms) RELEASE SAVEPOINT active_record_1
821
+  (0.0ms) SAVEPOINT active_record_1
876
822
   (0.1ms) SAVEPOINT active_record_2
823
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-7@example.com"], ["LIMIT", 1]]
824
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-7@example.com"], ["LIMIT", 1]]
825
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "encrypted_password", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-7@example.com"], ["created_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["encrypted_password", "$2a$04$3v4sq1JJwvaTsnJnEEqkKOrNitFz850F0Q00dYEqjjIJl0lGRL6jC"], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-01-30 11:08:43 UTC], ["confirmation_sent_at", 2017-01-30 11:08:43 UTC]]
877
826
   (0.1ms) RELEASE SAVEPOINT active_record_2
878
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
879
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
880
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
881
- Sent mail to joe-6@example.com (3.4ms)
882
- Date: Wed, 21 Dec 2016 15:11:51 +0000
883
- From: pushtype@example.com
884
- Reply-To: pushtype@example.com
885
- To: joe-6@example.com
886
- Message-ID: <585a9bb7bf0d8_cf8c3ff7ee43f9d89073c@Aarons-iMac.local.mail>
827
+ Started POST "/admin/sign_in" for 127.0.0.1 at 2017-01-30 11:08:43 +0000
828
+ Processing by PushType::SessionsController#create as HTML
829
+ Parameters: {"user"=>{"email"=>"joe-7@example.com", "password"=>"[FILTERED]"}}
830
+ PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."email" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["email", "joe-7@example.com"], ["LIMIT", 1]]
831
+  (0.1ms) SAVEPOINT active_record_2
832
+ SQL (0.3ms) UPDATE "push_type_users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "current_sign_in_ip" = $3, "last_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7 [["current_sign_in_at", 2017-01-30 11:08:43 UTC], ["last_sign_in_at", 2017-01-30 11:08:43 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", 2017-01-30 11:08:43 UTC], ["id", "e0cc3e03-b742-432a-8f91-f40cba6274e9"]]
833
+  (0.1ms) RELEASE SAVEPOINT active_record_2
834
+ Redirected to http://www.example.com/admin/
835
+ Completed 302 Found in 65ms (ActiveRecord: 0.8ms)
836
+ Started GET "/admin/nodes" for 127.0.0.1 at 2017-01-30 11:08:43 +0000
837
+ Processing by PushType::Admin::NodesController#index as HTML
838
+ PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "e0cc3e03-b742-432a-8f91-f40cba6274e9"], ["LIMIT", 1]]
839
+ Rendering /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/index.html.haml within layouts/push_type/admin
840
+  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL LIMIT $1 OFFSET $2) subquery_for_count [["LIMIT", 30], ["OFFSET", 0]]
841
+  (0.1ms) SELECT COUNT(*) FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL
842
+ Rendered /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/_new_node_button.html.haml (2.0ms)
843
+ Rendered /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/index.html.haml within layouts/push_type/admin (21.9ms)
844
+ Completed 200 OK in 41ms (Views: 33.5ms | ActiveRecord: 0.8ms)
845
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
846
+  (0.1ms) ROLLBACK
847
+  (0.1ms) BEGIN
848
+ --------------------------------------------------------------------------------------------
849
+ PushType::Admin::ProfilesControllerTest::PUT #update::with invalid user: test_0001_anonymous
850
+ --------------------------------------------------------------------------------------------
851
+  (0.1ms) SAVEPOINT active_record_1
852
+  (0.1ms) RELEASE SAVEPOINT active_record_1
853
+  (0.1ms) SAVEPOINT active_record_1
854
+  (0.1ms) SAVEPOINT active_record_2
855
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-8@example.com"], ["LIMIT", 1]]
856
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-8@example.com"], ["LIMIT", 1]]
857
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-8@example.com"], ["created_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-01-30 11:08:43 UTC], ["confirmation_sent_at", 2017-01-30 11:08:43 UTC]]
858
+  (0.1ms) RELEASE SAVEPOINT active_record_2
859
+ Processing by PushType::Admin::ProfilesController#update as HTML
860
+ Parameters: {"user"=>{"name"=>""}}
861
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "2571a69f-3708-4700-b92a-a6e0f7c7f00b"], ["LIMIT", 1]]
862
+  (0.1ms) SAVEPOINT active_record_2
863
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-8@example.com"], ["id", "2571a69f-3708-4700-b92a-a6e0f7c7f00b"], ["LIMIT", 1]]
864
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
865
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
866
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (14.9ms)
867
+ Completed 200 OK in 30ms (Views: 25.0ms | ActiveRecord: 0.6ms)
868
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
869
+  (0.1ms) ROLLBACK
870
+  (0.1ms) BEGIN
871
+ --------------------------------------------------------------------------------------------
872
+ PushType::Admin::ProfilesControllerTest::PUT #update::with invalid user: test_0002_anonymous
873
+ --------------------------------------------------------------------------------------------
874
+  (0.0ms) SAVEPOINT active_record_1
875
+  (0.0ms) RELEASE SAVEPOINT active_record_1
876
+  (0.0ms) SAVEPOINT active_record_1
877
+  (0.1ms) SAVEPOINT active_record_2
878
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-9@example.com"], ["LIMIT", 1]]
879
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-9@example.com"], ["LIMIT", 1]]
880
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-9@example.com"], ["created_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-01-30 11:08:43 UTC], ["confirmation_sent_at", 2017-01-30 11:08:43 UTC]]
881
+  (0.1ms) RELEASE SAVEPOINT active_record_2
882
+ Processing by PushType::Admin::ProfilesController#update as HTML
883
+ Parameters: {"user"=>{"name"=>""}}
884
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "c9aa91a6-1980-457a-864f-344dab7499d1"], ["LIMIT", 1]]
885
+  (0.1ms) SAVEPOINT active_record_2
886
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-9@example.com"], ["id", "c9aa91a6-1980-457a-864f-344dab7499d1"], ["LIMIT", 1]]
887
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
888
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
889
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (1.8ms)
890
+ Completed 200 OK in 11ms (Views: 7.4ms | ActiveRecord: 0.5ms)
891
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
892
+  (0.1ms) ROLLBACK
893
+  (0.1ms) BEGIN
894
+ ---------------------------------------------------------------
895
+ PushType::AuthenticatableTest::recoverable: test_0001_anonymous
896
+ ---------------------------------------------------------------
897
+  (0.0ms) SAVEPOINT active_record_1
898
+  (0.0ms) RELEASE SAVEPOINT active_record_1
899
+  (0.0ms) SAVEPOINT active_record_1
900
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
901
+  (0.1ms) ROLLBACK
902
+  (0.0ms) BEGIN
903
+ ------------------------------------------------------------------------------------------
904
+ PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0003_anonymous
905
+ ------------------------------------------------------------------------------------------
906
+  (0.0ms) SAVEPOINT active_record_1
907
+  (0.0ms) RELEASE SAVEPOINT active_record_1
908
+  (0.0ms) SAVEPOINT active_record_1
909
+  (0.1ms) SAVEPOINT active_record_2
910
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-10@example.com"], ["LIMIT", 1]]
911
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-10@example.com"], ["LIMIT", 1]]
912
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-10@example.com"], ["created_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-01-30 11:08:43 UTC], ["confirmation_sent_at", 2017-01-30 11:08:43 UTC]]
913
+  (0.1ms) RELEASE SAVEPOINT active_record_2
914
+ Processing by PushType::Admin::ProfilesController#update as HTML
915
+ Parameters: {"user"=>{"name"=>"Test user ABC"}}
916
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "8735dbe4-7f44-4a62-8459-ea85dfa009b5"], ["LIMIT", 1]]
917
+  (0.1ms) SAVEPOINT active_record_2
918
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-10@example.com"], ["id", "8735dbe4-7f44-4a62-8459-ea85dfa009b5"], ["LIMIT", 1]]
919
+ SQL (0.2ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", 2017-01-30 11:08:43 UTC], ["id", "8735dbe4-7f44-4a62-8459-ea85dfa009b5"]]
920
+  (0.1ms) RELEASE SAVEPOINT active_record_2
921
+ Redirected to http://test.host/admin/profile/edit
922
+ Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
923
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
924
+  (0.1ms) ROLLBACK
925
+  (0.1ms) BEGIN
926
+ ------------------------------------------------------------------------------------------
927
+ PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0002_anonymous
928
+ ------------------------------------------------------------------------------------------
929
+  (0.1ms) SAVEPOINT active_record_1
930
+  (0.0ms) RELEASE SAVEPOINT active_record_1
931
+  (0.0ms) SAVEPOINT active_record_1
932
+  (0.1ms) SAVEPOINT active_record_2
933
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-11@example.com"], ["LIMIT", 1]]
934
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-11@example.com"], ["LIMIT", 1]]
935
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-11@example.com"], ["created_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-01-30 11:08:43 UTC], ["confirmation_sent_at", 2017-01-30 11:08:43 UTC]]
936
+  (0.1ms) RELEASE SAVEPOINT active_record_2
937
+ Processing by PushType::Admin::ProfilesController#update as HTML
938
+ Parameters: {"user"=>{"name"=>"Test user ABC"}}
939
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "f73fce6c-00f3-46a3-abb6-3f5ac8adeffe"], ["LIMIT", 1]]
940
+  (0.1ms) SAVEPOINT active_record_2
941
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-11@example.com"], ["id", "f73fce6c-00f3-46a3-abb6-3f5ac8adeffe"], ["LIMIT", 1]]
942
+ SQL (0.2ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", 2017-01-30 11:08:43 UTC], ["id", "f73fce6c-00f3-46a3-abb6-3f5ac8adeffe"]]
943
+  (0.1ms) RELEASE SAVEPOINT active_record_2
944
+ Redirected to http://test.host/admin/profile/edit
945
+ Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
946
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
947
+  (0.1ms) ROLLBACK
948
+  (0.1ms) BEGIN
949
+ ------------------------------------------------------------------------------------------
950
+ PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
951
+ ------------------------------------------------------------------------------------------
952
+  (0.0ms) SAVEPOINT active_record_1
953
+  (0.0ms) RELEASE SAVEPOINT active_record_1
954
+  (0.0ms) SAVEPOINT active_record_1
955
+  (0.1ms) SAVEPOINT active_record_2
956
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-12@example.com"], ["LIMIT", 1]]
957
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-12@example.com"], ["LIMIT", 1]]
958
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-12@example.com"], ["created_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-01-30 11:08:43 UTC], ["confirmation_sent_at", 2017-01-30 11:08:43 UTC]]
959
+  (0.1ms) RELEASE SAVEPOINT active_record_2
960
+ Processing by PushType::Admin::ProfilesController#update as HTML
961
+ Parameters: {"user"=>{"name"=>"Test user ABC"}}
962
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "1dfc82be-925f-44d1-85f2-e430e0bd6e59"], ["LIMIT", 1]]
963
+  (0.1ms) SAVEPOINT active_record_2
964
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-12@example.com"], ["id", "1dfc82be-925f-44d1-85f2-e430e0bd6e59"], ["LIMIT", 1]]
965
+ SQL (0.2ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", 2017-01-30 11:08:43 UTC], ["id", "1dfc82be-925f-44d1-85f2-e430e0bd6e59"]]
966
+  (0.1ms) RELEASE SAVEPOINT active_record_2
967
+ Redirected to http://test.host/admin/profile/edit
968
+ Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
969
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT $2 [["id", "1dfc82be-925f-44d1-85f2-e430e0bd6e59"], ["LIMIT", 1]]
970
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
971
+  (0.1ms) ROLLBACK
972
+  (0.1ms) BEGIN
973
+ ------------------------------------------------------------------------------------------------------
974
+ PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
975
+ ------------------------------------------------------------------------------------------------------
976
+  (0.0ms) SAVEPOINT active_record_1
977
+  (0.0ms) RELEASE SAVEPOINT active_record_1
978
+  (0.0ms) SAVEPOINT active_record_1
979
+ Processing by PushType::ConfirmationsController#show as HTML
980
+ Parameters: {"confirmation_token"=>"invalid"}
981
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
982
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
983
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "20ff98320b86f376d97a8f714d07f35030940cd97ebf0bbc6a1b4b8e352d4e74"], ["LIMIT", 1]]
984
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
985
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.0ms)
986
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (6.5ms)
987
+ Completed 200 OK in 194ms (Views: 18.7ms | ActiveRecord: 0.5ms)
988
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
989
+  (0.1ms) ROLLBACK
990
+  (0.1ms) BEGIN
991
+ ------------------------------------------------------------------------------------------------------
992
+ PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0002_anonymous
993
+ ------------------------------------------------------------------------------------------------------
994
+  (0.0ms) SAVEPOINT active_record_1
995
+  (0.0ms) RELEASE SAVEPOINT active_record_1
996
+  (0.0ms) SAVEPOINT active_record_1
997
+ Processing by PushType::ConfirmationsController#show as HTML
998
+ Parameters: {"confirmation_token"=>"invalid"}
999
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
1000
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
1001
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "20ff98320b86f376d97a8f714d07f35030940cd97ebf0bbc6a1b4b8e352d4e74"], ["LIMIT", 1]]
1002
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
1003
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
1004
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.4ms)
1005
+ Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.3ms)
1006
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1007
+  (0.1ms) ROLLBACK
1008
+  (0.0ms) BEGIN
1009
+ -----------------------------------------------------------
1010
+ PushType::ApiAuthenticationMethodsTest: test_0002_anonymous
1011
+ -----------------------------------------------------------
1012
+  (0.0ms) SAVEPOINT active_record_1
1013
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1014
+  (0.0ms) SAVEPOINT active_record_1
1015
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1016
+  (0.0ms) ROLLBACK
1017
+  (0.1ms) BEGIN
1018
+ -----------------------------------------------------------
1019
+ PushType::ApiAuthenticationMethodsTest: test_0003_anonymous
1020
+ -----------------------------------------------------------
1021
+  (0.0ms) SAVEPOINT active_record_1
1022
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1023
+  (0.0ms) SAVEPOINT active_record_1
1024
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1025
+  (0.0ms) ROLLBACK
1026
+  (0.1ms) BEGIN
1027
+ -----------------------------------------------------------
1028
+ PushType::ApiAuthenticationMethodsTest: test_0004_anonymous
1029
+ -----------------------------------------------------------
1030
+  (0.1ms) SAVEPOINT active_record_1
1031
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1032
+  (0.0ms) SAVEPOINT active_record_1
1033
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1034
+  (0.0ms) ROLLBACK
1035
+  (0.1ms) BEGIN
1036
+ -----------------------------------------------------------
1037
+ PushType::ApiAuthenticationMethodsTest: test_0001_anonymous
1038
+ -----------------------------------------------------------
1039
+  (0.0ms) SAVEPOINT active_record_1
1040
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1041
+  (0.0ms) SAVEPOINT active_record_1
1042
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1043
+  (0.0ms) ROLLBACK
1044
+  (0.0ms) BEGIN
1045
+ ----------------------------------------------------------------------------
1046
+ AuthenticatedApiControllerTest::unauthenticated request: test_0001_anonymous
1047
+ ----------------------------------------------------------------------------
1048
+  (0.0ms) SAVEPOINT active_record_1
1049
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1050
+  (0.0ms) SAVEPOINT active_record_1
1051
+ Started GET "/api/nodes" for 127.0.0.1 at 2017-01-30 11:08:43 +0000
1052
+ Processing by PushType::Api::NodesController#index as JSON
1053
+ Filter chain halted as :authenticate_user! rendered or redirected
1054
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
1055
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1056
+  (0.1ms) ROLLBACK
1057
+  (0.1ms) BEGIN
1058
+ ----------------------------------------------------
1059
+ PushType::InvitationMethodsTest: test_0001_anonymous
1060
+ ----------------------------------------------------
1061
+  (0.0ms) SAVEPOINT active_record_1
1062
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1063
+  (0.0ms) SAVEPOINT active_record_1
1064
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1065
+  (0.0ms) ROLLBACK
1066
+  (0.0ms) BEGIN
1067
+ ---------------------------------------------------------------
1068
+ PushType::AuthenticatableTest::validatable: test_0001_anonymous
1069
+ ---------------------------------------------------------------
1070
+  (0.0ms) SAVEPOINT active_record_1
1071
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1072
+  (0.1ms) SAVEPOINT active_record_1
1073
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1074
+  (0.1ms) ROLLBACK
1075
+  (0.1ms) BEGIN
1076
+ ---------------------------------------------------------------
1077
+ PushType::AuthenticatableTest::validatable: test_0002_anonymous
1078
+ ---------------------------------------------------------------
1079
+  (0.0ms) SAVEPOINT active_record_1
1080
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1081
+  (0.0ms) SAVEPOINT active_record_1
1082
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1083
+  (0.1ms) ROLLBACK
1084
+  (0.0ms) BEGIN
1085
+ -----------------------------------------------------------------------
1086
+ PushType::Admin::ProfilesControllerTest::GET #edit: test_0001_anonymous
1087
+ -----------------------------------------------------------------------
1088
+  (0.0ms) SAVEPOINT active_record_1
1089
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1090
+  (0.1ms) SAVEPOINT active_record_1
1091
+  (0.1ms) SAVEPOINT active_record_2
1092
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-13@example.com"], ["LIMIT", 1]]
1093
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-13@example.com"], ["LIMIT", 1]]
1094
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-13@example.com"], ["created_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-01-30 11:08:43 UTC], ["confirmation_sent_at", 2017-01-30 11:08:43 UTC]]
1095
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1096
+ Processing by PushType::Admin::ProfilesController#edit as HTML
1097
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "8309edf5-ec76-454e-87a5-83b44a12ab05"], ["LIMIT", 1]]
1098
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
1099
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (5.2ms)
1100
+ Completed 200 OK in 21ms (Views: 16.9ms | ActiveRecord: 0.2ms)
1101
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1102
+  (0.1ms) ROLLBACK
1103
+  (0.1ms) BEGIN
1104
+ -----------------------------------------------------------------------
1105
+ PushType::Admin::ProfilesControllerTest::GET #edit: test_0002_anonymous
1106
+ -----------------------------------------------------------------------
1107
+  (0.0ms) SAVEPOINT active_record_1
1108
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1109
+  (0.0ms) SAVEPOINT active_record_1
1110
+  (0.1ms) SAVEPOINT active_record_2
1111
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-14@example.com"], ["LIMIT", 1]]
1112
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-14@example.com"], ["LIMIT", 1]]
1113
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-14@example.com"], ["created_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-01-30 11:08:43 UTC], ["confirmation_sent_at", 2017-01-30 11:08:43 UTC]]
1114
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1115
+ Processing by PushType::Admin::ProfilesController#edit as HTML
1116
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "96101f14-7f39-48c0-94dc-282e0a8e547b"], ["LIMIT", 1]]
1117
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
1118
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (2.0ms)
1119
+ Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.1ms)
1120
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1121
+  (0.1ms) ROLLBACK
1122
+  (0.1ms) BEGIN
1123
+ ----------------------------------------------------------------------------------------------------
1124
+ PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0002_anonymous
1125
+ ----------------------------------------------------------------------------------------------------
1126
+  (0.0ms) SAVEPOINT active_record_1
1127
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1128
+  (0.0ms) SAVEPOINT active_record_1
1129
+  (0.1ms) SAVEPOINT active_record_2
1130
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-15@example.com"], ["LIMIT", 1]]
1131
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-15@example.com"], ["LIMIT", 1]]
1132
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-15@example.com"], ["created_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["confirmation_token", "KKEYKiBoAR9mcA7igu9x"], ["confirmation_sent_at", 2017-01-30 11:08:43 UTC]]
1133
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1134
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
1135
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.7ms)
1136
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 37.7ms
1137
+ Sent mail to joe-15@example.com (3.5ms)
1138
+ Date: Mon, 30 Jan 2017 11:08:43 +0000
1139
+ From: pushtype@example.com
1140
+ Reply-To: pushtype@example.com
1141
+ To: joe-15@example.com
1142
+ Message-ID: <588f1ebbbcd99_75b23ff6f243f9d011138@Aarons-iMac.local.mail>
887
1143
  Subject: [PushType] Confirm your account
888
1144
  Mime-Version: 1.0
889
1145
  Content-Type: multipart/alternative;
890
- boundary="--==_mimepart_585a9bb7becc9_cf8c3ff7ee43f9d89065";
1146
+ boundary="--==_mimepart_588f1ebbbc904_75b23ff6f243f9d0110d2";
891
1147
  charset=UTF-8
892
1148
  Content-Transfer-Encoding: 7bit
893
1149
 
894
1150
 
895
- ----==_mimepart_585a9bb7becc9_cf8c3ff7ee43f9d89065
1151
+ ----==_mimepart_588f1ebbbc904_75b23ff6f243f9d0110d2
896
1152
  Content-Type: text/plain;
897
1153
  charset=UTF-8
898
1154
  Content-Transfer-Encoding: 7bit
@@ -908,11 +1164,11 @@ To get started, confirm your account and set your own password by
908
1164
  clicking the link below:
909
1165
 
910
1166
  Confirm my account
911
- ( http://localhost:3000/admin/confirmation.04bea6ed-7d6b-4577-a79f-fef641824c70?confirmation_token=ibPamMxzJz6bGPWTx1_k )
1167
+ ( http://localhost:3000/admin/confirmation.78ae17ec-a9c5-4484-8b79-1742ce92057e?confirmation_token=KKEYKiBoAR9mcA7igu9x )
912
1168
 
913
1169
 
914
1170
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
915
- ----==_mimepart_585a9bb7becc9_cf8c3ff7ee43f9d89065
1171
+ ----==_mimepart_588f1ebbbc904_75b23ff6f243f9d0110d2
916
1172
  Content-Type: text/html;
917
1173
  charset=UTF-8
918
1174
  Content-Transfer-Encoding: 7bit
@@ -958,7 +1214,7 @@ body {
958
1214
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
959
1215
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
960
1216
  <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;">
961
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.04bea6ed-7d6b-4577-a79f-fef641824c70?confirmation_token=ibPamMxzJz6bGPWTx1_k" 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>
1217
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.78ae17ec-a9c5-4484-8b79-1742ce92057e?confirmation_token=KKEYKiBoAR9mcA7igu9x" 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>
962
1218
  </td>
963
1219
  </tr>
964
1220
  </table>
@@ -1003,60 +1259,47 @@ body {
1003
1259
  </body>
1004
1260
  </html>
1005
1261
 
1006
- ----==_mimepart_585a9bb7becc9_cf8c3ff7ee43f9d89065--
1262
+ ----==_mimepart_588f1ebbbc904_75b23ff6f243f9d0110d2--
1007
1263
 
1008
- Redirected to http://test.host/push_type/users
1009
- Completed 302 Found in 39ms (ActiveRecord: 0.6ms)
1010
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1011
-  (0.1ms) ROLLBACK
1012
-  (0.1ms) BEGIN
1013
- ---------------------------------------------------------------------------
1014
- PushType::AuthenticatableTest::database_athenticatable: test_0001_anonymous
1015
- ---------------------------------------------------------------------------
1016
-  (0.0ms) SAVEPOINT active_record_1
1017
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1018
-  (0.0ms) SAVEPOINT active_record_1
1019
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1020
-  (0.1ms) ROLLBACK
1021
-  (0.1ms) BEGIN
1022
- ---------------------------------------------------------------------------
1023
- PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
1024
- ---------------------------------------------------------------------------
1025
-  (0.1ms) SAVEPOINT active_record_1
1026
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1027
-  (0.0ms) SAVEPOINT active_record_1
1264
+ Processing by PushType::ConfirmationsController#show as HTML
1265
+ Parameters: {"confirmation_token"=>"KKEYKiBoAR9mcA7igu9x"}
1266
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "KKEYKiBoAR9mcA7igu9x"], ["LIMIT", 1]]
1267
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
1268
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.9ms)
1269
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (7.3ms)
1270
+ Completed 200 OK in 19ms (Views: 14.4ms | ActiveRecord: 0.2ms)
1028
1271
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1029
1272
   (0.1ms) ROLLBACK
1030
1273
   (0.1ms) BEGIN
1031
- ------------------------------------------------------------------------------------------
1032
- PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0002_anonymous
1033
- ------------------------------------------------------------------------------------------
1274
+ ----------------------------------------------------------------------------------------------------
1275
+ PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0001_anonymous
1276
+ ----------------------------------------------------------------------------------------------------
1034
1277
   (0.1ms) SAVEPOINT active_record_1
1035
1278
   (0.1ms) RELEASE SAVEPOINT active_record_1
1036
-  (0.1ms) SAVEPOINT active_record_1
1279
+  (0.0ms) SAVEPOINT active_record_1
1037
1280
   (0.1ms) SAVEPOINT active_record_2
1038
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-7@example.com"], ["LIMIT", 1]]
1039
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-7@example.com"], ["LIMIT", 1]]
1040
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-7@example.com"], ["created_at", 2016-12-21 15:11:51 UTC], ["updated_at", 2016-12-21 15:11:51 UTC], ["confirmation_token", "WNZG_oxiYq8WxeTRa9xu"], ["confirmation_sent_at", 2016-12-21 15:11:51 UTC]]
1281
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-16@example.com"], ["LIMIT", 1]]
1282
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-16@example.com"], ["LIMIT", 1]]
1283
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-16@example.com"], ["created_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["confirmation_token", "pxDUPyV8RJyxm7uePyxj"], ["confirmation_sent_at", 2017-01-30 11:08:43 UTC]]
1041
1284
   (0.1ms) RELEASE SAVEPOINT active_record_2
1042
1285
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
1043
1286
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1044
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms
1045
- Sent mail to joe-7@example.com (3.6ms)
1046
- Date: Wed, 21 Dec 2016 15:11:51 +0000
1287
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 3.4ms
1288
+ Sent mail to joe-16@example.com (4.0ms)
1289
+ Date: Mon, 30 Jan 2017 11:08:43 +0000
1047
1290
  From: pushtype@example.com
1048
1291
  Reply-To: pushtype@example.com
1049
- To: joe-7@example.com
1050
- Message-ID: <585a9bb7d38d7_cf8c3ff7ee43f9d891045@Aarons-iMac.local.mail>
1292
+ To: joe-16@example.com
1293
+ Message-ID: <588f1ebbcbf99_75b23ff6f243f9d011487@Aarons-iMac.local.mail>
1051
1294
  Subject: [PushType] Confirm your account
1052
1295
  Mime-Version: 1.0
1053
1296
  Content-Type: multipart/alternative;
1054
- boundary="--==_mimepart_585a9bb7d3451_cf8c3ff7ee43f9d890998";
1297
+ boundary="--==_mimepart_588f1ebbcba8e_75b23ff6f243f9d011326";
1055
1298
  charset=UTF-8
1056
1299
  Content-Transfer-Encoding: 7bit
1057
1300
 
1058
1301
 
1059
- ----==_mimepart_585a9bb7d3451_cf8c3ff7ee43f9d890998
1302
+ ----==_mimepart_588f1ebbcba8e_75b23ff6f243f9d011326
1060
1303
  Content-Type: text/plain;
1061
1304
  charset=UTF-8
1062
1305
  Content-Transfer-Encoding: 7bit
@@ -1072,11 +1315,11 @@ To get started, confirm your account and set your own password by
1072
1315
  clicking the link below:
1073
1316
 
1074
1317
  Confirm my account
1075
- ( http://localhost:3000/admin/confirmation.a7839c70-b5ed-4b19-be07-6f8d18c66888?confirmation_token=WNZG_oxiYq8WxeTRa9xu )
1318
+ ( http://localhost:3000/admin/confirmation.455f934f-8e48-41ff-a603-290b8fe3d65f?confirmation_token=pxDUPyV8RJyxm7uePyxj )
1076
1319
 
1077
1320
 
1078
1321
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1079
- ----==_mimepart_585a9bb7d3451_cf8c3ff7ee43f9d890998
1322
+ ----==_mimepart_588f1ebbcba8e_75b23ff6f243f9d011326
1080
1323
  Content-Type: text/html;
1081
1324
  charset=UTF-8
1082
1325
  Content-Transfer-Encoding: 7bit
@@ -1122,7 +1365,7 @@ body {
1122
1365
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
1123
1366
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1124
1367
  <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;">
1125
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.a7839c70-b5ed-4b19-be07-6f8d18c66888?confirmation_token=WNZG_oxiYq8WxeTRa9xu" 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>
1368
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.455f934f-8e48-41ff-a603-290b8fe3d65f?confirmation_token=pxDUPyV8RJyxm7uePyxj" 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>
1126
1369
  </td>
1127
1370
  </tr>
1128
1371
  </table>
@@ -1167,48 +1410,74 @@ body {
1167
1410
  </body>
1168
1411
  </html>
1169
1412
 
1170
- ----==_mimepart_585a9bb7d3451_cf8c3ff7ee43f9d890998--
1413
+ ----==_mimepart_588f1ebbcba8e_75b23ff6f243f9d011326--
1171
1414
 
1172
- Processing by PushType::ConfirmationsController#update as HTML
1173
- Parameters: {"user"=>{"confirmation_token"=>"WNZG_oxiYq8WxeTRa9xu", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1174
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "WNZG_oxiYq8WxeTRa9xu"], ["LIMIT", 1]]
1175
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-7@example.com"], ["id", "a7839c70-b5ed-4b19-be07-6f8d18c66888"], ["LIMIT", 1]]
1415
+ Processing by PushType::ConfirmationsController#show as HTML
1416
+ Parameters: {"confirmation_token"=>"pxDUPyV8RJyxm7uePyxj"}
1417
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "pxDUPyV8RJyxm7uePyxj"], ["LIMIT", 1]]
1176
1418
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
1177
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.2ms)
1178
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (16.3ms)
1179
- Completed 200 OK in 45ms (Views: 40.4ms | ActiveRecord: 0.5ms)
1419
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
1420
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (2.0ms)
1421
+ Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.2ms)
1422
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1423
+  (0.1ms) ROLLBACK
1424
+  (0.1ms) BEGIN
1425
+ ----------------------------------------------------------------
1426
+ PushType::AuthenticatableTest::rememberable: test_0001_anonymous
1427
+ ----------------------------------------------------------------
1428
+  (0.1ms) SAVEPOINT active_record_1
1429
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1430
+  (0.0ms) SAVEPOINT active_record_1
1431
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1432
+  (0.1ms) ROLLBACK
1433
+  (0.1ms) BEGIN
1434
+ ---------------------------------------------------------------------------
1435
+ PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
1436
+ ---------------------------------------------------------------------------
1437
+  (0.1ms) SAVEPOINT active_record_1
1438
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1439
+  (0.0ms) SAVEPOINT active_record_1
1440
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1441
+  (0.1ms) ROLLBACK
1442
+  (0.1ms) BEGIN
1443
+ ---------------------------------------------------------------------------
1444
+ PushType::AuthenticatableTest::database_athenticatable: test_0001_anonymous
1445
+ ---------------------------------------------------------------------------
1446
+  (0.0ms) SAVEPOINT active_record_1
1447
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1448
+  (0.0ms) SAVEPOINT active_record_1
1180
1449
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1181
1450
   (0.1ms) ROLLBACK
1182
1451
   (0.1ms) BEGIN
1183
1452
  ------------------------------------------------------------------------------------------
1184
- PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0003_anonymous
1453
+ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0002_anonymous
1185
1454
  ------------------------------------------------------------------------------------------
1186
1455
   (0.0ms) SAVEPOINT active_record_1
1187
1456
   (0.0ms) RELEASE SAVEPOINT active_record_1
1188
1457
   (0.0ms) SAVEPOINT active_record_1
1189
1458
   (0.1ms) SAVEPOINT active_record_2
1190
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-8@example.com"], ["LIMIT", 1]]
1191
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-8@example.com"], ["LIMIT", 1]]
1192
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-8@example.com"], ["created_at", 2016-12-21 15:11:51 UTC], ["updated_at", 2016-12-21 15:11:51 UTC], ["confirmation_token", "BKxs4qms_hNEHDHz56KJ"], ["confirmation_sent_at", 2016-12-21 15:11:51 UTC]]
1459
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-17@example.com"], ["LIMIT", 1]]
1460
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-17@example.com"], ["LIMIT", 1]]
1461
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-17@example.com"], ["created_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["confirmation_token", "wT_spS1brBWRLhzcfS7q"], ["confirmation_sent_at", 2017-01-30 11:08:43 UTC]]
1193
1462
   (0.1ms) RELEASE SAVEPOINT active_record_2
1194
1463
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
1195
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1196
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
1197
- Sent mail to joe-8@example.com (3.6ms)
1198
- Date: Wed, 21 Dec 2016 15:11:51 +0000
1464
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms)
1465
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.9ms
1466
+ Sent mail to joe-17@example.com (4.0ms)
1467
+ Date: Mon, 30 Jan 2017 11:08:43 +0000
1199
1468
  From: pushtype@example.com
1200
1469
  Reply-To: pushtype@example.com
1201
- To: joe-8@example.com
1202
- Message-ID: <585a9bb7eaa88_cf8c3ff7ee43f9d8913ba@Aarons-iMac.local.mail>
1470
+ To: joe-17@example.com
1471
+ Message-ID: <588f1ebbdbc13_75b23ff6f243f9d0117dc@Aarons-iMac.local.mail>
1203
1472
  Subject: [PushType] Confirm your account
1204
1473
  Mime-Version: 1.0
1205
1474
  Content-Type: multipart/alternative;
1206
- boundary="--==_mimepart_585a9bb7ea551_cf8c3ff7ee43f9d891254";
1475
+ boundary="--==_mimepart_588f1ebbdb6c9_75b23ff6f243f9d011654";
1207
1476
  charset=UTF-8
1208
1477
  Content-Transfer-Encoding: 7bit
1209
1478
 
1210
1479
 
1211
- ----==_mimepart_585a9bb7ea551_cf8c3ff7ee43f9d891254
1480
+ ----==_mimepart_588f1ebbdb6c9_75b23ff6f243f9d011654
1212
1481
  Content-Type: text/plain;
1213
1482
  charset=UTF-8
1214
1483
  Content-Transfer-Encoding: 7bit
@@ -1224,11 +1493,11 @@ To get started, confirm your account and set your own password by
1224
1493
  clicking the link below:
1225
1494
 
1226
1495
  Confirm my account
1227
- ( http://localhost:3000/admin/confirmation.ddbe34c2-491c-4052-b144-621d70567fa1?confirmation_token=BKxs4qms_hNEHDHz56KJ )
1496
+ ( http://localhost:3000/admin/confirmation.38770a5f-d8dd-4229-8d1e-f3115b9b78f0?confirmation_token=wT_spS1brBWRLhzcfS7q )
1228
1497
 
1229
1498
 
1230
1499
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1231
- ----==_mimepart_585a9bb7ea551_cf8c3ff7ee43f9d891254
1500
+ ----==_mimepart_588f1ebbdb6c9_75b23ff6f243f9d011654
1232
1501
  Content-Type: text/html;
1233
1502
  charset=UTF-8
1234
1503
  Content-Transfer-Encoding: 7bit
@@ -1274,7 +1543,7 @@ body {
1274
1543
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
1275
1544
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1276
1545
  <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;">
1277
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.ddbe34c2-491c-4052-b144-621d70567fa1?confirmation_token=BKxs4qms_hNEHDHz56KJ" 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>
1546
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.38770a5f-d8dd-4229-8d1e-f3115b9b78f0?confirmation_token=wT_spS1brBWRLhzcfS7q" 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>
1278
1547
  </td>
1279
1548
  </tr>
1280
1549
  </table>
@@ -1319,48 +1588,48 @@ body {
1319
1588
  </body>
1320
1589
  </html>
1321
1590
 
1322
- ----==_mimepart_585a9bb7ea551_cf8c3ff7ee43f9d891254--
1591
+ ----==_mimepart_588f1ebbdb6c9_75b23ff6f243f9d011654--
1323
1592
 
1324
1593
  Processing by PushType::ConfirmationsController#update as HTML
1325
- Parameters: {"user"=>{"confirmation_token"=>"BKxs4qms_hNEHDHz56KJ", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1326
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "BKxs4qms_hNEHDHz56KJ"], ["LIMIT", 1]]
1327
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-8@example.com"], ["id", "ddbe34c2-491c-4052-b144-621d70567fa1"], ["LIMIT", 1]]
1594
+ Parameters: {"user"=>{"confirmation_token"=>"wT_spS1brBWRLhzcfS7q", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1595
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "wT_spS1brBWRLhzcfS7q"], ["LIMIT", 1]]
1596
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-17@example.com"], ["id", "38770a5f-d8dd-4229-8d1e-f3115b9b78f0"], ["LIMIT", 1]]
1328
1597
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
1329
1598
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
1330
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.9ms)
1331
- Completed 200 OK in 9ms (Views: 5.6ms | ActiveRecord: 0.5ms)
1599
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (2.1ms)
1600
+ Completed 200 OK in 10ms (Views: 7.2ms | ActiveRecord: 0.4ms)
1332
1601
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1333
1602
   (0.1ms) ROLLBACK
1334
1603
   (0.1ms) BEGIN
1335
1604
  ------------------------------------------------------------------------------------------
1336
- PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0001_anonymous
1605
+ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0003_anonymous
1337
1606
  ------------------------------------------------------------------------------------------
1338
1607
   (0.0ms) SAVEPOINT active_record_1
1339
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1340
-  (0.0ms) SAVEPOINT active_record_1
1608
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1609
+  (0.1ms) SAVEPOINT active_record_1
1341
1610
   (0.1ms) SAVEPOINT active_record_2
1342
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-9@example.com"], ["LIMIT", 1]]
1343
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-9@example.com"], ["LIMIT", 1]]
1344
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-9@example.com"], ["created_at", 2016-12-21 15:11:51 UTC], ["updated_at", 2016-12-21 15:11:51 UTC], ["confirmation_token", "CwB9gzbtvPj54mUXX1A2"], ["confirmation_sent_at", 2016-12-21 15:11:51 UTC]]
1611
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-18@example.com"], ["LIMIT", 1]]
1612
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-18@example.com"], ["LIMIT", 1]]
1613
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-18@example.com"], ["created_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["confirmation_token", "rvPSGPZKkBNbryUmiF4i"], ["confirmation_sent_at", 2017-01-30 11:08:43 UTC]]
1345
1614
   (0.1ms) RELEASE SAVEPOINT active_record_2
1346
1615
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
1347
1616
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1348
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
1349
- Sent mail to joe-9@example.com (3.6ms)
1350
- Date: Wed, 21 Dec 2016 15:11:52 +0000
1617
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 3.3ms
1618
+ Sent mail to joe-18@example.com (4.0ms)
1619
+ Date: Mon, 30 Jan 2017 11:08:43 +0000
1351
1620
  From: pushtype@example.com
1352
1621
  Reply-To: pushtype@example.com
1353
- To: joe-9@example.com
1354
- Message-ID: <585a9bb85280_cf8c3ff7ee43f9d89167f@Aarons-iMac.local.mail>
1622
+ To: joe-18@example.com
1623
+ Message-ID: <588f1ebbeb65a_75b23ff6f243f9d0120c1@Aarons-iMac.local.mail>
1355
1624
  Subject: [PushType] Confirm your account
1356
1625
  Mime-Version: 1.0
1357
1626
  Content-Type: multipart/alternative;
1358
- boundary="--==_mimepart_585a9bb84df2_cf8c3ff7ee43f9d8915a4";
1627
+ boundary="--==_mimepart_588f1ebbeb120_75b23ff6f243f9d011992";
1359
1628
  charset=UTF-8
1360
1629
  Content-Transfer-Encoding: 7bit
1361
1630
 
1362
1631
 
1363
- ----==_mimepart_585a9bb84df2_cf8c3ff7ee43f9d8915a4
1632
+ ----==_mimepart_588f1ebbeb120_75b23ff6f243f9d011992
1364
1633
  Content-Type: text/plain;
1365
1634
  charset=UTF-8
1366
1635
  Content-Transfer-Encoding: 7bit
@@ -1376,11 +1645,11 @@ To get started, confirm your account and set your own password by
1376
1645
  clicking the link below:
1377
1646
 
1378
1647
  Confirm my account
1379
- ( http://localhost:3000/admin/confirmation.895cc2ab-fc0f-495c-a4c4-1f8240102c08?confirmation_token=CwB9gzbtvPj54mUXX1A2 )
1648
+ ( http://localhost:3000/admin/confirmation.72177d7c-84e9-4963-8070-dfb723d245a2?confirmation_token=rvPSGPZKkBNbryUmiF4i )
1380
1649
 
1381
1650
 
1382
1651
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1383
- ----==_mimepart_585a9bb84df2_cf8c3ff7ee43f9d8915a4
1652
+ ----==_mimepart_588f1ebbeb120_75b23ff6f243f9d011992
1384
1653
  Content-Type: text/html;
1385
1654
  charset=UTF-8
1386
1655
  Content-Transfer-Encoding: 7bit
@@ -1426,7 +1695,7 @@ body {
1426
1695
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
1427
1696
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1428
1697
  <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;">
1429
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.895cc2ab-fc0f-495c-a4c4-1f8240102c08?confirmation_token=CwB9gzbtvPj54mUXX1A2" 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>
1698
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.72177d7c-84e9-4963-8070-dfb723d245a2?confirmation_token=rvPSGPZKkBNbryUmiF4i" 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>
1430
1699
  </td>
1431
1700
  </tr>
1432
1701
  </table>
@@ -1471,107 +1740,48 @@ body {
1471
1740
  </body>
1472
1741
  </html>
1473
1742
 
1474
- ----==_mimepart_585a9bb84df2_cf8c3ff7ee43f9d8915a4--
1743
+ ----==_mimepart_588f1ebbeb120_75b23ff6f243f9d011992--
1475
1744
 
1476
1745
  Processing by PushType::ConfirmationsController#update as HTML
1477
- Parameters: {"user"=>{"confirmation_token"=>"CwB9gzbtvPj54mUXX1A2", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1478
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "CwB9gzbtvPj54mUXX1A2"], ["LIMIT", 1]]
1479
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-9@example.com"], ["id", "895cc2ab-fc0f-495c-a4c4-1f8240102c08"], ["LIMIT", 1]]
1746
+ Parameters: {"user"=>{"confirmation_token"=>"rvPSGPZKkBNbryUmiF4i", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1747
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "rvPSGPZKkBNbryUmiF4i"], ["LIMIT", 1]]
1748
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-18@example.com"], ["id", "72177d7c-84e9-4963-8070-dfb723d245a2"], ["LIMIT", 1]]
1480
1749
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
1481
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms)
1482
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (2.0ms)
1483
- Completed 200 OK in 10ms (Views: 6.8ms | ActiveRecord: 0.5ms)
1484
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1485
-  (0.1ms) ROLLBACK
1486
-  (0.1ms) BEGIN
1487
- -------------------------------------------------------------
1488
- PushType::AuthenticatableTest::trackable: test_0001_anonymous
1489
- -------------------------------------------------------------
1490
-  (0.0ms) SAVEPOINT active_record_1
1491
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1492
-  (0.0ms) SAVEPOINT active_record_1
1750
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
1751
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.9ms)
1752
+ Completed 200 OK in 10ms (Views: 7.0ms | ActiveRecord: 0.4ms)
1493
1753
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1494
1754
   (0.1ms) ROLLBACK
1495
1755
   (0.1ms) BEGIN
1496
- -------------------------------------------------------------------------
1497
- AuthenticatedControllerTest::unauthenticated request: test_0001_anonymous
1498
- -------------------------------------------------------------------------
1499
-  (0.0ms) SAVEPOINT active_record_1
1500
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1501
-  (0.0ms) SAVEPOINT active_record_1
1502
- Started GET "/admin/nodes" for 127.0.0.1 at 2016-12-21 15:11:52 +0000
1503
- Processing by PushType::Admin::NodesController#index as HTML
1504
- Redirected to http://www.example.com/admin/sign_in
1505
- Filter chain halted as :authenticate_user! rendered or redirected
1506
- Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
1507
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1508
-  (0.1ms) ROLLBACK
1509
-  (0.0ms) BEGIN
1510
- ------------------------------------------------------------------------------------------------------
1511
- PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
1512
- ------------------------------------------------------------------------------------------------------
1756
+ ------------------------------------------------------------------------------------------
1757
+ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0001_anonymous
1758
+ ------------------------------------------------------------------------------------------
1513
1759
   (0.0ms) SAVEPOINT active_record_1
1514
1760
   (0.0ms) RELEASE SAVEPOINT active_record_1
1515
1761
   (0.0ms) SAVEPOINT active_record_1
1516
- Processing by PushType::ConfirmationsController#show as HTML
1517
- Parameters: {"confirmation_token"=>"invalid"}
1518
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
1519
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
1520
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "863f4ab1ee10fcbe5942bfe44acb7deea150ed84c24f09579fbc18ddd3670130"], ["LIMIT", 1]]
1521
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
1522
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.3ms)
1523
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (7.6ms)
1524
- Completed 200 OK in 208ms (Views: 32.4ms | ActiveRecord: 0.6ms)
1525
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1526
-  (0.1ms) ROLLBACK
1527
-  (0.1ms) BEGIN
1528
- ------------------------------------------------------------------------------------------------------
1529
- PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0002_anonymous
1530
- ------------------------------------------------------------------------------------------------------
1531
-  (0.1ms) SAVEPOINT active_record_1
1532
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1533
-  (0.1ms) SAVEPOINT active_record_1
1534
- Processing by PushType::ConfirmationsController#show as HTML
1535
- Parameters: {"confirmation_token"=>"invalid"}
1536
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
1537
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
1538
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "863f4ab1ee10fcbe5942bfe44acb7deea150ed84c24f09579fbc18ddd3670130"], ["LIMIT", 1]]
1539
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
1540
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
1541
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.5ms)
1542
- Completed 200 OK in 9ms (Views: 5.9ms | ActiveRecord: 0.4ms)
1543
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1544
-  (0.1ms) ROLLBACK
1545
-  (0.1ms) BEGIN
1546
- ----------------------------------------------------------------------------------------
1547
- PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0001_anonymous
1548
- ----------------------------------------------------------------------------------------
1549
-  (0.1ms) SAVEPOINT active_record_1
1550
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1551
-  (0.0ms) SAVEPOINT active_record_1
1552
1762
   (0.1ms) SAVEPOINT active_record_2
1553
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-10@example.com"], ["LIMIT", 1]]
1554
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-10@example.com"], ["LIMIT", 1]]
1555
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-10@example.com"], ["created_at", 2016-12-21 15:11:52 UTC], ["updated_at", 2016-12-21 15:11:52 UTC], ["confirmation_token", "1sssYXz2nfwFgJN6xuZE"], ["confirmation_sent_at", 2016-12-21 15:11:52 UTC]]
1763
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-19@example.com"], ["LIMIT", 1]]
1764
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-19@example.com"], ["LIMIT", 1]]
1765
+ SQL (0.3ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-19@example.com"], ["created_at", 2017-01-30 11:08:43 UTC], ["updated_at", 2017-01-30 11:08:43 UTC], ["confirmation_token", "QysrcBnRbbJNvTwx2p3F"], ["confirmation_sent_at", 2017-01-30 11:08:43 UTC]]
1556
1766
   (0.1ms) RELEASE SAVEPOINT active_record_2
1557
1767
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
1558
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.9ms)
1559
- Devise::Mailer#confirmation_instructions: processed outbound mail in 37.9ms
1560
- Sent mail to joe-10@example.com (3.8ms)
1561
- Date: Wed, 21 Dec 2016 15:11:52 +0000
1768
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms)
1769
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 3.2ms
1770
+ Sent mail to joe-19@example.com (4.0ms)
1771
+ Date: Mon, 30 Jan 2017 11:08:44 +0000
1562
1772
  From: pushtype@example.com
1563
1773
  Reply-To: pushtype@example.com
1564
- To: joe-10@example.com
1565
- Message-ID: <585a9bb858d28_cf8c3ff7ee43f9d891955@Aarons-iMac.local.mail>
1774
+ To: joe-19@example.com
1775
+ Message-ID: <588f1ebc58cd_75b23ff6f243f9d012312@Aarons-iMac.local.mail>
1566
1776
  Subject: [PushType] Confirm your account
1567
1777
  Mime-Version: 1.0
1568
1778
  Content-Type: multipart/alternative;
1569
- boundary="--==_mimepart_585a9bb858797_cf8c3ff7ee43f9d8918cb";
1779
+ boundary="--==_mimepart_588f1ebc53c4_75b23ff6f243f9d01223c";
1570
1780
  charset=UTF-8
1571
1781
  Content-Transfer-Encoding: 7bit
1572
1782
 
1573
1783
 
1574
- ----==_mimepart_585a9bb858797_cf8c3ff7ee43f9d8918cb
1784
+ ----==_mimepart_588f1ebc53c4_75b23ff6f243f9d01223c
1575
1785
  Content-Type: text/plain;
1576
1786
  charset=UTF-8
1577
1787
  Content-Transfer-Encoding: 7bit
@@ -1587,11 +1797,11 @@ To get started, confirm your account and set your own password by
1587
1797
  clicking the link below:
1588
1798
 
1589
1799
  Confirm my account
1590
- ( http://localhost:3000/admin/confirmation.d7fb6762-b4be-469b-a8a7-81ff34d61954?confirmation_token=1sssYXz2nfwFgJN6xuZE )
1800
+ ( http://localhost:3000/admin/confirmation.22523903-ca39-4a95-9111-c2cde67295c6?confirmation_token=QysrcBnRbbJNvTwx2p3F )
1591
1801
 
1592
1802
 
1593
1803
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1594
- ----==_mimepart_585a9bb858797_cf8c3ff7ee43f9d8918cb
1804
+ ----==_mimepart_588f1ebc53c4_75b23ff6f243f9d01223c
1595
1805
  Content-Type: text/html;
1596
1806
  charset=UTF-8
1597
1807
  Content-Transfer-Encoding: 7bit
@@ -1637,7 +1847,7 @@ body {
1637
1847
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
1638
1848
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1639
1849
  <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;">
1640
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.d7fb6762-b4be-469b-a8a7-81ff34d61954?confirmation_token=1sssYXz2nfwFgJN6xuZE" 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>
1850
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.22523903-ca39-4a95-9111-c2cde67295c6?confirmation_token=QysrcBnRbbJNvTwx2p3F" 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>
1641
1851
  </td>
1642
1852
  </tr>
1643
1853
  </table>
@@ -1682,53 +1892,67 @@ body {
1682
1892
  </body>
1683
1893
  </html>
1684
1894
 
1685
- ----==_mimepart_585a9bb858797_cf8c3ff7ee43f9d8918cb--
1895
+ ----==_mimepart_588f1ebc53c4_75b23ff6f243f9d01223c--
1686
1896
 
1687
1897
  Processing by PushType::ConfirmationsController#update as HTML
1688
- Parameters: {"user"=>{"confirmation_token"=>"1sssYXz2nfwFgJN6xuZE", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1689
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "1sssYXz2nfwFgJN6xuZE"], ["LIMIT", 1]]
1690
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-10@example.com"], ["id", "d7fb6762-b4be-469b-a8a7-81ff34d61954"], ["LIMIT", 1]]
1691
-  (0.1ms) SAVEPOINT active_record_2
1692
- SQL (0.2ms) UPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["encrypted_password", "$2a$04$KAcPQ6nb7gcZ03lPkOZ7jOtNJL5MM9X1U7xNmrsw/jE91vUV0OtC6"], ["confirmed_at", 2016-12-21 15:11:52 UTC], ["updated_at", 2016-12-21 15:11:52 UTC], ["id", "d7fb6762-b4be-469b-a8a7-81ff34d61954"]]
1693
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1694
-  (0.1ms) SAVEPOINT active_record_2
1695
- SQL (0.3ms) UPDATE "push_type_users" SET "updated_at" = $1, "sign_in_count" = $2, "current_sign_in_at" = $3, "last_sign_in_at" = $4, "current_sign_in_ip" = $5, "last_sign_in_ip" = $6 WHERE "push_type_users"."id" = $7 [["updated_at", 2016-12-21 15:11:52 UTC], ["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 15:11:52 UTC], ["last_sign_in_at", 2016-12-21 15:11:52 UTC], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "d7fb6762-b4be-469b-a8a7-81ff34d61954"]]
1696
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1697
- Redirected to http://test.host/admin/
1698
- Completed 302 Found in 35ms (ActiveRecord: 1.3ms)
1699
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT $2 [["id", "d7fb6762-b4be-469b-a8a7-81ff34d61954"], ["LIMIT", 1]]
1898
+ Parameters: {"user"=>{"confirmation_token"=>"QysrcBnRbbJNvTwx2p3F", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1899
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "QysrcBnRbbJNvTwx2p3F"], ["LIMIT", 1]]
1900
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-19@example.com"], ["id", "22523903-ca39-4a95-9111-c2cde67295c6"], ["LIMIT", 1]]
1901
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
1902
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
1903
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.7ms)
1904
+ Completed 200 OK in 9ms (Views: 6.4ms | ActiveRecord: 0.4ms)
1700
1905
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1701
1906
   (0.1ms) ROLLBACK
1702
1907
   (0.1ms) BEGIN
1703
- ----------------------------------------------------------------------------------------
1704
- PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0002_anonymous
1705
- ----------------------------------------------------------------------------------------
1706
-  (0.1ms) SAVEPOINT active_record_1
1908
+ -------------------------------------------------------------------------
1909
+ AuthenticatedControllerTest::unauthenticated request: test_0001_anonymous
1910
+ -------------------------------------------------------------------------
1911
+  (0.0ms) SAVEPOINT active_record_1
1707
1912
   (0.0ms) RELEASE SAVEPOINT active_record_1
1708
1913
   (0.0ms) SAVEPOINT active_record_1
1914
+ Started GET "/admin/nodes" for 127.0.0.1 at 2017-01-30 11:08:44 +0000
1915
+ Processing by PushType::Admin::NodesController#index as HTML
1916
+ Redirected to http://www.example.com/admin/sign_in
1917
+ Filter chain halted as :authenticate_user! rendered or redirected
1918
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1919
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1920
+  (0.1ms) ROLLBACK
1921
+  (0.1ms) BEGIN
1922
+ ----------------------------------------------------------------------
1923
+ PushType::Admin::UsersControllerTest::PUT #invite: test_0003_anonymous
1924
+ ----------------------------------------------------------------------
1925
+  (0.1ms) SAVEPOINT active_record_1
1926
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1927
+  (0.0ms) SAVEPOINT active_record_1
1928
+  (0.1ms) SAVEPOINT active_record_2
1929
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-20@example.com"], ["LIMIT", 1]]
1930
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-20@example.com"], ["LIMIT", 1]]
1931
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-20@example.com"], ["created_at", 2017-01-30 11:08:44 UTC], ["updated_at", 2017-01-30 11:08:44 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-01-30 11:08:44 UTC], ["confirmation_sent_at", 2017-01-30 11:08:44 UTC]]
1932
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1709
1933
   (0.1ms) SAVEPOINT active_record_2
1710
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-11@example.com"], ["LIMIT", 1]]
1711
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-11@example.com"], ["LIMIT", 1]]
1712
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-11@example.com"], ["created_at", 2016-12-21 15:11:52 UTC], ["updated_at", 2016-12-21 15:11:52 UTC], ["confirmation_token", "yj3DCM5SmLd3NZxPvDvm"], ["confirmation_sent_at", 2016-12-21 15:11:52 UTC]]
1934
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-21@example.com"], ["LIMIT", 1]]
1935
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-21@example.com"], ["LIMIT", 1]]
1936
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-21@example.com"], ["created_at", 2017-01-30 11:08:44 UTC], ["updated_at", 2017-01-30 11:08:44 UTC], ["confirmation_token", "xjF6pqdhZEP7JXkNpuPc"], ["confirmation_sent_at", 2017-01-30 11:08:44 UTC]]
1713
1937
   (0.1ms) RELEASE SAVEPOINT active_record_2
1714
1938
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
1715
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1716
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms
1717
- Sent mail to joe-11@example.com (3.6ms)
1718
- Date: Wed, 21 Dec 2016 15:11:52 +0000
1939
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.8ms)
1940
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 38.2ms
1941
+ Sent mail to joe-21@example.com (3.9ms)
1942
+ Date: Mon, 30 Jan 2017 11:08:44 +0000
1719
1943
  From: pushtype@example.com
1720
1944
  Reply-To: pushtype@example.com
1721
- To: joe-11@example.com
1722
- Message-ID: <585a9bb86c2df_cf8c3ff7ee43f9d8922a7@Aarons-iMac.local.mail>
1945
+ To: joe-21@example.com
1946
+ Message-ID: <588f1ebc1df98_75b23ff6f243f9d0126ba@Aarons-iMac.local.mail>
1723
1947
  Subject: [PushType] Confirm your account
1724
1948
  Mime-Version: 1.0
1725
1949
  Content-Type: multipart/alternative;
1726
- boundary="--==_mimepart_585a9bb86be7b_cf8c3ff7ee43f9d89214f";
1950
+ boundary="--==_mimepart_588f1ebc1dad2_75b23ff6f243f9d01252b";
1727
1951
  charset=UTF-8
1728
1952
  Content-Transfer-Encoding: 7bit
1729
1953
 
1730
1954
 
1731
- ----==_mimepart_585a9bb86be7b_cf8c3ff7ee43f9d89214f
1955
+ ----==_mimepart_588f1ebc1dad2_75b23ff6f243f9d01252b
1732
1956
  Content-Type: text/plain;
1733
1957
  charset=UTF-8
1734
1958
  Content-Transfer-Encoding: 7bit
@@ -1744,11 +1968,11 @@ To get started, confirm your account and set your own password by
1744
1968
  clicking the link below:
1745
1969
 
1746
1970
  Confirm my account
1747
- ( http://localhost:3000/admin/confirmation.30337260-8f7a-467e-8563-476d89cea313?confirmation_token=yj3DCM5SmLd3NZxPvDvm )
1971
+ ( http://localhost:3000/admin/confirmation.7942f440-3b77-4972-a93a-87ebdb53f08f?confirmation_token=xjF6pqdhZEP7JXkNpuPc )
1748
1972
 
1749
1973
 
1750
1974
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1751
- ----==_mimepart_585a9bb86be7b_cf8c3ff7ee43f9d89214f
1975
+ ----==_mimepart_588f1ebc1dad2_75b23ff6f243f9d01252b
1752
1976
  Content-Type: text/html;
1753
1977
  charset=UTF-8
1754
1978
  Content-Transfer-Encoding: 7bit
@@ -1794,7 +2018,7 @@ body {
1794
2018
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
1795
2019
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1796
2020
  <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;">
1797
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.30337260-8f7a-467e-8563-476d89cea313?confirmation_token=yj3DCM5SmLd3NZxPvDvm" 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>
2021
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.7942f440-3b77-4972-a93a-87ebdb53f08f?confirmation_token=xjF6pqdhZEP7JXkNpuPc" 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>
1798
2022
  </td>
1799
2023
  </tr>
1800
2024
  </table>
@@ -1839,129 +2063,32 @@ body {
1839
2063
  </body>
1840
2064
  </html>
1841
2065
 
1842
- ----==_mimepart_585a9bb86be7b_cf8c3ff7ee43f9d89214f--
2066
+ ----==_mimepart_588f1ebc1dad2_75b23ff6f243f9d01252b--
1843
2067
 
1844
- Processing by PushType::ConfirmationsController#update as HTML
1845
- Parameters: {"user"=>{"confirmation_token"=>"yj3DCM5SmLd3NZxPvDvm", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1846
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "yj3DCM5SmLd3NZxPvDvm"], ["LIMIT", 1]]
1847
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-11@example.com"], ["id", "30337260-8f7a-467e-8563-476d89cea313"], ["LIMIT", 1]]
1848
-  (0.1ms) SAVEPOINT active_record_2
1849
- SQL (0.2ms) UPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["encrypted_password", "$2a$04$AOzKawJSjH0jFkMEstqBqe8OyQPaKbJkbT6AMRFDzPHtUYXgktiC."], ["confirmed_at", 2016-12-21 15:11:52 UTC], ["updated_at", 2016-12-21 15:11:52 UTC], ["id", "30337260-8f7a-467e-8563-476d89cea313"]]
1850
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1851
-  (0.1ms) SAVEPOINT active_record_2
1852
- SQL (0.3ms) UPDATE "push_type_users" SET "updated_at" = $1, "sign_in_count" = $2, "current_sign_in_at" = $3, "last_sign_in_at" = $4, "current_sign_in_ip" = $5, "last_sign_in_ip" = $6 WHERE "push_type_users"."id" = $7 [["updated_at", 2016-12-21 15:11:52 UTC], ["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 15:11:52 UTC], ["last_sign_in_at", 2016-12-21 15:11:52 UTC], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "30337260-8f7a-467e-8563-476d89cea313"]]
1853
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1854
- Redirected to http://test.host/admin/
1855
- Completed 302 Found in 8ms (ActiveRecord: 1.3ms)
1856
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1857
-  (0.1ms) ROLLBACK
1858
-  (0.1ms) BEGIN
1859
- -----------------------------------------------------------
1860
- PushType::ApiAuthenticationMethodsTest: test_0002_anonymous
1861
- -----------------------------------------------------------
1862
-  (0.1ms) SAVEPOINT active_record_1
1863
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1864
-  (0.0ms) SAVEPOINT active_record_1
1865
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1866
-  (0.0ms) ROLLBACK
1867
-  (0.1ms) BEGIN
1868
- -----------------------------------------------------------
1869
- PushType::ApiAuthenticationMethodsTest: test_0004_anonymous
1870
- -----------------------------------------------------------
1871
-  (0.1ms) SAVEPOINT active_record_1
1872
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1873
-  (0.0ms) SAVEPOINT active_record_1
1874
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1875
-  (0.1ms) ROLLBACK
1876
-  (0.1ms) BEGIN
1877
- -----------------------------------------------------------
1878
- PushType::ApiAuthenticationMethodsTest: test_0003_anonymous
1879
- -----------------------------------------------------------
1880
-  (0.1ms) SAVEPOINT active_record_1
1881
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1882
-  (0.0ms) SAVEPOINT active_record_1
1883
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1884
-  (0.0ms) ROLLBACK
1885
-  (0.1ms) BEGIN
1886
- -----------------------------------------------------------
1887
- PushType::ApiAuthenticationMethodsTest: test_0001_anonymous
1888
- -----------------------------------------------------------
1889
-  (0.1ms) SAVEPOINT active_record_1
1890
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1891
-  (0.0ms) SAVEPOINT active_record_1
1892
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1893
-  (0.0ms) ROLLBACK
1894
-  (0.1ms) BEGIN
1895
- ---------------------------------------------------------------
1896
- PushType::AuthenticatableTest::validatable: test_0001_anonymous
1897
- ---------------------------------------------------------------
1898
-  (0.1ms) SAVEPOINT active_record_1
1899
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1900
-  (0.1ms) SAVEPOINT active_record_1
1901
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1902
-  (0.1ms) ROLLBACK
1903
-  (0.1ms) BEGIN
1904
- ---------------------------------------------------------------
1905
- PushType::AuthenticatableTest::validatable: test_0002_anonymous
1906
- ---------------------------------------------------------------
1907
-  (0.1ms) SAVEPOINT active_record_1
1908
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1909
-  (0.0ms) SAVEPOINT active_record_1
1910
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1911
-  (0.1ms) ROLLBACK
1912
-  (0.1ms) BEGIN
1913
- -----------------------------------------------------------------------------------
1914
- AuthenticatedApiControllerTest::authenticated with token param: test_0001_anonymous
1915
- -----------------------------------------------------------------------------------
1916
-  (0.0ms) SAVEPOINT active_record_1
1917
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1918
-  (0.0ms) SAVEPOINT active_record_1
1919
-  (0.1ms) SAVEPOINT active_record_2
1920
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-12@example.com"], ["LIMIT", 1]]
1921
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-12@example.com"], ["LIMIT", 1]]
1922
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-12@example.com"], ["created_at", 2016-12-21 15:11:52 UTC], ["updated_at", 2016-12-21 15:11:52 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-21 15:11:52 UTC], ["confirmation_sent_at", 2016-12-21 15:11:52 UTC]]
1923
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1924
- Started GET "/api/nodes?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE0ODI0MTk1MTIsInN1YiI6IjE3YWZkNmRhLWE4N2ItNDZlMS1iYzhhLTU4NjEyZWIzMmYxMSJ9.djKW7wHkFxMI-iTOwMCT4tZHpvU72RAdZ8ZySBeATxA" for 127.0.0.1 at 2016-12-21 15:11:52 +0000
1925
- Processing by PushType::Api::NodesController#index as JSON
1926
- Parameters: {"token"=>"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE0ODI0MTk1MTIsInN1YiI6IjE3YWZkNmRhLWE4N2ItNDZlMS1iYzhhLTU4NjEyZWIzMmYxMSJ9.djKW7wHkFxMI-iTOwMCT4tZHpvU72RAdZ8ZySBeATxA"}
1927
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "17afd6da-a87b-46e1-bc8a-58612eb32f11"], ["LIMIT", 1]]
1928
- Rendering /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder
1929
- PushType::Node Load (0.6ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL ORDER BY sort_order LIMIT $1 OFFSET $2 [["LIMIT", 30], ["OFFSET", 0]]
1930
- Rendered collection of /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/shared/_pagination.json.jbuilder [0 times] (0.0ms)
1931
- Rendered /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder (8.7ms)
1932
- Completed 200 OK in 50ms (Views: 38.6ms | ActiveRecord: 0.9ms)
1933
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1934
-  (0.1ms) ROLLBACK
1935
-  (0.1ms) BEGIN
1936
- --------------------------------------------------------------------------------------------------------------
1937
- PushType::AuthenticatableTest::#password_required?::with existing user and clean password: test_0001_anonymous
1938
- --------------------------------------------------------------------------------------------------------------
1939
-  (0.1ms) SAVEPOINT active_record_1
1940
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1941
-  (0.1ms) SAVEPOINT active_record_1
2068
+ Processing by PushType::Admin::UsersController#invite as HTML
2069
+ Parameters: {"id"=>"7942f440-3b77-4972-a93a-87ebdb53f08f"}
2070
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "453e45e5-a9d7-45fe-a179-afc0a8635599"], ["LIMIT", 1]]
2071
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "7942f440-3b77-4972-a93a-87ebdb53f08f"], ["LIMIT", 1]]
1942
2072
   (0.1ms) SAVEPOINT active_record_2
1943
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-13@example.com"], ["LIMIT", 1]]
1944
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-13@example.com"], ["LIMIT", 1]]
1945
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-13@example.com"], ["created_at", 2016-12-21 15:11:52 UTC], ["updated_at", 2016-12-21 15:11:52 UTC], ["confirmation_token", "qs6x91y-gED2Vn9zZzmU"], ["confirmation_sent_at", 2016-12-21 15:11:52 UTC]]
1946
2073
   (0.1ms) RELEASE SAVEPOINT active_record_2
1947
2074
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
1948
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.7ms)
1949
- Devise::Mailer#confirmation_instructions: processed outbound mail in 39.0ms
1950
- Sent mail to joe-13@example.com (3.9ms)
1951
- Date: Wed, 21 Dec 2016 15:11:52 +0000
2075
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
2076
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 3.0ms
2077
+ Sent mail to joe-21@example.com (3.8ms)
2078
+ Date: Mon, 30 Jan 2017 11:08:44 +0000
1952
2079
  From: pushtype@example.com
1953
2080
  Reply-To: pushtype@example.com
1954
- To: joe-13@example.com
1955
- Message-ID: <585a9bb8984ba_cf8c3ff7ee43f9d8925c9@Aarons-iMac.local.mail>
2081
+ To: joe-21@example.com
2082
+ Message-ID: <588f1ebc29ed8_75b23ff6f243f9d0129e5@Aarons-iMac.local.mail>
1956
2083
  Subject: [PushType] Confirm your account
1957
2084
  Mime-Version: 1.0
1958
2085
  Content-Type: multipart/alternative;
1959
- boundary="--==_mimepart_585a9bb89801c_cf8c3ff7ee43f9d89248c";
2086
+ boundary="--==_mimepart_588f1ebc299d2_75b23ff6f243f9d012897";
1960
2087
  charset=UTF-8
1961
2088
  Content-Transfer-Encoding: 7bit
1962
2089
 
1963
2090
 
1964
- ----==_mimepart_585a9bb89801c_cf8c3ff7ee43f9d89248c
2091
+ ----==_mimepart_588f1ebc299d2_75b23ff6f243f9d012897
1965
2092
  Content-Type: text/plain;
1966
2093
  charset=UTF-8
1967
2094
  Content-Transfer-Encoding: 7bit
@@ -1977,11 +2104,11 @@ To get started, confirm your account and set your own password by
1977
2104
  clicking the link below:
1978
2105
 
1979
2106
  Confirm my account
1980
- ( http://localhost:3000/admin/confirmation.df8b8fe1-2513-40d7-a4fb-f3ec4e991cda?confirmation_token=qs6x91y-gED2Vn9zZzmU )
2107
+ ( http://localhost:3000/admin/confirmation.7942f440-3b77-4972-a93a-87ebdb53f08f?confirmation_token=xjF6pqdhZEP7JXkNpuPc )
1981
2108
 
1982
2109
 
1983
2110
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1984
- ----==_mimepart_585a9bb89801c_cf8c3ff7ee43f9d89248c
2111
+ ----==_mimepart_588f1ebc299d2_75b23ff6f243f9d012897
1985
2112
  Content-Type: text/html;
1986
2113
  charset=UTF-8
1987
2114
  Content-Transfer-Encoding: 7bit
@@ -2027,7 +2154,7 @@ body {
2027
2154
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
2028
2155
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2029
2156
  <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;">
2030
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.df8b8fe1-2513-40d7-a4fb-f3ec4e991cda?confirmation_token=qs6x91y-gED2Vn9zZzmU" 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>
2157
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.7942f440-3b77-4972-a93a-87ebdb53f08f?confirmation_token=xjF6pqdhZEP7JXkNpuPc" 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>
2031
2158
  </td>
2032
2159
  </tr>
2033
2160
  </table>
@@ -2072,246 +2199,47 @@ body {
2072
2199
  </body>
2073
2200
  </html>
2074
2201
 
2075
- ----==_mimepart_585a9bb89801c_cf8c3ff7ee43f9d89248c--
2202
+ ----==_mimepart_588f1ebc299d2_75b23ff6f243f9d012897--
2076
2203
 
2204
+ Redirected to http://test.host/push_type/users
2205
+ Completed 302 Found in 48ms (ActiveRecord: 0.5ms)
2077
2206
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2078
2207
   (0.1ms) ROLLBACK
2079
2208
   (0.1ms) BEGIN
2080
- ---------------------------------------------------------------
2081
- PushType::AuthenticatableTest::recoverable: test_0001_anonymous
2082
- ---------------------------------------------------------------
2083
-  (0.1ms) SAVEPOINT active_record_1
2084
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2085
-  (0.0ms) SAVEPOINT active_record_1
2086
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2087
-  (0.1ms) ROLLBACK
2088
-  (0.1ms) BEGIN
2089
- ----------------------------------------------------------------
2090
- PushType::AuthenticatableTest::rememberable: test_0001_anonymous
2091
- ----------------------------------------------------------------
2092
-  (0.1ms) SAVEPOINT active_record_1
2093
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2094
-  (0.0ms) SAVEPOINT active_record_1
2095
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2096
-  (0.1ms) ROLLBACK
2097
-  (0.1ms) BEGIN
2098
- -----------------------------------------------------------------------
2099
- AuthenticatedControllerTest::authenticated request: test_0001_anonymous
2100
- -----------------------------------------------------------------------
2101
-  (0.1ms) SAVEPOINT active_record_1
2102
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2103
-  (0.0ms) SAVEPOINT active_record_1
2104
-  (0.1ms) SAVEPOINT active_record_2
2105
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-14@example.com"], ["LIMIT", 1]]
2106
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-14@example.com"], ["LIMIT", 1]]
2107
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "encrypted_password", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-14@example.com"], ["created_at", 2016-12-21 15:11:52 UTC], ["updated_at", 2016-12-21 15:11:52 UTC], ["encrypted_password", "$2a$04$alSiem1XocMZFyAjSiVspOAhuC16OsC8e2LXOS6pF8uqFMkJ8cmBS"], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-21 15:11:52 UTC], ["confirmation_sent_at", 2016-12-21 15:11:52 UTC]]
2108
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2109
- Started POST "/admin/sign_in" for 127.0.0.1 at 2016-12-21 15:11:52 +0000
2110
- Processing by PushType::SessionsController#create as HTML
2111
- Parameters: {"user"=>{"email"=>"joe-14@example.com", "password"=>"[FILTERED]"}}
2112
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."email" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["email", "joe-14@example.com"], ["LIMIT", 1]]
2113
-  (0.1ms) SAVEPOINT active_record_2
2114
- SQL (0.3ms) UPDATE "push_type_users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "current_sign_in_ip" = $3, "last_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7 [["current_sign_in_at", 2016-12-21 15:11:52 UTC], ["last_sign_in_at", 2016-12-21 15:11:52 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", 2016-12-21 15:11:52 UTC], ["id", "aeca0a7e-2c52-4841-8664-f02d54800c94"]]
2115
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2116
- Redirected to http://www.example.com/admin/
2117
- Completed 302 Found in 48ms (ActiveRecord: 0.8ms)
2118
- Started GET "/admin/nodes" for 127.0.0.1 at 2016-12-21 15:11:52 +0000
2119
- Processing by PushType::Admin::NodesController#index as HTML
2120
- PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "aeca0a7e-2c52-4841-8664-f02d54800c94"], ["LIMIT", 1]]
2121
- Rendering /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/index.html.haml within layouts/push_type/admin
2122
-  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL LIMIT $1 OFFSET $2) subquery_for_count [["LIMIT", 30], ["OFFSET", 0]]
2123
-  (0.2ms) SELECT COUNT(*) FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL
2124
- Rendered /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/_new_node_button.html.haml (2.2ms)
2125
- Rendered /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/index.html.haml within layouts/push_type/admin (23.2ms)
2126
- Completed 200 OK in 44ms (Views: 35.6ms | ActiveRecord: 0.9ms)
2127
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2128
-  (0.1ms) ROLLBACK
2129
-  (0.0ms) BEGIN
2130
- --------------------------------------------------------------------------------------------
2131
- AuthenticatedApiControllerTest::authenticated with authorization header: test_0001_anonymous
2132
- --------------------------------------------------------------------------------------------
2133
-  (0.0ms) SAVEPOINT active_record_1
2134
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2135
-  (0.1ms) SAVEPOINT active_record_1
2136
-  (0.1ms) SAVEPOINT active_record_2
2137
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-15@example.com"], ["LIMIT", 1]]
2138
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-15@example.com"], ["LIMIT", 1]]
2139
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-15@example.com"], ["created_at", 2016-12-21 15:11:52 UTC], ["updated_at", 2016-12-21 15:11:52 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-21 15:11:52 UTC], ["confirmation_sent_at", 2016-12-21 15:11:52 UTC]]
2140
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2141
- Started GET "/api/nodes" for 127.0.0.1 at 2016-12-21 15:11:52 +0000
2142
- Processing by PushType::Api::NodesController#index as JSON
2143
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "9bd310a5-c4e9-4141-bb81-e821efdf995f"], ["LIMIT", 1]]
2144
- Rendering /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder
2145
- PushType::Node Load (0.3ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL ORDER BY sort_order LIMIT $1 OFFSET $2 [["LIMIT", 30], ["OFFSET", 0]]
2146
- Rendered collection of /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/shared/_pagination.json.jbuilder [0 times] (0.0ms)
2147
- Rendered /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder (4.1ms)
2148
- Completed 200 OK in 53ms (Views: 43.0ms | ActiveRecord: 0.6ms)
2149
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2150
-  (0.1ms) ROLLBACK
2151
-  (0.1ms) BEGIN
2152
- --------------------------------------------------------
2153
- PushType::AuthenticationMethodsTest: test_0002_anonymous
2154
- --------------------------------------------------------
2155
-  (0.1ms) SAVEPOINT active_record_1
2156
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2157
-  (0.1ms) SAVEPOINT active_record_1
2158
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2159
-  (0.1ms) ROLLBACK
2160
-  (0.1ms) BEGIN
2161
- --------------------------------------------------------
2162
- PushType::AuthenticationMethodsTest: test_0001_anonymous
2163
- --------------------------------------------------------
2164
-  (0.1ms) SAVEPOINT active_record_1
2165
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2166
-  (0.1ms) SAVEPOINT active_record_1
2167
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2168
-  (0.1ms) ROLLBACK
2169
-  (0.1ms) BEGIN
2170
- --------------------------------------------------------------------------------------------
2171
- PushType::Admin::ProfilesControllerTest::PUT #update::with invalid user: test_0001_anonymous
2172
- --------------------------------------------------------------------------------------------
2173
-  (0.1ms) SAVEPOINT active_record_1
2174
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2175
-  (0.1ms) SAVEPOINT active_record_1
2176
-  (0.1ms) SAVEPOINT active_record_2
2177
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-16@example.com"], ["LIMIT", 1]]
2178
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-16@example.com"], ["LIMIT", 1]]
2179
- SQL (0.4ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-16@example.com"], ["created_at", 2016-12-21 15:11:52 UTC], ["updated_at", 2016-12-21 15:11:52 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-21 15:11:52 UTC], ["confirmation_sent_at", 2016-12-21 15:11:52 UTC]]
2180
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2181
- Processing by PushType::Admin::ProfilesController#update as HTML
2182
- Parameters: {"user"=>{"name"=>""}}
2183
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "099dc6cf-b380-431f-a3b9-358edb948580"], ["LIMIT", 1]]
2184
-  (0.1ms) SAVEPOINT active_record_2
2185
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-16@example.com"], ["id", "099dc6cf-b380-431f-a3b9-358edb948580"], ["LIMIT", 1]]
2186
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
2187
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
2188
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (8.4ms)
2189
- Completed 200 OK in 45ms (Views: 40.1ms | ActiveRecord: 0.6ms)
2190
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2191
-  (0.1ms) ROLLBACK
2192
-  (0.1ms) BEGIN
2193
- --------------------------------------------------------------------------------------------
2194
- PushType::Admin::ProfilesControllerTest::PUT #update::with invalid user: test_0002_anonymous
2195
- --------------------------------------------------------------------------------------------
2196
-  (0.1ms) SAVEPOINT active_record_1
2197
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2198
-  (0.1ms) SAVEPOINT active_record_1
2199
-  (0.1ms) SAVEPOINT active_record_2
2200
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-17@example.com"], ["LIMIT", 1]]
2201
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-17@example.com"], ["LIMIT", 1]]
2202
- SQL (0.3ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-17@example.com"], ["created_at", 2016-12-21 15:11:52 UTC], ["updated_at", 2016-12-21 15:11:52 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-21 15:11:52 UTC], ["confirmation_sent_at", 2016-12-21 15:11:52 UTC]]
2203
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2204
- Processing by PushType::Admin::ProfilesController#update as HTML
2205
- Parameters: {"user"=>{"name"=>""}}
2206
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "814659b4-7d5a-4c6c-b8a9-56378b33420b"], ["LIMIT", 1]]
2207
-  (0.2ms) SAVEPOINT active_record_2
2208
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-17@example.com"], ["id", "814659b4-7d5a-4c6c-b8a9-56378b33420b"], ["LIMIT", 1]]
2209
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
2210
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
2211
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (1.9ms)
2212
- Completed 200 OK in 17ms (Views: 10.7ms | ActiveRecord: 0.8ms)
2213
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2214
-  (0.1ms) ROLLBACK
2215
-  (0.1ms) BEGIN
2216
- ------------------------------------------------------------------------------------------
2217
- PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
2218
- ------------------------------------------------------------------------------------------
2219
-  (0.1ms) SAVEPOINT active_record_1
2220
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2221
-  (0.0ms) SAVEPOINT active_record_1
2222
-  (0.1ms) SAVEPOINT active_record_2
2223
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-18@example.com"], ["LIMIT", 1]]
2224
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-18@example.com"], ["LIMIT", 1]]
2225
- SQL (0.3ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-18@example.com"], ["created_at", 2016-12-21 15:11:52 UTC], ["updated_at", 2016-12-21 15:11:52 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-21 15:11:52 UTC], ["confirmation_sent_at", 2016-12-21 15:11:52 UTC]]
2226
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2227
- Processing by PushType::Admin::ProfilesController#update as HTML
2228
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
2229
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "0b20f70b-e425-4a55-b8cc-513d759ef810"], ["LIMIT", 1]]
2230
-  (0.1ms) SAVEPOINT active_record_2
2231
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-18@example.com"], ["id", "0b20f70b-e425-4a55-b8cc-513d759ef810"], ["LIMIT", 1]]
2232
- SQL (0.2ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", 2016-12-21 15:11:52 UTC], ["id", "0b20f70b-e425-4a55-b8cc-513d759ef810"]]
2233
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2234
- Redirected to http://test.host/admin/profile/edit
2235
- Completed 302 Found in 7ms (ActiveRecord: 0.9ms)
2236
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT $2 [["id", "0b20f70b-e425-4a55-b8cc-513d759ef810"], ["LIMIT", 1]]
2237
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2238
-  (0.1ms) ROLLBACK
2239
-  (0.1ms) BEGIN
2240
- ------------------------------------------------------------------------------------------
2241
- PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0003_anonymous
2242
- ------------------------------------------------------------------------------------------
2243
-  (0.1ms) SAVEPOINT active_record_1
2244
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2245
-  (0.1ms) SAVEPOINT active_record_1
2246
-  (0.1ms) SAVEPOINT active_record_2
2247
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-19@example.com"], ["LIMIT", 1]]
2248
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-19@example.com"], ["LIMIT", 1]]
2249
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-19@example.com"], ["created_at", 2016-12-21 15:11:52 UTC], ["updated_at", 2016-12-21 15:11:52 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-21 15:11:52 UTC], ["confirmation_sent_at", 2016-12-21 15:11:52 UTC]]
2250
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2251
- Processing by PushType::Admin::ProfilesController#update as HTML
2252
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
2253
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "f9a4d0e7-0fc3-4d09-a7d1-5eaac2432984"], ["LIMIT", 1]]
2254
-  (0.1ms) SAVEPOINT active_record_2
2255
- PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-19@example.com"], ["id", "f9a4d0e7-0fc3-4d09-a7d1-5eaac2432984"], ["LIMIT", 1]]
2256
- SQL (0.3ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", 2016-12-21 15:11:52 UTC], ["id", "f9a4d0e7-0fc3-4d09-a7d1-5eaac2432984"]]
2257
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2258
- Redirected to http://test.host/admin/profile/edit
2259
- Completed 302 Found in 8ms (ActiveRecord: 1.1ms)
2260
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2261
-  (0.1ms) ROLLBACK
2262
-  (0.1ms) BEGIN
2263
- ------------------------------------------------------------------------------------------
2264
- PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0002_anonymous
2265
- ------------------------------------------------------------------------------------------
2266
-  (0.1ms) SAVEPOINT active_record_1
2267
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2268
-  (0.1ms) SAVEPOINT active_record_1
2269
-  (0.1ms) SAVEPOINT active_record_2
2270
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-20@example.com"], ["LIMIT", 1]]
2271
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-20@example.com"], ["LIMIT", 1]]
2272
- SQL (0.3ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-20@example.com"], ["created_at", 2016-12-21 15:11:52 UTC], ["updated_at", 2016-12-21 15:11:52 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-21 15:11:52 UTC], ["confirmation_sent_at", 2016-12-21 15:11:52 UTC]]
2273
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2274
- Processing by PushType::Admin::ProfilesController#update as HTML
2275
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
2276
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "4da3cbf1-88b9-4787-ad39-3c62fa63e0f3"], ["LIMIT", 1]]
2277
-  (0.1ms) SAVEPOINT active_record_2
2278
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-20@example.com"], ["id", "4da3cbf1-88b9-4787-ad39-3c62fa63e0f3"], ["LIMIT", 1]]
2279
- SQL (0.2ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", 2016-12-21 15:11:52 UTC], ["id", "4da3cbf1-88b9-4787-ad39-3c62fa63e0f3"]]
2280
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2281
- Redirected to http://test.host/admin/profile/edit
2282
- Completed 302 Found in 7ms (ActiveRecord: 1.0ms)
2283
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2284
-  (0.1ms) ROLLBACK
2285
-  (0.1ms) BEGIN
2286
- ----------------------------------------------------------------------------------------------------
2287
- PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0001_anonymous
2288
- ----------------------------------------------------------------------------------------------------
2289
-  (0.1ms) SAVEPOINT active_record_1
2290
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2209
+ ----------------------------------------------------------------------
2210
+ PushType::Admin::UsersControllerTest::PUT #invite: test_0001_anonymous
2211
+ ----------------------------------------------------------------------
2291
2212
   (0.1ms) SAVEPOINT active_record_1
2213
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2214
+  (0.0ms) SAVEPOINT active_record_1
2215
+  (0.1ms) SAVEPOINT active_record_2
2216
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-22@example.com"], ["LIMIT", 1]]
2217
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-22@example.com"], ["LIMIT", 1]]
2218
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-22@example.com"], ["created_at", 2017-01-30 11:08:44 UTC], ["updated_at", 2017-01-30 11:08:44 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-01-30 11:08:44 UTC], ["confirmation_sent_at", 2017-01-30 11:08:44 UTC]]
2219
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2292
2220
   (0.1ms) SAVEPOINT active_record_2
2293
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-21@example.com"], ["LIMIT", 1]]
2294
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-21@example.com"], ["LIMIT", 1]]
2295
- SQL (0.3ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-21@example.com"], ["created_at", 2016-12-21 15:11:52 UTC], ["updated_at", 2016-12-21 15:11:52 UTC], ["confirmation_token", "Vsvf5jy6TxnGgZL7aETx"], ["confirmation_sent_at", 2016-12-21 15:11:52 UTC]]
2221
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-23@example.com"], ["LIMIT", 1]]
2222
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-23@example.com"], ["LIMIT", 1]]
2223
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-23@example.com"], ["created_at", 2017-01-30 11:08:44 UTC], ["updated_at", 2017-01-30 11:08:44 UTC], ["confirmation_token", "aMrXizj1Uhepr9UdA1B9"], ["confirmation_sent_at", 2017-01-30 11:08:44 UTC]]
2296
2224
   (0.1ms) RELEASE SAVEPOINT active_record_2
2297
2225
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
2298
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (1.2ms)
2299
- Devise::Mailer#confirmation_instructions: processed outbound mail in 57.2ms
2300
- Sent mail to joe-21@example.com (4.7ms)
2301
- Date: Wed, 21 Dec 2016 15:11:53 +0000
2226
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms)
2227
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 3.0ms
2228
+ Sent mail to joe-23@example.com (3.9ms)
2229
+ Date: Mon, 30 Jan 2017 11:08:44 +0000
2302
2230
  From: pushtype@example.com
2303
2231
  Reply-To: pushtype@example.com
2304
- To: joe-21@example.com
2305
- Message-ID: <585a9bb910a34_cf8c3ff7ee43f9d892898@Aarons-iMac.local.mail>
2232
+ To: joe-23@example.com
2233
+ Message-ID: <588f1ebc36598_75b23ff6f243f9d01327@Aarons-iMac.local.mail>
2306
2234
  Subject: [PushType] Confirm your account
2307
2235
  Mime-Version: 1.0
2308
2236
  Content-Type: multipart/alternative;
2309
- boundary="--==_mimepart_585a9bb910563_cf8c3ff7ee43f9d89274a";
2237
+ boundary="--==_mimepart_588f1ebc3613c_75b23ff6f243f9d01317";
2310
2238
  charset=UTF-8
2311
2239
  Content-Transfer-Encoding: 7bit
2312
2240
 
2313
2241
 
2314
- ----==_mimepart_585a9bb910563_cf8c3ff7ee43f9d89274a
2242
+ ----==_mimepart_588f1ebc3613c_75b23ff6f243f9d01317
2315
2243
  Content-Type: text/plain;
2316
2244
  charset=UTF-8
2317
2245
  Content-Transfer-Encoding: 7bit
@@ -2327,11 +2255,11 @@ To get started, confirm your account and set your own password by
2327
2255
  clicking the link below:
2328
2256
 
2329
2257
  Confirm my account
2330
- ( http://localhost:3000/admin/confirmation.8e363bfa-a298-42ad-a021-c1e1326fd8e9?confirmation_token=Vsvf5jy6TxnGgZL7aETx )
2258
+ ( http://localhost:3000/admin/confirmation.8d73adbd-9481-46a5-b254-f699af61d16e?confirmation_token=aMrXizj1Uhepr9UdA1B9 )
2331
2259
 
2332
2260
 
2333
2261
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2334
- ----==_mimepart_585a9bb910563_cf8c3ff7ee43f9d89274a
2262
+ ----==_mimepart_588f1ebc3613c_75b23ff6f243f9d01317
2335
2263
  Content-Type: text/html;
2336
2264
  charset=UTF-8
2337
2265
  Content-Transfer-Encoding: 7bit
@@ -2377,7 +2305,7 @@ body {
2377
2305
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
2378
2306
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2379
2307
  <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;">
2380
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.8e363bfa-a298-42ad-a021-c1e1326fd8e9?confirmation_token=Vsvf5jy6TxnGgZL7aETx" 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>
2308
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.8d73adbd-9481-46a5-b254-f699af61d16e?confirmation_token=aMrXizj1Uhepr9UdA1B9" 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>
2381
2309
  </td>
2382
2310
  </tr>
2383
2311
  </table>
@@ -2422,47 +2350,32 @@ body {
2422
2350
  </body>
2423
2351
  </html>
2424
2352
 
2425
- ----==_mimepart_585a9bb910563_cf8c3ff7ee43f9d89274a--
2353
+ ----==_mimepart_588f1ebc3613c_75b23ff6f243f9d01317--
2426
2354
 
2427
- Processing by PushType::ConfirmationsController#show as HTML
2428
- Parameters: {"confirmation_token"=>"Vsvf5jy6TxnGgZL7aETx"}
2429
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "Vsvf5jy6TxnGgZL7aETx"], ["LIMIT", 1]]
2430
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
2431
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.6ms)
2432
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (12.0ms)
2433
- Completed 200 OK in 31ms (Views: 24.2ms | ActiveRecord: 0.3ms)
2434
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2435
-  (0.1ms) ROLLBACK
2436
-  (0.1ms) BEGIN
2437
- ----------------------------------------------------------------------------------------------------
2438
- PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0002_anonymous
2439
- ----------------------------------------------------------------------------------------------------
2440
-  (0.1ms) SAVEPOINT active_record_1
2441
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2442
-  (0.1ms) SAVEPOINT active_record_1
2355
+ Processing by PushType::Admin::UsersController#invite as HTML
2356
+ Parameters: {"id"=>"8d73adbd-9481-46a5-b254-f699af61d16e"}
2357
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "6a0a454d-5c98-4bbe-a42e-e97de062688d"], ["LIMIT", 1]]
2358
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "8d73adbd-9481-46a5-b254-f699af61d16e"], ["LIMIT", 1]]
2443
2359
   (0.1ms) SAVEPOINT active_record_2
2444
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-22@example.com"], ["LIMIT", 1]]
2445
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-22@example.com"], ["LIMIT", 1]]
2446
- SQL (0.4ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-22@example.com"], ["created_at", 2016-12-21 15:11:53 UTC], ["updated_at", 2016-12-21 15:11:53 UTC], ["confirmation_token", "NBGvY_mvJG-yxXq54Xxn"], ["confirmation_sent_at", 2016-12-21 15:11:53 UTC]]
2447
2360
   (0.1ms) RELEASE SAVEPOINT active_record_2
2448
2361
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
2449
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.6ms)
2450
- Devise::Mailer#confirmation_instructions: processed outbound mail in 5.5ms
2451
- Sent mail to joe-22@example.com (5.1ms)
2452
- Date: Wed, 21 Dec 2016 15:11:53 +0000
2362
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
2363
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 3.0ms
2364
+ Sent mail to joe-23@example.com (3.8ms)
2365
+ Date: Mon, 30 Jan 2017 11:08:44 +0000
2453
2366
  From: pushtype@example.com
2454
2367
  Reply-To: pushtype@example.com
2455
- To: joe-22@example.com
2456
- Message-ID: <585a9bb9280b1_cf8c3ff7ee43f9d8931e6@Aarons-iMac.local.mail>
2368
+ To: joe-23@example.com
2369
+ Message-ID: <588f1ebc41a79_75b23ff6f243f9d0135cd@Aarons-iMac.local.mail>
2457
2370
  Subject: [PushType] Confirm your account
2458
2371
  Mime-Version: 1.0
2459
2372
  Content-Type: multipart/alternative;
2460
- boundary="--==_mimepart_585a9bb927bd9_cf8c3ff7ee43f9d8930b5";
2373
+ boundary="--==_mimepart_588f1ebc4160f_75b23ff6f243f9d0134b";
2461
2374
  charset=UTF-8
2462
2375
  Content-Transfer-Encoding: 7bit
2463
2376
 
2464
2377
 
2465
- ----==_mimepart_585a9bb927bd9_cf8c3ff7ee43f9d8930b5
2378
+ ----==_mimepart_588f1ebc4160f_75b23ff6f243f9d0134b
2466
2379
  Content-Type: text/plain;
2467
2380
  charset=UTF-8
2468
2381
  Content-Transfer-Encoding: 7bit
@@ -2478,11 +2391,11 @@ To get started, confirm your account and set your own password by
2478
2391
  clicking the link below:
2479
2392
 
2480
2393
  Confirm my account
2481
- ( http://localhost:3000/admin/confirmation.fa3dcf8d-2d0a-484d-98e7-18685ac292fb?confirmation_token=NBGvY_mvJG-yxXq54Xxn )
2394
+ ( http://localhost:3000/admin/confirmation.8d73adbd-9481-46a5-b254-f699af61d16e?confirmation_token=aMrXizj1Uhepr9UdA1B9 )
2482
2395
 
2483
2396
 
2484
2397
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2485
- ----==_mimepart_585a9bb927bd9_cf8c3ff7ee43f9d8930b5
2398
+ ----==_mimepart_588f1ebc4160f_75b23ff6f243f9d0134b
2486
2399
  Content-Type: text/html;
2487
2400
  charset=UTF-8
2488
2401
  Content-Transfer-Encoding: 7bit
@@ -2528,7 +2441,7 @@ body {
2528
2441
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
2529
2442
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2530
2443
  <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;">
2531
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.fa3dcf8d-2d0a-484d-98e7-18685ac292fb?confirmation_token=NBGvY_mvJG-yxXq54Xxn" 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>
2444
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.8d73adbd-9481-46a5-b254-f699af61d16e?confirmation_token=aMrXizj1Uhepr9UdA1B9" 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>
2532
2445
  </td>
2533
2446
  </tr>
2534
2447
  </table>
@@ -2573,125 +2486,183 @@ body {
2573
2486
  </body>
2574
2487
  </html>
2575
2488
 
2576
- ----==_mimepart_585a9bb927bd9_cf8c3ff7ee43f9d8930b5--
2489
+ ----==_mimepart_588f1ebc4160f_75b23ff6f243f9d0134b--
2577
2490
 
2578
- Processing by PushType::ConfirmationsController#show as HTML
2579
- Parameters: {"confirmation_token"=>"NBGvY_mvJG-yxXq54Xxn"}
2580
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "NBGvY_mvJG-yxXq54Xxn"], ["LIMIT", 1]]
2581
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
2582
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.5ms)
2583
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (3.1ms)
2584
- Completed 200 OK in 11ms (Views: 8.7ms | ActiveRecord: 0.2ms)
2585
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2586
-  (0.1ms) ROLLBACK
2587
-  (0.1ms) BEGIN
2588
- --------------------------------------------------------------------------------------
2589
- PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
2590
- --------------------------------------------------------------------------------------
2591
-  (0.1ms) SAVEPOINT active_record_1
2592
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2593
-  (0.1ms) SAVEPOINT active_record_1
2594
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2595
-  (0.1ms) ROLLBACK
2596
-  (0.1ms) BEGIN
2597
- ----------------------------------------------------------------------------
2598
- AuthenticatedApiControllerTest::unauthenticated request: test_0001_anonymous
2599
- ----------------------------------------------------------------------------
2600
-  (0.1ms) SAVEPOINT active_record_1
2601
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2602
-  (0.1ms) SAVEPOINT active_record_1
2603
- Started GET "/api/nodes" for 127.0.0.1 at 2016-12-21 15:11:53 +0000
2604
- Processing by PushType::Api::NodesController#index as JSON
2605
- Filter chain halted as :authenticate_user! rendered or redirected
2606
- Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
2491
+ Redirected to http://test.host/push_type/users
2492
+ Completed 302 Found in 46ms (ActiveRecord: 0.4ms)
2607
2493
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2608
2494
   (0.1ms) ROLLBACK
2609
2495
   (0.1ms) BEGIN
2610
- -----------------------------------------------------------------------
2611
- PushType::Admin::ProfilesControllerTest::GET #edit: test_0001_anonymous
2612
- -----------------------------------------------------------------------
2613
-  (0.1ms) SAVEPOINT active_record_1
2614
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2615
-  (0.1ms) SAVEPOINT active_record_1
2496
+ ----------------------------------------------------------------------
2497
+ PushType::Admin::UsersControllerTest::PUT #invite: test_0002_anonymous
2498
+ ----------------------------------------------------------------------
2499
+  (0.0ms) SAVEPOINT active_record_1
2500
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2501
+  (0.0ms) SAVEPOINT active_record_1
2616
2502
   (0.1ms) SAVEPOINT active_record_2
2617
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-23@example.com"], ["LIMIT", 1]]
2618
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-23@example.com"], ["LIMIT", 1]]
2619
- SQL (0.4ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-23@example.com"], ["created_at", 2016-12-21 15:11:53 UTC], ["updated_at", 2016-12-21 15:11:53 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-21 15:11:53 UTC], ["confirmation_sent_at", 2016-12-21 15:11:53 UTC]]
2503
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-24@example.com"], ["LIMIT", 1]]
2504
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-24@example.com"], ["LIMIT", 1]]
2505
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-24@example.com"], ["created_at", 2017-01-30 11:08:44 UTC], ["updated_at", 2017-01-30 11:08:44 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-01-30 11:08:44 UTC], ["confirmation_sent_at", 2017-01-30 11:08:44 UTC]]
2620
2506
   (0.1ms) RELEASE SAVEPOINT active_record_2
2621
- Processing by PushType::Admin::ProfilesController#edit as HTML
2622
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "19ed94f3-e790-40c3-a2da-5f79f13631cf"], ["LIMIT", 1]]
2623
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
2624
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (8.6ms)
2625
- Completed 200 OK in 33ms (Views: 27.1ms | ActiveRecord: 0.2ms)
2626
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2627
-  (0.1ms) ROLLBACK
2628
-  (0.1ms) BEGIN
2629
- -----------------------------------------------------------------------
2630
- PushType::Admin::ProfilesControllerTest::GET #edit: test_0002_anonymous
2631
- -----------------------------------------------------------------------
2632
-  (0.1ms) SAVEPOINT active_record_1
2633
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2634
-  (0.1ms) SAVEPOINT active_record_1
2635
2507
   (0.1ms) SAVEPOINT active_record_2
2636
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-24@example.com"], ["LIMIT", 1]]
2637
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-24@example.com"], ["LIMIT", 1]]
2638
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-24@example.com"], ["created_at", 2016-12-21 15:11:53 UTC], ["updated_at", 2016-12-21 15:11:53 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-21 15:11:53 UTC], ["confirmation_sent_at", 2016-12-21 15:11:53 UTC]]
2508
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-25@example.com"], ["LIMIT", 1]]
2509
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-25@example.com"], ["LIMIT", 1]]
2510
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-25@example.com"], ["created_at", 2017-01-30 11:08:44 UTC], ["updated_at", 2017-01-30 11:08:44 UTC], ["confirmation_token", "ZQXjTgckzo696E9Z2bk4"], ["confirmation_sent_at", 2017-01-30 11:08:44 UTC]]
2639
2511
   (0.1ms) RELEASE SAVEPOINT active_record_2
2640
- Processing by PushType::Admin::ProfilesController#edit as HTML
2641
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "f8a1a76e-5e68-4c6b-982e-7dbebbb3bdf9"], ["LIMIT", 1]]
2642
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
2643
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (2.5ms)
2644
- Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.2ms)
2645
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2646
-  (0.1ms) ROLLBACK
2647
-  (0.1ms) BEGIN
2648
- ---------------------------------------------------------------
2649
- PushType::AuthenticatableTest::confirmable: test_0001_anonymous
2650
- ---------------------------------------------------------------
2651
-  (0.1ms) SAVEPOINT active_record_1
2652
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2653
-  (0.1ms) SAVEPOINT active_record_1
2654
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2655
-  (0.1ms) ROLLBACK
2656
-  (0.1ms) BEGIN
2657
- ----------------------------------------------------
2658
- PushType::InvitationMethodsTest: test_0001_anonymous
2659
- ----------------------------------------------------
2660
-  (0.1ms) SAVEPOINT active_record_1
2661
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2662
-  (0.1ms) SAVEPOINT active_record_1
2663
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2664
-  (0.1ms) ROLLBACK
2665
-  (0.1ms) BEGIN
2666
- --------------------------------------------------------------------------------------------------------------
2667
- PushType::AuthenticatableTest::#password_required?::with existing user and dirty password: test_0001_anonymous
2668
- --------------------------------------------------------------------------------------------------------------
2669
-  (0.1ms) SAVEPOINT active_record_1
2670
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2671
-  (0.0ms) SAVEPOINT active_record_1
2512
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
2513
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
2514
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.9ms
2515
+ Sent mail to joe-25@example.com (3.6ms)
2516
+ Date: Mon, 30 Jan 2017 11:08:44 +0000
2517
+ From: pushtype@example.com
2518
+ Reply-To: pushtype@example.com
2519
+ To: joe-25@example.com
2520
+ Message-ID: <588f1ebc4dc9c_75b23ff6f243f9d01389a@Aarons-iMac.local.mail>
2521
+ Subject: [PushType] Confirm your account
2522
+ Mime-Version: 1.0
2523
+ Content-Type: multipart/alternative;
2524
+ boundary="--==_mimepart_588f1ebc4d824_75b23ff6f243f9d0137e9";
2525
+ charset=UTF-8
2526
+ Content-Transfer-Encoding: 7bit
2527
+
2528
+
2529
+ ----==_mimepart_588f1ebc4d824_75b23ff6f243f9d0137e9
2530
+ Content-Type: text/plain;
2531
+ charset=UTF-8
2532
+ Content-Transfer-Encoding: 7bit
2533
+
2534
+ PushType ( http://localhost:3000/admin/ )
2535
+
2536
+ Hello Joe Bloggs
2537
+
2538
+ You're receiving this email because a PushType account has been
2539
+ created for you.
2540
+
2541
+ To get started, confirm your account and set your own password by
2542
+ clicking the link below:
2543
+
2544
+ Confirm my account
2545
+ ( http://localhost:3000/admin/confirmation.b89c4238-075e-4471-8366-e22045921532?confirmation_token=ZQXjTgckzo696E9Z2bk4 )
2546
+
2547
+
2548
+ PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2549
+ ----==_mimepart_588f1ebc4d824_75b23ff6f243f9d0137e9
2550
+ Content-Type: text/html;
2551
+ charset=UTF-8
2552
+ Content-Transfer-Encoding: 7bit
2553
+
2554
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2555
+ <html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2556
+ <head>
2557
+ <meta name="viewport" content="width=device-width" />
2558
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
2559
+ <title>[PushType] Confirm your account</title>
2560
+
2561
+ </head>
2562
+
2563
+ <body bgcolor="#f6f6f6" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; height: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100% !important;"><style type="text/css">
2564
+ img {
2565
+ max-width: 100%;
2566
+ }
2567
+ body {
2568
+ -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%;
2569
+ }
2570
+ </style>
2571
+
2572
+ <!-- body -->
2573
+ <table class="body-wrap" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 20px; width: 100%;">
2574
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2575
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"></td>
2576
+ <td class="container" bgcolor="#FFFFFF" style="border: 1px solid #f0f0f0; clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 20px;">
2577
+
2578
+ <!-- content -->
2579
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0;">
2580
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
2581
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2582
+ <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px;"><a href="http://localhost:3000/admin/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"><img alt="PushType" src="/assets/push_type/pushtype-logo-a3af31e6141c9b155900c4cfde696ee92b3c080d35cd5d7afc82f8fb5a2fe6fa.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0;" /></a></td>
2583
+ </tr>
2584
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2585
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2586
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;">Hello Joe Bloggs</p>
2587
+
2588
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;">You're receiving this email because a PushType account has been created for you.</p>
2589
+
2590
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;">To get started, confirm your account and set your own password by clicking the link below:</p>
2591
+
2592
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
2593
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2594
+ <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;">
2595
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.b89c4238-075e-4471-8366-e22045921532?confirmation_token=ZQXjTgckzo696E9Z2bk4" 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>
2596
+ </td>
2597
+ </tr>
2598
+ </table>
2599
+
2600
+
2601
+ </td>
2602
+ </tr>
2603
+ </table>
2604
+ </div>
2605
+ <!-- /content -->
2606
+
2607
+ </td>
2608
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"></td>
2609
+ </tr>
2610
+ </table>
2611
+ <!-- /body -->
2612
+
2613
+ <!-- footer -->
2614
+ <table class="footer-wrap" style="clear: both !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
2615
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2616
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"></td>
2617
+ <td class="container" style="clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 0;">
2618
+
2619
+ <!-- content -->
2620
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0;">
2621
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
2622
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2623
+ <td align="center" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2624
+ <p style="color: #666; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 12px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;">PushType CMS: <a href="http://www.pushtype.org" style="color: #999; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">www.pushtype.org</a>.</p>
2625
+ </td>
2626
+ </tr>
2627
+ </table>
2628
+ </div>
2629
+ <!-- /content -->
2630
+
2631
+ </td>
2632
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;"></td>
2633
+ </tr>
2634
+ </table>
2635
+ <!-- /footer -->
2636
+
2637
+ </body>
2638
+ </html>
2639
+
2640
+ ----==_mimepart_588f1ebc4d824_75b23ff6f243f9d0137e9--
2641
+
2642
+ Processing by PushType::Admin::UsersController#invite as HTML
2643
+ Parameters: {"id"=>"b89c4238-075e-4471-8366-e22045921532"}
2644
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "31ee74c3-bd49-427e-babf-a501f679fd8c"], ["LIMIT", 1]]
2645
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "b89c4238-075e-4471-8366-e22045921532"], ["LIMIT", 1]]
2672
2646
   (0.1ms) SAVEPOINT active_record_2
2673
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-25@example.com"], ["LIMIT", 1]]
2674
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-25@example.com"], ["LIMIT", 1]]
2675
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-25@example.com"], ["created_at", 2016-12-21 15:11:53 UTC], ["updated_at", 2016-12-21 15:11:53 UTC], ["confirmation_token", "XTCu6zqoELxy-gAGYokX"], ["confirmation_sent_at", 2016-12-21 15:11:53 UTC]]
2676
2647
   (0.1ms) RELEASE SAVEPOINT active_record_2
2677
2648
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
2678
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (1.0ms)
2679
- Devise::Mailer#confirmation_instructions: processed outbound mail in 38.4ms
2680
- Sent mail to joe-25@example.com (3.4ms)
2681
- Date: Wed, 21 Dec 2016 15:11:53 +0000
2649
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
2650
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
2651
+ Sent mail to joe-25@example.com (3.5ms)
2652
+ Date: Mon, 30 Jan 2017 11:08:44 +0000
2682
2653
  From: pushtype@example.com
2683
2654
  Reply-To: pushtype@example.com
2684
2655
  To: joe-25@example.com
2685
- Message-ID: <585a9bb952e4e_cf8c3ff7ee43f9d89343b@Aarons-iMac.local.mail>
2656
+ Message-ID: <588f1ebc5806e_75b23ff6f243f9d014150@Aarons-iMac.local.mail>
2686
2657
  Subject: [PushType] Confirm your account
2687
2658
  Mime-Version: 1.0
2688
2659
  Content-Type: multipart/alternative;
2689
- boundary="--==_mimepart_585a9bb9529d9_cf8c3ff7ee43f9d893392";
2660
+ boundary="--==_mimepart_588f1ebc57c0c_75b23ff6f243f9d01409c";
2690
2661
  charset=UTF-8
2691
2662
  Content-Transfer-Encoding: 7bit
2692
2663
 
2693
2664
 
2694
- ----==_mimepart_585a9bb9529d9_cf8c3ff7ee43f9d893392
2665
+ ----==_mimepart_588f1ebc57c0c_75b23ff6f243f9d01409c
2695
2666
  Content-Type: text/plain;
2696
2667
  charset=UTF-8
2697
2668
  Content-Transfer-Encoding: 7bit
@@ -2707,11 +2678,11 @@ To get started, confirm your account and set your own password by
2707
2678
  clicking the link below:
2708
2679
 
2709
2680
  Confirm my account
2710
- ( http://localhost:3000/admin/confirmation.a4e96380-b7de-4704-a41b-26043098b804?confirmation_token=XTCu6zqoELxy-gAGYokX )
2681
+ ( http://localhost:3000/admin/confirmation.b89c4238-075e-4471-8366-e22045921532?confirmation_token=ZQXjTgckzo696E9Z2bk4 )
2711
2682
 
2712
2683
 
2713
2684
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2714
- ----==_mimepart_585a9bb9529d9_cf8c3ff7ee43f9d893392
2685
+ ----==_mimepart_588f1ebc57c0c_75b23ff6f243f9d01409c
2715
2686
  Content-Type: text/html;
2716
2687
  charset=UTF-8
2717
2688
  Content-Transfer-Encoding: 7bit
@@ -2757,7 +2728,7 @@ body {
2757
2728
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
2758
2729
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2759
2730
  <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;">
2760
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.a4e96380-b7de-4704-a41b-26043098b804?confirmation_token=XTCu6zqoELxy-gAGYokX" 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>
2731
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.b89c4238-075e-4471-8366-e22045921532?confirmation_token=ZQXjTgckzo696E9Z2bk4" 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>
2761
2732
  </td>
2762
2733
  </tr>
2763
2734
  </table>
@@ -2802,7 +2773,36 @@ body {
2802
2773
  </body>
2803
2774
  </html>
2804
2775
 
2805
- ----==_mimepart_585a9bb9529d9_cf8c3ff7ee43f9d893392--
2776
+ ----==_mimepart_588f1ebc57c0c_75b23ff6f243f9d01409c--
2806
2777
 
2807
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2778
+ Redirected to http://test.host/push_type/users
2779
+ Completed 302 Found in 42ms (ActiveRecord: 0.5ms)
2780
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2781
+  (0.2ms) ROLLBACK
2782
+  (0.1ms) BEGIN
2783
+ ---------------------------------------------------------------
2784
+ PushType::AuthenticatableTest::confirmable: test_0001_anonymous
2785
+ ---------------------------------------------------------------
2786
+  (0.1ms) SAVEPOINT active_record_1
2787
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2788
+  (0.0ms) SAVEPOINT active_record_1
2789
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2790
+  (0.1ms) ROLLBACK
2791
+  (0.1ms) BEGIN
2792
+ --------------------------------------------------------
2793
+ PushType::AuthenticationMethodsTest: test_0001_anonymous
2794
+ --------------------------------------------------------
2795
+  (0.1ms) SAVEPOINT active_record_1
2796
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2797
+  (0.0ms) SAVEPOINT active_record_1
2798
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2799
+  (0.0ms) ROLLBACK
2800
+  (0.1ms) BEGIN
2801
+ --------------------------------------------------------
2802
+ PushType::AuthenticationMethodsTest: test_0002_anonymous
2803
+ --------------------------------------------------------
2804
+  (0.0ms) SAVEPOINT active_record_1
2805
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2806
+  (0.0ms) SAVEPOINT active_record_1
2807
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2808
2808
   (0.1ms) ROLLBACK