README.rdoc in rubycas-client-2.1.0 vs README.rdoc in rubycas-client-2.2.0

- old
+ new

@@ -1,13 +1,14 @@ = RubyCAS-Client Author:: Matt Zukowski <matt AT roughest DOT net>; inspired by code by Ola Bini <ola.bini AT ki DOT se> and Matt Walker <mwalker AT tamu DOT edu> -Copyright:: (c) 2008 Urbacon Ltd. -License:: GNU Lesser General Public License v2.1 (LGPL 2.1) -Websites:: http://code.google.com/p/rubycas-client - http://github.com/gunark/rubycas-client - http://rubyforge.org/projects/rubycas-client +Copyright:: Portions contributed by Matt Zukowski are copyright (c) 2009 Urbacon Ltd. + Other portions are copyright of their respective authors. +License:: MIT License +Websites:: http://github.com/gunark/rubycas-client + http://code.google.com/p/rubycas-client + http://rubyforge.org/projects/rubycas-client === RubyCAS-Client is a Ruby client library for Yale's Central Authentication Service (CAS) protocol. @@ -301,22 +302,21 @@ sudo apt-get install libopenssl-ruby For other platforms you'll have to figure it out yourself. +== Testing +In some cases, especially those using Cucumber or other tools that simply can't work with +CAS, it may be necessary to work around CAS instead. -== License +In your test or Cucumber step definition, simply fake out CAS. -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU Lesser General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. + CASClient::Frameworks::Rails::Filter.fake("homer") -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. +This functionality was present in the original version of this plugin. +The value of the username is stored in session[:cas_user] (or the user specified field) and session[:casfilteruser] for backwards-compatibility. -You should have received a copy of the GNU Lesser General Public License -along with this program (see the file called LICENSE); if not, write to the -Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +== License + +RubyCAS-Client is licensed for use under the terms of the MIT License. +See the LICENSE.txt file bundled with the official RubyCAS-Client distribution for details.