contour 2.0.0.rc6 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -11
- data/README.md +12 -12
- data/lib/contour/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +395 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0d9a18506700ecd33a21305a05b4d6547553bda
|
4
|
+
data.tar.gz: 3833aa34a5eb12da18bfd98a283f63e414bc1acb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 164d3afc8ff88cc49e751e7ad8c9b10b568e2a67d1d15c281a0907a7e1f2cf6f40937844396cb0f87460228d984d4884d2e597debe80933df7d5668c7610f843
|
7
|
+
data.tar.gz: 01db625fce5d8344756b43c47af1386fa3babbed383ebd2cdf75930009c8d8a22a6ebe041bb3ea130a4b6a36a6ea7dcfb0348ad4e5e882ee727c560917344cc2
|
data/CHANGELOG.md
CHANGED
@@ -1,20 +1,20 @@
|
|
1
|
-
## 2.0.0
|
1
|
+
## 2.0.0 (July 25, 2013)
|
2
2
|
|
3
3
|
### Enhancements
|
4
|
-
- Use of Ruby 2.0.0-p247 is now recommended
|
5
|
-
- **Gem Changes**
|
6
|
-
- Updated to Rails 4.0.0
|
7
|
-
- Updated to Devise 3.0.0
|
8
|
-
- Updated jquery-rails to 3.0.4
|
9
|
-
- Updated Twitter Bootstrap to 2.3.2
|
10
|
-
- Updated HighCharts to 3.0.2
|
11
|
-
- Updated omniauth to 1.1.4
|
12
|
-
- Updated omniauth-twitter to 1.0.0
|
13
|
-
- Updated omniauth-cas to 1.0.4
|
14
4
|
- Added `config.spam_fields` to the configuration allowing application registration pages to be configured with honeypot traps for submitter spam bots
|
15
5
|
- Configuring the invisible `spam_fields` may reduce the number of fake registrations without being a burden to the existing registration process
|
16
6
|
- Ex: `config.spam_fields = [ :address ]`
|
17
7
|
- Added `btn-danger-inverse` for GitHub style danger buttons
|
8
|
+
- Use of Ruby 2.0.0-p247 is now recommended
|
9
|
+
- Updated Twitter Bootstrap to 2.3.2
|
10
|
+
- Updated HighCharts to 3.0.2
|
11
|
+
- **Gem Changes**
|
12
|
+
- Updated to Rails 4.0.0
|
13
|
+
- Updated to Devise 3.0.0
|
14
|
+
- Updated jquery-rails to 3.0.4
|
15
|
+
- Updated omniauth to 1.1.4
|
16
|
+
- Updated omniauth-twitter to 1.0.0
|
17
|
+
- Updated omniauth-cas to 1.0.4
|
18
18
|
|
19
19
|
### Breaking Changes
|
20
20
|
- The remaining *Gentleface* icons have been removed
|
data/README.md
CHANGED
@@ -10,7 +10,7 @@ Basic Rails framework files and assets for layout and authentication
|
|
10
10
|
|
11
11
|
Contour can be installed from rubygems.org using
|
12
12
|
|
13
|
-
```
|
13
|
+
```
|
14
14
|
gem install contour
|
15
15
|
```
|
16
16
|
|
@@ -24,7 +24,7 @@ gem 'contour'
|
|
24
24
|
|
25
25
|
Make sure you have Rails 4.0.0
|
26
26
|
|
27
|
-
```
|
27
|
+
```
|
28
28
|
rails -v
|
29
29
|
|
30
30
|
rails new blank_rails_project
|
@@ -40,25 +40,25 @@ gem 'contour', '~> 2.0.0'
|
|
40
40
|
|
41
41
|
Run Bundle install
|
42
42
|
|
43
|
-
```
|
43
|
+
```
|
44
44
|
bundle install
|
45
45
|
```
|
46
46
|
|
47
47
|
Install contour files
|
48
48
|
|
49
|
-
```
|
49
|
+
```
|
50
50
|
rails generate contour:install
|
51
51
|
```
|
52
52
|
|
53
53
|
Add the authentication model
|
54
54
|
|
55
|
-
```
|
55
|
+
```
|
56
56
|
rails generate model Authentication user_id:integer provider:string uid:string
|
57
57
|
```
|
58
58
|
|
59
59
|
Migrate your database
|
60
60
|
|
61
|
-
```
|
61
|
+
```
|
62
62
|
bundle exec rake db:create
|
63
63
|
|
64
64
|
bundle exec rake db:migrate
|
@@ -66,7 +66,7 @@ bundle exec rake db:migrate
|
|
66
66
|
|
67
67
|
Create a sample controller
|
68
68
|
|
69
|
-
```
|
69
|
+
```
|
70
70
|
rails generate controller welcome index --skip-stylesheets
|
71
71
|
```
|
72
72
|
|
@@ -131,7 +131,7 @@ config.sign_out_via = :get
|
|
131
131
|
|
132
132
|
Start your server and navigate to [http://localhost:3000/users/login](http://localhost:3000/users/login)
|
133
133
|
|
134
|
-
```
|
134
|
+
```
|
135
135
|
rails s
|
136
136
|
```
|
137
137
|
|
@@ -147,13 +147,13 @@ gem 'kaminari', '~> 0.14.1'
|
|
147
147
|
|
148
148
|
Update your gems
|
149
149
|
|
150
|
-
```
|
150
|
+
```
|
151
151
|
bundle update
|
152
152
|
```
|
153
153
|
|
154
154
|
Create a new model using the Rails scaffold
|
155
155
|
|
156
|
-
```
|
156
|
+
```
|
157
157
|
rails g scaffold Item name:string description:text user_id:integer bought_date:date --no-stylesheets
|
158
158
|
```
|
159
159
|
|
@@ -187,13 +187,13 @@ NOTE: Adding the User controller is not shown, but could be created using `rails
|
|
187
187
|
|
188
188
|
Migrate your database
|
189
189
|
|
190
|
-
```
|
190
|
+
```
|
191
191
|
bundle exec rake db:migrate
|
192
192
|
```
|
193
193
|
|
194
194
|
Update with the Contour scaffold
|
195
195
|
|
196
|
-
```
|
196
|
+
```
|
197
197
|
rails g contour:scaffold Item
|
198
198
|
```
|
199
199
|
|
data/lib/contour/version.rb
CHANGED
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -80159,6 +80159,401 @@ UserTest: test_should_apply_omniauth
|
|
80159
80159
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
80160
80160
|
--------------------------------------
|
80161
80161
|
UserTest: test_should_get_reverse_name
|
80162
|
+
--------------------------------------
|
80163
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
80164
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
80165
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
80166
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "authentications"
|
80167
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-07-25 15:18:14', '2013-07-25 15:18:14', 949717663, 201799169)[0m
|
80168
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-07-25 15:18:14', '2013-07-25 15:18:14', 876923740, 201799169)
|
80169
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-07-25 15:18:14', '2013-07-25 15:18:14', 864673665, 201799169)[0m
|
80170
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users"
|
80171
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-07-25 15:18:14', '2013-07-25 15:18:14', 201799169)[0m
|
80172
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-07-25 15:18:14', '2013-07-25 15:18:14', 999914115)
|
80173
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-07-25 15:18:14', '2013-07-25 15:18:14', 725306934)[0m
|
80174
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-07-25 15:18:14', '2013-07-25 15:18:14', 349534908)
|
80175
|
+
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
80176
|
+
[1m[35m (0.1ms)[0m begin transaction
|
80177
|
+
-------------------------------------------------
|
80178
|
+
AuthenticationTest: test_should_get_provider_name
|
80179
|
+
-------------------------------------------------
|
80180
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
80181
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
80182
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
80183
|
+
--------------------------------------------------------------------------------
|
80184
|
+
AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case
|
80185
|
+
--------------------------------------------------------------------------------
|
80186
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
80187
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
80188
|
+
[1m[35m (0.1ms)[0m begin transaction
|
80189
|
+
-------------------------------------------------------------------------
|
80190
|
+
Contour::AuthenticationsControllerTest: test_should_create_authentication
|
80191
|
+
-------------------------------------------------------------------------
|
80192
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
80193
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
80194
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
80195
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
80196
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-07-25 15:18:14 UTC", "updated_at"=>"2013-07-25 15:18:14 UTC"}}
|
80197
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
80198
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
80199
|
+
Logged in user found, creating associated authentication.
|
80200
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
80201
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 25 Jul 2013 15:18:14 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 25 Jul 2013 15:18:14 UTC +00:00], ["user_id", 201799169]]
|
80202
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
80203
|
+
Redirected to http://test.host/authentications
|
80204
|
+
Completed 302 Found in 90ms (ActiveRecord: 1.4ms)
|
80205
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
80206
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
80207
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
80208
|
+
--------------------------------------------------------------------------
|
80209
|
+
Contour::AuthenticationsControllerTest: test_should_destroy_authentication
|
80210
|
+
--------------------------------------------------------------------------
|
80211
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
80212
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
80213
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
80214
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
80215
|
+
Parameters: {"id"=>"949717663"}
|
80216
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
80217
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]]
|
80218
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
80219
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
80220
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
80221
|
+
Redirected to http://test.host/authentications
|
80222
|
+
Completed 302 Found in 8ms (ActiveRecord: 1.1ms)
|
80223
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
80224
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
80225
|
+
[1m[35m (0.1ms)[0m begin transaction
|
80226
|
+
-------------------------------------------------------------
|
80227
|
+
Contour::AuthenticationsControllerTest: test_should_get_index
|
80228
|
+
-------------------------------------------------------------
|
80229
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
80230
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
80231
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
80232
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
80233
|
+
[1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]]
|
80234
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]]
|
80235
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (10.8ms)
|
80236
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.4ms)
|
80237
|
+
Completed 200 OK in 166ms (Views: 162.1ms | ActiveRecord: 0.7ms)
|
80238
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
80239
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
80240
|
+
-----------------------------------------------------------------------------
|
80241
|
+
Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password
|
80242
|
+
-----------------------------------------------------------------------------
|
80243
|
+
Processing by Contour::PasswordsController#create as HTML
|
80244
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
80245
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
80246
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'JcQGWxeBwF4SLsurfiBt' LIMIT 1[0m
|
80247
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
80248
|
+
[1m[36mSQL (0.6ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "JcQGWxeBwF4SLsurfiBt"], ["reset_password_sent_at", Thu, 25 Jul 2013 15:18:15 UTC +00:00], ["updated_at", Thu, 25 Jul 2013 15:18:15 UTC +00:00]]
|
80249
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
80250
|
+
|
80251
|
+
Sent mail to valid@example.com (17.1ms)
|
80252
|
+
Date: Thu, 25 Jul 2013 11:18:15 -0400
|
80253
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
80254
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
80255
|
+
To: valid@example.com
|
80256
|
+
Message-ID: <51f141b722ec0_2a173fd19c8606d470857@edge.partners.org.mail>
|
80257
|
+
Subject: Reset password instructions
|
80258
|
+
Mime-Version: 1.0
|
80259
|
+
Content-Type: text/html;
|
80260
|
+
charset=UTF-8
|
80261
|
+
Content-Transfer-Encoding: 7bit
|
80262
|
+
|
80263
|
+
<p>Hello valid@example.com!</p>
|
80264
|
+
|
80265
|
+
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
|
80266
|
+
|
80267
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=JcQGWxeBwF4SLsurfiBt">Change my password</a></p>
|
80268
|
+
|
80269
|
+
<p>If you didn't request this, please ignore this email.</p>
|
80270
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
80271
|
+
|
80272
|
+
Redirected to http://test.host/users/login
|
80273
|
+
Completed 302 Found in 148ms (ActiveRecord: 1.4ms)
|
80274
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
80275
|
+
[1m[35m (0.1ms)[0m begin transaction
|
80276
|
+
-----------------------------------------------------------------------------
|
80277
|
+
Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password
|
80278
|
+
-----------------------------------------------------------------------------
|
80279
|
+
Processing by Contour::PasswordsController#new as HTML
|
80280
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms)
|
80281
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (10.5ms)
|
80282
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (13.1ms)
|
80283
|
+
Completed 200 OK in 86ms (Views: 84.7ms | ActiveRecord: 0.0ms)
|
80284
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
80285
|
+
[1m[35m (0.1ms)[0m begin transaction
|
80286
|
+
-------------------------------------------------------------------------------
|
80287
|
+
Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up
|
80288
|
+
-------------------------------------------------------------------------------
|
80289
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
80290
|
+
Processing by Contour::RegistrationsController#create as HTML
|
80291
|
+
Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>""}}
|
80292
|
+
Unpermitted parameters: spam
|
80293
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
80294
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m
|
80295
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
80296
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Jul 2013 15:18:15 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$Dfl72.Lyil6LCEfsVJCn6OYRiNKICd9ubOQhCExVfA46RR4V72Fwi"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Thu, 25 Jul 2013 15:18:15 UTC +00:00]]
|
80297
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
80298
|
+
Redirected to http://test.host/users/login
|
80299
|
+
Completed 302 Found in 44ms (ActiveRecord: 0.9ms)
|
80300
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
80301
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
80302
|
+
[1m[35m (0.1ms)[0m begin transaction
|
80303
|
+
--------------------------------------------------------------------------------------------
|
80304
|
+
Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status
|
80305
|
+
--------------------------------------------------------------------------------------------
|
80306
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
80307
|
+
Processing by Contour::RegistrationsController#create as HTML
|
80308
|
+
Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
80309
|
+
Unpermitted parameters: status
|
80310
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
80311
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m
|
80312
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
80313
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Jul 2013 15:18:15 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$67sVga53oc586Dq6QB3YhekHhzQE8w.x4yOBn9sQ8I2rdxthB1XAO"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Thu, 25 Jul 2013 15:18:15 UTC +00:00]]
|
80314
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
80315
|
+
Redirected to http://test.host/users/login
|
80316
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.7ms)
|
80317
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
80318
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
80319
|
+
[1m[35m (0.1ms)[0m begin transaction
|
80320
|
+
---------------------------------------------------------------------------------------------
|
80321
|
+
Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up
|
80322
|
+
---------------------------------------------------------------------------------------------
|
80323
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
80324
|
+
Processing by Contour::RegistrationsController#create as HTML
|
80325
|
+
Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>"http://buystuffhere.com"}}
|
80326
|
+
SPAM BOT SIGNUP: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"password", "password_confirmation"=>"password", "spam"=>"http://buystuffhere.com"}, "controller"=>"contour/registrations", "action"=>"create"}
|
80327
|
+
Unpermitted parameters: spam
|
80328
|
+
Redirected to http://test.host/users/login
|
80329
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
|
80330
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
80331
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
80332
|
+
[1m[35m (0.1ms)[0m begin transaction
|
80333
|
+
----------------------------------------------------------------------
|
80334
|
+
Contour::SessionsControllerTest: test_return_user_json_object_on_login
|
80335
|
+
----------------------------------------------------------------------
|
80336
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
80337
|
+
Processing by Contour::SessionsController#create as JSON
|
80338
|
+
Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
|
80339
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
80340
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
80341
|
+
[1m[35mSQL (13.7ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Thu, 25 Jul 2013 15:18:15 UTC +00:00], ["current_sign_in_at", Thu, 25 Jul 2013 15:18:15 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Thu, 25 Jul 2013 15:18:15 UTC +00:00]]
|
80342
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
80343
|
+
Completed 200 OK in 101ms (Views: 0.7ms | ActiveRecord: 14.2ms)
|
80344
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
80345
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
80346
|
+
----------------------------------------------------------------------------------------------------------
|
80347
|
+
Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email
|
80348
|
+
----------------------------------------------------------------------------------------------------------
|
80349
|
+
Processing by Contour::SessionsController#create as HTML
|
80350
|
+
Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}}
|
80351
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1
|
80352
|
+
[1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m
|
80353
|
+
Redirected to http://test.host/auth/google_apps
|
80354
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
80355
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
80356
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
80357
|
+
----------------------------------------------------------------------------------------------
|
80358
|
+
Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email
|
80359
|
+
----------------------------------------------------------------------------------------------
|
80360
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
80361
|
+
Processing by Contour::SessionsController#create as HTML
|
80362
|
+
Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
|
80363
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
80364
|
+
[1m[35m (0.3ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]]
|
80365
|
+
Redirected to http://test.host/auth/ldap
|
80366
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
|
80367
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
80368
|
+
[1m[35m (0.1ms)[0m begin transaction
|
80369
|
+
--------------------------------------------------------------------------
|
80370
|
+
Contour::SessionsControllerTest: test_should_not_login_invalid_credentials
|
80371
|
+
--------------------------------------------------------------------------
|
80372
|
+
Processing by Contour::SessionsController#create as HTML
|
80373
|
+
Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}}
|
80374
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m
|
80375
|
+
[1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = ''
|
80376
|
+
Completed 401 Unauthorized in 3ms
|
80377
|
+
Processing by Contour::SessionsController#new as HTML
|
80378
|
+
Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}}
|
80379
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms)
|
80380
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.0ms)
|
80381
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.8ms)
|
80382
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms)
|
80383
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.7ms)
|
80384
|
+
Completed 200 OK in 47ms (Views: 45.8ms | ActiveRecord: 0.0ms)
|
80385
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
80386
|
+
[1m[35m (0.1ms)[0m begin transaction
|
80387
|
+
-----------------------------------------------------
|
80388
|
+
ContourHelperTest: test_should_show_sort_field_helper
|
80389
|
+
-----------------------------------------------------
|
80390
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
80391
|
+
[1m[35m (0.1ms)[0m begin transaction
|
80392
|
+
---------------------------------------------------------------------
|
80393
|
+
ContourHelperTest: test_should_show_sort_field_helper_with_same_order
|
80394
|
+
---------------------------------------------------------------------
|
80395
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
80396
|
+
[1m[35m (0.1ms)[0m begin transaction
|
80397
|
+
-----------------------
|
80398
|
+
ContourTest: test_truth
|
80399
|
+
-----------------------
|
80400
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
80401
|
+
[1m[35m (0.1ms)[0m begin transaction
|
80402
|
+
--------------------------------------------------------------------
|
80403
|
+
NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login
|
80404
|
+
--------------------------------------------------------------------
|
80405
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
80406
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
80407
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
80408
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-25 11:18:15 -0400
|
80409
|
+
Processing by WelcomeController#logged_in_page as HTML
|
80410
|
+
Completed 401 Unauthorized in 55ms
|
80411
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
80412
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
80413
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
80414
|
+
[1m[35mSQL (22.7ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Jul 2013 15:18:15 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$kpbrNrhb7/vhumbl/BZNBOT52DzpkEo2jq7Q7i8Ho.kDc.ExNPX66"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Thu, 25 Jul 2013 15:18:15 UTC +00:00]]
|
80415
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
80416
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
80417
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
80418
|
+
[1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
80419
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
80420
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
80421
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m
|
80422
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-07-25 11:18:15 -0400
|
80423
|
+
Processing by Contour::SessionsController#create as HTML
|
80424
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
80425
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
|
80426
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
80427
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
80428
|
+
Completed 401 Unauthorized in 33ms
|
80429
|
+
Started GET "/users/login" for 127.0.0.1 at 2013-07-25 11:18:16 -0400
|
80430
|
+
Processing by Contour::SessionsController#new as HTML
|
80431
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
|
80432
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.3ms)
|
80433
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
80434
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms)
|
80435
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.8ms)
|
80436
|
+
Completed 200 OK in 17ms (Views: 14.5ms | ActiveRecord: 0.0ms)
|
80437
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
80438
|
+
[1m[35m (0.1ms)[0m begin transaction
|
80439
|
+
--------------------------------------------------------
|
80440
|
+
NavigationTest: test_friendly_url_forwarding_after_login
|
80441
|
+
--------------------------------------------------------
|
80442
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
80443
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
80444
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
80445
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-25 11:18:16 -0400
|
80446
|
+
Processing by WelcomeController#logged_in_page as HTML
|
80447
|
+
Completed 401 Unauthorized in 2ms
|
80448
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
80449
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
80450
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
80451
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Jul 2013 15:18:16 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$l4h5KudW1lg5Y3iPiGCSyOUBel.cbzBiX6MT.5yfeA.dNOGEMbeo."], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Thu, 25 Jul 2013 15:18:16 UTC +00:00]]
|
80452
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
80453
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
80454
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
80455
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
80456
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
80457
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
80458
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
80459
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-07-25 11:18:16 -0400
|
80460
|
+
Processing by Contour::SessionsController#create as HTML
|
80461
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
80462
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
80463
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
80464
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 999914116 [["last_sign_in_at", Thu, 25 Jul 2013 15:18:16 UTC +00:00], ["current_sign_in_at", Thu, 25 Jul 2013 15:18:16 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Thu, 25 Jul 2013 15:18:16 UTC +00:00]]
|
80465
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
80466
|
+
Redirected to http://www.example.com/logged_in_page
|
80467
|
+
Completed 302 Found in 13ms (ActiveRecord: 0.7ms)
|
80468
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-25 11:18:16 -0400
|
80469
|
+
Processing by WelcomeController#logged_in_page as HTML
|
80470
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1
|
80471
|
+
Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
80472
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
80473
|
+
[1m[35m (0.1ms)[0m begin transaction
|
80474
|
+
--------------------------------------------------------------------
|
80475
|
+
NavigationTest: test_pending_users_should_be_not_be_allowed_to_login
|
80476
|
+
--------------------------------------------------------------------
|
80477
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
80478
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
80479
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
80480
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-25 11:18:16 -0400
|
80481
|
+
Processing by WelcomeController#logged_in_page as HTML
|
80482
|
+
Completed 401 Unauthorized in 1ms
|
80483
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
80484
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
80485
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
80486
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Jul 2013 15:18:16 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$2CVNuUU7lZroE9ucMCO.T.yQVUrHm2HMYxZa/6/W3W8kANUl8KH.O"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Thu, 25 Jul 2013 15:18:16 UTC +00:00]]
|
80487
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
80488
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
80489
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
80490
|
+
[1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
80491
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
80492
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
|
80493
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
80494
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-07-25 11:18:16 -0400
|
80495
|
+
Processing by Contour::SessionsController#create as HTML
|
80496
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
80497
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
80498
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
80499
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
80500
|
+
Completed 401 Unauthorized in 6ms
|
80501
|
+
Started GET "/users/login" for 127.0.0.1 at 2013-07-25 11:18:16 -0400
|
80502
|
+
Processing by Contour::SessionsController#new as HTML
|
80503
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms)
|
80504
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.5ms)
|
80505
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
|
80506
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
|
80507
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
|
80508
|
+
Completed 200 OK in 17ms (Views: 14.0ms | ActiveRecord: 0.0ms)
|
80509
|
+
[1m[36m (8.1ms)[0m [1mrollback transaction[0m
|
80510
|
+
[1m[35m (0.1ms)[0m begin transaction
|
80511
|
+
-------------------------------------------------------------
|
80512
|
+
NavigationTest: test_root_navigation_redirected_to_login_page
|
80513
|
+
-------------------------------------------------------------
|
80514
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
80515
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
80516
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
80517
|
+
Started GET "/" for 127.0.0.1 at 2013-07-25 11:18:16 -0400
|
80518
|
+
Processing by WelcomeController#index as HTML
|
80519
|
+
Completed 401 Unauthorized in 1ms
|
80520
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
80521
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
80522
|
+
-------------------------------------------------------------------------
|
80523
|
+
NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http
|
80524
|
+
-------------------------------------------------------------------------
|
80525
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
80526
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
80527
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
80528
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-07-25 11:18:16 -0400
|
80529
|
+
Processing by WelcomeController#logged_in_page as JSON
|
80530
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
80531
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
80532
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Thu, 25 Jul 2013 15:18:16 UTC +00:00], ["current_sign_in_at", Thu, 25 Jul 2013 15:18:16 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Thu, 25 Jul 2013 15:18:16 UTC +00:00]]
|
80533
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
80534
|
+
Completed 200 OK in 82ms (Views: 0.2ms | ActiveRecord: 0.8ms)
|
80535
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
80536
|
+
[1m[35m (0.1ms)[0m begin transaction
|
80537
|
+
------------------------------------------------------------------------------------------------
|
80538
|
+
NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password
|
80539
|
+
------------------------------------------------------------------------------------------------
|
80540
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
80541
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
80542
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
80543
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-07-25 11:18:16 -0400
|
80544
|
+
Processing by WelcomeController#logged_in_page as JSON
|
80545
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
80546
|
+
Completed 401 Unauthorized in 81ms
|
80547
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
80548
|
+
[1m[35m (0.1ms)[0m begin transaction
|
80549
|
+
------------------------------------
|
80550
|
+
UserTest: test_should_apply_omniauth
|
80551
|
+
------------------------------------
|
80552
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
80553
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
80554
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
80555
|
+
--------------------------------------
|
80556
|
+
UserTest: test_should_get_reverse_name
|
80162
80557
|
--------------------------------------
|
80163
80558
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
80164
80559
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: contour
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Remo Mueller
|
@@ -498,9 +498,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
498
498
|
version: '0'
|
499
499
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
500
500
|
requirements:
|
501
|
-
- - '
|
501
|
+
- - '>='
|
502
502
|
- !ruby/object:Gem::Version
|
503
|
-
version:
|
503
|
+
version: '0'
|
504
504
|
requirements: []
|
505
505
|
rubyforge_project:
|
506
506
|
rubygems_version: 2.0.3
|