Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
[ANN] rake-compiler 0.4.0 Released
Luis Lavena
4/4/2009 4:23:00 PM
rake-compiler version 0.4.0 has been released!
* <
http://github.com/luislavena/rake-co...
* <
http://rubyforge.org/projects/rake-co...
=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 0.4.0 2009-04-03
=3D=3D=3D Enhancements
* Bended the convention for extension folder.
Defining <tt>ext_dir</tt> for custom extension location.
Rake::ExtensionTask.new('my_extension') do |ext|
ext.ext_dir =3D 'custom/location' # look into custom/location
end # instead of ext/my_extension
* Better detection of mingw target across Linux/OSX.
Exposed it as Rake::ExtensionCompiler
* Display list of available tasks when calling rake-compiler script
* Track Ruby full versioning (x.y.z).
This will help the compilation of extensions targetting 1.8.6/7 and 1.9=
1
=3D=3D=3D Bugfixes
* Better output of Rake development tasks (Thanks to Luis Parravicini).
* Proper usage of Gem::Platform for native gems (Thanks to Dirkjan Bussin=
k).
* Don't use autoload for YAML (present problems with Ruby 1.9.1).
--=20
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
1 Answer
Tim Hunter
4/5/2009 8:09:00 PM
0
Luis Lavena wrote:
> rake-compiler version 0.4.0 has been released!
Very timely, Luis! I just started a new project and I'm using
rake-compiler from the start. Thanks!
--
RMagick:
http://rmagick.ruby...
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
[ANN] rake-compiler 0.4.0 Released
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password