push_type_auth 0.10.1 → 0.10.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/test/dummy/config/initializers/push_type.rb +1 -1
  3. data/test/dummy/config/secrets.yml +2 -2
  4. data/test/dummy/db/migrate/{20161211203739_create_push_type_users.push_type.rb → 20161221151131_create_push_type_users.push_type.rb} +0 -0
  5. data/test/dummy/db/migrate/{20161211203740_create_push_type_nodes.push_type.rb → 20161221151132_create_push_type_nodes.push_type.rb} +0 -0
  6. data/test/dummy/db/migrate/{20161211203741_create_push_type_node_hierarchies.push_type.rb → 20161221151133_create_push_type_node_hierarchies.push_type.rb} +0 -0
  7. data/test/dummy/db/migrate/{20161211203742_create_push_type_assets.push_type.rb → 20161221151134_create_push_type_assets.push_type.rb} +0 -0
  8. data/test/dummy/db/migrate/{20161211203743_add_field_store_default_values.push_type.rb → 20161221151135_add_field_store_default_values.push_type.rb} +0 -0
  9. data/test/dummy/db/migrate/{20161211203744_drop_legacy_push_type_taxonomies.push_type.rb → 20161221151136_drop_legacy_push_type_taxonomies.push_type.rb} +0 -0
  10. data/test/dummy/db/migrate/{20161211203745_devise_extend_push_type_users.push_type_auth.rb → 20161221151137_devise_extend_push_type_users.push_type_auth.rb} +0 -0
  11. data/test/dummy/db/schema.rb +1 -1
  12. data/test/dummy/log/test.log +745 -745
  13. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{tK/tKIjhn0PFF7cy5Vz5dRUv_BTH4Uy6y-me5AkNyrw1BM.cache → 4T/4T84YPi0TSK6RB73by6SqUqRbbzM_qJf4B7QfcfuFTk.cache} +0 -0
  14. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{hF/hF3T9uaVtB1bnEJenghe0-y2QFAT8OkdffHfkrvqXak.cache → 8b/8b4xkobgOfYieOlJzpl_RO86vloCGw5BOHOQmi2Wn9o.cache} +0 -0
  15. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{gb/gbmKndVMUr-cgPIM7ixEj-9ff8txu7GJruoIbl3k8iE.cache → DM/DMoO5Vfw1xgLIEcEHizU4O2eiDZFqp0DmSw-S52apG0.cache} +0 -0
  16. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{dM → DM}/dMZj_GbLfuRLUK-h9i97Pgu2Ch-0qNUigWKCC1_OMfo.cache +0 -0
  17. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{iu → IU}/IUrx_cz11W6a7Js_I-zzSgQEpw58K2zYnJsvznf71Pg.cache +0 -0
  18. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{iu → IU}/iueRqT5f_OEnnwWdS4llGbZmYIG3GbfMUoCvqcj3Lww.cache +0 -0
  19. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{n5 → N5}/N5ljsrGrV8Zioofox4fLlkzryKAP8nDGUPwB-EYrMWg.cache +0 -0
  20. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{n5 → N5}/n5FAuYzGa3uYfYa5srlwJvq1pOEhGAkBQipNyeOnNvc.cache +0 -0
  21. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Nu/NuhfvPTDloTFqZ8oNDMzEL6yMq-c5173C_eig2PglVs.cache +0 -0
  22. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Nx/nxLR0lMxFzfBBKpNXx7WthIbO_gA6RQJlu681QaXJAA.cache +0 -0
  23. data/test/dummy/tmp/cache/assets/sprockets/v3.0/PL/plsjhVQ9Z_pERrWa9lf4D7OWYFBxUEGj908YMz0WUBA.cache +0 -0
  24. data/test/dummy/tmp/cache/assets/sprockets/v3.0/SJ/SJSKco2hBBjKKEO-nexiQu8cSVHBd9Okfoa4GknabZk.cache +0 -0
  25. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{ss → Ss}/SsbDEG5HMt-9icbOJYsfY8QFfXZF9qDVsgauCd6Mu-s.cache +0 -0
  26. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{ss → Ss}/sswmgk-sxY825D89M0qleuanBUNq9b1KhdiuO01P2N4.cache +0 -0
  27. data/test/dummy/tmp/cache/assets/sprockets/v3.0/UI/uisrogUVYx_xiRQCKG3RAe1bamd4hctBPms7MbzWgIo.cache +0 -0
  28. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{xM → XM}/XM3DBlByPxBkHmk_0YnTMQRksSqlxv1pXVEhlfudgp8.cache +0 -0
  29. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{xM → XM}/xM5dCtEPcOYxMSYPooGY0_4u2CGeuPmpv3UpjTL_fr0.cache +0 -0
  30. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{ZG → Zg}/ZGzmCPd1GqApgtqXTO9zaRxQdQRynfkSl74zrh4Fg_Y.cache +0 -0
  31. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{7b/7b8qLr8VgdzUwAvw4N7MVDF66sRHYmdq50dMrFZyJ_s.cache → Zg/ZgkrPk6MzpN7HmhXbK_xtVfqnIi4VFSRuXq8BtTbdA8.cache} +0 -0
  32. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{ZG → Zg}/ZgljiSRp0wAR7vwKB531Y6LnA2PQWPhTwvz8d6xIShA.cache +0 -0
  33. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{ZG → Zg}/zgGHsSlX8eJxNiVGn1x0lp9f-lQE02yy6OywFLQvKPY.cache +0 -0
  34. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{n0/n0DdVLe-nOMHogmGTPurovQADRPoxjkG4EW00iw_j5M.cache → b1/b1C7s0eYDoLd1bktLHb05ubzzBM5IcGDgVqnL5VK9CE.cache} +0 -0
  35. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Vg/Vg99WLaqDNr5ewmT-GFZAKRCqup_yLygDPyIqdEpg8I.cache → cF/cFQAswd1euWrklVs-_7sxmhhtuuMHa9gvt9dhDXUcdg.cache} +0 -0
  36. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{cf → cF}/cf_JXanhgxNES8jO5tz21KuT1yZMbhUQ-VFQbKkuh-g.cache +0 -0
  37. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{cQ → cq}/cQigGmRrT19vErPRXlc2K7mAG-8SPDzLjBczvl1DKXk.cache +0 -0
  38. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{cQ → cq}/cq6eRFNiJzG_MOhLRDlDDBQyd1hIZYu6I0FwRAF66SU.cache +0 -0
  39. data/test/dummy/tmp/cache/assets/sprockets/v3.0/fo/foWRCutGW14uCPyhFv_u9qOrXVyxak4CrPfYv9SVCw4.cache +0 -0
  40. data/test/dummy/tmp/cache/assets/sprockets/v3.0/gb/gbhVrYBl4f54-OqjKRkfpIupTo9wELk4k_EZ45ZocJU.cache +0 -0
  41. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{SB/SBQj0UJmlRycTJnFjgdpUCbPV-8P_CGJQQ1rXM-I3fs.cache → rS/rSsXenjAK9ZGM4gcEMwTrnA3G-IKo0Dk-mQsMtaU8T4.cache} +0 -0
  42. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sG/sgt3FIYS9DvkhX6Yp8HlCFxg9LfJU7QIut4wkuYX18k.cache +0 -0
  43. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{tK → tk}/tkycX5kvKxT8eE7KehdIWjBoez0ZvC2W1zVG5J14wB4.cache +0 -0
  44. data/test/dummy/tmp/cache/assets/sprockets/v3.0/uV/uVmR6TCC4tWulbphsO_NyETKUWU7d-WH8XqN9i-kqVU.cache +0 -0
  45. data/test/dummy/tmp/cache/assets/sprockets/v3.0/vL/vLEv8Jkra3i7mYQOYsx4giUE3uB_ohJDsHB-19bNlRg.cache +0 -0
  46. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{XE/XEB5lFA60F8HSXqNzCxaiQgFsRnAffhFE5EiPHrEuww.cache → x6/x60by82yOt_KJs9QZKHEApE39ww9ljIVLWT3j1sxWaQ.cache} +0 -0
  47. metadata +70 -70
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9d1a32ab5fce054d54c0834269b3c399bbd10e02
4
- data.tar.gz: e993a614bbff7467d41167e79e747c93742592e2
3
+ metadata.gz: 2a8cf0119a81b31e1788ef6051ae82072f2a89b0
4
+ data.tar.gz: f822591684b352444dda680cbf3801b3638c2604
5
5
  SHA512:
6
- metadata.gz: 94b1dbdf282d33edb83bc3c16937f3aeba29dabf8b610a3fa1c0a498966287cdb0e8cb8b803d00fb33e32b2828ad413f3a99847c63661068347f8da2f51592b0
7
- data.tar.gz: 20241a2c98b451982ff23da360bb3a5eb868365847d8a5abd8c9066c6e30868d6cc87a488facc6dc7363a7577a9a4315982ff36aa3523acf3313dd1e24011d95
6
+ metadata.gz: 92095142d890869e4a0f03243c2cd1a9c7e2547564189c40757fc407db47d8f2c7d5e9a40a52de1a93fa27af60ad6641cc593d6e6466999681f458d3a1d27858
7
+ data.tar.gz: a509a4cee2de4203c79027a79c0aea54e693e1bfec809718ad7a3945e16573f2b98f7447f5b008d1dcfc4d471de5df1734fa45e00e7df86685277ad1e70bd55b
@@ -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 = '13b689f1f1d49a3827742c6dc13cb09cfe605bdaa176d731adb51328d35b3a3b'
48
+ # config.dragonfly_secret = 'acf9618c34c0f18299734e75debbc67c2296a8507b22c688b98421879cda072d'
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: 26be4d294882af09669043b8faf969369c4ccb0eceee331c71db3f22a5a7a94d73cc5c1ae0a60ac73104425ebc60019ebb54a34a34b651e0ec40b953d40d0793
14
+ secret_key_base: 3a7c44ea15bd81a6fc228b1ad09f99958a67d902d2246e898b10bdfbf7f11d6f73903abf523795001e08fda5325ea908eb41ab67b3df1feae72563bf4acaa7d1
15
15
 
16
16
  test:
17
- secret_key_base: 3fe50649f1a3d8944c08b2fcf952a069dddd75cfadd8e30026c05abf71dcac83ab4f218ab169bda04397b3e742301d141df71a909440fc6b9bd3ffb1e5a3fbf8
17
+ secret_key_base: e3756c2065f33fbb3ae579a6131835ba31c135560a873d0a2cd75d9039784b9cee557f4eda0a320038361dc89257db290083e7e72b5ae9d14bb68f819d4f2804
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: 20161211203745) do
13
+ ActiveRecord::Schema.define(version: 20161221151137) do
14
14
 
15
15
  # These are extensions that must be enabled in order to support this database
16
16
  enable_extension "plpgsql"
@@ -1,83 +1,83 @@
1
- ActiveRecord::InternalMetadata Load (0.8ms) 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.3ms) 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-11 20:37:34 UTC], ["updated_at", 2016-12-11 20:37:34 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", 2016-12-21 15:11:25 UTC], ["updated_at", 2016-12-21 15:11:25 UTC]]
4
4
   (0.6ms) COMMIT
5
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
6
-  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
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]]
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
-  (194.1ms) DROP DATABASE IF EXISTS "dummy_test"
12
-  (385.9ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
13
-  (8.0ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
14
-  (2.4ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
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)
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
15
   (0.1ms) SELECT pg_try_advisory_lock(2735718569030447490);
16
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
17
- Migrating to CreatePushTypeUsers (20161211203739)
16
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
17
+ Migrating to CreatePushTypeUsers (20161221151131)
18
18
   (0.1ms) BEGIN
19
- SQL (16.7ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
20
-  (2.1ms) CREATE TABLE "push_type_users" ("id" uuid DEFAULT uuid_generate_v4() PRIMARY KEY, "name" character varying, "email" character varying, "field_store" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
21
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161211203739"]]
22
-  (0.6ms) COMMIT
23
- Migrating to CreatePushTypeNodes (20161211203740)
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)
24
24
   (0.1ms) BEGIN
25
-  (2.0ms) CREATE TABLE "push_type_nodes" ("id" uuid DEFAULT uuid_generate_v4() PRIMARY KEY, "type" character varying, "title" character varying, "slug" character varying, "field_store" jsonb, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
26
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161211203740"]]
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"]]
27
27
   (0.5ms) COMMIT
28
- Migrating to CreatePushTypeNodeHierarchies (20161211203741)
28
+ Migrating to CreatePushTypeNodeHierarchies (20161221151133)
29
29
   (0.1ms) BEGIN
30
-  (0.6ms) CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)
31
-  (1.2ms) 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", "20161211203741"]]
34
-  (26.1ms) COMMIT
35
- Migrating to CreatePushTypeAssets (20161211203742)
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"]]
34
+  (0.4ms) COMMIT
35
+ Migrating to CreatePushTypeAssets (20161221151134)
36
36
   (0.1ms) BEGIN
37
-  (6.7ms) 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", "20161211203742"]]
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"]]
39
39
   (0.5ms) COMMIT
40
- Migrating to AddFieldStoreDefaultValues (20161211203743)
40
+ Migrating to AddFieldStoreDefaultValues (20161221151135)
41
41
   (0.1ms) BEGIN
42
42
   (0.2ms) ALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" TYPE jsonb
43
-  (0.3ms) ALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" SET DEFAULT '{}'
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
46
46
   (0.2ms) ALTER TABLE "push_type_users" ALTER COLUMN "field_store" TYPE jsonb
47
-  (0.1ms) ALTER TABLE "push_type_users" ALTER COLUMN "field_store" SET DEFAULT '{}'
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
-  (0.2ms) 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", "20161211203743"]]
51
-  (0.7ms) COMMIT
52
- Migrating to DropLegacyPushTypeTaxonomies (20161211203744)
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"]]
51
+  (0.4ms) COMMIT
52
+ Migrating to DropLegacyPushTypeTaxonomies (20161221151136)
53
53
   (0.1ms) BEGIN
54
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161211203744"]]
54
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161221151136"]]
55
55
   (0.4ms) COMMIT
56
- Migrating to DeviseExtendPushTypeUsers (20161211203745)
56
+ Migrating to DeviseExtendPushTypeUsers (20161221151137)
57
57
   (0.1ms) BEGIN
58
-  (7.9ms) ALTER TABLE "push_type_users" ADD "encrypted_password" character varying DEFAULT '' NOT NULL
58
+  (4.5ms) 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
-  (22.5ms) ALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
62
+  (2.3ms) ALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
63
63
   (0.2ms) ALTER TABLE "push_type_users" ADD "current_sign_in_at" timestamp
64
64
   (0.1ms) ALTER TABLE "push_type_users" ADD "last_sign_in_at" timestamp
65
65
   (0.1ms) ALTER TABLE "push_type_users" ADD "current_sign_in_ip" character varying
66
-  (0.2ms) ALTER TABLE "push_type_users" ADD "last_sign_in_ip" character varying
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.1ms) ALTER TABLE "push_type_users" ADD "confirmed_at" timestamp
68
+  (0.2ms) ALTER TABLE "push_type_users" ADD "confirmed_at" timestamp
69
69
   (0.1ms) ALTER TABLE "push_type_users" ADD "confirmation_sent_at" timestamp
70
-  (6.3ms) CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")
71
-  (6.0ms) 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", "20161211203745"]]
73
-  (6.7ms) COMMIT
74
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
70
+  (0.8ms) CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")
71
+  (0.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]]
75
75
   (0.1ms) BEGIN
76
- SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-12-11 20:37:42 UTC], ["updated_at", 2016-12-11 20:37:42 UTC]]
77
-  (5.7ms) COMMIT
78
-  (0.3ms) SELECT pg_advisory_unlock(2735718569030447490)
79
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
80
-  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
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"
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
83
83
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -113,7 +113,7 @@ WHERE c.contype = 'f'
113
113
  AND t3.nspname = ANY (current_schemas(false))
114
114
  ORDER BY c.conname
115
115
  
116
-  (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
116
+  (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
117
117
  FROM pg_constraint c
118
118
  JOIN pg_class t1 ON c.conrelid = t1.oid
119
119
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -130,221 +130,19 @@ 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
-  (1.1ms)  SELECT schemaname || '.' || tablename
133
+  (0.9ms)  SELECT schemaname || '.' || tablename
134
134
  FROM pg_tables
135
135
  WHERE
136
136
  tablename !~ '_prt_' AND
137
137
  tablename <> 'schema_migrations' AND
138
138
  schemaname = ANY (current_schemas(false))
139
139
  
140
-  (0.9ms) select table_name from information_schema.views where table_schema = 'dummy_test'
141
-  (10.1ms) TRUNCATE TABLE "public"."ar_internal_metadata", "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_assets", "public"."push_type_users" RESTART IDENTITY CASCADE;
140
+  (1.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;
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::AuthenticatableTest::database_athenticatable: test_0001_anonymous
148
- ---------------------------------------------------------------------------
149
-  (0.1ms) SAVEPOINT active_record_1
150
-  (0.1ms) RELEASE SAVEPOINT active_record_1
151
-  (0.1ms) SAVEPOINT active_record_1
152
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
153
-  (0.1ms) ROLLBACK
154
-  (0.1ms) BEGIN
155
- ---------------------------------------------------------------------------
156
- PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
157
- ---------------------------------------------------------------------------
158
-  (0.0ms) SAVEPOINT active_record_1
159
-  (0.0ms) RELEASE SAVEPOINT active_record_1
160
-  (0.0ms) SAVEPOINT active_record_1
161
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
162
-  (0.1ms) ROLLBACK
163
-  (0.0ms) BEGIN
164
- ----------------------------------------------------
165
- PushType::InvitationMethodsTest: test_0001_anonymous
166
- ----------------------------------------------------
167
-  (0.0ms) SAVEPOINT active_record_1
168
-  (0.0ms) RELEASE SAVEPOINT active_record_1
169
-  (0.0ms) SAVEPOINT active_record_1
170
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
171
-  (0.0ms) ROLLBACK
172
-  (0.0ms) BEGIN
173
- -------------------------------------------------------------------------
174
- AuthenticatedControllerTest::unauthenticated request: test_0001_anonymous
175
- -------------------------------------------------------------------------
176
-  (0.1ms) SAVEPOINT active_record_1
177
-  (0.0ms) RELEASE SAVEPOINT active_record_1
178
-  (0.0ms) SAVEPOINT active_record_1
179
- Started GET "/admin/nodes" for 127.0.0.1 at 2016-12-11 20:37:47 +0000
180
- Processing by PushType::Admin::NodesController#index as HTML
181
- Redirected to http://www.example.com/admin/sign_in
182
- Filter chain halted as :authenticate_user! rendered or redirected
183
- Completed 302 Found in 29ms (ActiveRecord: 0.0ms)
184
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
185
-  (0.1ms) ROLLBACK
186
-  (0.1ms) BEGIN
187
- ------------------------------------------------------------------------------------------------------
188
- PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
189
- ------------------------------------------------------------------------------------------------------
190
-  (0.1ms) SAVEPOINT active_record_1
191
-  (0.1ms) RELEASE SAVEPOINT active_record_1
192
-  (0.1ms) SAVEPOINT active_record_1
193
- Processing by PushType::ConfirmationsController#show as HTML
194
- Parameters: {"confirmation_token"=>"invalid"}
195
- PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
196
- 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]]
197
- 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", "66f1fc172d662a8c4180b7d9674ff879a2404f352832257f6c714a676cbcf8bb"], ["LIMIT", 1]]
198
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
199
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.2ms)
200
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (17.3ms)
201
- 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
202
- in a future version of Sass. To preserve the current behavior, use quotes:
203
-
204
- unquote("#{lower-bound($medium-range)}")
205
-
206
-
207
- Completed 200 OK in 12404ms (Views: 12228.7ms | ActiveRecord: 0.9ms)
208
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
209
-  (0.2ms) ROLLBACK
210
-  (0.1ms) BEGIN
211
- ------------------------------------------------------------------------------------------------------
212
- PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0002_anonymous
213
- ------------------------------------------------------------------------------------------------------
214
-  (0.0ms) SAVEPOINT active_record_1
215
-  (0.0ms) RELEASE SAVEPOINT active_record_1
216
-  (0.0ms) SAVEPOINT active_record_1
217
- Processing by PushType::ConfirmationsController#show as HTML
218
- Parameters: {"confirmation_token"=>"invalid"}
219
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
220
- 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]]
221
- 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", "66f1fc172d662a8c4180b7d9674ff879a2404f352832257f6c714a676cbcf8bb"], ["LIMIT", 1]]
222
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
223
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
224
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.5ms)
225
- Completed 200 OK in 9ms (Views: 5.6ms | ActiveRecord: 0.4ms)
226
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
227
-  (0.1ms) ROLLBACK
228
-  (0.1ms) BEGIN
229
- -----------------------------------------------------------------------------------
230
- AuthenticatedApiControllerTest::authenticated with token param: test_0001_anonymous
231
- -----------------------------------------------------------------------------------
232
-  (0.0ms) SAVEPOINT active_record_1
233
-  (0.0ms) RELEASE SAVEPOINT active_record_1
234
-  (0.0ms) SAVEPOINT active_record_1
235
-  (0.1ms) SAVEPOINT active_record_2
236
- 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]]
237
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-1@example.com"], ["LIMIT", 1]]
238
- SQL (1.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-1@example.com"], ["created_at", 2016-12-11 20:37:59 UTC], ["updated_at", 2016-12-11 20:37:59 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-11 20:37:59 UTC], ["confirmation_sent_at", 2016-12-11 20:37:59 UTC]]
239
-  (0.1ms) RELEASE SAVEPOINT active_record_2
240
- Started GET "/api/nodes?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE0ODE1NzUwNzksInN1YiI6Ijc4ZTkyMTk4LWYwMzAtNDI4MC1iZTAwLWI1ODlmYzc3MDY1NCJ9.QJruV5uQUXjtIJkha2BDcTvDmQ-2iev3pshKNutcF1A" for 127.0.0.1 at 2016-12-11 20:37:59 +0000
241
- Processing by PushType::Api::NodesController#index as JSON
242
- Parameters: {"token"=>"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE0ODE1NzUwNzksInN1YiI6Ijc4ZTkyMTk4LWYwMzAtNDI4MC1iZTAwLWI1ODlmYzc3MDY1NCJ9.QJruV5uQUXjtIJkha2BDcTvDmQ-2iev3pshKNutcF1A"}
243
- 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", "78e92198-f030-4280-be00-b589fc770654"], ["LIMIT", 1]]
244
- Rendering /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder
245
- 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]]
246
- Rendered collection of /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/shared/_pagination.json.jbuilder [0 times] (0.0ms)
247
- Rendered /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder (7.9ms)
248
- Completed 200 OK in 46ms (Views: 35.5ms | ActiveRecord: 0.9ms)
249
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
250
-  (0.1ms) ROLLBACK
251
-  (0.0ms) BEGIN
252
- ---------------------------------------------------------------
253
- PushType::AuthenticatableTest::recoverable: test_0001_anonymous
254
- ---------------------------------------------------------------
255
-  (0.0ms) SAVEPOINT active_record_1
256
-  (0.0ms) RELEASE SAVEPOINT active_record_1
257
-  (0.0ms) SAVEPOINT active_record_1
258
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
259
-  (0.1ms) ROLLBACK
260
-  (0.1ms) BEGIN
261
- -------------------------------------------------------------
262
- PushType::AuthenticatableTest::trackable: test_0001_anonymous
263
- -------------------------------------------------------------
264
-  (0.1ms) SAVEPOINT active_record_1
265
-  (0.1ms) RELEASE SAVEPOINT active_record_1
266
-  (0.0ms) SAVEPOINT active_record_1
267
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
268
-  (0.1ms) ROLLBACK
269
-  (0.0ms) BEGIN
270
- -----------------------------------------------------------------------
271
- AuthenticatedControllerTest::authenticated request: test_0001_anonymous
272
- -----------------------------------------------------------------------
273
-  (0.0ms) SAVEPOINT active_record_1
274
-  (0.0ms) RELEASE SAVEPOINT active_record_1
275
-  (0.0ms) SAVEPOINT active_record_1
276
-  (0.1ms) SAVEPOINT active_record_2
277
- 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]]
278
- 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]]
279
- 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-2@example.com"], ["created_at", 2016-12-11 20:37:59 UTC], ["updated_at", 2016-12-11 20:37:59 UTC], ["encrypted_password", "$2a$04$/AkZqS1FMIzvAUPflAxM8u9Bbbmqga3vzczGkt0m1vVAUmKv1puU6"], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-11 20:37:59 UTC], ["confirmation_sent_at", 2016-12-11 20:37:59 UTC]]
280
-  (0.1ms) RELEASE SAVEPOINT active_record_2
281
- Started POST "/admin/sign_in" for 127.0.0.1 at 2016-12-11 20:37:59 +0000
282
- Processing by PushType::SessionsController#create as HTML
283
- Parameters: {"user"=>{"email"=>"joe-2@example.com", "password"=>"[FILTERED]"}}
284
- 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-2@example.com"], ["LIMIT", 1]]
285
-  (0.1ms) SAVEPOINT active_record_2
286
- SQL (0.2ms) 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-11 20:37:59 UTC], ["last_sign_in_at", 2016-12-11 20:37:59 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-11 20:37:59 UTC], ["id", "998aabca-3586-4d33-a201-a88833b49914"]]
287
-  (0.1ms) RELEASE SAVEPOINT active_record_2
288
- Redirected to http://www.example.com/admin/
289
- Completed 302 Found in 44ms (ActiveRecord: 0.7ms)
290
- Started GET "/admin/nodes" for 127.0.0.1 at 2016-12-11 20:37:59 +0000
291
- Processing by PushType::Admin::NodesController#index as HTML
292
- 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", "998aabca-3586-4d33-a201-a88833b49914"], ["LIMIT", 1]]
293
- Rendering /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/index.html.haml within layouts/push_type/admin
294
-  (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]]
295
-  (0.1ms) SELECT COUNT(*) FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL
296
- Rendered /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/_new_node_button.html.haml (2.2ms)
297
- Rendered /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/index.html.haml within layouts/push_type/admin (22.5ms)
298
- Completed 200 OK in 42ms (Views: 34.6ms | ActiveRecord: 0.8ms)
299
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
300
-  (0.1ms) ROLLBACK
301
-  (0.1ms) BEGIN
302
- --------------------------------------------------------------------------------------------
303
- PushType::Admin::ProfilesControllerTest::PUT #update::with invalid user: test_0001_anonymous
304
- --------------------------------------------------------------------------------------------
305
-  (0.1ms) SAVEPOINT active_record_1
306
-  (0.1ms) RELEASE SAVEPOINT active_record_1
307
-  (0.1ms) SAVEPOINT active_record_1
308
-  (0.1ms) SAVEPOINT active_record_2
309
- 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]]
310
- 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]]
311
- 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-11 20:37:59 UTC], ["updated_at", 2016-12-11 20:37:59 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-11 20:37:59 UTC], ["confirmation_sent_at", 2016-12-11 20:37:59 UTC]]
312
-  (0.1ms) RELEASE SAVEPOINT active_record_2
313
- Processing by PushType::Admin::ProfilesController#update as HTML
314
- Parameters: {"user"=>{"name"=>""}}
315
- 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", "598ded2a-f4d2-4552-88d2-c0357c3b95ac"], ["LIMIT", 1]]
316
-  (0.1ms) SAVEPOINT active_record_2
317
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-3@example.com"], ["id", "598ded2a-f4d2-4552-88d2-c0357c3b95ac"], ["LIMIT", 1]]
318
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
319
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
320
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (6.6ms)
321
- Completed 200 OK in 21ms (Views: 16.3ms | ActiveRecord: 0.6ms)
322
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
323
-  (0.1ms) ROLLBACK
324
-  (0.1ms) BEGIN
325
- --------------------------------------------------------------------------------------------
326
- PushType::Admin::ProfilesControllerTest::PUT #update::with invalid user: test_0002_anonymous
327
- --------------------------------------------------------------------------------------------
328
-  (0.1ms) SAVEPOINT active_record_1
329
-  (0.0ms) RELEASE SAVEPOINT active_record_1
330
-  (0.0ms) SAVEPOINT active_record_1
331
-  (0.1ms) SAVEPOINT active_record_2
332
- 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]]
333
- 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]]
334
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-4@example.com"], ["created_at", 2016-12-11 20:37:59 UTC], ["updated_at", 2016-12-11 20:37:59 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-11 20:37:59 UTC], ["confirmation_sent_at", 2016-12-11 20:37:59 UTC]]
335
-  (0.1ms) RELEASE SAVEPOINT active_record_2
336
- Processing by PushType::Admin::ProfilesController#update as HTML
337
- Parameters: {"user"=>{"name"=>""}}
338
- 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", "01f311fd-a2b1-4076-aa3c-b1f6956728b8"], ["LIMIT", 1]]
339
-  (0.1ms) SAVEPOINT active_record_2
340
- 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", "01f311fd-a2b1-4076-aa3c-b1f6956728b8"], ["LIMIT", 1]]
341
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
342
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
343
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (1.7ms)
344
- Completed 200 OK in 11ms (Views: 7.6ms | ActiveRecord: 0.5ms)
345
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
346
-  (0.1ms) ROLLBACK
347
-  (0.1ms) BEGIN
348
146
  ----------------------------------------------------------------------
349
147
  PushType::Admin::UsersControllerTest::PUT #invite: test_0001_anonymous
350
148
  ----------------------------------------------------------------------
@@ -352,33 +150,39 @@ PushType::Admin::UsersControllerTest::PUT #invite: test_0001_anonymous
352
150
   (0.1ms) RELEASE SAVEPOINT active_record_1
353
151
   (0.1ms) SAVEPOINT active_record_1
354
152
   (0.1ms) SAVEPOINT active_record_2
355
- 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]]
356
- 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]]
357
- 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-5@example.com"], ["created_at", 2016-12-11 20:37:59 UTC], ["updated_at", 2016-12-11 20:37:59 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-11 20:37:59 UTC], ["confirmation_sent_at", 2016-12-11 20:37:59 UTC]]
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]]
358
156
   (0.1ms) RELEASE SAVEPOINT active_record_2
359
157
   (0.1ms) SAVEPOINT active_record_2
360
- 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]]
361
- 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]]
362
- 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-11 20:37:59 UTC], ["updated_at", 2016-12-11 20:37:59 UTC], ["confirmation_token", "zMxKJRyRshGo_grDfLwy"], ["confirmation_sent_at", 2016-12-11 20:37:59 UTC]]
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]]
363
161
   (0.1ms) RELEASE SAVEPOINT active_record_2
364
162
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
365
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.8ms)
366
- Devise::Mailer#confirmation_instructions: processed outbound mail in 164.9ms
367
- Sent mail to joe-6@example.com (10.1ms)
368
- Date: Sun, 11 Dec 2016 20:38:00 +0000
163
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (5.0ms)
164
+ 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
+ in a future version of Sass. To preserve the current behavior, use quotes:
166
+
167
+ unquote("#{lower-bound($medium-range)}")
168
+
169
+
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
369
173
  From: pushtype@example.com
370
174
  Reply-To: pushtype@example.com
371
- To: joe-6@example.com
372
- Message-ID: <584db9282913_10ce13fcbcb83f9c4359bc@Aarons-iMac.local.mail>
175
+ To: joe-2@example.com
176
+ Message-ID: <585a9bb789043_cf8c3ff7ee43f9d88924d@Aarons-iMac.local.mail>
373
177
  Subject: [PushType] Confirm your account
374
178
  Mime-Version: 1.0
375
179
  Content-Type: multipart/alternative;
376
- boundary="--==_mimepart_584db92812ef_10ce13fcbcb83f9c4358a8";
180
+ boundary="--==_mimepart_585a9bb787bcc_cf8c3ff7ee43f9d889186";
377
181
  charset=UTF-8
378
182
  Content-Transfer-Encoding: 7bit
379
183
 
380
184
 
381
- ----==_mimepart_584db92812ef_10ce13fcbcb83f9c4358a8
185
+ ----==_mimepart_585a9bb787bcc_cf8c3ff7ee43f9d889186
382
186
  Content-Type: text/plain;
383
187
  charset=UTF-8
384
188
  Content-Transfer-Encoding: 7bit
@@ -394,11 +198,11 @@ To get started, confirm your account and set your own password by
394
198
  clicking the link below:
395
199
 
396
200
  Confirm my account
397
- ( http://localhost:3000/admin/confirmation.33d60b4f-8bc9-45ce-8eb5-6d6feaca47ae?confirmation_token=zMxKJRyRshGo_grDfLwy )
201
+ ( http://localhost:3000/admin/confirmation.d2850749-87a2-4525-82aa-23ee2666495b?confirmation_token=syd4fawY9ZvTZLB8btoL )
398
202
 
399
203
 
400
204
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
401
- ----==_mimepart_584db92812ef_10ce13fcbcb83f9c4358a8
205
+ ----==_mimepart_585a9bb787bcc_cf8c3ff7ee43f9d889186
402
206
  Content-Type: text/html;
403
207
  charset=UTF-8
404
208
  Content-Transfer-Encoding: 7bit
@@ -444,7 +248,7 @@ body {
444
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%;">
445
249
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
446
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;">
447
- <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.33d60b4f-8bc9-45ce-8eb5-6d6feaca47ae?confirmation_token=zMxKJRyRshGo_grDfLwy" 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>
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>
448
252
  </td>
449
253
  </tr>
450
254
  </table>
@@ -489,32 +293,32 @@ body {
489
293
  </body>
490
294
  </html>
491
295
 
492
- ----==_mimepart_584db92812ef_10ce13fcbcb83f9c4358a8--
296
+ ----==_mimepart_585a9bb787bcc_cf8c3ff7ee43f9d889186--
493
297
 
494
298
  Processing by PushType::Admin::UsersController#invite as HTML
495
- Parameters: {"id"=>"33d60b4f-8bc9-45ce-8eb5-6d6feaca47ae"}
496
- 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", "90446941-66d9-484a-8c86-90a4c661d2b3"], ["LIMIT", 1]]
497
- 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", "33d60b4f-8bc9-45ce-8eb5-6d6feaca47ae"], ["LIMIT", 1]]
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]]
498
302
   (0.1ms) SAVEPOINT active_record_2
499
303
   (0.1ms) RELEASE SAVEPOINT active_record_2
500
304
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
501
305
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
502
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
503
- Sent mail to joe-6@example.com (3.4ms)
504
- Date: Sun, 11 Dec 2016 20:38:00 +0000
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
505
309
  From: pushtype@example.com
506
310
  Reply-To: pushtype@example.com
507
- To: joe-6@example.com
508
- Message-ID: <584db928c7cb_10ce13fcbcb83f9c43622d@Aarons-iMac.local.mail>
311
+ To: joe-2@example.com
312
+ Message-ID: <585a9bb794e21_cf8c3ff7ee43f9d8895d1@Aarons-iMac.local.mail>
509
313
  Subject: [PushType] Confirm your account
510
314
  Mime-Version: 1.0
511
315
  Content-Type: multipart/alternative;
512
- boundary="--==_mimepart_584db928c394_10ce13fcbcb83f9c4361e6";
316
+ boundary="--==_mimepart_585a9bb79495d_cf8c3ff7ee43f9d889420";
513
317
  charset=UTF-8
514
318
  Content-Transfer-Encoding: 7bit
515
319
 
516
320
 
517
- ----==_mimepart_584db928c394_10ce13fcbcb83f9c4361e6
321
+ ----==_mimepart_585a9bb79495d_cf8c3ff7ee43f9d889420
518
322
  Content-Type: text/plain;
519
323
  charset=UTF-8
520
324
  Content-Transfer-Encoding: 7bit
@@ -530,11 +334,11 @@ To get started, confirm your account and set your own password by
530
334
  clicking the link below:
531
335
 
532
336
  Confirm my account
533
- ( http://localhost:3000/admin/confirmation.33d60b4f-8bc9-45ce-8eb5-6d6feaca47ae?confirmation_token=zMxKJRyRshGo_grDfLwy )
337
+ ( http://localhost:3000/admin/confirmation.d2850749-87a2-4525-82aa-23ee2666495b?confirmation_token=syd4fawY9ZvTZLB8btoL )
534
338
 
535
339
 
536
340
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
537
- ----==_mimepart_584db928c394_10ce13fcbcb83f9c4361e6
341
+ ----==_mimepart_585a9bb79495d_cf8c3ff7ee43f9d889420
538
342
  Content-Type: text/html;
539
343
  charset=UTF-8
540
344
  Content-Transfer-Encoding: 7bit
@@ -580,7 +384,7 @@ body {
580
384
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
581
385
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
582
386
  <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;">
583
- <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.33d60b4f-8bc9-45ce-8eb5-6d6feaca47ae?confirmation_token=zMxKJRyRshGo_grDfLwy" 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>
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>
584
388
  </td>
585
389
  </tr>
586
390
  </table>
@@ -625,47 +429,47 @@ body {
625
429
  </body>
626
430
  </html>
627
431
 
628
- ----==_mimepart_584db928c394_10ce13fcbcb83f9c4361e6--
432
+ ----==_mimepart_585a9bb79495d_cf8c3ff7ee43f9d889420--
629
433
 
630
434
  Redirected to http://test.host/push_type/users
631
- Completed 302 Found in 38ms (ActiveRecord: 0.6ms)
435
+ Completed 302 Found in 42ms (ActiveRecord: 0.8ms)
632
436
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
633
-  (0.1ms) ROLLBACK
437
+  (0.2ms) ROLLBACK
634
438
   (0.1ms) BEGIN
635
439
  ----------------------------------------------------------------------
636
- PushType::Admin::UsersControllerTest::PUT #invite: test_0003_anonymous
440
+ PushType::Admin::UsersControllerTest::PUT #invite: test_0002_anonymous
637
441
  ----------------------------------------------------------------------
638
442
   (0.1ms) SAVEPOINT active_record_1
639
-  (0.0ms) RELEASE SAVEPOINT active_record_1
640
-  (0.0ms) SAVEPOINT active_record_1
443
+  (0.1ms) RELEASE SAVEPOINT active_record_1
444
+  (0.1ms) SAVEPOINT active_record_1
641
445
   (0.1ms) SAVEPOINT active_record_2
642
- 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]]
643
- 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]]
644
- 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-7@example.com"], ["created_at", 2016-12-11 20:38:00 UTC], ["updated_at", 2016-12-11 20:38:00 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-11 20:38:00 UTC], ["confirmation_sent_at", 2016-12-11 20:38:00 UTC]]
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]]
447
+ 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]]
645
449
   (0.1ms) RELEASE SAVEPOINT active_record_2
646
450
   (0.1ms) SAVEPOINT active_record_2
647
- 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]]
648
- 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]]
649
- 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-11 20:38:00 UTC], ["updated_at", 2016-12-11 20:38:00 UTC], ["confirmation_token", "x3sTZHzq-RZmRhvywRu3"], ["confirmation_sent_at", 2016-12-11 20:38:00 UTC]]
451
+ 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]]
650
454
   (0.1ms) RELEASE SAVEPOINT active_record_2
651
455
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
652
456
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
653
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
654
- Sent mail to joe-8@example.com (3.3ms)
655
- Date: Sun, 11 Dec 2016 20:38:00 +0000
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
656
460
  From: pushtype@example.com
657
461
  Reply-To: pushtype@example.com
658
- To: joe-8@example.com
659
- Message-ID: <584db92816900_10ce13fcbcb83f9c43655e@Aarons-iMac.local.mail>
462
+ To: joe-4@example.com
463
+ Message-ID: <585a9bb7a05d6_cf8c3ff7ee43f9d8898a3@Aarons-iMac.local.mail>
660
464
  Subject: [PushType] Confirm your account
661
465
  Mime-Version: 1.0
662
466
  Content-Type: multipart/alternative;
663
- boundary="--==_mimepart_584db9281651d_10ce13fcbcb83f9c436488";
467
+ boundary="--==_mimepart_585a9bb7a008b_cf8c3ff7ee43f9d889713";
664
468
  charset=UTF-8
665
469
  Content-Transfer-Encoding: 7bit
666
470
 
667
471
 
668
- ----==_mimepart_584db9281651d_10ce13fcbcb83f9c436488
472
+ ----==_mimepart_585a9bb7a008b_cf8c3ff7ee43f9d889713
669
473
  Content-Type: text/plain;
670
474
  charset=UTF-8
671
475
  Content-Transfer-Encoding: 7bit
@@ -681,11 +485,11 @@ To get started, confirm your account and set your own password by
681
485
  clicking the link below:
682
486
 
683
487
  Confirm my account
684
- ( http://localhost:3000/admin/confirmation.81221619-e1ed-4d67-aa28-d137441219a0?confirmation_token=x3sTZHzq-RZmRhvywRu3 )
488
+ ( http://localhost:3000/admin/confirmation.476633c2-2f82-4a01-9201-97727521755f?confirmation_token=8Vs5vGdUn3QDsyXpXGW- )
685
489
 
686
490
 
687
491
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
688
- ----==_mimepart_584db9281651d_10ce13fcbcb83f9c436488
492
+ ----==_mimepart_585a9bb7a008b_cf8c3ff7ee43f9d889713
689
493
  Content-Type: text/html;
690
494
  charset=UTF-8
691
495
  Content-Transfer-Encoding: 7bit
@@ -731,7 +535,7 @@ body {
731
535
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
732
536
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
733
537
  <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;">
734
- <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.81221619-e1ed-4d67-aa28-d137441219a0?confirmation_token=x3sTZHzq-RZmRhvywRu3" 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>
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>
735
539
  </td>
736
540
  </tr>
737
541
  </table>
@@ -776,32 +580,32 @@ body {
776
580
  </body>
777
581
  </html>
778
582
 
779
- ----==_mimepart_584db9281651d_10ce13fcbcb83f9c436488--
583
+ ----==_mimepart_585a9bb7a008b_cf8c3ff7ee43f9d889713--
780
584
 
781
585
  Processing by PushType::Admin::UsersController#invite as HTML
782
- Parameters: {"id"=>"81221619-e1ed-4d67-aa28-d137441219a0"}
783
- 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", "f2b26d8f-90d2-4273-816d-0a34cb51110d"], ["LIMIT", 1]]
784
- 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", "81221619-e1ed-4d67-aa28-d137441219a0"], ["LIMIT", 1]]
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]]
785
589
   (0.1ms) SAVEPOINT active_record_2
786
590
   (0.1ms) RELEASE SAVEPOINT active_record_2
787
591
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
788
592
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
789
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms
790
- Sent mail to joe-8@example.com (3.4ms)
791
- Date: Sun, 11 Dec 2016 20:38:00 +0000
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
792
596
  From: pushtype@example.com
793
597
  Reply-To: pushtype@example.com
794
- To: joe-8@example.com
795
- Message-ID: <584db9281faee_10ce13fcbcb83f9c43681@Aarons-iMac.local.mail>
598
+ To: joe-4@example.com
599
+ Message-ID: <585a9bb7aa47a_cf8c3ff7ee43f9d8901dd@Aarons-iMac.local.mail>
796
600
  Subject: [PushType] Confirm your account
797
601
  Mime-Version: 1.0
798
602
  Content-Type: multipart/alternative;
799
- boundary="--==_mimepart_584db9281f700_10ce13fcbcb83f9c436715";
603
+ boundary="--==_mimepart_585a9bb7aa064_cf8c3ff7ee43f9d890068";
800
604
  charset=UTF-8
801
605
  Content-Transfer-Encoding: 7bit
802
606
 
803
607
 
804
- ----==_mimepart_584db9281f700_10ce13fcbcb83f9c436715
608
+ ----==_mimepart_585a9bb7aa064_cf8c3ff7ee43f9d890068
805
609
  Content-Type: text/plain;
806
610
  charset=UTF-8
807
611
  Content-Transfer-Encoding: 7bit
@@ -817,11 +621,11 @@ To get started, confirm your account and set your own password by
817
621
  clicking the link below:
818
622
 
819
623
  Confirm my account
820
- ( http://localhost:3000/admin/confirmation.81221619-e1ed-4d67-aa28-d137441219a0?confirmation_token=x3sTZHzq-RZmRhvywRu3 )
624
+ ( http://localhost:3000/admin/confirmation.476633c2-2f82-4a01-9201-97727521755f?confirmation_token=8Vs5vGdUn3QDsyXpXGW- )
821
625
 
822
626
 
823
627
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
824
- ----==_mimepart_584db9281f700_10ce13fcbcb83f9c436715
628
+ ----==_mimepart_585a9bb7aa064_cf8c3ff7ee43f9d890068
825
629
  Content-Type: text/html;
826
630
  charset=UTF-8
827
631
  Content-Transfer-Encoding: 7bit
@@ -867,7 +671,7 @@ body {
867
671
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
868
672
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
869
673
  <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;">
870
- <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.81221619-e1ed-4d67-aa28-d137441219a0?confirmation_token=x3sTZHzq-RZmRhvywRu3" 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>
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>
871
675
  </td>
872
676
  </tr>
873
677
  </table>
@@ -912,47 +716,47 @@ body {
912
716
  </body>
913
717
  </html>
914
718
 
915
- ----==_mimepart_584db9281f700_10ce13fcbcb83f9c436715--
719
+ ----==_mimepart_585a9bb7aa064_cf8c3ff7ee43f9d890068--
916
720
 
917
721
  Redirected to http://test.host/push_type/users
918
- Completed 302 Found in 37ms (ActiveRecord: 0.6ms)
722
+ Completed 302 Found in 40ms (ActiveRecord: 0.7ms)
919
723
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
920
724
   (0.1ms) ROLLBACK
921
725
   (0.1ms) BEGIN
922
726
  ----------------------------------------------------------------------
923
- PushType::Admin::UsersControllerTest::PUT #invite: test_0002_anonymous
727
+ PushType::Admin::UsersControllerTest::PUT #invite: test_0003_anonymous
924
728
  ----------------------------------------------------------------------
925
729
   (0.1ms) SAVEPOINT active_record_1
926
730
   (0.0ms) RELEASE SAVEPOINT active_record_1
927
731
   (0.0ms) SAVEPOINT active_record_1
928
732
   (0.1ms) SAVEPOINT active_record_2
929
- 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]]
930
- 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]]
931
- 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", 2016-12-11 20:38:00 UTC], ["updated_at", 2016-12-11 20:38:00 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-11 20:38:00 UTC], ["confirmation_sent_at", 2016-12-11 20:38:00 UTC]]
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]]
932
736
   (0.1ms) RELEASE SAVEPOINT active_record_2
933
737
   (0.1ms) SAVEPOINT active_record_2
934
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-10@example.com"], ["LIMIT", 1]]
935
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-10@example.com"], ["LIMIT", 1]]
936
- 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-11 20:38:00 UTC], ["updated_at", 2016-12-11 20:38:00 UTC], ["confirmation_token", "jsr_rizPuV8vsNq9HERC"], ["confirmation_sent_at", 2016-12-11 20:38:00 UTC]]
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]]
937
741
   (0.1ms) RELEASE SAVEPOINT active_record_2
938
742
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
939
743
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
940
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
941
- Sent mail to joe-10@example.com (3.3ms)
942
- Date: Sun, 11 Dec 2016 20:38:00 +0000
744
+ 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
943
747
  From: pushtype@example.com
944
748
  Reply-To: pushtype@example.com
945
- To: joe-10@example.com
946
- Message-ID: <584db92829ed3_10ce13fcbcb83f9c4371ab@Aarons-iMac.local.mail>
749
+ To: joe-6@example.com
750
+ Message-ID: <585a9bb7b556a_cf8c3ff7ee43f9d8904ae@Aarons-iMac.local.mail>
947
751
  Subject: [PushType] Confirm your account
948
752
  Mime-Version: 1.0
949
753
  Content-Type: multipart/alternative;
950
- boundary="--==_mimepart_584db92829aac_10ce13fcbcb83f9c43707";
754
+ boundary="--==_mimepart_585a9bb7b50f9_cf8c3ff7ee43f9d8903f5";
951
755
  charset=UTF-8
952
756
  Content-Transfer-Encoding: 7bit
953
757
 
954
758
 
955
- ----==_mimepart_584db92829aac_10ce13fcbcb83f9c43707
759
+ ----==_mimepart_585a9bb7b50f9_cf8c3ff7ee43f9d8903f5
956
760
  Content-Type: text/plain;
957
761
  charset=UTF-8
958
762
  Content-Transfer-Encoding: 7bit
@@ -968,11 +772,11 @@ To get started, confirm your account and set your own password by
968
772
  clicking the link below:
969
773
 
970
774
  Confirm my account
971
- ( http://localhost:3000/admin/confirmation.43785683-1776-4d10-8060-eda77fb08fc4?confirmation_token=jsr_rizPuV8vsNq9HERC )
775
+ ( http://localhost:3000/admin/confirmation.04bea6ed-7d6b-4577-a79f-fef641824c70?confirmation_token=ibPamMxzJz6bGPWTx1_k )
972
776
 
973
777
 
974
778
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
975
- ----==_mimepart_584db92829aac_10ce13fcbcb83f9c43707
779
+ ----==_mimepart_585a9bb7b50f9_cf8c3ff7ee43f9d8903f5
976
780
  Content-Type: text/html;
977
781
  charset=UTF-8
978
782
  Content-Transfer-Encoding: 7bit
@@ -1018,7 +822,7 @@ body {
1018
822
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
1019
823
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1020
824
  <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;">
1021
- <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.43785683-1776-4d10-8060-eda77fb08fc4?confirmation_token=jsr_rizPuV8vsNq9HERC" 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>
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>
1022
826
  </td>
1023
827
  </tr>
1024
828
  </table>
@@ -1063,32 +867,32 @@ body {
1063
867
  </body>
1064
868
  </html>
1065
869
 
1066
- ----==_mimepart_584db92829aac_10ce13fcbcb83f9c43707--
870
+ ----==_mimepart_585a9bb7b50f9_cf8c3ff7ee43f9d8903f5--
1067
871
 
1068
872
  Processing by PushType::Admin::UsersController#invite as HTML
1069
- Parameters: {"id"=>"43785683-1776-4d10-8060-eda77fb08fc4"}
1070
- 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", "e23ec45c-eae1-43b1-8986-8c0bfccba091"], ["LIMIT", 1]]
1071
- 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", "43785683-1776-4d10-8060-eda77fb08fc4"], ["LIMIT", 1]]
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]]
1072
876
   (0.1ms) SAVEPOINT active_record_2
1073
877
   (0.1ms) RELEASE SAVEPOINT active_record_2
1074
878
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
1075
879
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1076
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.8ms
1077
- Sent mail to joe-10@example.com (3.2ms)
1078
- Date: Sun, 11 Dec 2016 20:38:00 +0000
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
1079
883
  From: pushtype@example.com
1080
884
  Reply-To: pushtype@example.com
1081
- To: joe-10@example.com
1082
- Message-ID: <584db92833201_10ce13fcbcb83f9c43741f@Aarons-iMac.local.mail>
885
+ To: joe-6@example.com
886
+ Message-ID: <585a9bb7bf0d8_cf8c3ff7ee43f9d89073c@Aarons-iMac.local.mail>
1083
887
  Subject: [PushType] Confirm your account
1084
888
  Mime-Version: 1.0
1085
889
  Content-Type: multipart/alternative;
1086
- boundary="--==_mimepart_584db92832e1b_10ce13fcbcb83f9c437372";
890
+ boundary="--==_mimepart_585a9bb7becc9_cf8c3ff7ee43f9d89065";
1087
891
  charset=UTF-8
1088
892
  Content-Transfer-Encoding: 7bit
1089
893
 
1090
894
 
1091
- ----==_mimepart_584db92832e1b_10ce13fcbcb83f9c437372
895
+ ----==_mimepart_585a9bb7becc9_cf8c3ff7ee43f9d89065
1092
896
  Content-Type: text/plain;
1093
897
  charset=UTF-8
1094
898
  Content-Transfer-Encoding: 7bit
@@ -1104,11 +908,11 @@ To get started, confirm your account and set your own password by
1104
908
  clicking the link below:
1105
909
 
1106
910
  Confirm my account
1107
- ( http://localhost:3000/admin/confirmation.43785683-1776-4d10-8060-eda77fb08fc4?confirmation_token=jsr_rizPuV8vsNq9HERC )
911
+ ( http://localhost:3000/admin/confirmation.04bea6ed-7d6b-4577-a79f-fef641824c70?confirmation_token=ibPamMxzJz6bGPWTx1_k )
1108
912
 
1109
913
 
1110
914
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1111
- ----==_mimepart_584db92832e1b_10ce13fcbcb83f9c437372
915
+ ----==_mimepart_585a9bb7becc9_cf8c3ff7ee43f9d89065
1112
916
  Content-Type: text/html;
1113
917
  charset=UTF-8
1114
918
  Content-Transfer-Encoding: 7bit
@@ -1154,7 +958,7 @@ body {
1154
958
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
1155
959
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1156
960
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
1157
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.43785683-1776-4d10-8060-eda77fb08fc4?confirmation_token=jsr_rizPuV8vsNq9HERC" 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>
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>
1158
962
  </td>
1159
963
  </tr>
1160
964
  </table>
@@ -1199,109 +1003,60 @@ body {
1199
1003
  </body>
1200
1004
  </html>
1201
1005
 
1202
- ----==_mimepart_584db92832e1b_10ce13fcbcb83f9c437372--
1006
+ ----==_mimepart_585a9bb7becc9_cf8c3ff7ee43f9d89065--
1203
1007
 
1204
1008
  Redirected to http://test.host/push_type/users
1205
- Completed 302 Found in 37ms (ActiveRecord: 0.5ms)
1206
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1009
+ Completed 302 Found in 39ms (ActiveRecord: 0.6ms)
1010
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1207
1011
   (0.1ms) ROLLBACK
1208
1012
   (0.1ms) BEGIN
1209
- ----------------------------------------------------------------
1210
- PushType::AuthenticatableTest::rememberable: test_0001_anonymous
1211
- ----------------------------------------------------------------
1013
+ ---------------------------------------------------------------------------
1014
+ PushType::AuthenticatableTest::database_athenticatable: test_0001_anonymous
1015
+ ---------------------------------------------------------------------------
1212
1016
   (0.0ms) SAVEPOINT active_record_1
1213
1017
   (0.0ms) RELEASE SAVEPOINT active_record_1
1214
1018
   (0.0ms) SAVEPOINT active_record_1
1215
1019
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1216
1020
   (0.1ms) ROLLBACK
1217
1021
   (0.1ms) BEGIN
1218
- --------------------------------------------------------
1219
- PushType::AuthenticationMethodsTest: test_0001_anonymous
1220
- --------------------------------------------------------
1221
-  (0.1ms) SAVEPOINT active_record_1
1222
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1223
-  (0.0ms) SAVEPOINT active_record_1
1224
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1225
-  (0.0ms) ROLLBACK
1226
-  (0.1ms) BEGIN
1227
- --------------------------------------------------------
1228
- PushType::AuthenticationMethodsTest: test_0002_anonymous
1229
- --------------------------------------------------------
1230
-  (0.0ms) SAVEPOINT active_record_1
1231
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1022
+ ---------------------------------------------------------------------------
1023
+ PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
1024
+ ---------------------------------------------------------------------------
1232
1025
   (0.1ms) SAVEPOINT active_record_1
1233
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1234
-  (0.1ms) ROLLBACK
1235
-  (0.0ms) BEGIN
1236
- ---------------------------------------------------------------
1237
- PushType::AuthenticatableTest::validatable: test_0001_anonymous
1238
- ---------------------------------------------------------------
1239
-  (0.0ms) SAVEPOINT active_record_1
1240
1026
   (0.0ms) RELEASE SAVEPOINT active_record_1
1241
1027
   (0.0ms) SAVEPOINT active_record_1
1242
1028
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1243
1029
   (0.1ms) ROLLBACK
1244
1030
   (0.1ms) BEGIN
1245
- ---------------------------------------------------------------
1246
- PushType::AuthenticatableTest::validatable: test_0002_anonymous
1247
- ---------------------------------------------------------------
1248
-  (0.0ms) SAVEPOINT active_record_1
1249
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1250
-  (0.0ms) SAVEPOINT active_record_1
1251
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1252
-  (0.1ms) ROLLBACK
1253
-  (0.1ms) BEGIN
1254
- --------------------------------------------------------------------------------------------
1255
- AuthenticatedApiControllerTest::authenticated with authorization header: test_0001_anonymous
1256
- --------------------------------------------------------------------------------------------
1257
-  (0.0ms) SAVEPOINT active_record_1
1258
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1259
-  (0.0ms) SAVEPOINT active_record_1
1260
-  (0.1ms) SAVEPOINT active_record_2
1261
- 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]]
1262
- 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]]
1263
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-11@example.com"], ["created_at", 2016-12-11 20:38:00 UTC], ["updated_at", 2016-12-11 20:38:00 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-11 20:38:00 UTC], ["confirmation_sent_at", 2016-12-11 20:38:00 UTC]]
1264
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1265
- Started GET "/api/nodes" for 127.0.0.1 at 2016-12-11 20:38:00 +0000
1266
- Processing by PushType::Api::NodesController#index as JSON
1267
- 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", "098089b9-1cc4-4c02-9628-7660e5afcd6c"], ["LIMIT", 1]]
1268
- Rendering /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder
1269
- 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]]
1270
- Rendered collection of /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/shared/_pagination.json.jbuilder [0 times] (0.0ms)
1271
- Rendered /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder (3.7ms)
1272
- Completed 200 OK in 39ms (Views: 30.0ms | ActiveRecord: 0.5ms)
1273
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1274
-  (0.2ms) ROLLBACK
1275
-  (0.1ms) BEGIN
1276
- ----------------------------------------------------------------------------------------------------
1277
- PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0001_anonymous
1278
- ----------------------------------------------------------------------------------------------------
1031
+ ------------------------------------------------------------------------------------------
1032
+ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0002_anonymous
1033
+ ------------------------------------------------------------------------------------------
1279
1034
   (0.1ms) SAVEPOINT active_record_1
1280
1035
   (0.1ms) RELEASE SAVEPOINT active_record_1
1281
-  (0.0ms) SAVEPOINT active_record_1
1036
+  (0.1ms) SAVEPOINT active_record_1
1282
1037
   (0.1ms) SAVEPOINT active_record_2
1283
- 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]]
1284
- 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]]
1285
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-12@example.com"], ["created_at", 2016-12-11 20:38:00 UTC], ["updated_at", 2016-12-11 20:38:00 UTC], ["confirmation_token", "y74uUzVxrBefa39NjGHZ"], ["confirmation_sent_at", 2016-12-11 20:38:00 UTC]]
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]]
1286
1041
   (0.1ms) RELEASE SAVEPOINT active_record_2
1287
1042
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
1288
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.7ms)
1289
- Devise::Mailer#confirmation_instructions: processed outbound mail in 36.7ms
1290
- Sent mail to joe-12@example.com (3.4ms)
1291
- Date: Sun, 11 Dec 2016 20:38:00 +0000
1043
+ 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
1292
1047
  From: pushtype@example.com
1293
1048
  Reply-To: pushtype@example.com
1294
- To: joe-12@example.com
1295
- Message-ID: <584db928520c3_10ce13fcbcb83f9c4377bc@Aarons-iMac.local.mail>
1049
+ To: joe-7@example.com
1050
+ Message-ID: <585a9bb7d38d7_cf8c3ff7ee43f9d891045@Aarons-iMac.local.mail>
1296
1051
  Subject: [PushType] Confirm your account
1297
1052
  Mime-Version: 1.0
1298
1053
  Content-Type: multipart/alternative;
1299
- boundary="--==_mimepart_584db92851cb8_10ce13fcbcb83f9c43768d";
1054
+ boundary="--==_mimepart_585a9bb7d3451_cf8c3ff7ee43f9d890998";
1300
1055
  charset=UTF-8
1301
1056
  Content-Transfer-Encoding: 7bit
1302
1057
 
1303
1058
 
1304
- ----==_mimepart_584db92851cb8_10ce13fcbcb83f9c43768d
1059
+ ----==_mimepart_585a9bb7d3451_cf8c3ff7ee43f9d890998
1305
1060
  Content-Type: text/plain;
1306
1061
  charset=UTF-8
1307
1062
  Content-Transfer-Encoding: 7bit
@@ -1317,11 +1072,11 @@ To get started, confirm your account and set your own password by
1317
1072
  clicking the link below:
1318
1073
 
1319
1074
  Confirm my account
1320
- ( http://localhost:3000/admin/confirmation.2ce92e51-0ff9-4907-922a-823feeaf2346?confirmation_token=y74uUzVxrBefa39NjGHZ )
1075
+ ( http://localhost:3000/admin/confirmation.a7839c70-b5ed-4b19-be07-6f8d18c66888?confirmation_token=WNZG_oxiYq8WxeTRa9xu )
1321
1076
 
1322
1077
 
1323
1078
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1324
- ----==_mimepart_584db92851cb8_10ce13fcbcb83f9c43768d
1079
+ ----==_mimepart_585a9bb7d3451_cf8c3ff7ee43f9d890998
1325
1080
  Content-Type: text/html;
1326
1081
  charset=UTF-8
1327
1082
  Content-Transfer-Encoding: 7bit
@@ -1367,7 +1122,7 @@ body {
1367
1122
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
1368
1123
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1369
1124
  <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;">
1370
- <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.2ce92e51-0ff9-4907-922a-823feeaf2346?confirmation_token=y74uUzVxrBefa39NjGHZ" 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>
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>
1371
1126
  </td>
1372
1127
  </tr>
1373
1128
  </table>
@@ -1412,47 +1167,48 @@ body {
1412
1167
  </body>
1413
1168
  </html>
1414
1169
 
1415
- ----==_mimepart_584db92851cb8_10ce13fcbcb83f9c43768d--
1170
+ ----==_mimepart_585a9bb7d3451_cf8c3ff7ee43f9d890998--
1416
1171
 
1417
- Processing by PushType::ConfirmationsController#show as HTML
1418
- Parameters: {"confirmation_token"=>"y74uUzVxrBefa39NjGHZ"}
1419
- 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", "y74uUzVxrBefa39NjGHZ"], ["LIMIT", 1]]
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]]
1420
1176
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
1421
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.0ms)
1422
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (7.5ms)
1423
- Completed 200 OK in 20ms (Views: 14.7ms | ActiveRecord: 0.2ms)
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)
1424
1180
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1425
1181
   (0.1ms) ROLLBACK
1426
1182
   (0.1ms) BEGIN
1427
- ----------------------------------------------------------------------------------------------------
1428
- PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0002_anonymous
1429
- ----------------------------------------------------------------------------------------------------
1183
+ ------------------------------------------------------------------------------------------
1184
+ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0003_anonymous
1185
+ ------------------------------------------------------------------------------------------
1430
1186
   (0.0ms) SAVEPOINT active_record_1
1431
1187
   (0.0ms) RELEASE SAVEPOINT active_record_1
1432
1188
   (0.0ms) SAVEPOINT active_record_1
1433
1189
   (0.1ms) SAVEPOINT active_record_2
1434
- 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]]
1435
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-13@example.com"], ["LIMIT", 1]]
1436
- 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-13@example.com"], ["created_at", 2016-12-11 20:38:00 UTC], ["updated_at", 2016-12-11 20:38:00 UTC], ["confirmation_token", "2AxUxTBzkso9N2AwgPDX"], ["confirmation_sent_at", 2016-12-11 20:38:00 UTC]]
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]]
1437
1193
   (0.1ms) RELEASE SAVEPOINT active_record_2
1438
1194
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
1439
1195
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1440
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
1441
- Sent mail to joe-13@example.com (11.9ms)
1442
- Date: Sun, 11 Dec 2016 20:38:00 +0000
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
1443
1199
  From: pushtype@example.com
1444
1200
  Reply-To: pushtype@example.com
1445
- To: joe-13@example.com
1446
- Message-ID: <584db92860955_10ce13fcbcb83f9c438034@Aarons-iMac.local.mail>
1201
+ To: joe-8@example.com
1202
+ Message-ID: <585a9bb7eaa88_cf8c3ff7ee43f9d8913ba@Aarons-iMac.local.mail>
1447
1203
  Subject: [PushType] Confirm your account
1448
1204
  Mime-Version: 1.0
1449
1205
  Content-Type: multipart/alternative;
1450
- boundary="--==_mimepart_584db928604eb_10ce13fcbcb83f9c437991";
1206
+ boundary="--==_mimepart_585a9bb7ea551_cf8c3ff7ee43f9d891254";
1451
1207
  charset=UTF-8
1452
1208
  Content-Transfer-Encoding: 7bit
1453
1209
 
1454
1210
 
1455
- ----==_mimepart_584db928604eb_10ce13fcbcb83f9c437991
1211
+ ----==_mimepart_585a9bb7ea551_cf8c3ff7ee43f9d891254
1456
1212
  Content-Type: text/plain;
1457
1213
  charset=UTF-8
1458
1214
  Content-Transfer-Encoding: 7bit
@@ -1468,11 +1224,11 @@ To get started, confirm your account and set your own password by
1468
1224
  clicking the link below:
1469
1225
 
1470
1226
  Confirm my account
1471
- ( http://localhost:3000/admin/confirmation.c80852c2-b8ef-483b-b111-8f760c168119?confirmation_token=2AxUxTBzkso9N2AwgPDX )
1227
+ ( http://localhost:3000/admin/confirmation.ddbe34c2-491c-4052-b144-621d70567fa1?confirmation_token=BKxs4qms_hNEHDHz56KJ )
1472
1228
 
1473
1229
 
1474
1230
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1475
- ----==_mimepart_584db928604eb_10ce13fcbcb83f9c437991
1231
+ ----==_mimepart_585a9bb7ea551_cf8c3ff7ee43f9d891254
1476
1232
  Content-Type: text/html;
1477
1233
  charset=UTF-8
1478
1234
  Content-Transfer-Encoding: 7bit
@@ -1518,7 +1274,7 @@ body {
1518
1274
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
1519
1275
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1520
1276
  <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;">
1521
- <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.c80852c2-b8ef-483b-b111-8f760c168119?confirmation_token=2AxUxTBzkso9N2AwgPDX" 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>
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>
1522
1278
  </td>
1523
1279
  </tr>
1524
1280
  </table>
@@ -1563,117 +1319,48 @@ body {
1563
1319
  </body>
1564
1320
  </html>
1565
1321
 
1566
- ----==_mimepart_584db928604eb_10ce13fcbcb83f9c437991--
1322
+ ----==_mimepart_585a9bb7ea551_cf8c3ff7ee43f9d891254--
1567
1323
 
1568
- Processing by PushType::ConfirmationsController#show as HTML
1569
- Parameters: {"confirmation_token"=>"2AxUxTBzkso9N2AwgPDX"}
1570
- 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", "2AxUxTBzkso9N2AwgPDX"], ["LIMIT", 1]]
1324
+ 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]]
1571
1328
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
1572
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms)
1573
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (2.0ms)
1574
- Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.2ms)
1575
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1576
-  (0.1ms) ROLLBACK
1577
-  (0.1ms) BEGIN
1578
- ------------------------------------------------------------------------------------------
1579
- PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0002_anonymous
1580
- ------------------------------------------------------------------------------------------
1581
-  (0.1ms) SAVEPOINT active_record_1
1582
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1583
-  (0.1ms) SAVEPOINT active_record_1
1584
-  (0.1ms) SAVEPOINT active_record_2
1585
- 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]]
1586
- 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]]
1587
- 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", 2016-12-11 20:38:00 UTC], ["updated_at", 2016-12-11 20:38:00 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-11 20:38:00 UTC], ["confirmation_sent_at", 2016-12-11 20:38:00 UTC]]
1588
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1589
- Processing by PushType::Admin::ProfilesController#update as HTML
1590
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
1591
- 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", "1a2bb6ff-2a28-494d-a039-c8163bfc70f6"], ["LIMIT", 1]]
1592
-  (0.1ms) SAVEPOINT active_record_2
1593
- 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-14@example.com"], ["id", "1a2bb6ff-2a28-494d-a039-c8163bfc70f6"], ["LIMIT", 1]]
1594
- 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-11 20:38:00 UTC], ["id", "1a2bb6ff-2a28-494d-a039-c8163bfc70f6"]]
1595
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1596
- Redirected to http://test.host/admin/profile/edit
1597
- Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
1598
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1599
-  (0.1ms) ROLLBACK
1600
-  (0.1ms) BEGIN
1601
- ------------------------------------------------------------------------------------------
1602
- PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0003_anonymous
1603
- ------------------------------------------------------------------------------------------
1604
-  (0.1ms) SAVEPOINT active_record_1
1605
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1606
-  (0.1ms) SAVEPOINT active_record_1
1607
-  (0.2ms) SAVEPOINT active_record_2
1608
- 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]]
1609
- 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]]
1610
- 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-11 20:38:00 UTC], ["updated_at", 2016-12-11 20:38:00 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-11 20:38:00 UTC], ["confirmation_sent_at", 2016-12-11 20:38:00 UTC]]
1611
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1612
- Processing by PushType::Admin::ProfilesController#update as HTML
1613
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
1614
- 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", "130ad27a-02a0-4b9b-b7e3-e39599b73ca1"], ["LIMIT", 1]]
1615
-  (0.1ms) SAVEPOINT active_record_2
1616
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-15@example.com"], ["id", "130ad27a-02a0-4b9b-b7e3-e39599b73ca1"], ["LIMIT", 1]]
1617
- 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-11 20:38:00 UTC], ["id", "130ad27a-02a0-4b9b-b7e3-e39599b73ca1"]]
1618
-  (0.2ms) RELEASE SAVEPOINT active_record_2
1619
- Redirected to http://test.host/admin/profile/edit
1620
- Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
1329
+ 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)
1621
1332
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1622
1333
   (0.1ms) ROLLBACK
1623
1334
   (0.1ms) BEGIN
1624
1335
  ------------------------------------------------------------------------------------------
1625
- PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
1336
+ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0001_anonymous
1626
1337
  ------------------------------------------------------------------------------------------
1627
-  (0.0ms) SAVEPOINT active_record_1
1628
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1629
-  (0.1ms) SAVEPOINT active_record_1
1630
-  (0.1ms) SAVEPOINT active_record_2
1631
- 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]]
1632
- 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]]
1633
- 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-16@example.com"], ["created_at", 2016-12-11 20:38:00 UTC], ["updated_at", 2016-12-11 20:38:00 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-11 20:38:00 UTC], ["confirmation_sent_at", 2016-12-11 20:38:00 UTC]]
1634
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1635
- Processing by PushType::Admin::ProfilesController#update as HTML
1636
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
1637
- 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", "5d41adfe-a492-4d54-9a66-ad1572c542fa"], ["LIMIT", 1]]
1638
-  (0.1ms) SAVEPOINT active_record_2
1639
- 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", "5d41adfe-a492-4d54-9a66-ad1572c542fa"], ["LIMIT", 1]]
1640
- 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-11 20:38:00 UTC], ["id", "5d41adfe-a492-4d54-9a66-ad1572c542fa"]]
1641
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1642
- Redirected to http://test.host/admin/profile/edit
1643
- Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
1644
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT $2 [["id", "5d41adfe-a492-4d54-9a66-ad1572c542fa"], ["LIMIT", 1]]
1645
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1646
-  (0.1ms) ROLLBACK
1647
-  (0.0ms) BEGIN
1648
- --------------------------------------------------------------------------------------------------------------
1649
- PushType::AuthenticatableTest::#password_required?::with existing user and dirty password: test_0001_anonymous
1650
- --------------------------------------------------------------------------------------------------------------
1651
1338
   (0.0ms) SAVEPOINT active_record_1
1652
1339
   (0.0ms) RELEASE SAVEPOINT active_record_1
1653
1340
   (0.0ms) SAVEPOINT active_record_1
1654
1341
   (0.1ms) SAVEPOINT active_record_2
1655
- 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]]
1656
- 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]]
1657
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-17@example.com"], ["created_at", 2016-12-11 20:38:00 UTC], ["updated_at", 2016-12-11 20:38:00 UTC], ["confirmation_token", "q5KG4q4rq2Gz1xn9vsgW"], ["confirmation_sent_at", 2016-12-11 20:38:00 UTC]]
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]]
1658
1345
   (0.1ms) RELEASE SAVEPOINT active_record_2
1659
1346
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
1660
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms)
1661
- Devise::Mailer#confirmation_instructions: processed outbound mail in 3.1ms
1662
- Sent mail to joe-17@example.com (3.9ms)
1663
- Date: Sun, 11 Dec 2016 20:38:00 +0000
1347
+ 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
1664
1351
  From: pushtype@example.com
1665
1352
  Reply-To: pushtype@example.com
1666
- To: joe-17@example.com
1667
- Message-ID: <584db9287ac29_10ce13fcbcb83f9c4383f5@Aarons-iMac.local.mail>
1353
+ To: joe-9@example.com
1354
+ Message-ID: <585a9bb85280_cf8c3ff7ee43f9d89167f@Aarons-iMac.local.mail>
1668
1355
  Subject: [PushType] Confirm your account
1669
1356
  Mime-Version: 1.0
1670
1357
  Content-Type: multipart/alternative;
1671
- boundary="--==_mimepart_584db9287a756_10ce13fcbcb83f9c4382e8";
1358
+ boundary="--==_mimepart_585a9bb84df2_cf8c3ff7ee43f9d8915a4";
1672
1359
  charset=UTF-8
1673
1360
  Content-Transfer-Encoding: 7bit
1674
1361
 
1675
1362
 
1676
- ----==_mimepart_584db9287a756_10ce13fcbcb83f9c4382e8
1363
+ ----==_mimepart_585a9bb84df2_cf8c3ff7ee43f9d8915a4
1677
1364
  Content-Type: text/plain;
1678
1365
  charset=UTF-8
1679
1366
  Content-Transfer-Encoding: 7bit
@@ -1689,11 +1376,11 @@ To get started, confirm your account and set your own password by
1689
1376
  clicking the link below:
1690
1377
 
1691
1378
  Confirm my account
1692
- ( http://localhost:3000/admin/confirmation.5286e1e3-8d9a-4cf7-a9dc-1bbae0a20af6?confirmation_token=q5KG4q4rq2Gz1xn9vsgW )
1379
+ ( http://localhost:3000/admin/confirmation.895cc2ab-fc0f-495c-a4c4-1f8240102c08?confirmation_token=CwB9gzbtvPj54mUXX1A2 )
1693
1380
 
1694
1381
 
1695
1382
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1696
- ----==_mimepart_584db9287a756_10ce13fcbcb83f9c4382e8
1383
+ ----==_mimepart_585a9bb84df2_cf8c3ff7ee43f9d8915a4
1697
1384
  Content-Type: text/html;
1698
1385
  charset=UTF-8
1699
1386
  Content-Transfer-Encoding: 7bit
@@ -1739,7 +1426,7 @@ body {
1739
1426
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
1740
1427
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1741
1428
  <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;">
1742
- <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.5286e1e3-8d9a-4cf7-a9dc-1bbae0a20af6?confirmation_token=q5KG4q4rq2Gz1xn9vsgW" 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>
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>
1743
1430
  </td>
1744
1431
  </tr>
1745
1432
  </table>
@@ -1784,78 +1471,107 @@ body {
1784
1471
  </body>
1785
1472
  </html>
1786
1473
 
1787
- ----==_mimepart_584db9287a756_10ce13fcbcb83f9c4382e8--
1474
+ ----==_mimepart_585a9bb84df2_cf8c3ff7ee43f9d8915a4--
1788
1475
 
1476
+ 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]]
1480
+ 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)
1789
1484
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1790
1485
   (0.1ms) ROLLBACK
1791
1486
   (0.1ms) BEGIN
1792
- -----------------------------------------------------------------------
1793
- PushType::Admin::ProfilesControllerTest::GET #edit: test_0001_anonymous
1794
- -----------------------------------------------------------------------
1487
+ -------------------------------------------------------------
1488
+ PushType::AuthenticatableTest::trackable: test_0001_anonymous
1489
+ -------------------------------------------------------------
1795
1490
   (0.0ms) SAVEPOINT active_record_1
1796
1491
   (0.0ms) RELEASE SAVEPOINT active_record_1
1797
1492
   (0.0ms) SAVEPOINT active_record_1
1798
-  (0.1ms) SAVEPOINT active_record_2
1799
- 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]]
1800
- 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]]
1801
- 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-18@example.com"], ["created_at", 2016-12-11 20:38:00 UTC], ["updated_at", 2016-12-11 20:38:00 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-11 20:38:00 UTC], ["confirmation_sent_at", 2016-12-11 20:38:00 UTC]]
1802
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1803
- Processing by PushType::Admin::ProfilesController#edit as HTML
1804
- 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", "edfbb938-65e0-4c1a-a17f-a7cd5bbe2242"], ["LIMIT", 1]]
1805
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
1806
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (5.7ms)
1807
- Completed 200 OK in 22ms (Views: 17.6ms | ActiveRecord: 0.1ms)
1808
1493
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1809
1494
   (0.1ms) ROLLBACK
1810
1495
   (0.1ms) BEGIN
1811
- -----------------------------------------------------------------------
1812
- PushType::Admin::ProfilesControllerTest::GET #edit: test_0002_anonymous
1813
- -----------------------------------------------------------------------
1496
+ -------------------------------------------------------------------------
1497
+ AuthenticatedControllerTest::unauthenticated request: test_0001_anonymous
1498
+ -------------------------------------------------------------------------
1814
1499
   (0.0ms) SAVEPOINT active_record_1
1815
1500
   (0.0ms) RELEASE SAVEPOINT active_record_1
1816
1501
   (0.0ms) SAVEPOINT active_record_1
1817
-  (0.1ms) SAVEPOINT active_record_2
1818
- 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]]
1819
- 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]]
1820
- 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-11 20:38:00 UTC], ["updated_at", 2016-12-11 20:38:00 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-12-11 20:38:00 UTC], ["confirmation_sent_at", 2016-12-11 20:38:00 UTC]]
1821
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1822
- Processing by PushType::Admin::ProfilesController#edit as HTML
1823
- 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", "7cf9c3c2-ee1e-4c69-bdfb-2b3bbfea03fe"], ["LIMIT", 1]]
1824
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
1825
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (2.4ms)
1826
- Completed 200 OK in 12ms (Views: 9.9ms | ActiveRecord: 0.1ms)
1827
-  (0.1ms) ROLLBACK TO 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
1828
1508
   (0.1ms) ROLLBACK
1829
1509
   (0.0ms) BEGIN
1510
+ ------------------------------------------------------------------------------------------------------
1511
+ PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
1512
+ ------------------------------------------------------------------------------------------------------
1513
+  (0.0ms) SAVEPOINT active_record_1
1514
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1515
+  (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
1830
1546
  ----------------------------------------------------------------------------------------
1831
1547
  PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0001_anonymous
1832
1548
  ----------------------------------------------------------------------------------------
1833
-  (0.0ms) SAVEPOINT active_record_1
1834
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1549
+  (0.1ms) SAVEPOINT active_record_1
1550
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1835
1551
   (0.0ms) SAVEPOINT active_record_1
1836
1552
   (0.1ms) SAVEPOINT active_record_2
1837
- 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]]
1838
- 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]]
1839
- 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-20@example.com"], ["created_at", 2016-12-11 20:38:00 UTC], ["updated_at", 2016-12-11 20:38:00 UTC], ["confirmation_token", "A87WXKzLHTur-LHsJy2X"], ["confirmation_sent_at", 2016-12-11 20:38:00 UTC]]
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]]
1840
1556
   (0.1ms) RELEASE SAVEPOINT active_record_2
1841
1557
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
1842
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1843
- Devise::Mailer#confirmation_instructions: processed outbound mail in 3.2ms
1844
- Sent mail to joe-20@example.com (3.9ms)
1845
- Date: Sun, 11 Dec 2016 20:38:00 +0000
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
1846
1562
  From: pushtype@example.com
1847
1563
  Reply-To: pushtype@example.com
1848
- To: joe-20@example.com
1849
- Message-ID: <584db928930ad_10ce13fcbcb83f9c4386bf@Aarons-iMac.local.mail>
1564
+ To: joe-10@example.com
1565
+ Message-ID: <585a9bb858d28_cf8c3ff7ee43f9d891955@Aarons-iMac.local.mail>
1850
1566
  Subject: [PushType] Confirm your account
1851
1567
  Mime-Version: 1.0
1852
1568
  Content-Type: multipart/alternative;
1853
- boundary="--==_mimepart_584db92892c05_10ce13fcbcb83f9c43857d";
1569
+ boundary="--==_mimepart_585a9bb858797_cf8c3ff7ee43f9d8918cb";
1854
1570
  charset=UTF-8
1855
1571
  Content-Transfer-Encoding: 7bit
1856
1572
 
1857
1573
 
1858
- ----==_mimepart_584db92892c05_10ce13fcbcb83f9c43857d
1574
+ ----==_mimepart_585a9bb858797_cf8c3ff7ee43f9d8918cb
1859
1575
  Content-Type: text/plain;
1860
1576
  charset=UTF-8
1861
1577
  Content-Transfer-Encoding: 7bit
@@ -1871,11 +1587,11 @@ To get started, confirm your account and set your own password by
1871
1587
  clicking the link below:
1872
1588
 
1873
1589
  Confirm my account
1874
- ( http://localhost:3000/admin/confirmation.d1a004ad-1e21-4271-b380-761ece6f224f?confirmation_token=A87WXKzLHTur-LHsJy2X )
1590
+ ( http://localhost:3000/admin/confirmation.d7fb6762-b4be-469b-a8a7-81ff34d61954?confirmation_token=1sssYXz2nfwFgJN6xuZE )
1875
1591
 
1876
1592
 
1877
1593
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1878
- ----==_mimepart_584db92892c05_10ce13fcbcb83f9c43857d
1594
+ ----==_mimepart_585a9bb858797_cf8c3ff7ee43f9d8918cb
1879
1595
  Content-Type: text/html;
1880
1596
  charset=UTF-8
1881
1597
  Content-Transfer-Encoding: 7bit
@@ -1921,7 +1637,7 @@ body {
1921
1637
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
1922
1638
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1923
1639
  <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;">
1924
- <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.d1a004ad-1e21-4271-b380-761ece6f224f?confirmation_token=A87WXKzLHTur-LHsJy2X" 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>
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>
1925
1641
  </td>
1926
1642
  </tr>
1927
1643
  </table>
@@ -1966,23 +1682,23 @@ body {
1966
1682
  </body>
1967
1683
  </html>
1968
1684
 
1969
- ----==_mimepart_584db92892c05_10ce13fcbcb83f9c43857d--
1685
+ ----==_mimepart_585a9bb858797_cf8c3ff7ee43f9d8918cb--
1970
1686
 
1971
1687
  Processing by PushType::ConfirmationsController#update as HTML
1972
- Parameters: {"user"=>{"confirmation_token"=>"A87WXKzLHTur-LHsJy2X", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1973
- 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", "A87WXKzLHTur-LHsJy2X"], ["LIMIT", 1]]
1974
- 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", "d1a004ad-1e21-4271-b380-761ece6f224f"], ["LIMIT", 1]]
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]]
1975
1691
   (0.1ms) SAVEPOINT active_record_2
1976
- 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$2hGzKObcNep7g1hy4jwNcu2jtGb3EamHw6MKe36vGDJj8mjzPavNO"], ["confirmed_at", 2016-12-11 20:38:00 UTC], ["updated_at", 2016-12-11 20:38:00 UTC], ["id", "d1a004ad-1e21-4271-b380-761ece6f224f"]]
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"]]
1977
1693
   (0.1ms) RELEASE SAVEPOINT active_record_2
1978
1694
   (0.1ms) SAVEPOINT active_record_2
1979
- SQL (0.2ms) UPDATE "push_type_users" SET "updated_at" = $1, "sign_in_count" = $2, "current_sign_in_at" = $3, "last_sign_in_at" = $4, "current_sign_in_ip" = $5, "last_sign_in_ip" = $6 WHERE "push_type_users"."id" = $7 [["updated_at", 2016-12-11 20:38:00 UTC], ["sign_in_count", 1], ["current_sign_in_at", 2016-12-11 20:38:00 UTC], ["last_sign_in_at", 2016-12-11 20:38:00 UTC], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "d1a004ad-1e21-4271-b380-761ece6f224f"]]
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"]]
1980
1696
   (0.1ms) RELEASE SAVEPOINT active_record_2
1981
1697
  Redirected to http://test.host/admin/
1982
- Completed 302 Found in 8ms (ActiveRecord: 1.1ms)
1983
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT $2 [["id", "d1a004ad-1e21-4271-b380-761ece6f224f"], ["LIMIT", 1]]
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]]
1984
1700
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1985
-  (0.2ms) ROLLBACK
1701
+  (0.1ms) ROLLBACK
1986
1702
   (0.1ms) BEGIN
1987
1703
  ----------------------------------------------------------------------------------------
1988
1704
  PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0002_anonymous
@@ -1991,28 +1707,28 @@ PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0002_a
1991
1707
   (0.0ms) RELEASE SAVEPOINT active_record_1
1992
1708
   (0.0ms) SAVEPOINT active_record_1
1993
1709
   (0.1ms) SAVEPOINT active_record_2
1994
- 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]]
1995
- 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]]
1996
- 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", 2016-12-11 20:38:00 UTC], ["updated_at", 2016-12-11 20:38:00 UTC], ["confirmation_token", "rnA31jCaU9rxaKzovPDF"], ["confirmation_sent_at", 2016-12-11 20:38:00 UTC]]
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]]
1997
1713
   (0.1ms) RELEASE SAVEPOINT active_record_2
1998
1714
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
1999
1715
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
2000
- Devise::Mailer#confirmation_instructions: processed outbound mail in 3.0ms
2001
- Sent mail to joe-21@example.com (3.3ms)
2002
- Date: Sun, 11 Dec 2016 20:38:00 +0000
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
2003
1719
  From: pushtype@example.com
2004
1720
  Reply-To: pushtype@example.com
2005
- To: joe-21@example.com
2006
- Message-ID: <584db928a0a4f_10ce13fcbcb83f9c438925@Aarons-iMac.local.mail>
1721
+ To: joe-11@example.com
1722
+ Message-ID: <585a9bb86c2df_cf8c3ff7ee43f9d8922a7@Aarons-iMac.local.mail>
2007
1723
  Subject: [PushType] Confirm your account
2008
1724
  Mime-Version: 1.0
2009
1725
  Content-Type: multipart/alternative;
2010
- boundary="--==_mimepart_584db928a061e_10ce13fcbcb83f9c438825";
1726
+ boundary="--==_mimepart_585a9bb86be7b_cf8c3ff7ee43f9d89214f";
2011
1727
  charset=UTF-8
2012
1728
  Content-Transfer-Encoding: 7bit
2013
1729
 
2014
1730
 
2015
- ----==_mimepart_584db928a061e_10ce13fcbcb83f9c438825
1731
+ ----==_mimepart_585a9bb86be7b_cf8c3ff7ee43f9d89214f
2016
1732
  Content-Type: text/plain;
2017
1733
  charset=UTF-8
2018
1734
  Content-Transfer-Encoding: 7bit
@@ -2028,11 +1744,11 @@ To get started, confirm your account and set your own password by
2028
1744
  clicking the link below:
2029
1745
 
2030
1746
  Confirm my account
2031
- ( http://localhost:3000/admin/confirmation.75fd5096-0f83-4c14-ac66-fd431bcaa5de?confirmation_token=rnA31jCaU9rxaKzovPDF )
1747
+ ( http://localhost:3000/admin/confirmation.30337260-8f7a-467e-8563-476d89cea313?confirmation_token=yj3DCM5SmLd3NZxPvDvm )
2032
1748
 
2033
1749
 
2034
1750
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2035
- ----==_mimepart_584db928a061e_10ce13fcbcb83f9c438825
1751
+ ----==_mimepart_585a9bb86be7b_cf8c3ff7ee43f9d89214f
2036
1752
  Content-Type: text/html;
2037
1753
  charset=UTF-8
2038
1754
  Content-Transfer-Encoding: 7bit
@@ -2078,7 +1794,7 @@ body {
2078
1794
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
2079
1795
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2080
1796
  <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;">
2081
- <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.75fd5096-0f83-4c14-ac66-fd431bcaa5de?confirmation_token=rnA31jCaU9rxaKzovPDF" 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>
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>
2082
1798
  </td>
2083
1799
  </tr>
2084
1800
  </table>
@@ -2123,23 +1839,23 @@ body {
2123
1839
  </body>
2124
1840
  </html>
2125
1841
 
2126
- ----==_mimepart_584db928a061e_10ce13fcbcb83f9c438825--
1842
+ ----==_mimepart_585a9bb86be7b_cf8c3ff7ee43f9d89214f--
2127
1843
 
2128
1844
  Processing by PushType::ConfirmationsController#update as HTML
2129
- Parameters: {"user"=>{"confirmation_token"=>"rnA31jCaU9rxaKzovPDF", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2130
- 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", "rnA31jCaU9rxaKzovPDF"], ["LIMIT", 1]]
2131
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-21@example.com"], ["id", "75fd5096-0f83-4c14-ac66-fd431bcaa5de"], ["LIMIT", 1]]
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]]
2132
1848
   (0.1ms) SAVEPOINT active_record_2
2133
- 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$JyhRhe.IUkylaxje334PP.x.Mz7KxNW31H2wp7xcW0pXjvD/QC9py"], ["confirmed_at", 2016-12-11 20:38:00 UTC], ["updated_at", 2016-12-11 20:38:00 UTC], ["id", "75fd5096-0f83-4c14-ac66-fd431bcaa5de"]]
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"]]
2134
1850
   (0.1ms) RELEASE SAVEPOINT active_record_2
2135
1851
   (0.1ms) SAVEPOINT active_record_2
2136
- SQL (0.2ms) UPDATE "push_type_users" SET "updated_at" = $1, "sign_in_count" = $2, "current_sign_in_at" = $3, "last_sign_in_at" = $4, "current_sign_in_ip" = $5, "last_sign_in_ip" = $6 WHERE "push_type_users"."id" = $7 [["updated_at", 2016-12-11 20:38:00 UTC], ["sign_in_count", 1], ["current_sign_in_at", 2016-12-11 20:38:00 UTC], ["last_sign_in_at", 2016-12-11 20:38:00 UTC], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "75fd5096-0f83-4c14-ac66-fd431bcaa5de"]]
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"]]
2137
1853
   (0.1ms) RELEASE SAVEPOINT active_record_2
2138
1854
  Redirected to http://test.host/admin/
2139
- Completed 302 Found in 7ms (ActiveRecord: 1.1ms)
1855
+ Completed 302 Found in 8ms (ActiveRecord: 1.3ms)
2140
1856
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2141
1857
   (0.1ms) ROLLBACK
2142
-  (0.0ms) BEGIN
1858
+  (0.1ms) BEGIN
2143
1859
  -----------------------------------------------------------
2144
1860
  PushType::ApiAuthenticationMethodsTest: test_0002_anonymous
2145
1861
  -----------------------------------------------------------
@@ -2150,13 +1866,13 @@ PushType::ApiAuthenticationMethodsTest: test_0002_anonymous
2150
1866
   (0.0ms) ROLLBACK
2151
1867
   (0.1ms) BEGIN
2152
1868
  -----------------------------------------------------------
2153
- PushType::ApiAuthenticationMethodsTest: test_0001_anonymous
1869
+ PushType::ApiAuthenticationMethodsTest: test_0004_anonymous
2154
1870
  -----------------------------------------------------------
1871
+  (0.1ms) SAVEPOINT active_record_1
1872
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2155
1873
   (0.0ms) SAVEPOINT active_record_1
2156
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2157
-  (0.0ms) SAVEPOINT active_record_1
2158
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2159
-  (0.0ms) ROLLBACK
1874
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1875
+  (0.1ms) ROLLBACK
2160
1876
   (0.1ms) BEGIN
2161
1877
  -----------------------------------------------------------
2162
1878
  PushType::ApiAuthenticationMethodsTest: test_0003_anonymous
@@ -2168,56 +1884,84 @@ PushType::ApiAuthenticationMethodsTest: test_0003_anonymous
2168
1884
   (0.0ms) ROLLBACK
2169
1885
   (0.1ms) BEGIN
2170
1886
  -----------------------------------------------------------
2171
- PushType::ApiAuthenticationMethodsTest: test_0004_anonymous
1887
+ PushType::ApiAuthenticationMethodsTest: test_0001_anonymous
2172
1888
  -----------------------------------------------------------
1889
+  (0.1ms) SAVEPOINT active_record_1
1890
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2173
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
2174
1899
   (0.1ms) RELEASE SAVEPOINT active_record_1
2175
1900
   (0.1ms) SAVEPOINT active_record_1
2176
1901
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2177
1902
   (0.1ms) ROLLBACK
2178
-  (0.0ms) BEGIN
2179
- ----------------------------------------------------------------------------
2180
- AuthenticatedApiControllerTest::unauthenticated request: test_0001_anonymous
2181
- ----------------------------------------------------------------------------
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
+ -----------------------------------------------------------------------------------
2182
1916
   (0.0ms) SAVEPOINT active_record_1
2183
1917
   (0.0ms) RELEASE SAVEPOINT active_record_1
2184
1918
   (0.0ms) SAVEPOINT active_record_1
2185
- Started GET "/api/nodes" for 127.0.0.1 at 2016-12-11 20:38:00 +0000
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
2186
1925
  Processing by PushType::Api::NodesController#index as JSON
2187
- Filter chain halted as :authenticate_user! rendered or redirected
2188
- Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
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)
2189
1933
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2190
1934
   (0.1ms) ROLLBACK
2191
1935
   (0.1ms) BEGIN
2192
- ------------------------------------------------------------------------------------------
2193
- PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0003_anonymous
2194
- ------------------------------------------------------------------------------------------
1936
+ --------------------------------------------------------------------------------------------------------------
1937
+ PushType::AuthenticatableTest::#password_required?::with existing user and clean password: test_0001_anonymous
1938
+ --------------------------------------------------------------------------------------------------------------
2195
1939
   (0.1ms) SAVEPOINT active_record_1
2196
1940
   (0.1ms) RELEASE SAVEPOINT active_record_1
2197
-  (0.0ms) SAVEPOINT active_record_1
1941
+  (0.1ms) SAVEPOINT active_record_1
2198
1942
   (0.1ms) SAVEPOINT active_record_2
2199
- 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]]
2200
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-22@example.com"], ["LIMIT", 1]]
2201
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-22@example.com"], ["created_at", 2016-12-11 20:38:00 UTC], ["updated_at", 2016-12-11 20:38:00 UTC], ["confirmation_token", "8zMgN5Ukp9ZqqJxbHp-s"], ["confirmation_sent_at", 2016-12-11 20:38:00 UTC]]
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]]
2202
1946
   (0.1ms) RELEASE SAVEPOINT active_record_2
2203
1947
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
2204
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.8ms)
2205
- Devise::Mailer#confirmation_instructions: processed outbound mail in 39.2ms
2206
- Sent mail to joe-22@example.com (3.5ms)
2207
- Date: Sun, 11 Dec 2016 20:38:00 +0000
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
2208
1952
  From: pushtype@example.com
2209
1953
  Reply-To: pushtype@example.com
2210
- To: joe-22@example.com
2211
- Message-ID: <584db928b8ad9_10ce13fcbcb83f9c439292@Aarons-iMac.local.mail>
1954
+ To: joe-13@example.com
1955
+ Message-ID: <585a9bb8984ba_cf8c3ff7ee43f9d8925c9@Aarons-iMac.local.mail>
2212
1956
  Subject: [PushType] Confirm your account
2213
1957
  Mime-Version: 1.0
2214
1958
  Content-Type: multipart/alternative;
2215
- boundary="--==_mimepart_584db928b8693_10ce13fcbcb83f9c4391e5";
1959
+ boundary="--==_mimepart_585a9bb89801c_cf8c3ff7ee43f9d89248c";
2216
1960
  charset=UTF-8
2217
1961
  Content-Transfer-Encoding: 7bit
2218
1962
 
2219
1963
 
2220
- ----==_mimepart_584db928b8693_10ce13fcbcb83f9c4391e5
1964
+ ----==_mimepart_585a9bb89801c_cf8c3ff7ee43f9d89248c
2221
1965
  Content-Type: text/plain;
2222
1966
  charset=UTF-8
2223
1967
  Content-Transfer-Encoding: 7bit
@@ -2233,11 +1977,11 @@ To get started, confirm your account and set your own password by
2233
1977
  clicking the link below:
2234
1978
 
2235
1979
  Confirm my account
2236
- ( http://localhost:3000/admin/confirmation.f2e8debf-b774-4542-be59-da566184fdcb?confirmation_token=8zMgN5Ukp9ZqqJxbHp-s )
1980
+ ( http://localhost:3000/admin/confirmation.df8b8fe1-2513-40d7-a4fb-f3ec4e991cda?confirmation_token=qs6x91y-gED2Vn9zZzmU )
2237
1981
 
2238
1982
 
2239
1983
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2240
- ----==_mimepart_584db928b8693_10ce13fcbcb83f9c4391e5
1984
+ ----==_mimepart_585a9bb89801c_cf8c3ff7ee43f9d89248c
2241
1985
  Content-Type: text/html;
2242
1986
  charset=UTF-8
2243
1987
  Content-Transfer-Encoding: 7bit
@@ -2283,7 +2027,7 @@ body {
2283
2027
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
2284
2028
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2285
2029
  <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;">
2286
- <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.f2e8debf-b774-4542-be59-da566184fdcb?confirmation_token=8zMgN5Ukp9ZqqJxbHp-s" 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>
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>
2287
2031
  </td>
2288
2032
  </tr>
2289
2033
  </table>
@@ -2328,48 +2072,246 @@ body {
2328
2072
  </body>
2329
2073
  </html>
2330
2074
 
2331
- ----==_mimepart_584db928b8693_10ce13fcbcb83f9c4391e5--
2075
+ ----==_mimepart_585a9bb89801c_cf8c3ff7ee43f9d89248c--
2332
2076
 
2333
- Processing by PushType::ConfirmationsController#update as HTML
2334
- Parameters: {"user"=>{"confirmation_token"=>"8zMgN5Ukp9ZqqJxbHp-s", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2335
- 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", "8zMgN5Ukp9ZqqJxbHp-s"], ["LIMIT", 1]]
2336
- 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-22@example.com"], ["id", "f2e8debf-b774-4542-be59-da566184fdcb"], ["LIMIT", 1]]
2337
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
2338
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.0ms)
2339
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (8.0ms)
2340
- Completed 200 OK in 22ms (Views: 18.9ms | ActiveRecord: 0.5ms)
2077
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2078
+  (0.1ms) ROLLBACK
2079
+  (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)
2341
2213
   (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2342
2214
   (0.1ms) ROLLBACK
2343
2215
   (0.1ms) BEGIN
2344
2216
  ------------------------------------------------------------------------------------------
2345
- PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0001_anonymous
2217
+ PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
2346
2218
  ------------------------------------------------------------------------------------------
2347
2219
   (0.1ms) SAVEPOINT active_record_1
2348
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2220
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2349
2221
   (0.0ms) SAVEPOINT active_record_1
2350
2222
   (0.1ms) SAVEPOINT active_record_2
2351
- 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]]
2352
- 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]]
2353
- 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", 2016-12-11 20:38:00 UTC], ["updated_at", 2016-12-11 20:38:00 UTC], ["confirmation_token", "mbHMRv4McpHzXe5iAgG4"], ["confirmation_sent_at", 2016-12-11 20:38:00 UTC]]
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
2291
+  (0.1ms) SAVEPOINT active_record_1
2292
+  (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]]
2354
2296
   (0.1ms) RELEASE SAVEPOINT active_record_2
2355
2297
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
2356
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms)
2357
- Devise::Mailer#confirmation_instructions: processed outbound mail in 3.1ms
2358
- Sent mail to joe-23@example.com (3.8ms)
2359
- Date: Sun, 11 Dec 2016 20:38:00 +0000
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
2360
2302
  From: pushtype@example.com
2361
2303
  Reply-To: pushtype@example.com
2362
- To: joe-23@example.com
2363
- Message-ID: <584db928ca2a1_10ce13fcbcb83f9c43954d@Aarons-iMac.local.mail>
2304
+ To: joe-21@example.com
2305
+ Message-ID: <585a9bb910a34_cf8c3ff7ee43f9d892898@Aarons-iMac.local.mail>
2364
2306
  Subject: [PushType] Confirm your account
2365
2307
  Mime-Version: 1.0
2366
2308
  Content-Type: multipart/alternative;
2367
- boundary="--==_mimepart_584db928c9de0_10ce13fcbcb83f9c4394c0";
2309
+ boundary="--==_mimepart_585a9bb910563_cf8c3ff7ee43f9d89274a";
2368
2310
  charset=UTF-8
2369
2311
  Content-Transfer-Encoding: 7bit
2370
2312
 
2371
2313
 
2372
- ----==_mimepart_584db928c9de0_10ce13fcbcb83f9c4394c0
2314
+ ----==_mimepart_585a9bb910563_cf8c3ff7ee43f9d89274a
2373
2315
  Content-Type: text/plain;
2374
2316
  charset=UTF-8
2375
2317
  Content-Transfer-Encoding: 7bit
@@ -2385,11 +2327,11 @@ To get started, confirm your account and set your own password by
2385
2327
  clicking the link below:
2386
2328
 
2387
2329
  Confirm my account
2388
- ( http://localhost:3000/admin/confirmation.ad0df63f-1669-4e09-aef6-ae1f71cd5d8a?confirmation_token=mbHMRv4McpHzXe5iAgG4 )
2330
+ ( http://localhost:3000/admin/confirmation.8e363bfa-a298-42ad-a021-c1e1326fd8e9?confirmation_token=Vsvf5jy6TxnGgZL7aETx )
2389
2331
 
2390
2332
 
2391
2333
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2392
- ----==_mimepart_584db928c9de0_10ce13fcbcb83f9c4394c0
2334
+ ----==_mimepart_585a9bb910563_cf8c3ff7ee43f9d89274a
2393
2335
  Content-Type: text/html;
2394
2336
  charset=UTF-8
2395
2337
  Content-Transfer-Encoding: 7bit
@@ -2435,7 +2377,7 @@ body {
2435
2377
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
2436
2378
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2437
2379
  <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;">
2438
- <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.ad0df63f-1669-4e09-aef6-ae1f71cd5d8a?confirmation_token=mbHMRv4McpHzXe5iAgG4" 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>
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>
2439
2381
  </td>
2440
2382
  </tr>
2441
2383
  </table>
@@ -2480,48 +2422,47 @@ body {
2480
2422
  </body>
2481
2423
  </html>
2482
2424
 
2483
- ----==_mimepart_584db928c9de0_10ce13fcbcb83f9c4394c0--
2425
+ ----==_mimepart_585a9bb910563_cf8c3ff7ee43f9d89274a--
2484
2426
 
2485
- Processing by PushType::ConfirmationsController#update as HTML
2486
- Parameters: {"user"=>{"confirmation_token"=>"mbHMRv4McpHzXe5iAgG4", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2487
- 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", "mbHMRv4McpHzXe5iAgG4"], ["LIMIT", 1]]
2488
- 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-23@example.com"], ["id", "ad0df63f-1669-4e09-aef6-ae1f71cd5d8a"], ["LIMIT", 1]]
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]]
2489
2430
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
2490
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms)
2491
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (2.1ms)
2492
- Completed 200 OK in 10ms (Views: 6.5ms | ActiveRecord: 0.5ms)
2493
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
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
2494
2435
   (0.1ms) ROLLBACK
2495
2436
   (0.1ms) BEGIN
2496
- ------------------------------------------------------------------------------------------
2497
- PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0002_anonymous
2498
- ------------------------------------------------------------------------------------------
2437
+ ----------------------------------------------------------------------------------------------------
2438
+ PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0002_anonymous
2439
+ ----------------------------------------------------------------------------------------------------
2499
2440
   (0.1ms) SAVEPOINT active_record_1
2500
2441
   (0.1ms) RELEASE SAVEPOINT active_record_1
2501
-  (0.0ms) SAVEPOINT active_record_1
2442
+  (0.1ms) SAVEPOINT active_record_1
2502
2443
   (0.1ms) SAVEPOINT active_record_2
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", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-24@example.com"], ["created_at", 2016-12-11 20:38:00 UTC], ["updated_at", 2016-12-11 20:38:00 UTC], ["confirmation_token", "_yN826sbq562W98W7Qzr"], ["confirmation_sent_at", 2016-12-11 20:38:00 UTC]]
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]]
2506
2447
   (0.1ms) RELEASE SAVEPOINT active_record_2
2507
2448
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
2508
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms)
2509
- Devise::Mailer#confirmation_instructions: processed outbound mail in 3.4ms
2510
- Sent mail to joe-24@example.com (3.8ms)
2511
- Date: Sun, 11 Dec 2016 20:38:00 +0000
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
2512
2453
  From: pushtype@example.com
2513
2454
  Reply-To: pushtype@example.com
2514
- To: joe-24@example.com
2515
- Message-ID: <584db928d91f6_10ce13fcbcb83f9c439838@Aarons-iMac.local.mail>
2455
+ To: joe-22@example.com
2456
+ Message-ID: <585a9bb9280b1_cf8c3ff7ee43f9d8931e6@Aarons-iMac.local.mail>
2516
2457
  Subject: [PushType] Confirm your account
2517
2458
  Mime-Version: 1.0
2518
2459
  Content-Type: multipart/alternative;
2519
- boundary="--==_mimepart_584db928d8d35_10ce13fcbcb83f9c4397b2";
2460
+ boundary="--==_mimepart_585a9bb927bd9_cf8c3ff7ee43f9d8930b5";
2520
2461
  charset=UTF-8
2521
2462
  Content-Transfer-Encoding: 7bit
2522
2463
 
2523
2464
 
2524
- ----==_mimepart_584db928d8d35_10ce13fcbcb83f9c4397b2
2465
+ ----==_mimepart_585a9bb927bd9_cf8c3ff7ee43f9d8930b5
2525
2466
  Content-Type: text/plain;
2526
2467
  charset=UTF-8
2527
2468
  Content-Transfer-Encoding: 7bit
@@ -2537,11 +2478,11 @@ To get started, confirm your account and set your own password by
2537
2478
  clicking the link below:
2538
2479
 
2539
2480
  Confirm my account
2540
- ( http://localhost:3000/admin/confirmation.c3805f67-a276-41cc-8cd4-d51aa588539a?confirmation_token=_yN826sbq562W98W7Qzr )
2481
+ ( http://localhost:3000/admin/confirmation.fa3dcf8d-2d0a-484d-98e7-18685ac292fb?confirmation_token=NBGvY_mvJG-yxXq54Xxn )
2541
2482
 
2542
2483
 
2543
2484
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2544
- ----==_mimepart_584db928d8d35_10ce13fcbcb83f9c4397b2
2485
+ ----==_mimepart_585a9bb927bd9_cf8c3ff7ee43f9d8930b5
2545
2486
  Content-Type: text/html;
2546
2487
  charset=UTF-8
2547
2488
  Content-Transfer-Encoding: 7bit
@@ -2587,7 +2528,7 @@ body {
2587
2528
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
2588
2529
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2589
2530
  <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;">
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;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.c3805f67-a276-41cc-8cd4-d51aa588539a?confirmation_token=_yN826sbq562W98W7Qzr" 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>
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>
2591
2532
  </td>
2592
2533
  </tr>
2593
2534
  </table>
@@ -2632,48 +2573,125 @@ body {
2632
2573
  </body>
2633
2574
  </html>
2634
2575
 
2635
- ----==_mimepart_584db928d8d35_10ce13fcbcb83f9c4397b2--
2576
+ ----==_mimepart_585a9bb927bd9_cf8c3ff7ee43f9d8930b5--
2636
2577
 
2637
- Processing by PushType::ConfirmationsController#update as HTML
2638
- Parameters: {"user"=>{"confirmation_token"=>"_yN826sbq562W98W7Qzr", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2639
- 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", "_yN826sbq562W98W7Qzr"], ["LIMIT", 1]]
2640
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-24@example.com"], ["id", "c3805f67-a276-41cc-8cd4-d51aa588539a"], ["LIMIT", 1]]
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]]
2641
2581
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
2642
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms)
2643
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.9ms)
2644
- Completed 200 OK in 10ms (Views: 6.8ms | ActiveRecord: 0.5ms)
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)
2645
2585
   (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2646
2586
   (0.1ms) ROLLBACK
2647
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)
2607
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2608
+  (0.1ms) ROLLBACK
2609
+  (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
2616
+  (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]]
2620
+  (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
+  (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]]
2639
+  (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
2648
2666
  --------------------------------------------------------------------------------------------------------------
2649
- PushType::AuthenticatableTest::#password_required?::with existing user and clean password: test_0001_anonymous
2667
+ PushType::AuthenticatableTest::#password_required?::with existing user and dirty password: test_0001_anonymous
2650
2668
  --------------------------------------------------------------------------------------------------------------
2651
2669
   (0.1ms) SAVEPOINT active_record_1
2652
2670
   (0.1ms) RELEASE SAVEPOINT active_record_1
2653
-  (0.1ms) SAVEPOINT active_record_1
2671
+  (0.0ms) SAVEPOINT active_record_1
2654
2672
   (0.1ms) SAVEPOINT active_record_2
2655
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]]
2656
- 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]]
2657
- 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-11 20:38:00 UTC], ["updated_at", 2016-12-11 20:38:00 UTC], ["confirmation_token", "dyseutvXhFjogFNogjXx"], ["confirmation_sent_at", 2016-12-11 20:38:00 UTC]]
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]]
2658
2676
   (0.1ms) RELEASE SAVEPOINT active_record_2
2659
2677
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
2660
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms)
2661
- Devise::Mailer#confirmation_instructions: processed outbound mail in 3.1ms
2662
- Sent mail to joe-25@example.com (3.7ms)
2663
- Date: Sun, 11 Dec 2016 20:38:00 +0000
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
2664
2682
  From: pushtype@example.com
2665
2683
  Reply-To: pushtype@example.com
2666
2684
  To: joe-25@example.com
2667
- Message-ID: <584db928e7458_10ce13fcbcb83f9c440158@Aarons-iMac.local.mail>
2685
+ Message-ID: <585a9bb952e4e_cf8c3ff7ee43f9d89343b@Aarons-iMac.local.mail>
2668
2686
  Subject: [PushType] Confirm your account
2669
2687
  Mime-Version: 1.0
2670
2688
  Content-Type: multipart/alternative;
2671
- boundary="--==_mimepart_584db928e6fb9_10ce13fcbcb83f9c440068";
2689
+ boundary="--==_mimepart_585a9bb9529d9_cf8c3ff7ee43f9d893392";
2672
2690
  charset=UTF-8
2673
2691
  Content-Transfer-Encoding: 7bit
2674
2692
 
2675
2693
 
2676
- ----==_mimepart_584db928e6fb9_10ce13fcbcb83f9c440068
2694
+ ----==_mimepart_585a9bb9529d9_cf8c3ff7ee43f9d893392
2677
2695
  Content-Type: text/plain;
2678
2696
  charset=UTF-8
2679
2697
  Content-Transfer-Encoding: 7bit
@@ -2689,11 +2707,11 @@ To get started, confirm your account and set your own password by
2689
2707
  clicking the link below:
2690
2708
 
2691
2709
  Confirm my account
2692
- ( http://localhost:3000/admin/confirmation.659323f4-f9c5-4786-8530-f58dacfa5686?confirmation_token=dyseutvXhFjogFNogjXx )
2710
+ ( http://localhost:3000/admin/confirmation.a4e96380-b7de-4704-a41b-26043098b804?confirmation_token=XTCu6zqoELxy-gAGYokX )
2693
2711
 
2694
2712
 
2695
2713
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2696
- ----==_mimepart_584db928e6fb9_10ce13fcbcb83f9c440068
2714
+ ----==_mimepart_585a9bb9529d9_cf8c3ff7ee43f9d893392
2697
2715
  Content-Type: text/html;
2698
2716
  charset=UTF-8
2699
2717
  Content-Transfer-Encoding: 7bit
@@ -2739,7 +2757,7 @@ body {
2739
2757
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
2740
2758
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2741
2759
  <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;">
2742
- <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.659323f4-f9c5-4786-8530-f58dacfa5686?confirmation_token=dyseutvXhFjogFNogjXx" 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>
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>
2743
2761
  </td>
2744
2762
  </tr>
2745
2763
  </table>
@@ -2784,25 +2802,7 @@ body {
2784
2802
  </body>
2785
2803
  </html>
2786
2804
 
2787
- ----==_mimepart_584db928e6fb9_10ce13fcbcb83f9c440068--
2805
+ ----==_mimepart_585a9bb9529d9_cf8c3ff7ee43f9d893392--
2788
2806
 
2789
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2790
-  (0.1ms) ROLLBACK
2791
-  (0.1ms) BEGIN
2792
- ---------------------------------------------------------------
2793
- PushType::AuthenticatableTest::confirmable: test_0001_anonymous
2794
- ---------------------------------------------------------------
2795
-  (0.0ms) SAVEPOINT active_record_1
2796
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2797
-  (0.0ms) SAVEPOINT active_record_1
2798
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2799
-  (0.1ms) ROLLBACK
2800
-  (0.1ms) BEGIN
2801
- --------------------------------------------------------------------------------------
2802
- PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
2803
- --------------------------------------------------------------------------------------
2804
-  (0.0ms) SAVEPOINT active_record_1
2805
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2806
-  (0.1ms) SAVEPOINT active_record_1
2807
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2807
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2808
2808
   (0.1ms) ROLLBACK