devise_token_auth 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/devise_token_auth/application_controller.rb +0 -1
- data/app/controllers/devise_token_auth/auth_controller.rb +0 -1
- data/app/controllers/devise_token_auth/concerns/set_user_by_token.rb +1 -1
- data/app/controllers/devise_token_auth/passwords_controller.rb +5 -7
- data/app/controllers/devise_token_auth/sessions_controller.rb +0 -2
- data/config/routes.rb +1 -1
- data/lib/devise_token_auth/version.rb +1 -1
- data/test/dummy/app/controllers/application_controller.rb +2 -0
- data/test/dummy/app/controllers/{test_controller.rb → demo_controller.rb} +1 -1
- data/test/dummy/config/routes.rb +1 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/development.log +290 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 28633d9c16bc8ada13e729c78ff68476e85bf551
|
|
4
|
+
data.tar.gz: 997c2f78489c3f638c6bdaa17a6c2a3802d945ed
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ff1616c5c7189d705b178b1fb13c9689f2cb768b3a5f92c9937bf7accefc1176a8a3c712a4dca10fba4e33ff35cdaf449ce0ea9032b7f5e3e5138cbdfc8f27d4
|
|
7
|
+
data.tar.gz: 06733b4069b644efe0957873176cfe5ca924fe69213ed278603037f45e52084b6e1ec4d08d2994537de8a2f7e0402aaf533583eb2386cf2a747e31e9f39faf4e
|
|
@@ -23,7 +23,7 @@ module DeviseTokenAuth::Concerns::SetUserByToken
|
|
|
23
23
|
@user = @current_user = uid && User.find_by_uid(uid)
|
|
24
24
|
|
|
25
25
|
if @user && @user.valid_token?(@client_id, token)
|
|
26
|
-
sign_in(@user, store: false)
|
|
26
|
+
sign_in(:user, @user, store: false, bypass: true)
|
|
27
27
|
else
|
|
28
28
|
@user = @current_user = nil
|
|
29
29
|
end
|
|
@@ -6,6 +6,8 @@ module DeviseTokenAuth
|
|
|
6
6
|
self.resource = resource_class.send_reset_password_instructions(resource_params)
|
|
7
7
|
yield resource if block_given?
|
|
8
8
|
|
|
9
|
+
throw "Not implemented"
|
|
10
|
+
|
|
9
11
|
if resource.errors.empty?
|
|
10
12
|
render json: {
|
|
11
13
|
success: true
|
|
@@ -23,19 +25,15 @@ module DeviseTokenAuth
|
|
|
23
25
|
self.resource = resource_class.reset_password_by_token(resource_params)
|
|
24
26
|
yield resource if block_given?
|
|
25
27
|
|
|
28
|
+
throw "Not implemented"
|
|
29
|
+
|
|
26
30
|
if resource.errors.empty?
|
|
27
31
|
resource.unlock_access! if unlockable?(resource)
|
|
28
|
-
sign_in(resource_name, resource)
|
|
29
|
-
|
|
30
|
-
user_data = resource.as_json(methods: :can_score)
|
|
31
|
-
user_data[:permissions] = resource.all_permissions
|
|
32
|
-
user_data[:scoring_admin] = resource.scoring_admin
|
|
33
32
|
|
|
34
33
|
render json: {
|
|
35
34
|
success: true,
|
|
36
35
|
data: {
|
|
37
|
-
user:
|
|
38
|
-
auth_token: resource.authentication_token
|
|
36
|
+
user: self.resource
|
|
39
37
|
}
|
|
40
38
|
}
|
|
41
39
|
else
|
data/config/routes.rb
CHANGED
|
@@ -8,7 +8,7 @@ DeviseTokenAuth::Engine.routes.draw do
|
|
|
8
8
|
:passwords => "devise_token_auth/passwords",
|
|
9
9
|
:confirmations => "devise_token_auth/confirmations"}
|
|
10
10
|
|
|
11
|
-
get "validate_token",
|
|
11
|
+
get "validate_token", to: "auth#validate_token"
|
|
12
12
|
get "failure", to: "auth#omniauth_failure"
|
|
13
13
|
get ":provider/callback", to: "auth#omniauth_success"
|
|
14
14
|
end
|
data/test/dummy/config/routes.rb
CHANGED
|
Binary file
|
|
@@ -10768,3 +10768,293 @@ Processing by DeviseTokenAuth::AuthController#validate_token as HTML
|
|
|
10768
10768
|
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 9[0m [["tokens", "{\"pzlFC0qCsyE8J9M5zwS5cQ\":{\"token\":\"$2a$10$efRN2bolHvuDmJZvngCJgeFfRrColRWNKyiBo2O6AEuTK6h18cQHS\",\"expiry\":\"2014-07-18 19:41:48 -0500\"},\"\":{\"token\":\"$2a$10$C0UaN9QEwpIxCtx7wpjNY.d90wy4jRlAzA85ZFwAUXj2bJNP3byHi\",\"expiry\":\"2014-07-18 19:41:47 -0500\"},\"3lX50yTkw9nPtLn2OcfHnA\":{\"token\":\"$2a$10$/Mz3imGDacImVl09i1DTMu0p1OVsLHIVR3Mr9HSXxbjdD2wXOuICe\",\"expiry\":\"2014-07-18 19:44:30 -0500\"},\"miVoz6341BnD1AeVYuCt8w\":{\"token\":\"$2a$10$YLPjZ9ZwovdwqNX0x6OF9eUKy27uLrJpFmQIt83IAyW0O96iT9rEa\",\"expiry\":\"2014-07-18 19:45:07 -0500\"},\"kADGLDMT9-EkUksPpcfAHg\":{\"token\":\"$2a$10$ZOJoR38lnAVBG29Y7kika.Oivkr2G4AsnI/.AlbU9HLNLoRDdN5iK\",\"expiry\":\"2014-07-18 19:45:45 -0500\"},\"F-_eXekstqN82e0jEcCWZg\":{\"token\":\"$2a$10$.ALPQGltOeONC1n4jQZzteGIfcplbobGzhj48G.ZCJnFtw7pj2d9q\",\"expiry\":\"2014-07-18 19:46:23 -0500\"}}"], ["updated_at", "2014-07-05 00:46:23.645853"]]
|
|
10769
10769
|
[1m[35m (1.9ms)[0m commit transaction
|
|
10770
10770
|
Completed 200 OK in 228ms (Views: 0.4ms | ActiveRecord: 4.5ms)
|
|
10771
|
+
|
|
10772
|
+
|
|
10773
|
+
Started GET "/auth/validate_token" for 127.0.0.1 at 2014-07-05 16:44:35 -0500
|
|
10774
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
10775
|
+
Processing by DeviseTokenAuth::AuthController#validate_token as HTML
|
|
10776
|
+
[1m[35mUser Load (0.5ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'lynn+test@healthbox.com' LIMIT 1
|
|
10777
|
+
Completed 401 Unauthorized in 7ms (Views: 0.2ms | ActiveRecord: 1.0ms)
|
|
10778
|
+
|
|
10779
|
+
|
|
10780
|
+
Started GET "/auth/validate_token" for 127.0.0.1 at 2014-07-05 16:44:35 -0500
|
|
10781
|
+
Processing by DeviseTokenAuth::AuthController#validate_token as HTML
|
|
10782
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1[0m
|
|
10783
|
+
Completed 401 Unauthorized in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
|
10784
|
+
|
|
10785
|
+
|
|
10786
|
+
Started GET "/auth/github" for 127.0.0.1 at 2014-07-05 16:44:37 -0500
|
|
10787
|
+
|
|
10788
|
+
|
|
10789
|
+
Started GET "/auth/github/callback?code=1110909006729afef592&state=8a593f9e9829f7b279555056b9cf185bc171e64c01a98b64" for 127.0.0.1 at 2014-07-05 16:44:37 -0500
|
|
10790
|
+
Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML
|
|
10791
|
+
Parameters: {"code"=>"1110909006729afef592", "state"=>"8a593f9e9829f7b279555056b9cf185bc171e64c01a98b64", "provider"=>"github"}
|
|
10792
|
+
[1m[35mUser Load (1.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' AND "users"."provider" = 'github' AND "users"."email" = 'lynn.dylan.hurley+github@gmail.com' ORDER BY "users"."id" ASC LIMIT 1
|
|
10793
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
10794
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'lynn.dylan.hurley+github@gmail.com' LIMIT 1
|
|
10795
|
+
[1m[36mUser Load (1.9ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '6aad21c6aad69f396d5f529536e41728651d9817f405ecc3f0562604b8fc35ff' ORDER BY "users"."id" ASC LIMIT 1[0m
|
|
10796
|
+
Binary data inserted for `string` type on column `confirmation_token`
|
|
10797
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
10798
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "encrypted_password", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["confirmation_sent_at", "2014-07-05 21:44:38.983250"], ["confirmation_token", "6aad21c6aad69f396d5f529536e41728651d9817f405ecc3f0562604b8fc35ff"], ["created_at", "2014-07-05 21:44:38.770496"], ["email", "lynn.dylan.hurley+github@gmail.com"], ["encrypted_password", "$2a$10$L/1VeEg/jrPD6IF9EYgZfeg5R2w2bIRxS5a8BghChxKDmbhIRRv8."], ["provider", "github"], ["tokens", "{\"zYCYzp8nQgBDos5XVof9vw\":{\"token\":\"$2a$10$Z2rUuJBJqRceqVSOIYq9hOP0AYPfBsy.EM50m7iKU4Rd5IC7AkZ7y\",\"expiry\":\"2014-07-19 16:44:38 -0500\"}}"], ["uid", "468037"], ["updated_at", "2014-07-05 21:44:38.770496"]]
|
|
10799
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/devise-3.2.4/app/views/devise/mailer/confirmation_instructions.html.erb (1.6ms)
|
|
10800
|
+
|
|
10801
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 34.7ms
|
|
10802
|
+
|
|
10803
|
+
Sent mail to lynn.dylan.hurley+github@gmail.com (27.1ms)
|
|
10804
|
+
Date: Sat, 05 Jul 2014 16:44:39 -0500
|
|
10805
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
|
10806
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
|
10807
|
+
To: lynn.dylan.hurley+github@gmail.com
|
|
10808
|
+
Message-ID: <53b871c76c00_81523fc308444bb0712ac@Lynns-MacBook-Pro.local.mail>
|
|
10809
|
+
Subject: Confirmation instructions
|
|
10810
|
+
Mime-Version: 1.0
|
|
10811
|
+
Content-Type: text/html;
|
|
10812
|
+
charset=UTF-8
|
|
10813
|
+
Content-Transfer-Encoding: 7bit
|
|
10814
|
+
|
|
10815
|
+
<p>Welcome lynn.dylan.hurley+github@gmail.com!</p>
|
|
10816
|
+
|
|
10817
|
+
<p>You can confirm your account email through the link below:</p>
|
|
10818
|
+
|
|
10819
|
+
<p><a href="http://localhost:3000/auth/confirmation?confirmation_token=uszv4J-ozqBRBVx8ZyZx">Confirm my account</a></p>
|
|
10820
|
+
|
|
10821
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
|
10822
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
10823
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "image" = ?, "name" = ?, "nickname" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 10[0m [["image", "https://avatars.githubusercontent.com/u/468037?"], ["name", "Lynn Dylan Hurley"], ["nickname", "lynndylanhurley"], ["tokens", "{\"zYCYzp8nQgBDos5XVof9vw\":{\"token\":\"$2a$10$Z2rUuJBJqRceqVSOIYq9hOP0AYPfBsy.EM50m7iKU4Rd5IC7AkZ7y\",\"expiry\":\"2014-07-19 16:44:38 -0500\"}}"], ["updated_at", "2014-07-05 21:44:39.096999"]]
|
|
10824
|
+
[1m[35m (0.5ms)[0m commit transaction
|
|
10825
|
+
Rendered /Users/lynnhurley/Code/Auth/devise_token_auth/app/views/devise_token_auth/omniauth_success.html.erb within layouts/omniauth_response (0.5ms)
|
|
10826
|
+
Completed 200 OK in 481ms (Views: 3.4ms | ActiveRecord: 5.8ms)
|
|
10827
|
+
|
|
10828
|
+
|
|
10829
|
+
Started OPTIONS "/demo/members_only" for 127.0.0.1 at 2014-07-05 16:44:41 -0500
|
|
10830
|
+
|
|
10831
|
+
|
|
10832
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-07-05 16:44:41 -0500
|
|
10833
|
+
|
|
10834
|
+
ActionController::RoutingError (No route matches [GET] "/demo/members_only"):
|
|
10835
|
+
actionpack (4.1.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
|
10836
|
+
actionpack (4.1.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
|
10837
|
+
railties (4.1.2) lib/rails/rack/logger.rb:38:in `call_app'
|
|
10838
|
+
railties (4.1.2) lib/rails/rack/logger.rb:20:in `block in call'
|
|
10839
|
+
activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
|
10840
|
+
activesupport (4.1.2) lib/active_support/tagged_logging.rb:26:in `tagged'
|
|
10841
|
+
activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `tagged'
|
|
10842
|
+
railties (4.1.2) lib/rails/rack/logger.rb:20:in `call'
|
|
10843
|
+
actionpack (4.1.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
|
10844
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
|
10845
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
|
10846
|
+
activesupport (4.1.2) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
|
|
10847
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
|
10848
|
+
actionpack (4.1.2) lib/action_dispatch/middleware/static.rb:64:in `call'
|
|
10849
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
|
10850
|
+
railties (4.1.2) lib/rails/engine.rb:514:in `call'
|
|
10851
|
+
railties (4.1.2) lib/rails/application.rb:144:in `call'
|
|
10852
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
|
10853
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
|
10854
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
|
10855
|
+
/opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
|
|
10856
|
+
/opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
|
|
10857
|
+
/opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
|
|
10858
|
+
|
|
10859
|
+
|
|
10860
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms)
|
|
10861
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.8ms)
|
|
10862
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.4ms)
|
|
10863
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (7.8ms)
|
|
10864
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (38.8ms)
|
|
10865
|
+
|
|
10866
|
+
|
|
10867
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-07-05 16:46:17 -0500
|
|
10868
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
10869
|
+
|
|
10870
|
+
ActionController::RoutingError (No route matches [GET] "/demo/members_only"):
|
|
10871
|
+
actionpack (4.1.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
|
10872
|
+
actionpack (4.1.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
|
10873
|
+
railties (4.1.2) lib/rails/rack/logger.rb:38:in `call_app'
|
|
10874
|
+
railties (4.1.2) lib/rails/rack/logger.rb:20:in `block in call'
|
|
10875
|
+
activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
|
10876
|
+
activesupport (4.1.2) lib/active_support/tagged_logging.rb:26:in `tagged'
|
|
10877
|
+
activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `tagged'
|
|
10878
|
+
railties (4.1.2) lib/rails/rack/logger.rb:20:in `call'
|
|
10879
|
+
actionpack (4.1.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
|
10880
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
|
10881
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
|
10882
|
+
activesupport (4.1.2) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
|
|
10883
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
|
10884
|
+
actionpack (4.1.2) lib/action_dispatch/middleware/static.rb:64:in `call'
|
|
10885
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
|
10886
|
+
railties (4.1.2) lib/rails/engine.rb:514:in `call'
|
|
10887
|
+
railties (4.1.2) lib/rails/application.rb:144:in `call'
|
|
10888
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
|
10889
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
|
10890
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
|
10891
|
+
/opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
|
|
10892
|
+
/opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
|
|
10893
|
+
/opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
|
|
10894
|
+
|
|
10895
|
+
|
|
10896
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.8ms)
|
|
10897
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
|
|
10898
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.4ms)
|
|
10899
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (5.0ms)
|
|
10900
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (25.5ms)
|
|
10901
|
+
|
|
10902
|
+
|
|
10903
|
+
Started GET "/auth/github" for 127.0.0.1 at 2014-07-05 16:46:20 -0500
|
|
10904
|
+
|
|
10905
|
+
|
|
10906
|
+
Started GET "/auth/github/callback?code=2c51a1e283fa73ab1168&state=4f6df11d38095956a3079c5fb0d47a0c8fe7e4a3f966e6f5" for 127.0.0.1 at 2014-07-05 16:46:20 -0500
|
|
10907
|
+
Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML
|
|
10908
|
+
Parameters: {"code"=>"2c51a1e283fa73ab1168", "state"=>"4f6df11d38095956a3079c5fb0d47a0c8fe7e4a3f966e6f5", "provider"=>"github"}
|
|
10909
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' AND "users"."provider" = 'github' AND "users"."email" = 'lynn.dylan.hurley+github@gmail.com' ORDER BY "users"."id" ASC LIMIT 1
|
|
10910
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
10911
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 10 [["tokens", "{\"zYCYzp8nQgBDos5XVof9vw\":{\"token\":\"$2a$10$Z2rUuJBJqRceqVSOIYq9hOP0AYPfBsy.EM50m7iKU4Rd5IC7AkZ7y\",\"expiry\":\"2014-07-19 16:44:38 -0500\"},\"4avxHKYnEhMZtsvOiSI--g\":{\"token\":\"$2a$10$tQUPVKIUfw/dHSQ0bLtnReY6IyUZ/ILftB3SbeNug/Bqcu/rHam.a\",\"expiry\":\"2014-07-19 16:46:21 -0500\"}}"], ["updated_at", "2014-07-05 21:46:21.338367"]]
|
|
10912
|
+
[1m[36m (1.6ms)[0m [1mcommit transaction[0m
|
|
10913
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
10914
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 10[0m [["tokens", "{\"zYCYzp8nQgBDos5XVof9vw\":{\"token\":\"$2a$10$Z2rUuJBJqRceqVSOIYq9hOP0AYPfBsy.EM50m7iKU4Rd5IC7AkZ7y\",\"expiry\":\"2014-07-19 16:44:38 -0500\"},\"4avxHKYnEhMZtsvOiSI--g\":{\"token\":\"$2a$10$tQUPVKIUfw/dHSQ0bLtnReY6IyUZ/ILftB3SbeNug/Bqcu/rHam.a\",\"expiry\":\"2014-07-19 16:46:21 -0500\"}}"], ["updated_at", "2014-07-05 21:46:21.343654"]]
|
|
10915
|
+
[1m[35m (0.5ms)[0m commit transaction
|
|
10916
|
+
Rendered /Users/lynnhurley/Code/Auth/devise_token_auth/app/views/devise_token_auth/omniauth_success.html.erb within layouts/omniauth_response (0.5ms)
|
|
10917
|
+
Completed 200 OK in 101ms (Views: 2.6ms | ActiveRecord: 3.2ms)
|
|
10918
|
+
|
|
10919
|
+
|
|
10920
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-07-05 16:46:24 -0500
|
|
10921
|
+
|
|
10922
|
+
ActionController::RoutingError (No route matches [GET] "/demo/members_only"):
|
|
10923
|
+
actionpack (4.1.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
|
10924
|
+
actionpack (4.1.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
|
10925
|
+
railties (4.1.2) lib/rails/rack/logger.rb:38:in `call_app'
|
|
10926
|
+
railties (4.1.2) lib/rails/rack/logger.rb:20:in `block in call'
|
|
10927
|
+
activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
|
10928
|
+
activesupport (4.1.2) lib/active_support/tagged_logging.rb:26:in `tagged'
|
|
10929
|
+
activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `tagged'
|
|
10930
|
+
railties (4.1.2) lib/rails/rack/logger.rb:20:in `call'
|
|
10931
|
+
actionpack (4.1.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
|
10932
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
|
10933
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
|
10934
|
+
activesupport (4.1.2) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
|
|
10935
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
|
10936
|
+
actionpack (4.1.2) lib/action_dispatch/middleware/static.rb:64:in `call'
|
|
10937
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
|
10938
|
+
railties (4.1.2) lib/rails/engine.rb:514:in `call'
|
|
10939
|
+
railties (4.1.2) lib/rails/application.rb:144:in `call'
|
|
10940
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
|
10941
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
|
10942
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
|
10943
|
+
/opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
|
|
10944
|
+
/opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
|
|
10945
|
+
/opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
|
|
10946
|
+
|
|
10947
|
+
|
|
10948
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms)
|
|
10949
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.6ms)
|
|
10950
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.2ms)
|
|
10951
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (0.9ms)
|
|
10952
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (19.4ms)
|
|
10953
|
+
|
|
10954
|
+
|
|
10955
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-07-05 16:46:58 -0500
|
|
10956
|
+
Processing by DemoController#members_only as HTML
|
|
10957
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1[0m
|
|
10958
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
10959
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 10[0m [["tokens", "{\"zYCYzp8nQgBDos5XVof9vw\":{\"token\":\"$2a$10$Z2rUuJBJqRceqVSOIYq9hOP0AYPfBsy.EM50m7iKU4Rd5IC7AkZ7y\",\"expiry\":\"2014-07-19 16:44:38 -0500\"},\"4avxHKYnEhMZtsvOiSI--g\":{\"token\":\"$2a$10$tQUPVKIUfw/dHSQ0bLtnReY6IyUZ/ILftB3SbeNug/Bqcu/rHam.a\",\"expiry\":\"2014-07-19 16:46:21 -0500\"}}"], ["updated_at", "2014-07-05 21:46:58.380606"]]
|
|
10960
|
+
[1m[35m (0.6ms)[0m commit transaction
|
|
10961
|
+
Completed 401 Unauthorized in 76ms
|
|
10962
|
+
|
|
10963
|
+
|
|
10964
|
+
Started OPTIONS "/auth/validate_token" for 127.0.0.1 at 2014-07-05 16:50:47 -0500
|
|
10965
|
+
|
|
10966
|
+
|
|
10967
|
+
Started GET "/auth/validate_token" for 127.0.0.1 at 2014-07-05 16:50:47 -0500
|
|
10968
|
+
Processing by DeviseTokenAuth::AuthController#validate_token as HTML
|
|
10969
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1[0m
|
|
10970
|
+
[1m[35m (0.2ms)[0m begin transaction
|
|
10971
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 10[0m [["tokens", "{\"zYCYzp8nQgBDos5XVof9vw\":{\"token\":\"$2a$10$Z2rUuJBJqRceqVSOIYq9hOP0AYPfBsy.EM50m7iKU4Rd5IC7AkZ7y\",\"expiry\":\"2014-07-19 16:44:38 -0500\"},\"4avxHKYnEhMZtsvOiSI--g\":{\"token\":\"$2a$10$tQUPVKIUfw/dHSQ0bLtnReY6IyUZ/ILftB3SbeNug/Bqcu/rHam.a\",\"expiry\":\"2014-07-19 16:46:21 -0500\"}}"], ["updated_at", "2014-07-05 21:50:47.384399"]]
|
|
10972
|
+
[1m[35m (1.6ms)[0m commit transaction
|
|
10973
|
+
Completed 401 Unauthorized in 84ms
|
|
10974
|
+
|
|
10975
|
+
|
|
10976
|
+
Started GET "/auth/github" for 127.0.0.1 at 2014-07-05 16:56:50 -0500
|
|
10977
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
10978
|
+
|
|
10979
|
+
|
|
10980
|
+
Started GET "/auth/github/callback?code=998b819c3f5c6d1a889f&state=ee9bbfcf44c12b4a8ccaf2ab0217c82f386e9ecf2be38d98" for 127.0.0.1 at 2014-07-05 16:56:50 -0500
|
|
10981
|
+
Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML
|
|
10982
|
+
Parameters: {"code"=>"998b819c3f5c6d1a889f", "state"=>"ee9bbfcf44c12b4a8ccaf2ab0217c82f386e9ecf2be38d98", "provider"=>"github"}
|
|
10983
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' AND "users"."provider" = 'github' AND "users"."email" = 'lynn.dylan.hurley+github@gmail.com' ORDER BY "users"."id" ASC LIMIT 1
|
|
10984
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
10985
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 10 [["tokens", "{\"zYCYzp8nQgBDos5XVof9vw\":{\"token\":\"$2a$10$Z2rUuJBJqRceqVSOIYq9hOP0AYPfBsy.EM50m7iKU4Rd5IC7AkZ7y\",\"expiry\":\"2014-07-19 16:44:38 -0500\"},\"4avxHKYnEhMZtsvOiSI--g\":{\"token\":\"$2a$10$tQUPVKIUfw/dHSQ0bLtnReY6IyUZ/ILftB3SbeNug/Bqcu/rHam.a\",\"expiry\":\"2014-07-19 16:46:21 -0500\"},\"bvLRitJHje0CXGbj9ZsnNw\":{\"token\":\"$2a$10$fuDv2AflN.yZ7J9BKSj8XepJBCi8uX6a4cn972/q6i1c9XHN2OXzm\",\"expiry\":\"2014-07-19 16:56:51 -0500\"}}"], ["updated_at", "2014-07-05 21:56:51.367398"]]
|
|
10986
|
+
[1m[36m (1.7ms)[0m [1mcommit transaction[0m
|
|
10987
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
10988
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 10[0m [["tokens", "{\"zYCYzp8nQgBDos5XVof9vw\":{\"token\":\"$2a$10$Z2rUuJBJqRceqVSOIYq9hOP0AYPfBsy.EM50m7iKU4Rd5IC7AkZ7y\",\"expiry\":\"2014-07-19 16:44:38 -0500\"},\"4avxHKYnEhMZtsvOiSI--g\":{\"token\":\"$2a$10$tQUPVKIUfw/dHSQ0bLtnReY6IyUZ/ILftB3SbeNug/Bqcu/rHam.a\",\"expiry\":\"2014-07-19 16:46:21 -0500\"},\"bvLRitJHje0CXGbj9ZsnNw\":{\"token\":\"$2a$10$fuDv2AflN.yZ7J9BKSj8XepJBCi8uX6a4cn972/q6i1c9XHN2OXzm\",\"expiry\":\"2014-07-19 16:56:51 -0500\"}}"], ["updated_at", "2014-07-05 21:56:51.390244"]]
|
|
10989
|
+
[1m[35m (0.6ms)[0m commit transaction
|
|
10990
|
+
Rendered /Users/lynnhurley/Code/Auth/devise_token_auth/app/views/devise_token_auth/omniauth_success.html.erb within layouts/omniauth_response (1.2ms)
|
|
10991
|
+
Completed 200 OK in 110ms (Views: 6.4ms | ActiveRecord: 3.5ms)
|
|
10992
|
+
|
|
10993
|
+
|
|
10994
|
+
Started OPTIONS "/demo/members_only" for 127.0.0.1 at 2014-07-05 16:56:54 -0500
|
|
10995
|
+
|
|
10996
|
+
|
|
10997
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-07-05 16:56:54 -0500
|
|
10998
|
+
Processing by DemoController#members_only as HTML
|
|
10999
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1[0m
|
|
11000
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
11001
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 10[0m [["tokens", "{\"zYCYzp8nQgBDos5XVof9vw\":{\"token\":\"$2a$10$Z2rUuJBJqRceqVSOIYq9hOP0AYPfBsy.EM50m7iKU4Rd5IC7AkZ7y\",\"expiry\":\"2014-07-19 16:44:38 -0500\"},\"4avxHKYnEhMZtsvOiSI--g\":{\"token\":\"$2a$10$tQUPVKIUfw/dHSQ0bLtnReY6IyUZ/ILftB3SbeNug/Bqcu/rHam.a\",\"expiry\":\"2014-07-19 16:46:21 -0500\"},\"bvLRitJHje0CXGbj9ZsnNw\":{\"token\":\"$2a$10$fuDv2AflN.yZ7J9BKSj8XepJBCi8uX6a4cn972/q6i1c9XHN2OXzm\",\"expiry\":\"2014-07-19 16:56:51 -0500\"}}"], ["updated_at", "2014-07-05 21:56:54.533846"]]
|
|
11002
|
+
[1m[35m (0.7ms)[0m commit transaction
|
|
11003
|
+
Completed 401 Unauthorized in 86ms
|
|
11004
|
+
|
|
11005
|
+
|
|
11006
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-07-05 16:57:27 -0500
|
|
11007
|
+
Processing by DemoController#members_only as HTML
|
|
11008
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1[0m
|
|
11009
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
11010
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 10[0m [["tokens", "{\"zYCYzp8nQgBDos5XVof9vw\":{\"token\":\"$2a$10$Z2rUuJBJqRceqVSOIYq9hOP0AYPfBsy.EM50m7iKU4Rd5IC7AkZ7y\",\"expiry\":\"2014-07-19 16:44:38 -0500\"},\"4avxHKYnEhMZtsvOiSI--g\":{\"token\":\"$2a$10$tQUPVKIUfw/dHSQ0bLtnReY6IyUZ/ILftB3SbeNug/Bqcu/rHam.a\",\"expiry\":\"2014-07-19 16:46:21 -0500\"},\"bvLRitJHje0CXGbj9ZsnNw\":{\"token\":\"$2a$10$fuDv2AflN.yZ7J9BKSj8XepJBCi8uX6a4cn972/q6i1c9XHN2OXzm\",\"expiry\":\"2014-07-19 16:56:51 -0500\"}}"], ["updated_at", "2014-07-05 21:57:48.665403"]]
|
|
11011
|
+
[1m[35m (1.6ms)[0m commit transaction
|
|
11012
|
+
Completed 401 Unauthorized in 21422ms
|
|
11013
|
+
|
|
11014
|
+
|
|
11015
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-07-05 16:59:31 -0500
|
|
11016
|
+
Processing by DemoController#members_only as HTML
|
|
11017
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1[0m
|
|
11018
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
11019
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 10[0m [["tokens", "{\"zYCYzp8nQgBDos5XVof9vw\":{\"token\":\"$2a$10$Z2rUuJBJqRceqVSOIYq9hOP0AYPfBsy.EM50m7iKU4Rd5IC7AkZ7y\",\"expiry\":\"2014-07-19 16:44:38 -0500\"},\"4avxHKYnEhMZtsvOiSI--g\":{\"token\":\"$2a$10$tQUPVKIUfw/dHSQ0bLtnReY6IyUZ/ILftB3SbeNug/Bqcu/rHam.a\",\"expiry\":\"2014-07-19 16:46:21 -0500\"},\"bvLRitJHje0CXGbj9ZsnNw\":{\"token\":\"$2a$10$a4sd0pzMWQuaiWBC77mCru0hO5o6JdXbLah560sxZ26WHJOdbjqIa\",\"expiry\":\"2014-07-19 16:59:32 -0500\"}}"], ["updated_at", "2014-07-05 21:59:32.126262"]]
|
|
11020
|
+
[1m[35m (1.5ms)[0m commit transaction
|
|
11021
|
+
Completed 200 OK in 141ms (Views: 0.7ms | ActiveRecord: 2.5ms)
|
|
11022
|
+
|
|
11023
|
+
|
|
11024
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-07-05 16:59:34 -0500
|
|
11025
|
+
Processing by DemoController#members_only as HTML
|
|
11026
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1[0m
|
|
11027
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
11028
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 10[0m [["tokens", "{\"zYCYzp8nQgBDos5XVof9vw\":{\"token\":\"$2a$10$Z2rUuJBJqRceqVSOIYq9hOP0AYPfBsy.EM50m7iKU4Rd5IC7AkZ7y\",\"expiry\":\"2014-07-19 16:44:38 -0500\"},\"4avxHKYnEhMZtsvOiSI--g\":{\"token\":\"$2a$10$tQUPVKIUfw/dHSQ0bLtnReY6IyUZ/ILftB3SbeNug/Bqcu/rHam.a\",\"expiry\":\"2014-07-19 16:46:21 -0500\"},\"bvLRitJHje0CXGbj9ZsnNw\":{\"token\":\"$2a$10$YCKsOHRFjJzCBC9YpK7KNuAAjzR0bGxlYakdTKkRGJ7mQfu.sCR.K\",\"expiry\":\"2014-07-19 16:59:34 -0500\"}}"], ["updated_at", "2014-07-05 21:59:34.636902"]]
|
|
11029
|
+
[1m[35m (1.6ms)[0m commit transaction
|
|
11030
|
+
Completed 200 OK in 126ms (Views: 0.6ms | ActiveRecord: 2.1ms)
|
|
11031
|
+
|
|
11032
|
+
|
|
11033
|
+
Started GET "/auth/validate_token" for 127.0.0.1 at 2014-07-05 16:59:37 -0500
|
|
11034
|
+
Processing by DeviseTokenAuth::AuthController#validate_token as HTML
|
|
11035
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1[0m
|
|
11036
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
11037
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 10[0m [["tokens", "{\"zYCYzp8nQgBDos5XVof9vw\":{\"token\":\"$2a$10$Z2rUuJBJqRceqVSOIYq9hOP0AYPfBsy.EM50m7iKU4Rd5IC7AkZ7y\",\"expiry\":\"2014-07-19 16:44:38 -0500\"},\"4avxHKYnEhMZtsvOiSI--g\":{\"token\":\"$2a$10$tQUPVKIUfw/dHSQ0bLtnReY6IyUZ/ILftB3SbeNug/Bqcu/rHam.a\",\"expiry\":\"2014-07-19 16:46:21 -0500\"},\"bvLRitJHje0CXGbj9ZsnNw\":{\"token\":\"$2a$10$SC9wm2qN0vjK6qM657TpgupNMZF4VKT4mrigKAsDVyo4ihH/3wy5i\",\"expiry\":\"2014-07-19 16:59:37 -0500\"}}"], ["updated_at", "2014-07-05 21:59:37.840089"]]
|
|
11038
|
+
[1m[35m (1.6ms)[0m commit transaction
|
|
11039
|
+
Completed 200 OK in 129ms (Views: 0.4ms | ActiveRecord: 2.2ms)
|
|
11040
|
+
|
|
11041
|
+
|
|
11042
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-07-05 16:59:39 -0500
|
|
11043
|
+
Processing by DemoController#members_only as HTML
|
|
11044
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1[0m
|
|
11045
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
11046
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 10[0m [["tokens", "{\"zYCYzp8nQgBDos5XVof9vw\":{\"token\":\"$2a$10$Z2rUuJBJqRceqVSOIYq9hOP0AYPfBsy.EM50m7iKU4Rd5IC7AkZ7y\",\"expiry\":\"2014-07-19 16:44:38 -0500\"},\"4avxHKYnEhMZtsvOiSI--g\":{\"token\":\"$2a$10$tQUPVKIUfw/dHSQ0bLtnReY6IyUZ/ILftB3SbeNug/Bqcu/rHam.a\",\"expiry\":\"2014-07-19 16:46:21 -0500\"},\"bvLRitJHje0CXGbj9ZsnNw\":{\"token\":\"$2a$10$o0vY0PgnwXnnDEkas2vS3eh3TCjBFE2qdDJiv05uTjdA7FLnS3bES\",\"expiry\":\"2014-07-19 16:59:39 -0500\"}}"], ["updated_at", "2014-07-05 21:59:39.561762"]]
|
|
11047
|
+
[1m[35m (1.7ms)[0m commit transaction
|
|
11048
|
+
Completed 200 OK in 127ms (Views: 0.6ms | ActiveRecord: 2.2ms)
|
|
11049
|
+
|
|
11050
|
+
|
|
11051
|
+
Started OPTIONS "/auth/validate_token" for 127.0.0.1 at 2014-07-05 17:01:50 -0500
|
|
11052
|
+
|
|
11053
|
+
|
|
11054
|
+
Started GET "/auth/validate_token" for 127.0.0.1 at 2014-07-05 17:01:50 -0500
|
|
11055
|
+
Processing by DeviseTokenAuth::AuthController#validate_token as HTML
|
|
11056
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1[0m
|
|
11057
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
11058
|
+
[1m[36mSQL (1.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 10[0m [["tokens", "{\"zYCYzp8nQgBDos5XVof9vw\":{\"token\":\"$2a$10$Z2rUuJBJqRceqVSOIYq9hOP0AYPfBsy.EM50m7iKU4Rd5IC7AkZ7y\",\"expiry\":\"2014-07-19 16:44:38 -0500\"},\"4avxHKYnEhMZtsvOiSI--g\":{\"token\":\"$2a$10$tQUPVKIUfw/dHSQ0bLtnReY6IyUZ/ILftB3SbeNug/Bqcu/rHam.a\",\"expiry\":\"2014-07-19 16:46:21 -0500\"},\"bvLRitJHje0CXGbj9ZsnNw\":{\"token\":\"$2a$10$RaC8Uhj2o5brchmQss6lYezvgJ0Yqmqge30VYiVkxOUuK8kgcRVe6\",\"expiry\":\"2014-07-19 17:01:50 -0500\"}}"], ["updated_at", "2014-07-05 22:01:50.895842"]]
|
|
11059
|
+
[1m[35m (15.5ms)[0m commit transaction
|
|
11060
|
+
Completed 200 OK in 157ms (Views: 0.3ms | ActiveRecord: 17.2ms)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: devise_token_auth
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Lynn Hurley
|
|
@@ -107,7 +107,7 @@ files:
|
|
|
107
107
|
- test/dummy/app/assets/javascripts/application.js
|
|
108
108
|
- test/dummy/app/assets/stylesheets/application.css
|
|
109
109
|
- test/dummy/app/controllers/application_controller.rb
|
|
110
|
-
- test/dummy/app/controllers/
|
|
110
|
+
- test/dummy/app/controllers/demo_controller.rb
|
|
111
111
|
- test/dummy/app/helpers/application_helper.rb
|
|
112
112
|
- test/dummy/app/views/layouts/application.html.erb
|
|
113
113
|
- test/dummy/bin/bundle
|
|
@@ -175,7 +175,7 @@ test_files:
|
|
|
175
175
|
- test/dummy/app/assets/javascripts/application.js
|
|
176
176
|
- test/dummy/app/assets/stylesheets/application.css
|
|
177
177
|
- test/dummy/app/controllers/application_controller.rb
|
|
178
|
-
- test/dummy/app/controllers/
|
|
178
|
+
- test/dummy/app/controllers/demo_controller.rb
|
|
179
179
|
- test/dummy/app/helpers/application_helper.rb
|
|
180
180
|
- test/dummy/app/views/layouts/application.html.erb
|
|
181
181
|
- test/dummy/bin/bundle
|