Commits

Mahlon Smith committed bdb0987

Restore access to request parameters from the authentication plugin.

Comments (0)

Files changed (4)

 hoe-deveiate -v0.2.0
 inversion -v0.12.3
 loggability -v0.6.1
-sequel -v3.44.0
 mongrel2 -v0.40.0
 pluggability -v0.3.0
 simplecov -v0.7.1
 	log_as :strelka
 
 	# Library version constant
-	VERSION = '0.7.0'
+	VERSION = '0.7.1'
 
 	# Version-control revision constant
 	REVISION = %q$Revision$

lib/strelka/app/auth.rb

 
 	# Plugins API -- Set up load order
 	run_outside :routing, :restresources
-	run_inside  :templating, :errors, :sessions
+	run_inside  :templating, :errors, :sessions, :parameters
 
 
 	# The name of the default plugin to use for authentication

spec/strelka/session/default_spec.rb

 
 		session.save( response )
 
-		expect( described_class.sessions ).to eq( { session_id => session_data } )
+		expect( described_class.sessions ).to include( { session_id => session_data } )
 		expect( response.header_data ).to match( /Set-Cookie: #{@cookie_name}=#{session_id}/i )
 	end