contour 1.0.0.beta5 → 1.0.0.beta6
Sign up to get free protection for your applications and to get access to all the features.
- data/app/controllers/contour/confirmations_controller.rb +3 -0
- data/app/controllers/contour/unlocks_controller.rb +3 -0
- data/config/routes.rb +3 -1
- data/lib/contour/version.rb +1 -1
- data/lib/generators/contour/install_generator.rb +4 -4
- data/test/dummy/config/routes.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +264 -0
- metadata +27 -25
data/config/routes.rb
CHANGED
@@ -9,7 +9,9 @@ Rails.application.routes.draw do
|
|
9
9
|
|
10
10
|
# devise_for :users, controllers: { registrations: 'contour/registrations',
|
11
11
|
# sessions: 'contour/sessions',
|
12
|
-
# passwords: 'contour/passwords'
|
12
|
+
# passwords: 'contour/passwords',
|
13
|
+
# confirmations: 'contour/confirmations',
|
14
|
+
# unlocks: 'contour/unlocks' },
|
13
15
|
# path_names: { sign_up: 'register',
|
14
16
|
# sign_in: 'login' }
|
15
17
|
|
data/lib/contour/version.rb
CHANGED
@@ -17,7 +17,7 @@ module Contour
|
|
17
17
|
def copy_omniauth
|
18
18
|
template "omniauth.rb", "config/initializers/omniauth.rb"
|
19
19
|
end
|
20
|
-
|
20
|
+
|
21
21
|
def install_devise
|
22
22
|
generate("devise:install")
|
23
23
|
# model_name = ask("What would you like the user model to be called? [user]")
|
@@ -27,17 +27,17 @@ module Contour
|
|
27
27
|
end
|
28
28
|
|
29
29
|
def add_contour_devise_route
|
30
|
-
route "devise_for :users, controllers: { registrations: 'contour/registrations', sessions: 'contour/sessions', passwords: 'contour/passwords' }, path_names: { sign_up: 'register', sign_in: 'login' }"
|
30
|
+
route "devise_for :users, controllers: { registrations: 'contour/registrations', sessions: 'contour/sessions', passwords: 'contour/passwords', confirmations: 'contour/confirmations', unlocks: 'contour/unlocks' }, path_names: { sign_up: 'register', sign_in: 'login' }"
|
31
31
|
end
|
32
32
|
|
33
33
|
def show_readme
|
34
34
|
readme "README" if behavior == :invoke
|
35
35
|
end
|
36
|
-
|
36
|
+
|
37
37
|
# def copy_locale
|
38
38
|
# copy_file "../../../config/locales/en.yml", "config/locales/contour.en.yml"
|
39
39
|
# end
|
40
|
-
#
|
40
|
+
#
|
41
41
|
# def show_readme
|
42
42
|
# readme "README" if behavior == :invoke
|
43
43
|
# end
|
data/test/dummy/config/routes.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Dummy::Application.routes.draw do
|
2
2
|
|
3
|
-
devise_for :users, controllers: { registrations: 'contour/registrations', sessions: 'contour/sessions', passwords: 'contour/passwords' }, path_names: { sign_up: 'register', sign_in: 'login' }
|
3
|
+
devise_for :users, controllers: { registrations: 'contour/registrations', sessions: 'contour/sessions', passwords: 'contour/passwords', confirmations: 'contour/confirmations', unlocks: 'contour/unlocks' }, path_names: { sign_up: 'register', sign_in: 'login' }
|
4
4
|
|
5
5
|
resources :users
|
6
6
|
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -33296,3 +33296,267 @@ Completed 401 Unauthorized in 79ms
|
|
33296
33296
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33297
33297
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
33298
33298
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
33299
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33300
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
33301
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-05-04 16:57:41', '2012-05-04 16:57:41', 949717663, 201799169)[0m
|
33302
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-04 16:57:41', '2012-05-04 16:57:41', 876923740, 201799169)
|
33303
|
+
[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', '2012-05-04 16:57:41', '2012-05-04 16:57:41', 864673665, 201799169)[0m
|
33304
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
33305
|
+
[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', '2012-05-04 16:57:41', '2012-05-04 16:57:41', 201799169)[0m
|
33306
|
+
[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', '2012-05-04 16:57:41', '2012-05-04 16:57:41', 999914115)
|
33307
|
+
[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', '2012-05-04 16:57:41', '2012-05-04 16:57:41', 725306934)[0m
|
33308
|
+
[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', '2012-05-04 16:57:41', '2012-05-04 16:57:41', 349534908)
|
33309
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
33310
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33311
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
33312
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33313
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33314
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
33315
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
33316
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33317
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
33318
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
33319
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
33320
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
33321
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-04 16:57:41 UTC", "updated_at"=>"2012-05-04 16:57:41 UTC"}}
|
33322
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
33323
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
33324
|
+
Logged in user found, creating associated authentication.
|
33325
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33326
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Fri, 04 May 2012 16:57:41 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 04 May 2012 16:57:41 UTC +00:00], ["user_id", 201799169]]
|
33327
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33328
|
+
Redirected to http://test.host/authentications
|
33329
|
+
Completed 302 Found in 50ms (ActiveRecord: 0.8ms)
|
33330
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
33331
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
33332
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33333
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
33334
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
33335
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
33336
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
33337
|
+
Parameters: {"id"=>"949717663"}
|
33338
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
33339
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
33340
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
33341
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
33342
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33343
|
+
Redirected to http://test.host/authentications
|
33344
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
33345
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
33346
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
33347
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33348
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
33349
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
33350
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
33351
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
33352
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
33353
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
33354
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.3ms)
|
33355
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.2ms)
|
33356
|
+
Completed 200 OK in 73ms (Views: 71.5ms | ActiveRecord: 0.3ms)
|
33357
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33358
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33359
|
+
Processing by Contour::PasswordsController#create as HTML
|
33360
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
33361
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
33362
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'kNy6yPxUyyVtAcmM8ppy' LIMIT 1[0m
|
33363
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33364
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'kNy6yPxUyyVtAcmM8ppy', "reset_password_sent_at" = '2012-05-04 16:57:41.553736', "updated_at" = '2012-05-04 16:57:41.554570' WHERE "users"."id" = 201799169[0m
|
33365
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33366
|
+
|
33367
|
+
Sent mail to valid@example.com (43ms)
|
33368
|
+
Date: Fri, 04 May 2012 12:57:41 -0400
|
33369
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
33370
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
33371
|
+
To: valid@example.com
|
33372
|
+
Message-ID: <4fa40a85a3494_36873fc1f9834cd045750@edge.mail>
|
33373
|
+
Subject: Reset password instructions
|
33374
|
+
Mime-Version: 1.0
|
33375
|
+
Content-Type: text/html;
|
33376
|
+
charset=UTF-8
|
33377
|
+
Content-Transfer-Encoding: 7bit
|
33378
|
+
|
33379
|
+
<p>Hello valid@example.com!</p>
|
33380
|
+
|
33381
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
33382
|
+
|
33383
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=kNy6yPxUyyVtAcmM8ppy">Change my password</a></p>
|
33384
|
+
|
33385
|
+
<p>If you didn't request this, please ignore this email.</p>
|
33386
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
33387
|
+
|
33388
|
+
Redirected to http://test.host/users/login
|
33389
|
+
Completed 302 Found in 162ms (ActiveRecord: 0.0ms)
|
33390
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
33391
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33392
|
+
Processing by Contour::PasswordsController#new as HTML
|
33393
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.5ms)
|
33394
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.6ms)
|
33395
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (17.0ms)
|
33396
|
+
Completed 200 OK in 28ms (Views: 27.7ms | ActiveRecord: 0.0ms)
|
33397
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33398
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33399
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33400
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33401
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
33402
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
33403
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
33404
|
+
|
33405
|
+
|
33406
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-04 12:57:41 -0400
|
33407
|
+
Processing by WelcomeController#logged_in_page as HTML
|
33408
|
+
Completed 401 Unauthorized in 1ms
|
33409
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33410
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
33411
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
33412
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 04 May 2012 16:57:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$qs6NbMtDxDq5czR87fR2veWmhZXsT3o/5.qExueiiusFEGG2lnPhW"], ["first_name", "Deleted"], ["last_name", "User"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 04 May 2012 16:57:41 UTC +00:00]]
|
33413
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33414
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33415
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
33416
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33417
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
33418
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-04 16:57:41.795482' WHERE "users"."id" = 999914116
|
33419
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33420
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33421
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-04 16:57:41.796642' WHERE "users"."id" = 999914116[0m
|
33422
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33423
|
+
|
33424
|
+
|
33425
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-05-04 12:57:41 -0400
|
33426
|
+
Processing by Contour::SessionsController#create as HTML
|
33427
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
33428
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
33429
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33430
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33431
|
+
Completed 401 Unauthorized in 8ms
|
33432
|
+
|
33433
|
+
|
33434
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-05-04 12:57:41 -0400
|
33435
|
+
Processing by Contour::SessionsController#new as HTML
|
33436
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms)
|
33437
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
|
33438
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
|
33439
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms)
|
33440
|
+
Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.0ms)
|
33441
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
33442
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33443
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
33444
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
33445
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
33446
|
+
|
33447
|
+
|
33448
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-04 12:57:41 -0400
|
33449
|
+
Processing by WelcomeController#logged_in_page as HTML
|
33450
|
+
Completed 401 Unauthorized in 0ms
|
33451
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
33452
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
33453
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
33454
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 04 May 2012 16:57:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$JpvtnIZLbQM6uG7t9IAW4e9..Ey8eis.rf5hEsJPNWBMwzqz/mS9K"], ["first_name", "FirstName"], ["last_name", "LastName"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 04 May 2012 16:57:41 UTC +00:00]]
|
33455
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33456
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
33457
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
33458
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33459
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33460
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-04 16:57:41.852025' WHERE "users"."id" = 999914116[0m
|
33461
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33462
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
33463
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33464
|
+
|
33465
|
+
|
33466
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-05-04 12:57:41 -0400
|
33467
|
+
Processing by Contour::SessionsController#create as HTML
|
33468
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
33469
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
33470
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33471
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-04 16:57:41.862957', "current_sign_in_at" = '2012-05-04 16:57:41.862957', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-04 16:57:41.863488' WHERE "users"."id" = 999914116[0m
|
33472
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33473
|
+
Redirected to http://www.example.com/logged_in_page
|
33474
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
|
33475
|
+
|
33476
|
+
|
33477
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-04 12:57:41 -0400
|
33478
|
+
Processing by WelcomeController#logged_in_page as HTML
|
33479
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1[0m
|
33480
|
+
Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 0.2ms)
|
33481
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
33482
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33483
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
33484
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
33485
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
33486
|
+
|
33487
|
+
|
33488
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-04 12:57:41 -0400
|
33489
|
+
Processing by WelcomeController#logged_in_page as HTML
|
33490
|
+
Completed 401 Unauthorized in 0ms
|
33491
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
33492
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
33493
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
33494
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 04 May 2012 16:57:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$gvRPW56nqtWFpLbLJke/0uwX.AYySLwJoHinvRiBX0TxFd7XlUcFy"], ["first_name", "MyString"], ["last_name", "MyString"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["status", "pending"], ["updated_at", Fri, 04 May 2012 16:57:41 UTC +00:00]]
|
33495
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33496
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
33497
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
33498
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33499
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33500
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33501
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33502
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33503
|
+
|
33504
|
+
|
33505
|
+
Started POST "/users/login" for 127.0.0.1 at 2012-05-04 12:57:41 -0400
|
33506
|
+
Processing by Contour::SessionsController#create as HTML
|
33507
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
33508
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
33509
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
33510
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33511
|
+
Completed 401 Unauthorized in 4ms
|
33512
|
+
|
33513
|
+
|
33514
|
+
Started GET "/users/login" for 127.0.0.1 at 2012-05-04 12:57:41 -0400
|
33515
|
+
Processing by Contour::SessionsController#new as HTML
|
33516
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (32.8ms)
|
33517
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
33518
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
|
33519
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms)
|
33520
|
+
Completed 200 OK in 42ms (Views: 41.5ms | ActiveRecord: 0.0ms)
|
33521
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
33522
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33523
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
33524
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
33525
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
33526
|
+
|
33527
|
+
|
33528
|
+
Started GET "/" for 127.0.0.1 at 2012-05-04 12:57:41 -0400
|
33529
|
+
Processing by WelcomeController#index as HTML
|
33530
|
+
Completed 401 Unauthorized in 0ms
|
33531
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33532
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33533
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
33534
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
33535
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
33536
|
+
|
33537
|
+
|
33538
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-04 12:57:41 -0400
|
33539
|
+
Processing by WelcomeController#logged_in_page as JSON
|
33540
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
33541
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33542
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2012-05-04 16:57:42.047531', "current_sign_in_at" = '2012-05-04 16:57:42.047531', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-04 16:57:42.048193' WHERE "users"."id" = 201799169[0m
|
33543
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
33544
|
+
Completed 200 OK in 84ms (Views: 0.3ms | ActiveRecord: 0.5ms)
|
33545
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
33546
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33547
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
33548
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
33549
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
33550
|
+
|
33551
|
+
|
33552
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-04 12:57:42 -0400
|
33553
|
+
Processing by WelcomeController#logged_in_page as JSON
|
33554
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
33555
|
+
Completed 401 Unauthorized in 79ms
|
33556
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33557
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33558
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
33559
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33560
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33561
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
33562
|
+
[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: 1.0.0.
|
4
|
+
version: 1.0.0.beta6
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-05-04 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &70302277205080 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 3.2.3
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70302277205080
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: twitter-bootstrap-rails
|
27
|
-
requirement: &
|
27
|
+
requirement: &70302274218560 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 2.0.6
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70302274218560
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: jquery-rails
|
38
|
-
requirement: &
|
38
|
+
requirement: &70302274218100 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 2.0.2
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70302274218100
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: devise
|
49
|
-
requirement: &
|
49
|
+
requirement: &70302274217640 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: 2.0.4
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70302274217640
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: omniauth
|
60
|
-
requirement: &
|
60
|
+
requirement: &70302274217180 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ~>
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: 1.0.3
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70302274217180
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: omniauth-openid
|
71
|
-
requirement: &
|
71
|
+
requirement: &70302274216720 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ~>
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: 1.0.1
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *70302274216720
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: omniauth-ldap
|
82
|
-
requirement: &
|
82
|
+
requirement: &70302274216260 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ~>
|
@@ -87,10 +87,10 @@ dependencies:
|
|
87
87
|
version: 1.0.2
|
88
88
|
type: :runtime
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *70302274216260
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: omniauth-twitter
|
93
|
-
requirement: &
|
93
|
+
requirement: &70302274215800 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
96
|
- - ~>
|
@@ -98,10 +98,10 @@ dependencies:
|
|
98
98
|
version: 0.0.11
|
99
99
|
type: :runtime
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *70302274215800
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: omniauth-facebook
|
104
|
-
requirement: &
|
104
|
+
requirement: &70302274215340 !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
106
106
|
requirements:
|
107
107
|
- - ~>
|
@@ -109,10 +109,10 @@ dependencies:
|
|
109
109
|
version: 1.2.0
|
110
110
|
type: :runtime
|
111
111
|
prerelease: false
|
112
|
-
version_requirements: *
|
112
|
+
version_requirements: *70302274215340
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: omniauth-linkedin
|
115
|
-
requirement: &
|
115
|
+
requirement: &70302274214880 !ruby/object:Gem::Requirement
|
116
116
|
none: false
|
117
117
|
requirements:
|
118
118
|
- - ~>
|
@@ -120,10 +120,10 @@ dependencies:
|
|
120
120
|
version: 0.0.6
|
121
121
|
type: :runtime
|
122
122
|
prerelease: false
|
123
|
-
version_requirements: *
|
123
|
+
version_requirements: *70302274214880
|
124
124
|
- !ruby/object:Gem::Dependency
|
125
125
|
name: omniauth-cas
|
126
|
-
requirement: &
|
126
|
+
requirement: &70302274214420 !ruby/object:Gem::Requirement
|
127
127
|
none: false
|
128
128
|
requirements:
|
129
129
|
- - ~>
|
@@ -131,10 +131,10 @@ dependencies:
|
|
131
131
|
version: 0.0.6
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
|
-
version_requirements: *
|
134
|
+
version_requirements: *70302274214420
|
135
135
|
- !ruby/object:Gem::Dependency
|
136
136
|
name: sqlite3
|
137
|
-
requirement: &
|
137
|
+
requirement: &70302274214040 !ruby/object:Gem::Requirement
|
138
138
|
none: false
|
139
139
|
requirements:
|
140
140
|
- - ! '>='
|
@@ -142,7 +142,7 @@ dependencies:
|
|
142
142
|
version: '0'
|
143
143
|
type: :development
|
144
144
|
prerelease: false
|
145
|
-
version_requirements: *
|
145
|
+
version_requirements: *70302274214040
|
146
146
|
description: Basic Rails Framework files and assets for layout and authentication
|
147
147
|
email: remosm@gmail.com
|
148
148
|
executables: []
|
@@ -442,10 +442,12 @@ files:
|
|
442
442
|
- app/assets/stylesheets/jquery-ui-1.8.10.custom.css
|
443
443
|
- app/assets/stylesheets/jquery.qtip.css
|
444
444
|
- app/controllers/contour/authentications_controller.rb
|
445
|
+
- app/controllers/contour/confirmations_controller.rb
|
445
446
|
- app/controllers/contour/passwords_controller.rb
|
446
447
|
- app/controllers/contour/registrations_controller.rb
|
447
448
|
- app/controllers/contour/samples_controller.rb
|
448
449
|
- app/controllers/contour/sessions_controller.rb
|
450
|
+
- app/controllers/contour/unlocks_controller.rb
|
449
451
|
- app/helpers/contour_helper.rb
|
450
452
|
- app/models/authentication.rb
|
451
453
|
- app/views/contour/_links.html.erb
|