myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [3449] trunk: switched to open_id_authentication


From: noreply
Subject: [myexperiment-hackers] [3449] trunk: switched to open_id_authentication gem instead of the plugin
Date: Mon, 25 Feb 2013 13:34:07 +0000 (UTC)

Revision
3449
Author
dgc
Date
2013-02-25 13:34:06 +0000 (Mon, 25 Feb 2013)

Log Message

switched to open_id_authentication gem instead of the plugin

Modified Paths

Added Paths

Removed Paths

Diff

Modified: trunk/Gemfile (3448 => 3449)


--- trunk/Gemfile	2013-02-25 13:02:32 UTC (rev 3448)
+++ trunk/Gemfile	2013-02-25 13:34:06 UTC (rev 3449)
@@ -27,4 +27,5 @@
 gem "sunspot_solr", "~> 1.3.3"
 gem "will_paginate", "~> 2.3.16"
 gem "ruby-debug"
+gem "open_id_authentication", "~> 1.1.0"
 

Modified: trunk/app/controllers/sessions_controller.rb (3448 => 3449)


--- trunk/app/controllers/sessions_controller.rb	2013-02-25 13:02:32 UTC (rev 3448)
+++ trunk/app/controllers/sessions_controller.rb	2013-02-25 13:34:06 UTC (rev 3449)
@@ -4,6 +4,7 @@
 # See license.txt for details.
 
 require 'uri'
+require 'open_id_authentication'
 require 'openid'
 require 'openid/extensions/sreg'
 require 'openid/store/filesystem'

Modified: trunk/config/environment.rb (3448 => 3449)


--- trunk/config/environment.rb	2013-02-25 13:02:32 UTC (rev 3448)
+++ trunk/config/environment.rb	2013-02-25 13:34:06 UTC (rev 3449)
@@ -38,7 +38,6 @@
     :headliner,
     :oauth,
     :oauth_plugin,
-    :open_id_authentication,
     :simile_timeline,
     :validates_email_veracity_of,
     :versioning

Added: trunk/config/initializers/open_id_authentication.rb (0 => 3449)


--- trunk/config/initializers/open_id_authentication.rb	                        (rev 0)
+++ trunk/config/initializers/open_id_authentication.rb	2013-02-25 13:34:06 UTC (rev 3449)
@@ -0,0 +1,2 @@
+require 'open_id_authentication'
+ActionController::Base.send :include, OpenIdAuthentication::ControllerMethods

reply via email to

[Prev in Thread] Current Thread [Next in Thread]