contour 2.0.0.beta.7 → 2.0.0.beta.8
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 +1 -0
- data/contour.gemspec +1 -1
- data/lib/contour/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +396 -0
- metadata +15 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e2e36ff6fe24658f8955b5fda5d6ea360da0b84d
|
|
4
|
+
data.tar.gz: 5350dd27ca6f59ea3851e7a4e26bcdb26808020b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e4f8c971e946814a4dc6a7ad480a10fb33096984c752e6aeda52061d453d4f9a25b7991fbbef44a4c6d6694050087bd83c466c7e86d89510161d8fc7d14ab892
|
|
7
|
+
data.tar.gz: dd2b57fab4bad2440268a4b40bf67ff54f95873cb8605cb26722de89ff2017187eff7b31ca0377c97b7289b79d9d4a42584724524206d85877a4f895ae3525bd
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
- Use of Ruby 2.0.0-p0 is now recommended
|
|
5
5
|
- **Gem Changes**
|
|
6
6
|
- Updated to Rails 4.0.0.rc1
|
|
7
|
+
- Updated to Devise 3.0.0.rc
|
|
7
8
|
- Added `config.spam_fields` to the configuration allowing application registration pages to be configured with honeypot traps for submitter spam bots
|
|
8
9
|
- Configuring the invisible `spam_fields` may reduce the number of fake registrations without being a burden to the existing registration process
|
|
9
10
|
- Ex: `config.spam_fields = [ :address ]`
|
data/contour.gemspec
CHANGED
|
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
|
|
|
27
27
|
s.add_dependency 'rails', '~> 4.0.0.rc1'
|
|
28
28
|
s.add_dependency 'jquery-rails', '~> 2.2.1'
|
|
29
29
|
s.add_dependency 'coffee-rails', '~> 4.0.0'
|
|
30
|
-
|
|
30
|
+
s.add_dependency 'devise', '~> 3.0.0.rc'
|
|
31
31
|
s.add_dependency 'omniauth', '~> 1.1.3'
|
|
32
32
|
s.add_dependency 'omniauth-cas', '~> 1.0.1'
|
|
33
33
|
s.add_dependency 'omniauth-facebook', '~> 1.4.1'
|
data/lib/contour/version.rb
CHANGED
data/test/dummy/db/test.sqlite3
CHANGED
|
Binary file
|
data/test/dummy/log/test.log
CHANGED
|
@@ -77788,6 +77788,402 @@ UserTest: test_should_apply_omniauth
|
|
|
77788
77788
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
77789
77789
|
--------------------------------------
|
|
77790
77790
|
UserTest: test_should_get_reverse_name
|
|
77791
|
+
--------------------------------------
|
|
77792
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
77793
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
77794
|
+
[1m[36m (0.8ms)[0m [1mbegin transaction[0m
|
|
77795
|
+
[1m[35mFixture Delete (0.6ms)[0m DELETE FROM "authentications"
|
|
77796
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-05-07 17:36:21', '2013-05-07 17:36:21', 949717663, 201799169)[0m
|
|
77797
|
+
[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-05-07 17:36:21', '2013-05-07 17:36:21', 876923740, 201799169)
|
|
77798
|
+
[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-05-07 17:36:21', '2013-05-07 17:36:21', 864673665, 201799169)[0m
|
|
77799
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "users"
|
|
77800
|
+
[1m[36mFixture Insert (0.2ms)[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-05-07 17:36:21', '2013-05-07 17:36:21', 201799169)[0m
|
|
77801
|
+
[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-05-07 17:36:21', '2013-05-07 17:36:21', 999914115)
|
|
77802
|
+
[1m[36mFixture Insert (0.2ms)[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-05-07 17:36:21', '2013-05-07 17:36:21', 725306934)[0m
|
|
77803
|
+
[1m[35mFixture Insert (0.2ms)[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-05-07 17:36:21', '2013-05-07 17:36:21', 349534908)
|
|
77804
|
+
[1m[36m (1.6ms)[0m [1mcommit transaction[0m
|
|
77805
|
+
[1m[35m (0.2ms)[0m begin transaction
|
|
77806
|
+
-------------------------------------------------
|
|
77807
|
+
AuthenticationTest: test_should_get_provider_name
|
|
77808
|
+
-------------------------------------------------
|
|
77809
|
+
[1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
|
77810
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
77811
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
77812
|
+
--------------------------------------------------------------------------------
|
|
77813
|
+
AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case
|
|
77814
|
+
--------------------------------------------------------------------------------
|
|
77815
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
77816
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
77817
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
77818
|
+
-------------------------------------------------------------------------
|
|
77819
|
+
Contour::AuthenticationsControllerTest: test_should_create_authentication
|
|
77820
|
+
-------------------------------------------------------------------------
|
|
77821
|
+
[1m[36mUser Load (0.7ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
77822
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
77823
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
|
77824
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
|
77825
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-05-07 17:36:21 UTC", "updated_at"=>"2013-05-07 17:36:21 UTC"}}
|
|
77826
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
|
77827
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
|
77828
|
+
Logged in user found, creating associated authentication.
|
|
77829
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
77830
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 May 2013 17:36:21 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 07 May 2013 17:36:21 UTC +00:00], ["user_id", 201799169]]
|
|
77831
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
77832
|
+
Redirected to http://test.host/authentications
|
|
77833
|
+
Completed 302 Found in 52ms (ActiveRecord: 1.0ms)
|
|
77834
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
|
77835
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
|
77836
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
77837
|
+
--------------------------------------------------------------------------
|
|
77838
|
+
Contour::AuthenticationsControllerTest: test_should_destroy_authentication
|
|
77839
|
+
--------------------------------------------------------------------------
|
|
77840
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
77841
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
|
77842
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
77843
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
|
77844
|
+
Parameters: {"id"=>"949717663"}
|
|
77845
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
|
77846
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]]
|
|
77847
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
77848
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
|
77849
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
77850
|
+
Redirected to http://test.host/authentications
|
|
77851
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
|
|
77852
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
77853
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
|
77854
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
77855
|
+
-------------------------------------------------------------
|
|
77856
|
+
Contour::AuthenticationsControllerTest: test_should_get_index
|
|
77857
|
+
-------------------------------------------------------------
|
|
77858
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
77859
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
77860
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
|
77861
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
|
77862
|
+
[1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]]
|
|
77863
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]]
|
|
77864
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (53.4ms)
|
|
77865
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
|
|
77866
|
+
Completed 200 OK in 211ms (Views: 208.8ms | ActiveRecord: 0.5ms)
|
|
77867
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
77868
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
77869
|
+
-----------------------------------------------------------------------------
|
|
77870
|
+
Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password
|
|
77871
|
+
-----------------------------------------------------------------------------
|
|
77872
|
+
Processing by Contour::PasswordsController#create as HTML
|
|
77873
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
|
77874
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
77875
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'gbfZEKyjU9gRoTBxFUqd' LIMIT 1[0m
|
|
77876
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
77877
|
+
[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", "gbfZEKyjU9gRoTBxFUqd"], ["reset_password_sent_at", Tue, 07 May 2013 17:36:22 UTC +00:00], ["updated_at", Tue, 07 May 2013 17:36:22 UTC +00:00]]
|
|
77878
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
77879
|
+
|
|
77880
|
+
Sent mail to valid@example.com (38.6ms)
|
|
77881
|
+
Date: Tue, 07 May 2013 13:36:22 -0400
|
|
77882
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
|
77883
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
|
77884
|
+
To: valid@example.com
|
|
77885
|
+
Message-ID: <51893b9640550_f4213fd0d54606782431f@edge.partners.org.mail>
|
|
77886
|
+
Subject: Reset password instructions
|
|
77887
|
+
Mime-Version: 1.0
|
|
77888
|
+
Content-Type: text/html;
|
|
77889
|
+
charset=UTF-8
|
|
77890
|
+
Content-Transfer-Encoding: 7bit
|
|
77891
|
+
|
|
77892
|
+
<p>Hello valid@example.com!</p>
|
|
77893
|
+
|
|
77894
|
+
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
|
|
77895
|
+
|
|
77896
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=gbfZEKyjU9gRoTBxFUqd">Change my password</a></p>
|
|
77897
|
+
|
|
77898
|
+
<p>If you didn't request this, please ignore this email.</p>
|
|
77899
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
|
77900
|
+
|
|
77901
|
+
Redirected to http://test.host/users/login
|
|
77902
|
+
Completed 302 Found in 194ms (ActiveRecord: 1.1ms)
|
|
77903
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
77904
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
77905
|
+
-----------------------------------------------------------------------------
|
|
77906
|
+
Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password
|
|
77907
|
+
-----------------------------------------------------------------------------
|
|
77908
|
+
Processing by Contour::PasswordsController#new as HTML
|
|
77909
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.2ms)
|
|
77910
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (10.2ms)
|
|
77911
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (12.9ms)
|
|
77912
|
+
Completed 200 OK in 96ms (Views: 95.5ms | ActiveRecord: 0.0ms)
|
|
77913
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
77914
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
77915
|
+
-------------------------------------------------------------------------------
|
|
77916
|
+
Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up
|
|
77917
|
+
-------------------------------------------------------------------------------
|
|
77918
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
|
77919
|
+
Processing by Contour::RegistrationsController#create as HTML
|
|
77920
|
+
Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>""}}
|
|
77921
|
+
Unpermitted parameters: spam
|
|
77922
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
77923
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m
|
|
77924
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
77925
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 17:36:22 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$ZHSWMDgAaBJV/6P.2BvKM.Gl4Ev3SzOZTn206/zPrSb/asNn4ufgO"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Tue, 07 May 2013 17:36:22 UTC +00:00]]
|
|
77926
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
77927
|
+
Redirected to http://test.host/users/login
|
|
77928
|
+
Completed 302 Found in 21ms (ActiveRecord: 0.8ms)
|
|
77929
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
|
77930
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
|
77931
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
77932
|
+
--------------------------------------------------------------------------------------------
|
|
77933
|
+
Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status
|
|
77934
|
+
--------------------------------------------------------------------------------------------
|
|
77935
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
|
77936
|
+
Processing by Contour::RegistrationsController#create as HTML
|
|
77937
|
+
Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
|
77938
|
+
Unpermitted parameters: status
|
|
77939
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
77940
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m
|
|
77941
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
77942
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 17:36:22 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$I.PWYhnS/dYqegIkndJQ2eic/VlbIX9XJiX16wkG.dgbZr8BmKyGm"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Tue, 07 May 2013 17:36:22 UTC +00:00]]
|
|
77943
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
77944
|
+
Redirected to http://test.host/users/login
|
|
77945
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.8ms)
|
|
77946
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
|
77947
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
77948
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
77949
|
+
---------------------------------------------------------------------------------------------
|
|
77950
|
+
Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up
|
|
77951
|
+
---------------------------------------------------------------------------------------------
|
|
77952
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
|
77953
|
+
Processing by Contour::RegistrationsController#create as HTML
|
|
77954
|
+
Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>"http://buystuffhere.com"}}
|
|
77955
|
+
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"}
|
|
77956
|
+
Unpermitted parameters: spam
|
|
77957
|
+
Redirected to http://test.host/users/login
|
|
77958
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
|
|
77959
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
|
77960
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
77961
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
77962
|
+
----------------------------------------------------------------------
|
|
77963
|
+
Contour::SessionsControllerTest: test_return_user_json_object_on_login
|
|
77964
|
+
----------------------------------------------------------------------
|
|
77965
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
77966
|
+
Processing by Contour::SessionsController#create as JSON
|
|
77967
|
+
Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
|
|
77968
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
77969
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
77970
|
+
[1m[35mSQL (0.4ms)[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", Tue, 07 May 2013 17:36:22 UTC +00:00], ["current_sign_in_at", Tue, 07 May 2013 17:36:22 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Tue, 07 May 2013 17:36:22 UTC +00:00]]
|
|
77971
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
77972
|
+
Completed 200 OK in 79ms (Views: 0.4ms | ActiveRecord: 0.8ms)
|
|
77973
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
|
77974
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
77975
|
+
----------------------------------------------------------------------------------------------------------
|
|
77976
|
+
Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email
|
|
77977
|
+
----------------------------------------------------------------------------------------------------------
|
|
77978
|
+
Processing by Contour::SessionsController#create as HTML
|
|
77979
|
+
Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}}
|
|
77980
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1
|
|
77981
|
+
[1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m
|
|
77982
|
+
Redirected to http://test.host/auth/google_apps
|
|
77983
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
|
77984
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
77985
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
77986
|
+
----------------------------------------------------------------------------------------------
|
|
77987
|
+
Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email
|
|
77988
|
+
----------------------------------------------------------------------------------------------
|
|
77989
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
77990
|
+
Processing by Contour::SessionsController#create as HTML
|
|
77991
|
+
Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
|
|
77992
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
|
77993
|
+
[1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]]
|
|
77994
|
+
Redirected to http://test.host/auth/ldap
|
|
77995
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
|
77996
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
77997
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
77998
|
+
--------------------------------------------------------------------------
|
|
77999
|
+
Contour::SessionsControllerTest: test_should_not_login_invalid_credentials
|
|
78000
|
+
--------------------------------------------------------------------------
|
|
78001
|
+
Processing by Contour::SessionsController#create as HTML
|
|
78002
|
+
Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}}
|
|
78003
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m
|
|
78004
|
+
[1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = ''
|
|
78005
|
+
Completed 401 Unauthorized in 3ms
|
|
78006
|
+
Processing by Contour::SessionsController#new as HTML
|
|
78007
|
+
Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}}
|
|
78008
|
+
Unpermitted parameters: password
|
|
78009
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.9ms)
|
|
78010
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.9ms)
|
|
78011
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
|
|
78012
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
|
|
78013
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms)
|
|
78014
|
+
Completed 200 OK in 90ms (Views: 89.0ms | ActiveRecord: 0.0ms)
|
|
78015
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
78016
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
78017
|
+
-----------------------------------------------------
|
|
78018
|
+
ContourHelperTest: test_should_show_sort_field_helper
|
|
78019
|
+
-----------------------------------------------------
|
|
78020
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
78021
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
78022
|
+
---------------------------------------------------------------------
|
|
78023
|
+
ContourHelperTest: test_should_show_sort_field_helper_with_same_order
|
|
78024
|
+
---------------------------------------------------------------------
|
|
78025
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
78026
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
78027
|
+
-----------------------
|
|
78028
|
+
ContourTest: test_truth
|
|
78029
|
+
-----------------------
|
|
78030
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
78031
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
78032
|
+
--------------------------------------------------------------------
|
|
78033
|
+
NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login
|
|
78034
|
+
--------------------------------------------------------------------
|
|
78035
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
78036
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
78037
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
78038
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-07 13:36:22 -0400
|
|
78039
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
78040
|
+
Completed 401 Unauthorized in 36ms
|
|
78041
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
78042
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
78043
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
78044
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 17:36:23 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$mQEW0xkP/6c1TQeRyBOvceKSMYzzCXV81i3DdGn/I2F5bxCPQYwwi"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Tue, 07 May 2013 17:36:23 UTC +00:00]]
|
|
78045
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
78046
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
78047
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
|
78048
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
|
78049
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
78050
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
|
78051
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m
|
|
78052
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-05-07 13:36:23 -0400
|
|
78053
|
+
Processing by Contour::SessionsController#create as HTML
|
|
78054
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
|
78055
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
|
|
78056
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
78057
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
78058
|
+
Completed 401 Unauthorized in 6ms
|
|
78059
|
+
Started GET "/users/login" for 127.0.0.1 at 2013-05-07 13:36:23 -0400
|
|
78060
|
+
Processing by Contour::SessionsController#new as HTML
|
|
78061
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms)
|
|
78062
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms)
|
|
78063
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
|
78064
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms)
|
|
78065
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms)
|
|
78066
|
+
Completed 200 OK in 12ms (Views: 10.8ms | ActiveRecord: 0.0ms)
|
|
78067
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
|
78068
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
78069
|
+
--------------------------------------------------------
|
|
78070
|
+
NavigationTest: test_friendly_url_forwarding_after_login
|
|
78071
|
+
--------------------------------------------------------
|
|
78072
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
78073
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
78074
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
78075
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-07 13:36:23 -0400
|
|
78076
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
78077
|
+
Completed 401 Unauthorized in 1ms
|
|
78078
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
78079
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
|
78080
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
78081
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 17:36:23 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$GBqz5y/7TLxPgeD3c0IQ/.dRQVE/jUSBgQJ/UbaovUNGaO62xUlo."], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Tue, 07 May 2013 17:36:23 UTC +00:00]]
|
|
78082
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
78083
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
78084
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
|
78085
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
|
78086
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
78087
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
|
78088
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
|
78089
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-05-07 13:36:23 -0400
|
|
78090
|
+
Processing by Contour::SessionsController#create as HTML
|
|
78091
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
|
78092
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
|
78093
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
78094
|
+
[1m[35mSQL (0.2ms)[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", Tue, 07 May 2013 17:36:23 UTC +00:00], ["current_sign_in_at", Tue, 07 May 2013 17:36:23 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", Tue, 07 May 2013 17:36:23 UTC +00:00]]
|
|
78095
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
78096
|
+
Redirected to http://www.example.com/logged_in_page
|
|
78097
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.5ms)
|
|
78098
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-07 13:36:23 -0400
|
|
78099
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
78100
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1
|
|
78101
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
|
78102
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
78103
|
+
[1m[35m (0.2ms)[0m begin transaction
|
|
78104
|
+
--------------------------------------------------------------------
|
|
78105
|
+
NavigationTest: test_pending_users_should_be_not_be_allowed_to_login
|
|
78106
|
+
--------------------------------------------------------------------
|
|
78107
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
78108
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
78109
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
78110
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-05-07 13:36:23 -0400
|
|
78111
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
78112
|
+
Completed 401 Unauthorized in 1ms
|
|
78113
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
78114
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
|
78115
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
78116
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 May 2013 17:36:23 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$CnokUXJWD68LDyqxPlf26.y7n5EeCb2Y/dW.PKMotlYBKt7ZjAdQq"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Tue, 07 May 2013 17:36:23 UTC +00:00]]
|
|
78117
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
78118
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
78119
|
+
[1m[36mAuthentication Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
|
78120
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
|
78121
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
78122
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
|
|
78123
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
|
78124
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-05-07 13:36:23 -0400
|
|
78125
|
+
Processing by Contour::SessionsController#create as HTML
|
|
78126
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
|
78127
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
78128
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
78129
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
78130
|
+
Completed 401 Unauthorized in 5ms
|
|
78131
|
+
Started GET "/users/login" for 127.0.0.1 at 2013-05-07 13:36:23 -0400
|
|
78132
|
+
Processing by Contour::SessionsController#new as HTML
|
|
78133
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms)
|
|
78134
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.1ms)
|
|
78135
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
|
|
78136
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.8ms)
|
|
78137
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms)
|
|
78138
|
+
Completed 200 OK in 14ms (Views: 12.7ms | ActiveRecord: 0.0ms)
|
|
78139
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
|
78140
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
78141
|
+
-------------------------------------------------------------
|
|
78142
|
+
NavigationTest: test_root_navigation_redirected_to_login_page
|
|
78143
|
+
-------------------------------------------------------------
|
|
78144
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
78145
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
78146
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
78147
|
+
Started GET "/" for 127.0.0.1 at 2013-05-07 13:36:23 -0400
|
|
78148
|
+
Processing by WelcomeController#index as HTML
|
|
78149
|
+
Completed 401 Unauthorized in 1ms
|
|
78150
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
78151
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
78152
|
+
-------------------------------------------------------------------------
|
|
78153
|
+
NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http
|
|
78154
|
+
-------------------------------------------------------------------------
|
|
78155
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
78156
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
78157
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
78158
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-07 13:36:23 -0400
|
|
78159
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
78160
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
|
78161
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
78162
|
+
[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", Tue, 07 May 2013 17:36:23 UTC +00:00], ["current_sign_in_at", Tue, 07 May 2013 17:36:23 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Tue, 07 May 2013 17:36:23 UTC +00:00]]
|
|
78163
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
78164
|
+
Completed 200 OK in 78ms (Views: 0.2ms | ActiveRecord: 0.7ms)
|
|
78165
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
|
78166
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
78167
|
+
------------------------------------------------------------------------------------------------
|
|
78168
|
+
NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password
|
|
78169
|
+
------------------------------------------------------------------------------------------------
|
|
78170
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
78171
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
78172
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
78173
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-05-07 13:36:23 -0400
|
|
78174
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
78175
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
78176
|
+
Completed 401 Unauthorized in 76ms
|
|
78177
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
78178
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
78179
|
+
------------------------------------
|
|
78180
|
+
UserTest: test_should_apply_omniauth
|
|
78181
|
+
------------------------------------
|
|
78182
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
78183
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
78184
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
78185
|
+
--------------------------------------
|
|
78186
|
+
UserTest: test_should_get_reverse_name
|
|
77791
78187
|
--------------------------------------
|
|
77792
78188
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
77793
78189
|
[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.beta.
|
|
4
|
+
version: 2.0.0.beta.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Remo Mueller
|
|
@@ -52,6 +52,20 @@ dependencies:
|
|
|
52
52
|
- - ~>
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: 4.0.0
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: devise
|
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
|
58
|
+
requirements:
|
|
59
|
+
- - ~>
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: 3.0.0.rc
|
|
62
|
+
type: :runtime
|
|
63
|
+
prerelease: false
|
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - ~>
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: 3.0.0.rc
|
|
55
69
|
- !ruby/object:Gem::Dependency
|
|
56
70
|
name: omniauth
|
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|