Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Renamed Multi- to Base-

  • Loading branch information...
commit 132aba37795f4fe910515cc355729c5b4b08cff0 1 parent 635312e
Justin Knowlden authored
View
4 lib/sso_what.rb
@@ -1,2 +1,2 @@
-require 'thumblemonks/multi_domain_session'
-require 'thumblemonks/multi_domain_cookie'
+require 'thumblemonks/base_domain_session'
+require 'thumblemonks/base_domain_cookie'
View
4 lib/thumblemonks/multi_domain_cookie.rb → lib/thumblemonks/base_domain_cookie.rb
@@ -1,6 +1,6 @@
module ThumbleMonks
module SsoWhat
- module MultiDomainCookie
+ module BaseDomainCookie
def self.included(klass)
klass.alias_method_chain :set_cookie, :domain_override
end
@@ -24,4 +24,4 @@ def host_has_no_tld?(host)
end # SsoWhat
end # ThumbleMonks
-Rack::Response.instance_eval { include ThumbleMonks::SsoWhat::MultiDomainCookie }
+Rack::Response.instance_eval { include ThumbleMonks::SsoWhat::BaseDomainCookie }
View
4 lib/thumblemonks/multi_domain_session.rb → lib/thumblemonks/base_domain_session.rb
@@ -1,6 +1,6 @@
module Centro
module SsoWhat
- module MultiDomainSession
+ module BaseDomainSession
def self.included(klass)
klass.alias_method_chain :call, :domain_override
end
@@ -16,4 +16,4 @@ def call_with_domain_override(env)
end # AbstractStore
end # Centro
-ActionController::Session::AbstractStore.instance_eval { include Centro::SsoWhat::MultiDomainSession }
+ActionController::Session::AbstractStore.instance_eval { include Centro::SsoWhat::BaseDomainSession }
View
2  test/multi_domain_cookie_test.rb → test/base_domain_cookie_test.rb
@@ -1,6 +1,6 @@
require File.join(File.dirname(__FILE__), 'test_helper')
-class MultiDomainCookieTest < Test::Unit::TestCase
+class BaseDomainCookieTest < Test::Unit::TestCase
def setup
# @response = OpenStruct.new(:headers => { "Set-Cookie" => [] })
# @controller = OpenStruct.new(:request => @request, :response => @response)
View
2  test/multi_domain_session_test.rb → test/base_domain_session_test.rb
@@ -1,6 +1,6 @@
require File.join(File.dirname(__FILE__), 'test_helper')
-class MultiDomainSessionTest < Test::Unit::TestCase
+class BaseDomainSessionTest < Test::Unit::TestCase
# Macros
def self.store_with_multi_domain(multi_domain_option, &block)
Please sign in to comment.
Something went wrong with that request. Please try again.