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.
@@ -0,0 +1,3 @@
1
+ class Contour::ConfirmationsController < Devise::ConfirmationsController
2
+
3
+ end
@@ -0,0 +1,3 @@
1
+ class Contour::UnlocksController < Devise::UnlocksController
2
+
3
+ end
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
 
@@ -3,7 +3,7 @@ module Contour
3
3
  MAJOR = 1
4
4
  MINOR = 0
5
5
  TINY = 0
6
- BUILD = "beta5" # nil, "pre", "rc", "rc2"
6
+ BUILD = "beta6" # nil, "pre", "rc", "rc2"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
9
9
  end
@@ -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
@@ -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
 
Binary file
@@ -33296,3 +33296,267 @@ Completed 401 Unauthorized in 79ms
33296
33296
   (0.0ms) begin transaction
33297
33297
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
33298
33298
   (0.0ms) rollback transaction
33299
+  (0.1ms) begin transaction
33300
+ Fixture Delete (0.3ms) DELETE FROM "authentications"
33301
+ Fixture Insert (0.1ms) INSERT 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)
33302
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
33304
+ Fixture Delete (0.1ms) DELETE FROM "users"
33305
+ Fixture Insert (0.1ms) 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 ('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)
33306
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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 ('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)
33308
+ Fixture Insert (0.1ms) 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
+  (1.9ms) commit transaction
33310
+  (0.0ms) begin transaction
33311
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
33312
+  (0.1ms) rollback transaction
33313
+  (0.1ms) begin transaction
33314
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
33315
+  (0.0ms) rollback transaction
33316
+  (0.1ms) begin transaction
33317
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
33318
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
33319
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
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
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
33323
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
33324
+ Logged in user found, creating associated authentication.
33325
+  (0.1ms) SAVEPOINT active_record_1
33326
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33328
+ Redirected to http://test.host/authentications
33329
+ Completed 302 Found in 50ms (ActiveRecord: 0.8ms)
33330
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
33331
+  (0.8ms) rollback transaction
33332
+  (0.1ms) begin transaction
33333
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
33334
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
33335
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
33336
+ Processing by Contour::AuthenticationsController#destroy as HTML
33337
+ Parameters: {"id"=>"949717663"}
33338
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
33339
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
33340
+  (0.0ms) SAVEPOINT active_record_1
33341
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
33342
+  (0.1ms) RELEASE SAVEPOINT active_record_1
33343
+ Redirected to http://test.host/authentications
33344
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
33345
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
33346
+  (0.4ms) rollback transaction
33347
+  (0.0ms) begin transaction
33348
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
33349
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
33350
+ Processing by Contour::AuthenticationsController#index as HTML
33351
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
33352
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
33353
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
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
+  (0.1ms) rollback transaction
33358
+  (0.1ms) begin transaction
33359
+ Processing by Contour::PasswordsController#create as HTML
33360
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
33361
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
33362
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'kNy6yPxUyyVtAcmM8ppy' LIMIT 1
33363
+  (0.0ms) SAVEPOINT active_record_1
33364
+  (0.3ms) UPDATE "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
33365
+  (0.0ms) 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
+  (0.8ms) rollback transaction
33391
+  (0.0ms) 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
+  (0.1ms) rollback transaction
33398
+  (0.1ms) begin transaction
33399
+  (0.1ms) rollback transaction
33400
+  (0.1ms) begin transaction
33401
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
33402
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
33403
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
33410
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
33411
+ Binary data inserted for `string` type on column `encrypted_password`
33412
+ SQL (0.6ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33414
+  (0.0ms) SAVEPOINT active_record_1
33415
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
33416
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33417
+  (0.0ms) SAVEPOINT active_record_1
33418
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-04 16:57:41.795482' WHERE "users"."id" = 999914116
33419
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33420
+  (0.0ms) SAVEPOINT active_record_1
33421
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-04 16:57:41.796642' WHERE "users"."id" = 999914116
33422
+  (0.0ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
33429
+  (0.1ms) SAVEPOINT active_record_1
33430
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  (1.1ms) rollback transaction
33442
+  (0.0ms) begin transaction
33443
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
33444
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
33445
+ User Load (0.0ms) 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
+  (0.1ms) SAVEPOINT active_record_1
33452
+ User Exists (0.1ms) 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
+ SQL (0.5ms) 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", "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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33456
+  (0.0ms) SAVEPOINT active_record_1
33457
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
33458
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33459
+  (0.0ms) SAVEPOINT active_record_1
33460
+  (0.2ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-04 16:57:41.852025' WHERE "users"."id" = 999914116
33461
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33462
+  (0.0ms) SAVEPOINT active_record_1
33463
+  (0.0ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
33470
+  (0.0ms) SAVEPOINT active_record_1
33471
+  (0.1ms) UPDATE "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
33472
+  (0.0ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
33480
+ Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 0.2ms)
33481
+  (0.7ms) rollback transaction
33482
+  (0.0ms) begin transaction
33483
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
33484
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
33485
+ User Load (0.0ms) 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
+  (0.1ms) SAVEPOINT active_record_1
33492
+ User Exists (0.1ms) 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
+ SQL (0.5ms) 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", "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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33496
+  (0.0ms) SAVEPOINT active_record_1
33497
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
33498
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33499
+  (0.0ms) SAVEPOINT active_record_1
33500
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33501
+  (0.0ms) SAVEPOINT active_record_1
33502
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
33509
+  (0.0ms) SAVEPOINT active_record_1
33510
+  (0.0ms) 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
+  (0.9ms) rollback transaction
33522
+  (0.1ms) begin transaction
33523
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
33524
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
33525
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) rollback transaction
33532
+  (0.0ms) begin transaction
33533
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
33534
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
33535
+ User Load (0.0ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
33541
+  (0.1ms) SAVEPOINT active_record_1
33542
+  (0.2ms) UPDATE "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
33543
+  (0.1ms) RELEASE SAVEPOINT active_record_1
33544
+ Completed 200 OK in 84ms (Views: 0.3ms | ActiveRecord: 0.5ms)
33545
+  (0.7ms) rollback transaction
33546
+  (0.1ms) begin transaction
33547
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
33548
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
33549
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
33555
+ Completed 401 Unauthorized in 79ms
33556
+  (0.1ms) rollback transaction
33557
+  (0.1ms) begin transaction
33558
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
33559
+  (0.1ms) rollback transaction
33560
+  (0.1ms) begin transaction
33561
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
33562
+  (0.1ms) rollback transaction
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.beta5
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: &70141383964500 !ruby/object:Gem::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: *70141383964500
24
+ version_requirements: *70302277205080
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: twitter-bootstrap-rails
27
- requirement: &70141385459240 !ruby/object:Gem::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: *70141385459240
35
+ version_requirements: *70302274218560
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: jquery-rails
38
- requirement: &70141385458780 !ruby/object:Gem::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: *70141385458780
46
+ version_requirements: *70302274218100
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: devise
49
- requirement: &70141385458320 !ruby/object:Gem::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: *70141385458320
57
+ version_requirements: *70302274217640
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: omniauth
60
- requirement: &70141385457860 !ruby/object:Gem::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: *70141385457860
68
+ version_requirements: *70302274217180
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: omniauth-openid
71
- requirement: &70141385457400 !ruby/object:Gem::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: *70141385457400
79
+ version_requirements: *70302274216720
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: omniauth-ldap
82
- requirement: &70141385456940 !ruby/object:Gem::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: *70141385456940
90
+ version_requirements: *70302274216260
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: omniauth-twitter
93
- requirement: &70141385456480 !ruby/object:Gem::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: *70141385456480
101
+ version_requirements: *70302274215800
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: omniauth-facebook
104
- requirement: &70141385456020 !ruby/object:Gem::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: *70141385456020
112
+ version_requirements: *70302274215340
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: omniauth-linkedin
115
- requirement: &70141385455560 !ruby/object:Gem::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: *70141385455560
123
+ version_requirements: *70302274214880
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: omniauth-cas
126
- requirement: &70141385455100 !ruby/object:Gem::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: *70141385455100
134
+ version_requirements: *70302274214420
135
135
  - !ruby/object:Gem::Dependency
136
136
  name: sqlite3
137
- requirement: &70141385454720 !ruby/object:Gem::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: *70141385454720
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