contour 1.1.2 → 1.1.3.pre
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.
- data/CHANGELOG.rdoc +12 -0
- data/README.rdoc +4 -4
- data/app/assets/javascripts/contour/global.js.coffee +1 -1
- data/app/assets/stylesheets/bootstrap-base-overrides.css +8 -0
- data/app/controllers/contour/authentications_controller.rb +2 -1
- data/app/views/contour/authentications/_login_table.html.erb +1 -1
- data/contour.gemspec +2 -2
- data/lib/contour/version.rb +2 -2
- data/lib/generators/contour/scaffold/templates/_paginate.html.erb +1 -1
- data/lib/generators/contour/scaffold/templates/index.html.erb +1 -1
- data/test/dummy/app/models/user.rb +1 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +714 -0
- metadata +9 -9
data/CHANGELOG.rdoc
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
== 1.1.3
|
2
|
+
|
3
|
+
* Enhancements
|
4
|
+
* Tooltip base line-height is now fixed at 20px
|
5
|
+
* Update Gem Dependencies
|
6
|
+
* rails 3.2.11, omniauth-ldap 1.0.3
|
7
|
+
* Removed tooltips from alternate login providers to save iPhones and iPads from clicking the authentication button twice
|
8
|
+
* Added a <tt>.center</tt> CSS class to use instead of the deprecated <tt><center></tt> tag
|
9
|
+
|
10
|
+
* Bug Fix
|
11
|
+
* apply_omniauth(omniauth) updated to account for PostgreSQL error, see {README}[https://github.com/remomueller/contour/blob/master/README]
|
12
|
+
|
1
13
|
== 1.1.2 (January 3, 2013)
|
2
14
|
|
3
15
|
* Enhancements
|
data/README.rdoc
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
= Contour {<img src="https://secure.travis-ci.org/remomueller/contour.png"/>}[http://travis-ci.org/remomueller/contour] {<img src="https://gemnasium.com/remomueller/contour.png" alt="Dependency Status" />}[https://gemnasium.com/remomueller/contour] {<img src="https://codeclimate.com/
|
1
|
+
= Contour {<img src="https://secure.travis-ci.org/remomueller/contour.png"/>}[http://travis-ci.org/remomueller/contour] {<img src="https://gemnasium.com/remomueller/contour.png" alt="Dependency Status" />}[https://gemnasium.com/remomueller/contour] {<img src="https://codeclimate.com/github/remomueller/contour.png" />}[https://codeclimate.com/github/remomueller/contour]
|
2
2
|
|
3
3
|
Basic Rails framework files and assets for layout and authentication
|
4
4
|
|
@@ -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.
|
17
|
+
Make sure you have Rails 3.2.11
|
18
18
|
|
19
19
|
rails -v
|
20
20
|
|
@@ -24,7 +24,7 @@ Make sure you have Rails 3.2.10
|
|
24
24
|
|
25
25
|
Modify <tt>Gemfile</tt> and add
|
26
26
|
|
27
|
-
gem 'contour', '~> 1.1.
|
27
|
+
gem 'contour', '~> 1.1.3'
|
28
28
|
|
29
29
|
Run Bundle install
|
30
30
|
|
@@ -87,6 +87,7 @@ Add the following to your <tt>app/models/user.rb</tt>
|
|
87
87
|
unless omniauth['info'].blank?
|
88
88
|
self.email = omniauth['info']['email'] if email.blank?
|
89
89
|
end
|
90
|
+
self.password = Devise.friendly_token[0,20] if self.password.blank?
|
90
91
|
authentications.build( provider: omniauth['provider'], uid: omniauth['uid'] )
|
91
92
|
end
|
92
93
|
|
@@ -192,4 +193,3 @@ For those interested in having better control on modifying the Twitter Bootstrap
|
|
192
193
|
== Copyright {<img style="border-width:0" src="http://i.creativecommons.org/l/by-nc-sa/3.0/80x15.png"/>}[http://creativecommons.org/licenses/by-nc-sa/3.0/]
|
193
194
|
|
194
195
|
Copyright (c) 2013 Remo Mueller. See {LICENSE}[https://github.com/remomueller/contour/blob/master/LICENSE] for further details.
|
195
|
-
|
@@ -2,7 +2,7 @@
|
|
2
2
|
@showWaiting = (element_id, text, centered) ->
|
3
3
|
element = $(element_id)
|
4
4
|
if element && centered
|
5
|
-
element.html('<br /><center><img width=\"13\" height=\"13\" src=\"' + root_url + 'assets/contour/ajax-loader.gif\" align=\"absmiddle\" alt=\"...\" />' + text + '</
|
5
|
+
element.html('<br /><div class=\"center\"><img width=\"13\" height=\"13\" src=\"' + root_url + 'assets/contour/ajax-loader.gif\" align=\"absmiddle\" alt=\"...\" />' + text + '</div><br />')
|
6
6
|
else if element
|
7
7
|
element.html('<img width=\"13\" height=\"13\" src=\"' + root_url + 'assets/contour/ajax-loader.gif\" align=\"absmiddle\" alt=\"...\" />' + text)
|
8
8
|
|
@@ -30,6 +30,7 @@ class Contour::AuthenticationsController < ApplicationController
|
|
30
30
|
logger.info "Creating new user with new authentication."
|
31
31
|
user = User.new(params[:user])
|
32
32
|
user.apply_omniauth(omniauth)
|
33
|
+
user.password = Devise.friendly_token[0,20] if user.password.blank?
|
33
34
|
if user.save
|
34
35
|
session["user_return_to"] = request.env["action_dispatch.request.unsigned_session_cookie"]["user_return_to"] if request.env and request.env["action_dispatch.request.unsigned_session_cookie"] and request.env["action_dispatch.request.unsigned_session_cookie"]["user_return_to"] and session["user_return_to"].blank?
|
35
36
|
flash[:notice] = "Signed in successfully." if user.active_for_authentication?
|
@@ -50,4 +51,4 @@ class Contour::AuthenticationsController < ApplicationController
|
|
50
51
|
flash[:notice] = "Successfully destroyed authentication."
|
51
52
|
redirect_to authentications_path
|
52
53
|
end
|
53
|
-
end
|
54
|
+
end
|
@@ -5,7 +5,7 @@
|
|
5
5
|
<% PROVIDERS.each do |provider| %>
|
6
6
|
<% provider_name = OmniAuth.config.camelizations[provider.to_s.downcase] || provider.to_s.titleize %>
|
7
7
|
<% image_name = provider.to_s.downcase %>
|
8
|
-
<a href="<%= request.script_name %><%= "/" + OmniAuth.config.path_prefix.split('/').last.to_s %><%= "/" + provider.to_s.downcase %>" class="btn" style="white-space:nowrap"
|
8
|
+
<a href="<%= request.script_name %><%= "/" + OmniAuth.config.path_prefix.split('/').last.to_s %><%= "/" + provider.to_s.downcase %>" class="btn" style="white-space:nowrap">
|
9
9
|
<%= image_tag "contour/#{image_name}_32.png", align: 'absmiddle', height: "28px" %>
|
10
10
|
</a>
|
11
11
|
<% end %>
|
data/contour.gemspec
CHANGED
@@ -23,13 +23,13 @@ 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.
|
26
|
+
s.add_dependency 'rails', '~> 3.2.11'
|
27
27
|
s.add_dependency 'jquery-rails', '~> 2.1.4'
|
28
28
|
s.add_dependency 'devise', '~> 2.1.2'
|
29
29
|
s.add_dependency 'omniauth', '~> 1.1.1'
|
30
30
|
s.add_dependency 'omniauth-cas', '~> 1.0.1'
|
31
31
|
s.add_dependency 'omniauth-facebook', '~> 1.4.1'
|
32
|
-
s.add_dependency 'omniauth-ldap', '~> 1.0.
|
32
|
+
s.add_dependency 'omniauth-ldap', '~> 1.0.3'
|
33
33
|
s.add_dependency 'omniauth-linkedin', '~> 0.0.8'
|
34
34
|
s.add_dependency 'omniauth-openid', '~> 1.0.1'
|
35
35
|
s.add_dependency 'omniauth-twitter', '~> 0.0.14'
|
data/lib/contour/version.rb
CHANGED
@@ -12,4 +12,4 @@
|
|
12
12
|
<%%= submit_tag 'Search', class: 'btn btn-primary' %>
|
13
13
|
<%% end %>
|
14
14
|
|
15
|
-
<div id="<%= resource_name_plural %>"><center><%%= image_tag "contour/ajax-loader.gif" %></
|
15
|
+
<div id="<%= resource_name_plural %>"><div class="center"><%%= image_tag "contour/ajax-loader.gif" %></div></div>
|
@@ -35,6 +35,7 @@ class User < ActiveRecord::Base
|
|
35
35
|
self.first_name = omniauth['info']['first_name'] if first_name.blank?
|
36
36
|
self.last_name = omniauth['info']['last_name'] if last_name.blank?
|
37
37
|
end
|
38
|
+
self.password = Devise.friendly_token[0,20] if self.password.blank?
|
38
39
|
authentications.build( provider: omniauth['provider'], uid: omniauth['uid'] )
|
39
40
|
end
|
40
41
|
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -48510,3 +48510,717 @@ Completed 401 Unauthorized in 291ms
|
|
48510
48510
|
[1m[35m (0.1ms)[0m begin transaction
|
48511
48511
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
48512
48512
|
[1m[35m (0.1ms)[0m rollback transaction
|
48513
|
+
Connecting to database specified by database.yml
|
48514
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
48515
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
48516
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-02-05 17:11:58', '2013-02-05 17:11:58', 949717663, 201799169)[0m
|
48517
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-02-05 17:11:58', '2013-02-05 17:11:58', 876923740, 201799169)
|
48518
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-02-05 17:11:58', '2013-02-05 17:11:58', 864673665, 201799169)[0m
|
48519
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
48520
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-05 17:11:58', '2013-02-05 17:11:58', 201799169)[0m
|
48521
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-05 17:11:58', '2013-02-05 17:11:58', 999914115)
|
48522
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-05 17:11:58', '2013-02-05 17:11:58', 725306934)[0m
|
48523
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-05 17:11:58', '2013-02-05 17:11:58', 349534908)
|
48524
|
+
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
48525
|
+
[1m[35m (0.1ms)[0m begin transaction
|
48526
|
+
[1m[36mAuthentication Load (2.6ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
48527
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
48528
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
48529
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
48530
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
48531
|
+
[1m[35m (0.1ms)[0m begin transaction
|
48532
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
48533
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
48534
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
48535
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
48536
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-02-05 17:11:58 UTC", "updated_at"=>"2013-02-05 17:11:58 UTC"}}
|
48537
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
48538
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
48539
|
+
Logged in user found, creating associated authentication.
|
48540
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
48541
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 05 Feb 2013 17:11:58 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 05 Feb 2013 17:11:58 UTC +00:00], ["user_id", 201799169]]
|
48542
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
48543
|
+
Redirected to http://test.host/authentications
|
48544
|
+
Completed 302 Found in 94ms (ActiveRecord: 1.2ms)
|
48545
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
48546
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
48547
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
48548
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
48549
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
48550
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications"
|
48551
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
48552
|
+
Parameters: {"id"=>"949717663"}
|
48553
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
48554
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
48555
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
48556
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
48557
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
48558
|
+
Redirected to http://test.host/authentications
|
48559
|
+
Completed 302 Found in 9ms (ActiveRecord: 1.0ms)
|
48560
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
48561
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
48562
|
+
[1m[35m (0.1ms)[0m begin transaction
|
48563
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
48564
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
48565
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
48566
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
48567
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
48568
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
48569
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (4.9ms)
|
48570
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.8ms)
|
48571
|
+
Completed 200 OK in 112ms (Views: 108.6ms | ActiveRecord: 0.6ms)
|
48572
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
48573
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
48574
|
+
Processing by Contour::PasswordsController#create as HTML
|
48575
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
48576
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
48577
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'SKspzsQ2x6PGbFt3xpsq' LIMIT 1[0m
|
48578
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
48579
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'SKspzsQ2x6PGbFt3xpsq', "reset_password_sent_at" = '2013-02-05 17:11:58.762533', "updated_at" = '2013-02-05 17:11:58.764568' WHERE "users"."id" = 201799169[0m
|
48580
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
48581
|
+
|
48582
|
+
Sent mail to valid@example.com (39ms)
|
48583
|
+
Date: Tue, 05 Feb 2013 12:11:58 -0500
|
48584
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
48585
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
48586
|
+
To: valid@example.com
|
48587
|
+
Message-ID: <51113d5eeaddc_d0603fe744c35ad0844f9@edge2.partners.org.mail>
|
48588
|
+
Subject: Reset password instructions
|
48589
|
+
Mime-Version: 1.0
|
48590
|
+
Content-Type: text/html;
|
48591
|
+
charset=UTF-8
|
48592
|
+
Content-Transfer-Encoding: 7bit
|
48593
|
+
|
48594
|
+
<p>Hello valid@example.com!</p>
|
48595
|
+
|
48596
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
48597
|
+
|
48598
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=SKspzsQ2x6PGbFt3xpsq">Change my password</a></p>
|
48599
|
+
|
48600
|
+
<p>If you didn't request this, please ignore this email.</p>
|
48601
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
48602
|
+
|
48603
|
+
Redirected to http://test.host/users/login
|
48604
|
+
Completed 302 Found in 254ms (ActiveRecord: 0.0ms)
|
48605
|
+
[1m[36m (6.4ms)[0m [1mrollback transaction[0m
|
48606
|
+
[1m[35m (0.1ms)[0m begin transaction
|
48607
|
+
Processing by Contour::PasswordsController#new as HTML
|
48608
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (3.2ms)
|
48609
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.0ms)
|
48610
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (8.5ms)
|
48611
|
+
Completed 200 OK in 27ms (Views: 26.0ms | ActiveRecord: 0.0ms)
|
48612
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
48613
|
+
[1m[35m (0.1ms)[0m begin transaction
|
48614
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
48615
|
+
[1m[35m (0.1ms)[0m begin transaction
|
48616
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
48617
|
+
[1m[35m (0.1ms)[0m begin transaction
|
48618
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
48619
|
+
[1m[35m (0.1ms)[0m begin transaction
|
48620
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
48621
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
48622
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
48623
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-05 12:11:59 -0500
|
48624
|
+
Processing by WelcomeController#logged_in_page as HTML
|
48625
|
+
Completed 401 Unauthorized in 1ms
|
48626
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
48627
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
48628
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
48629
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 05 Feb 2013 17:11:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$HZr0uT5msSsMmpjLHkyfRuqNwrrqK/MYapLL7foUbUmjanMlnZfnu"], ["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, 05 Feb 2013 17:11:59 UTC +00:00]]
|
48630
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
48631
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
48632
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
48633
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
48634
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m
|
48635
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
|
48636
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-02-05 12:11:59 -0500
|
48637
|
+
Processing by Contour::SessionsController#create as HTML
|
48638
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
48639
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
48640
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
48641
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
48642
|
+
Completed 401 Unauthorized in 15ms
|
48643
|
+
Started GET "/users/login" for 127.0.0.1 at 2013-02-05 12:11:59 -0500
|
48644
|
+
Processing by Contour::SessionsController#new as HTML
|
48645
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms)
|
48646
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (4.1ms)
|
48647
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.1ms)
|
48648
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.9ms)
|
48649
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (6.4ms)
|
48650
|
+
Completed 200 OK in 33ms (Views: 31.2ms | ActiveRecord: 0.0ms)
|
48651
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
48652
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
48653
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
48654
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
48655
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
48656
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-05 12:11:59 -0500
|
48657
|
+
Processing by WelcomeController#logged_in_page as HTML
|
48658
|
+
Completed 401 Unauthorized in 1ms
|
48659
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
48660
|
+
[1m[35mUser Exists (0.2ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
48661
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
48662
|
+
[1m[36mSQL (1.2ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 05 Feb 2013 17:11:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$toCwxiLbSApEmmHPcjDpfOYmtMZjiAufcHFFDpgqvtfRsH71fuwGi"], ["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, 05 Feb 2013 17:11:59 UTC +00:00]]
|
48663
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
48664
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
48665
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
48666
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
48667
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
48668
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
48669
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-02-05 12:11:59 -0500
|
48670
|
+
Processing by Contour::SessionsController#create as HTML
|
48671
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
48672
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
48673
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
48674
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-02-05 17:11:59.355318', "current_sign_in_at" = '2013-02-05 17:11:59.355318', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-05 17:11:59.356596' WHERE "users"."id" = 999914116
|
48675
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
48676
|
+
Redirected to http://www.example.com/logged_in_page
|
48677
|
+
Completed 302 Found in 17ms (ActiveRecord: 0.0ms)
|
48678
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-05 12:11:59 -0500
|
48679
|
+
Processing by WelcomeController#logged_in_page as HTML
|
48680
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
|
48681
|
+
Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.2ms)
|
48682
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
48683
|
+
[1m[35m (0.1ms)[0m begin transaction
|
48684
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
48685
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
48686
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
48687
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-05 12:11:59 -0500
|
48688
|
+
Processing by WelcomeController#logged_in_page as HTML
|
48689
|
+
Completed 401 Unauthorized in 1ms
|
48690
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
48691
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
48692
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
48693
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 05 Feb 2013 17:11:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$CDQzn8jua8uMrxseiI6BO.NqnNv/Cb1TsDSmNMxUN/aHo6UPgmA/C"], ["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, 05 Feb 2013 17:11:59 UTC +00:00]]
|
48694
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
48695
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
48696
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
48697
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
48698
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m
|
48699
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
|
48700
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-02-05 12:11:59 -0500
|
48701
|
+
Processing by Contour::SessionsController#create as HTML
|
48702
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
48703
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
48704
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
48705
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
48706
|
+
Completed 401 Unauthorized in 12ms
|
48707
|
+
Started GET "/users/login" for 127.0.0.1 at 2013-02-05 12:11:59 -0500
|
48708
|
+
Processing by Contour::SessionsController#new as HTML
|
48709
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.1ms)
|
48710
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.9ms)
|
48711
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
48712
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.6ms)
|
48713
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.6ms)
|
48714
|
+
Completed 200 OK in 21ms (Views: 20.0ms | ActiveRecord: 0.0ms)
|
48715
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
48716
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
48717
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
48718
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
48719
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
48720
|
+
Started GET "/" for 127.0.0.1 at 2013-02-05 12:11:59 -0500
|
48721
|
+
Processing by WelcomeController#index as HTML
|
48722
|
+
Completed 401 Unauthorized in 1ms
|
48723
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
48724
|
+
[1m[35m (0.1ms)[0m begin transaction
|
48725
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
48726
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
48727
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
48728
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-05 12:11:59 -0500
|
48729
|
+
Processing by WelcomeController#logged_in_page as JSON
|
48730
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
48731
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
48732
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-02-05 17:11:59.819366', "current_sign_in_at" = '2013-02-05 17:11:59.819366', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-05 17:11:59.820829' WHERE "users"."id" = 201799169
|
48733
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
48734
|
+
Completed 200 OK in 314ms (Views: 0.4ms | ActiveRecord: 0.6ms)
|
48735
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
48736
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
48737
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
48738
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
48739
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
48740
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-05 12:11:59 -0500
|
48741
|
+
Processing by WelcomeController#logged_in_page as JSON
|
48742
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
48743
|
+
Completed 401 Unauthorized in 305ms
|
48744
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
48745
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
48746
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
48747
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
48748
|
+
[1m[35m (0.1ms)[0m begin transaction
|
48749
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
48750
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
48751
|
+
Connecting to database specified by database.yml
|
48752
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
48753
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
48754
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-02-05 18:11:10', '2013-02-05 18:11:10', 949717663, 201799169)[0m
|
48755
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-02-05 18:11:10', '2013-02-05 18:11:10', 876923740, 201799169)
|
48756
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-02-05 18:11:10', '2013-02-05 18:11:10', 864673665, 201799169)[0m
|
48757
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
48758
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-05 18:11:10', '2013-02-05 18:11:10', 201799169)[0m
|
48759
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-05 18:11:10', '2013-02-05 18:11:10', 999914115)
|
48760
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-05 18:11:10', '2013-02-05 18:11:10', 725306934)[0m
|
48761
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-05 18:11:10', '2013-02-05 18:11:10', 349534908)
|
48762
|
+
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
48763
|
+
[1m[35m (0.1ms)[0m begin transaction
|
48764
|
+
[1m[36mAuthentication Load (26.8ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
48765
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
48766
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
48767
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
48768
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
48769
|
+
[1m[35m (0.1ms)[0m begin transaction
|
48770
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
48771
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
48772
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
48773
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
48774
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-02-05 18:11:10 UTC", "updated_at"=>"2013-02-05 18:11:10 UTC"}}
|
48775
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
48776
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
48777
|
+
Logged in user found, creating associated authentication.
|
48778
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
48779
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 05 Feb 2013 18:11:10 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 05 Feb 2013 18:11:10 UTC +00:00], ["user_id", 201799169]]
|
48780
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
48781
|
+
Redirected to http://test.host/authentications
|
48782
|
+
Completed 302 Found in 189ms (ActiveRecord: 1.3ms)
|
48783
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
48784
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
48785
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
48786
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
48787
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
48788
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
48789
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
48790
|
+
Parameters: {"id"=>"949717663"}
|
48791
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
48792
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
48793
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
48794
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
48795
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
48796
|
+
Redirected to http://test.host/authentications
|
48797
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
|
48798
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
48799
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
48800
|
+
[1m[35m (0.1ms)[0m begin transaction
|
48801
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
48802
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
48803
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
48804
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
48805
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
48806
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
48807
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (5.9ms)
|
48808
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.5ms)
|
48809
|
+
Completed 200 OK in 138ms (Views: 135.6ms | ActiveRecord: 0.5ms)
|
48810
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
48811
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
48812
|
+
Processing by Contour::PasswordsController#create as HTML
|
48813
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
48814
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
48815
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'n9xjRT1VsiW6jYkRacB9' LIMIT 1[0m
|
48816
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
48817
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'n9xjRT1VsiW6jYkRacB9', "reset_password_sent_at" = '2013-02-05 18:11:10.943988', "updated_at" = '2013-02-05 18:11:10.945636' WHERE "users"."id" = 201799169[0m
|
48818
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
48819
|
+
|
48820
|
+
Sent mail to valid@example.com (83ms)
|
48821
|
+
Date: Tue, 05 Feb 2013 13:11:11 -0500
|
48822
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
48823
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
48824
|
+
To: valid@example.com
|
48825
|
+
Message-ID: <51114b3f3fdec_d8d43fea7cc35ae0944f8@edge2.partners.org.mail>
|
48826
|
+
Subject: Reset password instructions
|
48827
|
+
Mime-Version: 1.0
|
48828
|
+
Content-Type: text/html;
|
48829
|
+
charset=UTF-8
|
48830
|
+
Content-Transfer-Encoding: 7bit
|
48831
|
+
|
48832
|
+
<p>Hello valid@example.com!</p>
|
48833
|
+
|
48834
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
48835
|
+
|
48836
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=n9xjRT1VsiW6jYkRacB9">Change my password</a></p>
|
48837
|
+
|
48838
|
+
<p>If you didn't request this, please ignore this email.</p>
|
48839
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
48840
|
+
|
48841
|
+
Redirected to http://test.host/users/login
|
48842
|
+
Completed 302 Found in 426ms (ActiveRecord: 0.0ms)
|
48843
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
48844
|
+
[1m[35m (0.1ms)[0m begin transaction
|
48845
|
+
Processing by Contour::PasswordsController#new as HTML
|
48846
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (4.9ms)
|
48847
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (6.2ms)
|
48848
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (12.8ms)
|
48849
|
+
Completed 200 OK in 37ms (Views: 35.7ms | ActiveRecord: 0.0ms)
|
48850
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
48851
|
+
[1m[35m (0.1ms)[0m begin transaction
|
48852
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
48853
|
+
[1m[35m (0.1ms)[0m begin transaction
|
48854
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
48855
|
+
[1m[35m (0.1ms)[0m begin transaction
|
48856
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
48857
|
+
[1m[35m (0.1ms)[0m begin transaction
|
48858
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
48859
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
48860
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
48861
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-05 13:11:11 -0500
|
48862
|
+
Processing by WelcomeController#logged_in_page as HTML
|
48863
|
+
Completed 401 Unauthorized in 1ms
|
48864
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
48865
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
48866
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
48867
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 05 Feb 2013 18:11:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$sF3l3i8trw1mKqaJmyhyTunG9o7Lo6ATmSGarI5DSgmQOVu3c4eE6"], ["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, 05 Feb 2013 18:11:11 UTC +00:00]]
|
48868
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
48869
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
48870
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
48871
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
48872
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m
|
48873
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
|
48874
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-02-05 13:11:11 -0500
|
48875
|
+
Processing by Contour::SessionsController#create as HTML
|
48876
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
48877
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
48878
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
48879
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
48880
|
+
Completed 401 Unauthorized in 35ms
|
48881
|
+
Started GET "/users/login" for 127.0.0.1 at 2013-02-05 13:11:11 -0500
|
48882
|
+
Processing by Contour::SessionsController#new as HTML
|
48883
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.2ms)
|
48884
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.5ms)
|
48885
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.0ms)
|
48886
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.5ms)
|
48887
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.3ms)
|
48888
|
+
Completed 200 OK in 30ms (Views: 28.1ms | ActiveRecord: 0.0ms)
|
48889
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
48890
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
48891
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
48892
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
48893
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
48894
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-05 13:11:11 -0500
|
48895
|
+
Processing by WelcomeController#logged_in_page as HTML
|
48896
|
+
Completed 401 Unauthorized in 1ms
|
48897
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
48898
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
48899
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
48900
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 05 Feb 2013 18:11:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$RIMFXGqDF7l3qeJy7iYpkuQDwZrqyMzLDNCalaIl1M6OUow9c.spe"], ["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, 05 Feb 2013 18:11:11 UTC +00:00]]
|
48901
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
48902
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
48903
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
48904
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
48905
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
48906
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
48907
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-02-05 13:11:11 -0500
|
48908
|
+
Processing by Contour::SessionsController#create as HTML
|
48909
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
48910
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
48911
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
48912
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-02-05 18:11:11.781715', "current_sign_in_at" = '2013-02-05 18:11:11.781715', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-05 18:11:11.782941' WHERE "users"."id" = 999914116
|
48913
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
48914
|
+
Redirected to http://www.example.com/logged_in_page
|
48915
|
+
Completed 302 Found in 15ms (ActiveRecord: 0.0ms)
|
48916
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-05 13:11:11 -0500
|
48917
|
+
Processing by WelcomeController#logged_in_page as HTML
|
48918
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
|
48919
|
+
Completed 200 OK in 16ms (Views: 14.5ms | ActiveRecord: 0.2ms)
|
48920
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
48921
|
+
[1m[35m (0.1ms)[0m begin transaction
|
48922
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
48923
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
48924
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
48925
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-05 13:11:11 -0500
|
48926
|
+
Processing by WelcomeController#logged_in_page as HTML
|
48927
|
+
Completed 401 Unauthorized in 1ms
|
48928
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
48929
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
48930
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
48931
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 05 Feb 2013 18:11:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$lyqWFPWkne/4U8ZJEbZhquzd6XiKvy74Rgi62JkyDbQctTcgENGwm"], ["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, 05 Feb 2013 18:11:11 UTC +00:00]]
|
48932
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
48933
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
48934
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
48935
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
48936
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m
|
48937
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
|
48938
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-02-05 13:11:11 -0500
|
48939
|
+
Processing by Contour::SessionsController#create as HTML
|
48940
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
48941
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
48942
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
48943
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
48944
|
+
Completed 401 Unauthorized in 9ms
|
48945
|
+
Started GET "/users/login" for 127.0.0.1 at 2013-02-05 13:11:11 -0500
|
48946
|
+
Processing by Contour::SessionsController#new as HTML
|
48947
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.9ms)
|
48948
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.6ms)
|
48949
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
48950
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.6ms)
|
48951
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.4ms)
|
48952
|
+
Completed 200 OK in 20ms (Views: 18.6ms | ActiveRecord: 0.0ms)
|
48953
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
48954
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
48955
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
48956
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
48957
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
48958
|
+
Started GET "/" for 127.0.0.1 at 2013-02-05 13:11:11 -0500
|
48959
|
+
Processing by WelcomeController#index as HTML
|
48960
|
+
Completed 401 Unauthorized in 1ms
|
48961
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
48962
|
+
[1m[35m (0.1ms)[0m begin transaction
|
48963
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
48964
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
48965
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
48966
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-05 13:11:11 -0500
|
48967
|
+
Processing by WelcomeController#logged_in_page as JSON
|
48968
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
48969
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
48970
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-02-05 18:11:12.236239', "current_sign_in_at" = '2013-02-05 18:11:12.236239', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-05 18:11:12.237730' WHERE "users"."id" = 201799169
|
48971
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
48972
|
+
Completed 200 OK in 316ms (Views: 0.4ms | ActiveRecord: 0.7ms)
|
48973
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
48974
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
48975
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
48976
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
48977
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
48978
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-05 13:11:12 -0500
|
48979
|
+
Processing by WelcomeController#logged_in_page as JSON
|
48980
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
48981
|
+
Completed 401 Unauthorized in 321ms
|
48982
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
48983
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
48984
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
48985
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
48986
|
+
[1m[35m (0.1ms)[0m begin transaction
|
48987
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
48988
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
48989
|
+
Connecting to database specified by database.yml
|
48990
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
48991
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
48992
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-02-05 18:15:45', '2013-02-05 18:15:45', 949717663, 201799169)[0m
|
48993
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-02-05 18:15:45', '2013-02-05 18:15:45', 876923740, 201799169)
|
48994
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-02-05 18:15:45', '2013-02-05 18:15:45', 864673665, 201799169)[0m
|
48995
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
48996
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-05 18:15:45', '2013-02-05 18:15:45', 201799169)[0m
|
48997
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-02-05 18:15:45', '2013-02-05 18:15:45', 999914115)
|
48998
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-05 18:15:45', '2013-02-05 18:15:45', 725306934)[0m
|
48999
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-02-05 18:15:45', '2013-02-05 18:15:45', 349534908)
|
49000
|
+
[1m[36m (2.8ms)[0m [1mcommit transaction[0m
|
49001
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49002
|
+
[1m[36mAuthentication Load (2.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
49003
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
49004
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
49005
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
49006
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
49007
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49008
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
49009
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
49010
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
49011
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
49012
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-02-05 18:15:45 UTC", "updated_at"=>"2013-02-05 18:15:45 UTC"}}
|
49013
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
49014
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
49015
|
+
Logged in user found, creating associated authentication.
|
49016
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
49017
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 05 Feb 2013 18:15:45 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 05 Feb 2013 18:15:45 UTC +00:00], ["user_id", 201799169]]
|
49018
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
49019
|
+
Redirected to http://test.host/authentications
|
49020
|
+
Completed 302 Found in 84ms (ActiveRecord: 1.1ms)
|
49021
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" [0m
|
49022
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
49023
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
49024
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
49025
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
49026
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
49027
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
49028
|
+
Parameters: {"id"=>"949717663"}
|
49029
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
49030
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169 AND "authentications"."id" = ? LIMIT 1 [["id", "949717663"]]
|
49031
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
49032
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
49033
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
49034
|
+
Redirected to http://test.host/authentications
|
49035
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.7ms)
|
49036
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
49037
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
49038
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49039
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
49040
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
49041
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
49042
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 LIMIT 1[0m
|
49043
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 201799169
|
49044
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = 201799169[0m
|
49045
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (3.6ms)
|
49046
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.8ms)
|
49047
|
+
Completed 200 OK in 93ms (Views: 89.9ms | ActiveRecord: 0.5ms)
|
49048
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
49049
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
49050
|
+
Processing by Contour::PasswordsController#create as HTML
|
49051
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
49052
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
49053
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'TjNwn3gi2dmfTvuq1xCz' LIMIT 1[0m
|
49054
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
49055
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "reset_password_token" = 'TjNwn3gi2dmfTvuq1xCz', "reset_password_sent_at" = '2013-02-05 18:15:45.449054', "updated_at" = '2013-02-05 18:15:45.450453' WHERE "users"."id" = 201799169[0m
|
49056
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
49057
|
+
|
49058
|
+
Sent mail to valid@example.com (35ms)
|
49059
|
+
Date: Tue, 05 Feb 2013 13:15:45 -0500
|
49060
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
49061
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
49062
|
+
To: valid@example.com
|
49063
|
+
Message-ID: <51114c518e346_d9b93fc171c35ad89724c@edge2.partners.org.mail>
|
49064
|
+
Subject: Reset password instructions
|
49065
|
+
Mime-Version: 1.0
|
49066
|
+
Content-Type: text/html;
|
49067
|
+
charset=UTF-8
|
49068
|
+
Content-Transfer-Encoding: 7bit
|
49069
|
+
|
49070
|
+
<p>Hello valid@example.com!</p>
|
49071
|
+
|
49072
|
+
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
|
49073
|
+
|
49074
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=TjNwn3gi2dmfTvuq1xCz">Change my password</a></p>
|
49075
|
+
|
49076
|
+
<p>If you didn't request this, please ignore this email.</p>
|
49077
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
49078
|
+
|
49079
|
+
Redirected to http://test.host/users/login
|
49080
|
+
Completed 302 Found in 176ms (ActiveRecord: 0.0ms)
|
49081
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
49082
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49083
|
+
Processing by Contour::PasswordsController#new as HTML
|
49084
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (3.1ms)
|
49085
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (5.5ms)
|
49086
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (10.6ms)
|
49087
|
+
Completed 200 OK in 31ms (Views: 29.2ms | ActiveRecord: 0.0ms)
|
49088
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
49089
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49090
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
49091
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49092
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
49093
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49094
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
49095
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49096
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
49097
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
49098
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
49099
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-05 13:15:45 -0500
|
49100
|
+
Processing by WelcomeController#logged_in_page as HTML
|
49101
|
+
Completed 401 Unauthorized in 1ms
|
49102
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
49103
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
49104
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
49105
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 05 Feb 2013 18:15:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$xwwhXTrFRe8Y0ow0p/WvQuz9D/h4VRbi5mcEZ6FfkhbhjDuKyibN2"], ["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, 05 Feb 2013 18:15:45 UTC +00:00]]
|
49106
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
49107
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
49108
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
49109
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
49110
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116[0m
|
49111
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
|
49112
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-02-05 13:15:45 -0500
|
49113
|
+
Processing by Contour::SessionsController#create as HTML
|
49114
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
49115
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
49116
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
49117
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
49118
|
+
Completed 401 Unauthorized in 13ms
|
49119
|
+
Started GET "/users/login" for 127.0.0.1 at 2013-02-05 13:15:45 -0500
|
49120
|
+
Processing by Contour::SessionsController#new as HTML
|
49121
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.1ms)
|
49122
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (3.5ms)
|
49123
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.0ms)
|
49124
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.5ms)
|
49125
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.3ms)
|
49126
|
+
Completed 200 OK in 29ms (Views: 27.5ms | ActiveRecord: 0.0ms)
|
49127
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
49128
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
49129
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
49130
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
49131
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
49132
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-05 13:15:45 -0500
|
49133
|
+
Processing by WelcomeController#logged_in_page as HTML
|
49134
|
+
Completed 401 Unauthorized in 1ms
|
49135
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
49136
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
49137
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
49138
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 05 Feb 2013 18:15:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$ZNtdNP/O4y4Zd0ca6OhzE.fR6DSnZRICqwQ7YEurzXRz2fbdYgMtm"], ["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, 05 Feb 2013 18:15:45 UTC +00:00]]
|
49139
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
49140
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
49141
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116
|
49142
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
49143
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
49144
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
49145
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-02-05 13:15:45 -0500
|
49146
|
+
Processing by Contour::SessionsController#create as HTML
|
49147
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
49148
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
49149
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
49150
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-02-05 18:15:45.922548', "current_sign_in_at" = '2013-02-05 18:15:45.922548', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-05 18:15:45.923644' WHERE "users"."id" = 999914116
|
49151
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
49152
|
+
Redirected to http://www.example.com/logged_in_page
|
49153
|
+
Completed 302 Found in 15ms (ActiveRecord: 0.0ms)
|
49154
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-05 13:15:45 -0500
|
49155
|
+
Processing by WelcomeController#logged_in_page as HTML
|
49156
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 LIMIT 1
|
49157
|
+
Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.2ms)
|
49158
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
49159
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49160
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
49161
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
49162
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
49163
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-02-05 13:15:45 -0500
|
49164
|
+
Processing by WelcomeController#logged_in_page as HTML
|
49165
|
+
Completed 401 Unauthorized in 0ms
|
49166
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
49167
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
49168
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
49169
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "deleted", "email", "encrypted_password", "first_name", "last_name", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 05 Feb 2013 18:15:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["deleted", false], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$ZjcsJSkwqzZpmtiuSaSQkeua7V431XAeInL56a3yIHUdpzn2NoHJe"], ["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, 05 Feb 2013 18:15:45 UTC +00:00]]
|
49170
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
49171
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
49172
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications" WHERE "authentications"."user_id" = 999914116[0m
|
49173
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
49174
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116[0m
|
49175
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
|
49176
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-02-05 13:15:45 -0500
|
49177
|
+
Processing by Contour::SessionsController#create as HTML
|
49178
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
49179
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
49180
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
49181
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
49182
|
+
Completed 401 Unauthorized in 9ms
|
49183
|
+
Started GET "/users/login" for 127.0.0.1 at 2013-02-05 13:15:45 -0500
|
49184
|
+
Processing by Contour::SessionsController#new as HTML
|
49185
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.9ms)
|
49186
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.3ms)
|
49187
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
49188
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.6ms)
|
49189
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.4ms)
|
49190
|
+
Completed 200 OK in 19ms (Views: 17.6ms | ActiveRecord: 0.0ms)
|
49191
|
+
[1m[35m (23.4ms)[0m rollback transaction
|
49192
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
49193
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
49194
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
49195
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
49196
|
+
Started GET "/" for 127.0.0.1 at 2013-02-05 13:15:46 -0500
|
49197
|
+
Processing by WelcomeController#index as HTML
|
49198
|
+
Completed 401 Unauthorized in 1ms
|
49199
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
49200
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49201
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
49202
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
49203
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
49204
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-05 13:15:46 -0500
|
49205
|
+
Processing by WelcomeController#logged_in_page as JSON
|
49206
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
49207
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
49208
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-02-05 18:15:46.360599', "current_sign_in_at" = '2013-02-05 18:15:46.360599', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-05 18:15:46.361984' WHERE "users"."id" = 201799169
|
49209
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
49210
|
+
Completed 200 OK in 291ms (Views: 0.4ms | ActiveRecord: 0.6ms)
|
49211
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
49212
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
49213
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
49214
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
49215
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
49216
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-02-05 13:15:46 -0500
|
49217
|
+
Processing by WelcomeController#logged_in_page as JSON
|
49218
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
49219
|
+
Completed 401 Unauthorized in 293ms
|
49220
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
49221
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
49222
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
49223
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
49224
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49225
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
49226
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: contour
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.1.3.pre
|
5
|
+
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Remo Mueller
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-02-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.2.
|
21
|
+
version: 3.2.11
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 3.2.
|
29
|
+
version: 3.2.11
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: jquery-rails
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,7 +114,7 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - ~>
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 1.0.
|
117
|
+
version: 1.0.3
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -122,7 +122,7 @@ dependencies:
|
|
122
122
|
requirements:
|
123
123
|
- - ~>
|
124
124
|
- !ruby/object:Gem::Version
|
125
|
-
version: 1.0.
|
125
|
+
version: 1.0.3
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
127
|
name: omniauth-linkedin
|
128
128
|
requirement: !ruby/object:Gem::Requirement
|
@@ -638,9 +638,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
638
638
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
639
639
|
none: false
|
640
640
|
requirements:
|
641
|
-
- - ! '
|
641
|
+
- - ! '>'
|
642
642
|
- !ruby/object:Gem::Version
|
643
|
-
version:
|
643
|
+
version: 1.3.1
|
644
644
|
requirements: []
|
645
645
|
rubyforge_project:
|
646
646
|
rubygems_version: 1.8.24
|