contour 2.0.0.rc → 2.0.0.rc2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/contour.gemspec +4 -4
- data/lib/contour/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +395 -0
- metadata +9 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9558776b0f4d18ad62c3f15c6464f1f071ce2c8f
|
|
4
|
+
data.tar.gz: 1ba95ab11788e4cc53410f21a13219a404419e48
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8753d43f645fa25e3874c62fa9983a702fe84ec6cde6e220a3482bb3f1b384d64bea167267effa2eaa0e1c091bae8e5eb1a39bc8a870f62b1532694e2532ce90
|
|
7
|
+
data.tar.gz: 16190f6d62e8696514bf7856732fdcda7750990ba5e02205117fbbe3e6953d0fd2c0d8245f8e784dd537da99ebb9f1a8dd8be4480ef84a1170efb30523adfa72
|
data/CHANGELOG.md
CHANGED
|
@@ -5,8 +5,12 @@
|
|
|
5
5
|
- **Gem Changes**
|
|
6
6
|
- Updated to Rails 4.0.0
|
|
7
7
|
- Updated to Devise 3.0.0
|
|
8
|
+
- Updated jquery-rails to 3.0.4
|
|
8
9
|
- Updated Twitter Bootstrap to 2.3.2
|
|
9
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
|
|
10
14
|
- Added `config.spam_fields` to the configuration allowing application registration pages to be configured with honeypot traps for submitter spam bots
|
|
11
15
|
- Configuring the invisible `spam_fields` may reduce the number of fake registrations without being a burden to the existing registration process
|
|
12
16
|
- Ex: `config.spam_fields = [ :address ]`
|
data/contour.gemspec
CHANGED
|
@@ -25,16 +25,16 @@ Gem::Specification.new do |s|
|
|
|
25
25
|
s.test_files = Dir['test/**/*']
|
|
26
26
|
|
|
27
27
|
s.add_dependency 'rails', '~> 4.0.0'
|
|
28
|
-
s.add_dependency 'jquery-rails', '>=
|
|
28
|
+
s.add_dependency 'jquery-rails', '>= 3.0.4'
|
|
29
29
|
s.add_dependency 'coffee-rails', '~> 4.0.0'
|
|
30
30
|
s.add_dependency 'devise', '~> 3.0.0'
|
|
31
|
-
s.add_dependency 'omniauth', '~> 1.1.
|
|
32
|
-
s.add_dependency 'omniauth-cas', '~> 1.0.
|
|
31
|
+
s.add_dependency 'omniauth', '~> 1.1.4'
|
|
32
|
+
s.add_dependency 'omniauth-cas', '~> 1.0.4'
|
|
33
33
|
s.add_dependency 'omniauth-facebook', '~> 1.4.1'
|
|
34
34
|
s.add_dependency 'omniauth-ldap', '~> 1.0.3'
|
|
35
35
|
s.add_dependency 'omniauth-linkedin', '~> 0.1.0'
|
|
36
36
|
s.add_dependency 'omniauth-openid', '~> 1.0.1'
|
|
37
|
-
s.add_dependency 'omniauth-twitter', '~> 0.0
|
|
37
|
+
s.add_dependency 'omniauth-twitter', '~> 1.0.0'
|
|
38
38
|
|
|
39
39
|
s.add_development_dependency 'sqlite3'
|
|
40
40
|
end
|
data/lib/contour/version.rb
CHANGED
data/test/dummy/db/test.sqlite3
CHANGED
|
Binary file
|
data/test/dummy/log/test.log
CHANGED
|
@@ -79369,6 +79369,401 @@ UserTest: test_should_apply_omniauth
|
|
|
79369
79369
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
79370
79370
|
--------------------------------------
|
|
79371
79371
|
UserTest: test_should_get_reverse_name
|
|
79372
|
+
--------------------------------------
|
|
79373
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
79374
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
79375
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
|
79376
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications"
|
|
79377
|
+
[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-17 12:55:40', '2013-07-17 12:55:40', 949717663, 201799169)[0m
|
|
79378
|
+
[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-17 12:55:40', '2013-07-17 12:55:40', 876923740, 201799169)
|
|
79379
|
+
[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-17 12:55:40', '2013-07-17 12:55:40', 864673665, 201799169)[0m
|
|
79380
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
|
79381
|
+
[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-17 12:55:40', '2013-07-17 12:55:40', 201799169)[0m
|
|
79382
|
+
[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-17 12:55:40', '2013-07-17 12:55:40', 999914115)
|
|
79383
|
+
[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-17 12:55:40', '2013-07-17 12:55:40', 725306934)[0m
|
|
79384
|
+
[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-17 12:55:40', '2013-07-17 12:55:40', 349534908)
|
|
79385
|
+
[1m[36m (2.9ms)[0m [1mcommit transaction[0m
|
|
79386
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
79387
|
+
-------------------------------------------------
|
|
79388
|
+
AuthenticationTest: test_should_get_provider_name
|
|
79389
|
+
-------------------------------------------------
|
|
79390
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
|
79391
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
79392
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
79393
|
+
--------------------------------------------------------------------------------
|
|
79394
|
+
AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case
|
|
79395
|
+
--------------------------------------------------------------------------------
|
|
79396
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
79397
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
79398
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
79399
|
+
-------------------------------------------------------------------------
|
|
79400
|
+
Contour::AuthenticationsControllerTest: test_should_create_authentication
|
|
79401
|
+
-------------------------------------------------------------------------
|
|
79402
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
79403
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
79404
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
|
79405
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
|
79406
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-07-17 12:55:40 UTC", "updated_at"=>"2013-07-17 12:55:40 UTC"}}
|
|
79407
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
|
79408
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
|
79409
|
+
Logged in user found, creating associated authentication.
|
|
79410
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
79411
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 17 Jul 2013 12:55:40 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 17 Jul 2013 12:55:40 UTC +00:00], ["user_id", 201799169]]
|
|
79412
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
79413
|
+
Redirected to http://test.host/authentications
|
|
79414
|
+
Completed 302 Found in 19ms (ActiveRecord: 0.9ms)
|
|
79415
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
|
79416
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
|
79417
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
79418
|
+
--------------------------------------------------------------------------
|
|
79419
|
+
Contour::AuthenticationsControllerTest: test_should_destroy_authentication
|
|
79420
|
+
--------------------------------------------------------------------------
|
|
79421
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
79422
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
|
79423
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
79424
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
|
79425
|
+
Parameters: {"id"=>"949717663"}
|
|
79426
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
|
79427
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]]
|
|
79428
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
79429
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
|
79430
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
79431
|
+
Redirected to http://test.host/authentications
|
|
79432
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
|
|
79433
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
79434
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
79435
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
79436
|
+
-------------------------------------------------------------
|
|
79437
|
+
Contour::AuthenticationsControllerTest: test_should_get_index
|
|
79438
|
+
-------------------------------------------------------------
|
|
79439
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
79440
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
79441
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
|
79442
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
|
79443
|
+
[1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]]
|
|
79444
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]]
|
|
79445
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (10.9ms)
|
|
79446
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.3ms)
|
|
79447
|
+
Completed 200 OK in 138ms (Views: 135.7ms | ActiveRecord: 0.4ms)
|
|
79448
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
79449
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
79450
|
+
-----------------------------------------------------------------------------
|
|
79451
|
+
Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password
|
|
79452
|
+
-----------------------------------------------------------------------------
|
|
79453
|
+
Processing by Contour::PasswordsController#create as HTML
|
|
79454
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
|
79455
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
79456
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'tzqD8B9hxzxRsLg7ZmjC' LIMIT 1[0m
|
|
79457
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
79458
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "tzqD8B9hxzxRsLg7ZmjC"], ["reset_password_sent_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00], ["updated_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00]]
|
|
79459
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
79460
|
+
|
|
79461
|
+
Sent mail to valid@example.com (13.9ms)
|
|
79462
|
+
Date: Wed, 17 Jul 2013 08:55:41 -0400
|
|
79463
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
|
79464
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
|
79465
|
+
To: valid@example.com
|
|
79466
|
+
Message-ID: <51e6944d1fc6f_129643fc1b94606d0343b1@edge2.partners.org.mail>
|
|
79467
|
+
Subject: Reset password instructions
|
|
79468
|
+
Mime-Version: 1.0
|
|
79469
|
+
Content-Type: text/html;
|
|
79470
|
+
charset=UTF-8
|
|
79471
|
+
Content-Transfer-Encoding: 7bit
|
|
79472
|
+
|
|
79473
|
+
<p>Hello valid@example.com!</p>
|
|
79474
|
+
|
|
79475
|
+
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
|
|
79476
|
+
|
|
79477
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=tzqD8B9hxzxRsLg7ZmjC">Change my password</a></p>
|
|
79478
|
+
|
|
79479
|
+
<p>If you didn't request this, please ignore this email.</p>
|
|
79480
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
|
79481
|
+
|
|
79482
|
+
Redirected to http://test.host/users/login
|
|
79483
|
+
Completed 302 Found in 68ms (ActiveRecord: 0.9ms)
|
|
79484
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
79485
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
79486
|
+
-----------------------------------------------------------------------------
|
|
79487
|
+
Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password
|
|
79488
|
+
-----------------------------------------------------------------------------
|
|
79489
|
+
Processing by Contour::PasswordsController#new as HTML
|
|
79490
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms)
|
|
79491
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (6.7ms)
|
|
79492
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (9.4ms)
|
|
79493
|
+
Completed 200 OK in 24ms (Views: 23.2ms | ActiveRecord: 0.0ms)
|
|
79494
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
79495
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
79496
|
+
-------------------------------------------------------------------------------
|
|
79497
|
+
Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up
|
|
79498
|
+
-------------------------------------------------------------------------------
|
|
79499
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
|
79500
|
+
Processing by Contour::RegistrationsController#create as HTML
|
|
79501
|
+
Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>""}}
|
|
79502
|
+
Unpermitted parameters: spam
|
|
79503
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
79504
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m
|
|
79505
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
79506
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$xZk5qz2aQjRhJxhWY7/V1uSSog8UHR4bM79b7xvpFDiwbqxxPNj3y"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00]]
|
|
79507
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
79508
|
+
Redirected to http://test.host/users/login
|
|
79509
|
+
Completed 302 Found in 15ms (ActiveRecord: 0.8ms)
|
|
79510
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
|
79511
|
+
[1m[36m (22.9ms)[0m [1mrollback transaction[0m
|
|
79512
|
+
[1m[35m (0.2ms)[0m begin transaction
|
|
79513
|
+
--------------------------------------------------------------------------------------------
|
|
79514
|
+
Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status
|
|
79515
|
+
--------------------------------------------------------------------------------------------
|
|
79516
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
|
79517
|
+
Processing by Contour::RegistrationsController#create as HTML
|
|
79518
|
+
Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
|
79519
|
+
Unpermitted parameters: status
|
|
79520
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
79521
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m
|
|
79522
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
79523
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$F174e8fjy1hnSJTgPuSlPOnisp5k/rjZlYpq.8K44GYRTrpjTSgx2"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00]]
|
|
79524
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
79525
|
+
Redirected to http://test.host/users/login
|
|
79526
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.7ms)
|
|
79527
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
|
79528
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
79529
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
79530
|
+
---------------------------------------------------------------------------------------------
|
|
79531
|
+
Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up
|
|
79532
|
+
---------------------------------------------------------------------------------------------
|
|
79533
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
|
79534
|
+
Processing by Contour::RegistrationsController#create as HTML
|
|
79535
|
+
Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>"http://buystuffhere.com"}}
|
|
79536
|
+
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"}
|
|
79537
|
+
Unpermitted parameters: spam
|
|
79538
|
+
Redirected to http://test.host/users/login
|
|
79539
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
|
|
79540
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
|
79541
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
79542
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
79543
|
+
----------------------------------------------------------------------
|
|
79544
|
+
Contour::SessionsControllerTest: test_return_user_json_object_on_login
|
|
79545
|
+
----------------------------------------------------------------------
|
|
79546
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
79547
|
+
Processing by Contour::SessionsController#create as JSON
|
|
79548
|
+
Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
|
|
79549
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
79550
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
79551
|
+
[1m[35mSQL (0.5ms)[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", Wed, 17 Jul 2013 12:55:41 UTC +00:00], ["current_sign_in_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00]]
|
|
79552
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
79553
|
+
Completed 200 OK in 82ms (Views: 0.3ms | ActiveRecord: 0.8ms)
|
|
79554
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
|
79555
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
79556
|
+
----------------------------------------------------------------------------------------------------------
|
|
79557
|
+
Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email
|
|
79558
|
+
----------------------------------------------------------------------------------------------------------
|
|
79559
|
+
Processing by Contour::SessionsController#create as HTML
|
|
79560
|
+
Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}}
|
|
79561
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1
|
|
79562
|
+
[1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m
|
|
79563
|
+
Redirected to http://test.host/auth/google_apps
|
|
79564
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
|
79565
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
79566
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
79567
|
+
----------------------------------------------------------------------------------------------
|
|
79568
|
+
Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email
|
|
79569
|
+
----------------------------------------------------------------------------------------------
|
|
79570
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
79571
|
+
Processing by Contour::SessionsController#create as HTML
|
|
79572
|
+
Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
|
|
79573
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
|
79574
|
+
[1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]]
|
|
79575
|
+
Redirected to http://test.host/auth/ldap
|
|
79576
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
|
79577
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
79578
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
79579
|
+
--------------------------------------------------------------------------
|
|
79580
|
+
Contour::SessionsControllerTest: test_should_not_login_invalid_credentials
|
|
79581
|
+
--------------------------------------------------------------------------
|
|
79582
|
+
Processing by Contour::SessionsController#create as HTML
|
|
79583
|
+
Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}}
|
|
79584
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m
|
|
79585
|
+
[1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = ''
|
|
79586
|
+
Completed 401 Unauthorized in 3ms
|
|
79587
|
+
Processing by Contour::SessionsController#new as HTML
|
|
79588
|
+
Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}}
|
|
79589
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms)
|
|
79590
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.4ms)
|
|
79591
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.9ms)
|
|
79592
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
|
|
79593
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
|
|
79594
|
+
Completed 200 OK in 26ms (Views: 24.2ms | ActiveRecord: 0.0ms)
|
|
79595
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
79596
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
79597
|
+
-----------------------------------------------------
|
|
79598
|
+
ContourHelperTest: test_should_show_sort_field_helper
|
|
79599
|
+
-----------------------------------------------------
|
|
79600
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
79601
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
79602
|
+
---------------------------------------------------------------------
|
|
79603
|
+
ContourHelperTest: test_should_show_sort_field_helper_with_same_order
|
|
79604
|
+
---------------------------------------------------------------------
|
|
79605
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
79606
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
79607
|
+
-----------------------
|
|
79608
|
+
ContourTest: test_truth
|
|
79609
|
+
-----------------------
|
|
79610
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
79611
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
79612
|
+
--------------------------------------------------------------------
|
|
79613
|
+
NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login
|
|
79614
|
+
--------------------------------------------------------------------
|
|
79615
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
79616
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
79617
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
79618
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-17 08:55:41 -0400
|
|
79619
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
79620
|
+
Completed 401 Unauthorized in 18ms
|
|
79621
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
79622
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
79623
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
79624
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$B7A/7hp4ro365r7EeJ1uuuPk5t9cHwckl1pJV906Mjvh/9hk3FFJG"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00]]
|
|
79625
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
79626
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
79627
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
|
79628
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
|
79629
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
79630
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
|
79631
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m
|
|
79632
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-07-17 08:55:41 -0400
|
|
79633
|
+
Processing by Contour::SessionsController#create as HTML
|
|
79634
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
|
79635
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
|
|
79636
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
79637
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
79638
|
+
Completed 401 Unauthorized in 7ms
|
|
79639
|
+
Started GET "/users/login" for 127.0.0.1 at 2013-07-17 08:55:41 -0400
|
|
79640
|
+
Processing by Contour::SessionsController#new as HTML
|
|
79641
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
|
|
79642
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.6ms)
|
|
79643
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
|
79644
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
|
|
79645
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms)
|
|
79646
|
+
Completed 200 OK in 17ms (Views: 15.2ms | ActiveRecord: 0.0ms)
|
|
79647
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
|
79648
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
79649
|
+
--------------------------------------------------------
|
|
79650
|
+
NavigationTest: test_friendly_url_forwarding_after_login
|
|
79651
|
+
--------------------------------------------------------
|
|
79652
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
79653
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
79654
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
79655
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-17 08:55:41 -0400
|
|
79656
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
79657
|
+
Completed 401 Unauthorized in 1ms
|
|
79658
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
79659
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
|
79660
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
79661
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$tqEaxCuVXm1GAR2u8rTGoegOgt2QbZNJSJ3EM3NuHBU2R6tjtobN6"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00]]
|
|
79662
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
79663
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
79664
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
|
79665
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
|
79666
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
79667
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
|
79668
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
|
79669
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-07-17 08:55:41 -0400
|
|
79670
|
+
Processing by Contour::SessionsController#create as HTML
|
|
79671
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
|
79672
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
|
79673
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
79674
|
+
[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", Wed, 17 Jul 2013 12:55:41 UTC +00:00], ["current_sign_in_at", Wed, 17 Jul 2013 12:55:41 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", Wed, 17 Jul 2013 12:55:41 UTC +00:00]]
|
|
79675
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
79676
|
+
Redirected to http://www.example.com/logged_in_page
|
|
79677
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.5ms)
|
|
79678
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-17 08:55:41 -0400
|
|
79679
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
79680
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1
|
|
79681
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
|
79682
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
|
79683
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
79684
|
+
--------------------------------------------------------------------
|
|
79685
|
+
NavigationTest: test_pending_users_should_be_not_be_allowed_to_login
|
|
79686
|
+
--------------------------------------------------------------------
|
|
79687
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
79688
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
79689
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
79690
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-17 08:55:41 -0400
|
|
79691
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
79692
|
+
Completed 401 Unauthorized in 1ms
|
|
79693
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
79694
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
|
79695
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
79696
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$EpDfhPXB1wlvw.FxgcpEKOkrqMJ/Mibj6jGKwxN5aPgkOqtzeafVu"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00]]
|
|
79697
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
79698
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
79699
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
|
79700
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
|
79701
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
79702
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
|
|
79703
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
|
79704
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-07-17 08:55:41 -0400
|
|
79705
|
+
Processing by Contour::SessionsController#create as HTML
|
|
79706
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
|
79707
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
79708
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
79709
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
79710
|
+
Completed 401 Unauthorized in 6ms
|
|
79711
|
+
Started GET "/users/login" for 127.0.0.1 at 2013-07-17 08:55:41 -0400
|
|
79712
|
+
Processing by Contour::SessionsController#new as HTML
|
|
79713
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
|
|
79714
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.4ms)
|
|
79715
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
|
79716
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms)
|
|
79717
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms)
|
|
79718
|
+
Completed 200 OK in 14ms (Views: 13.0ms | ActiveRecord: 0.0ms)
|
|
79719
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
79720
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
79721
|
+
-------------------------------------------------------------
|
|
79722
|
+
NavigationTest: test_root_navigation_redirected_to_login_page
|
|
79723
|
+
-------------------------------------------------------------
|
|
79724
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
79725
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
79726
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
79727
|
+
Started GET "/" for 127.0.0.1 at 2013-07-17 08:55:41 -0400
|
|
79728
|
+
Processing by WelcomeController#index as HTML
|
|
79729
|
+
Completed 401 Unauthorized in 2ms
|
|
79730
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
79731
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
79732
|
+
-------------------------------------------------------------------------
|
|
79733
|
+
NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http
|
|
79734
|
+
-------------------------------------------------------------------------
|
|
79735
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
79736
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
79737
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
79738
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-07-17 08:55:41 -0400
|
|
79739
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
79740
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
|
79741
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
79742
|
+
[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", Wed, 17 Jul 2013 12:55:41 UTC +00:00], ["current_sign_in_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Wed, 17 Jul 2013 12:55:41 UTC +00:00]]
|
|
79743
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
79744
|
+
Completed 200 OK in 83ms (Views: 0.2ms | ActiveRecord: 0.7ms)
|
|
79745
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
79746
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
79747
|
+
------------------------------------------------------------------------------------------------
|
|
79748
|
+
NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password
|
|
79749
|
+
------------------------------------------------------------------------------------------------
|
|
79750
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
79751
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
79752
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
79753
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-07-17 08:55:41 -0400
|
|
79754
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
79755
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
79756
|
+
Completed 401 Unauthorized in 78ms
|
|
79757
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
79758
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
79759
|
+
------------------------------------
|
|
79760
|
+
UserTest: test_should_apply_omniauth
|
|
79761
|
+
------------------------------------
|
|
79762
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
79763
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
79764
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
79765
|
+
--------------------------------------
|
|
79766
|
+
UserTest: test_should_get_reverse_name
|
|
79372
79767
|
--------------------------------------
|
|
79373
79768
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
79374
79769
|
[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.rc2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Remo Mueller
|
|
@@ -30,14 +30,14 @@ dependencies:
|
|
|
30
30
|
requirements:
|
|
31
31
|
- - '>='
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version:
|
|
33
|
+
version: 3.0.4
|
|
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:
|
|
40
|
+
version: 3.0.4
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: coffee-rails
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -72,28 +72,28 @@ dependencies:
|
|
|
72
72
|
requirements:
|
|
73
73
|
- - ~>
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: 1.1.
|
|
75
|
+
version: 1.1.4
|
|
76
76
|
type: :runtime
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
80
|
- - ~>
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: 1.1.
|
|
82
|
+
version: 1.1.4
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
84
84
|
name: omniauth-cas
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
|
86
86
|
requirements:
|
|
87
87
|
- - ~>
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
|
-
version: 1.0.
|
|
89
|
+
version: 1.0.4
|
|
90
90
|
type: :runtime
|
|
91
91
|
prerelease: false
|
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
|
93
93
|
requirements:
|
|
94
94
|
- - ~>
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
|
-
version: 1.0.
|
|
96
|
+
version: 1.0.4
|
|
97
97
|
- !ruby/object:Gem::Dependency
|
|
98
98
|
name: omniauth-facebook
|
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -156,14 +156,14 @@ dependencies:
|
|
|
156
156
|
requirements:
|
|
157
157
|
- - ~>
|
|
158
158
|
- !ruby/object:Gem::Version
|
|
159
|
-
version: 0.0
|
|
159
|
+
version: 1.0.0
|
|
160
160
|
type: :runtime
|
|
161
161
|
prerelease: false
|
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
|
163
163
|
requirements:
|
|
164
164
|
- - ~>
|
|
165
165
|
- !ruby/object:Gem::Version
|
|
166
|
-
version: 0.0
|
|
166
|
+
version: 1.0.0
|
|
167
167
|
- !ruby/object:Gem::Dependency
|
|
168
168
|
name: sqlite3
|
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|