authpro 0.9.3 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0e420e681d69ecd86571fe05235af63b1a848a83
4
- data.tar.gz: eab409a0f70eb3c73c73d392632e5b7af95b2871
3
+ metadata.gz: 6a962d916a49339d4e50d4fa1d0d29a4659322ac
4
+ data.tar.gz: bc7bd3f99c7fff3d7eab7465c09cde335ba2e55e
5
5
  SHA512:
6
- metadata.gz: b771696a51f644e7d19bab9fa2c5571b8f3555eee548a64b82b6153044db1603894d100f79b62fe483829bd3aa340ce8c5babd861670aba0d0af8a3adc36eadc
7
- data.tar.gz: 2e41f8e1dd615c91675febd466af34cb5b69947067e2e5435246689993b4fc585512cdadc47548f25b93e61669992cb0930496e24e94cbfbe001c8496e00af9f
6
+ metadata.gz: 8001f059edc71664e63c63bd1272e9b193543aa43751e8b688535ff9801e9fc029e8eaedd9310cbb8fb4cbb4cf16f8a100691a7445c3e2af06d6ca2dd2e643d9
7
+ data.tar.gz: 33e3ab74eed9a1f1637ce6dc6fef2577a35ce437693195a11a4b7b5ddb20d2ec7f2fe83ef7b95d8aad9059bbb6a68eddc52d50b1d18597918146d788e6dd8e08
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [![Code Climate](https://codeclimate.com/github/ricn/authpro.png)](https://codeclimate.com/github/ricn/authpro)
4
4
  [![Build Status](https://travis-ci.org/ricn/authpro.png?branch=master)](https://travis-ci.org/ricn/authpro)
5
5
 
6
- Authpro is a simple authentication generator for Rails 4.0.0.rc2 It:
6
+ Authpro is a simple authentication generator for Rails 4 It:
7
7
 
8
8
  * Gives you sign up, log in, remember me & password reset functionality
9
9
  * Has no hidden code, special super classes or mixins
@@ -1,3 +1,3 @@
1
1
  module Authpro
2
- VERSION = "0.9.3"
2
+ VERSION = "1.0.0"
3
3
  end
@@ -70,138 +70,138 @@ AuthproGeneratorTest: test_Assert_all_files_are_properly_created
70
70
  ----------------------------------------------------------------
71
71
   (0.3ms) begin transaction
72
72
   (0.1ms) rollback transaction
73
-  (0.4ms) begin transaction
73
+  (0.3ms) begin transaction
74
74
  ------------------------------------------
75
75
  AuthproGeneratorTest: test_generated_files
76
76
  ------------------------------------------
77
-  (0.3ms) rollback transaction
77
+  (0.2ms) rollback transaction
78
78
  ----------------------------------
79
79
  AuthproIntegrationTest: test_login
80
80
  ----------------------------------
81
-  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
82
-  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
81
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
82
+  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
83
83
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
84
- Migrating to CreateUsers (20130612192336)
84
+ Migrating to CreateUsers (20130625163635)
85
85
   (0.1ms) begin transaction
86
86
   (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "password_digest" varchar(255), "auth_token" varchar(255), "password_reset_token" varchar(255), "password_reset_sent_at" datetime, "created_at" datetime, "updated_at" datetime) 
87
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130612192336"]]
88
-  (0.8ms) commit transaction
87
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130625163635"]]
88
+  (1.2ms) commit transaction
89
89
   (0.1ms) begin transaction
90
- User Exists (0.4ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'DzkL7IpcWwk0_2sBAGrccA@sample.com' LIMIT 1
91
- User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'QauPmVim9Nsjt4ni1KPr1g' LIMIT 1
90
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'DJAWMqrIAWcTabEqn-VvPg@sample.com' LIMIT 1
91
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'rFBRLZdX_zyQgx_T3FISOg' LIMIT 1
92
92
  Binary data inserted for `string` type on column `password_digest`
93
- SQL (3.9ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "QauPmVim9Nsjt4ni1KPr1g"], ["created_at", Wed, 12 Jun 2013 19:23:36 UTC +00:00], ["email", "DzkL7IpcWwk0_2sBAGrccA@sample.com"], ["password_digest", "$2a$04$.UWNG1wutCHbi3UhCvP6suLEW.Ha6cUerJ7LFgXM4aZLeVepb.aAW"], ["updated_at", Wed, 12 Jun 2013 19:23:36 UTC +00:00]]
94
-  (2.4ms) commit transaction
95
- Started GET "/" for 127.0.0.1 at 2013-06-12 21:23:36 +0200
93
+ SQL (5.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "rFBRLZdX_zyQgx_T3FISOg"], ["created_at", Tue, 25 Jun 2013 16:36:35 UTC +00:00], ["email", "DJAWMqrIAWcTabEqn-VvPg@sample.com"], ["password_digest", "$2a$04$odFsS8dHCl6AkUDY/SKs/.jBUvuOde0MhtpRz0G4AfPYndqm36l62"], ["updated_at", Tue, 25 Jun 2013 16:36:35 UTC +00:00]]
94
+  (1.3ms) commit transaction
95
+ Started GET "/" for 127.0.0.1 at 2013-06-25 18:36:35 +0200
96
96
  Processing by HomeController#index as HTML
97
97
  Rendered home/index.html.erb within layouts/application (1.5ms)
98
- Completed 200 OK in 42ms (Views: 41.5ms | ActiveRecord: 0.0ms)
99
- Started GET "/login" for 127.0.0.1 at 2013-06-12 21:23:36 +0200
98
+ Completed 200 OK in 39ms (Views: 38.7ms | ActiveRecord: 0.0ms)
99
+ Started GET "/login" for 127.0.0.1 at 2013-06-25 18:36:35 +0200
100
100
  Processing by SessionsController#new as HTML
101
- Rendered sessions/new.html.erb within layouts/application (1.9ms)
102
- Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)
103
- Started POST "/sessions" for 127.0.0.1 at 2013-06-12 21:23:36 +0200
101
+ Rendered sessions/new.html.erb within layouts/application (2.1ms)
102
+ Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms)
103
+ Started POST "/sessions" for 127.0.0.1 at 2013-06-25 18:36:35 +0200
104
104
  Processing by SessionsController#create as HTML
105
- Parameters: {"utf8"=>"✓", "email"=>"DzkL7IpcWwk0_2sBAGrccA@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
106
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'DzkL7IpcWwk0_2sBAGrccA@sample.com' LIMIT 1
105
+ Parameters: {"utf8"=>"✓", "email"=>"DJAWMqrIAWcTabEqn-VvPg@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
106
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'DJAWMqrIAWcTabEqn-VvPg@sample.com' LIMIT 1
107
107
  Redirected to http://www.example.com/
108
108
  Completed 302 Found in 8ms (ActiveRecord: 0.2ms)
109
- Started GET "/" for 127.0.0.1 at 2013-06-12 21:23:36 +0200
109
+ Started GET "/" for 127.0.0.1 at 2013-06-25 18:36:35 +0200
110
110
  Processing by HomeController#index as HTML
111
111
  Rendered home/index.html.erb within layouts/application (0.1ms)
112
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."auth_token" = 'QauPmVim9Nsjt4ni1KPr1g' LIMIT 1
113
- Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.2ms)
114
-  (2.9ms) DELETE FROM "users";
112
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."auth_token" = 'rFBRLZdX_zyQgx_T3FISOg' LIMIT 1
113
+ Completed 200 OK in 52ms (Views: 51.3ms | ActiveRecord: 0.2ms)
114
+  (2.8ms) DELETE FROM "users";
115
115
   (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
116
-  (1.1ms) DELETE FROM sqlite_sequence where name = 'users';
116
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'users';
117
117
  ------------------------------------------
118
118
  AuthproIntegrationTest: test_login_failing
119
119
  ------------------------------------------
120
120
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
121
-  (0.1ms) begin transaction
122
- User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'V3pHg_EtCu3b9MH4V6t41w@sample.com' LIMIT 1
123
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'pZHmr-RrGQp99Wrn81mb6A' LIMIT 1
121
+  (0.2ms) begin transaction
122
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = '_UbFvp_pWE0xrm00Ll1rSg@sample.com' LIMIT 1
123
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'nMgyjPHghr7Iz3iIuwVQvg' LIMIT 1
124
124
  Binary data inserted for `string` type on column `password_digest`
125
- SQL (0.5ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "pZHmr-RrGQp99Wrn81mb6A"], ["created_at", Wed, 12 Jun 2013 19:23:36 UTC +00:00], ["email", "V3pHg_EtCu3b9MH4V6t41w@sample.com"], ["password_digest", "$2a$04$zCSbd0PPM46mHIdFlj0zxedTH8hGHJexKDKMRGV1gMPD9mIPN/7ZC"], ["updated_at", Wed, 12 Jun 2013 19:23:36 UTC +00:00]]
126
-  (1.0ms) commit transaction
127
- Started GET "/" for 127.0.0.1 at 2013-06-12 21:23:36 +0200
125
+ SQL (0.6ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "nMgyjPHghr7Iz3iIuwVQvg"], ["created_at", Tue, 25 Jun 2013 16:36:35 UTC +00:00], ["email", "_UbFvp_pWE0xrm00Ll1rSg@sample.com"], ["password_digest", "$2a$04$eHvqH.knXbPLxiE4puoyZu6.sZhidx2FAXkUls4MJEJRNzLqstiLe"], ["updated_at", Tue, 25 Jun 2013 16:36:35 UTC +00:00]]
126
+  (0.8ms) commit transaction
127
+ Started GET "/" for 127.0.0.1 at 2013-06-25 18:36:35 +0200
128
128
  Processing by HomeController#index as HTML
129
- Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
130
- Started GET "/login" for 127.0.0.1 at 2013-06-12 21:23:36 +0200
129
+ Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
130
+ Started GET "/login" for 127.0.0.1 at 2013-06-25 18:36:35 +0200
131
131
  Processing by SessionsController#new as HTML
132
- Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)
133
- Started POST "/sessions" for 127.0.0.1 at 2013-06-12 21:23:36 +0200
132
+ Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
133
+ Started POST "/sessions" for 127.0.0.1 at 2013-06-25 18:36:35 +0200
134
134
  Processing by SessionsController#create as HTML
135
- Parameters: {"utf8"=>"✓", "email"=>"V3pHg_EtCu3b9MH4V6t41w@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
136
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'V3pHg_EtCu3b9MH4V6t41w@sample.com' LIMIT 1
137
- Completed 200 OK in 8ms (Views: 1.9ms | ActiveRecord: 0.2ms)
138
-  (1.1ms) DELETE FROM "users";
139
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140
-  (1.0ms) DELETE FROM sqlite_sequence where name = 'users';
135
+ Parameters: {"utf8"=>"✓", "email"=>"_UbFvp_pWE0xrm00Ll1rSg@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
136
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = '_UbFvp_pWE0xrm00Ll1rSg@sample.com' LIMIT 1
137
+ Completed 200 OK in 9ms (Views: 2.2ms | ActiveRecord: 0.2ms)
138
+  (1.2ms) DELETE FROM "users";
139
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140
+  (1.1ms) DELETE FROM sqlite_sequence where name = 'users';
141
141
  -----------------------------------
142
142
  AuthproIntegrationTest: test_logout
143
143
  -----------------------------------
144
144
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
145
-  (0.1ms) begin transaction
146
- User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'sAON3N3SA5qR_nrpOkl2Kg@sample.com' LIMIT 1
147
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'WQEGF_uHbcEMrlb4nDisgg' LIMIT 1
145
+  (0.2ms) begin transaction
146
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = '_xzXza8gjrcNKusWr9GdfQ@sample.com' LIMIT 1
147
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'UlBVysw1sRjV7DDdldgsdA' LIMIT 1
148
148
  Binary data inserted for `string` type on column `password_digest`
149
- SQL (0.5ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "WQEGF_uHbcEMrlb4nDisgg"], ["created_at", Wed, 12 Jun 2013 19:23:36 UTC +00:00], ["email", "sAON3N3SA5qR_nrpOkl2Kg@sample.com"], ["password_digest", "$2a$04$v1Qdvvh7il61jQD4rqJDXOa6B.e10.lPG77K96mYYIUFjmaMvvRpi"], ["updated_at", Wed, 12 Jun 2013 19:23:36 UTC +00:00]]
150
-  (0.9ms) commit transaction
151
- Started GET "/login" for 127.0.0.1 at 2013-06-12 21:23:36 +0200
149
+ SQL (0.7ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "UlBVysw1sRjV7DDdldgsdA"], ["created_at", Tue, 25 Jun 2013 16:36:36 UTC +00:00], ["email", "_xzXza8gjrcNKusWr9GdfQ@sample.com"], ["password_digest", "$2a$04$M7KXS7FJ0Prp3.YsQ7PvEulLeEr87JYsn47wLwOHqmxkSvkvUlKDm"], ["updated_at", Tue, 25 Jun 2013 16:36:36 UTC +00:00]]
150
+  (0.8ms) commit transaction
151
+ Started GET "/login" for 127.0.0.1 at 2013-06-25 18:36:36 +0200
152
152
  Processing by SessionsController#new as HTML
153
- Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
154
- Started POST "/sessions" for 127.0.0.1 at 2013-06-12 21:23:36 +0200
153
+ Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)
154
+ Started POST "/sessions" for 127.0.0.1 at 2013-06-25 18:36:36 +0200
155
155
  Processing by SessionsController#create as HTML
156
- Parameters: {"utf8"=>"✓", "email"=>"sAON3N3SA5qR_nrpOkl2Kg@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
157
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'sAON3N3SA5qR_nrpOkl2Kg@sample.com' LIMIT 1
156
+ Parameters: {"utf8"=>"✓", "email"=>"_xzXza8gjrcNKusWr9GdfQ@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
157
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = '_xzXza8gjrcNKusWr9GdfQ@sample.com' LIMIT 1
158
158
  Redirected to http://www.example.com/
159
159
  Completed 302 Found in 7ms (ActiveRecord: 0.2ms)
160
- Started GET "/" for 127.0.0.1 at 2013-06-12 21:23:36 +0200
160
+ Started GET "/" for 127.0.0.1 at 2013-06-25 18:36:36 +0200
161
161
  Processing by HomeController#index as HTML
162
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."auth_token" = 'WQEGF_uHbcEMrlb4nDisgg' LIMIT 1
163
- Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms)
164
- Started GET "/logout" for 127.0.0.1 at 2013-06-12 21:23:36 +0200
162
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."auth_token" = 'UlBVysw1sRjV7DDdldgsdA' LIMIT 1
163
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms)
164
+ Started GET "/logout" for 127.0.0.1 at 2013-06-25 18:36:36 +0200
165
165
  Processing by SessionsController#destroy as HTML
166
166
  Redirected to http://www.example.com/
167
167
  Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
168
- Started GET "/" for 127.0.0.1 at 2013-06-12 21:23:36 +0200
168
+ Started GET "/" for 127.0.0.1 at 2013-06-25 18:36:36 +0200
169
169
  Processing by HomeController#index as HTML
170
- Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
171
-  (1.1ms) DELETE FROM "users";
170
+ Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
171
+  (1.2ms) DELETE FROM "users";
172
172
   (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
173
-  (1.0ms) DELETE FROM sqlite_sequence where name = 'users';
173
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';
174
174
  -------------------------------------------
175
175
  AuthproIntegrationTest: test_reset_password
176
176
  -------------------------------------------
177
177
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
178
178
   (0.2ms) begin transaction
179
- User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'rHyEHIbiokDFG8C58Ji9Vg@sample.com' LIMIT 1
180
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'eRWANRnbNsz1Yw7XlUiqRw' LIMIT 1
179
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'N1EbfmzclBRqR0r7G_32QA@sample.com' LIMIT 1
180
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = '2mgJ88lvAaw0OtvBGMVQdQ' LIMIT 1
181
181
  Binary data inserted for `string` type on column `password_digest`
182
- SQL (0.5ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "eRWANRnbNsz1Yw7XlUiqRw"], ["created_at", Wed, 12 Jun 2013 19:23:36 UTC +00:00], ["email", "rHyEHIbiokDFG8C58Ji9Vg@sample.com"], ["password_digest", "$2a$04$BkI1bmLH.qOvXqsWAzzVv.eEc9JLmFgcqJrhBwxr5LUEbRzRMyPGu"], ["updated_at", Wed, 12 Jun 2013 19:23:36 UTC +00:00]]
182
+ SQL (0.6ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "2mgJ88lvAaw0OtvBGMVQdQ"], ["created_at", Tue, 25 Jun 2013 16:36:36 UTC +00:00], ["email", "N1EbfmzclBRqR0r7G_32QA@sample.com"], ["password_digest", "$2a$04$CJJSyPKN/2..bliz3DQX2eZuOg2S/.qh3KVdSLQ/AeVJKARp9aa12"], ["updated_at", Tue, 25 Jun 2013 16:36:36 UTC +00:00]]
183
183
   (1.0ms) commit transaction
184
- Started GET "/login" for 127.0.0.1 at 2013-06-12 21:23:36 +0200
184
+ Started GET "/login" for 127.0.0.1 at 2013-06-25 18:36:36 +0200
185
185
  Processing by SessionsController#new as HTML
186
- Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
187
- Started GET "/password_resets/new" for 127.0.0.1 at 2013-06-12 21:23:36 +0200
186
+ Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
187
+ Started GET "/password_resets/new" for 127.0.0.1 at 2013-06-25 18:36:36 +0200
188
188
  Processing by PasswordResetsController#new as HTML
189
- Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
190
- Started POST "/password_resets" for 127.0.0.1 at 2013-06-12 21:23:36 +0200
189
+ Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)
190
+ Started POST "/password_resets" for 127.0.0.1 at 2013-06-25 18:36:36 +0200
191
191
  Processing by PasswordResetsController#create as HTML
192
- Parameters: {"utf8"=>"✓", "email"=>"rHyEHIbiokDFG8C58Ji9Vg@sample.com", "commit"=>"Reset password"}
193
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'rHyEHIbiokDFG8C58Ji9Vg@sample.com' LIMIT 1
194
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'ea5SASkjA6HgRtbKQXwsqA' LIMIT 1
192
+ Parameters: {"utf8"=>"✓", "email"=>"N1EbfmzclBRqR0r7G_32QA@sample.com", "commit"=>"Reset password"}
193
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'N1EbfmzclBRqR0r7G_32QA@sample.com' LIMIT 1
194
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'Eoupp2vaS202Wx-ixlGyoQ' LIMIT 1
195
195
   (0.1ms) begin transaction
196
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'rHyEHIbiokDFG8C58Ji9Vg@sample.com' AND "users"."id" != 1) LIMIT 1
197
- SQL (0.5ms) UPDATE "users" SET "password_reset_token" = ?, "password_reset_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_token", "ea5SASkjA6HgRtbKQXwsqA"], ["password_reset_sent_at", Wed, 12 Jun 2013 19:23:36 UTC +00:00], ["updated_at", Wed, 12 Jun 2013 19:23:36 UTC +00:00]]
198
-  (1.3ms) commit transaction
196
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'N1EbfmzclBRqR0r7G_32QA@sample.com' AND "users"."id" != 1) LIMIT 1
197
+ SQL (0.5ms) UPDATE "users" SET "password_reset_token" = ?, "password_reset_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_token", "Eoupp2vaS202Wx-ixlGyoQ"], ["password_reset_sent_at", Tue, 25 Jun 2013 16:36:36 UTC +00:00], ["updated_at", Tue, 25 Jun 2013 16:36:36 UTC +00:00]]
198
+  (1.1ms) commit transaction
199
199
 
200
- Sent mail to rHyEHIbiokDFG8C58Ji9Vg@sample.com (17.0ms)
201
- Date: Wed, 12 Jun 2013 21:23:37 +0200
200
+ Sent mail to N1EbfmzclBRqR0r7G_32QA@sample.com (19.8ms)
201
+ Date: Tue, 25 Jun 2013 18:36:36 +0200
202
202
  From: from@example.com
203
- To: rHyEHIbiokDFG8C58Ji9Vg@sample.com
204
- Message-ID: <51b8cab94a2ff_35fc3fc18c46066c43c1@Richards-MacBook-Air.local.mail>
203
+ To: N1EbfmzclBRqR0r7G_32QA@sample.com
204
+ Message-ID: <51c9c7148f5b1_72873fdf9c4606705924@Richards-MacBook-Air.local.mail>
205
205
  Subject: Password Reset
206
206
  Mime-Version: 1.0
207
207
  Content-Type: text/plain;
@@ -210,91 +210,91 @@ Content-Transfer-Encoding: 7bit
210
210
 
211
211
  To reset your password, click the URL below.
212
212
 
213
- http://localhost:3000/password_resets/ea5SASkjA6HgRtbKQXwsqA/edit
213
+ http://localhost:3000/password_resets/Eoupp2vaS202Wx-ixlGyoQ/edit
214
214
 
215
215
  If you did not request your password to be reset, just ignore this email and your password will continue to stay the same.
216
216
  Redirected to http://www.example.com/
217
- Completed 302 Found in 427ms (ActiveRecord: 2.3ms)
218
- Started GET "/" for 127.0.0.1 at 2013-06-12 21:23:37 +0200
217
+ Completed 302 Found in 438ms (ActiveRecord: 2.1ms)
218
+ Started GET "/" for 127.0.0.1 at 2013-06-25 18:36:36 +0200
219
219
  Processing by HomeController#index as HTML
220
- Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
221
- Started GET "/password_resets/ea5SASkjA6HgRtbKQXwsqA/edit" for 127.0.0.1 at 2013-06-12 21:23:37 +0200
220
+ Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)
221
+ Started GET "/password_resets/Eoupp2vaS202Wx-ixlGyoQ/edit" for 127.0.0.1 at 2013-06-25 18:36:36 +0200
222
222
  Processing by PasswordResetsController#edit as HTML
223
- Parameters: {"id"=>"ea5SASkjA6HgRtbKQXwsqA"}
224
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'ea5SASkjA6HgRtbKQXwsqA' LIMIT 1
225
- Completed 200 OK in 70ms (Views: 68.0ms | ActiveRecord: 0.2ms)
226
- Started PATCH "/password_resets/ea5SASkjA6HgRtbKQXwsqA" for 127.0.0.1 at 2013-06-12 21:23:37 +0200
223
+ Parameters: {"id"=>"Eoupp2vaS202Wx-ixlGyoQ"}
224
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'Eoupp2vaS202Wx-ixlGyoQ' LIMIT 1
225
+ Completed 200 OK in 71ms (Views: 69.4ms | ActiveRecord: 0.2ms)
226
+ Started PATCH "/password_resets/Eoupp2vaS202Wx-ixlGyoQ" for 127.0.0.1 at 2013-06-25 18:36:36 +0200
227
227
  Processing by PasswordResetsController#update as HTML
228
- Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"ea5SASkjA6HgRtbKQXwsqA"}
229
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'ea5SASkjA6HgRtbKQXwsqA' LIMIT 1
228
+ Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"Eoupp2vaS202Wx-ixlGyoQ"}
229
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'Eoupp2vaS202Wx-ixlGyoQ' LIMIT 1
230
230
   (0.1ms) begin transaction
231
- User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'rHyEHIbiokDFG8C58Ji9Vg@sample.com' AND "users"."id" != 1) LIMIT 1
231
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'N1EbfmzclBRqR0r7G_32QA@sample.com' AND "users"."id" != 1) LIMIT 1
232
232
  Binary data inserted for `string` type on column `password_digest`
233
- SQL (0.7ms) UPDATE "users" SET "password_digest" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_digest", "$2a$04$YXvBWLknHbjX60hGblll9enrpVDiaLNqmfoeUcE.CHlPkrc8u9cDe"], ["updated_at", Wed, 12 Jun 2013 19:23:37 UTC +00:00]]
234
-  (1.1ms) commit transaction
233
+ SQL (0.5ms) UPDATE "users" SET "password_digest" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_digest", "$2a$04$WRylAFG.0DdNIVS7wbb0CeH6Izov19e4DCXn8xUdkYHlKXaaMjF6W"], ["updated_at", Tue, 25 Jun 2013 16:36:36 UTC +00:00]]
234
+  (2.4ms) commit transaction
235
235
  Redirected to http://localhost:3000/
236
- Completed 302 Found in 15ms (ActiveRecord: 2.3ms)
237
- Started GET "/" for 127.0.0.1 at 2013-06-12 21:23:37 +0200
236
+ Completed 302 Found in 14ms (ActiveRecord: 3.3ms)
237
+ Started GET "/" for 127.0.0.1 at 2013-06-25 18:36:36 +0200
238
238
  Processing by HomeController#index as HTML
239
- Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
240
-  (1.1ms) DELETE FROM "users";
241
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
242
-  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';
239
+ Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
240
+  (0.7ms) DELETE FROM "users";
241
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
242
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';
243
243
  --------------------------------------------------------------------------------
244
244
  AuthproIntegrationTest: test_reset_password_failing_because_email_does_not_exist
245
245
  --------------------------------------------------------------------------------
246
246
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
247
-  (0.2ms) begin transaction
248
- User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'GSPbFRgY_iDZSwHXjWugMQ@sample.com' LIMIT 1
249
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'JhNFHHPNA9Atwv2NAukgFg' LIMIT 1
247
+  (0.1ms) begin transaction
248
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'DPBzgbrYpZk6tWixM9ADuw@sample.com' LIMIT 1
249
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'RSjPXuKsph5kfls1wkol4w' LIMIT 1
250
250
  Binary data inserted for `string` type on column `password_digest`
251
- SQL (0.5ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "JhNFHHPNA9Atwv2NAukgFg"], ["created_at", Wed, 12 Jun 2013 19:23:37 UTC +00:00], ["email", "GSPbFRgY_iDZSwHXjWugMQ@sample.com"], ["password_digest", "$2a$04$QhjCnhltY7BomOQhAXc.u.iKbwQDBxnCRaS9JozXuI.gHzxIWxf/m"], ["updated_at", Wed, 12 Jun 2013 19:23:37 UTC +00:00]]
252
-  (1.0ms) commit transaction
253
- Started GET "/login" for 127.0.0.1 at 2013-06-12 21:23:37 +0200
251
+ SQL (0.5ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "RSjPXuKsph5kfls1wkol4w"], ["created_at", Tue, 25 Jun 2013 16:36:36 UTC +00:00], ["email", "DPBzgbrYpZk6tWixM9ADuw@sample.com"], ["password_digest", "$2a$04$1xe0dKUB5UzfqfYNU.C5..faVwMUqJTWJjHQsR/dJvYEcCB9X.uc."], ["updated_at", Tue, 25 Jun 2013 16:36:36 UTC +00:00]]
252
+  (0.9ms) commit transaction
253
+ Started GET "/login" for 127.0.0.1 at 2013-06-25 18:36:36 +0200
254
254
  Processing by SessionsController#new as HTML
255
255
  Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
256
- Started GET "/password_resets/new" for 127.0.0.1 at 2013-06-12 21:23:37 +0200
256
+ Started GET "/password_resets/new" for 127.0.0.1 at 2013-06-25 18:36:36 +0200
257
257
  Processing by PasswordResetsController#new as HTML
258
- Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms)
259
- Started POST "/password_resets" for 127.0.0.1 at 2013-06-12 21:23:37 +0200
258
+ Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)
259
+ Started POST "/password_resets" for 127.0.0.1 at 2013-06-25 18:36:36 +0200
260
260
  Processing by PasswordResetsController#create as HTML
261
261
  Parameters: {"utf8"=>"✓", "email"=>"nosense@example.com", "commit"=>"Reset password"}
262
262
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'nosense@example.com' LIMIT 1
263
- Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.2ms)
264
-  (1.4ms) DELETE FROM "users";
263
+ Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.2ms)
264
+  (1.0ms) DELETE FROM "users";
265
265
   (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
266
266
   (1.0ms) DELETE FROM sqlite_sequence where name = 'users';
267
267
  -------------------------------------------------------------------------
268
268
  AuthproIntegrationTest: test_reset_password_failing_because_of_expiration
269
269
  -------------------------------------------------------------------------
270
270
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
271
-  (0.1ms) begin transaction
272
- User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'hY7A32WAJgdVtVej3uyi5g@sample.com' LIMIT 1
273
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = '8o-MB9zyNwYt9IVgNPmKUw' LIMIT 1
271
+  (0.3ms) begin transaction
272
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = '6tkhziIuEiHQRM3z11K88g@sample.com' LIMIT 1
273
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'KsQF1UQs5R8KsaCIw2PTCA' LIMIT 1
274
274
  Binary data inserted for `string` type on column `password_digest`
275
- SQL (0.5ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "8o-MB9zyNwYt9IVgNPmKUw"], ["created_at", Wed, 12 Jun 2013 19:23:37 UTC +00:00], ["email", "hY7A32WAJgdVtVej3uyi5g@sample.com"], ["password_digest", "$2a$04$3oq3TCo/rW986jrZblLJ3e1ZgB4TTtX2Bwe7khW0qft.KyUUtgEBS"], ["updated_at", Wed, 12 Jun 2013 19:23:37 UTC +00:00]]
276
-  (1.1ms) commit transaction
277
- Started GET "/login" for 127.0.0.1 at 2013-06-12 21:23:37 +0200
275
+ SQL (0.7ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "KsQF1UQs5R8KsaCIw2PTCA"], ["created_at", Tue, 25 Jun 2013 16:36:36 UTC +00:00], ["email", "6tkhziIuEiHQRM3z11K88g@sample.com"], ["password_digest", "$2a$04$InQHKr4zRYfAuJg9BKaq2e2JCFPeNRQjsp9Zt.cXJfMggOxA3lxVu"], ["updated_at", Tue, 25 Jun 2013 16:36:36 UTC +00:00]]
276
+  (0.8ms) commit transaction
277
+ Started GET "/login" for 127.0.0.1 at 2013-06-25 18:36:36 +0200
278
278
  Processing by SessionsController#new as HTML
279
- Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
280
- Started GET "/password_resets/new" for 127.0.0.1 at 2013-06-12 21:23:37 +0200
279
+ Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms)
280
+ Started GET "/password_resets/new" for 127.0.0.1 at 2013-06-25 18:36:36 +0200
281
281
  Processing by PasswordResetsController#new as HTML
282
- Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)
283
- Started POST "/password_resets" for 127.0.0.1 at 2013-06-12 21:23:37 +0200
282
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
283
+ Started POST "/password_resets" for 127.0.0.1 at 2013-06-25 18:36:36 +0200
284
284
  Processing by PasswordResetsController#create as HTML
285
- Parameters: {"utf8"=>"✓", "email"=>"hY7A32WAJgdVtVej3uyi5g@sample.com", "commit"=>"Reset password"}
286
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'hY7A32WAJgdVtVej3uyi5g@sample.com' LIMIT 1
287
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'sq8KXg_h7YN8zeqN_8KUrA' LIMIT 1
285
+ Parameters: {"utf8"=>"✓", "email"=>"6tkhziIuEiHQRM3z11K88g@sample.com", "commit"=>"Reset password"}
286
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = '6tkhziIuEiHQRM3z11K88g@sample.com' LIMIT 1
287
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'LTpknzk3cblBIhbYK0gbog' LIMIT 1
288
288
   (0.1ms) begin transaction
289
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'hY7A32WAJgdVtVej3uyi5g@sample.com' AND "users"."id" != 1) LIMIT 1
290
- SQL (0.4ms) UPDATE "users" SET "password_reset_token" = ?, "password_reset_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_token", "sq8KXg_h7YN8zeqN_8KUrA"], ["password_reset_sent_at", Wed, 12 Jun 2013 19:23:37 UTC +00:00], ["updated_at", Wed, 12 Jun 2013 19:23:37 UTC +00:00]]
291
-  (2.5ms) commit transaction
289
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = '6tkhziIuEiHQRM3z11K88g@sample.com' AND "users"."id" != 1) LIMIT 1
290
+ SQL (0.3ms) UPDATE "users" SET "password_reset_token" = ?, "password_reset_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_token", "LTpknzk3cblBIhbYK0gbog"], ["password_reset_sent_at", Tue, 25 Jun 2013 16:36:36 UTC +00:00], ["updated_at", Tue, 25 Jun 2013 16:36:36 UTC +00:00]]
291
+  (0.9ms) commit transaction
292
292
 
293
- Sent mail to hY7A32WAJgdVtVej3uyi5g@sample.com (11.5ms)
294
- Date: Wed, 12 Jun 2013 21:23:37 +0200
293
+ Sent mail to 6tkhziIuEiHQRM3z11K88g@sample.com (11.6ms)
294
+ Date: Tue, 25 Jun 2013 18:36:36 +0200
295
295
  From: from@example.com
296
- To: hY7A32WAJgdVtVej3uyi5g@sample.com
297
- Message-ID: <51b8cab990e96_35fc3fc18c46066c4484@Richards-MacBook-Air.local.mail>
296
+ To: 6tkhziIuEiHQRM3z11K88g@sample.com
297
+ Message-ID: <51c9c714d6c82_72873fdf9c4606705931@Richards-MacBook-Air.local.mail>
298
298
  Subject: Password Reset
299
299
  Mime-Version: 1.0
300
300
  Content-Type: text/plain;
@@ -303,62 +303,62 @@ Content-Transfer-Encoding: 7bit
303
303
 
304
304
  To reset your password, click the URL below.
305
305
 
306
- http://localhost:3000/password_resets/sq8KXg_h7YN8zeqN_8KUrA/edit
306
+ http://localhost:3000/password_resets/LTpknzk3cblBIhbYK0gbog/edit
307
307
 
308
308
  If you did not request your password to be reset, just ignore this email and your password will continue to stay the same.
309
309
  Redirected to http://www.example.com/
310
- Completed 302 Found in 31ms (ActiveRecord: 3.3ms)
311
- Started GET "/" for 127.0.0.1 at 2013-06-12 21:23:37 +0200
310
+ Completed 302 Found in 30ms (ActiveRecord: 1.8ms)
311
+ Started GET "/" for 127.0.0.1 at 2013-06-25 18:36:36 +0200
312
312
  Processing by HomeController#index as HTML
313
- Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
314
- Started GET "/password_resets/sq8KXg_h7YN8zeqN_8KUrA/edit" for 127.0.0.1 at 2013-06-14 02:00:00 +0200
313
+ Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
314
+ Started GET "/password_resets/LTpknzk3cblBIhbYK0gbog/edit" for 127.0.0.1 at 2013-06-27 02:00:00 +0200
315
315
  Processing by PasswordResetsController#edit as HTML
316
- Parameters: {"id"=>"sq8KXg_h7YN8zeqN_8KUrA"}
317
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'sq8KXg_h7YN8zeqN_8KUrA' LIMIT 1
316
+ Parameters: {"id"=>"LTpknzk3cblBIhbYK0gbog"}
317
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'LTpknzk3cblBIhbYK0gbog' LIMIT 1
318
318
  Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
319
- Started PATCH "/password_resets/sq8KXg_h7YN8zeqN_8KUrA" for 127.0.0.1 at 2013-06-14 02:00:00 +0200
319
+ Started PATCH "/password_resets/LTpknzk3cblBIhbYK0gbog" for 127.0.0.1 at 2013-06-27 02:00:00 +0200
320
320
  Processing by PasswordResetsController#update as HTML
321
- Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"sq8KXg_h7YN8zeqN_8KUrA"}
322
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'sq8KXg_h7YN8zeqN_8KUrA' LIMIT 1
321
+ Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"LTpknzk3cblBIhbYK0gbog"}
322
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'LTpknzk3cblBIhbYK0gbog' LIMIT 1
323
323
  Redirected to http://localhost:3000/password_resets/new
324
324
  Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
325
- Started GET "/password_resets/new" for 127.0.0.1 at 2013-06-14 02:00:00 +0200
325
+ Started GET "/password_resets/new" for 127.0.0.1 at 2013-06-27 02:00:00 +0200
326
326
  Processing by PasswordResetsController#new as HTML
327
327
  Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
328
328
   (1.3ms) DELETE FROM "users";
329
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
330
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';
329
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
330
+  (1.1ms) DELETE FROM sqlite_sequence where name = 'users';
331
331
  -------------------------------------------------------------------------------------------
332
332
  AuthproIntegrationTest: test_reset_password_failing_because_we_enter_a_new_invalid_password
333
333
  -------------------------------------------------------------------------------------------
334
334
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
335
-  (0.1ms) begin transaction
336
- User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = '2Al7mLnQuesv4vv_OtUbEA@sample.com' LIMIT 1
337
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = '3Qa6ypXf8yiK6HmtXuAvJw' LIMIT 1
335
+  (0.2ms) begin transaction
336
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'px1GCCcocfKy1MU-6zit_g@sample.com' LIMIT 1
337
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'C01iJ1yD0N_Xonmu_bVWuw' LIMIT 1
338
338
  Binary data inserted for `string` type on column `password_digest`
339
- SQL (0.5ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "3Qa6ypXf8yiK6HmtXuAvJw"], ["created_at", Wed, 12 Jun 2013 19:23:37 UTC +00:00], ["email", "2Al7mLnQuesv4vv_OtUbEA@sample.com"], ["password_digest", "$2a$04$oQSzqn4CIUMqp/S9MLWxHudg.HlhF6BEa6IrwKTDAILAUhrkaLkiq"], ["updated_at", Wed, 12 Jun 2013 19:23:37 UTC +00:00]]
340
-  (1.0ms) commit transaction
341
- Started GET "/login" for 127.0.0.1 at 2013-06-12 21:23:37 +0200
339
+ SQL (0.5ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "C01iJ1yD0N_Xonmu_bVWuw"], ["created_at", Tue, 25 Jun 2013 16:36:36 UTC +00:00], ["email", "px1GCCcocfKy1MU-6zit_g@sample.com"], ["password_digest", "$2a$04$rmlHnI0RgJsNWMyBznpsZ.i2YRUdGQoUr8tNP/qEI3DiFLs0V/7Xe"], ["updated_at", Tue, 25 Jun 2013 16:36:36 UTC +00:00]]
340
+  (0.9ms) commit transaction
341
+ Started GET "/login" for 127.0.0.1 at 2013-06-25 18:36:36 +0200
342
342
  Processing by SessionsController#new as HTML
343
- Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
344
- Started GET "/password_resets/new" for 127.0.0.1 at 2013-06-12 21:23:37 +0200
343
+ Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
344
+ Started GET "/password_resets/new" for 127.0.0.1 at 2013-06-25 18:36:36 +0200
345
345
  Processing by PasswordResetsController#new as HTML
346
- Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
347
- Started POST "/password_resets" for 127.0.0.1 at 2013-06-12 21:23:37 +0200
346
+ Completed 200 OK in 61ms (Views: 60.7ms | ActiveRecord: 0.0ms)
347
+ Started POST "/password_resets" for 127.0.0.1 at 2013-06-25 18:36:37 +0200
348
348
  Processing by PasswordResetsController#create as HTML
349
- Parameters: {"utf8"=>"✓", "email"=>"2Al7mLnQuesv4vv_OtUbEA@sample.com", "commit"=>"Reset password"}
350
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = '2Al7mLnQuesv4vv_OtUbEA@sample.com' LIMIT 1
351
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'sV_1C6JHjHsEKyAq-6dvTg' LIMIT 1
349
+ Parameters: {"utf8"=>"✓", "email"=>"px1GCCcocfKy1MU-6zit_g@sample.com", "commit"=>"Reset password"}
350
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'px1GCCcocfKy1MU-6zit_g@sample.com' LIMIT 1
351
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'vzeJT3Mv_r2emQGiZKml7A' LIMIT 1
352
352
   (0.1ms) begin transaction
353
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = '2Al7mLnQuesv4vv_OtUbEA@sample.com' AND "users"."id" != 1) LIMIT 1
354
- SQL (0.3ms) UPDATE "users" SET "password_reset_token" = ?, "password_reset_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_token", "sV_1C6JHjHsEKyAq-6dvTg"], ["password_reset_sent_at", Wed, 12 Jun 2013 19:23:37 UTC +00:00], ["updated_at", Wed, 12 Jun 2013 19:23:37 UTC +00:00]]
355
-  (2.6ms) commit transaction
353
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'px1GCCcocfKy1MU-6zit_g@sample.com' AND "users"."id" != 1) LIMIT 1
354
+ SQL (0.4ms) UPDATE "users" SET "password_reset_token" = ?, "password_reset_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_token", "vzeJT3Mv_r2emQGiZKml7A"], ["password_reset_sent_at", Tue, 25 Jun 2013 16:36:37 UTC +00:00], ["updated_at", Tue, 25 Jun 2013 16:36:37 UTC +00:00]]
355
+  (1.0ms) commit transaction
356
356
 
357
- Sent mail to 2Al7mLnQuesv4vv_OtUbEA@sample.com (11.5ms)
358
- Date: Wed, 12 Jun 2013 21:23:37 +0200
357
+ Sent mail to px1GCCcocfKy1MU-6zit_g@sample.com (11.7ms)
358
+ Date: Tue, 25 Jun 2013 18:36:37 +0200
359
359
  From: from@example.com
360
- To: 2Al7mLnQuesv4vv_OtUbEA@sample.com
361
- Message-ID: <51b8cab9b14d5_35fc3fc18c46066c45c@Richards-MacBook-Air.local.mail>
360
+ To: px1GCCcocfKy1MU-6zit_g@sample.com
361
+ Message-ID: <51c9c715126cb_72873fdf9c460670594d4@Richards-MacBook-Air.local.mail>
362
362
  Subject: Password Reset
363
363
  Mime-Version: 1.0
364
364
  Content-Type: text/plain;
@@ -367,102 +367,102 @@ Content-Transfer-Encoding: 7bit
367
367
 
368
368
  To reset your password, click the URL below.
369
369
 
370
- http://localhost:3000/password_resets/sV_1C6JHjHsEKyAq-6dvTg/edit
370
+ http://localhost:3000/password_resets/vzeJT3Mv_r2emQGiZKml7A/edit
371
371
 
372
372
  If you did not request your password to be reset, just ignore this email and your password will continue to stay the same.
373
373
  Redirected to http://www.example.com/
374
- Completed 302 Found in 31ms (ActiveRecord: 3.4ms)
375
- Started GET "/" for 127.0.0.1 at 2013-06-12 21:23:37 +0200
374
+ Completed 302 Found in 30ms (ActiveRecord: 1.8ms)
375
+ Started GET "/" for 127.0.0.1 at 2013-06-25 18:36:37 +0200
376
376
  Processing by HomeController#index as HTML
377
- Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
378
- Started GET "/password_resets/sV_1C6JHjHsEKyAq-6dvTg/edit" for 127.0.0.1 at 2013-06-12 21:23:37 +0200
377
+ Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
378
+ Started GET "/password_resets/vzeJT3Mv_r2emQGiZKml7A/edit" for 127.0.0.1 at 2013-06-25 18:36:37 +0200
379
379
  Processing by PasswordResetsController#edit as HTML
380
- Parameters: {"id"=>"sV_1C6JHjHsEKyAq-6dvTg"}
381
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'sV_1C6JHjHsEKyAq-6dvTg' LIMIT 1
382
- Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.2ms)
383
- Started PATCH "/password_resets/sV_1C6JHjHsEKyAq-6dvTg" for 127.0.0.1 at 2013-06-12 21:23:37 +0200
380
+ Parameters: {"id"=>"vzeJT3Mv_r2emQGiZKml7A"}
381
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'vzeJT3Mv_r2emQGiZKml7A' LIMIT 1
382
+ Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.3ms)
383
+ Started PATCH "/password_resets/vzeJT3Mv_r2emQGiZKml7A" for 127.0.0.1 at 2013-06-25 18:36:37 +0200
384
384
  Processing by PasswordResetsController#update as HTML
385
- Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"sV_1C6JHjHsEKyAq-6dvTg"}
386
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'sV_1C6JHjHsEKyAq-6dvTg' LIMIT 1
385
+ Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"vzeJT3Mv_r2emQGiZKml7A"}
386
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'vzeJT3Mv_r2emQGiZKml7A' LIMIT 1
387
387
   (0.1ms) begin transaction
388
- User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = '2Al7mLnQuesv4vv_OtUbEA@sample.com' AND "users"."id" != 1) LIMIT 1
388
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'px1GCCcocfKy1MU-6zit_g@sample.com' AND "users"."id" != 1) LIMIT 1
389
389
   (0.1ms) rollback transaction
390
- Completed 200 OK in 77ms (Views: 4.9ms | ActiveRecord: 0.6ms)
391
-  (2.9ms) DELETE FROM "users";
390
+ Completed 200 OK in 16ms (Views: 5.0ms | ActiveRecord: 0.5ms)
391
+  (1.3ms) DELETE FROM "users";
392
392
   (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
393
-  (1.1ms) DELETE FROM sqlite_sequence where name = 'users';
393
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';
394
394
  -----------------------------------
395
395
  AuthproIntegrationTest: test_signup
396
396
  -----------------------------------
397
397
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
398
398
   (0.2ms) begin transaction
399
- User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = '92CEzDVvm9kt3HDRIfo5Vw@sample.com' LIMIT 1
400
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'UsdwaLZtSQazTpAigNHk_w' LIMIT 1
399
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'CK31OtnbfTrl2TELFQ8oBA@sample.com' LIMIT 1
400
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'DBVydpn2zvNunhjPDoLiaQ' LIMIT 1
401
401
  Binary data inserted for `string` type on column `password_digest`
402
- SQL (0.5ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "UsdwaLZtSQazTpAigNHk_w"], ["created_at", Wed, 12 Jun 2013 19:23:37 UTC +00:00], ["email", "92CEzDVvm9kt3HDRIfo5Vw@sample.com"], ["password_digest", "$2a$04$yHROM2XR1mGDqQNxW28ab.gTL569MbJCetgZGT6AMuI1AI//llxx6"], ["updated_at", Wed, 12 Jun 2013 19:23:37 UTC +00:00]]
403
-  (0.9ms) commit transaction
404
- Started GET "/" for 127.0.0.1 at 2013-06-12 21:23:37 +0200
402
+ SQL (0.7ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "DBVydpn2zvNunhjPDoLiaQ"], ["created_at", Tue, 25 Jun 2013 16:36:37 UTC +00:00], ["email", "CK31OtnbfTrl2TELFQ8oBA@sample.com"], ["password_digest", "$2a$04$0u1w9l2foZnb0FIIlM/9NerEmNTD9svXLsswcoj9qYquKrlCukQv2"], ["updated_at", Tue, 25 Jun 2013 16:36:37 UTC +00:00]]
403
+  (0.7ms) commit transaction
404
+ Started GET "/" for 127.0.0.1 at 2013-06-25 18:36:37 +0200
405
405
  Processing by HomeController#index as HTML
406
- Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
407
- Started GET "/signup" for 127.0.0.1 at 2013-06-12 21:23:37 +0200
406
+ Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)
407
+ Started GET "/signup" for 127.0.0.1 at 2013-06-25 18:36:37 +0200
408
408
  Processing by UsersController#new as HTML
409
- Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.0ms)
410
- Started POST "/users" for 127.0.0.1 at 2013-06-12 21:23:37 +0200
409
+ Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.0ms)
410
+ Started POST "/users" for 127.0.0.1 at 2013-06-25 18:36:37 +0200
411
411
  Processing by UsersController#create as HTML
412
- Parameters: {"utf8"=>"✓", "user"=>{"email"=>"dZKY36adIKWS_SRGqCt6Ww@sample.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
412
+ Parameters: {"utf8"=>"✓", "user"=>{"email"=>"J8V5lhwcCuPTn5Ln_CD8rg@sample.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
413
413
   (0.1ms) begin transaction
414
- User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'dZKY36adIKWS_SRGqCt6Ww@sample.com' LIMIT 1
415
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = '45TvgLMDmJn2Xfz6io91LQ' LIMIT 1
414
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'J8V5lhwcCuPTn5Ln_CD8rg@sample.com' LIMIT 1
415
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'UU_W0cEyXTfCNTu5sNGaXA' LIMIT 1
416
416
  Binary data inserted for `string` type on column `password_digest`
417
- SQL (0.4ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "45TvgLMDmJn2Xfz6io91LQ"], ["created_at", Wed, 12 Jun 2013 19:23:37 UTC +00:00], ["email", "dZKY36adIKWS_SRGqCt6Ww@sample.com"], ["password_digest", "$2a$04$1GmSxJpZkJSX2npImm.qV.9bGtqpFus6CtZrwBv1SSrznWd3aluQi"], ["updated_at", Wed, 12 Jun 2013 19:23:37 UTC +00:00]]
418
-  (1.0ms) commit transaction
417
+ SQL (0.4ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "UU_W0cEyXTfCNTu5sNGaXA"], ["created_at", Tue, 25 Jun 2013 16:36:37 UTC +00:00], ["email", "J8V5lhwcCuPTn5Ln_CD8rg@sample.com"], ["password_digest", "$2a$04$uDFC8kucGnC/0h9dxhj/Pee2gElB5oFAPkMlNUiM6OG/Bx3kjH/0a"], ["updated_at", Tue, 25 Jun 2013 16:36:37 UTC +00:00]]
418
+  (1.1ms) commit transaction
419
419
  Redirected to http://www.example.com/
420
- Completed 302 Found in 11ms (ActiveRecord: 1.7ms)
421
- Started GET "/" for 127.0.0.1 at 2013-06-12 21:23:37 +0200
420
+ Completed 302 Found in 13ms (ActiveRecord: 1.9ms)
421
+ Started GET "/" for 127.0.0.1 at 2013-06-25 18:36:37 +0200
422
422
  Processing by HomeController#index as HTML
423
- Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
424
-  (1.2ms) DELETE FROM "users";
423
+ Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
424
+  (1.0ms) DELETE FROM "users";
425
425
   (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
426
-  (1.0ms) DELETE FROM sqlite_sequence where name = 'users';
426
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';
427
427
  -------------------------------------------
428
428
  AuthproIntegrationTest: test_signup_failing
429
429
  -------------------------------------------
430
430
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
431
431
   (0.1ms) begin transaction
432
- User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = '7LbtRHwo2e97T-hBHUGxXg@sample.com' LIMIT 1
433
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'ocViu-hY4J7yzS48-YQm2w' LIMIT 1
432
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'k9RcoR2jF5Ej-sHHIJx2BA@sample.com' LIMIT 1
433
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'LpjBLIlg5qrufUVySiKhyg' LIMIT 1
434
434
  Binary data inserted for `string` type on column `password_digest`
435
- SQL (0.5ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "ocViu-hY4J7yzS48-YQm2w"], ["created_at", Wed, 12 Jun 2013 19:23:37 UTC +00:00], ["email", "7LbtRHwo2e97T-hBHUGxXg@sample.com"], ["password_digest", "$2a$04$RvPLAdsaboAeoM9iFk4AkOj6s3UGB/B36Jc/Gk7fOpwnex1OLwlAS"], ["updated_at", Wed, 12 Jun 2013 19:23:37 UTC +00:00]]
436
-  (0.9ms) commit transaction
437
- Started GET "/" for 127.0.0.1 at 2013-06-12 21:23:37 +0200
435
+ SQL (0.5ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "LpjBLIlg5qrufUVySiKhyg"], ["created_at", Tue, 25 Jun 2013 16:36:37 UTC +00:00], ["email", "k9RcoR2jF5Ej-sHHIJx2BA@sample.com"], ["password_digest", "$2a$04$SJkOi738KMdZcQdsnyntHuNwP6.8v2E/IlgP8bT7QBZ4FVjAqZYy."], ["updated_at", Tue, 25 Jun 2013 16:36:37 UTC +00:00]]
436
+  (1.0ms) commit transaction
437
+ Started GET "/" for 127.0.0.1 at 2013-06-25 18:36:37 +0200
438
438
  Processing by HomeController#index as HTML
439
- Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
440
- Started GET "/signup" for 127.0.0.1 at 2013-06-12 21:23:38 +0200
439
+ Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)
440
+ Started GET "/signup" for 127.0.0.1 at 2013-06-25 18:36:37 +0200
441
441
  Processing by UsersController#new as HTML
442
- Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)
443
- Started POST "/users" for 127.0.0.1 at 2013-06-12 21:23:38 +0200
442
+ Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms)
443
+ Started POST "/users" for 127.0.0.1 at 2013-06-25 18:36:37 +0200
444
444
  Processing by UsersController#create as HTML
445
- Parameters: {"utf8"=>"✓", "user"=>{"email"=>"8rmw1L4dxcunIFh7wiAtFQ@sample.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
445
+ Parameters: {"utf8"=>"✓", "user"=>{"email"=>"wFfq7DuowB4KYm0oy7razQ@sample.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
446
446
   (0.1ms) begin transaction
447
- User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = '8rmw1L4dxcunIFh7wiAtFQ@sample.com' LIMIT 1
447
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'wFfq7DuowB4KYm0oy7razQ@sample.com' LIMIT 1
448
448
   (0.1ms) rollback transaction
449
- Completed 200 OK in 14ms (Views: 4.8ms | ActiveRecord: 0.3ms)
449
+ Completed 200 OK in 15ms (Views: 5.5ms | ActiveRecord: 0.3ms)
450
450
   (1.1ms) DELETE FROM "users";
451
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
452
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';
451
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
452
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'users';
453
453
  ---------------------------------------
454
454
  AuthproIntegrationTest: test_visit_home
455
455
  ---------------------------------------
456
456
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
457
-  (0.2ms) begin transaction
458
- User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'Bx1IuCV9F8EByAcq0_Ul0A@sample.com' LIMIT 1
459
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = '8kWAAWcblhcq2QCImdJS5w' LIMIT 1
457
+  (0.1ms) begin transaction
458
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'UcdaPJpJHWGXHP1Wm4h9iw@sample.com' LIMIT 1
459
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = '2K6XLXIf1RAhH02amgn0eA' LIMIT 1
460
460
  Binary data inserted for `string` type on column `password_digest`
461
- SQL (0.6ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "8kWAAWcblhcq2QCImdJS5w"], ["created_at", Wed, 12 Jun 2013 19:23:38 UTC +00:00], ["email", "Bx1IuCV9F8EByAcq0_Ul0A@sample.com"], ["password_digest", "$2a$04$8eEkPwZWb2R1yCWNuyjdQOJwlkuHqRBwjr7pYEV9A4zUBITYs9Odq"], ["updated_at", Wed, 12 Jun 2013 19:23:38 UTC +00:00]]
462
-  (1.0ms) commit transaction
463
- Started GET "/" for 127.0.0.1 at 2013-06-12 21:23:38 +0200
461
+ SQL (0.5ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "2K6XLXIf1RAhH02amgn0eA"], ["created_at", Tue, 25 Jun 2013 16:36:37 UTC +00:00], ["email", "UcdaPJpJHWGXHP1Wm4h9iw@sample.com"], ["password_digest", "$2a$04$8VfLyxcfupcZ8K52ZwnYlOG2XuJKQpbh7Y44uh/CG4G8yDNdAk.iu"], ["updated_at", Tue, 25 Jun 2013 16:36:37 UTC +00:00]]
462
+  (2.2ms) commit transaction
463
+ Started GET "/" for 127.0.0.1 at 2013-06-25 18:36:37 +0200
464
464
  Processing by HomeController#index as HTML
465
465
  Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
466
-  (1.2ms) DELETE FROM "users";
466
+  (1.0ms) DELETE FROM "users";
467
467
   (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
468
-  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';
468
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';
@@ -5,11 +5,11 @@ one:
5
5
  password_digest: MyString
6
6
  auth_token: MyString
7
7
  password_reset_token: MyString
8
- password_reset_sent_at: 2013-06-12 21:23:36
8
+ password_reset_sent_at: 2013-06-25 18:36:35
9
9
 
10
10
  two:
11
11
  email: MyString
12
12
  password_digest: MyString
13
13
  auth_token: MyString
14
14
  password_reset_token: MyString
15
- password_reset_sent_at: 2013-06-12 21:23:36
15
+ password_reset_sent_at: 2013-06-25 18:36:35
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authpro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.3
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Nyström
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-12 00:00:00.000000000 Z
11
+ date: 2013-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: 4.0.0.rc2
19
+ version: '4.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: 4.0.0.rc2
26
+ version: '4.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bcrypt-ruby
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ~>
32
32
  - !ruby/object:Gem::Version
33
- version: 3.0.0
33
+ version: '3.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ~>
39
39
  - !ruby/object:Gem::Version
40
- version: 3.0.0
40
+ version: '3.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: sqlite3
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -209,7 +209,7 @@ files:
209
209
  - test/rails/dummy/config/locales/en.yml
210
210
  - test/rails/dummy/config/routes.rb
211
211
  - test/rails/dummy/config.ru
212
- - test/rails/dummy/db/migrate/20130612192336_create_users.rb
212
+ - test/rails/dummy/db/migrate/20130625163635_create_users.rb
213
213
  - test/rails/dummy/db/test.sqlite3
214
214
  - test/rails/dummy/Gemfile
215
215
  - test/rails/dummy/Gemfile.lock
@@ -327,7 +327,7 @@ test_files:
327
327
  - test/rails/dummy/config/locales/en.yml
328
328
  - test/rails/dummy/config/routes.rb
329
329
  - test/rails/dummy/config.ru
330
- - test/rails/dummy/db/migrate/20130612192336_create_users.rb
330
+ - test/rails/dummy/db/migrate/20130625163635_create_users.rb
331
331
  - test/rails/dummy/db/test.sqlite3
332
332
  - test/rails/dummy/Gemfile
333
333
  - test/rails/dummy/Gemfile.lock