DevHeads.net

Postings by NARUSE, Yui

Ruby 2.6.0-preview2 Released

We are pleased to announce the release of Ruby 2.6.0-preview2.

Ruby 2.6.0-preview2 is the first preview toward Ruby 2.6.0.
This preview2 is released earlier than usual because it includes an
important new feature, JIT.

## JIT

Ruby 2.6 introduces an initial implementation of JIT (Just-in-time) compiler.

JIT compiler aims to improve performance of any Ruby program execution.
Unlike ordinary JIT compilers for other languages, Ruby's JIT compiler
does JIT compilation in a unique way, which prints C code to a disk
and spawns common C compiler process to generate native cod e.
See also: https://

Ruby 2.4.1 Released

We are pleased to announce the release of Ruby 2.4.1.
This is the first TEENY version release of the stable 2.4 series.

See [commit logs](<a href="https://github.com/ruby/ruby/compare/v2_4_0...v2_4_1" title="https://github.com/ruby/ruby/compare/v2_4_0...v2_4_1">https://github.com/ruby/ruby/compare/v2_4_0...v2_4_1</a>)
for details.

## Download

* <https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.1.tar.bz2>

SIZE: 12571597 bytes
SHA1: b0bec75c260dcb81ca386fafef27bd718f8c28ad
SHA256: ccfb2d0a61e2a9c374d51e099b0d833b09241ee78fc17e1fe38e3b282160237c
SHA512: 1c80d4c30ecb51758a193b26b76802a06d214de7f15570f1e85b5fae4cec81bda7237f086b81f6f2b5767f2e93d347ad1fa3f49d7b5c2e084d5f57c419503f74

* <https

Ruby 2.4.0 Released

We are pleased to announce the release of Ruby 2.4.0.

Ruby 2.4.0 is the first stable release of the Ruby 2.4 series.
It introduces many new features, for example:

## [Introduce hash table improvement (by Vladimir
Makarov)](<a href="https://bugs.ruby-lang.org/issues/12142" title="https://bugs.ruby-lang.org/issues/12142">https://bugs.ruby-lang.org/issues/12142</a>)

Improve the internal structure of hash table (st_table) by introducing
open addressing
and an inclusion order array.
This improvement has been discussed with many people, especially with
Yura Sokolov.

## Binding#irb: Start a REPL session similar to `binding.pry`

While you are debugging, you may often use `p` to see the value of v

Ruby 2.4.0-rc1 Released

We are pleased to announce the release of Ruby 2.4.0-rc1.

Ruby 2.4.0-rc1 is the first release candidate of Ruby 2.4.0.
This rc1 is released to get feedback from the community.
Feel free to
[send feedback](<a href="https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport" title="https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport">https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport</a>)
since you can still fix the features.

## [Introduce hash table improvement (by Vladimir
Makarov)](<a href="https://bugs.ruby-lang.org/issues/12142" title="https://bugs.ruby-lang.org/issues/12142">https://bugs.ruby-lang.org/issues/12142</a>)

Improve the internal structure of hash table (st_table) by introducing
open addressing
and an inclusion order array.
This improvement has been discussed with many people, especially with
Yura So

Ruby 2.4.0-preview3 Released

We are pleased to announce the release of Ruby 2.4.0-preview3.

Ruby 2.4.0-preview3 is the third preview of Ruby 2.4.0.
This preview3 is released to get feedback from the community.
Feel free to
[send feedback](<a href="https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport" title="https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport">https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport</a>)
since you can still influence the features.

## [Introduce hash table improvement by Vladimir
Makarov](<a href="https://bugs.ruby-lang.org/issues/12142" title="https://bugs.ruby-lang.org/issues/12142">https://bugs.ruby-lang.org/issues/12142</a>)

Improve the internal structure of hash table (st_table) with
introducing open addressing
and inclusion order array.
This improvement is discussed with many people, especially with Yura

Ruby 2.4.0-preview2 Released

We are pleased to announce the release of Ruby 2.4.0-preview2.

Ruby 2.4.0-preview2 is the second preview of Ruby 2.4.0.
This preview2 is released to get feedback from the community.
Feel free to
[send feedback](<a href="https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport" title="https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport">https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport</a>)
since you can still influence the features.

## [Unify Fixnum and Bignum into
Integer](<a href="https://bugs.ruby-lang.org/issues/12005" title="https://bugs.ruby-lang.org/issues/12005">https://bugs.ruby-lang.org/issues/12005</a>)

Though [ISO/IEC
30170:2012](<a href="http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=59579" title="http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=59579">http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?c...</a>)
doesn't specify details of the Integer class,
Ruby had two visible Integer classes: F

Call For Feature Proposal for Ruby 2.4

Hello, feature proposers for Ruby 2.4,

What's the status on your feature proposal?
No progress because no reply form matz?
I'd like to announce a big chance to accelerate your proposal!

You may know, we'll release Ruby 2.4 on 25 Dec.
I'm planning to hold a developer meeting (including matz) to judge
feature requests,
on August and September at Tokyo.
If matz says "accept!" for your proposal there, your
proposal is accepted.

Ruby 2.4.0-preview1 Released

We are pleased to announce the release of Ruby 2.4.0-preview1.

Ruby 2.4.0-preview1 is the first preview of Ruby 2.4.0.
This preview1 is released earlier than usual because it includes so
many new features and improvements.
Feel free to [send
feedback](<a href="https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport" title="https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport">https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport</a>)
since you can still change the features.

## [Unify Fixnum and Bignum into
Integer](<a href="https://bugs.ruby-lang.org/issues/12005" title="https://bugs.ruby-lang.org/issues/12005">https://bugs.ruby-lang.org/issues/12005</a>)

Though [ISO/IEC
30170:2012](<a href="http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=59579" title="http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=59579">http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?c...</a>)
doesn't specify details of the Integer class,
C

Ruby 2.3.0 Released

Hi,

We are pleased to announce the release of Ruby 2.3.0.

This is the first stable release of Ruby 2.3 series.
It introduces many new features for example:

A [Frozen String Literal Pragma](<a href="https://bugs.ruby-lang.org/issues/11473" title="https://bugs.ruby-lang.org/issues/11473">https://bugs.ruby-lang.org/issues/11473</a>)
is introduced.
With Ruby 2.1, `"str".freeze` has been optimized to reduce object allocation.
Ruby 2.3 introduces a new magic comment and command line option to
freeze all string literals in the source files.
Additionally for debugging, you can get where the object is created on
`"can't modify frozen String"` error by
`--debug=frozen-string-literal` command line opt

Ruby 2.3.0-preview2 Released

We are pleased to announce the release of Ruby 2.3.0-preview2.

Ruby 2.3.0-preview2 is the second preview of Ruby 2.3.0.
Many new features and improvements are included.

A [Frozen String Literal Pragma](<a href="https://bugs.ruby-lang.org/issues/11473" title="https://bugs.ruby-lang.org/issues/11473">https://bugs.ruby-lang.org/issues/11473</a>)
is introduced.
With Ruby 2.1, `"str".freeze` has been optimized to reduce object allocation.
Ruby 2.3 introduces a new magic comment and command line option to
freeze all string literals in the source files.
Additionally for debugging, you can get where the object is created on
`"can't modify frozen String"` error by
`--debug=frozen-string-literal` comm

Ruby 2.3.0-preview1 Released

Hi,

We are pleased to announce the release of Ruby 2.3.0-preview1.

Ruby 2.3.0-preview1 is the first preview of Ruby 2.3.0.
Many new features and improvements are included.

[Frozen String Literal
Pragma](<a href="https://bugs.ruby-lang.org/issues/11473" title="https://bugs.ruby-lang.org/issues/11473">https://bugs.ruby-lang.org/issues/11473</a>) is introduced. On
Ruby 2.1, "str".freeze is optimized to reduce object allocation.

Request for "slide-show" of your feature proposal for Ruby 2.3

Hello, feature proposers for Ruby 2.3,

What's the status on your feature proposal?
No progress because no reply form matz?
I'd like to announce a big chance to accelerate your proposal!

You may know, we'll release Ruby 2.3 on 25 Dec.
I'm planning to hold a developer meeting (including matz) to judge
feature requests, on September at Tokyo.
If matz says "accept!" for your proposal there, your
proposal is accepted.

Ruby 2.2.1 Released

We are pleased to announce the release of Ruby 2.2.1.
This is the first patchlevel release of the stable 2.2 series.

This release include the fix of ffi build failure.

See [ChangeLog](<a href="http://svn.ruby-lang.org/repos/ruby/tags/v2_2_1/ChangeLog" title="http://svn.ruby-lang.org/repos/ruby/tags/v2_2_1/ChangeLog">http://svn.ruby-lang.org/repos/ruby/tags/v2_2_1/ChangeLog</a>)
for details.

## Download

* [http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.1.tar.bz2](<a href="http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.1.tar.bz2" title="http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.1.tar.bz2">http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.1.tar.bz2</a>)
SIZE: 13326768 bytes
MD5: 06973777736d8e6bdad8dcaa469a9da3
SHA256: 4e5676073246b7ade207be3e80a930567a88100513591a0f19fc38e247370065
SHA512: af6a8e75a66b953ff33ecbca5111bcf1c6560b6b48b370b70082

Ruby 2.2.0 Released

We are pleased to announce the release of Ruby 2.2.0.

Ruby 2.2 includes many new features and improvements for the increasingly
diverse and expanding demands for Ruby.

For example, Ruby's Garbage Collector is now able to collect Symbol
type objects.
This reduces memory usage of Symbols; because GC was previously unable
to collect them before 2.2.
Since Rails 5.0 will require Symbol GC, it will support only Ruby 2.2 or later.
(See [Rails 4.2 release
post](<a href="http://weblog.rubyonrails.org/2014/12/19/Rails-4-2-final/" title="http://weblog.rubyonrails.org/2014/12/19/Rails-4-2-final/">http://weblog.rubyonrails.org/2014/12/19/Rails-4-2-final/</a>) for
details.)

Also, a reduced pause time thanks to the new Incremental Garbage

Ruby 2.2.0-rc1 Released

We are pleased to announce the release of Ruby 2.2.0-rc1.

After RC1, all changes will be limited to bug fix only.
The final release of Ruby 2.2.0 is scheduled on December 25, 2014.

Ruby 2.2 includes many new features and improvements for the increasingly
diverse and expanding demands for Ruby.

For example, Ruby's Garbage Collector is now able to collect Symbol
type objects.
This reduces memory usage of Symbols; because GC was previously unable
to collect them before 2.2.
Since Rails 5.0 will require Symbol GC, it will support only Ruby 2.2
or later.

Ruby 2.2.0-preview2 is released

We are pleased to announce the release of Ruby 2.2.0-preview2.

Ruby 2.2.0-preview2 is the second preview of Ruby 2.2.0.
Many new features and improvements are included for the increasingly
diverse and expanding demands for Ruby.

For example, Symbol GC makes Symbols garbage collectable.
This reduces memory usage of Symbols; because GC couldn't collect Symbols before
Ruby 2.2. Since Rails 5.0 will require Symbol GC, it will support only Ruby 2.2
or later.

Ruby 2.2.0-preview1 is released

We are pleased to announce the release of Ruby 2.2.0-preview1.

Ruby 2.2.0-preview1 is the first preview for the Ruby 2.2.0.
Many new features and improvements are included forthe increasingly
diverse and expanding demands for Ruby.

For example Symbol GC will decrease the risk of memory exhaustion
(symbols are not garbage collected).
Because if this Rails 5.0 will be released for Ruby
2.2+<http://weblog.rubyonrails.org/2014/8/20/Rails-4-2-beta1/>.

Incremental GC is also nice to decrease pause time.
It will help running Rails applications.

The notable changes since 2.1.0 are:

* [Incremental

Preparing Ruby 2.2.0-preview1

Hi,Ruby committers and developers,

I'm considering to release Ruby 2.2.0-preview1 soon.
Therefore if you have something wanted to be include in it,
commit it before 2014-09-14.

Thanks,

Request for "slide-show" of your feature proposal

Hello, feature proposers for Ruby 2.2,

What's the status on your feature proposal? No progress
because no reply form matz?
I'd like to announce a big chance to accelerate your proposal!

You may know, we'll release Ruby 2.2 on 25 Dec.
I'm planning to hold a developer meeting (including matz)
to judge feature requests, on July at Tokyo.
If matz says "accept!" for your proposal there, your
proposal is accepted.

Ruby 2.1.0 is released

Hi,

We are pleased to announce the release of Ruby 2.1.0.

Ruby 2.1 has many improvements including speed up without severe imcompatibilities.

Try it!

## Download

* [http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0.tar.bz2](<a href="http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0.tar.bz2" title="http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0.tar.bz2">http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0.tar.bz2</a>)
* SIZE: 12007442 bytes
* MD5: 1546eeb763ac7754365664be763a1e8f
* SHA256: 1d3f4ad5f619ec15229206b6667586dcec7cc986672c8fbb8558161ecf07e277
* [http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0.tar.gz](<a href="http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0.tar.gz" title="http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0.tar.gz">http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0.tar.gz</a>)
* SIZE: 15076389 bytes
* MD5: 9

ruby_2_1 branch backport policy

Hi,

I created ruby_2_1 branch.
The current backport policy is "release manager's backport only".
No backports are allowd except release manager's.

If you have issues to backport, create a ticket on Backport21.
<a href="http://bugs.ruby-lang.org/projects/ruby-21/issues" title="http://bugs.ruby-lang.org/projects/ruby-21/issues">http://bugs.ruby-lang.org/projects/ruby-21/issues</a>

thanks,

Ruby 2.1.0 rc1 released

Hi,

We are pleased to announce the release of Ruby 2.1.0-rc1.
Please test the new features in Ruby 2.1 before the final release scheduled on 2013-12-25!

## Notable changes from preview 2

* remove curses.

Ruby 2.1.0-preview2 is released (includes a security fix!)

We are pleased to announce the release of Ruby 2.1.0-preview2.
Please test the new features in Ruby 2.1 before the final release!

## Notable changes from preview 1

* fix [Heap Overflow in Floating Point Parsing (CVE-2013-4164)](<a href="http://staging.ruby-lang.org/en/news/2013/11/22/heap-overflow-in-floating-point-parsing-cve-2013-4164/" title="http://staging.ruby-lang.org/en/news/2013/11/22/heap-overflow-in-floating-point-parsing-cve-2013-4164/">http://staging.ruby-lang.org/en/news/2013/11/22/heap-overflow-in-floatin...</a>)
* "literal".freeze is now optimized [#9042](<a href="https://bugs.ruby-lang.org/issues/9042" title="https://bugs.ruby-lang.org/issues/9042">https://bugs.ruby-lang.org/issues/9042</a>)
* f suffix of String Literal is removed [#9042](<a href="https://bugs.ruby-lang.org/issues/9042" title="https://bugs.ruby-lang.org/issues/9042">https://bugs.ruby-lang.org/issues/9042</a>)
* fix memory consuming issue on RGenGC ([r43532](<a href="http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?v" title="http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?v">http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?v</a>

Ruby 2.1.0 preview1 released

Hi,

We are pleased to announce the release of Ruby 2.1.0-preview1.
Please check out the new features in Ruby 2.1 before final release!

* <a href="http://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0-preview1.tar.bz2" title="http://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0-preview1.tar.bz2">http://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0-preview1.tar.bz2</a>
SIZE: 11475553 bytes
MD5: d32d1ea23988399afadbd21c5a7a37fc
SHA256: 860b90d28b214393fd9d77ac2ad65b384d8249cd59b658c668cf0c7bad1db341

* <a href="http://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0-preview1.tar.gz" title="http://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0-preview1.tar.gz">http://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0-preview1.tar.gz</a>
SIZE: 14449544 bytes
MD5: 9df4f546f6b961895ba58a8afdf857da
SHA256: 747472fb33bcc529f1000e5320605a7e166a095d3805520b989e73b33c05b046

* <a href="http://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0-preview1.zi" title="http://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0-preview1.zi">http://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0-preview1.zi</a>

Convert Rational to decimal string

Issue #8850 has been reported by naruse (Yui NARUSE).

Author: naruse (Yui NARUSE)
Status: Assigned
Priority: Normal
Assignee: matz (Yukihiro Matsumoto)
Category:
Target version: next minor

On Ruby 2.1.0, decimal literal is introduced.
It generates Rational but it cannot easily convert to decimal string.
You know, Rational#to_f is related to this but
* Float is not exact number
** 0.123456789123456789r.to_f.to_s #=> "0.12345678912345678"
* it can't handle recurs

Ruby Developer Meeting 20130831

Hi,

As I wrote in [ruby-core:56255], we have Ruby Developer Meeting 20130831.
If you have a proposal, please make a slide and attach it to the ticket.
<a href="https://bugs.ruby-lang.org/projects/ruby/wiki/HowToRequestFeatures" title="https://bugs.ruby-lang.org/projects/ruby/wiki/HowToRequestFeatures">https://bugs.ruby-lang.org/projects/ruby/wiki/HowToRequestFeatures</a>

And add the agenda to
<a href="https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20130831Japan" title="https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20130831Japan">https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20130831J...</a>

thanks,

Allow invalid string to work with regexp

Issue #8678 has been reported by naruse (Yui NARUSE).

Author: naruse (Yui NARUSE)
Status: Assigned
Priority: Normal
Assignee: matz (Yukihiro Matsumoto)
Category: M17N
Target version: current: 2.1.0

Legacy Ruby 1.8 could regexp match with broken strings.
People can find characters from binary data on the age.

After Ruby 1.9, Ruby raises Exception if it does regexp match with broken strings.
So it became hard to work with character-wise regexp matching with

Ruby Developer Meeting Japan 2013-07-27

Hi,

As I wrote in [ruby-core:55689], we have Ruby Developer Meeting Japan
on 2013-07-27.
If you have an agenda, prepare a slide and attach it to a Redmine ticket.
See [ruby-core:45474] for its detail.
The submission deadline for this metting is 2013-07-26 15:00:00 UTC.
<a href="https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20130727Japan" title="https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20130727Japan">https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20130727J...</a>

I'm planing next meeting on August, so don't worry if you don't
prepare the deadline.

Thanks,

Ruby 2.1.0 release engeneering

Hi,

Ruby 2.1.0 is comming at 2013-12-25, and we now begin release engeneering.
The schedule is below.

If you have feature requests or bug reports, please submit it as a ticket on our Redmine.
If you have already created a ticket but it stales long,
you can make a presentation slide and attach it to the ticket.
We will look it on following judge meeting and at least answer OK/NG.

// Note that such tickets usually have some issues like features or name or something.
// Therefore the slide should fix such issues or have additional points.

* Declared next version is 2.1.0
* done at 2013-02-23

Unbundle ext/tk

Issue #8539 has been reported by naruse (Yui NARUSE).

Author: naruse (Yui NARUSE)
Status: Open
Priority: Normal
Assignee:
Category: ext
Target version: current: 2.1.0

How about unbundling ext/tk from Ruby repository?

ext/tk is a bundled extension library for GUI programming with tk.
It is introduced in 1999 and long maintained with CRuby itself.

But nowadays its maintenance is not so active.
Moreover ext/tk is not the de facto standard over Ruby GUI though it is bundled for 14