authic_client 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +108 -6
- data/app/controllers/authic_client/sessions_controller.rb +14 -16
- data/config/routes.rb +2 -4
- data/lib/authic_client/version.rb +1 -1
- data/lib/generators/active_record/templates/migration.rb +17 -17
- data/lib/generators/active_record/templates/migration_existing.rb +3 -3
- data/lib/generators/authic/install_generator.rb +1 -0
- data/lib/generators/templates/sessions_controller.rb +2 -0
- data/test/dummy/db/schema.rb +7 -2
- data/test/dummy/log/development.log +654 -0
- metadata +5 -9
- data/app/controllers/authic_client/application_controller.rb +0 -4
- data/test/dummy/config/initializers/authic.rb +0 -6
- data/test/dummy/config/initializers/omniauth.rb +0 -3
data/README.rdoc
CHANGED
@@ -1,11 +1,113 @@
|
|
1
|
-
=
|
1
|
+
= Authic Client Gem
|
2
2
|
|
3
|
-
|
3
|
+
The Authic Client Gem is the quickest and easiest way to integrate your Rails 3 application with the most excellent {Authic cloud authentication service}[https://www.authic.com]. This Gem will have your Application using Authic to authenticate and manage your application's users in about the time it takes to read this document (5-10 min - no joke!) letting you concentrate on you application's unique value proposition and not on the mundane business of password reset forms.
|
4
4
|
|
5
|
-
gem "authic_client"
|
6
5
|
|
7
|
-
|
6
|
+
== Installation
|
8
7
|
|
9
|
-
|
8
|
+
In your Rails 3 applications Gemfile add:
|
10
9
|
|
11
|
-
|
10
|
+
gem "authic_client"
|
11
|
+
|
12
|
+
Run bundle install from the command line:
|
13
|
+
|
14
|
+
bundle install
|
15
|
+
|
16
|
+
=== Generators
|
17
|
+
|
18
|
+
The authic_client gem comes with two generators to make setup a snap. After the gem is installed you can run the authic_client generators to generate configuration, database migration and model files.
|
19
|
+
|
20
|
+
To generate the initializer files +config/initializers/authic.rb+ and +config/initializers/omniauth.rb+ run the following from the command line:
|
21
|
+
|
22
|
+
rails g authic:install
|
23
|
+
|
24
|
+
To generate the database migration and model files run the following command from the command line:
|
25
|
+
|
26
|
+
rails g active_record:authic User
|
27
|
+
|
28
|
+
*NOTE:* if the +User+ model already exists the generator will insert the appropriate attr_accessor calls at the top of your User model definition file (+app/models/user.rb+) and the migration is smart enough to add columns to an existing model if they don't already exist.
|
29
|
+
|
30
|
+
=== Database Migration
|
31
|
+
|
32
|
+
To add the required fields to the your users table, run a database migration using the following command:
|
33
|
+
|
34
|
+
rake db:migrate
|
35
|
+
|
36
|
+
This will create/update the application's +User+ model to include the following fields.
|
37
|
+
|
38
|
+
t.string :email # the email address of the user
|
39
|
+
t.string :provider # always 'authic' - to be deprecated soon
|
40
|
+
t.string :uid # A unique identifier for the user assigned by Authic
|
41
|
+
t.text :authic_data # a JSON encoded varibles related to the user, e.g the user's facebook id
|
42
|
+
t.string :first_name # The first name of the user
|
43
|
+
t.string :last_name # The last name of the user
|
44
|
+
t.string :full_name # the combined first and last name of the user
|
45
|
+
t.string :mobile # the mobile (cell) phone number of the user
|
46
|
+
t.string :phone # the landline phone number of the user
|
47
|
+
t.date :birth_date # the birth date of the user
|
48
|
+
t.text :groups # which groups the user belongs to (future road map)
|
49
|
+
t.text :roles # which roles the user belongs to (future road map)
|
50
|
+
t.string :middle_name # the middle name of the user
|
51
|
+
t.string :gender # the gender of the user
|
52
|
+
t.string :timezone # the timezone in which the user is located
|
53
|
+
t.string :country # the country in which the user is located
|
54
|
+
t.text :address # the address in which the user is located
|
55
|
+
|
56
|
+
== Configuration
|
57
|
+
|
58
|
+
Edit +/config/initializers/authic.rb+ and add your Authic details. The details include your Authic client key, secret and subdomain. These values can be found on Authic's Client Application details screen.
|
59
|
+
|
60
|
+
The initializer looks like:
|
61
|
+
|
62
|
+
module AuthicClient
|
63
|
+
# Authic config
|
64
|
+
AUTHIC_CLIENT_KEY ||= ENV['AUTHIC_CLIENT_KEY'] ||= '< your authic client key >'
|
65
|
+
AUTHIC_CLIENT_SECRET ||= ENV['AUTHIC_CLIENT_SECRET'] ||= '< your authic client secret >'
|
66
|
+
AUTHIC_CLIENT_SUBDOMAIN ||= ENV['AUTHIC_CLIENT_SUBDOMAIN'] ||= '< your authic subdomain >'
|
67
|
+
AUTHIC_CLIENT_FULL_URL = "https://#{AUTHIC_CLIENT_SUBDOMAIN}.authic.com"
|
68
|
+
end
|
69
|
+
|
70
|
+
Just replace the <XXXX> strings between the quotes with the values. There is no need to change any other part of this file.
|
71
|
+
|
72
|
+
Alternatively you can leave the file alone and initialize these variables with heroku style environment configuration values:
|
73
|
+
|
74
|
+
AUTHIC_CLIENT_KEY :: '< your authic client key >'
|
75
|
+
AUTHIC_CLIENT_SECRET :: '< your authic client secret >'
|
76
|
+
AUTHIC_CLIENT_SUBDOMAIN :: '< your authic subdomain >'
|
77
|
+
|
78
|
+
|
79
|
+
*NOTE:* Make sure keep the quotation marks around these values and don't include any '<' or '>'s.
|
80
|
+
|
81
|
+
*NOTE2:* For the configuration to take effect (with either style of configuration) you will need to restart your application.
|
82
|
+
|
83
|
+
==Helpful Helpers
|
84
|
+
|
85
|
+
The Authic Client gem provides the following handy helper methods which are available in both your controllers and views:
|
86
|
+
|
87
|
+
current_user :: Returns the current user logged into your app via Authic
|
88
|
+
login_required :: Returns true if there is currently a user logged into your app, and false if not
|
89
|
+
user_account_path :: This will give you the URL to the hosted user account screen in Authic. You would use it on your "edit my account" link/button
|
90
|
+
signin_path :: This path will initiate sign in with Authic. You would use it on your "login" or "signin" links/buttons
|
91
|
+
signup_path :: This path will initiate sign up with Authic. You would use it on your "signup" links/buttons
|
92
|
+
signout_path :: Redirecting to this path will log the current user out of your app as well as Authic. You would use it on your "sign out" links/buttons
|
93
|
+
|
94
|
+
==Other Useful Tidbits
|
95
|
+
|
96
|
+
Here are some other bits and pieces that might be useful while having fun using authic_client
|
97
|
+
|
98
|
+
session[:authic_return_to_this_url] :: Set this session variable before initiating signin and authic_client will punt your user to this path after the Oauth callback process is complete
|
99
|
+
|
100
|
+
== About Authic
|
101
|
+
|
102
|
+
{Authic}[https://www.authic.com] is a secure, brandable cloud authentication service that integrates into your web app in seconds leaving you to concentrate on your core business functionality.
|
103
|
+
|
104
|
+
== License
|
105
|
+
(The MIT License)
|
106
|
+
|
107
|
+
Copyright (c) 2012 Authic.com
|
108
|
+
|
109
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
110
|
+
|
111
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
112
|
+
|
113
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@@ -1,20 +1,18 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
redirect_to root_url
|
11
|
-
end
|
1
|
+
class AuthicClient::SessionsController < ApplicationController
|
2
|
+
def create
|
3
|
+
user = User.find_for_authic_oauth(request.env["omniauth.auth"], current_user)
|
4
|
+
if user.persisted?
|
5
|
+
session[:authic_user_id] = user.id
|
6
|
+
redirect_path ||= session[:authic_return_to_this_url] ||= root_url
|
7
|
+
redirect_to redirect_path, :notice => "You have been successfully signed in"
|
8
|
+
else
|
9
|
+
redirect_to root_url
|
12
10
|
end
|
11
|
+
end
|
13
12
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
end
|
13
|
+
def destroy
|
14
|
+
session[:authic_user_id] = nil
|
15
|
+
redirect_path = "#{AuthicClient::AUTHIC_CLIENT_FULL_URL}/authic_sign_out?&return_path=#{URI.escape root_url}"
|
16
|
+
redirect_to redirect_path
|
19
17
|
end
|
20
18
|
end
|
data/config/routes.rb
CHANGED
@@ -1,6 +1,4 @@
|
|
1
1
|
Rails.application.routes.draw do
|
2
|
-
|
3
|
-
|
4
|
-
match "/signout" => "sessions#destroy", :as => "signout"
|
5
|
-
end
|
2
|
+
match "/auth/authic/callback" => "authic::sessions#create"
|
3
|
+
match "/signout" => "authic::sessions#destroy", :as => "signout"
|
6
4
|
end
|
@@ -1,25 +1,25 @@
|
|
1
1
|
class AuthicCreate<%= table_name.camelize %> < ActiveRecord::Migration
|
2
2
|
def change
|
3
3
|
create_table(:<%= table_name %>) do |t|
|
4
|
-
t.string :email, :null => false, :default => ""
|
5
|
-
t.string :provider
|
6
|
-
t.string :uid
|
7
|
-
t.text :authic_data
|
4
|
+
t.string :email, :null => false, :default => "" # the email address of the user
|
5
|
+
t.string :provider # always 'authic' - to be deprecated soon
|
6
|
+
t.string :uid, :null => false # A unique identifier for the user assigned by Authic
|
7
|
+
t.text :authic_data # a JSON encoded varibles related to the user, e.g the user's facebook id
|
8
8
|
|
9
|
-
t.string :first_name
|
10
|
-
t.string :last_name
|
11
|
-
t.string :full_name
|
12
|
-
t.string :mobile
|
13
|
-
t.string :phone
|
14
|
-
t.date :birth_date
|
15
|
-
t.
|
16
|
-
t.
|
9
|
+
t.string :first_name # The first name of the user
|
10
|
+
t.string :last_name # The last name of the user
|
11
|
+
t.string :full_name # the combined first and last name of the user
|
12
|
+
t.string :mobile # the mobile (cell) phone number of the user
|
13
|
+
t.string :phone # the landline phone number of the user
|
14
|
+
t.date :birth_date # the birth date of the user
|
15
|
+
t.text :groups # which groups the user belongs to (future road map)
|
16
|
+
t.text :roles # which roles the user belongs to (future road map)
|
17
17
|
|
18
|
-
t.string :middle_name
|
19
|
-
t.string :gender
|
20
|
-
t.string :timezone
|
21
|
-
t.string :country
|
22
|
-
t.
|
18
|
+
t.string :middle_name # the middle name of the user
|
19
|
+
t.string :gender # the gender of the user
|
20
|
+
t.string :timezone # the timezone in which the user is located
|
21
|
+
t.string :country # the country in which the user is located
|
22
|
+
t.text :address # the address in which the user is located
|
23
23
|
|
24
24
|
<% attributes.each do |attribute| -%>
|
25
25
|
t.<%= attribute.type %> :<%= attribute.name %>
|
@@ -12,14 +12,14 @@ class AddAuthicTo<%= table_name.camelize %> < ActiveRecord::Migration
|
|
12
12
|
t.string :mobile unless t.column_exists?(:mobile)
|
13
13
|
t.string :phone unless t.column_exists?(:phone)
|
14
14
|
t.date :birth_date unless t.column_exists?(:birth_date)
|
15
|
-
t.
|
16
|
-
t.
|
15
|
+
t.text :groups unless t.column_exists?(:groups)
|
16
|
+
t.text :roles unless t.column_exists?(:roles)
|
17
17
|
|
18
18
|
t.string :middle_name unless t.column_exists?(:middle_name)
|
19
19
|
t.string :gender unless t.column_exists?(:gender)
|
20
20
|
t.string :timezone unless t.column_exists?(:timezone)
|
21
21
|
t.string :country unless t.column_exists?(:country)
|
22
|
-
t.
|
22
|
+
t.text :address unless t.column_exists?(:address)
|
23
23
|
|
24
24
|
t.index :email, :unique => true unless t.index_exists?(:email, :unique => true)
|
25
25
|
t.index :provider unless t.index_exists?(:provider)
|
data/test/dummy/db/schema.rb
CHANGED
@@ -11,13 +11,13 @@
|
|
11
11
|
#
|
12
12
|
# It's strongly recommended to check this file into your version control system.
|
13
13
|
|
14
|
-
ActiveRecord::Schema.define(:version =>
|
14
|
+
ActiveRecord::Schema.define(:version => 20121126114226) do
|
15
15
|
|
16
16
|
create_table "users", :force => true do |t|
|
17
17
|
t.string "email", :default => "", :null => false
|
18
18
|
t.string "provider"
|
19
19
|
t.string "uid"
|
20
|
-
t.
|
20
|
+
t.text "authic_data"
|
21
21
|
t.string "first_name"
|
22
22
|
t.string "last_name"
|
23
23
|
t.string "full_name"
|
@@ -26,6 +26,11 @@ ActiveRecord::Schema.define(:version => 20121109231104) do
|
|
26
26
|
t.date "birth_date"
|
27
27
|
t.string "groups"
|
28
28
|
t.string "roles"
|
29
|
+
t.string "middle_name"
|
30
|
+
t.string "gender"
|
31
|
+
t.string "timezone"
|
32
|
+
t.string "country"
|
33
|
+
t.string "address"
|
29
34
|
t.datetime "created_at", :null => false
|
30
35
|
t.datetime "updated_at", :null => false
|
31
36
|
end
|
@@ -4644,3 +4644,657 @@ Served asset /application.js - 304 Not Modified (0ms)
|
|
4644
4644
|
|
4645
4645
|
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-10 15:39:43 +1100
|
4646
4646
|
Served asset /jquery.js - 304 Not Modified (0ms)
|
4647
|
+
|
4648
|
+
|
4649
|
+
Started GET "/" for 127.0.0.1 at 2012-11-26 22:15:08 +1100
|
4650
|
+
Connecting to database specified by database.yml
|
4651
|
+
Processing by WelcomeController#index as HTML
|
4652
|
+
Rendered welcome/index.html.erb within layouts/application (2.9ms)
|
4653
|
+
Completed 200 OK in 158ms (Views: 157.6ms | ActiveRecord: 0.0ms)
|
4654
|
+
|
4655
|
+
|
4656
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-26 22:15:09 +1100
|
4657
|
+
Served asset /jquery.js - 200 OK (11ms)
|
4658
|
+
|
4659
|
+
|
4660
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-26 22:15:09 +1100
|
4661
|
+
Served asset /jquery_ujs.js - 200 OK (2ms)
|
4662
|
+
|
4663
|
+
|
4664
|
+
Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-11-26 22:15:09 +1100
|
4665
|
+
Served asset /welcome.css - 304 Not Modified (1ms)
|
4666
|
+
|
4667
|
+
|
4668
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-26 22:15:09 +1100
|
4669
|
+
Served asset /application.css - 304 Not Modified (2ms)
|
4670
|
+
|
4671
|
+
|
4672
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-26 22:15:09 +1100
|
4673
|
+
Served asset /application.js - 304 Not Modified (5ms)
|
4674
|
+
|
4675
|
+
|
4676
|
+
Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-11-26 22:15:09 +1100
|
4677
|
+
Served asset /welcome.js - 304 Not Modified (1ms)
|
4678
|
+
|
4679
|
+
|
4680
|
+
Started GET "/auth/authic?&authic_action=signin" for 127.0.0.1 at 2012-11-26 22:15:16 +1100
|
4681
|
+
|
4682
|
+
URI::InvalidURIError (bad URI(is not URI?): https://< your authic subdomain >.authic.com):
|
4683
|
+
/Users/ctrand/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/uri/common.rb:176:in `split'
|
4684
|
+
/Users/ctrand/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/uri/common.rb:211:in `parse'
|
4685
|
+
/Users/ctrand/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/uri/common.rb:747:in `parse'
|
4686
|
+
/Users/ctrand/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/uri/common.rb:994:in `URI'
|
4687
|
+
faraday (0.8.4) lib/faraday/connection.rb:169:in `URI'
|
4688
|
+
faraday (0.8.4) lib/faraday/connection.rb:190:in `url_prefix='
|
4689
|
+
faraday (0.8.4) lib/faraday/connection.rb:40:in `initialize'
|
4690
|
+
faraday (0.8.4) lib/faraday.rb:11:in `new'
|
4691
|
+
faraday (0.8.4) lib/faraday.rb:11:in `new'
|
4692
|
+
oauth2 (0.8.0) lib/oauth2/client.rb:51:in `connection'
|
4693
|
+
oauth2 (0.8.0) lib/oauth2/client.rb:63:in `authorize_url'
|
4694
|
+
oauth2 (0.8.0) lib/oauth2/strategy/auth_code.rb:18:in `authorize_url'
|
4695
|
+
omniauth-oauth2 (1.1.1) lib/omniauth/strategies/oauth2.rb:48:in `request_phase'
|
4696
|
+
omniauth-authic (0.0.3) lib/omniauth/strategies/authic.rb:39:in `request_phase'
|
4697
|
+
omniauth (1.1.1) lib/omniauth/strategy.rb:207:in `request_call'
|
4698
|
+
omniauth (1.1.1) lib/omniauth/strategy.rb:174:in `call!'
|
4699
|
+
omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
|
4700
|
+
omniauth (1.1.1) lib/omniauth/builder.rb:48:in `call'
|
4701
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
4702
|
+
rack (1.4.1) lib/rack/etag.rb:23:in `call'
|
4703
|
+
rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
|
4704
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
|
4705
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
4706
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
4707
|
+
rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
|
4708
|
+
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
|
4709
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
|
4710
|
+
activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
|
4711
|
+
activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
|
4712
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
4713
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__3133468120101367465__call__3729449618607849170__callbacks'
|
4714
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
|
4715
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
4716
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
4717
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
4718
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
|
4719
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
4720
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
4721
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
4722
|
+
railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
|
4723
|
+
railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
|
4724
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
4725
|
+
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
4726
|
+
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
4727
|
+
activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
4728
|
+
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
4729
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
|
4730
|
+
railties (3.2.8) lib/rails/engine.rb:479:in `call'
|
4731
|
+
railties (3.2.8) lib/rails/application.rb:223:in `call'
|
4732
|
+
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
4733
|
+
railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
|
4734
|
+
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
4735
|
+
/Users/ctrand/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
4736
|
+
/Users/ctrand/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
4737
|
+
/Users/ctrand/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
4738
|
+
|
4739
|
+
|
4740
|
+
Rendered /Users/ctrand/.rvm/gems/ruby-1.9.3-p286@authic_client/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
|
4741
|
+
Rendered /Users/ctrand/.rvm/gems/ruby-1.9.3-p286@authic_client/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.9ms)
|
4742
|
+
Rendered /Users/ctrand/.rvm/gems/ruby-1.9.3-p286@authic_client/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (23.3ms)
|
4743
|
+
|
4744
|
+
|
4745
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-26 22:16:46 +1100
|
4746
|
+
Connecting to database specified by database.yml
|
4747
|
+
Served asset /application.css - 304 Not Modified (4ms)
|
4748
|
+
|
4749
|
+
|
4750
|
+
Started GET "/" for 127.0.0.1 at 2012-11-26 22:22:59 +1100
|
4751
|
+
Connecting to database specified by database.yml
|
4752
|
+
Processing by WelcomeController#index as HTML
|
4753
|
+
Rendered welcome/index.html.erb within layouts/application (2.2ms)
|
4754
|
+
Completed 200 OK in 24ms (Views: 24.0ms | ActiveRecord: 0.0ms)
|
4755
|
+
|
4756
|
+
|
4757
|
+
Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-11-26 22:23:00 +1100
|
4758
|
+
Served asset /welcome.js - 200 OK (2ms)
|
4759
|
+
|
4760
|
+
|
4761
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-26 22:23:00 +1100
|
4762
|
+
Served asset /jquery_ujs.js - 304 Not Modified (1ms)
|
4763
|
+
|
4764
|
+
|
4765
|
+
Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-11-26 22:23:00 +1100
|
4766
|
+
Served asset /welcome.css - 200 OK (1ms)
|
4767
|
+
|
4768
|
+
|
4769
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-26 22:23:00 +1100
|
4770
|
+
Served asset /application.css - 304 Not Modified (2ms)
|
4771
|
+
|
4772
|
+
|
4773
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-26 22:23:00 +1100
|
4774
|
+
Served asset /jquery.js - 304 Not Modified (2ms)
|
4775
|
+
|
4776
|
+
|
4777
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-26 22:23:00 +1100
|
4778
|
+
Served asset /application.js - 200 OK (10ms)
|
4779
|
+
|
4780
|
+
|
4781
|
+
Started GET "/signout" for 127.0.0.1 at 2012-11-26 22:23:07 +1100
|
4782
|
+
Processing by Authic::SessionsController#destroy as HTML
|
4783
|
+
Completed 500 Internal Server Error in 1ms
|
4784
|
+
|
4785
|
+
NameError (uninitialized constant AuthicClient::AUTHIC_CLIENT_FULL_URL):
|
4786
|
+
/Users/ctrand/Documents/authic/authic_client/app/controllers/authic_client/sessions_controller.rb:15:in `destroy'
|
4787
|
+
actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
4788
|
+
actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
|
4789
|
+
actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
4790
|
+
actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
4791
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__2053617650535456064__process_action__991498349750654946__callbacks'
|
4792
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
|
4793
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
|
4794
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
4795
|
+
actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
4796
|
+
actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
4797
|
+
actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
|
4798
|
+
activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
|
4799
|
+
activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
4800
|
+
activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
|
4801
|
+
actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
4802
|
+
actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
|
4803
|
+
activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
4804
|
+
actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
|
4805
|
+
actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
|
4806
|
+
actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
|
4807
|
+
actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
4808
|
+
actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
|
4809
|
+
actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
4810
|
+
actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
4811
|
+
actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
|
4812
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
4813
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
4814
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
4815
|
+
actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
|
4816
|
+
omniauth (1.1.1) lib/omniauth/strategy.rb:177:in `call!'
|
4817
|
+
omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
|
4818
|
+
omniauth (1.1.1) lib/omniauth/builder.rb:48:in `call'
|
4819
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
4820
|
+
rack (1.4.1) lib/rack/etag.rb:23:in `call'
|
4821
|
+
rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
|
4822
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
|
4823
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
4824
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
4825
|
+
rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
|
4826
|
+
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
|
4827
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
|
4828
|
+
activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
|
4829
|
+
activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
|
4830
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
4831
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__1923356806545116847__call__3979498672599264901__callbacks'
|
4832
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
|
4833
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
4834
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
4835
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
4836
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
|
4837
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
4838
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
4839
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
4840
|
+
railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
|
4841
|
+
railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
|
4842
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
4843
|
+
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
4844
|
+
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
4845
|
+
activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
4846
|
+
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
4847
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
|
4848
|
+
railties (3.2.8) lib/rails/engine.rb:479:in `call'
|
4849
|
+
railties (3.2.8) lib/rails/application.rb:223:in `call'
|
4850
|
+
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
4851
|
+
railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
|
4852
|
+
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
4853
|
+
/Users/ctrand/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
4854
|
+
/Users/ctrand/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
4855
|
+
/Users/ctrand/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
4856
|
+
|
4857
|
+
|
4858
|
+
Rendered /Users/ctrand/.rvm/gems/ruby-1.9.3-p286@authic_client/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
|
4859
|
+
Rendered /Users/ctrand/.rvm/gems/ruby-1.9.3-p286@authic_client/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
|
4860
|
+
Rendered /Users/ctrand/.rvm/gems/ruby-1.9.3-p286@authic_client/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.0ms)
|
4861
|
+
|
4862
|
+
|
4863
|
+
Started GET "/" for 127.0.0.1 at 2012-11-26 22:24:29 +1100
|
4864
|
+
Connecting to database specified by database.yml
|
4865
|
+
Processing by WelcomeController#index as HTML
|
4866
|
+
Rendered welcome/index.html.erb within layouts/application (2.4ms)
|
4867
|
+
Completed 200 OK in 25ms (Views: 24.4ms | ActiveRecord: 0.0ms)
|
4868
|
+
|
4869
|
+
|
4870
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-26 22:24:29 +1100
|
4871
|
+
Served asset /application.css - 304 Not Modified (3ms)
|
4872
|
+
|
4873
|
+
|
4874
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-26 22:24:29 +1100
|
4875
|
+
Served asset /jquery.js - 304 Not Modified (15ms)
|
4876
|
+
|
4877
|
+
|
4878
|
+
Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-11-26 22:24:29 +1100
|
4879
|
+
Served asset /welcome.js - 304 Not Modified (1ms)
|
4880
|
+
|
4881
|
+
|
4882
|
+
Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-11-26 22:24:29 +1100
|
4883
|
+
Served asset /welcome.css - 304 Not Modified (1ms)
|
4884
|
+
|
4885
|
+
|
4886
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-26 22:24:29 +1100
|
4887
|
+
Served asset /jquery_ujs.js - 304 Not Modified (2ms)
|
4888
|
+
|
4889
|
+
|
4890
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-26 22:24:29 +1100
|
4891
|
+
Served asset /application.js - 304 Not Modified (5ms)
|
4892
|
+
|
4893
|
+
|
4894
|
+
Started GET "/signout" for 127.0.0.1 at 2012-11-26 22:24:33 +1100
|
4895
|
+
Processing by Authic::SessionsController#destroy as HTML
|
4896
|
+
Redirected to https://< your authic subdomain >.authic.com/authic_sign_out?&return_path=http://localhost:3000/
|
4897
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
4898
|
+
|
4899
|
+
|
4900
|
+
Started GET "/" for 127.0.0.1 at 2012-11-26 22:35:58 +1100
|
4901
|
+
Connecting to database specified by database.yml
|
4902
|
+
Processing by WelcomeController#index as HTML
|
4903
|
+
Rendered welcome/index.html.erb within layouts/application (2.2ms)
|
4904
|
+
Completed 200 OK in 25ms (Views: 24.5ms | ActiveRecord: 0.0ms)
|
4905
|
+
|
4906
|
+
|
4907
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-26 22:35:59 +1100
|
4908
|
+
Served asset /application.css - 304 Not Modified (2ms)
|
4909
|
+
|
4910
|
+
|
4911
|
+
Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-11-26 22:35:59 +1100
|
4912
|
+
Served asset /welcome.css - 304 Not Modified (8ms)
|
4913
|
+
|
4914
|
+
|
4915
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-26 22:35:59 +1100
|
4916
|
+
Served asset /jquery_ujs.js - 304 Not Modified (2ms)
|
4917
|
+
|
4918
|
+
|
4919
|
+
Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-11-26 22:35:59 +1100
|
4920
|
+
Served asset /welcome.js - 304 Not Modified (1ms)
|
4921
|
+
|
4922
|
+
|
4923
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-26 22:35:59 +1100
|
4924
|
+
Served asset /application.js - 304 Not Modified (4ms)
|
4925
|
+
|
4926
|
+
|
4927
|
+
Started GET "/auth/authic?&authic_action=signin" for 127.0.0.1 at 2012-11-26 22:36:04 +1100
|
4928
|
+
|
4929
|
+
URI::InvalidURIError (the scheme https does not accept registry part: authic_client.authic.com (or bad hostname?)):
|
4930
|
+
/Users/ctrand/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/uri/generic.rb:213:in `initialize'
|
4931
|
+
/Users/ctrand/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/uri/http.rb:84:in `initialize'
|
4932
|
+
/Users/ctrand/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/uri/common.rb:214:in `new'
|
4933
|
+
/Users/ctrand/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/uri/common.rb:214:in `parse'
|
4934
|
+
/Users/ctrand/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/uri/common.rb:747:in `parse'
|
4935
|
+
/Users/ctrand/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/uri/common.rb:994:in `URI'
|
4936
|
+
faraday (0.8.4) lib/faraday/connection.rb:169:in `URI'
|
4937
|
+
faraday (0.8.4) lib/faraday/connection.rb:190:in `url_prefix='
|
4938
|
+
faraday (0.8.4) lib/faraday/connection.rb:40:in `initialize'
|
4939
|
+
faraday (0.8.4) lib/faraday.rb:11:in `new'
|
4940
|
+
faraday (0.8.4) lib/faraday.rb:11:in `new'
|
4941
|
+
oauth2 (0.8.0) lib/oauth2/client.rb:51:in `connection'
|
4942
|
+
oauth2 (0.8.0) lib/oauth2/client.rb:63:in `authorize_url'
|
4943
|
+
oauth2 (0.8.0) lib/oauth2/strategy/auth_code.rb:18:in `authorize_url'
|
4944
|
+
omniauth-oauth2 (1.1.1) lib/omniauth/strategies/oauth2.rb:48:in `request_phase'
|
4945
|
+
omniauth-authic (0.0.3) lib/omniauth/strategies/authic.rb:39:in `request_phase'
|
4946
|
+
omniauth (1.1.1) lib/omniauth/strategy.rb:207:in `request_call'
|
4947
|
+
omniauth (1.1.1) lib/omniauth/strategy.rb:174:in `call!'
|
4948
|
+
omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
|
4949
|
+
omniauth (1.1.1) lib/omniauth/builder.rb:48:in `call'
|
4950
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
4951
|
+
rack (1.4.1) lib/rack/etag.rb:23:in `call'
|
4952
|
+
rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
|
4953
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
|
4954
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
4955
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
4956
|
+
rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
|
4957
|
+
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
|
4958
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
|
4959
|
+
activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
|
4960
|
+
activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
|
4961
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
4962
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__2041123023966745082__call__987159925672436038__callbacks'
|
4963
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
|
4964
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
4965
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
4966
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
4967
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
|
4968
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
4969
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
4970
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
4971
|
+
railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
|
4972
|
+
railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
|
4973
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
4974
|
+
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
4975
|
+
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
4976
|
+
activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
4977
|
+
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
4978
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
|
4979
|
+
railties (3.2.8) lib/rails/engine.rb:479:in `call'
|
4980
|
+
railties (3.2.8) lib/rails/application.rb:223:in `call'
|
4981
|
+
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
4982
|
+
railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
|
4983
|
+
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
4984
|
+
/Users/ctrand/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
4985
|
+
/Users/ctrand/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
4986
|
+
/Users/ctrand/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
4987
|
+
|
4988
|
+
|
4989
|
+
Rendered /Users/ctrand/.rvm/gems/ruby-1.9.3-p286@authic_client/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
|
4990
|
+
Rendered /Users/ctrand/.rvm/gems/ruby-1.9.3-p286@authic_client/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
|
4991
|
+
Rendered /Users/ctrand/.rvm/gems/ruby-1.9.3-p286@authic_client/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.9ms)
|
4992
|
+
|
4993
|
+
|
4994
|
+
Started GET "/" for 127.0.0.1 at 2012-11-26 22:37:16 +1100
|
4995
|
+
Connecting to database specified by database.yml
|
4996
|
+
Processing by WelcomeController#index as HTML
|
4997
|
+
Rendered welcome/index.html.erb within layouts/application (2.1ms)
|
4998
|
+
Completed 200 OK in 48ms (Views: 47.6ms | ActiveRecord: 0.0ms)
|
4999
|
+
|
5000
|
+
|
5001
|
+
Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-11-26 22:37:16 +1100
|
5002
|
+
Served asset /welcome.css - 304 Not Modified (1ms)
|
5003
|
+
|
5004
|
+
|
5005
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-26 22:37:16 +1100
|
5006
|
+
Served asset /application.css - 304 Not Modified (2ms)
|
5007
|
+
|
5008
|
+
|
5009
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-26 22:37:16 +1100
|
5010
|
+
Served asset /jquery.js - 304 Not Modified (8ms)
|
5011
|
+
|
5012
|
+
|
5013
|
+
Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-11-26 22:37:16 +1100
|
5014
|
+
Served asset /welcome.js - 304 Not Modified (1ms)
|
5015
|
+
|
5016
|
+
|
5017
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-26 22:37:16 +1100
|
5018
|
+
Served asset /jquery_ujs.js - 304 Not Modified (1ms)
|
5019
|
+
|
5020
|
+
|
5021
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-26 22:37:16 +1100
|
5022
|
+
Served asset /application.js - 304 Not Modified (5ms)
|
5023
|
+
|
5024
|
+
|
5025
|
+
Started GET "/auth/authic?&authic_action=signin" for 127.0.0.1 at 2012-11-26 22:37:18 +1100
|
5026
|
+
|
5027
|
+
|
5028
|
+
Started GET "/auth/authic/callback?code=0I3TQo0t9ON9QALZODye&state=28186cb063902a27c6814ed7abc867129f658e4eb0ad8588" for 127.0.0.1 at 2012-11-26 22:38:00 +1100
|
5029
|
+
Processing by Authic::SessionsController#create as HTML
|
5030
|
+
Parameters: {"code"=>"0I3TQo0t9ON9QALZODye", "state"=>"28186cb063902a27c6814ed7abc867129f658e4eb0ad8588"}
|
5031
|
+
Completed 500 Internal Server Error in 2ms
|
5032
|
+
|
5033
|
+
NameError (uninitialized constant AuthicClient::SessionsController::User):
|
5034
|
+
/Users/ctrand/Documents/authic/authic_client/app/controllers/authic_client/sessions_controller.rb:3:in `create'
|
5035
|
+
actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
5036
|
+
actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
|
5037
|
+
actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
5038
|
+
actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
5039
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__2788807014101998372__process_action__2822403393829031604__callbacks'
|
5040
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
|
5041
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
|
5042
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
5043
|
+
actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
5044
|
+
actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
5045
|
+
actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
|
5046
|
+
activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
|
5047
|
+
activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
5048
|
+
activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
|
5049
|
+
actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
5050
|
+
actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
|
5051
|
+
activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
5052
|
+
actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
|
5053
|
+
actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
|
5054
|
+
actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
|
5055
|
+
actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
5056
|
+
actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
|
5057
|
+
actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
5058
|
+
actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
5059
|
+
actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
|
5060
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
5061
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
5062
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
5063
|
+
actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
|
5064
|
+
omniauth (1.1.1) lib/omniauth/strategy.rb:394:in `call_app!'
|
5065
|
+
omniauth (1.1.1) lib/omniauth/strategy.rb:356:in `callback_phase'
|
5066
|
+
omniauth-oauth2 (1.1.1) lib/omniauth/strategies/oauth2.rb:77:in `callback_phase'
|
5067
|
+
omniauth (1.1.1) lib/omniauth/strategy.rb:219:in `callback_call'
|
5068
|
+
omniauth (1.1.1) lib/omniauth/strategy.rb:175:in `call!'
|
5069
|
+
omniauth (1.1.1) lib/omniauth/strategy.rb:157:in `call'
|
5070
|
+
omniauth (1.1.1) lib/omniauth/builder.rb:48:in `call'
|
5071
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
5072
|
+
rack (1.4.1) lib/rack/etag.rb:23:in `call'
|
5073
|
+
rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
|
5074
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
|
5075
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
5076
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
5077
|
+
rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
|
5078
|
+
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
|
5079
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
|
5080
|
+
activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
|
5081
|
+
activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
|
5082
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
5083
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__2033189732076866472__call__3897844254322615129__callbacks'
|
5084
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
|
5085
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
5086
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
5087
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
5088
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
|
5089
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
5090
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
5091
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
5092
|
+
railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
|
5093
|
+
railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
|
5094
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
5095
|
+
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
5096
|
+
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
5097
|
+
activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
5098
|
+
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
5099
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
|
5100
|
+
railties (3.2.8) lib/rails/engine.rb:479:in `call'
|
5101
|
+
railties (3.2.8) lib/rails/application.rb:223:in `call'
|
5102
|
+
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
5103
|
+
railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
|
5104
|
+
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
5105
|
+
/Users/ctrand/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
5106
|
+
/Users/ctrand/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
5107
|
+
/Users/ctrand/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
5108
|
+
|
5109
|
+
|
5110
|
+
Rendered /Users/ctrand/.rvm/gems/ruby-1.9.3-p286@authic_client/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
|
5111
|
+
Rendered /Users/ctrand/.rvm/gems/ruby-1.9.3-p286@authic_client/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
|
5112
|
+
Rendered /Users/ctrand/.rvm/gems/ruby-1.9.3-p286@authic_client/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.9ms)
|
5113
|
+
Connecting to database specified by database.yml
|
5114
|
+
Connecting to database specified by database.yml
|
5115
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
5116
|
+
[1m[35m (2.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
5117
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
5118
|
+
[1m[35m (2.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
5119
|
+
[1m[36m (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
5120
|
+
Migrating to AuthicCreateUsers (20121126114226)
|
5121
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5122
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "provider" varchar(255), "uid" varchar(255), "authic_data" text, "first_name" varchar(255), "last_name" varchar(255), "full_name" varchar(255), "mobile" varchar(255), "phone" varchar(255), "birth_date" date, "groups" varchar(255), "roles" varchar(255), "middle_name" varchar(255), "gender" varchar(255), "timezone" varchar(255), "country" varchar(255), "address" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
5123
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
5124
|
+
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
5125
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
5126
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
5127
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_users_on_provider" ON "users" ("provider")
|
5128
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
5129
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_provider')
|
5130
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
5131
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_users_on_uid" ON "users" ("uid")
|
5132
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20121126114226')[0m
|
5133
|
+
[1m[35m (1.9ms)[0m commit transaction
|
5134
|
+
[1m[36m (0.4ms)[0m [1mselect sqlite_version(*)[0m
|
5135
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
5136
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
5137
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_uid')
|
5138
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_provider')[0m
|
5139
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
5140
|
+
|
5141
|
+
|
5142
|
+
Started GET "/auth/authic/callback?code=0I3TQo0t9ON9QALZODye&state=28186cb063902a27c6814ed7abc867129f658e4eb0ad8588" for 127.0.0.1 at 2012-11-26 22:43:08 +1100
|
5143
|
+
Connecting to database specified by database.yml
|
5144
|
+
Processing by Authic::SessionsController#create as HTML
|
5145
|
+
Parameters: {"code"=>"0I3TQo0t9ON9QALZODye", "state"=>"28186cb063902a27c6814ed7abc867129f658e4eb0ad8588"}
|
5146
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in AuthicUserMixin instead. (called from include at /Users/ctrand/Documents/authic/authic_client/test/dummy/app/models/user.rb:2)
|
5147
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."provider" = 'authic' AND "users"."uid" = '1' LIMIT 1[0m
|
5148
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5149
|
+
[1m[36mSQL (75.9ms)[0m [1mINSERT INTO "users" ("address", "authic_data", "birth_date", "country", "created_at", "email", "first_name", "full_name", "gender", "groups", "last_name", "middle_name", "mobile", "phone", "provider", "roles", "timezone", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["address", nil], ["authic_data", "{\"id\":\"1\",\"email\":\"authic_client@authic.com\",\"first_name\":null,\"last_name\":null,\"full_name\":null,\"birth_date\":null,\"mobile\":null,\"phone\":null,\"middle_name\":null,\"gender\":null,\"timezone\":null,\"country\":null,\"address\":null,\"groups\":[\"users\"],\"roles\":null,\"new_user\":true,\"current_login_provider_token\":{\"provider\":\"authic\",\"uid\":1,\"token\":\"ptCtS1uLy9fBjKdpKVRA0cq2gwkhsdAAmDPVhxrs\"},\"provider_tokens\":{\"authic\":{\"token\":\"ptCtS1uLy9fBjKdpKVRA0cq2gwkhsdAAmDPVhxrs\",\"uid\":1}}}"], ["birth_date", nil], ["country", nil], ["created_at", Mon, 26 Nov 2012 11:43:12 UTC +00:00], ["email", "authic_client@authic.com"], ["first_name", nil], ["full_name", nil], ["gender", nil], ["groups", "users"], ["last_name", nil], ["middle_name", nil], ["mobile", nil], ["phone", nil], ["provider", "authic"], ["roles", nil], ["timezone", nil], ["uid", "1"], ["updated_at", Mon, 26 Nov 2012 11:43:12 UTC +00:00]]
|
5150
|
+
[1m[35m (2.0ms)[0m commit transaction
|
5151
|
+
Redirected to http://localhost:3000/
|
5152
|
+
Completed 302 Found in 172ms (ActiveRecord: 79.9ms)
|
5153
|
+
|
5154
|
+
|
5155
|
+
Started GET "/" for 127.0.0.1 at 2012-11-26 22:43:12 +1100
|
5156
|
+
Processing by WelcomeController#index as HTML
|
5157
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
5158
|
+
Rendered welcome/index.html.erb within layouts/application (4.4ms)
|
5159
|
+
Completed 200 OK in 28ms (Views: 27.2ms | ActiveRecord: 0.3ms)
|
5160
|
+
|
5161
|
+
|
5162
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-26 22:43:12 +1100
|
5163
|
+
Served asset /jquery_ujs.js - 304 Not Modified (2ms)
|
5164
|
+
|
5165
|
+
|
5166
|
+
Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-11-26 22:43:12 +1100
|
5167
|
+
Served asset /welcome.js - 304 Not Modified (1ms)
|
5168
|
+
|
5169
|
+
|
5170
|
+
Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-11-26 22:43:12 +1100
|
5171
|
+
Served asset /welcome.css - 304 Not Modified (1ms)
|
5172
|
+
|
5173
|
+
|
5174
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-26 22:43:12 +1100
|
5175
|
+
Served asset /jquery.js - 304 Not Modified (2ms)
|
5176
|
+
|
5177
|
+
|
5178
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-26 22:43:12 +1100
|
5179
|
+
Served asset /application.css - 304 Not Modified (3ms)
|
5180
|
+
|
5181
|
+
|
5182
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-26 22:43:12 +1100
|
5183
|
+
Served asset /application.js - 304 Not Modified (5ms)
|
5184
|
+
|
5185
|
+
|
5186
|
+
Started GET "/signout" for 127.0.0.1 at 2012-11-26 22:43:16 +1100
|
5187
|
+
Processing by Authic::SessionsController#destroy as HTML
|
5188
|
+
Redirected to https://authicclient.authic.com/authic_sign_out?&return_path=http://localhost:3000/
|
5189
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
5190
|
+
|
5191
|
+
|
5192
|
+
Started GET "/" for 127.0.0.1 at 2012-11-26 22:43:18 +1100
|
5193
|
+
Processing by WelcomeController#index as HTML
|
5194
|
+
Rendered welcome/index.html.erb within layouts/application (0.1ms)
|
5195
|
+
Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms)
|
5196
|
+
|
5197
|
+
|
5198
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-26 22:43:18 +1100
|
5199
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
5200
|
+
|
5201
|
+
|
5202
|
+
Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-11-26 22:43:18 +1100
|
5203
|
+
Served asset /welcome.css - 304 Not Modified (0ms)
|
5204
|
+
|
5205
|
+
|
5206
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-26 22:43:18 +1100
|
5207
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
5208
|
+
|
5209
|
+
|
5210
|
+
Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-11-26 22:43:18 +1100
|
5211
|
+
Served asset /welcome.js - 304 Not Modified (0ms)
|
5212
|
+
|
5213
|
+
|
5214
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-26 22:43:18 +1100
|
5215
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
5216
|
+
|
5217
|
+
|
5218
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-26 22:43:18 +1100
|
5219
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
5220
|
+
|
5221
|
+
|
5222
|
+
Started GET "/auth/authic?&authic_action=signin" for 127.0.0.1 at 2012-11-26 22:43:21 +1100
|
5223
|
+
|
5224
|
+
|
5225
|
+
Started GET "/auth/authic/callback?code=n3GIWH9vJElZU6msZ34r&state=27133a25e1f006b7319b149414330aab1176498f229e8347" for 127.0.0.1 at 2012-11-26 22:43:34 +1100
|
5226
|
+
Processing by Authic::SessionsController#create as HTML
|
5227
|
+
Parameters: {"code"=>"n3GIWH9vJElZU6msZ34r", "state"=>"27133a25e1f006b7319b149414330aab1176498f229e8347"}
|
5228
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."provider" = 'authic' AND "users"."uid" = '1' LIMIT 1
|
5229
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5230
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "authic_data" = '{"id":"1","email":"authic_client@authic.com","first_name":null,"last_name":null,"full_name":null,"birth_date":null,"mobile":null,"phone":null,"middle_name":null,"gender":null,"timezone":null,"country":null,"address":null,"groups":["users"],"roles":null,"new_user":false,"current_login_provider_token":{"provider":"authic","uid":1,"token":"j0noLGkETB9Ra30AtTGMJhZsKfykdgtTjc9q5Rb5"},"provider_tokens":{"authic":{"token":"j0noLGkETB9Ra30AtTGMJhZsKfykdgtTjc9q5Rb5","uid":1}}}', "updated_at" = '2012-11-26 11:43:37.031660' WHERE "users"."id" = 1
|
5231
|
+
[1m[36m (2.5ms)[0m [1mcommit transaction[0m
|
5232
|
+
Redirected to http://localhost:3000/
|
5233
|
+
Completed 302 Found in 7ms (ActiveRecord: 3.1ms)
|
5234
|
+
|
5235
|
+
|
5236
|
+
Started GET "/" for 127.0.0.1 at 2012-11-26 22:43:37 +1100
|
5237
|
+
Processing by WelcomeController#index as HTML
|
5238
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
5239
|
+
Rendered welcome/index.html.erb within layouts/application (1.6ms)
|
5240
|
+
Completed 200 OK in 6ms (Views: 6.0ms | ActiveRecord: 0.1ms)
|
5241
|
+
|
5242
|
+
|
5243
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-26 22:43:37 +1100
|
5244
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
5245
|
+
|
5246
|
+
|
5247
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-26 22:43:37 +1100
|
5248
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
5249
|
+
|
5250
|
+
|
5251
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-26 22:43:37 +1100
|
5252
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
5253
|
+
|
5254
|
+
|
5255
|
+
Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-11-26 22:43:37 +1100
|
5256
|
+
Served asset /welcome.js - 304 Not Modified (0ms)
|
5257
|
+
|
5258
|
+
|
5259
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-26 22:43:37 +1100
|
5260
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
5261
|
+
|
5262
|
+
|
5263
|
+
Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-11-26 22:43:37 +1100
|
5264
|
+
Served asset /welcome.css - 304 Not Modified (0ms)
|
5265
|
+
|
5266
|
+
|
5267
|
+
Started GET "/signout" for 127.0.0.1 at 2012-11-26 22:43:44 +1100
|
5268
|
+
Processing by Authic::SessionsController#destroy as HTML
|
5269
|
+
Redirected to https://authicclient.authic.com/authic_sign_out?&return_path=http://localhost:3000/
|
5270
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
5271
|
+
|
5272
|
+
|
5273
|
+
Started GET "/" for 127.0.0.1 at 2012-11-26 22:43:45 +1100
|
5274
|
+
Processing by WelcomeController#index as HTML
|
5275
|
+
Rendered welcome/index.html.erb within layouts/application (0.2ms)
|
5276
|
+
Completed 200 OK in 9ms (Views: 7.9ms | ActiveRecord: 0.0ms)
|
5277
|
+
|
5278
|
+
|
5279
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-11-26 22:43:45 +1100
|
5280
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
5281
|
+
|
5282
|
+
|
5283
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-26 22:43:45 +1100
|
5284
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
5285
|
+
|
5286
|
+
|
5287
|
+
Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-11-26 22:43:45 +1100
|
5288
|
+
Served asset /welcome.js - 304 Not Modified (0ms)
|
5289
|
+
|
5290
|
+
|
5291
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-26 22:43:45 +1100
|
5292
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
5293
|
+
|
5294
|
+
|
5295
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-26 22:43:45 +1100
|
5296
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
5297
|
+
|
5298
|
+
|
5299
|
+
Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-11-26 22:43:45 +1100
|
5300
|
+
Served asset /welcome.css - 304 Not Modified (0ms)
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: authic_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.9
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- authic
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2012-11-
|
13
|
+
date: 2012-11-26 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
@@ -55,7 +55,6 @@ extensions: []
|
|
55
55
|
extra_rdoc_files: []
|
56
56
|
|
57
57
|
files:
|
58
|
-
- app/controllers/authic_client/application_controller.rb
|
59
58
|
- app/controllers/authic_client/sessions_controller.rb
|
60
59
|
- app/helpers/authic_client/application_helper.rb
|
61
60
|
- app/models/authic_user_mixin.rb
|
@@ -70,6 +69,7 @@ files:
|
|
70
69
|
- lib/generators/authic/orm_helpers.rb
|
71
70
|
- lib/generators/templates/authic.rb
|
72
71
|
- lib/generators/templates/omniauth.rb
|
72
|
+
- lib/generators/templates/sessions_controller.rb
|
73
73
|
- lib/tasks/authic_client_tasks.rake
|
74
74
|
- MIT-LICENSE
|
75
75
|
- Rakefile
|
@@ -92,11 +92,9 @@ files:
|
|
92
92
|
- test/dummy/config/environments/development.rb
|
93
93
|
- test/dummy/config/environments/production.rb
|
94
94
|
- test/dummy/config/environments/test.rb
|
95
|
-
- test/dummy/config/initializers/authic.rb
|
96
95
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
97
96
|
- test/dummy/config/initializers/inflections.rb
|
98
97
|
- test/dummy/config/initializers/mime_types.rb
|
99
|
-
- test/dummy/config/initializers/omniauth.rb
|
100
98
|
- test/dummy/config/initializers/secret_token.rb
|
101
99
|
- test/dummy/config/initializers/session_store.rb
|
102
100
|
- test/dummy/config/initializers/wrap_parameters.rb
|
@@ -153,7 +151,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
153
151
|
requirements:
|
154
152
|
- - ">="
|
155
153
|
- !ruby/object:Gem::Version
|
156
|
-
hash:
|
154
|
+
hash: -3128761457647498171
|
157
155
|
segments:
|
158
156
|
- 0
|
159
157
|
version: "0"
|
@@ -162,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
162
160
|
requirements:
|
163
161
|
- - ">="
|
164
162
|
- !ruby/object:Gem::Version
|
165
|
-
hash:
|
163
|
+
hash: -3128761457647498171
|
166
164
|
segments:
|
167
165
|
- 0
|
168
166
|
version: "0"
|
@@ -192,11 +190,9 @@ test_files:
|
|
192
190
|
- test/dummy/config/environments/development.rb
|
193
191
|
- test/dummy/config/environments/production.rb
|
194
192
|
- test/dummy/config/environments/test.rb
|
195
|
-
- test/dummy/config/initializers/authic.rb
|
196
193
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
197
194
|
- test/dummy/config/initializers/inflections.rb
|
198
195
|
- test/dummy/config/initializers/mime_types.rb
|
199
|
-
- test/dummy/config/initializers/omniauth.rb
|
200
196
|
- test/dummy/config/initializers/secret_token.rb
|
201
197
|
- test/dummy/config/initializers/session_store.rb
|
202
198
|
- test/dummy/config/initializers/wrap_parameters.rb
|
@@ -1,6 +0,0 @@
|
|
1
|
-
module AuthicClient
|
2
|
-
# Authic config
|
3
|
-
AUTHIC_CLIENT_KEY ||= ENV['AUTHIC_CLIENT_KEY'] ||= '< your authic client key >'
|
4
|
-
AUTHIC_CLIENT_SECRET ||= ENV['AUTHIC_CLIENT_SECRET'] ||= '< your authic client secret >'
|
5
|
-
AUTHIC_CLIENT_SUBDOMAIN ||= ENV['AUTHIC_CLIENT_SUBDOMAIN'] ||= '< your authic subdomain >'
|
6
|
-
end
|