From bec70cf99ae16f8af8c7507f0ce55275aea2ad24 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 15 Oct 2005 20:43:52 +0000 Subject: Austin Ziegler made Text::Simple available to Rails/ActionMailer under a MIT-like licens [See rails ML, subject "Text::Format Licence Exception" on Oct 15, 2005] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2626 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- .../lib/action_mailer/vendor/text/format.rb | 47 +++++++++++++++------- 1 file changed, 33 insertions(+), 14 deletions(-) (limited to 'actionmailer/lib') diff --git a/actionmailer/lib/action_mailer/vendor/text/format.rb b/actionmailer/lib/action_mailer/vendor/text/format.rb index 591c69cf91..de054db83e 100755 --- a/actionmailer/lib/action_mailer/vendor/text/format.rb +++ b/actionmailer/lib/action_mailer/vendor/text/format.rb @@ -47,20 +47,39 @@ #++ module Text #:nodoc: - # = Introduction - # - # Text::Format provides the ability to nicely format fixed-width text with - # knowledge of the writeable space (number of columns), margins, and - # indentation settings. - # - # Copyright:: Copyright (c) 2002 - 2003 by Austin Ziegler - # Version:: 0.63 - # Based On:: Perl - # Text::Format[http://search.cpan.org/author/GABOR/Text-Format0.52/lib/Text/Format.pm], - # Copyright (c) 1998 Gábor Egressy - # Licence:: Ruby's, Perl Artistic, or GPL version 2 (or later) - # - class Format + # Text::Format for Ruby is copyright 2002 - 2005 by Austin Ziegler. It + # is available under Ruby's licence, the Perl Artistic licence, or the + # GNU GPL version 2 (or at your option, any later version). As a + # special exception, for use with official Rails (provided by the + # rubyonrails.org development team) and any project created with + # official Rails, the following alternative MIT-style licence may be + # used: + # + # == Text::Format Licence for Rails and Rails Applications + # Permission is hereby granted, free of charge, to any person + # obtaining a copy of this software and associated documentation files + # (the "Software"), to deal in the Software without restriction, + # including without limitation the rights to use, copy, modify, merge, + # publish, distribute, sublicense, and/or sell copies of the Software, + # and to permit persons to whom the Software is furnished to do so, + # subject to the following conditions: + # + # * The names of its contributors may not be used to endorse or + # promote products derived from this software without specific prior + # written permission. + # + # The above copyright notice and this permission notice shall be + # included in all copies or substantial portions of the Software. + # + # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + # BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + # ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + # SOFTWARE. + class Format VERSION = '0.63' # Local abbreviations. More can be added with Text::Format.abbreviations -- cgit v1.2.3