lib/rails/session_cookie.rb in rails-session_cookie-0.1.0 vs lib/rails/session_cookie.rb in rails-session_cookie-0.2.0
- old
+ new
@@ -1,8 +1,11 @@
require 'rails/session_cookie/app'
+require 'rails/session_cookie/warden_app' if defined? Warden
require 'rails/session_cookie/version'
module Rails
# :nodoc:
module SessionCookie
+ NoRailsApplication = Class.new(StandardError)
+ RACK_SESSION = 'rack.session'.freeze # upstream constant name is changing
end
end