contour 1.0.0.rc → 1.0.0.rc2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26,3 +26,9 @@ jQuery ->
26
26
  $.get($("#"+object_class+"_search").attr("action"), $("#"+object_class+"_search").serialize() + "&"+object_class+"_per_page="+ $(this).data('count'), null, "script")
27
27
  false
28
28
  )
29
+
30
+ $(document).on('click', '[data-object~="order"]', () ->
31
+ $('#order').val($(this).data('order'))
32
+ $($(this).data('form')).submit()
33
+ false
34
+ )
@@ -5,13 +5,12 @@ module ContourHelper
5
5
  end
6
6
 
7
7
  def sort_field_helper(order, sort_field, display_name, search_form_id = 'search_form')
8
- result = ''
9
- if order == sort_field
10
- result = "<span class='selected'>#{display_name} #{ link_to_function('&raquo;'.html_safe, "$('#order').val('#{sort_field} DESC');$('##{search_form_id}').submit();", style: 'text-decoration:none')}</span>"
11
- elsif order == sort_field + ' DESC' or order.split(' ').first != sort_field
12
- result = "<span #{'class="selected"' if order == sort_field + ' DESC'}>#{display_name} #{link_to_function((order == sort_field + ' DESC' ? '&laquo;'.html_safe : '&laquo;&raquo;'.html_safe), "$('#order').val('#{sort_field}');$('##{search_form_id}').submit();", style: 'text-decoration:none')}</span>"
13
- end
14
- result
8
+ sort_field_order = (order == sort_field) ? "#{sort_field} DESC" : sort_field
9
+ symbol = (order == sort_field) ? '&raquo;' : (order == sort_field + ' DESC' ? '&laquo;' : '&laquo;&raquo;')
10
+ selected_class = (order == sort_field) ? 'selected' : (order == sort_field + ' DESC' ? 'selected' : '')
11
+ content_tag(:span, class: selected_class) do
12
+ display_name.to_s.html_safe + ' ' + link_to(raw(symbol), '#', data: { object: 'order', order: sort_field_order, form: "##{search_form_id}" }, style: 'text-decoration:none')
13
+ end.html_safe
15
14
  end
16
15
 
17
16
  # From Twitter-Bootstrap-Rails
data/contour.gemspec CHANGED
@@ -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.3'
26
+ s.add_dependency 'rails', '~> 3.2.4.rc1'
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 = "rc" # nil, "pre", "rc", "rc2"
6
+ BUILD = "rc2" # nil, "pre", "rc", "rc2"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
9
9
  end
Binary file
@@ -36982,3 +36982,537 @@ Completed 401 Unauthorized in 79ms
36982
36982
   (0.0ms) begin transaction
36983
36983
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
36984
36984
   (0.0ms) rollback transaction
36985
+ Connecting to database specified by database.yml
36986
+  (0.1ms) begin transaction
36987
+ Fixture Delete (0.2ms) DELETE FROM "authentications"
36988
+ 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-29 19:27:52', '2012-05-29 19:27:52', 949717663, 201799169)
36989
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-29 19:27:52', '2012-05-29 19:27:52', 876923740, 201799169)
36990
+ Fixture Insert (0.0ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2012-05-29 19:27:52', '2012-05-29 19:27:52', 864673665, 201799169)
36991
+ Fixture Delete (0.1ms) DELETE FROM "users"
36992
+ 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-29 19:27:52', '2012-05-29 19:27:52', 201799169)
36993
+ 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-29 19:27:52', '2012-05-29 19:27:52', 999914115)
36994
+ 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-29 19:27:52', '2012-05-29 19:27:52', 725306934)
36995
+ 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-29 19:27:52', '2012-05-29 19:27:52', 349534908)
36996
+  (1.9ms) commit transaction
36997
+  (0.1ms) begin transaction
36998
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
36999
+  (0.1ms) rollback transaction
37000
+  (0.0ms) begin transaction
37001
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
37002
+  (0.0ms) rollback transaction
37003
+  (0.1ms) begin transaction
37004
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37005
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
37006
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
37007
+ Processing by Contour::AuthenticationsController#create as HTML
37008
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-29 19:27:52 UTC", "updated_at"=>"2012-05-29 19:27:52 UTC"}}
37009
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
37010
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
37011
+ Logged in user found, creating associated authentication.
37012
+  (0.1ms) SAVEPOINT active_record_1
37013
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 29 May 2012 19:27:52 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 29 May 2012 19:27:52 UTC +00:00], ["user_id", 201799169]]
37014
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37015
+ Redirected to http://test.host/authentications
37016
+ Completed 302 Found in 49ms (ActiveRecord: 0.8ms)
37017
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
37018
+  (0.6ms) rollback transaction
37019
+  (0.0ms) begin transaction
37020
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37021
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
37022
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
37023
+ Processing by Contour::AuthenticationsController#destroy as HTML
37024
+ Parameters: {"id"=>"949717663"}
37025
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
37026
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
37027
+  (0.0ms) SAVEPOINT active_record_1
37028
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
37029
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37030
+ Redirected to http://test.host/authentications
37031
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
37032
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
37033
+  (0.8ms) rollback transaction
37034
+  (0.0ms) begin transaction
37035
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37036
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
37037
+ Processing by Contour::AuthenticationsController#index as HTML
37038
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
37039
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
37040
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
37041
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.1ms)
37042
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.5ms)
37043
+ Completed 200 OK in 53ms (Views: 51.5ms | ActiveRecord: 0.3ms)
37044
+  (0.1ms) rollback transaction
37045
+  (0.1ms) begin transaction
37046
+ Processing by Contour::PasswordsController#create as HTML
37047
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
37048
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
37049
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'AyCz7xrzfse9MqvAxxRf' LIMIT 1
37050
+  (0.0ms) SAVEPOINT active_record_1
37051
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'AyCz7xrzfse9MqvAxxRf', "reset_password_sent_at" = '2012-05-29 19:27:52.908819', "updated_at" = '2012-05-29 19:27:52.909513' WHERE "users"."id" = 201799169
37052
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37053
+
37054
+ Sent mail to valid@example.com (15ms)
37055
+ Date: Tue, 29 May 2012 15:27:52 -0400
37056
+ From: please-change-me-at-config-initializers-devise@example.com
37057
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
37058
+ To: valid@example.com
37059
+ Message-ID: <4fc52338f14e3_11a0c3fc1f1834cd8225f9@edge.mail>
37060
+ Subject: Reset password instructions
37061
+ Mime-Version: 1.0
37062
+ Content-Type: text/html;
37063
+ charset=UTF-8
37064
+ Content-Transfer-Encoding: 7bit
37065
+
37066
+ <p>Hello valid@example.com!</p>
37067
+
37068
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
37069
+
37070
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=AyCz7xrzfse9MqvAxxRf">Change my password</a></p>
37071
+
37072
+ <p>If you didn't request this, please ignore this email.</p>
37073
+ <p>Your password won't change until you access the link above and create a new one.</p>
37074
+
37075
+ Redirected to http://test.host/users/login
37076
+ Completed 302 Found in 99ms (ActiveRecord: 0.0ms)
37077
+  (0.7ms) rollback transaction
37078
+  (0.1ms) begin transaction
37079
+ Processing by Contour::PasswordsController#new as HTML
37080
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms)
37081
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms)
37082
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.6ms)
37083
+ Completed 200 OK in 42ms (Views: 40.9ms | ActiveRecord: 0.0ms)
37084
+  (0.1ms) rollback transaction
37085
+  (0.1ms) begin transaction
37086
+  (0.0ms) rollback transaction
37087
+  (0.1ms) begin transaction
37088
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37089
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
37090
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
37091
+
37092
+
37093
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-29 15:27:53 -0400
37094
+ Processing by WelcomeController#logged_in_page as HTML
37095
+ Completed 401 Unauthorized in 1ms
37096
+  (0.1ms) SAVEPOINT active_record_1
37097
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
37098
+ Binary data inserted for `string` type on column `encrypted_password`
37099
+ 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", Tue, 29 May 2012 19:27:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$9ajw8d7lGmvUDpXbuJRQ..HhiBdcQH07TT/qmaCAbxg41N3UcYCZq"], ["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", Tue, 29 May 2012 19:27:53 UTC +00:00]]
37100
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37101
+  (0.0ms) SAVEPOINT active_record_1
37102
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
37103
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37104
+  (0.0ms) SAVEPOINT active_record_1
37105
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-29 19:27:53.108988' WHERE "users"."id" = 999914116
37106
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37107
+  (0.0ms) SAVEPOINT active_record_1
37108
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-29 19:27:53.110199' WHERE "users"."id" = 999914116
37109
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37110
+
37111
+
37112
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-29 15:27:53 -0400
37113
+ Processing by Contour::SessionsController#create as HTML
37114
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
37115
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
37116
+  (0.1ms) SAVEPOINT active_record_1
37117
+  (0.1ms) UPDATE "users" SET "remember_created_at" = NULL, "updated_at" = '2012-05-29 19:27:53.121124' WHERE "users"."id" = 999914116
37118
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37119
+ Completed 401 Unauthorized in 7ms
37120
+
37121
+
37122
+ Started GET "/users/login" for 127.0.0.1 at 2012-05-29 15:27:53 -0400
37123
+ Processing by Contour::SessionsController#new as HTML
37124
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
37125
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
37126
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (29.2ms)
37127
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (31.0ms)
37128
+ Completed 200 OK in 42ms (Views: 40.9ms | ActiveRecord: 0.0ms)
37129
+  (0.8ms) rollback transaction
37130
+  (0.1ms) begin transaction
37131
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37132
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
37133
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
37134
+
37135
+
37136
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-29 15:27:53 -0400
37137
+ Processing by WelcomeController#logged_in_page as HTML
37138
+ Completed 401 Unauthorized in 0ms
37139
+  (0.1ms) SAVEPOINT active_record_1
37140
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
37141
+ Binary data inserted for `string` type on column `encrypted_password`
37142
+ 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", Tue, 29 May 2012 19:27:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$7tp9wUEIRaKfnxalfe.YIO3ts/uMTFAUXvm1TABSvxs4lYcSqiwLG"], ["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", Tue, 29 May 2012 19:27:53 UTC +00:00]]
37143
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37144
+  (0.0ms) SAVEPOINT active_record_1
37145
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
37146
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37147
+  (0.0ms) SAVEPOINT active_record_1
37148
+  (0.2ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-29 19:27:53.189706' WHERE "users"."id" = 999914116
37149
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37150
+  (0.0ms) SAVEPOINT active_record_1
37151
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37152
+
37153
+
37154
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-29 15:27:53 -0400
37155
+ Processing by Contour::SessionsController#create as HTML
37156
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
37157
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
37158
+  (0.0ms) SAVEPOINT active_record_1
37159
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-05-29 19:27:53.198344', "current_sign_in_at" = '2012-05-29 19:27:53.198344', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-29 19:27:53.198832' WHERE "users"."id" = 999914116
37160
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37161
+ Redirected to http://www.example.com/logged_in_page
37162
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
37163
+
37164
+
37165
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-29 15:27:53 -0400
37166
+ Processing by WelcomeController#logged_in_page as HTML
37167
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
37168
+ Completed 200 OK in 11ms (Views: 9.9ms | ActiveRecord: 0.1ms)
37169
+  (0.6ms) rollback transaction
37170
+  (0.0ms) begin transaction
37171
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37172
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
37173
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
37174
+
37175
+
37176
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-29 15:27:53 -0400
37177
+ Processing by WelcomeController#logged_in_page as HTML
37178
+ Completed 401 Unauthorized in 0ms
37179
+  (0.1ms) SAVEPOINT active_record_1
37180
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
37181
+ Binary data inserted for `string` type on column `encrypted_password`
37182
+ 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", Tue, 29 May 2012 19:27:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$gwAWMNQdNfC.mHAQTfBda.sA951M3o8uhmRgOkONvgRvRFrHuNNrK"], ["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", Tue, 29 May 2012 19:27:53 UTC +00:00]]
37183
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37184
+  (0.0ms) SAVEPOINT active_record_1
37185
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
37186
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37187
+  (0.0ms) SAVEPOINT active_record_1
37188
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37189
+  (0.0ms) SAVEPOINT active_record_1
37190
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37191
+
37192
+
37193
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-29 15:27:53 -0400
37194
+ Processing by Contour::SessionsController#create as HTML
37195
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
37196
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
37197
+  (0.0ms) SAVEPOINT active_record_1
37198
+  (0.3ms) UPDATE "users" SET "remember_created_at" = NULL, "updated_at" = '2012-05-29 19:27:53.240878' WHERE "users"."id" = 999914116
37199
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37200
+ Completed 401 Unauthorized in 5ms
37201
+
37202
+
37203
+ Started GET "/users/login" for 127.0.0.1 at 2012-05-29 15:27:53 -0400
37204
+ Processing by Contour::SessionsController#new as HTML
37205
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
37206
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.2ms)
37207
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms)
37208
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.6ms)
37209
+ Completed 200 OK in 12ms (Views: 11.5ms | ActiveRecord: 0.0ms)
37210
+  (0.9ms) rollback transaction
37211
+  (0.0ms) begin transaction
37212
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37213
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
37214
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
37215
+
37216
+
37217
+ Started GET "/" for 127.0.0.1 at 2012-05-29 15:27:53 -0400
37218
+ Processing by WelcomeController#index as HTML
37219
+ Completed 401 Unauthorized in 1ms
37220
+  (0.1ms) rollback transaction
37221
+  (0.0ms) begin transaction
37222
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37223
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
37224
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
37225
+
37226
+
37227
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-29 15:27:53 -0400
37228
+ Processing by WelcomeController#logged_in_page as JSON
37229
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
37230
+  (0.1ms) SAVEPOINT active_record_1
37231
+  (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2012-05-29 19:27:53.353632', "current_sign_in_at" = '2012-05-29 19:27:53.353632', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-29 19:27:53.354292' WHERE "users"."id" = 201799169
37232
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37233
+ Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.5ms)
37234
+  (0.8ms) rollback transaction
37235
+  (0.1ms) begin transaction
37236
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37237
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
37238
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
37239
+
37240
+
37241
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-29 15:27:53 -0400
37242
+ Processing by WelcomeController#logged_in_page as JSON
37243
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
37244
+ Completed 401 Unauthorized in 77ms
37245
+  (0.1ms) rollback transaction
37246
+  (0.1ms) begin transaction
37247
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37248
+  (0.1ms) rollback transaction
37249
+  (0.1ms) begin transaction
37250
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37251
+  (0.0ms) rollback transaction
37252
+ Connecting to database specified by database.yml
37253
+  (0.1ms) begin transaction
37254
+ Fixture Delete (0.3ms) DELETE FROM "authentications"
37255
+ 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-29 19:35:39', '2012-05-29 19:35:39', 949717663, 201799169)
37256
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2012-05-29 19:35:39', '2012-05-29 19:35:39', 876923740, 201799169)
37257
+ 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-29 19:35:39', '2012-05-29 19:35:39', 864673665, 201799169)
37258
+ Fixture Delete (0.1ms) DELETE FROM "users"
37259
+ 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-29 19:35:39', '2012-05-29 19:35:39', 201799169)
37260
+ 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-29 19:35:39', '2012-05-29 19:35:39', 999914115)
37261
+ 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 ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2012-05-29 19:35:39', '2012-05-29 19:35:39', 725306934)
37262
+ 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-29 19:35:39', '2012-05-29 19:35:39', 349534908)
37263
+  (1.6ms) commit transaction
37264
+  (0.1ms) begin transaction
37265
+ Authentication Load (0.4ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
37266
+  (0.1ms) rollback transaction
37267
+  (0.1ms) begin transaction
37268
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
37269
+  (0.1ms) rollback transaction
37270
+  (0.1ms) begin transaction
37271
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37272
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
37273
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
37274
+ Processing by Contour::AuthenticationsController#create as HTML
37275
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2012-05-29 19:35:39 UTC", "updated_at"=>"2012-05-29 19:35:39 UTC"}}
37276
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
37277
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
37278
+ Logged in user found, creating associated authentication.
37279
+  (0.1ms) SAVEPOINT active_record_1
37280
+ SQL (0.6ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 29 May 2012 19:35:39 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 29 May 2012 19:35:39 UTC +00:00], ["user_id", 201799169]]
37281
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37282
+ Redirected to http://test.host/authentications
37283
+ Completed 302 Found in 54ms (ActiveRecord: 0.9ms)
37284
+  (0.1ms) SELECT COUNT(*) FROM "authentications" 
37285
+  (0.5ms) rollback transaction
37286
+  (0.1ms) begin transaction
37287
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37288
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
37289
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
37290
+ Processing by Contour::AuthenticationsController#destroy as HTML
37291
+ Parameters: {"id"=>"949717663"}
37292
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
37293
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
37294
+  (0.0ms) SAVEPOINT active_record_1
37295
+ SQL (0.2ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
37296
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37297
+ Redirected to http://test.host/authentications
37298
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
37299
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
37300
+  (0.6ms) rollback transaction
37301
+  (0.0ms) begin transaction
37302
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37303
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
37304
+ Processing by Contour::AuthenticationsController#index as HTML
37305
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1
37306
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
37307
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169
37308
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (2.1ms)
37309
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms)
37310
+ Completed 200 OK in 28ms (Views: 25.9ms | ActiveRecord: 0.3ms)
37311
+  (0.1ms) rollback transaction
37312
+  (0.1ms) begin transaction
37313
+ Processing by Contour::PasswordsController#create as HTML
37314
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
37315
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
37316
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'LoepoixPNWvzBCxi5y4T' LIMIT 1
37317
+  (0.0ms) SAVEPOINT active_record_1
37318
+  (0.3ms) UPDATE "users" SET "reset_password_token" = 'LoepoixPNWvzBCxi5y4T', "reset_password_sent_at" = '2012-05-29 19:35:39.472711', "updated_at" = '2012-05-29 19:35:39.473528' WHERE "users"."id" = 201799169
37319
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37320
+
37321
+ Sent mail to valid@example.com (43ms)
37322
+ Date: Tue, 29 May 2012 15:35:39 -0400
37323
+ From: please-change-me-at-config-initializers-devise@example.com
37324
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
37325
+ To: valid@example.com
37326
+ Message-ID: <4fc5250b84fea_11a8c3fdefa034cd877448@edge.mail>
37327
+ Subject: Reset password instructions
37328
+ Mime-Version: 1.0
37329
+ Content-Type: text/html;
37330
+ charset=UTF-8
37331
+ Content-Transfer-Encoding: 7bit
37332
+
37333
+ <p>Hello valid@example.com!</p>
37334
+
37335
+ <p>Someone has requested a link to change your password, and you can do this through the link below.</p>
37336
+
37337
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=LoepoixPNWvzBCxi5y4T">Change my password</a></p>
37338
+
37339
+ <p>If you didn't request this, please ignore this email.</p>
37340
+ <p>Your password won't change until you access the link above and create a new one.</p>
37341
+
37342
+ Redirected to http://test.host/users/login
37343
+ Completed 302 Found in 118ms (ActiveRecord: 0.0ms)
37344
+  (0.9ms) rollback transaction
37345
+  (0.1ms) begin transaction
37346
+ Processing by Contour::PasswordsController#new as HTML
37347
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.7ms)
37348
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms)
37349
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.4ms)
37350
+ Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 0.0ms)
37351
+  (0.1ms) rollback transaction
37352
+  (0.1ms) begin transaction
37353
+  (0.1ms) rollback transaction
37354
+  (0.1ms) begin transaction
37355
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37356
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
37357
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
37358
+
37359
+
37360
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-29 15:35:39 -0400
37361
+ Processing by WelcomeController#logged_in_page as HTML
37362
+ Completed 401 Unauthorized in 1ms
37363
+  (0.1ms) SAVEPOINT active_record_1
37364
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
37365
+ Binary data inserted for `string` type on column `encrypted_password`
37366
+ 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", Tue, 29 May 2012 19:35: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$2.RBc5WnvPRFFxzsmQqvt.y4IgidQO0X26KvvlKyrdxWPgt7YW4eq"], ["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", Tue, 29 May 2012 19:35:39 UTC +00:00]]
37367
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37368
+  (0.0ms) SAVEPOINT active_record_1
37369
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
37370
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37371
+  (0.0ms) SAVEPOINT active_record_1
37372
+  (0.4ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-29 19:35:39.677286' WHERE "users"."id" = 999914116
37373
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37374
+  (0.0ms) SAVEPOINT active_record_1
37375
+  (0.1ms) UPDATE "users" SET "deleted" = 't', "updated_at" = '2012-05-29 19:35:39.679113' WHERE "users"."id" = 999914116
37376
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37377
+
37378
+
37379
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-29 15:35:39 -0400
37380
+ Processing by Contour::SessionsController#create as HTML
37381
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
37382
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
37383
+  (0.1ms) SAVEPOINT active_record_1
37384
+  (0.1ms) UPDATE "users" SET "remember_created_at" = NULL, "updated_at" = '2012-05-29 19:35:39.693518' WHERE "users"."id" = 999914116
37385
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37386
+ Completed 401 Unauthorized in 10ms
37387
+
37388
+
37389
+ Started GET "/users/login" for 127.0.0.1 at 2012-05-29 15:35:39 -0400
37390
+ Processing by Contour::SessionsController#new as HTML
37391
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms)
37392
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.8ms)
37393
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms)
37394
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.5ms)
37395
+ Completed 200 OK in 18ms (Views: 16.8ms | ActiveRecord: 0.0ms)
37396
+  (0.6ms) rollback transaction
37397
+  (0.1ms) begin transaction
37398
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37399
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
37400
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
37401
+
37402
+
37403
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-29 15:35:39 -0400
37404
+ Processing by WelcomeController#logged_in_page as HTML
37405
+ Completed 401 Unauthorized in 1ms
37406
+  (0.1ms) SAVEPOINT active_record_1
37407
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
37408
+ Binary data inserted for `string` type on column `encrypted_password`
37409
+ 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", Tue, 29 May 2012 19:35: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$RycSWHLc0X3fDNV0J2GEjeOaz2VKuFBGIEDN4AocFqHPLmJ.E5YkC"], ["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", Tue, 29 May 2012 19:35:39 UTC +00:00]]
37410
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37411
+  (0.0ms) SAVEPOINT active_record_1
37412
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
37413
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37414
+  (0.0ms) SAVEPOINT active_record_1
37415
+  (0.3ms) UPDATE "users" SET "status" = 'active', "updated_at" = '2012-05-29 19:35:39.747343' WHERE "users"."id" = 999914116
37416
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37417
+  (0.0ms) SAVEPOINT active_record_1
37418
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37419
+
37420
+
37421
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-29 15:35:39 -0400
37422
+ Processing by Contour::SessionsController#create as HTML
37423
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
37424
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
37425
+  (0.0ms) SAVEPOINT active_record_1
37426
+  (0.1ms) UPDATE "users" SET "last_sign_in_at" = '2012-05-29 19:35:39.757756', "current_sign_in_at" = '2012-05-29 19:35:39.757756', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-29 19:35:39.758275' WHERE "users"."id" = 999914116
37427
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37428
+ Redirected to http://www.example.com/logged_in_page
37429
+ Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
37430
+
37431
+
37432
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-29 15:35:39 -0400
37433
+ Processing by WelcomeController#logged_in_page as HTML
37434
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
37435
+ Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.2ms)
37436
+  (0.6ms) rollback transaction
37437
+  (0.1ms) begin transaction
37438
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37439
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
37440
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
37441
+
37442
+
37443
+ Started GET "/logged_in_page" for 127.0.0.1 at 2012-05-29 15:35:39 -0400
37444
+ Processing by WelcomeController#logged_in_page as HTML
37445
+ Completed 401 Unauthorized in 1ms
37446
+  (0.1ms) SAVEPOINT active_record_1
37447
+ User Exists (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
37448
+ Binary data inserted for `string` type on column `encrypted_password`
37449
+ 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", Tue, 29 May 2012 19:35: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$QpM4Eu14WXrcTFB5MAX1zO4tfoGgCY44kW3/SKoExb4WcJeeLnXGe"], ["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", Tue, 29 May 2012 19:35:39 UTC +00:00]]
37450
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37451
+  (0.0ms) SAVEPOINT active_record_1
37452
+  (0.1ms) SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
37453
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37454
+  (0.0ms) SAVEPOINT active_record_1
37455
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37456
+  (0.0ms) SAVEPOINT active_record_1
37457
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37458
+
37459
+
37460
+ Started POST "/users/login" for 127.0.0.1 at 2012-05-29 15:35:39 -0400
37461
+ Processing by Contour::SessionsController#create as HTML
37462
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
37463
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
37464
+  (0.1ms) SAVEPOINT active_record_1
37465
+  (0.4ms) UPDATE "users" SET "remember_created_at" = NULL, "updated_at" = '2012-05-29 19:35:39.813618' WHERE "users"."id" = 999914116
37466
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37467
+ Completed 401 Unauthorized in 9ms
37468
+
37469
+
37470
+ Started GET "/users/login" for 127.0.0.1 at 2012-05-29 15:35:39 -0400
37471
+ Processing by Contour::SessionsController#new as HTML
37472
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.6ms)
37473
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
37474
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.4ms)
37475
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.9ms)
37476
+ Completed 200 OK in 58ms (Views: 56.8ms | ActiveRecord: 0.0ms)
37477
+  (0.7ms) rollback transaction
37478
+  (0.1ms) begin transaction
37479
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37480
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
37481
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
37482
+
37483
+
37484
+ Started GET "/" for 127.0.0.1 at 2012-05-29 15:35:39 -0400
37485
+ Processing by WelcomeController#index as HTML
37486
+ Completed 401 Unauthorized in 1ms
37487
+  (0.1ms) rollback transaction
37488
+  (0.0ms) begin transaction
37489
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37490
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
37491
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
37492
+
37493
+
37494
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-29 15:35:39 -0400
37495
+ Processing by WelcomeController#logged_in_page as JSON
37496
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
37497
+  (0.1ms) SAVEPOINT active_record_1
37498
+  (0.3ms) UPDATE "users" SET "last_sign_in_at" = '2012-05-29 19:35:39.991767', "current_sign_in_at" = '2012-05-29 19:35:39.991767', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-05-29 19:35:39.992621' WHERE "users"."id" = 201799169
37499
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37500
+ Completed 200 OK in 91ms (Views: 0.2ms | ActiveRecord: 0.6ms)
37501
+  (0.6ms) rollback transaction
37502
+  (0.1ms) begin transaction
37503
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37504
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
37505
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
37506
+
37507
+
37508
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2012-05-29 15:35:40 -0400
37509
+ Processing by WelcomeController#logged_in_page as JSON
37510
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
37511
+ Completed 401 Unauthorized in 83ms
37512
+  (0.1ms) rollback transaction
37513
+  (0.1ms) begin transaction
37514
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37515
+  (0.1ms) rollback transaction
37516
+  (0.0ms) begin transaction
37517
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
37518
+  (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.rc
4
+ version: 1.0.0.rc2
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,22 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-24 00:00:00.000000000 Z
12
+ date: 2012-05-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &70128809087060 !ruby/object:Gem::Requirement
16
+ requirement: &70126687862820 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 3.2.3
21
+ version: 3.2.4.rc1
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70128809087060
24
+ version_requirements: *70126687862820
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: jquery-rails
27
- requirement: &70128809084580 !ruby/object:Gem::Requirement
27
+ requirement: &70126687862300 !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: *70128809084580
35
+ version_requirements: *70126687862300
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: devise
38
- requirement: &70128809081660 !ruby/object:Gem::Requirement
38
+ requirement: &70126687861640 !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: *70128809081660
46
+ version_requirements: *70126687861640
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: omniauth
49
- requirement: &70128809094240 !ruby/object:Gem::Requirement
49
+ requirement: &70126687861040 !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: *70128809094240
57
+ version_requirements: *70126687861040
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: omniauth-cas
60
- requirement: &70128809090620 !ruby/object:Gem::Requirement
60
+ requirement: &70126687860220 !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: *70128809090620
68
+ version_requirements: *70126687860220
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: omniauth-facebook
71
- requirement: &70128809089920 !ruby/object:Gem::Requirement
71
+ requirement: &70126687859720 !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: *70128809089920
79
+ version_requirements: *70126687859720
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: omniauth-ldap
82
- requirement: &70128809111620 !ruby/object:Gem::Requirement
82
+ requirement: &70126687859260 !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: *70128809111620
90
+ version_requirements: *70126687859260
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: omniauth-linkedin
93
- requirement: &70128809108080 !ruby/object:Gem::Requirement
93
+ requirement: &70126687785220 !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: *70128809108080
101
+ version_requirements: *70126687785220
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: omniauth-openid
104
- requirement: &70128809162460 !ruby/object:Gem::Requirement
104
+ requirement: &70126687784760 !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: *70128809162460
112
+ version_requirements: *70126687784760
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: omniauth-twitter
115
- requirement: &70128809155740 !ruby/object:Gem::Requirement
115
+ requirement: &70126687784240 !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: *70128809155740
123
+ version_requirements: *70126687784240
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: sqlite3
126
- requirement: &70128809189760 !ruby/object:Gem::Requirement
126
+ requirement: &70126687783860 !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: *70128809189760
134
+ version_requirements: *70126687783860
135
135
  description: Basic Rails Framework files and assets for layout and authentication
136
136
  email: remosm@gmail.com
137
137
  executables: []