Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11]) by www.NetBSD.org (Postfix) with ESMTP id 6E55F63BC83 for ; Fri, 10 Sep 2010 14:34:53 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 0) id 35E9263B100; Fri, 10 Sep 2010 14:34:52 +0000 (UTC) Received: from nef.pbox.org (nef.pbox.org [IPv6:2001:7a8:202:1::1:1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mail.netbsd.org (Postfix) with ESMTPS id 1D5FC63B102 for ; Fri, 10 Sep 2010 14:34:42 +0000 (UTC) Received: from nef.pbox.org (localhost [127.0.0.1]) by nef.pbox.org (8.13.8/8.13.8/) with ESMTP id o8AEYGOU029427 for ; Fri, 10 Sep 2010 16:34:16 +0200 (CEST) Received: (from agc@localhost) by nef.pbox.org (8.13.8/8.13.8/Submit) id o8AEYE5p029426 for pkgsrc-changes@netbsd.org; Fri, 10 Sep 2010 16:34:16 +0200 (CEST) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id E349663B100 for ; Fri, 10 Sep 2010 12:44:06 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id C7392175DD; Fri, 10 Sep 2010 12:44:06 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain Date: Fri, 10 Sep 2010 12:44:06 +0000 From: Takahiro Kambe Subject: CVS commit: pkgsrc/www/ruby-actionpack To: pkgsrc-changes@netbsd.org Reply-To: taca@netbsd.org X-Mailer: log_accum Message-Id: <20100910124406.C7392175DD@cvs.netbsd.org> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (nef.pbox.org [127.0.0.1]); Fri, 10 Sep 2010 16:34:17 +0200 (CEST) Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: list Module Name: pkgsrc Committed By: taca Date: Fri Sep 10 12:44:06 UTC 2010 Modified Files: pkgsrc/www/ruby-actionpack: Makefile PLIST distinfo Log Message: Update www/ruby-actionpack to 2.3.9. * Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk. * Add LICENSE. * Update dependency according to gemspec. *2.3.9 (September 4, 2010)* * Version bump. *2.3.8 (May 24, 2010)* * HTML safety: fix compatibility *without* the optional rails_xss plugin. *2.3.7 (May 24, 2010)* * HTML safety: fix compatibility with the optional rails_xss plugin. [Nathan Weizenbaum, Santiago Pastorino] *2.3.6 (May 23, 2010)* * JSON: set Base.include_root_in_json = true to include a root value in the JSON: {"post": {"title": ...}}. Mirrors the Active Record option. #2584 [Matthew Moore, Joe Martinez, Elad Meidar, Santiago Pastorino] * Ruby 1.9: ERB template encoding using a magic comment at the top of the file. [Jeremy Kemper] <%# encoding: utf-8 %> * Fixed that default locale templates should be used if the current locale template is missing [DHH] * Fixed that PrototypeHelper#update_page should return html_safe [DHH] * Fixed that much of DateHelper wouldn't return html_safe? strings [DHH] * Fixed that fragment caching should return a cache hit as html_safe (or it would all just get escaped) [DHH] * Introduce String#html_safe for rails_xss plugin and forward-compatibility with Rails 3. [Michael Koziarski, Santiago Pastorino, Jos Ignacio Costa] * Added :alert, :notice, and :flash as options to ActionController::Base#redirect_to that'll automatically set the proper flash before the redirection [DHH]. Examples: flash[:notice] = 'Post was created' redirect_to(@post) ...becomes: redirect_to(@post, :notice => 'Post was created') * Added ActionController::Base#notice/= and ActionController::Base#alert/= as a convenience accessors in both the controller and the view for flash[:notice]/= and flash[:alert]/= [DHH] * Added cookies.permanent, cookies.signed, and cookies.permanent.signed accessor for common cookie actions [DHH]. Examples: cookies.permanent[:prefers_open_id] = true # => Set-Cookie: prefers_open_id=true; path=/; expires=Sun, 16-Dec-2029 03:24:16 GMT cookies.signed[:discount] = 45 # => Set-Cookie: discount=BAhpMg==--2c1c6906c90a3bc4fd54a51ffb41dffa4bf6b5f7; path=/ cookies.signed[:discount] # => 45 (if the cookie was changed, you'll get a InvalidSignature exception) cookies.permanent.signed[:remember_me] = current_user.id # => Set-Cookie: discount=BAhU--848956038e692d7046deab32b7131856ab20e14e; path=/; expires=Sun, 16-Dec-2029 03:24:16 GMT ...to use the signed cookies, you need to set a secret to ActionController::Base.cookie_verifier_secret (automatically done in config/initializers/cookie_verification_secret.rb for new Rails applications). To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 pkgsrc/www/ruby-actionpack/Makefile \ pkgsrc/www/ruby-actionpack/PLIST cvs rdiff -u -r1.19 -r1.20 pkgsrc/www/ruby-actionpack/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.