From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luis Lavena Newsgroups: gmane.comp.lang.ruby.mongrel.devel Subject: [ANN] rake-compiler 0.5.0 Released Date: Sat, 25 Apr 2009 12:46:42 -0300 Message-ID: <71166b3b0904250846h40b0b58am6587826aad7a9586__46300.0691299841$1240674611$gmane$org@mail.gmail.com> Reply-To: mongrel-development-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1240674525 1814 80.91.229.12 (25 Apr 2009 15:48:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Apr 2009 15:48:45 +0000 (UTC) To: "RubyInstaller Developers (ML)" , Ruby Talk , datamapper-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, "Mongrel Developers (ML)" Envelope-to: gclrmd-mongrel-development@m.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=rYQxKznyTesve15woKf0Z3GEFgvLPZgruvQN9RRgb7c=; b=fgnqmHyvsN7N2fNu00p9QIBlORfkUkjC68QPAeIDWKFE1Jezf7FX2nxm+2xmFP5+6N 17u6690EzsgW8TmEu13hp9x5VTula6IM11p7oOD2W5L7oUxLZkS63ZxrHVKsrxk95jTW ngvGgg8/ZuU8bxq8nwsb/A5QJUVdkOUNtoGfY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=lBxQLC2iA8Xd4Tz0QGUa6Oz8In+o2VzP1DQ5zai7yhZklr8uvW2KtggvqJXRE/7ARs h4riIVcDwtvl6jXedhKlKu9BVWZHHcqz7mIxaY4pujEBYYMcWm8qmQWQCJK5IP/u4bu5 gbkYzUxRS+c2wJHp/MFV34raPbaHB2FzWY6b4= X-BeenThere: mongrel-development-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: mongrel-development-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Errors-To: mongrel-development-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Xref: news.gmane.org gmane.comp.lang.ruby.mongrel.devel:106 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.50) id 1Lxk8F-0006mL-87 for gclrmd-mongrel-development@m.gmane.org; Sat, 25 Apr 2009 17:49:35 +0200 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 341021858137; Sat, 25 Apr 2009 11:48:07 -0400 (EDT) Received: from mail-bw0-f179.google.com (mail-bw0-f179.google.com [209.85.218.179]) by rubyforge.org (Postfix) with ESMTP id BBAC918580F5; Sat, 25 Apr 2009 11:47:22 -0400 (EDT) Received: by bwz27 with SMTP id 27so1829568bwz.35 for ; Sat, 25 Apr 2009 08:46:42 -0700 (PDT) Received: by 10.239.170.142 with SMTP id s14mr183576hbe.89.1240674402634; Sat, 25 Apr 2009 08:46:42 -0700 (PDT) List-Post: rake-compiler version 0.5.0 has been released! * * =3D rake-compiler rake-compiler aims to help Gem developers while dealing with Ruby C extensions, simplifiying the code and reducing the duplication. It follows *convention over configuration* and set an standarized structure to build and package C extensions in your gems. This is the result of expriences dealing with several Gems that required native extensions across platforms and different user configurations where details like portability and clarity of code were lacking. =3D=3D An Overview Let's summarize what rake-compiler provides: * No custom rake tasks required. Less code duplication and errors. * Painlessly build extensions on different platforms (Linux, OSX and Window= s). * Allow multiple extensions be compiled inside the same gem. * Mimics RubyGems installation process, so helps as test environment. * Simplify cross platform compilation of extensions (target Windows from Li= nux). Changes: =3D=3D=3D 0.5.0 / 2009-04-25 * Enhancements * Allow generation of multiple gems for Windows (EXPERIMENTAL) This allows build gems for both VC6 and MinGW builts of Ruby (Thanks to Jonathan Stott for the suggestion) Rake::ExtensionTask.new('my_extension', GEM_SPEC) do |ext| ext.cross_compile =3D true ext.cross_platform =3D ['i386-mswin32', 'i386-mingw32'] end -- = Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exup=E9ry