It is my pleasure to announce that Ruby 1.8.7 has just been released.
The new version of Ruby includes many bug fixes, lots of feature
enhancements backported from 1.9 and some performance improvements
since 1.8.6 while maintaining stability and backward compatibility
with the previous release to a high degree. See the bundled
documentation for details about compatibility issues.
The source code package is available in three formats at the following
locations:
For a brief list of user visible changes and a full list of all
changes, see the bundled files named NEWS and ChangeLog, which are
also available at the following locations:
It is my pleasure to announce that Ruby 1.8.7 has just been released.
The new version of Ruby includes many bug fixes, lots of feature
enhancements backported from 1.9 and some performance improvements
since 1.8.6 while maintaining stability and backward compatibility
with the previous release to a high degree. See the bundled
documentation for details about compatibility issues.
The source code package is available in three formats at the following
locations:
For a brief list of user visible changes and a full list of all
changes, see the bundled files named NEWS and ChangeLog, which are
also available at the following locations:
Will there be a Windows One-Click install for this release?
···
On Sat, May 31, 2008 at 11:25 AM, Akinori MUSHA <knu@idaemons.org> wrote:
Folks,
It is my pleasure to announce that Ruby 1.8.7 has just been released.
The new version of Ruby includes many bug fixes, lots of feature
enhancements backported from 1.9 and some performance improvements
since 1.8.6 while maintaining stability and backward compatibility
with the previous release to a high degree. See the bundled
documentation for details about compatibility issues.
It is my pleasure to announce that Ruby 1.8.7 has just been released.
thank you!
despite the claim of "some performance improvements" (are they
documented anywhere?): tests with the CodeRay syntax highlighting
library - which makes heavy use of StringScanner, Regexp and Hashes -
run about 20-30% slower than they did with 1.8.6. is anybody else
experiencing slowdowns, too? any ideas where to look for the bottleneck
before I profile the whole thing?
[murphy]
I haven't found the bottleneck myself but yes, moving to ruby 1.8.7 has
slowed down all my Ruby on Rails tests. All together it now takes 100%
longer. I moved back to 1.8.6 put out by the mod_rails guys:
Actually comments will work in 1.8.7, but only with a specific, more
limited syntax than shown in the original example above.
Here is a relevant portion from the inline documentation for ERB:
ERB recognizes certain tags in the provided template and converts them based on the rules below:
<% Ruby code -- inline with output %>
<%= Ruby expression -- replace with result %>
<%# comment -- ignored -- useful in testing %>
% a line of Ruby code -- treated as <% line %> (optional -- see ERB.new)
%% replaced with % if first thing on a line and % processing is used
<%% or %%> -- replace with <% or %> respectively
So comments ARE allowed when the whole embedded expression is a comment,
i.e.:
<%# this is good comment %>
<% n=1 # this is a bad comment %>
If your 'bad comments' are consistent in their usage of whitespace
around the hash mark, then it ought to be easy to do a grep
search-and-replace to change all your bad comments to look like this,
which WILL work in Ruby 1.8.7:
I'm trying to, but it seems like this release breaks Hpricot due to an
unknown issue.
After checking the source and change log I've found that Hpricot
depends on the erroneous Array#slice! return value which is nil now,
i've made a fix and put up a Hpricot mirror with the changes necessary
on: