[#51792] [ruby-trunk - Bug #7768][Open] Inherited Array class missing — "england (Roman Ivanilov)" <englandpost@...>

14 messages 2013/02/01

[#51834] [ruby-trunk - Bug #7780][Open] Marshal & YAML should deserialize only basic types by default. — "marcandre (Marc-Andre Lafortune)" <ruby-core@...>

19 messages 2013/02/04

[#51897] [ruby-trunk - Feature #7791][Open] Let symbols be garbage collected — "rosenfeld (Rodrigo Rosenfeld Rosas)" <rr.rosas@...>

64 messages 2013/02/06
[#51899] [ruby-trunk - Feature #7791][Feedback] Let symbols be garbage collected — "shyouhei (Shyouhei Urabe)" <shyouhei@...> 2013/02/06

[#51909] Re: [ruby-trunk - Feature #7791][Feedback] Let symbols be garbage collected — SASADA Koichi <ko1@...> 2013/02/06

(2013/02/06 22:50), shyouhei (Shyouhei Urabe) wrote:

[#51898] [ruby-trunk - Feature #7792][Open] Make symbols and strings the same thing — "rosenfeld (Rodrigo Rosenfeld Rosas)" <rr.rosas@...>

86 messages 2013/02/06
[#51914] [ruby-trunk - Feature #7792] Make symbols and strings the same thing — "rosenfeld (Rodrigo Rosenfeld Rosas)" <rr.rosas@...> 2013/02/06

[#51916] Re: [ruby-trunk - Feature #7792] Make symbols and strings the same thing — Yorick Peterse <yorickpeterse@...> 2013/02/06

You don't need to hijack any code for it, you'd just use it as

[#51933] [ruby-trunk - Feature #7793][Open] New methods on Hash — "dsisnero (Dominic Sisneros)" <dsisnero@...>

20 messages 2013/02/06

[#51965] [ruby-trunk - Feature #7795][Open] Symbol.defined? and/or to_existing_symbol — "Student (Nathan Zook)" <blogger@...>

13 messages 2013/02/07

[#51977] [ruby-trunk - Feature #7797][Open] Hash should be renamed to StrictHash and a new Hash should be created to behave like AS HashWithIndifferentAccess — "rosenfeld (Rodrigo Rosenfeld Rosas)" <rr.rosas@...>

22 messages 2013/02/07

[#52042] [ruby-trunk - Bug #7805][Open] ruby 2.0rc2 core on solaris — "groenveld@... (John Groenveld)" <groenveld@...>

23 messages 2013/02/08

[#52049] [ruby-trunk - Bug #7807][Open] [PATCH] Remove duplicated load paths when empty version string is configured — "vo.x (Vit Ondruch)" <v.ondruch@...>

9 messages 2013/02/08

[#52075] [ruby-trunk - Feature #7816][Open] Don't invalidate method caches when defining a new method on a class without subclasses — "charliesome (Charlie Somerville)" <charlie@...>

17 messages 2013/02/09

[#52077] [ruby-trunk - Bug #7817][Open] (Unable to compile Ruby 2.0.0-rc2 on OSX (clang version 2.1) — "injekt (Lee Jarvis)" <ljjarvis@...>

10 messages 2013/02/09

[#52087] [ruby-trunk - Bug #7820][Assigned] Let's decide Ruby 2.0 supported platform list — "mame (Yusuke Endoh)" <mame@...>

15 messages 2013/02/10

[#52130] [ruby-trunk - Bug #7829][Open] Rounding error in Ruby Time — "loirotte (Philippe Dosch)" <loirotte@...>

25 messages 2013/02/11
[#52579] [ruby-trunk - Bug #7829] Rounding error in Ruby Time — "loirotte (Philippe Dosch)" <loirotte@...> 2013/02/20

[#52586] Re: [ruby-trunk - Bug #7829] Rounding error in Ruby Time — David MacMahon <davidm@...> 2013/02/20

[#52131] [ruby-trunk - Bug #7830][Open] Ruby packages should not build with -Werror when distributed — "kremenek (Ted Kremenek)" <kremenek@...>

21 messages 2013/02/11

[#52134] [ruby-trunk - Bug #7831][Open] Net::HTTP does not allow users to handle Content-Encoding in responses like 1.x — "drbrain (Eric Hodel)" <drbrain@...7.net>

10 messages 2013/02/11

[#52160] [ruby-trunk - Feature #7836][Open] Need a way to get Method and UnboundMethod objects to methods overridden by prepended modules — "banister (john mair)" <jrmair@...>

12 messages 2013/02/12

[#52165] [ruby-trunk - Feature #7839][Open] Symbol.freeze_symbols — "tenderlovemaking (Aaron Patterson)" <aaron@...>

23 messages 2013/02/12

[#52206] [ruby-trunk - Bug #7842][Assigned] An alias of a "prepend"ed method skips the original method when calling super — "mame (Yusuke Endoh)" <mame@...>

15 messages 2013/02/13

[#52215] [ruby-trunk - Bug #7845][Open] Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1) — "timothyg56 (Timothy Garnett)" <timothyg@...>

18 messages 2013/02/13

[#52267] [ruby-trunk - Feature #7854][Open] New method Symbol[string] — "Student (Nathan Zook)" <blogger@...>

22 messages 2013/02/14

[#52296] [ruby-trunk - Bug #7860][Open] Passing --libdir to ./configure causes Gem.ruby to point to an incorrect ruby interpreter path — "cwgem (Chris White)" <cwprogram@...>

11 messages 2013/02/15

[#52395] [ruby-trunk - Bug #7874][Open] multiarch support enhancements — "terceiro (Antonio Terceiro)" <terceiro@...>

16 messages 2013/02/17

[#52513] [ruby-trunk - Feature #7882][Open] Allow rescue/else/ensure in do..end — "charliesome (Charlie Somerville)" <charlie@...>

11 messages 2013/02/19

[#52514] [ruby-trunk - Feature #7883][Open] Add Regex#to_proc — "rklemme (Robert Klemme)" <shortcutter@...>

15 messages 2013/02/19

[#52537] [ruby-trunk - Bug #7886][Open] Not recognizing unix group permissions for Mac OS X (Mountain Lion) Active Directory (AD) mobile accounts — "afazio (Alfred Fazio)" <alfred.fazio@...>

12 messages 2013/02/19

[#52596] [CommonRuby - Feature #7895][Open] Exception#backtrace_locations to go with Thread#backtrace_locations and Kernel#caller_locations — "headius (Charles Nutter)" <headius@...>

18 messages 2013/02/20

[#52614] [ruby-trunk - Bug #7897][Open] rubygems 2.0 has an incompatibility about installation of extension libraries if gem package does not contain lib directory — "mrkn (Kenta Murata)" <muraken@...>

8 messages 2013/02/21

[#52727] [ruby-trunk - Feature #7918][Open] Create Signal.in_trap?() — "kosaki (Motohiro KOSAKI)" <kosaki.motohiro@...>

10 messages 2013/02/23

[#52742] [ruby-trunk - Bug #7921][Assigned] Cross-compiling ruby_2_0_0 to Windows is failing (rb_w32_pow) — "luislavena (Luis Lavena)" <luislavena@...>

19 messages 2013/02/23

[#52875] [ruby-trunk - Bug #7956][Open] Install fail with RVM — Sega100500 (Сергей Е) <Sergey.V.Ezhov@...>

14 messages 2013/02/25

[#52877] Any documentation about debugging in Ruby 2.0.0 — Rodrigo Rosenfeld Rosas <rr.rosas@...>

Hi, I couldn't find how to debug Ruby 2.0.0 programs, but only a few

14 messages 2013/02/25
[#52880] Re: Any documentation about debugging in Ruby 2.0.0 — Jeremy Kemper <jeremy@...> 2013/02/25

On Monday, February 25, 2013, Rodrigo Rosenfeld Rosas wrote:

[#52883] Re: Any documentation about debugging in Ruby 2.0.0 — Rodrigo Rosenfeld Rosas <rr.rosas@...> 2013/02/25

Em 25-02-2013 10:47, Jeremy Kemper escreveu:

[#52886] Re: Any documentation about debugging in Ruby 2.0.0 — SASADA Koichi <ko1@...> 2013/02/25

(2013/02/26 0:22), Rodrigo Rosenfeld Rosas wrote:

[#52890] [ruby-trunk - Bug #7958][Open] include FileUtils::Verbose gives NoMethodError when installing files with a different mode — "drbrain (Eric Hodel)" <drbrain@...7.net>

12 messages 2013/02/25

[#52893] [ruby-trunk - Bug #7959][Open] configure contains non-portable shell code — "jeremyevans0 (Jeremy Evans)" <merch-redmine@...>

12 messages 2013/02/25

[#52936] [ruby-trunk - Bug #7968][Open] Poor UDPSocket#send performance in ruby 2.0.0 on windows — "cs96and (Alan Davies)" <alan.n.davies@...>

10 messages 2013/02/26

[#52997] [ruby-trunk - Feature #7978][Open] boolean to_i — "alexeymuranov (Alexey Muranov)" <redmine@...>

14 messages 2013/02/27

[#53017] [ruby-trunk - Bug #7982][Open] rb_raise segfaults on %lli format with (0xffffffff + 1) — "erik.s.chang (Erik Chang)" <erik.s.chang@...>

10 messages 2013/02/28

[#53025] [Backport 200 - Backport #7984][Open] Severe speed issues in 2.0.0 compiled with Clang — "jcole1989 (James Coleman)" <jtc331@...>

13 messages 2013/02/28

[ruby-core:52036] [ANN] ruby 2.0.0-rc2 released

From: Yusuke Endoh <mame@...>
Date: 2013-02-08 13:53:06 UTC
List: ruby-core #52036
Japanese follows; 日本語はあとで

Hello all --

We are pleased to announce the release of Ruby 2.0.0-rc2.

* ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-rc2.tar.bz2
  SIZE:   10822239 bytes
  MD5:    e92420131bd7994513e0bf09a3e2a19b
  SHA256: d55f897bb04283c5fa80223d96d990fe8ecb598508dd59443b356cbba1f66145

* ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-rc2.tar.gz
  SIZE:   13616756 bytes
  MD5:    9d5e6f26db7c8c3ddefc81fdb19bd41a
  SHA256: 87072ab3e6d393d47f7402682364e4f24efe1c518969795cc01fcdeeb0e646f3

* ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-rc2.zip
  SIZE:   15118480 bytes
  MD5:    1a2d33f1c50e32ca1532f8dea4790d53
  SHA256: c28e9baf3aa00b41b8823c16df436ae143e8a63e43e7a53302f23119e13d0ebf

## New features in 2.0.0

  - Keyword arguments
  - Enumerable#lazy
  - Module#prepend
  - #to_h: Convention for conversion to Hash
  - %i: a literal for symbol array
  - Updated regexp engine: Onigmo (a fork of Oniguruma)
  - Enumerator#size and Range#size were introduced
  - DTrace support
  - TracePoint
  - Optimized require performance (especially, on Windows)
  - NativeClient support
  - Documentation improvement
  - Enhanced asynchronous interrupt handling
  - Launch-time stack size tuning parameters
  - Refinements [experimental]

.. and more improvements.  See NEWS for details.

Here are some introductory articles by third parties:

  - https://speakerdeck.com/a_matsuda/ruby-2-dot-0-on-rails
  - http://globaldev.co.uk/2012/11/ruby-2-0-0-preview-features/
  - http://www.infoq.com/news/2012/11/ruby-20-preview1
  - http://timelessrepo.com/refinements-in-ruby (Refinements)
  - http://el.jibun.atmarkit.co.jp/rails/2012/11/ruby-20-8256.html (in
Japanese)
  - https://speakerdeck.com/nagachika/rubyist-enumeratorlazy(Enumerator::Lazy,
in Japanese)

(If you volunteer to provide additional articles, we may cite or refer to
them in the
next release announcement.)

## Notes

### Incompatibility

There are three notable incompatibilities we know of:

  - The default encoding for ruby scripts is now UTF-8 [#6679].  Some
people report
    that it affects existing programs, such as some benchmark programs
becoming
    very slow [ruby-dev:46547].
    The spec may change for the official release.

  - iconv was removed, which had already been deprecated when M17N was
introduced
    in ruby 1.9.  Use String#encode, etc. instead.

  - There is ABI breakage [ruby-core:48984].  We think that normal
    users can/should just reinstall extension libraries.
    You should be aware: "DO NOT COPY .so OR .bundle FILES FROM 1.9".

There are some comparatively small incompatibilities.  [ruby-core:49119]
Please report any other incompatibility you notice.

FYI: We are creating upgrade notes, but some parts are already outdated.

  - http://bugs.ruby-lang.org/projects/ruby/wiki/200UpgradeNotesDraft

### Status of Refinements

2.0.0 will include refinements as an "experimental feature" because we
could not
agree on its detailed spec.
Note that the behavior may change in future versions of Ruby.

## special thanks

I appreciate all who try preview and rc1 release!
I'm grateful for all the contributors' hard work to fix many bugs.
I'm really thankful to all the people who helped me do this release.

Regards,


こんにちは、Ruby 2.0.0-rc2 をリリースします。

* ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-rc2.tar.bz2
  SIZE:   10822239 bytes
  MD5:    e92420131bd7994513e0bf09a3e2a19b
  SHA256: d55f897bb04283c5fa80223d96d990fe8ecb598508dd59443b356cbba1f66145

* ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-rc2.tar.gz
  SIZE:   13616756 bytes
  MD5:    9d5e6f26db7c8c3ddefc81fdb19bd41a
  SHA256: 87072ab3e6d393d47f7402682364e4f24efe1c518969795cc01fcdeeb0e646f3

* ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-rc2.zip
  SIZE:   15118480 bytes
  MD5:    1a2d33f1c50e32ca1532f8dea4790d53
  SHA256: c28e9baf3aa00b41b8823c16df436ae143e8a63e43e7a53302f23119e13d0ebf

## 2.0.0 の新機能

  - キーワード引数
  - Enumerable#lazy
  - Module#prepend
  - #to_h: Hash への変換メソッド
  - %i: シンボルの配列のリテラル
  - 正規表現エンジンを Onigmo に変更(鬼雲: 鬼車の派生版)
  - Enumerator#size が導入された
  - DTrace サポート
  - TracePoint
  - require 速度の向上(特に Windows において)
  - NativeClient サポート
  - ドキュメントの改善
  - 非同期割り込み制御機能の改良
  - 起動時のスタックサイズ設定機能
  - Refinements [実験的機能]

その他改善多数。詳しくは NEWS をご覧あれ。
サードパーティによる紹介記事があります。

  - https://speakerdeck.com/a_matsuda/ruby-2-dot-0-on-rails
  - http://globaldev.co.uk/2012/11/ruby-2-0-0-preview-features/
  - http://www.infoq.com/news/2012/11/ruby-20-preview1
  - http://timelessrepo.com/refinements-in-ruby (Refinements)
  - http://el.jibun.atmarkit.co.jp/rails/2012/11/ruby-20-8256.html (in
Japanese)
  - https://speakerdeck.com/nagachika/rubyist-enumeratorlazy(Enumerator::Lazy,
in Japanese)

(他にも記事を書いて頂けると、今後のリリースアナウンスで引用や参照をさせて
 頂くかも)

## 注意点

### 非互換について

特筆すべき非互換を 3 つ把握しています。

  - デフォルトのスクリプトエンコーディングが UTF-8 になりました [#6679] 。
    これは既存のプログラムに影響を与えることが報告されています。例えば、
    ベンチマークプログラムが非常に遅くなるなど [ruby-dev:46547] 。
    公式リリースまでに仕様が変化するかもしれません。

  - iconv が削除されました。元々 M17N が導入された 1.9 の時点で非推奨のものでした。
    String#encode などを使って書き換えてください。

  - ABI 互換性がなくなっています [ruby-core:48984] 。通常のユーザは、拡張
    ライブラリを再インストールするだけでよいはすです。「1.9 の .so, .bundle ファイル
    をコピーするな」とだけ気をつけてください。

他にも比較的小さな非互換があります。[ruby-core:49119]
さらに非互換に気づいたらぜひ報告してください。

ご参考: 以下にアップグレードガイドを作成中ですが、すでに一部内容が古いです。

  - http://bugs.ruby-lang.org/projects/ruby/wiki/200UpgradeNotesDraft

### refinements の扱い

2.0.0 では refinement を「実験的機能」として提供します。仕様の詳細について合意に
至らなかったためです。
挙動が Ruby の将来のバージョンで変化する可能性があることに注意してください。

## special thanks

preview と rc1 を試してくれた皆さんに感謝します。
相変わらずたくさんの直してくれているコントリビュータの皆さんに感謝します。
このリリースを支えてくれた皆さんに本当に感謝します。

-- 
Yusuke Endoh <mame@tsg.ne.jp>

In This Thread

Prev Next