contour 2.0.0.beta.8 → 2.0.0.beta.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -2
- data/app/assets/javascripts/contour.js +1 -2
- data/app/assets/javascripts/external/{highcharts-2.3.3.src.js → highcharts-3.0.2.src.js} +3359 -2150
- data/contour.gemspec +2 -2
- data/lib/contour/version.rb +1 -1
- data/test/dummy/config.ru +1 -1
- data/test/dummy/config/application.rb +3 -2
- data/test/dummy/config/environments/development.rb +2 -0
- data/test/dummy/config/environments/production.rb +2 -2
- data/test/dummy/config/environments/test.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +395 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/015542ca3fee2683eedd21c586e8f4d7 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/04f8cd84302394fd96a5a1837da2c435 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/09eb485019a1180e44fa6e443aa47503 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/0b793dc498fe65856d1b31a805f114dc +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/0e3daa6e1f20f19c7f6f41a866d36e37 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/10912716ee41871536663637aac9d90b +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/10b862dc2fcb57e871b350f99445089a +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/1421ef9eb96cc5dd00cd50105a186f79 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/14fd6f7e69c6174d57c53b4c89ad02e0 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/2316c3ab821288d9cc78527e3b6272a9 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/25129d82803be264eda19543144ce764 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/25e897b572b78b9e7872682d1a1722e0 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/27fce4a03552ba23d04992949c900603 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/291c470bea09e91a82ed77cb455b45fc +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/29e65a0b15bf594999939014080494b0 +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/3ed734f0003effb5248235744ea7cfbf +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/408c90980fca5a250881bafa3ef0ca63 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/42bbea7a13ce140463a5486a3ae03c94 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/43f737dd071b0018e1efcfb1922ff593 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/4556873bdb635e908edb1b44651d42e4 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/484869e0e90da89451d284b6ea1b97ea +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/4c1f9630c371980e45f3ae2dfaec8a28 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/4e7d7c035444f1095fa7dc67721581db +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/501011855a4cc902996843acadb9c797 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/52cdaf963c787c0aa7e2741ce4340be0 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/565a4c5a5681bc36489ea1beae4553b0 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/5735b70ef1f983b248a47ab1f71fe267 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/5aa48c4b9b88fd0c67e1480c677ac489 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/6565915e91061b9bb42eda9dfa4cf3fc +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/6666059cb20313a69e518d351e00eb1f +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/6836a9eb9975c10c93f447fc315b8349 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/6897902b615db6d106af2822a6e2eb62 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/715b9d65172e5d82f05fe7f179e4f641 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/768fc2641c0e22c57679e02ed8543d36 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/7d06b47b0fa66ce19b154d2355b1ccd1 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/7e0eb4be88d9d9a70cd09bbf4007f4a4 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/807cd6bd5e0c02ec0772daa3868f9d61 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/80cc7db99ad2b64556de9b8229a8f3e7 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/844ae5de3828b76089f39336c6f3f6c8 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/864e4f1898b310dcf0316a99ba0a3067 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/87f0cc2881f608195fdaec58ee54fbfe +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/884005c51eb580c211fdf86f83cbd7d4 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/8c0ac229a3088e0cd0d9db95df428103 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/8e0772a1c692d481d2e5ef800602c9b3 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/8f0d12234b16caea73d930c4658554e8 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/8f6410f2a80e0115a1b8bf6cf7cbf317 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/8fdd783b1b18cf2bf735a31f68b32131 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/939a36ef1c8fe174ef51ff8a4c5322a8 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/950cf58a7bd174e827f4a73f6996e8bd +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/a049654e5ab2df058699bd8968c0f493 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/a143a0bc0632c5cb89f596cf5272528e +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/a3041faa4e334801f4f495371a8cced2 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/a3a6cd207915c1867e51fa92ea7827b8 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/a4faa95d6bafec287fc59ff59eec9625 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/a7b222735fc6d94f5713fa8e4c00feec +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/ac9180e2a5edc87eec65cd47141d2e80 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/ae168f5fd9c4439b289abdb476b026b7 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/b0b29e7227617890cf734f30d2ec810e +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/b3b0b443293be8cc1ebeefa441c1d56f +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/bd73f0158510de99a53a18f4aeb1fb90 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/bec5edffa453a85a42afd4849f868e81 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/c04795d4fdfb36d2041fd2ee97edfdfe +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/c16b6da8711e06b53e78abd01064762c +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/c1ccccbc73ad9c18a4f6e82a196a2fc2 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/c8030c204c8e82370802bab4d708040d +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/cc7bd06bb71f2155aeeb684d0d880988 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/cd0653a7baafdb4f0f1d06fd848a93ad +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/cd0d14bed7965532879e84a4b6df7188 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/ce2d46fba538c6756b32019ae8500047 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/d3d217eee875712c702e7b5aa7f61a5f +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/dda16ed9cc1e54fd0d97a6036e928d8d +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/e07c4addcee44a21398170318c44a63c +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/e26d2dade8b9049db6fe17631d69c20e +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/e988f9e2cbcefc5fc9b5d9961bb5da0d +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f1555999bb69d971b3a4a7128e83efea +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f8d0960b0d3d42cba6b481ca483dae33 +0 -0
- metadata +17 -10
- data/app/assets/javascripts/external/exporting-2.3.3.src.js +0 -736
data/contour.gemspec
CHANGED
@@ -24,8 +24,8 @@ Gem::Specification.new do |s|
|
|
24
24
|
s.files = Dir['{app,config,db,lib}/**/*'] + ['CHANGELOG.md', 'contour.gemspec', 'LICENSE', 'Rakefile', 'README.md']
|
25
25
|
s.test_files = Dir['test/**/*']
|
26
26
|
|
27
|
-
s.add_dependency 'rails', '~> 4.0.0
|
28
|
-
s.add_dependency 'jquery-rails', '
|
27
|
+
s.add_dependency 'rails', '~> 4.0.0'
|
28
|
+
s.add_dependency 'jquery-rails', '>= 2.2.2'
|
29
29
|
s.add_dependency 'coffee-rails', '~> 4.0.0'
|
30
30
|
s.add_dependency 'devise', '~> 3.0.0.rc'
|
31
31
|
s.add_dependency 'omniauth', '~> 1.1.3'
|
data/lib/contour/version.rb
CHANGED
data/test/dummy/config.ru
CHANGED
@@ -2,8 +2,9 @@ require File.expand_path('../boot', __FILE__)
|
|
2
2
|
|
3
3
|
require 'rails/all'
|
4
4
|
|
5
|
-
#
|
6
|
-
|
5
|
+
# Require the gems listed in Gemfile, including any gems
|
6
|
+
# you've limited to :test, :development, or :production.
|
7
|
+
Bundler.require(:default, Rails.env)
|
7
8
|
|
8
9
|
require "contour"
|
9
10
|
|
@@ -23,5 +23,7 @@ Dummy::Application.configure do
|
|
23
23
|
config.active_record.migration_error = :page_load
|
24
24
|
|
25
25
|
# Debug mode disables concatenation and preprocessing of assets.
|
26
|
+
# This option may cause significant delays in view rendering with a large
|
27
|
+
# number of complex assets.
|
26
28
|
config.assets.debug = true
|
27
29
|
end
|
@@ -23,10 +23,10 @@ Dummy::Application.configure do
|
|
23
23
|
config.serve_static_assets = false
|
24
24
|
|
25
25
|
# Compress JavaScripts and CSS.
|
26
|
-
config.assets.js_compressor
|
26
|
+
config.assets.js_compressor = :uglifier
|
27
27
|
# config.assets.css_compressor = :sass
|
28
28
|
|
29
|
-
#
|
29
|
+
# Do not fallback to assets pipeline if a precompiled asset is missed.
|
30
30
|
config.assets.compile = false
|
31
31
|
|
32
32
|
# Generate digests for assets URLs.
|
@@ -13,7 +13,7 @@ Dummy::Application.configure do
|
|
13
13
|
config.eager_load = false
|
14
14
|
|
15
15
|
# Configure static asset server for tests with Cache-Control for performance.
|
16
|
-
config.serve_static_assets
|
16
|
+
config.serve_static_assets = true
|
17
17
|
config.static_cache_control = "public, max-age=3600"
|
18
18
|
|
19
19
|
# Show full error reports and disable caching.
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -78184,6 +78184,401 @@ UserTest: test_should_apply_omniauth
|
|
78184
78184
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
78185
78185
|
--------------------------------------
|
78186
78186
|
UserTest: test_should_get_reverse_name
|
78187
|
+
--------------------------------------
|
78188
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
78189
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
78190
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
78191
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
78192
|
+
[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-07-16 14:00:22', '2013-07-16 14:00:22', 949717663, 201799169)[0m
|
78193
|
+
[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-07-16 14:00:22', '2013-07-16 14:00:22', 876923740, 201799169)
|
78194
|
+
[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-07-16 14:00:22', '2013-07-16 14:00:22', 864673665, 201799169)[0m
|
78195
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
78196
|
+
[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-07-16 14:00:22', '2013-07-16 14:00:22', 201799169)[0m
|
78197
|
+
[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-07-16 14:00:22', '2013-07-16 14:00:22', 999914115)
|
78198
|
+
[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-07-16 14:00:22', '2013-07-16 14:00:22', 725306934)[0m
|
78199
|
+
[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-07-16 14:00:22', '2013-07-16 14:00:22', 349534908)
|
78200
|
+
[1m[36m (186.5ms)[0m [1mcommit transaction[0m
|
78201
|
+
[1m[35m (0.2ms)[0m begin transaction
|
78202
|
+
-------------------------------------------------
|
78203
|
+
AuthenticationTest: test_should_get_provider_name
|
78204
|
+
-------------------------------------------------
|
78205
|
+
[1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
78206
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
78207
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
78208
|
+
--------------------------------------------------------------------------------
|
78209
|
+
AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case
|
78210
|
+
--------------------------------------------------------------------------------
|
78211
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
78212
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
78213
|
+
[1m[35m (0.0ms)[0m begin transaction
|
78214
|
+
-------------------------------------------------------------------------
|
78215
|
+
Contour::AuthenticationsControllerTest: test_should_create_authentication
|
78216
|
+
-------------------------------------------------------------------------
|
78217
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
78218
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
78219
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
78220
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
78221
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-07-16 14:00:22 UTC", "updated_at"=>"2013-07-16 14:00:22 UTC"}}
|
78222
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
78223
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
78224
|
+
Logged in user found, creating associated authentication.
|
78225
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
78226
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 16 Jul 2013 14:00:22 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 16 Jul 2013 14:00:22 UTC +00:00], ["user_id", 201799169]]
|
78227
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
78228
|
+
Redirected to http://test.host/authentications
|
78229
|
+
Completed 302 Found in 20ms (ActiveRecord: 0.9ms)
|
78230
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
78231
|
+
[1m[35m (22.0ms)[0m rollback transaction
|
78232
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
78233
|
+
--------------------------------------------------------------------------
|
78234
|
+
Contour::AuthenticationsControllerTest: test_should_destroy_authentication
|
78235
|
+
--------------------------------------------------------------------------
|
78236
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
78237
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
78238
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
78239
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
78240
|
+
Parameters: {"id"=>"949717663"}
|
78241
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
78242
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]]
|
78243
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
78244
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
78245
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78246
|
+
Redirected to http://test.host/authentications
|
78247
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
|
78248
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
78249
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
78250
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78251
|
+
-------------------------------------------------------------
|
78252
|
+
Contour::AuthenticationsControllerTest: test_should_get_index
|
78253
|
+
-------------------------------------------------------------
|
78254
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
78255
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
78256
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
78257
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
78258
|
+
[1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]]
|
78259
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["user_id", 201799169]]
|
78260
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (56.4ms)
|
78261
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms)
|
78262
|
+
Completed 200 OK in 801ms (Views: 798.5ms | ActiveRecord: 0.4ms)
|
78263
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
78264
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
78265
|
+
-----------------------------------------------------------------------------
|
78266
|
+
Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password
|
78267
|
+
-----------------------------------------------------------------------------
|
78268
|
+
Processing by Contour::PasswordsController#create as HTML
|
78269
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
78270
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
78271
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'Eqq2u4RYAXPMmTd3jNmA' LIMIT 1[0m
|
78272
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
78273
|
+
[1m[36mSQL (0.6ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "Eqq2u4RYAXPMmTd3jNmA"], ["reset_password_sent_at", Tue, 16 Jul 2013 14:00:23 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 14:00:23 UTC +00:00]]
|
78274
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
78275
|
+
|
78276
|
+
Sent mail to valid@example.com (14.0ms)
|
78277
|
+
Date: Tue, 16 Jul 2013 10:00:23 -0400
|
78278
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
78279
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
78280
|
+
To: valid@example.com
|
78281
|
+
Message-ID: <51e551f7907a4_380f3fec5a0606cc5485b@edge.partners.org.mail>
|
78282
|
+
Subject: Reset password instructions
|
78283
|
+
Mime-Version: 1.0
|
78284
|
+
Content-Type: text/html;
|
78285
|
+
charset=UTF-8
|
78286
|
+
Content-Transfer-Encoding: 7bit
|
78287
|
+
|
78288
|
+
<p>Hello valid@example.com!</p>
|
78289
|
+
|
78290
|
+
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
|
78291
|
+
|
78292
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=Eqq2u4RYAXPMmTd3jNmA">Change my password</a></p>
|
78293
|
+
|
78294
|
+
<p>If you didn't request this, please ignore this email.</p>
|
78295
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
78296
|
+
|
78297
|
+
Redirected to http://test.host/users/login
|
78298
|
+
Completed 302 Found in 108ms (ActiveRecord: 1.2ms)
|
78299
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
78300
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78301
|
+
-----------------------------------------------------------------------------
|
78302
|
+
Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password
|
78303
|
+
-----------------------------------------------------------------------------
|
78304
|
+
Processing by Contour::PasswordsController#new as HTML
|
78305
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms)
|
78306
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (11.5ms)
|
78307
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (14.7ms)
|
78308
|
+
Completed 200 OK in 31ms (Views: 30.1ms | ActiveRecord: 0.0ms)
|
78309
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
78310
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78311
|
+
-------------------------------------------------------------------------------
|
78312
|
+
Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up
|
78313
|
+
-------------------------------------------------------------------------------
|
78314
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
78315
|
+
Processing by Contour::RegistrationsController#create as HTML
|
78316
|
+
Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>""}}
|
78317
|
+
Unpermitted parameters: spam
|
78318
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
78319
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m
|
78320
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
78321
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 16 Jul 2013 14:00:23 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$ff6x5zer6PwqUR1uELldqOrsVLl4PfERzCpfcrfJ30UJ/MwyOpG6i"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Tue, 16 Jul 2013 14:00:23 UTC +00:00]]
|
78322
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78323
|
+
Redirected to http://test.host/users/login
|
78324
|
+
Completed 302 Found in 17ms (ActiveRecord: 0.9ms)
|
78325
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
78326
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
78327
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78328
|
+
--------------------------------------------------------------------------------------------
|
78329
|
+
Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status
|
78330
|
+
--------------------------------------------------------------------------------------------
|
78331
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
78332
|
+
Processing by Contour::RegistrationsController#create as HTML
|
78333
|
+
Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
78334
|
+
Unpermitted parameters: status
|
78335
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
78336
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m
|
78337
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
78338
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 16 Jul 2013 14:00:23 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$HVhUJH1wReTcxkPd9wW7I.CwZBSzoEJGfiDYd5cMDerIqNVGZ7aum"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Tue, 16 Jul 2013 14:00:23 UTC +00:00]]
|
78339
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78340
|
+
Redirected to http://test.host/users/login
|
78341
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.8ms)
|
78342
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
78343
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
78344
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78345
|
+
---------------------------------------------------------------------------------------------
|
78346
|
+
Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up
|
78347
|
+
---------------------------------------------------------------------------------------------
|
78348
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
78349
|
+
Processing by Contour::RegistrationsController#create as HTML
|
78350
|
+
Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>"http://buystuffhere.com"}}
|
78351
|
+
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"}
|
78352
|
+
Unpermitted parameters: spam
|
78353
|
+
Redirected to http://test.host/users/login
|
78354
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
|
78355
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
78356
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
78357
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78358
|
+
----------------------------------------------------------------------
|
78359
|
+
Contour::SessionsControllerTest: test_return_user_json_object_on_login
|
78360
|
+
----------------------------------------------------------------------
|
78361
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
78362
|
+
Processing by Contour::SessionsController#create as JSON
|
78363
|
+
Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
|
78364
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
78365
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
78366
|
+
[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", Tue, 16 Jul 2013 14:00:23 UTC +00:00], ["current_sign_in_at", Tue, 16 Jul 2013 14:00:23 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Tue, 16 Jul 2013 14:00:23 UTC +00:00]]
|
78367
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78368
|
+
Completed 200 OK in 82ms (Views: 0.3ms | ActiveRecord: 0.8ms)
|
78369
|
+
[1m[35m (38.8ms)[0m rollback transaction
|
78370
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
78371
|
+
----------------------------------------------------------------------------------------------------------
|
78372
|
+
Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email
|
78373
|
+
----------------------------------------------------------------------------------------------------------
|
78374
|
+
Processing by Contour::SessionsController#create as HTML
|
78375
|
+
Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}}
|
78376
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1
|
78377
|
+
[1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m
|
78378
|
+
Redirected to http://test.host/auth/google_apps
|
78379
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
78380
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
78381
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
78382
|
+
----------------------------------------------------------------------------------------------
|
78383
|
+
Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email
|
78384
|
+
----------------------------------------------------------------------------------------------
|
78385
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
78386
|
+
Processing by Contour::SessionsController#create as HTML
|
78387
|
+
Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
|
78388
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
78389
|
+
[1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]]
|
78390
|
+
Redirected to http://test.host/auth/ldap
|
78391
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
78392
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
78393
|
+
[1m[35m (0.0ms)[0m begin transaction
|
78394
|
+
--------------------------------------------------------------------------
|
78395
|
+
Contour::SessionsControllerTest: test_should_not_login_invalid_credentials
|
78396
|
+
--------------------------------------------------------------------------
|
78397
|
+
Processing by Contour::SessionsController#create as HTML
|
78398
|
+
Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}}
|
78399
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m
|
78400
|
+
[1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = ''
|
78401
|
+
Completed 401 Unauthorized in 3ms
|
78402
|
+
Processing by Contour::SessionsController#new as HTML
|
78403
|
+
Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}}
|
78404
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms)
|
78405
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.0ms)
|
78406
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
|
78407
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.3ms)
|
78408
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.5ms)
|
78409
|
+
Completed 200 OK in 23ms (Views: 22.1ms | ActiveRecord: 0.0ms)
|
78410
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
78411
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78412
|
+
-----------------------------------------------------
|
78413
|
+
ContourHelperTest: test_should_show_sort_field_helper
|
78414
|
+
-----------------------------------------------------
|
78415
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
78416
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78417
|
+
---------------------------------------------------------------------
|
78418
|
+
ContourHelperTest: test_should_show_sort_field_helper_with_same_order
|
78419
|
+
---------------------------------------------------------------------
|
78420
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
78421
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78422
|
+
-----------------------
|
78423
|
+
ContourTest: test_truth
|
78424
|
+
-----------------------
|
78425
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
78426
|
+
[1m[35m (0.0ms)[0m begin transaction
|
78427
|
+
--------------------------------------------------------------------
|
78428
|
+
NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login
|
78429
|
+
--------------------------------------------------------------------
|
78430
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
78431
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
78432
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
78433
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-16 10:00:24 -0400
|
78434
|
+
Processing by WelcomeController#logged_in_page as HTML
|
78435
|
+
Completed 401 Unauthorized in 19ms
|
78436
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
78437
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
78438
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
78439
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 16 Jul 2013 14:00:24 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$gLVQxl4shOXOTiCSvtDT1OE36hMvOqwPqbPpWGQNA4jJ6AFXA98IC"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Tue, 16 Jul 2013 14:00:24 UTC +00:00]]
|
78440
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78441
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78442
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
78443
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
78444
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78445
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
78446
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m
|
78447
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-07-16 10:00:24 -0400
|
78448
|
+
Processing by Contour::SessionsController#create as HTML
|
78449
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
78450
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
|
78451
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
78452
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78453
|
+
Completed 401 Unauthorized in 7ms
|
78454
|
+
Started GET "/users/login" for 127.0.0.1 at 2013-07-16 10:00:24 -0400
|
78455
|
+
Processing by Contour::SessionsController#new as HTML
|
78456
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms)
|
78457
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms)
|
78458
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
78459
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
|
78460
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
|
78461
|
+
Completed 200 OK in 14ms (Views: 12.0ms | ActiveRecord: 0.0ms)
|
78462
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
78463
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78464
|
+
--------------------------------------------------------
|
78465
|
+
NavigationTest: test_friendly_url_forwarding_after_login
|
78466
|
+
--------------------------------------------------------
|
78467
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
78468
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
78469
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
78470
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-16 10:00:24 -0400
|
78471
|
+
Processing by WelcomeController#logged_in_page as HTML
|
78472
|
+
Completed 401 Unauthorized in 1ms
|
78473
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
78474
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
78475
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
78476
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 16 Jul 2013 14:00:24 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$lap/W4602ocpBcsr.WyEvO78uOzOVLqYiSghSn8p28S.CVsZ8bPs2"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Tue, 16 Jul 2013 14:00:24 UTC +00:00]]
|
78477
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78478
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78479
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
78480
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
78481
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78482
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
78483
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
78484
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-07-16 10:00:24 -0400
|
78485
|
+
Processing by Contour::SessionsController#create as HTML
|
78486
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
78487
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
78488
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
78489
|
+
[1m[35mSQL (0.3ms)[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", Tue, 16 Jul 2013 14:00:24 UTC +00:00], ["current_sign_in_at", Tue, 16 Jul 2013 14:00:24 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", Tue, 16 Jul 2013 14:00:24 UTC +00:00]]
|
78490
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78491
|
+
Redirected to http://www.example.com/logged_in_page
|
78492
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.6ms)
|
78493
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-16 10:00:24 -0400
|
78494
|
+
Processing by WelcomeController#logged_in_page as HTML
|
78495
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1
|
78496
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
78497
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
78498
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78499
|
+
--------------------------------------------------------------------
|
78500
|
+
NavigationTest: test_pending_users_should_be_not_be_allowed_to_login
|
78501
|
+
--------------------------------------------------------------------
|
78502
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
78503
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
78504
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
78505
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-16 10:00:24 -0400
|
78506
|
+
Processing by WelcomeController#logged_in_page as HTML
|
78507
|
+
Completed 401 Unauthorized in 1ms
|
78508
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
78509
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
78510
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
78511
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 16 Jul 2013 14:00:24 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$Ab/oFrXrPAuNoiWHetQKvO//xq/91sAzfISm4Ni6i4xoUr8bjqDIW"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Tue, 16 Jul 2013 14:00:24 UTC +00:00]]
|
78512
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78513
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78514
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
78515
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
78516
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78517
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
|
78518
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
78519
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-07-16 10:00:24 -0400
|
78520
|
+
Processing by Contour::SessionsController#create as HTML
|
78521
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
78522
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
78523
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
78524
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
78525
|
+
Completed 401 Unauthorized in 6ms
|
78526
|
+
Started GET "/users/login" for 127.0.0.1 at 2013-07-16 10:00:24 -0400
|
78527
|
+
Processing by Contour::SessionsController#new as HTML
|
78528
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms)
|
78529
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.3ms)
|
78530
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
78531
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
|
78532
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
|
78533
|
+
Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.0ms)
|
78534
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
78535
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78536
|
+
-------------------------------------------------------------
|
78537
|
+
NavigationTest: test_root_navigation_redirected_to_login_page
|
78538
|
+
-------------------------------------------------------------
|
78539
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
78540
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
78541
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
78542
|
+
Started GET "/" for 127.0.0.1 at 2013-07-16 10:00:24 -0400
|
78543
|
+
Processing by WelcomeController#index as HTML
|
78544
|
+
Completed 401 Unauthorized in 1ms
|
78545
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
78546
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
78547
|
+
-------------------------------------------------------------------------
|
78548
|
+
NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http
|
78549
|
+
-------------------------------------------------------------------------
|
78550
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
78551
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
78552
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
78553
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-07-16 10:00:24 -0400
|
78554
|
+
Processing by WelcomeController#logged_in_page as JSON
|
78555
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
78556
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
78557
|
+
[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", Tue, 16 Jul 2013 14:00:24 UTC +00:00], ["current_sign_in_at", Tue, 16 Jul 2013 14:00:24 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Tue, 16 Jul 2013 14:00:24 UTC +00:00]]
|
78558
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
78559
|
+
Completed 200 OK in 82ms (Views: 0.2ms | ActiveRecord: 0.7ms)
|
78560
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
78561
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78562
|
+
------------------------------------------------------------------------------------------------
|
78563
|
+
NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password
|
78564
|
+
------------------------------------------------------------------------------------------------
|
78565
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
78566
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
78567
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
78568
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-07-16 10:00:24 -0400
|
78569
|
+
Processing by WelcomeController#logged_in_page as JSON
|
78570
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
78571
|
+
Completed 401 Unauthorized in 78ms
|
78572
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
78573
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78574
|
+
------------------------------------
|
78575
|
+
UserTest: test_should_apply_omniauth
|
78576
|
+
------------------------------------
|
78577
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
78578
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
78579
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
78580
|
+
--------------------------------------
|
78581
|
+
UserTest: test_should_get_reverse_name
|
78187
78582
|
--------------------------------------
|
78188
78583
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
78189
78584
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|