push_type_auth 0.2.0.beta2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/concerns/push_type/authentication_methods.rb +10 -0
- data/test/dummy/config/initializers/push_type.rb +26 -8
- data/test/dummy/config/secrets.yml +2 -2
- data/test/dummy/db/migrate/{20150208150346_create_push_type_users.push_type.rb → 20150209204412_create_push_type_users.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150208150347_create_push_type_nodes.push_type.rb → 20150209204413_create_push_type_nodes.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150208150348_create_push_type_node_hierarchies.push_type.rb → 20150209204414_create_push_type_node_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150208150349_create_push_type_assets.push_type.rb → 20150209204415_create_push_type_assets.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150208150350_devise_extend_push_type_users.push_type_auth.rb → 20150209204416_devise_extend_push_type_users.push_type_auth.rb} +0 -0
- data/test/dummy/db/schema.rb +1 -1
- data/test/dummy/log/test.log +537 -533
- data/test/dummy/tmp/cache/assets/test/sass/{deb1394852fa60b8a5f9d5ea21f0c1f44e511075 → 0bf981301b6f8cfa0a13d38a3554eafaa08d4bc1}/foundation.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/{b51672fface3a4ec5947e1db3f21f77baa80aed8 → 9df51eb4a9ff930ccfaadb724cc88e9267641d13}/_accordion.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/{b51672fface3a4ec5947e1db3f21f77baa80aed8 → 9df51eb4a9ff930ccfaadb724cc88e9267641d13}/_alert-boxes.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/{b51672fface3a4ec5947e1db3f21f77baa80aed8 → 9df51eb4a9ff930ccfaadb724cc88e9267641d13}/_block-grid.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/{b51672fface3a4ec5947e1db3f21f77baa80aed8 → 9df51eb4a9ff930ccfaadb724cc88e9267641d13}/_breadcrumbs.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/{b51672fface3a4ec5947e1db3f21f77baa80aed8 → 9df51eb4a9ff930ccfaadb724cc88e9267641d13}/_button-groups.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/{b51672fface3a4ec5947e1db3f21f77baa80aed8 → 9df51eb4a9ff930ccfaadb724cc88e9267641d13}/_buttons.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/{b51672fface3a4ec5947e1db3f21f77baa80aed8 → 9df51eb4a9ff930ccfaadb724cc88e9267641d13}/_clearing.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/{b51672fface3a4ec5947e1db3f21f77baa80aed8 → 9df51eb4a9ff930ccfaadb724cc88e9267641d13}/_dropdown-buttons.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_dropdown.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/{b51672fface3a4ec5947e1db3f21f77baa80aed8 → 9df51eb4a9ff930ccfaadb724cc88e9267641d13}/_flex-video.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_forms.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/{b51672fface3a4ec5947e1db3f21f77baa80aed8 → 9df51eb4a9ff930ccfaadb724cc88e9267641d13}/_global.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/{b51672fface3a4ec5947e1db3f21f77baa80aed8 → 9df51eb4a9ff930ccfaadb724cc88e9267641d13}/_grid.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_icon-bar.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/{b51672fface3a4ec5947e1db3f21f77baa80aed8 → 9df51eb4a9ff930ccfaadb724cc88e9267641d13}/_inline-lists.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/{b51672fface3a4ec5947e1db3f21f77baa80aed8 → 9df51eb4a9ff930ccfaadb724cc88e9267641d13}/_joyride.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/{b51672fface3a4ec5947e1db3f21f77baa80aed8 → 9df51eb4a9ff930ccfaadb724cc88e9267641d13}/_keystrokes.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/{b51672fface3a4ec5947e1db3f21f77baa80aed8 → 9df51eb4a9ff930ccfaadb724cc88e9267641d13}/_labels.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/{b51672fface3a4ec5947e1db3f21f77baa80aed8 → 9df51eb4a9ff930ccfaadb724cc88e9267641d13}/_magellan.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/{b51672fface3a4ec5947e1db3f21f77baa80aed8 → 9df51eb4a9ff930ccfaadb724cc88e9267641d13}/_offcanvas.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/{b51672fface3a4ec5947e1db3f21f77baa80aed8 → 9df51eb4a9ff930ccfaadb724cc88e9267641d13}/_orbit.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/{b51672fface3a4ec5947e1db3f21f77baa80aed8 → 9df51eb4a9ff930ccfaadb724cc88e9267641d13}/_pagination.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_panels.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/{b51672fface3a4ec5947e1db3f21f77baa80aed8 → 9df51eb4a9ff930ccfaadb724cc88e9267641d13}/_pricing-tables.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/{b51672fface3a4ec5947e1db3f21f77baa80aed8 → 9df51eb4a9ff930ccfaadb724cc88e9267641d13}/_progress-bars.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/{b51672fface3a4ec5947e1db3f21f77baa80aed8 → 9df51eb4a9ff930ccfaadb724cc88e9267641d13}/_range-slider.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_reveal.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/{b51672fface3a4ec5947e1db3f21f77baa80aed8 → 9df51eb4a9ff930ccfaadb724cc88e9267641d13}/_side-nav.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/{b51672fface3a4ec5947e1db3f21f77baa80aed8 → 9df51eb4a9ff930ccfaadb724cc88e9267641d13}/_split-buttons.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/{b51672fface3a4ec5947e1db3f21f77baa80aed8 → 9df51eb4a9ff930ccfaadb724cc88e9267641d13}/_sub-nav.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_switches.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/{b51672fface3a4ec5947e1db3f21f77baa80aed8 → 9df51eb4a9ff930ccfaadb724cc88e9267641d13}/_tables.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/{b51672fface3a4ec5947e1db3f21f77baa80aed8 → 9df51eb4a9ff930ccfaadb724cc88e9267641d13}/_tabs.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/{b51672fface3a4ec5947e1db3f21f77baa80aed8 → 9df51eb4a9ff930ccfaadb724cc88e9267641d13}/_thumbs.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/{b51672fface3a4ec5947e1db3f21f77baa80aed8 → 9df51eb4a9ff930ccfaadb724cc88e9267641d13}/_tooltips.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_top-bar.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/{b51672fface3a4ec5947e1db3f21f77baa80aed8 → 9df51eb4a9ff930ccfaadb724cc88e9267641d13}/_type.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/{b51672fface3a4ec5947e1db3f21f77baa80aed8 → 9df51eb4a9ff930ccfaadb724cc88e9267641d13}/_visibility.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9ffd013d383870261f2263c294cb3119536e8d59/_functions.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{ac1b1f0c521a6acb5833209d7b18d888 → 03fbfd831772639fdac75dfe5fe9cf64} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{fd5e59fed8301f86b74e551534fce2b2 → 0ad373f2b4d9f428b6e58e76da4ec0b9} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{0b83e9e8467b82a0991df336697846e0 → 0be1680e56bd474e90098c85ed3613f1} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{969e05674f51d3b5b500e605e0292573 → 0c7d363f5622cc1f9d3584fdea9a45a8} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/0e01ae9de0f3914c8317853aedd9ace4 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{55d7985953b175268932d2f7e50f64e0 → 0e97b69ac6f777e5725c5faa99228b8b} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{67d67f783372c9b99e2ff84c12d38dfb → 11d0db644738c3eeb74a1b4821e17387} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/147cd256ded8a7797a230bd1f27db96a +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{7326e3e660754d56c46671c7347c5e97 → 1821710663a22c38d025f3600144b386} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{bbfc8dec2c2cc07cf4c1708597316a77 → 1956e934d0761e89293cf096aef2ad04} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{d2215e57429ecae68a054210e665d787 → 2196fdacd39bb9f5c4e3755b86d84888} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/23c10c485dbe7ea46614928874120ecf +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{1da46bb361bbd7b80dc66e5737dbf2a7 → 257233cf9d7cbb01dd74d0fefd6a9384} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{d9e5382620928a6b4a8cd70bdac10aa3 → 27d0805c68db0e1ea5335f4ad7273237} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{2c745da65bdbc8ebb88b6bce026972b9 → 2929961e63046a72db4e8d82548a8f31} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{a721a930039ed66bd3f092ab1e9c8de6 → 312dcc14683b058a2ecb35f844b45deb} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/488d63b20534d2642d48b86b5a267a3b +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{fada546ecac912f7782a46cf40ec29af → 57531b6d66c8c471ca21a68cde85f198} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{1505f3ddd93d7be2405c81d84a45cbfb → 5c694af01dab7474cace85e2e37233af} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{b3d0193a1439465426a4d051a161291d → 5eb2ada2e9af19cdbe5cb8750ce801df} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{ba87909b8d71ddaedd84c3f6c00dce72 → 6245a5f4c9368169ba2cab2de39b1316} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{81ba6a364949bd4ffe2732ae5745012d → 633ffb1bd470dc99106053fe08ffcef3} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{00ae61e049df7e5570b8c57835868cfe → 6450b2170b90777c94faa92d8913b5af} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{b76beafa9aef0c7a18bf63fe612ecd17 → 64550cb088f2a8bd25da69f8e7623a7a} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{0a01f1c3288f982772ed595695292767 → 6afb6cb0462c9dab19086aa6c02e619a} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{f4b5b11e7111666c7eac22f943308692 → 6b75e75e7b682e7c5633d02f5441f61c} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/6c7542a3718ad8d161e94f4816f01ccb +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{d8daf6c8e5df881485c0e1139a275f6d → 6ffb1f074155829dca88c57f3730a9c3} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{f66bf7665e75e4d537977c71a5e39a4e → 720b83386eaf5707c1535472e36ba7fb} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{a590260912e62280bb115dd52a953b18 → 756b24d1d6762675f2f3d781313c59b6} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/7925f8f38f5165ad9d36a7d73dd00c06 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{7f0b91f5fa71c52d3cbe1f108fb7c942 → 7cd04ce7e67cb693aa31bd3e03199ecd} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{fa7e1f9a13f606e2603a17f8e00aa32a → 8b83fd34df285c871e41af1e2c3efda9} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/8d531fdb806de0724337e0b80e253914 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/8df98e9b5189ffce4cf77a33533416a6 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{6d21cd96abbcb6506d99fb93e8a11196 → 93f1c8b2c57b6a34ce6be7a69af2eeab} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{b771c2de3967bda011cf04e0979497cf → 9850ccc5ff77cfe44eef6c931be25fa2} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{7ea9d575b03f8effb678d4dcedf3d079 → a656594778473574f77b201837cc446f} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/a9b8decaa2942e8913458c9f35da2693 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{b657c356e24f45a8b92d4f4da9ff361d → aab84c1f5c24fa406a94eac09d22b2a4} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{cb761fc7bfc4c192abf5c946f863ab1e → ab6e14fb85dc2ad554e941848018ed3f} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{987bf17b1a3915d5c6d95ebda01e8f49 → ac6920ecb59148769117dba39b8bb574} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{161b66dc0b76d65e577b5465f86cb767 → ae854557f47e184d242c2d046b212fda} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{2a00ce050c10f75691b820576ec3aefd → b05f3b842ea70a8728bdfc77fe0c3a37} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{c2b59fd99edc4b53754f7cb4e160452f → b762effbcb1d2a5c2e967b26de0b8e2a} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{81e2498e0e1457dd93b47780ae28fc03 → bb38dd1514d70d46cc209c23beacf4ae} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/c206fbd33f49ab785c6ddf4bcffd3b93 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{bd5b45287cfdac63ed7199b7982da02f → c8e888c4098e2f3e7e08e7aad9233bd9} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{f5fcab9d313889bf6d14a05040aff5bc → d829c1f5535262183eb4dbd3717fadbe} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/df90022afc0d52f16bc498be20a5967d +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/e6e78e14e8c962d31e6148ca56230af9 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{090f2c9bc57f8e73105a98a800051354 → ec01e589b2029448373e8112cfd62b6a} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/edd24c59de6c00e4e68dbbdf2775984a +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f7cf86568d1c692cb0a565614f282572 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{897553ff72f546645e24e94feec75255 → faa4ce8149d6e520b0a0855bfd8853e0} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{d3921fc37cc437f0933c4dee9d089fd8 → fb4793fb33ff5da9202b3b44e1997140} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{a970f64c67051f35069f45d8dad113a5 → fba226eba4fa5dba560496c64a18009c} +0 -0
- metadata +194 -194
- data/test/dummy/tmp/cache/assets/test/sass/356cbb24ba380fa6c5255d546317e2ce23ea8cd6/_functions.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/b51672fface3a4ec5947e1db3f21f77baa80aed8/_dropdown.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/b51672fface3a4ec5947e1db3f21f77baa80aed8/_forms.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/b51672fface3a4ec5947e1db3f21f77baa80aed8/_icon-bar.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/b51672fface3a4ec5947e1db3f21f77baa80aed8/_panels.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/b51672fface3a4ec5947e1db3f21f77baa80aed8/_reveal.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/b51672fface3a4ec5947e1db3f21f77baa80aed8/_switches.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/b51672fface3a4ec5947e1db3f21f77baa80aed8/_top-bar.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/959fa77a7302a3002d5fb1394575117b +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/a6453a78eb0c813a0b69a12cb7c4ab2c +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c6a06c96f22f6d095b46e4e5c7655f68e8bab8f
|
4
|
+
data.tar.gz: f634cee9b5fccc13ae1dadc00a227d1050ce3383
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af3749c59e96eade1349ff5b068b7fe1bd3acbece026db42c471f9015a95b568e8e510c8ac563b2fbaa6b8885fbc4e55c40c712a302a0e95d4b03a5795b5ad14
|
7
|
+
data.tar.gz: 670951c5d40c9b5451a28f561934ba2cf84f418e23982b7ee5b7fa83d0e8f4abebee2fd1b60bd8f4023105549f994bdf2e75bf8ac676622e566827beb553b0b9
|
@@ -6,5 +6,15 @@ module PushType
|
|
6
6
|
before_filter :authenticate_user!
|
7
7
|
end
|
8
8
|
|
9
|
+
protected
|
10
|
+
|
11
|
+
def authenticate_user!
|
12
|
+
if user_signed_in?
|
13
|
+
super
|
14
|
+
else
|
15
|
+
redirect_to push_type.new_user_session_path, alert: t('devise.failure.unauthenticated')
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
9
19
|
end
|
10
20
|
end
|
@@ -1,15 +1,33 @@
|
|
1
1
|
PushType.setup do |config|
|
2
2
|
|
3
|
-
|
3
|
+
config.root_nodes = :all
|
4
4
|
|
5
|
-
|
5
|
+
config.unexposed_nodes = []
|
6
6
|
|
7
|
-
|
7
|
+
config.home_slug = 'home'
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
9
|
+
config.media_styles = {
|
10
|
+
large: '1024x1024>',
|
11
|
+
medium: '512x512>',
|
12
|
+
small: '256x256>'
|
13
|
+
}
|
14
|
+
|
15
|
+
# Dragonfly datastore configuration
|
16
|
+
config.dragonfly_datastore = :file
|
17
|
+
config.dragonfly_datastore_options = {
|
18
|
+
root_path: Rails.root.join('public/system/dragonfly', Rails.env),
|
19
|
+
server_root: Rails.root.join('public')
|
20
|
+
}
|
21
|
+
|
22
|
+
# For S3 storage, remember to add to Gemfile:
|
23
|
+
# gem 'dragonfly-s3_data_store'
|
24
|
+
# config.dragonfly_datastore = :s3
|
25
|
+
# config.dragonfly_datastore_options = {
|
26
|
+
# bucket_name: ENV['S3_BUCKET'],
|
27
|
+
# access_key_id: ENV['S3_ACCESS_KEY_ID'],
|
28
|
+
# secret_access_key: ENV['SECRET_ACCESS_KEY_ID']
|
29
|
+
# }
|
30
|
+
|
31
|
+
# config.dragonfly_secret = '7105267e532219f79cf110ab9e969330a898721c33c7a7541c943838977194ca'
|
14
32
|
|
15
33
|
end
|
@@ -11,10 +11,10 @@
|
|
11
11
|
# if you're sharing your code publicly.
|
12
12
|
|
13
13
|
development:
|
14
|
-
secret_key_base:
|
14
|
+
secret_key_base: 5389eb8761fccac00a2d471847c6ccdefe7921d64c54332e245c2339e397551f725405c17b3b55abe2d3819a51baa2d56b6ba6c662b7687d45d0a51c3e3917de
|
15
15
|
|
16
16
|
test:
|
17
|
-
secret_key_base:
|
17
|
+
secret_key_base: a13c9d05e29950ab123a1bea9de3e9503fde683d710ce7d2a6146adb922060edee001e730ee4a772992ee883e1f7ee8b3915a1c1fc3fddbeddfa8b96f4e2e3cd
|
18
18
|
|
19
19
|
# Do not keep production secrets in the repository,
|
20
20
|
# instead read values from the environment.
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/test/dummy/db/schema.rb
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
#
|
12
12
|
# It's strongly recommended that you check this file into your version control system.
|
13
13
|
|
14
|
-
ActiveRecord::Schema.define(version:
|
14
|
+
ActiveRecord::Schema.define(version: 20150209204416) do
|
15
15
|
|
16
16
|
# These are extensions that must be enabled in order to support this database
|
17
17
|
enable_extension "plpgsql"
|
data/test/dummy/log/test.log
CHANGED
@@ -1,47 +1,47 @@
|
|
1
|
-
[1m[36m (
|
2
|
-
[1m[35m (
|
1
|
+
[1m[36m (3.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
2
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3
3
|
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4
|
-
Migrating to CreatePushTypeUsers (
|
4
|
+
Migrating to CreatePushTypeUsers (20150209204412)
|
5
5
|
[1m[35m (0.1ms)[0m BEGIN
|
6
6
|
[1m[36mSQL (1.8ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
7
|
-
[1m[35m (2.
|
8
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
7
|
+
[1m[35m (2.5ms)[0m CREATE TABLE "push_type_users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying, "email" character varying, "field_store" jsonb, "created_at" timestamp, "updated_at" timestamp)
|
8
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150209204412"]]
|
9
9
|
[1m[35m (0.5ms)[0m COMMIT
|
10
|
-
Migrating to CreatePushTypeNodes (
|
10
|
+
Migrating to CreatePushTypeNodes (20150209204413)
|
11
11
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12
|
-
[1m[35m (
|
13
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
12
|
+
[1m[35m (2.2ms)[0m CREATE TABLE "push_type_nodes" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying, "title" character varying, "slug" character varying, "field_store" jsonb, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp, "updated_at" timestamp, "deleted_at" timestamp)
|
13
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150209204413"]]
|
14
14
|
[1m[35m (0.3ms)[0m COMMIT
|
15
|
-
Migrating to CreatePushTypeNodeHierarchies (
|
15
|
+
Migrating to CreatePushTypeNodeHierarchies (20150209204414)
|
16
16
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17
|
-
[1m[35m (0.
|
18
|
-
[1m[36m (0.
|
19
|
-
[1m[35m (0.
|
20
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
17
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)
|
18
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")[0m
|
19
|
+
[1m[35m (0.6ms)[0m CREATE INDEX "desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
|
20
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150209204414"]]
|
21
21
|
[1m[35m (0.3ms)[0m COMMIT
|
22
|
-
Migrating to CreatePushTypeAssets (
|
22
|
+
Migrating to CreatePushTypeAssets (20150209204415)
|
23
23
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
24
24
|
[1m[35m (1.9ms)[0m CREATE TABLE "push_type_assets" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "file_uid" character varying, "file_name" character varying, "file_size" integer, "file_ext" character varying, "mime_type" character varying, "description" character varying, "uploader_id" uuid, "created_at" timestamp, "updated_at" timestamp, "deleted_at" timestamp)
|
25
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
25
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150209204415"]]
|
26
26
|
[1m[35m (0.3ms)[0m COMMIT
|
27
|
-
Migrating to DeviseExtendPushTypeUsers (
|
27
|
+
Migrating to DeviseExtendPushTypeUsers (20150209204416)
|
28
28
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29
|
-
[1m[35m (2.
|
29
|
+
[1m[35m (2.7ms)[0m ALTER TABLE "push_type_users" ADD "encrypted_password" character varying DEFAULT '' NOT NULL
|
30
30
|
[1m[36m (0.1ms)[0m [1mALTER TABLE "push_type_users" ADD "reset_password_token" character varying[0m
|
31
31
|
[1m[35m (0.1ms)[0m ALTER TABLE "push_type_users" ADD "reset_password_sent_at" timestamp
|
32
32
|
[1m[36m (0.1ms)[0m [1mALTER TABLE "push_type_users" ADD "remember_created_at" timestamp[0m
|
33
|
-
[1m[35m (2.
|
33
|
+
[1m[35m (2.2ms)[0m ALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
|
34
34
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "push_type_users" ADD "current_sign_in_at" timestamp[0m
|
35
35
|
[1m[35m (0.1ms)[0m ALTER TABLE "push_type_users" ADD "last_sign_in_at" timestamp
|
36
|
-
[1m[36m (0.
|
36
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "push_type_users" ADD "current_sign_in_ip" character varying[0m
|
37
37
|
[1m[35m (0.1ms)[0m ALTER TABLE "push_type_users" ADD "last_sign_in_ip" character varying
|
38
38
|
[1m[36m (0.1ms)[0m [1mALTER TABLE "push_type_users" ADD "confirmation_token" character varying[0m
|
39
39
|
[1m[35m (0.2ms)[0m ALTER TABLE "push_type_users" ADD "confirmed_at" timestamp
|
40
40
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "push_type_users" ADD "confirmation_sent_at" timestamp[0m
|
41
|
-
[1m[35m (0.
|
42
|
-
[1m[36m (0.
|
43
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "
|
44
|
-
[1m[36m (0.
|
41
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")
|
42
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_push_type_users_on_reset_password_token" ON "push_type_users" ("reset_password_token")[0m
|
43
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150209204416"]]
|
44
|
+
[1m[36m (0.7ms)[0m [1mCOMMIT[0m
|
45
45
|
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
46
46
|
[1m[36m (1.7ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
47
47
|
FROM pg_constraint c
|
@@ -93,783 +93,787 @@ ORDER BY c.conname
|
|
93
93
|
|
94
94
|
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
95
95
|
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL
|
96
|
-
[1m[36m (
|
97
|
-
|
98
|
-
|
96
|
+
[1m[36m (0.9ms)[0m [1m SELECT schemaname || '.' || tablename
|
97
|
+
FROM pg_tables
|
98
|
+
WHERE tablename !~ '_prt_' AND schemaname = ANY (current_schemas(false))
|
99
|
+
[0m
|
100
|
+
[1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
101
|
+
[1m[36m (7.3ms)[0m [1mTRUNCATE TABLE "public"."schema_migrations", "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_assets", "public"."push_type_users" RESTART IDENTITY CASCADE;[0m
|
102
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL
|
103
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
104
|
+
---------------------------------------------------------------------------------
|
105
|
+
PushType::ProfilesController::PUT #update::with invalid user: test_0001_anonymous
|
106
|
+
---------------------------------------------------------------------------------
|
107
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
108
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
109
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
110
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
111
|
+
[1m[35mPushType::User Exists (0.4ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
|
112
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1[0m
|
113
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-1@example.com"], ["confirmation_sent_at", "2015-02-09 20:44:16.900780"], ["confirmed_at", "2015-02-09 20:44:16.900914"], ["confirmation_token", "Generated account"], ["created_at", "2015-02-09 20:44:16.910651"], ["updated_at", "2015-02-09 20:44:16.910651"]]
|
114
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
115
|
+
Processing by PushType::ProfilesController#update as HTML
|
116
|
+
Parameters: {"user"=>{"name"=>""}}
|
117
|
+
[1m[35mPushType::User Load (0.3ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "79d45bbe-164b-4fc2-b0ce-250c692a3361"]]
|
118
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
119
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-1@example.com' AND "push_type_users"."id" != '79d45bbe-164b-4fc2-b0ce-250c692a3361') LIMIT 1
|
120
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
|
121
|
+
Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (12.7ms)
|
122
|
+
Completed 200 OK in 6044ms (Views: 6030.0ms | ActiveRecord: 0.7ms)
|
123
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
124
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
99
125
|
[1m[35m (0.1ms)[0m BEGIN
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
[1m[
|
104
|
-
|
126
|
+
---------------------------------------------------------------------------------
|
127
|
+
PushType::ProfilesController::PUT #update::with invalid user: test_0002_anonymous
|
128
|
+
---------------------------------------------------------------------------------
|
129
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
130
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
131
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
132
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
133
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1[0m
|
134
|
+
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
|
135
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-2@example.com"], ["confirmation_sent_at", "2015-02-09 20:44:22.964353"], ["confirmed_at", "2015-02-09 20:44:22.964487"], ["confirmation_token", "Generated account"], ["created_at", "2015-02-09 20:44:22.966532"], ["updated_at", "2015-02-09 20:44:22.966532"]]
|
136
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
137
|
+
Processing by PushType::ProfilesController#update as HTML
|
138
|
+
Parameters: {"user"=>{"name"=>""}}
|
139
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["id", "344511c1-6e25-4a43-b099-4ffc33bf7039"]]
|
140
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
141
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-2@example.com' AND "push_type_users"."id" != '344511c1-6e25-4a43-b099-4ffc33bf7039') LIMIT 1[0m
|
142
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
|
143
|
+
Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (4.5ms)
|
144
|
+
Completed 200 OK in 20ms (Views: 14.7ms | ActiveRecord: 0.6ms)
|
145
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
146
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
147
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
148
|
+
------------------------------------------------------------------------------------
|
149
|
+
PushType::ConfirmationsController::PUT #update::with valid user: test_0001_anonymous
|
150
|
+
------------------------------------------------------------------------------------
|
151
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
152
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
153
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
154
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
155
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
|
156
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1[0m
|
157
|
+
[1m[35mPushType::User Load (0.2ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "1b58e1dec4bce0e66689a591dfb93cf9c10e75c727b978aa5d59d733991e9646"]]
|
158
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-3@example.com"], ["created_at", "2015-02-09 20:44:22.995864"], ["updated_at", "2015-02-09 20:44:22.995864"], ["confirmation_token", "1b58e1dec4bce0e66689a591dfb93cf9c10e75c727b978aa5d59d733991e9646"], ["confirmation_sent_at", "2015-02-09 20:44:23.166965"]]
|
159
|
+
Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (2.5ms)
|
105
160
|
|
106
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
161
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 83.3ms
|
107
162
|
|
108
|
-
Sent mail to joe-
|
109
|
-
Date:
|
163
|
+
Sent mail to joe-3@example.com (4.6ms)
|
164
|
+
Date: Mon, 09 Feb 2015 20:44:23 +0000
|
110
165
|
From: please-change-me-at-config-initializers-devise@example.com
|
111
166
|
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
112
|
-
To: joe-
|
113
|
-
Message-ID: <
|
167
|
+
To: joe-3@example.com
|
168
|
+
Message-ID: <54d91c273f5b4_2a843fd7f8465be4390d8@Aarons-iMac.local.mail>
|
114
169
|
Subject: Confirmation instructions
|
115
170
|
Mime-Version: 1.0
|
116
171
|
Content-Type: text/html;
|
117
172
|
charset=UTF-8
|
118
173
|
Content-Transfer-Encoding: 7bit
|
119
174
|
|
120
|
-
<p>Welcome joe-
|
175
|
+
<p>Welcome joe-3@example.com!</p>
|
121
176
|
|
122
177
|
<p>You can confirm your account email through the link below:</p>
|
123
178
|
|
124
|
-
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
179
|
+
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=jiRJ4FkLhsDeZfmGTGHn">Confirm my account</a></p>
|
125
180
|
|
126
|
-
[1m[
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT
|
132
|
-
[1m[
|
133
|
-
[1m[36m (0.1ms)[0m [
|
134
|
-
|
135
|
-
|
136
|
-
[1m[
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
Completed 200 OK in 9677ms (Views: 9672.3ms | ActiveRecord: 0.4ms)
|
181
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
182
|
+
Processing by PushType::ConfirmationsController#update as HTML
|
183
|
+
Parameters: {"user"=>{"confirmation_token"=>"jiRJ4FkLhsDeZfmGTGHn", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
184
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "1b58e1dec4bce0e66689a591dfb93cf9c10e75c727b978aa5d59d733991e9646"]]
|
185
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-3@example.com' AND "push_type_users"."id" != '86afa32c-2283-4225-9bda-41c990cc5676') LIMIT 1
|
186
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
187
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "push_type_users" SET "confirmation_token" = $1, "encrypted_password" = $2, "confirmed_at" = $3, "updated_at" = $4 WHERE "push_type_users"."id" = $5 [["confirmation_token", nil], ["encrypted_password", "$2a$04$xvP0JxZlEA40GfvI0sLc1uQt87NAMxpf0qDwL2W.qWq5Rbx8fdZo."], ["confirmed_at", "2015-02-09 20:44:23.268599"], ["updated_at", "2015-02-09 20:44:23.269104"], ["id", "86afa32c-2283-4225-9bda-41c990cc5676"]]
|
188
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
189
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
190
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "push_type_users" SET "last_sign_in_at" = $1, "current_sign_in_at" = $2, "last_sign_in_ip" = $3, "current_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7[0m [["last_sign_in_at", "2015-02-09 20:44:23.270923"], ["current_sign_in_at", "2015-02-09 20:44:23.270923"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-02-09 20:44:23.271680"], ["id", "86afa32c-2283-4225-9bda-41c990cc5676"]]
|
191
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
192
|
+
Redirected to http://test.host/push_type/
|
193
|
+
Completed 302 Found in 9ms (ActiveRecord: 1.1ms)
|
194
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1[0m [["id", "86afa32c-2283-4225-9bda-41c990cc5676"]]
|
141
195
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
142
196
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
143
197
|
[1m[35m (0.1ms)[0m BEGIN
|
144
|
-
|
145
|
-
PushType::ConfirmationsController::
|
146
|
-
|
147
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
148
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
198
|
+
------------------------------------------------------------------------------------
|
199
|
+
PushType::ConfirmationsController::PUT #update::with valid user: test_0002_anonymous
|
200
|
+
------------------------------------------------------------------------------------
|
149
201
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
150
|
-
Processing by PushType::ConfirmationsController#show as HTML
|
151
|
-
Parameters: {"confirmation_token"=>"invalid"}
|
152
|
-
[1m[35mPushType::User Load (0.2ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "7ea5d54cc162c2e72d901f5de63486e83a424fba857436824dadc72cb5ff789f"]]
|
153
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "7ea5d54cc162c2e72d901f5de63486e83a424fba857436824dadc72cb5ff789f"]]
|
154
|
-
Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/shared/_links.html.erb (2.8ms)
|
155
|
-
Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (5.6ms)
|
156
|
-
Completed 200 OK in 10ms (Views: 7.0ms | ActiveRecord: 0.3ms)
|
157
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
158
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
159
|
-
[1m[35m (0.1ms)[0m BEGIN
|
160
|
-
--------------------------------------------------------------------------------------
|
161
|
-
PushType::ConfirmationsController::PUT #update::with invalid user: test_0003_anonymous
|
162
|
-
--------------------------------------------------------------------------------------
|
163
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
164
202
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
165
203
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
166
|
-
[1m[35m (0.
|
167
|
-
[1m[36mPushType::User Exists (0.
|
168
|
-
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-
|
169
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "
|
170
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-
|
171
|
-
Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (
|
204
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
205
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1[0m
|
206
|
+
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
|
207
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "ebc850e1d8e0a9fcb6f303869b4333258c448973b381080771fcbde17c1bded9"]]
|
208
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-4@example.com"], ["created_at", "2015-02-09 20:44:23.278418"], ["updated_at", "2015-02-09 20:44:23.278418"], ["confirmation_token", "ebc850e1d8e0a9fcb6f303869b4333258c448973b381080771fcbde17c1bded9"], ["confirmation_sent_at", "2015-02-09 20:44:23.279293"]]
|
209
|
+
Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (1.9ms)
|
172
210
|
|
173
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
211
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.8ms
|
174
212
|
|
175
|
-
Sent mail to joe-
|
176
|
-
Date:
|
213
|
+
Sent mail to joe-4@example.com (1.5ms)
|
214
|
+
Date: Mon, 09 Feb 2015 20:44:23 +0000
|
177
215
|
From: please-change-me-at-config-initializers-devise@example.com
|
178
216
|
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
179
|
-
To: joe-
|
180
|
-
Message-ID: <
|
217
|
+
To: joe-4@example.com
|
218
|
+
Message-ID: <54d91c2745488_2a843fd7f8465be439199@Aarons-iMac.local.mail>
|
181
219
|
Subject: Confirmation instructions
|
182
220
|
Mime-Version: 1.0
|
183
221
|
Content-Type: text/html;
|
184
222
|
charset=UTF-8
|
185
223
|
Content-Transfer-Encoding: 7bit
|
186
224
|
|
187
|
-
<p>Welcome joe-
|
225
|
+
<p>Welcome joe-4@example.com!</p>
|
188
226
|
|
189
227
|
<p>You can confirm your account email through the link below:</p>
|
190
228
|
|
191
|
-
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
229
|
+
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=zxZYwzG73-2DkoZJVhB7">Confirm my account</a></p>
|
192
230
|
|
193
231
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
194
232
|
Processing by PushType::ConfirmationsController#update as HTML
|
195
|
-
Parameters: {"user"=>{"confirmation_token"=>"
|
196
|
-
[1m[35mPushType::User Load (0.2ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "
|
197
|
-
[1m[36mPushType::User Exists (0.
|
198
|
-
|
199
|
-
|
200
|
-
|
233
|
+
Parameters: {"user"=>{"confirmation_token"=>"zxZYwzG73-2DkoZJVhB7", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
234
|
+
[1m[35mPushType::User Load (0.2ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "ebc850e1d8e0a9fcb6f303869b4333258c448973b381080771fcbde17c1bded9"]]
|
235
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-4@example.com' AND "push_type_users"."id" != '0e5ffbff-e942-47ae-a7b7-bba78e002612') LIMIT 1[0m
|
236
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
237
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "push_type_users" SET "confirmation_token" = $1, "encrypted_password" = $2, "confirmed_at" = $3, "updated_at" = $4 WHERE "push_type_users"."id" = $5[0m [["confirmation_token", nil], ["encrypted_password", "$2a$04$HW5MNadbSWQzyssyPZT7lOESnKQ3uRfKQPmPagGfmJAatyxSC6AJa"], ["confirmed_at", "2015-02-09 20:44:23.289799"], ["updated_at", "2015-02-09 20:44:23.290160"], ["id", "0e5ffbff-e942-47ae-a7b7-bba78e002612"]]
|
238
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
239
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
240
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "push_type_users" SET "last_sign_in_at" = $1, "current_sign_in_at" = $2, "last_sign_in_ip" = $3, "current_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7 [["last_sign_in_at", "2015-02-09 20:44:23.291363"], ["current_sign_in_at", "2015-02-09 20:44:23.291363"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-02-09 20:44:23.291989"], ["id", "0e5ffbff-e942-47ae-a7b7-bba78e002612"]]
|
241
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
242
|
+
Redirected to http://test.host/push_type/
|
243
|
+
Completed 302 Found in 8ms (ActiveRecord: 1.0ms)
|
201
244
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
202
245
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
203
246
|
[1m[35m (0.1ms)[0m BEGIN
|
204
|
-
|
205
|
-
PushType::
|
206
|
-
|
207
|
-
[1m[36m (0.
|
208
|
-
[1m[35m (0.
|
209
|
-
[1m[36m (0.
|
247
|
+
-----------------------------------------------------------
|
248
|
+
PushType::UsersController::PUT #invite: test_0003_anonymous
|
249
|
+
-----------------------------------------------------------
|
250
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
251
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
252
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
210
253
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
211
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-
|
212
|
-
[1m[35mPushType::User Exists (0.
|
213
|
-
[1m[
|
214
|
-
[1m[
|
215
|
-
|
254
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1[0m
|
255
|
+
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
|
256
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-5@example.com"], ["confirmation_sent_at", "2015-02-09 20:44:23.297903"], ["confirmed_at", "2015-02-09 20:44:23.298011"], ["confirmation_token", "Generated account"], ["created_at", "2015-02-09 20:44:23.299602"], ["updated_at", "2015-02-09 20:44:23.299602"]]
|
257
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
258
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
259
|
+
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
|
260
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1[0m
|
261
|
+
[1m[35mPushType::User Load (0.2ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "4138e936236d33de6fbed8473b0fa4bb743e43d76a9809f885821853269a029f"]]
|
262
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-6@example.com"], ["created_at", "2015-02-09 20:44:23.302518"], ["updated_at", "2015-02-09 20:44:23.302518"], ["confirmation_token", "4138e936236d33de6fbed8473b0fa4bb743e43d76a9809f885821853269a029f"], ["confirmation_sent_at", "2015-02-09 20:44:23.303612"]]
|
263
|
+
Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (1.9ms)
|
216
264
|
|
217
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
265
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.8ms
|
218
266
|
|
219
|
-
Sent mail to joe-
|
220
|
-
Date:
|
267
|
+
Sent mail to joe-6@example.com (1.5ms)
|
268
|
+
Date: Mon, 09 Feb 2015 20:44:23 +0000
|
221
269
|
From: please-change-me-at-config-initializers-devise@example.com
|
222
270
|
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
223
|
-
To: joe-
|
224
|
-
Message-ID: <
|
271
|
+
To: joe-6@example.com
|
272
|
+
Message-ID: <54d91c274b358_2a843fd7f8465be43926d@Aarons-iMac.local.mail>
|
225
273
|
Subject: Confirmation instructions
|
226
274
|
Mime-Version: 1.0
|
227
275
|
Content-Type: text/html;
|
228
276
|
charset=UTF-8
|
229
277
|
Content-Transfer-Encoding: 7bit
|
230
278
|
|
231
|
-
<p>Welcome joe-
|
279
|
+
<p>Welcome joe-6@example.com!</p>
|
232
280
|
|
233
281
|
<p>You can confirm your account email through the link below:</p>
|
234
282
|
|
235
|
-
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
283
|
+
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=yYdY9Xa3iDLGzLUPLrFh">Confirm my account</a></p>
|
236
284
|
|
237
|
-
[1m[
|
238
|
-
Processing by PushType::
|
239
|
-
Parameters: {"
|
240
|
-
[1m[
|
241
|
-
[1m[
|
242
|
-
|
243
|
-
Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (5.5ms)
|
244
|
-
Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.3ms)
|
245
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
246
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
247
|
-
[1m[35m (0.1ms)[0m BEGIN
|
248
|
-
--------------------------------------------------------------------------------------
|
249
|
-
PushType::ConfirmationsController::PUT #update::with invalid user: test_0001_anonymous
|
250
|
-
--------------------------------------------------------------------------------------
|
251
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
252
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
253
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
285
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
286
|
+
Processing by PushType::UsersController#invite as HTML
|
287
|
+
Parameters: {"id"=>"cbff17f9-df32-482d-9ef8-69986a80c128"}
|
288
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["id", "db39abd2-c231-419b-8ce9-daedc2c251f2"]]
|
289
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "cbff17f9-df32-482d-9ef8-69986a80c128"]]
|
290
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "9159dc54fb9a387c0e71fc0d66f0a6bb2379653631773642abbbdfebf83ccff7"]]
|
254
291
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
255
|
-
[1m[
|
256
|
-
[1m[
|
257
|
-
|
258
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-4@example.com"], ["created_at", "2015-02-08 15:04:01.498681"], ["updated_at", "2015-02-08 15:04:01.498681"], ["confirmation_token", "c80c990c56919f293db7a8f9ac9fb08d5c9faca64458b131e918eb74fc57b082"], ["confirmation_sent_at", "2015-02-08 15:04:01.499581"]]
|
259
|
-
Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (1.8ms)
|
292
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "push_type_users" SET "confirmation_token" = $1, "confirmation_sent_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4[0m [["confirmation_token", "9159dc54fb9a387c0e71fc0d66f0a6bb2379653631773642abbbdfebf83ccff7"], ["confirmation_sent_at", "2015-02-09 20:44:23.315216"], ["updated_at", "2015-02-09 20:44:23.315703"], ["id", "cbff17f9-df32-482d-9ef8-69986a80c128"]]
|
293
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
294
|
+
Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (1.6ms)
|
260
295
|
|
261
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
296
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
|
262
297
|
|
263
|
-
Sent mail to joe-
|
264
|
-
Date:
|
298
|
+
Sent mail to joe-6@example.com (1.4ms)
|
299
|
+
Date: Mon, 09 Feb 2015 20:44:23 +0000
|
265
300
|
From: please-change-me-at-config-initializers-devise@example.com
|
266
301
|
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
267
|
-
To: joe-
|
268
|
-
Message-ID: <
|
302
|
+
To: joe-6@example.com
|
303
|
+
Message-ID: <54d91c274e2cc_2a843fd7f8465be43935b@Aarons-iMac.local.mail>
|
269
304
|
Subject: Confirmation instructions
|
270
305
|
Mime-Version: 1.0
|
271
306
|
Content-Type: text/html;
|
272
307
|
charset=UTF-8
|
273
308
|
Content-Transfer-Encoding: 7bit
|
274
309
|
|
275
|
-
<p>Welcome joe-
|
310
|
+
<p>Welcome joe-6@example.com!</p>
|
276
311
|
|
277
312
|
<p>You can confirm your account email through the link below:</p>
|
278
313
|
|
279
|
-
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
314
|
+
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=B5ULU5pofv6j4ch_VUGv">Confirm my account</a></p>
|
280
315
|
|
316
|
+
Redirected to /push_type/users
|
317
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.8ms)
|
318
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
319
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
320
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
321
|
+
-----------------------------------------------------------
|
322
|
+
PushType::UsersController::PUT #invite: test_0002_anonymous
|
323
|
+
-----------------------------------------------------------
|
324
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
325
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
326
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
327
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
328
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
|
329
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1[0m
|
330
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-7@example.com"], ["confirmation_sent_at", "2015-02-09 20:44:23.323783"], ["confirmed_at", "2015-02-09 20:44:23.323892"], ["confirmation_token", "Generated account"], ["created_at", "2015-02-09 20:44:23.325868"], ["updated_at", "2015-02-09 20:44:23.325868"]]
|
281
331
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
282
|
-
Processing by PushType::ConfirmationsController#update as HTML
|
283
|
-
Parameters: {"user"=>{"confirmation_token"=>"sHsC9pVvjvV6pzfz64qy", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
284
|
-
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "c80c990c56919f293db7a8f9ac9fb08d5c9faca64458b131e918eb74fc57b082"]]
|
285
|
-
[1m[36mPushType::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-4@example.com' AND "push_type_users"."id" != '5d99843b-269f-4688-84b4-0b4a3088d287') LIMIT 1[0m
|
286
|
-
Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/shared/_links.html.erb (2.9ms)
|
287
|
-
Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (6.0ms)
|
288
|
-
Completed 200 OK in 10ms (Views: 7.4ms | ActiveRecord: 0.4ms)
|
289
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
290
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
291
|
-
[1m[35m (0.1ms)[0m BEGIN
|
292
|
-
------------------------------------------------------------
|
293
|
-
PushType::ProfilesController::GET #edit: test_0002_anonymous
|
294
|
-
------------------------------------------------------------
|
295
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
296
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
297
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
298
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
299
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1[0m
|
300
|
-
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
|
301
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-5@example.com"], ["confirmation_sent_at", "2015-02-08 15:04:01.520538"], ["confirmed_at", "2015-02-08 15:04:01.520659"], ["confirmation_token", "Generated account"], ["created_at", "2015-02-08 15:04:01.522471"], ["updated_at", "2015-02-08 15:04:01.522471"]]
|
302
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
303
|
-
Processing by PushType::ProfilesController#edit as HTML
|
304
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["id", "71b9e419-26f5-4a44-9615-2b7bf183fcd0"]]
|
305
|
-
Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (8.1ms)
|
306
|
-
Completed 200 OK in 36ms (Views: 31.9ms | ActiveRecord: 0.2ms)
|
307
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
308
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
309
|
-
[1m[35m (0.1ms)[0m BEGIN
|
310
|
-
------------------------------------------------------------
|
311
|
-
PushType::ProfilesController::GET #edit: test_0001_anonymous
|
312
|
-
------------------------------------------------------------
|
313
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
314
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
315
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
316
332
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
317
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-
|
318
|
-
[1m[35mPushType::User Exists (0.
|
319
|
-
[1m[
|
320
|
-
[1m[
|
321
|
-
|
322
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["id", "dd509fe0-cde8-4c72-8114-4f4c01400b0b"]]
|
323
|
-
Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (4.5ms)
|
324
|
-
Completed 200 OK in 17ms (Views: 14.3ms | ActiveRecord: 0.2ms)
|
325
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
326
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
327
|
-
[1m[35m (0.1ms)[0m BEGIN
|
328
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1[0m
|
329
|
-
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
|
330
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "8a4d6a088a8e8ad9ebfdef0e586a591d592d5037498557e5436f340dcd8f0fd3"]]
|
331
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-7@example.com"], ["created_at", "2015-02-08 15:04:01.591227"], ["updated_at", "2015-02-08 15:04:01.591227"], ["confirmation_token", "8a4d6a088a8e8ad9ebfdef0e586a591d592d5037498557e5436f340dcd8f0fd3"], ["confirmation_sent_at", "2015-02-08 15:04:01.592150"]]
|
332
|
-
Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (1.8ms)
|
333
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1[0m
|
334
|
+
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
|
335
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "9b750632a174d0f4c30de8606ee1fe0be8c3102fe08a5412c5b6814089b03caa"]]
|
336
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-8@example.com"], ["created_at", "2015-02-09 20:44:23.329101"], ["updated_at", "2015-02-09 20:44:23.329101"], ["confirmation_token", "9b750632a174d0f4c30de8606ee1fe0be8c3102fe08a5412c5b6814089b03caa"], ["confirmation_sent_at", "2015-02-09 20:44:23.329947"]]
|
337
|
+
Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (2.1ms)
|
333
338
|
|
334
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
339
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.9ms
|
335
340
|
|
336
|
-
Sent mail to joe-
|
337
|
-
Date:
|
341
|
+
Sent mail to joe-8@example.com (1.5ms)
|
342
|
+
Date: Mon, 09 Feb 2015 20:44:23 +0000
|
338
343
|
From: please-change-me-at-config-initializers-devise@example.com
|
339
344
|
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
340
|
-
To: joe-
|
341
|
-
Message-ID: <
|
345
|
+
To: joe-8@example.com
|
346
|
+
Message-ID: <54d91c2751aa0_2a843fd7f8465be4394fc@Aarons-iMac.local.mail>
|
342
347
|
Subject: Confirmation instructions
|
343
348
|
Mime-Version: 1.0
|
344
349
|
Content-Type: text/html;
|
345
350
|
charset=UTF-8
|
346
351
|
Content-Transfer-Encoding: 7bit
|
347
352
|
|
348
|
-
<p>Welcome joe-
|
353
|
+
<p>Welcome joe-8@example.com!</p>
|
349
354
|
|
350
355
|
<p>You can confirm your account email through the link below:</p>
|
351
356
|
|
352
|
-
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
357
|
+
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=badj6GyWVZwanx_zHfxK">Confirm my account</a></p>
|
353
358
|
|
354
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
355
|
-
[1m[35m (0.1ms)[0m BEGIN
|
356
|
-
-------------------------------------------------------------------------------
|
357
|
-
PushType::ProfilesController::PUT #update::with valid user: test_0002_anonymous
|
358
|
-
-------------------------------------------------------------------------------
|
359
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
360
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
361
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
362
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
363
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1[0m
|
364
|
-
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
|
365
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-8@example.com"], ["confirmation_sent_at", "2015-02-08 15:04:01.604090"], ["confirmed_at", "2015-02-08 15:04:01.604211"], ["confirmation_token", "Generated account"], ["created_at", "2015-02-08 15:04:01.605884"], ["updated_at", "2015-02-08 15:04:01.605884"]]
|
366
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
367
|
-
Processing by PushType::ProfilesController#update as HTML
|
368
|
-
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
369
|
-
[1m[36mPushType::User Load (0.3ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["id", "566abe0e-4e98-408e-99d7-d5c6ca6187b6"]]
|
370
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
371
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-8@example.com' AND "push_type_users"."id" != '566abe0e-4e98-408e-99d7-d5c6ca6187b6') LIMIT 1[0m
|
372
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2015-02-08 15:04:01.613427"], ["id", "566abe0e-4e98-408e-99d7-d5c6ca6187b6"]]
|
373
359
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
374
|
-
|
375
|
-
|
360
|
+
Processing by PushType::UsersController#invite as HTML
|
361
|
+
Parameters: {"id"=>"8ca048f0-9f3d-48b3-8140-4fca332ab671"}
|
362
|
+
[1m[35mPushType::User Load (0.2ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "5a82ff56-da61-4594-8823-b1ad2fcb757b"]]
|
363
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["id", "8ca048f0-9f3d-48b3-8140-4fca332ab671"]]
|
364
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "ab6185d8142b754a89e8fc5ab92bb7c97e538a21dc9e1a6b08e10560573aab86"]]
|
365
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
366
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "push_type_users" SET "confirmation_token" = $1, "confirmation_sent_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["confirmation_token", "ab6185d8142b754a89e8fc5ab92bb7c97e538a21dc9e1a6b08e10560573aab86"], ["confirmation_sent_at", "2015-02-09 20:44:23.340477"], ["updated_at", "2015-02-09 20:44:23.340958"], ["id", "8ca048f0-9f3d-48b3-8140-4fca332ab671"]]
|
367
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
368
|
+
Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (1.6ms)
|
369
|
+
|
370
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
|
371
|
+
|
372
|
+
Sent mail to joe-8@example.com (1.4ms)
|
373
|
+
Date: Mon, 09 Feb 2015 20:44:23 +0000
|
374
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
375
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
376
|
+
To: joe-8@example.com
|
377
|
+
Message-ID: <54d91c275449a_2a843fd7f8465be43953@Aarons-iMac.local.mail>
|
378
|
+
Subject: Confirmation instructions
|
379
|
+
Mime-Version: 1.0
|
380
|
+
Content-Type: text/html;
|
381
|
+
charset=UTF-8
|
382
|
+
Content-Transfer-Encoding: 7bit
|
383
|
+
|
384
|
+
<p>Welcome joe-8@example.com!</p>
|
385
|
+
|
386
|
+
<p>You can confirm your account email through the link below:</p>
|
387
|
+
|
388
|
+
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=Tp5smBKgHQgjufm4ewhx">Confirm my account</a></p>
|
389
|
+
|
390
|
+
Redirected to /push_type/users
|
391
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.8ms)
|
376
392
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
377
393
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
378
394
|
[1m[35m (0.1ms)[0m BEGIN
|
379
|
-
|
380
|
-
PushType::
|
381
|
-
|
395
|
+
-----------------------------------------------------------
|
396
|
+
PushType::UsersController::PUT #invite: test_0001_anonymous
|
397
|
+
-----------------------------------------------------------
|
382
398
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
383
399
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
384
400
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
385
401
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
386
402
|
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1[0m
|
387
403
|
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
|
388
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-9@example.com"], ["confirmation_sent_at", "2015-02-
|
404
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-9@example.com"], ["confirmation_sent_at", "2015-02-09 20:44:23.348554"], ["confirmed_at", "2015-02-09 20:44:23.348663"], ["confirmation_token", "Generated account"], ["created_at", "2015-02-09 20:44:23.350250"], ["updated_at", "2015-02-09 20:44:23.350250"]]
|
389
405
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
390
|
-
Processing by PushType::ProfilesController#update as HTML
|
391
|
-
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
392
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["id", "8c653689-2bcc-4fc9-8ace-9f9dfec9154d"]]
|
393
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
394
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-9@example.com' AND "push_type_users"."id" != '8c653689-2bcc-4fc9-8ace-9f9dfec9154d') LIMIT 1[0m
|
395
|
-
[1m[35mSQL (0.1ms)[0m UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2015-02-08 15:04:01.627568"], ["id", "8c653689-2bcc-4fc9-8ace-9f9dfec9154d"]]
|
396
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
397
|
-
Redirected to http://test.host/push_type/profile/edit
|
398
|
-
Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
|
399
|
-
[1m[35mPushType::User Load (0.2ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "8c653689-2bcc-4fc9-8ace-9f9dfec9154d"]]
|
400
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
401
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
402
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
403
|
-
-------------------------------------------------------------------------------
|
404
|
-
PushType::ProfilesController::PUT #update::with valid user: test_0003_anonymous
|
405
|
-
-------------------------------------------------------------------------------
|
406
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
407
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
408
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
409
406
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
410
|
-
[1m[35mPushType::User Exists (0.
|
407
|
+
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
|
411
408
|
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1[0m
|
412
|
-
[1m[
|
413
|
-
[1m[
|
414
|
-
Processing by PushType::ProfilesController#update as HTML
|
415
|
-
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
416
|
-
[1m[35mPushType::User Load (0.2ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "8b9613dc-3cf0-4ccb-bae1-a8433ed52600"]]
|
417
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
418
|
-
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-10@example.com' AND "push_type_users"."id" != '8b9613dc-3cf0-4ccb-bae1-a8433ed52600') LIMIT 1
|
419
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3[0m [["name", "Test user ABC"], ["updated_at", "2015-02-08 15:04:01.642049"], ["id", "8b9613dc-3cf0-4ccb-bae1-a8433ed52600"]]
|
420
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
421
|
-
Redirected to http://test.host/push_type/profile/edit
|
422
|
-
Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
|
423
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
424
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
425
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
426
|
-
------------------------------------------------------------------------------------------------
|
427
|
-
PushType::ConfirmationsController::GET #show::with valid confirmation token: test_0001_anonymous
|
428
|
-
------------------------------------------------------------------------------------------------
|
429
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
430
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
431
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
432
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
433
|
-
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
|
434
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1[0m
|
435
|
-
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "01c76d25c3a4ef088dcdb139c01a226acd94445a8eb360b1d6b8b7d7425c9527"]]
|
436
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-11@example.com"], ["created_at", "2015-02-08 15:04:01.651992"], ["updated_at", "2015-02-08 15:04:01.651992"], ["confirmation_token", "01c76d25c3a4ef088dcdb139c01a226acd94445a8eb360b1d6b8b7d7425c9527"], ["confirmation_sent_at", "2015-02-08 15:04:01.652874"]]
|
409
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "65781538ca65fe62ff3126974139bd995246ab2eb884e6cf28ee69487ebcb03b"]]
|
410
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-10@example.com"], ["created_at", "2015-02-09 20:44:23.353088"], ["updated_at", "2015-02-09 20:44:23.353088"], ["confirmation_token", "65781538ca65fe62ff3126974139bd995246ab2eb884e6cf28ee69487ebcb03b"], ["confirmation_sent_at", "2015-02-09 20:44:23.353909"]]
|
437
411
|
Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (1.8ms)
|
438
412
|
|
439
413
|
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms
|
440
414
|
|
441
|
-
Sent mail to joe-
|
442
|
-
Date:
|
415
|
+
Sent mail to joe-10@example.com (1.7ms)
|
416
|
+
Date: Mon, 09 Feb 2015 20:44:23 +0000
|
443
417
|
From: please-change-me-at-config-initializers-devise@example.com
|
444
418
|
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
445
|
-
To: joe-
|
446
|
-
Message-ID: <
|
419
|
+
To: joe-10@example.com
|
420
|
+
Message-ID: <54d91c2757755_2a843fd7f8465be43967f@Aarons-iMac.local.mail>
|
447
421
|
Subject: Confirmation instructions
|
448
422
|
Mime-Version: 1.0
|
449
423
|
Content-Type: text/html;
|
450
424
|
charset=UTF-8
|
451
425
|
Content-Transfer-Encoding: 7bit
|
452
426
|
|
453
|
-
<p>Welcome joe-
|
427
|
+
<p>Welcome joe-10@example.com!</p>
|
454
428
|
|
455
429
|
<p>You can confirm your account email through the link below:</p>
|
456
430
|
|
457
|
-
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
431
|
+
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=nJ7tMnYW9FVgHAk4oFCG">Confirm my account</a></p>
|
458
432
|
|
459
433
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
460
|
-
Processing by PushType::
|
461
|
-
Parameters: {"
|
462
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."
|
463
|
-
|
464
|
-
|
465
|
-
Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.1ms)
|
466
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
467
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
468
|
-
[1m[35m (0.1ms)[0m BEGIN
|
469
|
-
------------------------------------------------------------------------------------------------
|
470
|
-
PushType::ConfirmationsController::GET #show::with valid confirmation token: test_0002_anonymous
|
471
|
-
------------------------------------------------------------------------------------------------
|
472
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
473
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
474
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
434
|
+
Processing by PushType::UsersController#invite as HTML
|
435
|
+
Parameters: {"id"=>"5bf8e58c-bd6a-4fdb-a89b-52d55a4f9058"}
|
436
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["id", "a9717656-41c2-429b-92ff-1f14372abdd2"]]
|
437
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "5bf8e58c-bd6a-4fdb-a89b-52d55a4f9058"]]
|
438
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "a77c4da04f02e0259b97d82f94908304efd72723371166e25e8288a76f5ccffe"]]
|
475
439
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
476
|
-
[1m[
|
477
|
-
[1m[
|
478
|
-
|
479
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-12@example.com"], ["created_at", "2015-02-08 15:04:01.671754"], ["updated_at", "2015-02-08 15:04:01.671754"], ["confirmation_token", "ba3d0b2c232d41d2509aa652e5bf5a741fe0629eccdd37a6dbd5e264790b40a6"], ["confirmation_sent_at", "2015-02-08 15:04:01.672626"]]
|
480
|
-
Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (1.8ms)
|
440
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "push_type_users" SET "confirmation_token" = $1, "confirmation_sent_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4[0m [["confirmation_token", "a77c4da04f02e0259b97d82f94908304efd72723371166e25e8288a76f5ccffe"], ["confirmation_sent_at", "2015-02-09 20:44:23.365124"], ["updated_at", "2015-02-09 20:44:23.365484"], ["id", "5bf8e58c-bd6a-4fdb-a89b-52d55a4f9058"]]
|
441
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
442
|
+
Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (1.6ms)
|
481
443
|
|
482
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
444
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
|
483
445
|
|
484
|
-
Sent mail to joe-
|
485
|
-
Date:
|
446
|
+
Sent mail to joe-10@example.com (1.5ms)
|
447
|
+
Date: Mon, 09 Feb 2015 20:44:23 +0000
|
486
448
|
From: please-change-me-at-config-initializers-devise@example.com
|
487
449
|
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
488
|
-
To: joe-
|
489
|
-
Message-ID: <
|
450
|
+
To: joe-10@example.com
|
451
|
+
Message-ID: <54d91c275a4bf_2a843fd7f8465be439772@Aarons-iMac.local.mail>
|
490
452
|
Subject: Confirmation instructions
|
491
453
|
Mime-Version: 1.0
|
492
454
|
Content-Type: text/html;
|
493
455
|
charset=UTF-8
|
494
456
|
Content-Transfer-Encoding: 7bit
|
495
457
|
|
496
|
-
<p>Welcome joe-
|
458
|
+
<p>Welcome joe-10@example.com!</p>
|
497
459
|
|
498
460
|
<p>You can confirm your account email through the link below:</p>
|
499
461
|
|
500
|
-
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
462
|
+
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=dtD2BzdejVEinqxuuXCQ">Confirm my account</a></p>
|
501
463
|
|
502
|
-
|
503
|
-
|
504
|
-
Parameters: {"confirmation_token"=>"NpNseeSq2FacCtzBMYR5"}
|
505
|
-
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "ba3d0b2c232d41d2509aa652e5bf5a741fe0629eccdd37a6dbd5e264790b40a6"]]
|
506
|
-
Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/shared/_links.html.erb (2.9ms)
|
507
|
-
Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (5.3ms)
|
508
|
-
Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.1ms)
|
464
|
+
Redirected to /push_type/users
|
465
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.7ms)
|
509
466
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
510
467
|
[1m[35m (0.1ms)[0m ROLLBACK
|
511
468
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
512
|
-
|
513
|
-
PushType::ProfilesController::
|
514
|
-
|
469
|
+
------------------------------------------------------------
|
470
|
+
PushType::ProfilesController::GET #edit: test_0001_anonymous
|
471
|
+
------------------------------------------------------------
|
515
472
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
516
473
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
517
474
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
518
475
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
519
|
-
[1m[35mPushType::User Exists (0.
|
520
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-
|
521
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-
|
476
|
+
[1m[35mPushType::User Exists (0.3ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
|
477
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1[0m
|
478
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-11@example.com"], ["confirmation_sent_at", "2015-02-09 20:44:23.373742"], ["confirmed_at", "2015-02-09 20:44:23.373852"], ["confirmation_token", "Generated account"], ["created_at", "2015-02-09 20:44:23.375721"], ["updated_at", "2015-02-09 20:44:23.375721"]]
|
522
479
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
523
|
-
Processing by PushType::ProfilesController#
|
524
|
-
|
525
|
-
|
480
|
+
Processing by PushType::ProfilesController#edit as HTML
|
481
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "613a37bd-b5e7-40c3-88f5-4426a14ab217"]]
|
482
|
+
Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (4.5ms)
|
483
|
+
Completed 200 OK in 85ms (Views: 83.1ms | ActiveRecord: 0.1ms)
|
484
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
485
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
486
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
487
|
+
------------------------------------------------------------
|
488
|
+
PushType::ProfilesController::GET #edit: test_0002_anonymous
|
489
|
+
------------------------------------------------------------
|
490
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
491
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
492
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
526
493
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
527
|
-
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE
|
528
|
-
[1m[
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
[1m[
|
533
|
-
|
534
|
-
|
535
|
-
PushType::ProfilesController::PUT #update::with invalid user: test_0001_anonymous
|
536
|
-
---------------------------------------------------------------------------------
|
537
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
538
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
539
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
540
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
541
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1[0m
|
542
|
-
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
|
543
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-14@example.com"], ["confirmation_sent_at", "2015-02-08 15:04:01.716617"], ["confirmed_at", "2015-02-08 15:04:01.716732"], ["confirmation_token", "Generated account"], ["created_at", "2015-02-08 15:04:01.718373"], ["updated_at", "2015-02-08 15:04:01.718373"]]
|
544
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
545
|
-
Processing by PushType::ProfilesController#update as HTML
|
546
|
-
Parameters: {"user"=>{"name"=>""}}
|
547
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["id", "add190bf-aed6-4226-9fcc-74eaf98adb38"]]
|
548
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
549
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-14@example.com' AND "push_type_users"."id" != 'add190bf-aed6-4226-9fcc-74eaf98adb38') LIMIT 1[0m
|
550
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
|
551
|
-
Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (5.0ms)
|
552
|
-
Completed 200 OK in 20ms (Views: 15.6ms | ActiveRecord: 0.5ms)
|
494
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
|
495
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1[0m
|
496
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-12@example.com"], ["confirmation_sent_at", "2015-02-09 20:44:23.466541"], ["confirmed_at", "2015-02-09 20:44:23.466657"], ["confirmation_token", "Generated account"], ["created_at", "2015-02-09 20:44:23.468331"], ["updated_at", "2015-02-09 20:44:23.468331"]]
|
497
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
498
|
+
Processing by PushType::ProfilesController#edit as HTML
|
499
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "fa6ae11b-93a2-4849-ae26-7155e687c19e"]]
|
500
|
+
Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (4.2ms)
|
501
|
+
Completed 200 OK in 16ms (Views: 14.1ms | ActiveRecord: 0.1ms)
|
553
502
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
554
503
|
[1m[35m (0.1ms)[0m ROLLBACK
|
555
504
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
556
|
-
|
557
|
-
PushType::ConfirmationsController::PUT #update::with
|
558
|
-
|
505
|
+
--------------------------------------------------------------------------------------
|
506
|
+
PushType::ConfirmationsController::PUT #update::with invalid user: test_0003_anonymous
|
507
|
+
--------------------------------------------------------------------------------------
|
559
508
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
560
509
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
561
510
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
562
511
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
563
|
-
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-
|
564
|
-
[1m[36mPushType::User Exists (0.
|
565
|
-
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "
|
566
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-
|
512
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
|
513
|
+
[1m[36mPushType::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1[0m
|
514
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "5034c93a269f54cb99441c49e98bb35c408d410fe5876f402473d967aa741842"]]
|
515
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-13@example.com"], ["created_at", "2015-02-09 20:44:23.493093"], ["updated_at", "2015-02-09 20:44:23.493093"], ["confirmation_token", "5034c93a269f54cb99441c49e98bb35c408d410fe5876f402473d967aa741842"], ["confirmation_sent_at", "2015-02-09 20:44:23.494036"]]
|
567
516
|
Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (2.0ms)
|
568
517
|
|
569
518
|
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.9ms
|
570
519
|
|
571
|
-
Sent mail to joe-
|
572
|
-
Date:
|
520
|
+
Sent mail to joe-13@example.com (1.5ms)
|
521
|
+
Date: Mon, 09 Feb 2015 20:44:23 +0000
|
573
522
|
From: please-change-me-at-config-initializers-devise@example.com
|
574
523
|
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
575
|
-
To: joe-
|
576
|
-
Message-ID: <
|
524
|
+
To: joe-13@example.com
|
525
|
+
Message-ID: <54d91c2779c34_2a843fd7f8465be43987b@Aarons-iMac.local.mail>
|
577
526
|
Subject: Confirmation instructions
|
578
527
|
Mime-Version: 1.0
|
579
528
|
Content-Type: text/html;
|
580
529
|
charset=UTF-8
|
581
530
|
Content-Transfer-Encoding: 7bit
|
582
531
|
|
583
|
-
<p>Welcome joe-
|
532
|
+
<p>Welcome joe-13@example.com!</p>
|
584
533
|
|
585
534
|
<p>You can confirm your account email through the link below:</p>
|
586
535
|
|
587
|
-
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
536
|
+
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=sLpPJtrwxqvmf6DT9DvJ">Confirm my account</a></p>
|
588
537
|
|
589
538
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
590
539
|
Processing by PushType::ConfirmationsController#update as HTML
|
591
|
-
Parameters: {"user"=>{"confirmation_token"=>"
|
592
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "
|
593
|
-
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-
|
540
|
+
Parameters: {"user"=>{"confirmation_token"=>"sLpPJtrwxqvmf6DT9DvJ", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
541
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "5034c93a269f54cb99441c49e98bb35c408d410fe5876f402473d967aa741842"]]
|
542
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-13@example.com' AND "push_type_users"."id" != '60849f52-3a91-4e10-8e5b-8753ee7e5fc7') LIMIT 1
|
543
|
+
Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/shared/_links.html.erb (4.9ms)
|
544
|
+
Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (12.6ms)
|
545
|
+
Completed 200 OK in 19ms (Views: 16.3ms | ActiveRecord: 0.4ms)
|
546
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
547
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
548
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
549
|
+
--------------------------------------------------------------------------------------
|
550
|
+
PushType::ConfirmationsController::PUT #update::with invalid user: test_0002_anonymous
|
551
|
+
--------------------------------------------------------------------------------------
|
552
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
553
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
554
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
594
555
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
595
|
-
[1m[
|
596
|
-
[1m[
|
597
|
-
[1m[
|
598
|
-
[1m[36mSQL (0.
|
599
|
-
|
600
|
-
Redirected to http://test.host/push_type/
|
601
|
-
Completed 302 Found in 9ms (ActiveRecord: 1.0ms)
|
602
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1[0m [["id", "188af7e5-f18c-47c1-9b2d-fa0f9d914a06"]]
|
603
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
604
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
605
|
-
[1m[35m (0.1ms)[0m BEGIN
|
606
|
-
------------------------------------------------------------------------------------
|
607
|
-
PushType::ConfirmationsController::PUT #update::with valid user: test_0002_anonymous
|
608
|
-
------------------------------------------------------------------------------------
|
609
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
610
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
611
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
612
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
613
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1[0m
|
614
|
-
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
|
615
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "be489c4e48a0f096cf6d281edbda6c56e46ad586a26e18a3c2831f7ecc08a93c"]]
|
616
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-16@example.com"], ["created_at", "2015-02-08 15:04:01.769214"], ["updated_at", "2015-02-08 15:04:01.769214"], ["confirmation_token", "be489c4e48a0f096cf6d281edbda6c56e46ad586a26e18a3c2831f7ecc08a93c"], ["confirmation_sent_at", "2015-02-08 15:04:01.770032"]]
|
617
|
-
Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (1.9ms)
|
556
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
|
557
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1[0m
|
558
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "ab69ac2275e595941a883d73f207ae37a4610c2bbec8e73546db44ca1cfbf4f5"]]
|
559
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-14@example.com"], ["created_at", "2015-02-09 20:44:23.524911"], ["updated_at", "2015-02-09 20:44:23.524911"], ["confirmation_token", "ab69ac2275e595941a883d73f207ae37a4610c2bbec8e73546db44ca1cfbf4f5"], ["confirmation_sent_at", "2015-02-09 20:44:23.525807"]]
|
560
|
+
Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (1.8ms)
|
618
561
|
|
619
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
562
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms
|
620
563
|
|
621
|
-
Sent mail to joe-
|
622
|
-
Date:
|
564
|
+
Sent mail to joe-14@example.com (1.5ms)
|
565
|
+
Date: Mon, 09 Feb 2015 20:44:23 +0000
|
623
566
|
From: please-change-me-at-config-initializers-devise@example.com
|
624
567
|
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
625
|
-
To: joe-
|
626
|
-
Message-ID: <
|
568
|
+
To: joe-14@example.com
|
569
|
+
Message-ID: <54d91c2781734_2a843fd7f8465be4399b6@Aarons-iMac.local.mail>
|
627
570
|
Subject: Confirmation instructions
|
628
571
|
Mime-Version: 1.0
|
629
572
|
Content-Type: text/html;
|
630
573
|
charset=UTF-8
|
631
574
|
Content-Transfer-Encoding: 7bit
|
632
575
|
|
633
|
-
<p>Welcome joe-
|
576
|
+
<p>Welcome joe-14@example.com!</p>
|
634
577
|
|
635
578
|
<p>You can confirm your account email through the link below:</p>
|
636
579
|
|
637
|
-
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
580
|
+
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=N5MPPCnzsQJux-GKd7jz">Confirm my account</a></p>
|
638
581
|
|
639
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
640
|
-
Processing by PushType::ConfirmationsController#update as HTML
|
641
|
-
Parameters: {"user"=>{"confirmation_token"=>"yBbgv-4iyaq5m3zA5HMB", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
642
|
-
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "be489c4e48a0f096cf6d281edbda6c56e46ad586a26e18a3c2831f7ecc08a93c"]]
|
643
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-16@example.com' AND "push_type_users"."id" != '5ea74e45-574f-4e84-9467-ce0f6dc31bb3') LIMIT 1[0m
|
644
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
645
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "push_type_users" SET "confirmation_token" = $1, "encrypted_password" = $2, "confirmed_at" = $3, "updated_at" = $4 WHERE "push_type_users"."id" = $5[0m [["confirmation_token", nil], ["encrypted_password", "$2a$04$7XHI8HzsavkFGe1XhCeOIu.6e3HbjEfpCxsVkb79lZvDQliWmzuUq"], ["confirmed_at", "2015-02-08 15:04:01.780705"], ["updated_at", "2015-02-08 15:04:01.781046"], ["id", "5ea74e45-574f-4e84-9467-ce0f6dc31bb3"]]
|
646
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
647
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
648
|
-
[1m[35mSQL (0.1ms)[0m UPDATE "push_type_users" SET "last_sign_in_at" = $1, "current_sign_in_at" = $2, "last_sign_in_ip" = $3, "current_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7 [["last_sign_in_at", "2015-02-08 15:04:01.782285"], ["current_sign_in_at", "2015-02-08 15:04:01.782285"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-02-08 15:04:01.782862"], ["id", "5ea74e45-574f-4e84-9467-ce0f6dc31bb3"]]
|
649
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
650
|
-
Redirected to http://test.host/push_type/
|
651
|
-
Completed 302 Found in 8ms (ActiveRecord: 1.0ms)
|
652
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
653
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
654
|
-
[1m[35m (0.1ms)[0m BEGIN
|
655
|
-
-----------------------------------------------------------
|
656
|
-
PushType::UsersController::PUT #invite: test_0001_anonymous
|
657
|
-
-----------------------------------------------------------
|
658
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
659
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
660
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
661
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
662
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1[0m
|
663
|
-
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
|
664
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-17@example.com"], ["confirmation_sent_at", "2015-02-08 15:04:01.789047"], ["confirmed_at", "2015-02-08 15:04:01.789160"], ["confirmation_token", "Generated account"], ["created_at", "2015-02-08 15:04:01.790823"], ["updated_at", "2015-02-08 15:04:01.790823"]]
|
665
582
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
583
|
+
Processing by PushType::ConfirmationsController#update as HTML
|
584
|
+
Parameters: {"user"=>{"confirmation_token"=>"N5MPPCnzsQJux-GKd7jz", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
585
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "ab69ac2275e595941a883d73f207ae37a4610c2bbec8e73546db44ca1cfbf4f5"]]
|
586
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-14@example.com' AND "push_type_users"."id" != 'e5481b30-8b92-45f2-a069-d854bb6bddb7') LIMIT 1
|
587
|
+
Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/shared/_links.html.erb (2.7ms)
|
588
|
+
Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (5.3ms)
|
589
|
+
Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.3ms)
|
590
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
591
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
592
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
593
|
+
--------------------------------------------------------------------------------------
|
594
|
+
PushType::ConfirmationsController::PUT #update::with invalid user: test_0001_anonymous
|
595
|
+
--------------------------------------------------------------------------------------
|
596
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
597
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
598
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
666
599
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
667
|
-
[1m[35mPushType::User Exists (0.
|
668
|
-
[1m[36mPushType::User Exists (0.
|
669
|
-
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "
|
670
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-
|
671
|
-
Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (
|
600
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
|
601
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1[0m
|
602
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "c921ecc9bc9d5bd8a0d99d7d7640761c2e899c66b08ff2639b1777dabb8c7437"]]
|
603
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-15@example.com"], ["created_at", "2015-02-09 20:44:23.545801"], ["updated_at", "2015-02-09 20:44:23.545801"], ["confirmation_token", "c921ecc9bc9d5bd8a0d99d7d7640761c2e899c66b08ff2639b1777dabb8c7437"], ["confirmation_sent_at", "2015-02-09 20:44:23.546705"]]
|
604
|
+
Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (1.8ms)
|
672
605
|
|
673
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
606
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms
|
674
607
|
|
675
|
-
Sent mail to joe-
|
676
|
-
Date:
|
608
|
+
Sent mail to joe-15@example.com (1.5ms)
|
609
|
+
Date: Mon, 09 Feb 2015 20:44:23 +0000
|
677
610
|
From: please-change-me-at-config-initializers-devise@example.com
|
678
611
|
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
679
|
-
To: joe-
|
680
|
-
Message-ID: <
|
612
|
+
To: joe-15@example.com
|
613
|
+
Message-ID: <54d91c27868a3_2a843fd7f8465be44006f@Aarons-iMac.local.mail>
|
681
614
|
Subject: Confirmation instructions
|
682
615
|
Mime-Version: 1.0
|
683
616
|
Content-Type: text/html;
|
684
617
|
charset=UTF-8
|
685
618
|
Content-Transfer-Encoding: 7bit
|
686
619
|
|
687
|
-
<p>Welcome joe-
|
620
|
+
<p>Welcome joe-15@example.com!</p>
|
688
621
|
|
689
622
|
<p>You can confirm your account email through the link below:</p>
|
690
623
|
|
691
|
-
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
624
|
+
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=pggcwEvx9Mm6G_XD1Z81">Confirm my account</a></p>
|
692
625
|
|
693
626
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
694
|
-
Processing by PushType::
|
695
|
-
Parameters: {"
|
696
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."
|
697
|
-
[1m[35mPushType::User
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
[1m[
|
627
|
+
Processing by PushType::ConfirmationsController#update as HTML
|
628
|
+
Parameters: {"user"=>{"confirmation_token"=>"pggcwEvx9Mm6G_XD1Z81", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
629
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "c921ecc9bc9d5bd8a0d99d7d7640761c2e899c66b08ff2639b1777dabb8c7437"]]
|
630
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-15@example.com' AND "push_type_users"."id" != 'aa22b5f9-5cbf-42fb-835b-cbf8ea6710bd') LIMIT 1
|
631
|
+
Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/shared/_links.html.erb (2.7ms)
|
632
|
+
Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (5.5ms)
|
633
|
+
Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.4ms)
|
634
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
635
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
636
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
637
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
|
638
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1[0m
|
639
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "8fdc36b85fd0557335b182869a40361cd176937c52618c84fd42aa47dded7159"]]
|
640
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-16@example.com"], ["created_at", "2015-02-09 20:44:23.566426"], ["updated_at", "2015-02-09 20:44:23.566426"], ["confirmation_token", "8fdc36b85fd0557335b182869a40361cd176937c52618c84fd42aa47dded7159"], ["confirmation_sent_at", "2015-02-09 20:44:23.567312"]]
|
702
641
|
Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (1.7ms)
|
703
642
|
|
704
643
|
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
|
705
644
|
|
706
|
-
Sent mail to joe-
|
707
|
-
Date:
|
645
|
+
Sent mail to joe-16@example.com (1.6ms)
|
646
|
+
Date: Mon, 09 Feb 2015 20:44:23 +0000
|
708
647
|
From: please-change-me-at-config-initializers-devise@example.com
|
709
648
|
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
710
|
-
To: joe-
|
711
|
-
Message-ID: <
|
649
|
+
To: joe-16@example.com
|
650
|
+
Message-ID: <54d91c278b8dc_2a843fd7f8465be44016@Aarons-iMac.local.mail>
|
712
651
|
Subject: Confirmation instructions
|
713
652
|
Mime-Version: 1.0
|
714
653
|
Content-Type: text/html;
|
715
654
|
charset=UTF-8
|
716
655
|
Content-Transfer-Encoding: 7bit
|
717
656
|
|
718
|
-
<p>Welcome joe-
|
657
|
+
<p>Welcome joe-16@example.com!</p>
|
719
658
|
|
720
659
|
<p>You can confirm your account email through the link below:</p>
|
721
660
|
|
722
|
-
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
661
|
+
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=wujmJHQf3dncrV_qzpf8">Confirm my account</a></p>
|
723
662
|
|
724
|
-
|
725
|
-
Completed 302 Found in 10ms (ActiveRecord: 0.7ms)
|
726
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
727
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
663
|
+
[1m[35m (0.4ms)[0m COMMIT
|
728
664
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
[1m[
|
733
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
734
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
735
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
736
|
-
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
|
737
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1[0m
|
738
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-19@example.com"], ["confirmation_sent_at", "2015-02-08 15:04:01.814568"], ["confirmed_at", "2015-02-08 15:04:01.814679"], ["confirmation_token", "Generated account"], ["created_at", "2015-02-08 15:04:01.816327"], ["updated_at", "2015-02-08 15:04:01.816327"]]
|
739
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
740
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
741
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1[0m
|
742
|
-
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
|
743
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "b4b72f1bcfc890d0e55ce9691548470288978d3c7ca88d45a3a5de75ac5c1df2"]]
|
744
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-20@example.com"], ["created_at", "2015-02-08 15:04:01.819169"], ["updated_at", "2015-02-08 15:04:01.819169"], ["confirmation_token", "b4b72f1bcfc890d0e55ce9691548470288978d3c7ca88d45a3a5de75ac5c1df2"], ["confirmation_sent_at", "2015-02-08 15:04:01.820006"]]
|
665
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
|
666
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1[0m
|
667
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "229fa67d09fcc5b7f5a46a63cbeb4557ee39a89f8e7b712893ddb9e442f888df"]]
|
668
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-17@example.com"], ["created_at", "2015-02-09 20:44:23.576273"], ["updated_at", "2015-02-09 20:44:23.576273"], ["confirmation_token", "229fa67d09fcc5b7f5a46a63cbeb4557ee39a89f8e7b712893ddb9e442f888df"], ["confirmation_sent_at", "2015-02-09 20:44:23.577178"]]
|
745
669
|
Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (2.0ms)
|
746
670
|
|
747
671
|
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.9ms
|
748
672
|
|
749
|
-
Sent mail to joe-
|
750
|
-
Date:
|
673
|
+
Sent mail to joe-17@example.com (1.6ms)
|
674
|
+
Date: Mon, 09 Feb 2015 20:44:23 +0000
|
751
675
|
From: please-change-me-at-config-initializers-devise@example.com
|
752
676
|
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
753
|
-
To: joe-
|
754
|
-
Message-ID: <
|
677
|
+
To: joe-17@example.com
|
678
|
+
Message-ID: <54d91c278e08f_2a843fd7f8465be44024e@Aarons-iMac.local.mail>
|
755
679
|
Subject: Confirmation instructions
|
756
680
|
Mime-Version: 1.0
|
757
681
|
Content-Type: text/html;
|
758
682
|
charset=UTF-8
|
759
683
|
Content-Transfer-Encoding: 7bit
|
760
684
|
|
761
|
-
<p>Welcome joe-
|
685
|
+
<p>Welcome joe-17@example.com!</p>
|
762
686
|
|
763
687
|
<p>You can confirm your account email through the link below:</p>
|
764
688
|
|
765
|
-
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
689
|
+
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=buuER_ELSCdFyzx_4sXz">Confirm my account</a></p>
|
766
690
|
|
767
|
-
[1m[
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
[1m[
|
691
|
+
[1m[35m (0.3ms)[0m COMMIT
|
692
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
693
|
+
------------------------------------------------------------------------------------------------
|
694
|
+
PushType::ConfirmationsController::GET #show::with valid confirmation token: test_0001_anonymous
|
695
|
+
------------------------------------------------------------------------------------------------
|
696
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
697
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
698
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
773
699
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
774
|
-
[1m[
|
775
|
-
[1m[
|
776
|
-
|
700
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
|
701
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1[0m
|
702
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "4ec50273acff67e16bfc167e405c4f934bec6bd1bedf61d38361e56693d2fdf1"]]
|
703
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-18@example.com"], ["created_at", "2015-02-09 20:44:23.591387"], ["updated_at", "2015-02-09 20:44:23.591387"], ["confirmation_token", "4ec50273acff67e16bfc167e405c4f934bec6bd1bedf61d38361e56693d2fdf1"], ["confirmation_sent_at", "2015-02-09 20:44:23.592288"]]
|
704
|
+
Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (2.5ms)
|
777
705
|
|
778
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
706
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 3.4ms
|
779
707
|
|
780
|
-
Sent mail to joe-
|
781
|
-
Date:
|
708
|
+
Sent mail to joe-18@example.com (1.5ms)
|
709
|
+
Date: Mon, 09 Feb 2015 20:44:23 +0000
|
782
710
|
From: please-change-me-at-config-initializers-devise@example.com
|
783
711
|
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
784
|
-
To: joe-
|
785
|
-
Message-ID: <
|
712
|
+
To: joe-18@example.com
|
713
|
+
Message-ID: <54d91c2791dcd_2a843fd7f8465be4403d2@Aarons-iMac.local.mail>
|
786
714
|
Subject: Confirmation instructions
|
787
715
|
Mime-Version: 1.0
|
788
716
|
Content-Type: text/html;
|
789
717
|
charset=UTF-8
|
790
718
|
Content-Transfer-Encoding: 7bit
|
791
719
|
|
792
|
-
<p>Welcome joe-
|
720
|
+
<p>Welcome joe-18@example.com!</p>
|
793
721
|
|
794
722
|
<p>You can confirm your account email through the link below:</p>
|
795
723
|
|
796
|
-
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
724
|
+
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=2nwkyCA2vz_JWPpYRxju">Confirm my account</a></p>
|
797
725
|
|
798
|
-
|
799
|
-
|
726
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
727
|
+
Processing by PushType::ConfirmationsController#show as HTML
|
728
|
+
Parameters: {"confirmation_token"=>"2nwkyCA2vz_JWPpYRxju"}
|
729
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "4ec50273acff67e16bfc167e405c4f934bec6bd1bedf61d38361e56693d2fdf1"]]
|
730
|
+
Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/shared/_links.html.erb (2.9ms)
|
731
|
+
Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (5.4ms)
|
732
|
+
Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.1ms)
|
800
733
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
801
734
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
802
735
|
[1m[35m (0.1ms)[0m BEGIN
|
803
|
-
|
804
|
-
PushType::
|
805
|
-
|
736
|
+
------------------------------------------------------------------------------------------------
|
737
|
+
PushType::ConfirmationsController::GET #show::with valid confirmation token: test_0002_anonymous
|
738
|
+
------------------------------------------------------------------------------------------------
|
806
739
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
807
740
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
808
741
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
809
742
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
810
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-
|
811
|
-
[1m[35mPushType::User Exists (0.
|
812
|
-
[1m[
|
813
|
-
[1m[
|
814
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
815
|
-
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
|
816
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1[0m
|
817
|
-
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "f4038c4678e0616c69f87060c732b7290fc39812329e495b8dece986ad48781a"]]
|
818
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-22@example.com"], ["created_at", "2015-02-08 15:04:01.843851"], ["updated_at", "2015-02-08 15:04:01.843851"], ["confirmation_token", "f4038c4678e0616c69f87060c732b7290fc39812329e495b8dece986ad48781a"], ["confirmation_sent_at", "2015-02-08 15:04:01.844693"]]
|
743
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1[0m
|
744
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
|
745
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "87db0d6c3cac85312b074aa2f5b9ee557f425e69325fa11a67483b7ede98291d"]]
|
746
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-19@example.com"], ["created_at", "2015-02-09 20:44:23.611841"], ["updated_at", "2015-02-09 20:44:23.611841"], ["confirmation_token", "87db0d6c3cac85312b074aa2f5b9ee557f425e69325fa11a67483b7ede98291d"], ["confirmation_sent_at", "2015-02-09 20:44:23.612745"]]
|
819
747
|
Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (2.0ms)
|
820
748
|
|
821
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
749
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.9ms
|
822
750
|
|
823
|
-
Sent mail to joe-
|
824
|
-
Date:
|
751
|
+
Sent mail to joe-19@example.com (1.5ms)
|
752
|
+
Date: Mon, 09 Feb 2015 20:44:23 +0000
|
825
753
|
From: please-change-me-at-config-initializers-devise@example.com
|
826
754
|
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
827
|
-
To: joe-
|
828
|
-
Message-ID: <
|
755
|
+
To: joe-19@example.com
|
756
|
+
Message-ID: <54d91c2796b80_2a843fd7f8465be4404f9@Aarons-iMac.local.mail>
|
829
757
|
Subject: Confirmation instructions
|
830
758
|
Mime-Version: 1.0
|
831
759
|
Content-Type: text/html;
|
832
760
|
charset=UTF-8
|
833
761
|
Content-Transfer-Encoding: 7bit
|
834
762
|
|
835
|
-
<p>Welcome joe-
|
763
|
+
<p>Welcome joe-19@example.com!</p>
|
836
764
|
|
837
765
|
<p>You can confirm your account email through the link below:</p>
|
838
766
|
|
839
|
-
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
767
|
+
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=MtCLNC795vCsG9xBNF8L">Confirm my account</a></p>
|
840
768
|
|
769
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
770
|
+
Processing by PushType::ConfirmationsController#show as HTML
|
771
|
+
Parameters: {"confirmation_token"=>"MtCLNC795vCsG9xBNF8L"}
|
772
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "87db0d6c3cac85312b074aa2f5b9ee557f425e69325fa11a67483b7ede98291d"]]
|
773
|
+
Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/shared/_links.html.erb (3.0ms)
|
774
|
+
Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (5.9ms)
|
775
|
+
Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.1ms)
|
776
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
777
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
778
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
779
|
+
--------------------------------------------------------------------------------------------------
|
780
|
+
PushType::ConfirmationsController::GET #show::with invalid confirmation token: test_0001_anonymous
|
781
|
+
--------------------------------------------------------------------------------------------------
|
782
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
783
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
784
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
785
|
+
Processing by PushType::ConfirmationsController#show as HTML
|
786
|
+
Parameters: {"confirmation_token"=>"invalid"}
|
787
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "5e03f58ab7a9e45e5b53cb11d04a61cb89280f33f75b7f3593b25f24b7c91a89"]]
|
788
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "5e03f58ab7a9e45e5b53cb11d04a61cb89280f33f75b7f3593b25f24b7c91a89"]]
|
789
|
+
Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/shared/_links.html.erb (2.8ms)
|
790
|
+
Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (7.1ms)
|
791
|
+
Completed 200 OK in 12ms (Views: 9.0ms | ActiveRecord: 0.2ms)
|
792
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
793
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
794
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
795
|
+
--------------------------------------------------------------------------------------------------
|
796
|
+
PushType::ConfirmationsController::GET #show::with invalid confirmation token: test_0002_anonymous
|
797
|
+
--------------------------------------------------------------------------------------------------
|
798
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
799
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
800
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
801
|
+
Processing by PushType::ConfirmationsController#show as HTML
|
802
|
+
Parameters: {"confirmation_token"=>"invalid"}
|
803
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "5e03f58ab7a9e45e5b53cb11d04a61cb89280f33f75b7f3593b25f24b7c91a89"]]
|
804
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "5e03f58ab7a9e45e5b53cb11d04a61cb89280f33f75b7f3593b25f24b7c91a89"]]
|
805
|
+
Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/shared/_links.html.erb (3.0ms)
|
806
|
+
Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (5.4ms)
|
807
|
+
Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.2ms)
|
808
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
809
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
810
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
811
|
+
-------------------------------------------------------------------------------
|
812
|
+
PushType::ProfilesController::PUT #update::with valid user: test_0002_anonymous
|
813
|
+
-------------------------------------------------------------------------------
|
814
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
815
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
816
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
817
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
818
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
|
819
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1[0m
|
820
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-20@example.com"], ["confirmation_sent_at", "2015-02-09 20:44:23.659588"], ["confirmed_at", "2015-02-09 20:44:23.659704"], ["confirmation_token", "Generated account"], ["created_at", "2015-02-09 20:44:23.661682"], ["updated_at", "2015-02-09 20:44:23.661682"]]
|
821
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
822
|
+
Processing by PushType::ProfilesController#update as HTML
|
823
|
+
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
824
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "5ffbdd84-98ce-47cc-a0c7-990c35836542"]]
|
825
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
826
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-20@example.com' AND "push_type_users"."id" != '5ffbdd84-98ce-47cc-a0c7-990c35836542') LIMIT 1
|
827
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3[0m [["name", "Test user ABC"], ["updated_at", "2015-02-09 20:44:23.668431"], ["id", "5ffbdd84-98ce-47cc-a0c7-990c35836542"]]
|
841
828
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
842
|
-
|
843
|
-
|
844
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["id", "d331c0e5-7486-4575-89d1-60a85e66a276"]]
|
845
|
-
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "3dcb43e7-7ae7-4348-a0ec-f4c579bf6aab"]]
|
846
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "b09a7781de6f81f461bdf5d6af6ae83a1352c3a16b5f27fea82c9d2f6abb3be9"]]
|
847
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
848
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "push_type_users" SET "confirmation_token" = $1, "confirmation_sent_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4[0m [["confirmation_token", "b09a7781de6f81f461bdf5d6af6ae83a1352c3a16b5f27fea82c9d2f6abb3be9"], ["confirmation_sent_at", "2015-02-08 15:04:01.855258"], ["updated_at", "2015-02-08 15:04:01.855583"], ["id", "3dcb43e7-7ae7-4348-a0ec-f4c579bf6aab"]]
|
849
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
850
|
-
Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (1.7ms)
|
851
|
-
|
852
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
|
853
|
-
|
854
|
-
Sent mail to joe-22@example.com (1.5ms)
|
855
|
-
Date: Sun, 08 Feb 2015 15:04:01 +0000
|
856
|
-
From: please-change-me-at-config-initializers-devise@example.com
|
857
|
-
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
858
|
-
To: joe-22@example.com
|
859
|
-
Message-ID: <54d77ae1d1f90_185d3fd58d065bec469ba@Aarons-iMac.local.mail>
|
860
|
-
Subject: Confirmation instructions
|
861
|
-
Mime-Version: 1.0
|
862
|
-
Content-Type: text/html;
|
863
|
-
charset=UTF-8
|
864
|
-
Content-Transfer-Encoding: 7bit
|
865
|
-
|
866
|
-
<p>Welcome joe-22@example.com!</p>
|
867
|
-
|
868
|
-
<p>You can confirm your account email through the link below:</p>
|
869
|
-
|
870
|
-
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=Y3yhyf8PCqPvzwQiCo1t">Confirm my account</a></p>
|
871
|
-
|
872
|
-
Redirected to /push_type/users
|
873
|
-
Completed 302 Found in 10ms (ActiveRecord: 0.7ms)
|
829
|
+
Redirected to http://test.host/push_type/profile/edit
|
830
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
|
874
831
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
875
832
|
[1m[35m (0.1ms)[0m ROLLBACK
|
833
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
834
|
+
-------------------------------------------------------------------------------
|
835
|
+
PushType::ProfilesController::PUT #update::with valid user: test_0001_anonymous
|
836
|
+
-------------------------------------------------------------------------------
|
837
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
838
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
839
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
840
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
841
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
|
842
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1[0m
|
843
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-21@example.com"], ["confirmation_sent_at", "2015-02-09 20:44:23.673241"], ["confirmed_at", "2015-02-09 20:44:23.673347"], ["confirmation_token", "Generated account"], ["created_at", "2015-02-09 20:44:23.674969"], ["updated_at", "2015-02-09 20:44:23.674969"]]
|
844
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
845
|
+
Processing by PushType::ProfilesController#update as HTML
|
846
|
+
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
847
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "7d9ea463-669e-41b4-b763-01f0c61b4422"]]
|
848
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
849
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-21@example.com' AND "push_type_users"."id" != '7d9ea463-669e-41b4-b763-01f0c61b4422') LIMIT 1
|
850
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3[0m [["name", "Test user ABC"], ["updated_at", "2015-02-09 20:44:23.681981"], ["id", "7d9ea463-669e-41b4-b763-01f0c61b4422"]]
|
851
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
852
|
+
Redirected to http://test.host/push_type/profile/edit
|
853
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
|
854
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1[0m [["id", "7d9ea463-669e-41b4-b763-01f0c61b4422"]]
|
855
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
856
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
857
|
+
[1m[35m (0.1ms)[0m BEGIN
|
858
|
+
-------------------------------------------------------------------------------
|
859
|
+
PushType::ProfilesController::PUT #update::with valid user: test_0003_anonymous
|
860
|
+
-------------------------------------------------------------------------------
|
861
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
862
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
863
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
864
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
865
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1[0m
|
866
|
+
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
|
867
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-22@example.com"], ["confirmation_sent_at", "2015-02-09 20:44:23.687650"], ["confirmed_at", "2015-02-09 20:44:23.687756"], ["confirmation_token", "Generated account"], ["created_at", "2015-02-09 20:44:23.689364"], ["updated_at", "2015-02-09 20:44:23.689364"]]
|
868
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
869
|
+
Processing by PushType::ProfilesController#update as HTML
|
870
|
+
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
871
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["id", "6f36bee7-f66e-42f0-b80d-6815dfd5c16a"]]
|
872
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
873
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-22@example.com' AND "push_type_users"."id" != '6f36bee7-f66e-42f0-b80d-6815dfd5c16a') LIMIT 1[0m
|
874
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2015-02-09 20:44:23.696003"], ["id", "6f36bee7-f66e-42f0-b80d-6815dfd5c16a"]]
|
875
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
876
|
+
Redirected to http://test.host/push_type/profile/edit
|
877
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.6ms)
|
878
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
879
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|