contour 1.0.0.rc2 → 1.0.0

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.
@@ -1,9 +1,9 @@
1
- == 1.0.0 (unreleased)
1
+ == 1.0.0
2
2
 
3
3
  * Enhancements
4
4
  * Twitter-Bootstrap CSS layout is now default!
5
5
  * Authentications can now be placed as a submenu using { authentications: true } anywhere in the contour links configuration
6
- * Rails updated to minimum 3.2.3
6
+ * Rails updated to minimum 3.2.4
7
7
  * Redirects to the user's alternate login page if a user fails to login on the default devise sign in page
8
8
  * Registration page can now have fields added by modifying <tt>config.sign_up_fields</tt>
9
9
  * Ex: <tt>config.sign_up_fields = [ { attribute: 'first_name', type: 'text_field' }, { attribute: 'last_name', type: 'text_field' } ]</tt>
@@ -14,7 +14,7 @@ Or update your <tt>Gemfile</tt> to include
14
14
 
15
15
  == Getting started
16
16
 
17
- Make sure you have Rails 3.2.3
17
+ Make sure you have Rails 3.2.4
18
18
 
19
19
  rails -v
20
20
 
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
23
23
  s.files = Dir["{app,config,db,lib}/**/*"] + ["CHANGELOG.rdoc", "contour.gemspec", "LICENSE", "Rakefile", "README.rdoc"]
24
24
  s.test_files = Dir["test/**/*"]
25
25
 
26
- s.add_dependency 'rails', '~> 3.2.4.rc1'
26
+ s.add_dependency 'rails', '~> 3.2.4'
27
27
  s.add_dependency 'jquery-rails', '~> 2.0.2'
28
28
  s.add_dependency 'devise', '~> 2.1.0'
29
29
  s.add_dependency 'omniauth', '~> 1.1.0'
@@ -3,7 +3,7 @@ module Contour
3
3
  MAJOR = 1
4
4
  MINOR = 0
5
5
  TINY = 0
6
- BUILD = "rc2" # nil, "pre", "rc", "rc2"
6
+ BUILD = nil # nil, "pre", "rc", "rc2"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
9
9
  end
@@ -94,12 +94,12 @@ class <%= resource_class_name_plural %>Controller < ApplicationController
94
94
  end
95
95
 
96
96
  def post_params
97
+ params[:<%= resource_name %>] ||= {}
97
98
 
98
99
  [<%= date_columns.collect{|c| ":#{c.name}"}.join(', ') %>].each do |date|
99
100
  params[:<%= resource_name %>][date] = parse_date(params[:<%= resource_name %>][date])
100
101
  end
101
102
 
102
- params[:<%= resource_name %>] ||= {}
103
103
  params[:<%= resource_name %>].slice(
104
104
  <%= columns.collect{|c| ":#{c.name}"}.join(', ') %>
105
105
  )
Binary file
@@ -37516,3 +37516,537 @@ Completed 401 Unauthorized in 83ms
37516
37516
   (0.0ms) begin transaction
37517
37517
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37518
37518
   (0.1ms) rollback transaction
37519
+ Connecting to database specified by database.yml
37520
+  (0.1ms) begin transaction
37521
+ Fixture Delete (8.4ms) DELETE FROM "authentications"
37522
+ Fixture Insert (0.5ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-05-31 19:00:38', '2012-05-31 19:00:38', 949717663, 201799169)
37523
+ Fixture Insert (0.2ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-31 19:00:38', '2012-05-31 19:00:38', 876923740, 201799169)
37524
+ Fixture Insert (0.2ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-05-31 19:00:38', '2012-05-31 19:00:38', 864673665, 201799169)
37525
+ Fixture Delete (0.6ms) DELETE FROM "users"
37526
+ 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-31 19:00:38', '2012-05-31 19:00:38', 201799169)
37527
+ 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-31 19:00:38', '2012-05-31 19:00:38', 999914115)
37528
+ 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-31 19:00:38', '2012-05-31 19:00:38', 725306934)
37529
+ Fixture Insert (0.2ms) 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-31 19:00:38', '2012-05-31 19:00:38', 349534908)
37530
+  (9.6ms) commit transaction
37531
+  (0.1ms) begin transaction
37532
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
37533
+  (0.1ms) rollback transaction
37534
+  (0.1ms) begin transaction
37535
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
37536
+  (0.2ms) rollback transaction
37537
+  (0.1ms) begin transaction
37538
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37539
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
37540
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
37541
+ Processing by Contour::AuthenticationsController#create as HTML
37542
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-31 19:00:38 UTC", "updated_at"=>"2012-05-31 19:00:38 UTC"}}
37543
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
37544
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
37545
+ Logged in user found, creating associated authentication.
37546
+  (0.1ms) SAVEPOINT active_record_1
37547
+ SQL (0.8ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 31 May 2012 19:00:38 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 31 May 2012 19:00:38 UTC +00:00], ["user_id", 201799169]]
37548
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37549
+ Redirected to http://test.host/authentications
37550
+ Completed 302 Found in 34ms (ActiveRecord: 1.2ms)
37551
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
37552
+  (0.5ms) rollback transaction
37553
+  (0.0ms) begin transaction
37554
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37555
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
37556
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
37557
+ Processing by Contour::AuthenticationsController#destroy as HTML
37558
+ Parameters: {"id"=>"949717663"}
37559
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
37560
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
37561
+  (0.1ms) SAVEPOINT active_record_1
37562
+ SQL (0.4ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
37563
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37564
+ Redirected to http://test.host/authentications
37565
+ Completed 302 Found in 8ms (ActiveRecord: 1.0ms)
37566
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
37567
+  (0.5ms) rollback transaction
37568
+  (0.1ms) begin transaction
37569
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37570
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
37571
+ Processing by Contour::AuthenticationsController#index as HTML
37572
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
37573
+  (0.2ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
37574
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
37575
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.0ms)
37576
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms)
37577
+ Completed 200 OK in 116ms (Views: 113.4ms | ActiveRecord: 0.5ms)
37578
+  (0.2ms) rollback transaction
37579
+  (0.1ms) begin transaction
37580
+ Processing by Contour::PasswordsController#create as HTML
37581
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
37582
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
37583
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'zZiQ7C4r4ofUMEJwTNqs' LIMIT 1
37584
+  (0.0ms) SAVEPOINT active_record_1
37585
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'zZiQ7C4r4ofUMEJwTNqs', "reset_password_sent_at" = '2012-05-31 19:00:38.770477', "updated_at" = '2012-05-31 19:00:38.771461' WHERE "users"."id" = 201799169
37586
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37587
+
37588
+ Sent mail to valid@example.com (59ms)
37589
+ Date: Thu, 31 May 2012 15:00:38 -0400
37590
+ From: please-change-me-at-config-initializers-devise@example.com
37591
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
37592
+ To: valid@example.com
37593
+ Message-ID: <4fc7bfd6e8118_42883fe8a4434cd0308c7@edge.mail>
37594
+ Subject: Reset password instructions
37595
+ Mime-Version: 1.0
37596
+ Content-Type: text/html;
37597
+ charset=UTF-8
37598
+ Content-Transfer-Encoding: 7bit
37599
+
37600
+ <p>Hello valid@example.com!</p>
37601
+
37602
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
37603
+
37604
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=zZiQ7C4r4ofUMEJwTNqs">Change my password</a></p>
37605
+
37606
+ <p>If you didn't request this, please ignore this email.</p>
37607
+ <p>Your password won't change until you access the link above and create a new one.</p>
37608
+
37609
+ Redirected to http://test.host/users/login
37610
+ Completed 302 Found in 233ms (ActiveRecord: 0.0ms)
37611
+  (0.5ms) rollback transaction
37612
+  (0.1ms) begin transaction
37613
+ Processing by Contour::PasswordsController#new as HTML
37614
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.8ms)
37615
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.3ms)
37616
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (25.1ms)
37617
+ Completed 200 OK in 76ms (Views: 74.7ms | ActiveRecord: 0.0ms)
37618
+  (0.1ms) rollback transaction
37619
+  (0.1ms) begin transaction
37620
+  (0.0ms) rollback transaction
37621
+  (0.1ms) begin transaction
37622
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37623
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
37624
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
37625
+
37626
+
37627
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-31 15:00:39 -0400
37628
+ Processing by WelcomeController#logged_in_page as HTML
37629
+ Completed 401 Unauthorized in 1ms
37630
+  (0.1ms) SAVEPOINT active_record_1
37631
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
37632
+ Binary data inserted for `string` type on column `encrypted_password`
37633
+ SQL (0.7ms) 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", Thu, 31 May 2012 19:00:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$Z2Ox6MuPnWpWemVcdGx3tOEblvWr9oV2hg6JV5e9qtR2sfgTmOnVW"], ["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", Thu, 31 May 2012 19:00:39 UTC +00:00]]
37634
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37635
+  (0.0ms) SAVEPOINT active_record_1
37636
+  (0.3ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
37637
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37638
+  (0.0ms) SAVEPOINT active_record_1
37639
+  (15.7ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-31 19:00:39.189216' WHERE "users"."id" = 999914116
37640
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37641
+  (0.0ms) SAVEPOINT active_record_1
37642
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-31 19:00:39.206652' WHERE "users"."id" = 999914116
37643
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37644
+
37645
+
37646
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-31 15:00:39 -0400
37647
+ Processing by Contour::SessionsController#create as HTML
37648
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
37649
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
37650
+  (0.1ms) SAVEPOINT active_record_1
37651
+  (0.2ms) UPDATE "users" SET "remember_created_at" = NULL, "updated_at" = '2012-05-31 19:00:39.221609' WHERE "users"."id" = 999914116
37652
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37653
+ Completed 401 Unauthorized in 11ms
37654
+
37655
+
37656
+ Started GET "/users/login" for 127.0.0.1 at 2012-05-31 15:00:39 -0400
37657
+ Processing by Contour::SessionsController#new as HTML
37658
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.9ms)
37659
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms)
37660
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms)
37661
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms)
37662
+ Completed 200 OK in 47ms (Views: 45.3ms | ActiveRecord: 0.0ms)
37663
+  (0.8ms) rollback transaction
37664
+  (0.1ms) begin transaction
37665
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37666
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
37667
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
37668
+
37669
+
37670
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-31 15:00:39 -0400
37671
+ Processing by WelcomeController#logged_in_page as HTML
37672
+ Completed 401 Unauthorized in 1ms
37673
+  (0.1ms) SAVEPOINT active_record_1
37674
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
37675
+ Binary data inserted for `string` type on column `encrypted_password`
37676
+ SQL (0.8ms) 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", Thu, 31 May 2012 19:00:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$c69PBMFRjZ1uB6OLT/KwOeSPlCfXc95Bwwdk./.Q.W7kRsXutdGIG"], ["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", Thu, 31 May 2012 19:00:39 UTC +00:00]]
37677
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37678
+  (0.0ms) SAVEPOINT active_record_1
37679
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
37680
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37681
+  (0.0ms) SAVEPOINT active_record_1
37682
+  (0.4ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-31 19:00:39.309942' WHERE "users"."id" = 999914116
37683
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37684
+  (0.0ms) SAVEPOINT active_record_1
37685
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37686
+
37687
+
37688
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-31 15:00:39 -0400
37689
+ Processing by Contour::SessionsController#create as HTML
37690
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
37691
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
37692
+  (0.2ms) SAVEPOINT active_record_1
37693
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-05-31 19:00:39.322100', "current_sign_in_at" = '2012-05-31 19:00:39.322100', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-31 19:00:39.323849' WHERE "users"."id" = 999914116
37694
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37695
+ Redirected to http://www.example.com/logged_in_page
37696
+ Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
37697
+
37698
+
37699
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-31 15:00:39 -0400
37700
+ Processing by WelcomeController#logged_in_page as HTML
37701
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
37702
+ Completed 200 OK in 22ms (Views: 18.7ms | ActiveRecord: 0.2ms)
37703
+  (0.6ms) rollback transaction
37704
+  (0.1ms) begin transaction
37705
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37706
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
37707
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
37708
+
37709
+
37710
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-31 15:00:39 -0400
37711
+ Processing by WelcomeController#logged_in_page as HTML
37712
+ Completed 401 Unauthorized in 0ms
37713
+  (0.1ms) SAVEPOINT active_record_1
37714
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
37715
+ Binary data inserted for `string` type on column `encrypted_password`
37716
+ 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", Thu, 31 May 2012 19:00:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$Hqh1OkIUwAbFE8J1JNO5SOVolcCvMs3oeAq/F3CWBkM8ptpFZ1BwW"], ["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", Thu, 31 May 2012 19:00:39 UTC +00:00]]
37717
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37718
+  (0.0ms) SAVEPOINT active_record_1
37719
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
37720
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37721
+  (0.0ms) SAVEPOINT active_record_1
37722
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37723
+  (0.0ms) SAVEPOINT active_record_1
37724
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37725
+
37726
+
37727
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-31 15:00:39 -0400
37728
+ Processing by Contour::SessionsController#create as HTML
37729
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
37730
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
37731
+  (0.1ms) SAVEPOINT active_record_1
37732
+  (0.5ms) UPDATE "users" SET "remember_created_at" = NULL, "updated_at" = '2012-05-31 19:00:39.389868' WHERE "users"."id" = 999914116
37733
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37734
+ Completed 401 Unauthorized in 8ms
37735
+
37736
+
37737
+ Started GET "/users/login" for 127.0.0.1 at 2012-05-31 15:00:39 -0400
37738
+ Processing by Contour::SessionsController#new as HTML
37739
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms)
37740
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
37741
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.8ms)
37742
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.5ms)
37743
+ Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.0ms)
37744
+  (0.6ms) rollback transaction
37745
+  (0.0ms) begin transaction
37746
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37747
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
37748
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
37749
+
37750
+
37751
+ Started GET "/" for 127.0.0.1 at 2012-05-31 15:00:39 -0400
37752
+ Processing by WelcomeController#index as HTML
37753
+ Completed 401 Unauthorized in 1ms
37754
+  (0.1ms) rollback transaction
37755
+  (0.1ms) begin transaction
37756
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37757
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
37758
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
37759
+
37760
+
37761
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-31 15:00:39 -0400
37762
+ Processing by WelcomeController#logged_in_page as JSON
37763
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
37764
+  (0.1ms) SAVEPOINT active_record_1
37765
+  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-05-31 19:00:39.568148', "current_sign_in_at" = '2012-05-31 19:00:39.568148', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-31 19:00:39.569202' WHERE "users"."id" = 201799169
37766
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37767
+ Completed 200 OK in 92ms (Views: 0.4ms | ActiveRecord: 0.6ms)
37768
+  (13.3ms) rollback transaction
37769
+  (0.1ms) begin transaction
37770
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37771
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
37772
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
37773
+
37774
+
37775
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-31 15:00:39 -0400
37776
+ Processing by WelcomeController#logged_in_page as JSON
37777
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
37778
+ Completed 401 Unauthorized in 88ms
37779
+  (0.1ms) rollback transaction
37780
+  (0.1ms) begin transaction
37781
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37782
+  (0.1ms) rollback transaction
37783
+  (0.1ms) begin transaction
37784
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37785
+  (0.1ms) rollback transaction
37786
+ Connecting to database specified by database.yml
37787
+  (0.1ms) begin transaction
37788
+ Fixture Delete (0.2ms) DELETE FROM "authentications"
37789
+ Fixture Insert (0.2ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2012-05-31 19:09:14', '2012-05-31 19:09:14', 949717663, 201799169)
37790
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-31 19:09:14', '2012-05-31 19:09:14', 876923740, 201799169)
37791
+ 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-31 19:09:14', '2012-05-31 19:09:14', 864673665, 201799169)
37792
+ Fixture Delete (0.1ms) DELETE FROM "users"
37793
+ 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-31 19:09:14', '2012-05-31 19:09:14', 201799169)
37794
+ 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-31 19:09:14', '2012-05-31 19:09:14', 999914115)
37795
+ 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-31 19:09:14', '2012-05-31 19:09:14', 725306934)
37796
+ 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-31 19:09:14', '2012-05-31 19:09:14', 349534908)
37797
+  (2.6ms) commit transaction
37798
+  (0.0ms) begin transaction
37799
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
37800
+  (0.1ms) rollback transaction
37801
+  (0.1ms) begin transaction
37802
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
37803
+  (0.0ms) rollback transaction
37804
+  (0.1ms) begin transaction
37805
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37806
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
37807
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
37808
+ Processing by Contour::AuthenticationsController#create as HTML
37809
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-31 19:09:14 UTC", "updated_at"=>"2012-05-31 19:09:14 UTC"}}
37810
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
37811
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
37812
+ Logged in user found, creating associated authentication.
37813
+  (0.1ms) SAVEPOINT active_record_1
37814
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 31 May 2012 19:09:14 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Thu, 31 May 2012 19:09:14 UTC +00:00], ["user_id", 201799169]]
37815
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37816
+ Redirected to http://test.host/authentications
37817
+ Completed 302 Found in 22ms (ActiveRecord: 0.8ms)
37818
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
37819
+  (0.7ms) rollback transaction
37820
+  (0.0ms) begin transaction
37821
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37822
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
37823
+  (26.0ms) SELECT COUNT(*) FROM "authentications"
37824
+ Processing by Contour::AuthenticationsController#destroy as HTML
37825
+ Parameters: {"id"=>"949717663"}
37826
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
37827
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
37828
+  (0.1ms) SAVEPOINT active_record_1
37829
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
37830
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37831
+ Redirected to http://test.host/authentications
37832
+ Completed 302 Found in 7ms (ActiveRecord: 0.9ms)
37833
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
37834
+  (0.7ms) rollback transaction
37835
+  (0.0ms) begin transaction
37836
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37837
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
37838
+ Processing by Contour::AuthenticationsController#index as HTML
37839
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
37840
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
37841
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
37842
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.2ms)
37843
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.5ms)
37844
+ Completed 200 OK in 29ms (Views: 27.2ms | ActiveRecord: 0.3ms)
37845
+  (0.1ms) rollback transaction
37846
+  (0.1ms) begin transaction
37847
+ Processing by Contour::PasswordsController#create as HTML
37848
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
37849
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
37850
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'dfuTHbfTsYixy1JabNTU' LIMIT 1
37851
+  (0.0ms) SAVEPOINT active_record_1
37852
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'dfuTHbfTsYixy1JabNTU', "reset_password_sent_at" = '2012-05-31 19:09:14.347772', "updated_at" = '2012-05-31 19:09:14.348530' WHERE "users"."id" = 201799169
37853
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37854
+
37855
+ Sent mail to valid@example.com (42ms)
37856
+ Date: Thu, 31 May 2012 15:09:14 -0400
37857
+ From: please-change-me-at-config-initializers-devise@example.com
37858
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
37859
+ To: valid@example.com
37860
+ Message-ID: <4fc7c1da7b046_433c3fc649834ce0815e9@edge.mail>
37861
+ Subject: Reset password instructions
37862
+ Mime-Version: 1.0
37863
+ Content-Type: text/html;
37864
+ charset=UTF-8
37865
+ Content-Transfer-Encoding: 7bit
37866
+
37867
+ <p>Hello valid@example.com!</p>
37868
+
37869
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
37870
+
37871
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=dfuTHbfTsYixy1JabNTU">Change my password</a></p>
37872
+
37873
+ <p>If you didn't request this, please ignore this email.</p>
37874
+ <p>Your password won't change until you access the link above and create a new one.</p>
37875
+
37876
+ Redirected to http://test.host/users/login
37877
+ Completed 302 Found in 177ms (ActiveRecord: 0.0ms)
37878
+  (0.7ms) rollback transaction
37879
+  (0.0ms) begin transaction
37880
+ Processing by Contour::PasswordsController#new as HTML
37881
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms)
37882
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms)
37883
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.3ms)
37884
+ Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.0ms)
37885
+  (0.1ms) rollback transaction
37886
+  (0.0ms) begin transaction
37887
+  (0.0ms) rollback transaction
37888
+  (0.0ms) begin transaction
37889
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37890
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
37891
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
37892
+
37893
+
37894
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-31 15:09:14 -0400
37895
+ Processing by WelcomeController#logged_in_page as HTML
37896
+ Completed 401 Unauthorized in 1ms
37897
+  (0.1ms) SAVEPOINT active_record_1
37898
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
37899
+ Binary data inserted for `string` type on column `encrypted_password`
37900
+ 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", Thu, 31 May 2012 19:09:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$xGeJ4g1UDvSaTQrFwzoHa.Rn2K9sxRXCkfbxmRcUcPUpg69GsS0MC"], ["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", Thu, 31 May 2012 19:09:14 UTC +00:00]]
37901
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37902
+  (0.0ms) SAVEPOINT active_record_1
37903
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
37904
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37905
+  (0.0ms) SAVEPOINT active_record_1
37906
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-31 19:09:14.624584' WHERE "users"."id" = 999914116
37907
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37908
+  (0.0ms) SAVEPOINT active_record_1
37909
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-31 19:09:14.625854' WHERE "users"."id" = 999914116
37910
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37911
+
37912
+
37913
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-31 15:09:14 -0400
37914
+ Processing by Contour::SessionsController#create as HTML
37915
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
37916
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
37917
+  (0.1ms) SAVEPOINT active_record_1
37918
+  (0.1ms) UPDATE "users" SET "remember_created_at" = NULL, "updated_at" = '2012-05-31 19:09:14.636655' WHERE "users"."id" = 999914116
37919
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37920
+ Completed 401 Unauthorized in 7ms
37921
+
37922
+
37923
+ Started GET "/users/login" for 127.0.0.1 at 2012-05-31 15:09:14 -0400
37924
+ Processing by Contour::SessionsController#new as HTML
37925
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
37926
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
37927
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
37928
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
37929
+ Completed 200 OK in 13ms (Views: 12.3ms | ActiveRecord: 0.0ms)
37930
+  (0.7ms) rollback transaction
37931
+  (0.0ms) begin transaction
37932
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37933
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
37934
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
37935
+
37936
+
37937
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-31 15:09:14 -0400
37938
+ Processing by WelcomeController#logged_in_page as HTML
37939
+ Completed 401 Unauthorized in 0ms
37940
+  (0.1ms) SAVEPOINT active_record_1
37941
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
37942
+ Binary data inserted for `string` type on column `encrypted_password`
37943
+ 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", Thu, 31 May 2012 19:09:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$YHvjeVw2t7kakZBqx0VFiek6LZemBvRSvoTRFaKyOFl5MFm8mxbi6"], ["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", Thu, 31 May 2012 19:09:14 UTC +00:00]]
37944
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37945
+  (0.0ms) SAVEPOINT active_record_1
37946
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
37947
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37948
+  (0.0ms) SAVEPOINT active_record_1
37949
+  (0.2ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-31 19:09:14.676240' WHERE "users"."id" = 999914116
37950
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37951
+  (0.0ms) SAVEPOINT active_record_1
37952
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37953
+
37954
+
37955
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-31 15:09:14 -0400
37956
+ Processing by Contour::SessionsController#create as HTML
37957
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
37958
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
37959
+  (0.0ms) SAVEPOINT active_record_1
37960
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-05-31 19:09:14.684904', "current_sign_in_at" = '2012-05-31 19:09:14.684904', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-31 19:09:14.685416' WHERE "users"."id" = 999914116
37961
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37962
+ Redirected to http://www.example.com/logged_in_page
37963
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
37964
+
37965
+
37966
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-31 15:09:14 -0400
37967
+ Processing by WelcomeController#logged_in_page as HTML
37968
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
37969
+ Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms)
37970
+  (0.7ms) rollback transaction
37971
+  (0.1ms) begin transaction
37972
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37973
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
37974
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
37975
+
37976
+
37977
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-31 15:09:14 -0400
37978
+ Processing by WelcomeController#logged_in_page as HTML
37979
+ Completed 401 Unauthorized in 0ms
37980
+  (0.1ms) SAVEPOINT active_record_1
37981
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
37982
+ Binary data inserted for `string` type on column `encrypted_password`
37983
+ 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", Thu, 31 May 2012 19:09:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$D.FvN0N/sZPGnBgEyh8NfuOXi/mWMnyHeD80vkiveFsSOrqcxmxce"], ["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", Thu, 31 May 2012 19:09:14 UTC +00:00]]
37984
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37985
+  (0.0ms) SAVEPOINT active_record_1
37986
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
37987
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37988
+  (0.0ms) SAVEPOINT active_record_1
37989
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37990
+  (0.0ms) SAVEPOINT active_record_1
37991
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37992
+
37993
+
37994
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-31 15:09:14 -0400
37995
+ Processing by Contour::SessionsController#create as HTML
37996
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
37997
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
37998
+  (0.0ms) SAVEPOINT active_record_1
37999
+  (0.3ms) UPDATE "users" SET "remember_created_at" = NULL, "updated_at" = '2012-05-31 19:09:14.721625' WHERE "users"."id" = 999914116
38000
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38001
+ Completed 401 Unauthorized in 5ms
38002
+
38003
+
38004
+ Started GET "/users/login" for 127.0.0.1 at 2012-05-31 15:09:14 -0400
38005
+ Processing by Contour::SessionsController#new as HTML
38006
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
38007
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
38008
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.7ms)
38009
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.2ms)
38010
+ Completed 200 OK in 11ms (Views: 10.6ms | ActiveRecord: 0.0ms)
38011
+  (1.1ms) rollback transaction
38012
+  (0.1ms) begin transaction
38013
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
38014
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
38015
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
38016
+
38017
+
38018
+ Started GET "/" for 127.0.0.1 at 2012-05-31 15:09:14 -0400
38019
+ Processing by WelcomeController#index as HTML
38020
+ Completed 401 Unauthorized in 1ms
38021
+  (0.1ms) rollback transaction
38022
+  (0.0ms) begin transaction
38023
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
38024
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
38025
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
38026
+
38027
+
38028
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-31 15:09:14 -0400
38029
+ Processing by WelcomeController#logged_in_page as JSON
38030
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
38031
+  (0.1ms) SAVEPOINT active_record_1
38032
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-05-31 19:09:14.865805', "current_sign_in_at" = '2012-05-31 19:09:14.865805', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-31 19:09:14.866487' WHERE "users"."id" = 201799169
38033
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38034
+ Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms)
38035
+  (10.7ms) rollback transaction
38036
+  (0.1ms) begin transaction
38037
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
38038
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
38039
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
38040
+
38041
+
38042
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-31 15:09:14 -0400
38043
+ Processing by WelcomeController#logged_in_page as JSON
38044
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
38045
+ Completed 401 Unauthorized in 78ms
38046
+  (0.1ms) rollback transaction
38047
+  (0.1ms) begin transaction
38048
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
38049
+  (0.1ms) rollback transaction
38050
+  (0.0ms) begin transaction
38051
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
38052
+  (0.0ms) rollback transaction
metadata CHANGED
@@ -1,30 +1,30 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contour
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc2
5
- prerelease: 6
4
+ version: 1.0.0
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Remo Mueller
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-29 00:00:00.000000000 Z
12
+ date: 2012-05-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &70126687862820 !ruby/object:Gem::Requirement
16
+ requirement: &70243368125780 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 3.2.4.rc1
21
+ version: 3.2.4
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70126687862820
24
+ version_requirements: *70243368125780
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: jquery-rails
27
- requirement: &70126687862300 !ruby/object:Gem::Requirement
27
+ requirement: &70243368155060 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 2.0.2
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70126687862300
35
+ version_requirements: *70243368155060
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: devise
38
- requirement: &70126687861640 !ruby/object:Gem::Requirement
38
+ requirement: &70243368154600 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 2.1.0
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70126687861640
46
+ version_requirements: *70243368154600
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: omniauth
49
- requirement: &70126687861040 !ruby/object:Gem::Requirement
49
+ requirement: &70243368154040 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 1.1.0
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *70126687861040
57
+ version_requirements: *70243368154040
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: omniauth-cas
60
- requirement: &70126687860220 !ruby/object:Gem::Requirement
60
+ requirement: &70243368153120 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 0.0.7
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *70126687860220
68
+ version_requirements: *70243368153120
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: omniauth-facebook
71
- requirement: &70126687859720 !ruby/object:Gem::Requirement
71
+ requirement: &70243368151980 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ~>
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: 1.3.0
77
77
  type: :runtime
78
78
  prerelease: false
79
- version_requirements: *70126687859720
79
+ version_requirements: *70243368151980
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: omniauth-ldap
82
- requirement: &70126687859260 !ruby/object:Gem::Requirement
82
+ requirement: &70243368150960 !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: *70126687859260
90
+ version_requirements: *70243368150960
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: omniauth-linkedin
93
- requirement: &70126687785220 !ruby/object:Gem::Requirement
93
+ requirement: &70243368150220 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ~>
@@ -98,10 +98,10 @@ dependencies:
98
98
  version: 0.0.6
99
99
  type: :runtime
100
100
  prerelease: false
101
- version_requirements: *70126687785220
101
+ version_requirements: *70243368150220
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: omniauth-openid
104
- requirement: &70126687784760 !ruby/object:Gem::Requirement
104
+ requirement: &70243368148780 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ~>
@@ -109,10 +109,10 @@ dependencies:
109
109
  version: 1.0.1
110
110
  type: :runtime
111
111
  prerelease: false
112
- version_requirements: *70126687784760
112
+ version_requirements: *70243368148780
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: omniauth-twitter
115
- requirement: &70126687784240 !ruby/object:Gem::Requirement
115
+ requirement: &70243368148140 !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements:
118
118
  - - ~>
@@ -120,10 +120,10 @@ dependencies:
120
120
  version: 0.0.11
121
121
  type: :runtime
122
122
  prerelease: false
123
- version_requirements: *70126687784240
123
+ version_requirements: *70243368148140
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: sqlite3
126
- requirement: &70126687783860 !ruby/object:Gem::Requirement
126
+ requirement: &70243368171760 !ruby/object:Gem::Requirement
127
127
  none: false
128
128
  requirements:
129
129
  - - ! '>='
@@ -131,7 +131,7 @@ dependencies:
131
131
  version: '0'
132
132
  type: :development
133
133
  prerelease: false
134
- version_requirements: *70126687783860
134
+ version_requirements: *70243368171760
135
135
  description: Basic Rails Framework files and assets for layout and authentication
136
136
  email: remosm@gmail.com
137
137
  executables: []
@@ -554,9 +554,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
554
554
  required_rubygems_version: !ruby/object:Gem::Requirement
555
555
  none: false
556
556
  requirements:
557
- - - ! '>'
557
+ - - ! '>='
558
558
  - !ruby/object:Gem::Version
559
- version: 1.3.1
559
+ version: '0'
560
560
  requirements: []
561
561
  rubyforge_project:
562
562
  rubygems_version: 1.8.15