contour 2.1.0.beta16 → 2.1.0.beta17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -1
- data/app/assets/javascripts/contour.js +1 -1
- data/app/assets/javascripts/external/{highcharts-3.0.2.src.js → highcharts-3.0.5.src.js} +1135 -641
- data/contour.gemspec +1 -1
- data/lib/contour/version.rb +1 -1
- data/lib/generators/contour/scaffold/templates/_paginate.html.erb +1 -1
- data/lib/generators/contour/scaffold/templates/controller.rb +1 -1
- data/lib/generators/contour/scaffold/templates/show.html.erb +2 -2
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +392 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/0a38cde2d72ff579969b2cad3683287d +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/0a9add3e4b179c763a81d057c1237324 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/0b793dc498fe65856d1b31a805f114dc +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/1a4771f9c62410bd2e9883cbf32c7ab2 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/202ee3e470074d921a4ebc990afe1182 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/2104a43b6b7d1d60519dc2deb62ae47b +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/2479163ee9d4e495176d9585da79e9dd +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/408c90980fca5a250881bafa3ef0ca63 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/4326df7424da5275c5236fd4615801e8 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/4e3cde93d4ff732fa65037906a330288 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/6666059cb20313a69e518d351e00eb1f +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/722eaf6263f7819374cc8215ee7c854b +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/795f142066419901b557f2d610607b6b +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/848658619cb4b7da3735feeb70b87d5c +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/92654af24f38bd4ce2b3e67eac84f17f +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/a7b222735fc6d94f5713fa8e4c00feec +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/aebdc1b314bd6ea5185ab5d39bf75d87 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/b0d8276a1c6457dcb0798d0f676b1298 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/bffe970187601e005684626d70560050 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/c62ff8b966094d815ee8799210a70413 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/cffe43e7509735b14b54b6ac19fd08d5 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/e2a43f58b4eed6258f424ad79d34e5c1 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- metadata +33 -5
data/contour.gemspec
CHANGED
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
|
|
27
27
|
s.add_dependency 'rails', '~> 4.0.0'
|
28
28
|
s.add_dependency 'jquery-rails', '>= 3.0.4'
|
29
29
|
s.add_dependency 'coffee-rails', '~> 4.0.0'
|
30
|
-
s.add_dependency 'devise', '~> 3.0.
|
30
|
+
s.add_dependency 'devise', '~> 3.0.3'
|
31
31
|
s.add_dependency 'omniauth', '~> 1.1.4'
|
32
32
|
s.add_dependency 'omniauth-cas', '~> 1.0.4'
|
33
33
|
s.add_dependency 'omniauth-facebook', '~> 1.4.1'
|
data/lib/contour/version.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
<%%= render partial: 'contour/layouts/per_page', locals: { type: '<%= resource_name_plural %>', per_page: 20, object_count: @<%= resource_name_plural %>.total_count } %>
|
2
2
|
|
3
|
-
<table class="table table-striped
|
3
|
+
<table class="table table-striped">
|
4
4
|
<thead>
|
5
5
|
<tr>
|
6
6
|
<%- columns.each do |column| -%>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
class <%= resource_class_name_plural %>Controller < ApplicationController
|
2
2
|
before_action :authenticate_user!
|
3
|
-
before_action :set_<%= resource_name %>, only: [:show, :edit, :update, :destroy]
|
3
|
+
before_action :set_<%= resource_name %>, only: [ :show, :edit, :update, :destroy ]
|
4
4
|
|
5
5
|
# GET /<%= resource_name_plural %>
|
6
6
|
# GET /<%= resource_name_plural %>.json
|
@@ -2,9 +2,9 @@
|
|
2
2
|
<div class="page-header">
|
3
3
|
<h1>
|
4
4
|
<%%= link_to "<%= resource_title_plural %>", <%= resource_name_plural %>_path %> · <%%= @title %>
|
5
|
-
<%%= link_to "Edit <%= resource_title %>", edit_<%= resource_name %>_path(@<%= resource_name %>), class: 'btn btn-xs btn-default' %>
|
6
|
-
<%%= link_to "Delete <%= resource_title %>", @<%= resource_name %>, method: :delete, class: 'btn btn-xs btn-danger-inverse', data: { confirm: "Are you sure you want to delete <%= resource_title %> #{@<%= resource_name %>.name}?" } %>
|
7
5
|
</h1>
|
6
|
+
<%%= link_to "Edit <%= resource_title %>", edit_<%= resource_name %>_path(@<%= resource_name %>), class: 'btn btn-xs btn-default' %>
|
7
|
+
<%%= link_to "Delete <%= resource_title %>", @<%= resource_name %>, method: :delete, class: 'btn btn-xs btn-danger-inverse', data: { confirm: "Are you sure you want to delete <%= resource_title %> #{@<%= resource_name %>.name}?" } %>
|
8
8
|
</div>
|
9
9
|
|
10
10
|
<dl class="dl-horizontal">
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -80952,3 +80952,395 @@ UserTest: test_should_get_reverse_name
|
|
80952
80952
|
--------------------------------------
|
80953
80953
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
80954
80954
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
80955
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
80956
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications"
|
80957
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-08-21 15:40:45', '2013-08-21 15:40:45', 949717663, 201799169)[0m
|
80958
|
+
[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-08-21 15:40:45', '2013-08-21 15:40:45', 876923740, 201799169)
|
80959
|
+
[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-08-21 15:40:45', '2013-08-21 15:40:45', 864673665, 201799169)[0m
|
80960
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
80961
|
+
[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-08-21 15:40:45', '2013-08-21 15:40:45', 201799169)[0m
|
80962
|
+
[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-08-21 15:40:45', '2013-08-21 15:40:45', 999914115)
|
80963
|
+
[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-08-21 15:40:45', '2013-08-21 15:40:45', 725306934)[0m
|
80964
|
+
[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-08-21 15:40:45', '2013-08-21 15:40:45', 349534908)
|
80965
|
+
[1m[36m (2.4ms)[0m [1mcommit transaction[0m
|
80966
|
+
[1m[35m (0.1ms)[0m begin transaction
|
80967
|
+
-------------------------------------------------
|
80968
|
+
AuthenticationTest: test_should_get_provider_name
|
80969
|
+
-------------------------------------------------
|
80970
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
80971
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
80972
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
80973
|
+
--------------------------------------------------------------------------------
|
80974
|
+
AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case
|
80975
|
+
--------------------------------------------------------------------------------
|
80976
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
80977
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
80978
|
+
[1m[35m (0.1ms)[0m begin transaction
|
80979
|
+
-------------------------------------------------------------------------
|
80980
|
+
Contour::AuthenticationsControllerTest: test_should_create_authentication
|
80981
|
+
-------------------------------------------------------------------------
|
80982
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
80983
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
80984
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
80985
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
80986
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-08-21 15:40:45 UTC", "updated_at"=>"2013-08-21 15:40:45 UTC"}}
|
80987
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
80988
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
80989
|
+
Logged in user found, creating associated authentication.
|
80990
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
80991
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 21 Aug 2013 15:40:45 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 21 Aug 2013 15:40:45 UTC +00:00], ["user_id", 201799169]]
|
80992
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
80993
|
+
Redirected to http://test.host/authentications
|
80994
|
+
Completed 302 Found in 18ms (ActiveRecord: 0.8ms)
|
80995
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
80996
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
80997
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
80998
|
+
--------------------------------------------------------------------------
|
80999
|
+
Contour::AuthenticationsControllerTest: test_should_destroy_authentication
|
81000
|
+
--------------------------------------------------------------------------
|
81001
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
81002
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
81003
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
81004
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
81005
|
+
Parameters: {"id"=>"949717663"}
|
81006
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
81007
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]]
|
81008
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
81009
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
81010
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
81011
|
+
Redirected to http://test.host/authentications
|
81012
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
81013
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
81014
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
81015
|
+
[1m[35m (0.1ms)[0m begin transaction
|
81016
|
+
-------------------------------------------------------------
|
81017
|
+
Contour::AuthenticationsControllerTest: test_should_get_index
|
81018
|
+
-------------------------------------------------------------
|
81019
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
81020
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
81021
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
81022
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
81023
|
+
[1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]]
|
81024
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]]
|
81025
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (10.2ms)
|
81026
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.6ms)
|
81027
|
+
Completed 200 OK in 274ms (Views: 271.5ms | ActiveRecord: 0.5ms)
|
81028
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
81029
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
81030
|
+
-----------------------------------------------------------------------------
|
81031
|
+
Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password
|
81032
|
+
-----------------------------------------------------------------------------
|
81033
|
+
Processing by Contour::PasswordsController#create as HTML
|
81034
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
81035
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
81036
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'kDmAywXw8sik1N2qH81Z' LIMIT 1[0m
|
81037
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
81038
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "kDmAywXw8sik1N2qH81Z"], ["reset_password_sent_at", Wed, 21 Aug 2013 15:40:46 UTC +00:00], ["updated_at", Wed, 21 Aug 2013 15:40:46 UTC +00:00]]
|
81039
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
81040
|
+
|
81041
|
+
Sent mail to valid@example.com (14.3ms)
|
81042
|
+
Date: Wed, 21 Aug 2013 11:40:46 -0400
|
81043
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
81044
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
81045
|
+
To: valid@example.com
|
81046
|
+
Message-ID: <5214df7e3540d_a1a53fdb954606d0723f6@edge2.partners.org.mail>
|
81047
|
+
Subject: Reset password instructions
|
81048
|
+
Mime-Version: 1.0
|
81049
|
+
Content-Type: text/html;
|
81050
|
+
charset=UTF-8
|
81051
|
+
Content-Transfer-Encoding: 7bit
|
81052
|
+
|
81053
|
+
<p>Hello valid@example.com!</p>
|
81054
|
+
|
81055
|
+
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
|
81056
|
+
|
81057
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=kDmAywXw8sik1N2qH81Z">Change my password</a></p>
|
81058
|
+
|
81059
|
+
<p>If you didn't request this, please ignore this email.</p>
|
81060
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
81061
|
+
|
81062
|
+
Redirected to http://test.host/users/login
|
81063
|
+
Completed 302 Found in 112ms (ActiveRecord: 0.8ms)
|
81064
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
81065
|
+
[1m[35m (0.1ms)[0m begin transaction
|
81066
|
+
-----------------------------------------------------------------------------
|
81067
|
+
Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password
|
81068
|
+
-----------------------------------------------------------------------------
|
81069
|
+
Processing by Contour::PasswordsController#new as HTML
|
81070
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.8ms)
|
81071
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (7.5ms)
|
81072
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (10.5ms)
|
81073
|
+
Completed 200 OK in 57ms (Views: 56.1ms | ActiveRecord: 0.0ms)
|
81074
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
81075
|
+
[1m[35m (0.1ms)[0m begin transaction
|
81076
|
+
-------------------------------------------------------------------------------
|
81077
|
+
Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up
|
81078
|
+
-------------------------------------------------------------------------------
|
81079
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
81080
|
+
Processing by Contour::RegistrationsController#create as HTML
|
81081
|
+
Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>""}}
|
81082
|
+
Unpermitted parameters: spam
|
81083
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
81084
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m
|
81085
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
81086
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 21 Aug 2013 15:40:46 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$FOgIA6gUBgLX6EFAgdcHPu4mXjIkNX3R71G6.1YokVLhzfEypw0Wq"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Wed, 21 Aug 2013 15:40:46 UTC +00:00]]
|
81087
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
81088
|
+
Redirected to http://test.host/users/login
|
81089
|
+
Completed 302 Found in 29ms (ActiveRecord: 1.0ms)
|
81090
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
81091
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
81092
|
+
[1m[35m (0.1ms)[0m begin transaction
|
81093
|
+
--------------------------------------------------------------------------------------------
|
81094
|
+
Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status
|
81095
|
+
--------------------------------------------------------------------------------------------
|
81096
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
81097
|
+
Processing by Contour::RegistrationsController#create as HTML
|
81098
|
+
Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
81099
|
+
Unpermitted parameters: status
|
81100
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
81101
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m
|
81102
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
81103
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 21 Aug 2013 15:40:46 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$36uwOupjb5XEPdN1DF9O3e3R2yEOMfl6twcgaodaTaBJuKbZ2CkgK"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Wed, 21 Aug 2013 15:40:46 UTC +00:00]]
|
81104
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
81105
|
+
Redirected to http://test.host/users/login
|
81106
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.7ms)
|
81107
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
81108
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
81109
|
+
[1m[35m (0.1ms)[0m begin transaction
|
81110
|
+
---------------------------------------------------------------------------------------------
|
81111
|
+
Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up
|
81112
|
+
---------------------------------------------------------------------------------------------
|
81113
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
81114
|
+
Processing by Contour::RegistrationsController#create as HTML
|
81115
|
+
Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>"http://buystuffhere.com"}}
|
81116
|
+
SPAM BOT SIGNUP: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"password", "password_confirmation"=>"password", "spam"=>"http://buystuffhere.com"}, "controller"=>"contour/registrations", "action"=>"create"}
|
81117
|
+
Unpermitted parameters: spam
|
81118
|
+
Redirected to http://test.host/users/login
|
81119
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
|
81120
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
81121
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
81122
|
+
[1m[35m (0.1ms)[0m begin transaction
|
81123
|
+
----------------------------------------------------------------------
|
81124
|
+
Contour::SessionsControllerTest: test_return_user_json_object_on_login
|
81125
|
+
----------------------------------------------------------------------
|
81126
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
81127
|
+
Processing by Contour::SessionsController#create as JSON
|
81128
|
+
Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
|
81129
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
81130
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
81131
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Wed, 21 Aug 2013 15:40:46 UTC +00:00], ["current_sign_in_at", Wed, 21 Aug 2013 15:40:46 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Wed, 21 Aug 2013 15:40:46 UTC +00:00]]
|
81132
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
81133
|
+
Completed 200 OK in 78ms (Views: 0.3ms | ActiveRecord: 0.8ms)
|
81134
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
81135
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
81136
|
+
----------------------------------------------------------------------------------------------------------
|
81137
|
+
Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email
|
81138
|
+
----------------------------------------------------------------------------------------------------------
|
81139
|
+
Processing by Contour::SessionsController#create as HTML
|
81140
|
+
Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}}
|
81141
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1
|
81142
|
+
[1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m
|
81143
|
+
Redirected to http://test.host/auth/google_apps
|
81144
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
81145
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
81146
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
81147
|
+
----------------------------------------------------------------------------------------------
|
81148
|
+
Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email
|
81149
|
+
----------------------------------------------------------------------------------------------
|
81150
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
81151
|
+
Processing by Contour::SessionsController#create as HTML
|
81152
|
+
Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
|
81153
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
81154
|
+
[1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]]
|
81155
|
+
Redirected to http://test.host/auth/ldap
|
81156
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
|
81157
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
81158
|
+
[1m[35m (0.1ms)[0m begin transaction
|
81159
|
+
--------------------------------------------------------------------------
|
81160
|
+
Contour::SessionsControllerTest: test_should_not_login_invalid_credentials
|
81161
|
+
--------------------------------------------------------------------------
|
81162
|
+
Processing by Contour::SessionsController#create as HTML
|
81163
|
+
Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}}
|
81164
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m
|
81165
|
+
[1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = ''
|
81166
|
+
Completed 401 Unauthorized in 3ms
|
81167
|
+
Processing by Contour::SessionsController#new as HTML
|
81168
|
+
Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}}
|
81169
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.9ms)
|
81170
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.7ms)
|
81171
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms)
|
81172
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms)
|
81173
|
+
Completed 200 OK in 37ms (Views: 36.1ms | ActiveRecord: 0.0ms)
|
81174
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
81175
|
+
[1m[35m (0.1ms)[0m begin transaction
|
81176
|
+
-----------------------------------------------------
|
81177
|
+
ContourHelperTest: test_should_show_sort_field_helper
|
81178
|
+
-----------------------------------------------------
|
81179
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
81180
|
+
[1m[35m (0.1ms)[0m begin transaction
|
81181
|
+
---------------------------------------------------------------------
|
81182
|
+
ContourHelperTest: test_should_show_sort_field_helper_with_same_order
|
81183
|
+
---------------------------------------------------------------------
|
81184
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
81185
|
+
[1m[35m (0.1ms)[0m begin transaction
|
81186
|
+
-----------------------
|
81187
|
+
ContourTest: test_truth
|
81188
|
+
-----------------------
|
81189
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
81190
|
+
[1m[35m (0.0ms)[0m begin transaction
|
81191
|
+
--------------------------------------------------------------------
|
81192
|
+
NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login
|
81193
|
+
--------------------------------------------------------------------
|
81194
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
81195
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
81196
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
81197
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-08-21 11:40:46 -0400
|
81198
|
+
Processing by WelcomeController#logged_in_page as HTML
|
81199
|
+
Completed 401 Unauthorized in 21ms
|
81200
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
81201
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
81202
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
81203
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 21 Aug 2013 15:40:46 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$w5XxygUd38B60JTUZXuJT.K.XFIoJUYhDzqIejgZYv/xo1ejgAzN."], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Wed, 21 Aug 2013 15:40:46 UTC +00:00]]
|
81204
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
81205
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
81206
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
81207
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
81208
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
81209
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
81210
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m
|
81211
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-08-21 11:40:46 -0400
|
81212
|
+
Processing by Contour::SessionsController#create as HTML
|
81213
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
81214
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
|
81215
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
81216
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
81217
|
+
Completed 401 Unauthorized in 18ms
|
81218
|
+
Started GET "/users/login" for 127.0.0.1 at 2013-08-21 11:40:46 -0400
|
81219
|
+
Processing by Contour::SessionsController#new as HTML
|
81220
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms)
|
81221
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
81222
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms)
|
81223
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms)
|
81224
|
+
Completed 200 OK in 13ms (Views: 11.3ms | ActiveRecord: 0.0ms)
|
81225
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
81226
|
+
[1m[35m (0.1ms)[0m begin transaction
|
81227
|
+
--------------------------------------------------------
|
81228
|
+
NavigationTest: test_friendly_url_forwarding_after_login
|
81229
|
+
--------------------------------------------------------
|
81230
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
81231
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
81232
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
81233
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-08-21 11:40:46 -0400
|
81234
|
+
Processing by WelcomeController#logged_in_page as HTML
|
81235
|
+
Completed 401 Unauthorized in 1ms
|
81236
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
81237
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
81238
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
81239
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 21 Aug 2013 15:40:46 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$Yzp13H0NG1M8TNOc14om2OgEVrnz2jhpr.Qgu4T1Tyzl1LQcwlDS6"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Wed, 21 Aug 2013 15:40:46 UTC +00:00]]
|
81240
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
81241
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
81242
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
81243
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
81244
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
81245
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
81246
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
81247
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-08-21 11:40:46 -0400
|
81248
|
+
Processing by Contour::SessionsController#create as HTML
|
81249
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
81250
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
81251
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
81252
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 999914116 [["last_sign_in_at", Wed, 21 Aug 2013 15:40:46 UTC +00:00], ["current_sign_in_at", Wed, 21 Aug 2013 15:40:46 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Wed, 21 Aug 2013 15:40:46 UTC +00:00]]
|
81253
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
81254
|
+
Redirected to http://www.example.com/logged_in_page
|
81255
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.5ms)
|
81256
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-08-21 11:40:46 -0400
|
81257
|
+
Processing by WelcomeController#logged_in_page as HTML
|
81258
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1
|
81259
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
81260
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
81261
|
+
[1m[35m (0.1ms)[0m begin transaction
|
81262
|
+
--------------------------------------------------------------------
|
81263
|
+
NavigationTest: test_pending_users_should_be_not_be_allowed_to_login
|
81264
|
+
--------------------------------------------------------------------
|
81265
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
81266
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
81267
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
81268
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-08-21 11:40:46 -0400
|
81269
|
+
Processing by WelcomeController#logged_in_page as HTML
|
81270
|
+
Completed 401 Unauthorized in 1ms
|
81271
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
81272
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
81273
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
81274
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 21 Aug 2013 15:40:46 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$T3xCyxR484Y7DM5z/.OiKueHZ5Tmfoy7y6nByCXfQtsulocPz1uVa"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Wed, 21 Aug 2013 15:40:46 UTC +00:00]]
|
81275
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
81276
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
81277
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
81278
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
81279
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
81280
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
|
81281
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
81282
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-08-21 11:40:46 -0400
|
81283
|
+
Processing by Contour::SessionsController#create as HTML
|
81284
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
81285
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
81286
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
81287
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
81288
|
+
Completed 401 Unauthorized in 8ms
|
81289
|
+
Started GET "/users/login" for 127.0.0.1 at 2013-08-21 11:40:47 -0400
|
81290
|
+
Processing by Contour::SessionsController#new as HTML
|
81291
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms)
|
81292
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
81293
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms)
|
81294
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms)
|
81295
|
+
Completed 200 OK in 15ms (Views: 13.9ms | ActiveRecord: 0.0ms)
|
81296
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
81297
|
+
[1m[35m (0.1ms)[0m begin transaction
|
81298
|
+
-------------------------------------------------------------
|
81299
|
+
NavigationTest: test_root_navigation_redirected_to_login_page
|
81300
|
+
-------------------------------------------------------------
|
81301
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
81302
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
81303
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
81304
|
+
Started GET "/" for 127.0.0.1 at 2013-08-21 11:40:47 -0400
|
81305
|
+
Processing by WelcomeController#index as HTML
|
81306
|
+
Completed 401 Unauthorized in 1ms
|
81307
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
81308
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
81309
|
+
-------------------------------------------------------------------------
|
81310
|
+
NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http
|
81311
|
+
-------------------------------------------------------------------------
|
81312
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
81313
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
81314
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
81315
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-08-21 11:40:47 -0400
|
81316
|
+
Processing by WelcomeController#logged_in_page as JSON
|
81317
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
81318
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
81319
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Wed, 21 Aug 2013 15:40:47 UTC +00:00], ["current_sign_in_at", Wed, 21 Aug 2013 15:40:47 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Wed, 21 Aug 2013 15:40:47 UTC +00:00]]
|
81320
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
81321
|
+
Completed 200 OK in 85ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
81322
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
81323
|
+
[1m[35m (0.1ms)[0m begin transaction
|
81324
|
+
------------------------------------------------------------------------------------------------
|
81325
|
+
NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password
|
81326
|
+
------------------------------------------------------------------------------------------------
|
81327
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
81328
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
81329
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
81330
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-08-21 11:40:47 -0400
|
81331
|
+
Processing by WelcomeController#logged_in_page as JSON
|
81332
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
81333
|
+
Completed 401 Unauthorized in 78ms
|
81334
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
81335
|
+
[1m[35m (0.1ms)[0m begin transaction
|
81336
|
+
------------------------------------
|
81337
|
+
UserTest: test_should_apply_omniauth
|
81338
|
+
------------------------------------
|
81339
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
81340
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
81341
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
81342
|
+
--------------------------------------
|
81343
|
+
UserTest: test_should_get_reverse_name
|
81344
|
+
--------------------------------------
|
81345
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
81346
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|