[#402673] Newbie question - gem documentation — John Sampson <jrs.idx@...>
Hello -
On Tue, Jan 1, 2013 at 6:55 AM, John Sampson <jrs.idx@ntlworld.com> wrote:
On 01/01/2013 14:04, tamouse mailing lists wrote:
On Tue, Jan 1, 2013 at 8:29 AM, John Sampson <jrs.idx@ntlworld.com> wrote:
On 01/01/2013 15:13, tamouse mailing lists wrote:
[#402678] GServer in Ruby 2.0.0 — Joe Leo <joseph.leo3@...>
I'm working on updating a gem to be compatible with Ruby 2.0 and am
[#402688] Run time error with multiple version of gems installed — Mallikarjuna Yaddala <lists@...>
Hi all,
[#402698] Escaping SQL queries. — Ken D'Ambrosio <ken@...>
Hi, all. As someone whose last name has one of those dreaded
[#402705] How to uninstall particular ruby version — Nirav Bhatu <lists@...>
Hello guys,
On Wed, Jan 2, 2013 at 9:15 PM, Nirav Bhatu <lists@ruby-forum.com> wrote:
[#402707] Require a ruby project to automatically include the modules in classes defined in the same .rb file — Marc Heiler <lists@...>
Hi.
On Wed, Jan 2, 2013 at 9:58 PM, Marc Heiler <lists@ruby-forum.com> wrote:
On Fri, Jan 4, 2013 at 6:08 AM, Josh Cheek <josh.cheek@gmail.com> wrote:
On 4 January 2013 11:07, Robert Klemme <shortcutter@googlemail.com> wrote:
On Fri, Jan 4, 2013 at 5:58 AM, Peter Hickman
On Sat, Jan 5, 2013 at 2:05 AM, tamouse mailing lists
[#402722] Block given to Array::join — Salvatore nashcrash <lists@...>
Hi.
I'm looking for suggestions on how I might parse this data.=20
On Thu, 03 Jan 2013 22:13:14 +0100, Wayne Brissette <wbrisett@att.net> wrote:
[#402732] respond_to_missing? — Intransition <transfire@...>
Can anyone explain `#respond_to_missing?`.
[#402764] Best practice for &&, ||, and, or — sto.mar@...
Hi group,
On Sat, Jan 5, 2013 at 7:35 AM, <sto.mar@web.de> wrote:
Dave Aronson wrote in post #1091164:
On Sat, Jan 5, 2013 at 11:29 PM, Joel Pearson <lists@ruby-forum.com> wrote:
Hi,
On Sat, Jan 5, 2013 at 5:46 PM, Jan E. <lists@ruby-forum.com> wrote:
Dave Aronson wrote in post #1091178:
On Sat, Jan 5, 2013 at 1:35 PM, <sto.mar@web.de> wrote:
[#402765] Using and Querying Struct — Wayne Brissette <wbrisett@...>
I'm trying to use the Stuct class to store some data. In my case, a =
[#402812] newbie question what am I doing wrong? — "Lee V." <lists@...>
I wrote this simple program but it won't work. What am I doing wrong?
The problem I was having was that after an answer was typed in for the
On Sun, Jan 6, 2013 at 7:51 PM, Lee V. <lists@ruby-forum.com> wrote:
> I'm curious -- are you running in windows, and starting the program
[#402824] [ANN] Rack 1.4.2, a modular Ruby webserver interface — jftucker@...
Hello,
[#402825] ruby 1.9.3p362 ranges as conditions bug? — windwiny <windwiny.ubt@...>
Hello,
On Sun, Jan 6, 2013 at 9:09 PM, windwiny <windwiny.ubt@gmail.com> wrote:
[#402841] ETIMEDOUT - why? — Sarek Mather <lists@...>
Why do I get this error?
[#402855] Newbie question: Referencing a class inside another class — "brinda M." <lists@...>
I have an Error class defined inside another class in the lib directory
[#402856] Ruby on Android - usb/serialport — Scott Macri <lists@...>
Hello,
I'm running into a problem trying to read a line of text that has some mult=
[#402860] Call Windows .exe with arguments — "Charlie B." <lists@...>
Trying to call a windows .EXE with additional arguments. I found some
[#402865] How to identify whether a line of code will return? — Josh Cheek <josh.cheek@...>
Hi, I want to be able to identify whether a line of code will return,
[#402880] One liner for filenames — Peter Bailey <lists@...>
Hello,
Peter Bailey wrote in post #1091502:
On Tue, Jan 8, 2013 at 9:48 PM, Peter Bailey <lists@ruby-forum.com> wrote:
On Wed, Jan 9, 2013 at 4:09 PM, Robert Klemme
"Jes=C3=BAs Gabriel y Gal=C3=A1n" <jgabrielygalan@gmail.com> wrote in pos=
On Wed, Jan 9, 2013 at 5:00 PM, Peter Bailey <lists@ruby-forum.com> wrote:
[#402883] Can I require an external .js file in Ruby — Nicole Villette <lists@...>
Hello,
[#402884] Re-implementing Autoload — Intransition <transfire@...>
Finally accepting the fact that autoload will never be fixed (i.e. there it
I was able to implement a hack:
You surely know that, but let me comment that this autoload behaves in
[#402890] Pure Ruby Jobs — Brandon Weaver <keystonelemur@...>
One thing has been bugging me lately. I've been looking around for jobs in
On Tue, Jan 8, 2013 at 6:47 PM, Brandon Weaver <keystonelemur@gmail.com> wrote:
On Tue, Jan 8, 2013 at 9:35 PM, tamouse mailing lists
Another field you might be interested in is QA automation. Specifically
[#402926] Sending HTML form information to a text file or visitor_log — Adam Kennedy <lists@...>
The Subject says it all really. I am trying to have the information send
[#402932] Extending class — Damjan Rems <lists@...>
In Ruby it is possible to extend module, but not class. I am working on
[#402943] Can I create directories with dynamic names on run time using Ruby1.9? — Arup Rakshit <lists@...>
I have to download files from the web over several requests. The
Subject: Can I create directories with dynamic names on run time using Ruby1.9?
Carlo E. Prelz wrote in post #1091698:
[#402949] How to delete the folder contents using Ruby? — Arup Rakshit <lists@...>
Hi,
[#402958] how to open pop up window table? — Arup Rakshit <lists@...>
There is `text label` on a webpage, and I am trying to click on that to
[#402972] Newbie: Web app development — "Carlos A." <lists@...>
Hi!
[#402984] What DB to use for lots of categorized urls and domains? noSQL? SQL? — Eliezer Croitoru <eliezer@...>
I am wondering about what DB to choose for this goal.
On Thu, Jan 10, 2013 at 9:36 PM, Eliezer Croitoru <eliezer@ngtech.co.il> wrote:
On 1/11/2013 3:10 PM, Robert Klemme wrote:
[#402988] Refinements. Am I doing Something wrong? — Leif Gensert <lists@...>
Hello everyone,
[#402993] getting an unwanted exception from selenium-webdriver — Arup Rakshit <lists@...>
I am using `selenium-webdriver` to automate web browser related
I've never been able to suppress it, although I'm sure one of the
[#402996] Installing and using ruby gems without root privileges — Arseni Anisimovich <aruseni@...>
Hello there!
[#403009] Ruby command Line options — Arup Rakshit <lists@...>
Hi,
[#403015] How Ruby environment varibles work in realtime program? — Arup Rakshit <lists@...>
Hi,
[#403027] $SAFE variable in Ruby. — Arup Rakshit <lists@...>
The variable $SAFE determines Ruby's level of paranoia. Now it has 5
[#403051] Array methods creating confusions as per their functionalities — Arup Rakshit <lists@...>
Can any one just elaborate how the below works in Ruby, by definition
Try reading http://apidock.com/ruby/Array/zip etc.
Arup Rakshit wrote in post #1092018:
[#403062] How to take information from a text file and add them to an array — Adam Kennedy <lists@...>
Hi Im trying to take a list of usernames from a text file then add them
[#403073] question about sockets — "Ophir O." <lists@...>
hello
thank you very much !
means return + newline. Windows's way of dictating the end of a line in
[#403083] Can anyone tell me the computational logic of Unpack() method of string? — Arup Rakshit <lists@...>
Hi,
Read this carefully:
Joel Pearson wrote in post #1092065:
1.8.7 :001 > [].uniq!
> $ 'A'.unpack('b*')
[#403094] How the equality check is being done in Ruby? — Arup Rakshit <lists@...>
Hi ,
[#403116] Garbage Collection and Fibers — Na Na <lists@...>
Hi,
I have some silly preference against JRuby. For some reason I don't
On Mon, Jan 14, 2013 at 5:54 AM, Na Na <lists@ruby-forum.com> wrote:
I think it was this gem: http://rubygems.org/gems/perlin_noise
On Mon, Jan 14, 2013 at 4:15 PM, Na Na <lists@ruby-forum.com> wrote:
[#403127] Conversion of Ruby-code to c/c++ code :: URGENT Plz help — "Nilesh S." <lists@...>
Hi.. I urgent require to convert the following ruby-code to c/c++ code.
No.. its for company-question .. i have to understand this code asap..
If you know neither Ruby or C++ then no one can help you. The job you are
[#403139] Installation query — Ron Herrema <lists@...>
I'm new to Ruby and am enjoying it, but when I installed, I attempted to
OK, I'm cool, but still confused. I did as you said, Alex, but 'ruby -v'
[#403155] Where is the methods method defined ? — David Unric <lists@...>
Hi,
[#403171] RDOC nodoc tag — Thijs De vries <lists@...>
Hey Guys,
[#403172] Redom: Distributed object based server-centric user-friendly web application framework — SASADA Koichi <ko1@...>
Hi all,
I am running the redom examples (via rackup). The http-server is running
[#403185] regex hostnames? — skolo pen <lists@...>
Not versed in regex, hopefully someone can help me out.
On Tue, Jan 15, 2013 at 10:26 PM, skolo pen <lists@ruby-forum.com> wrote:
[#403205] Escaped backslashes in input strings - newbie question — John Sampson <jrs.idx@...>
I am trying to find a way of removing escaped characters in input
I should have mentioned that I was using gsub!
On Wed, Jan 16, 2013 at 3:52 PM, John Sampson <jrs.idx@ntlworld.com> wrote:
Input would be, for example, as (part of) a line in a text file,
On Wed, Jan 16, 2013 at 6:55 PM, John Sampson <jrs.idx@ntlworld.com> wrote:
On 16/01/2013 21:53, Robert Klemme wrote:
[#403209] Error: File not found. — Adam Kennedy <lists@...>
Hello guys and gals.
[#403228] Handling library versions — Melanie Koller <lists@...>
Hi!
[#403244] Adding file directory automatically — Adam Kennedy <lists@...>
I have a bit of code that will add an amount to an array and then print
[#403250] Code Reviews — Wayne Brisette <wbrisett@...>
As a solo Ruby programmer and one who is still on the learning curve, I wanted
[#403269] Module including other module. — Ricky Ng <dummey@...>
Simplified Code: https://gist.github.com/4563204
[#403278] converting Unix time to Ruby time — Fearless Fool <lists@...>
I've been passed an integer:
[#403281] How backtracking works in Ruby? — Arup Rakshit <lists@...>
Hi,
On Fri, Jan 18, 2013 at 10:01 AM, Arup Rakshit <lists@ruby-forum.com> wrote:
[#403315] 2Q: Getting first 4 elements from array and calling class methods directly — Panagiotis Atmatzidis <atma@...>
Hello fellow Rubyists!
[#403326] question about string concatenation — David Richards <lists@...>
I'm puzzled about why the following happens (I'm using v1.9.3):
On Mon, Jan 21, 2013 at 4:08 AM, David Richards <lists@ruby-forum.com>wrote:
[#403331] Newbie prompt help — Ilya Gershov <lists@...>
Hello all,
[#403350] Enumerator usage — David Richards <lists@...>
I don't understand the following:
[#403377] Getting error "getaddrinfo: No such host is known. (Socke tError)" with mechanize gem — Arup Rakshit <lists@...>
I tried the below code:
On Tue, Jan 22, 2013 at 3:52 PM, Arup Rakshit <lists@ruby-forum.com> wrote:
Robert Klemme wrote in post #1093173:
On Wed, Jan 23, 2013 at 1:53 AM, Arup Rakshit <lists@ruby-forum.com> wrote:
botp wrote in post #1093207:
[#403420] Crontabbing a Ruby script inside a screen — Dwayne Henderson <its.code.in.here@...>
Hi, I run this Ruby + Sequel script inside a screen that records data from
[#403423] Reading and looping through Excel — cristian cristian <lists@...>
Hi all!
Does this look like what you need (bottom of the page)?
Joel:
I've done something similar using the spreadsheet gem, it's easy to open =
[#403434] How to refresh a page on browser using selenium-webdriver. — Arup Rakshit <lists@...>
Follow the below part of the code:
[#403444] Processes and forks — "baq s." <lists@...>
Hi all, I have a quick problem that I am sure someone here has an
[#403445] How to DRY this up? — tamouse mailing lists <tamouse.lists@...>
I have some API calls I'm making, all with the following sort of
[#403456] Can we attach documents to excel columns using Ruby? — Arup Rakshit <lists@...>
Suppose I do have some folders in a directory. Now say directory name
> Arup Rakshit wrote in post #1093606:
Dami=C3=A1n M. Gonz=C3=A1lez wrote in post #1093640:
[#403464] Enum#select with max number of items — masta Blasta <lists@...>
My premise is that i have a large array that i'd like to iterate with
[#403473] General Ruby syntax questions — Scott Price <lists@...>
-- Can sombody please break these down and let me know what each line of
Thanks Matthew. I have one single question about the first section of
[#403486] How to get the values - "ipad,iPod" using "xpath:" concept? — Arup Rakshit <lists@...>
Please find the part of an `html` :
On Fri, Jan 25, 2013 at 12:17 PM, Arup Rakshit <lists@ruby-forum.com> wrote:
Robert Klemme wrote in post #1093735:
[#403505] limitations — Nokan Emiro <uzleepito@...>
Hi,
[#403509] Soft object reference for mark and sweep — Garthy D <garthy_lmkltybr@...>
> Any ideas as to a good way or suitable mechanisms to implement this?
[#403539] ActiveRecord class for multiple tables — Rob Marshall <lists@...>
Hi,
[#403540] Please explain in English — jooma lavata <lists@...>
I'm learning Ruby and I'm reading some expression that I saw on the
On Mon, Jan 28, 2013 at 6:39 PM, jooma lavata <lists@ruby-forum.com> wrote:
"Jes=C3=BAs Gabriel y Gal=C3=A1n" <jgabrielygalan@gmail.com> wrote in pos=
On Mon, Jan 28, 2013 at 6:55 PM, Jes=FAs Gabriel y Gal=E1n
[#403550] [ANN] Rails 3.0.20, and 2.3.16 have been released! — Aaron Patterson <tenderlove@...>
Hi everybody.
[#403553] Learning Ruby and proving your knowledge — Nathaniel Sokoll-Ward <lists@...>
Hey all,
[#403581] newbie question.. — Zebulon Bowles <lists@...>
So I'm taking a class on Ruby and it seems as though the teacher has
Since this is classwork, I won't give you the answer, but. Here's some things I
For the same reason, I won't give you any answers, but your problem
On Tue, Jan 29, 2013 at 2:52 PM, Ryan Victory <ryan@raptormail.net> wrote:
[#403604] SSLSocket in non-blocking mode — Brian Modra <lists@...>
Hi,
[#403607] (Errno::EINVAL) occurs during the File::rename() execution — Arup Rakshit <lists@...>
Hi I wrote the below code to rename the file names. The logic is during
If there's a length limit, try renaming using only the basename and then
Joel Pearson wrote in post #1094338:
Arup Rakshit wrote in post #1094339:
Look at the Ruby Gem UNF. I think that should solve your problem. =0A=0AWay=
[#403642] How to copy the directory files only to another directory? — Arup Rakshit <lists@...>
Hi,
If you don't get the relative path you can't move the file, because you
Joel Pearson wrote in post #1094397:
There are a few ways to do this, this one seems to work:
[#403656] Does Ruby has any default database with it? — Arup Rakshit <lists@...>
I will do webpage scraping using Ruby and required Gems. But looking for
Normally sqlite is the go to being that it's the default of rails. Check
Doesn't Rails come with a built in database called Brick? No additional
On Wed, Jan 30, 2013 at 10:54 AM, Colby Callahan
Hassan Schroeder wrote in post #1094424:
On Wed, Jan 30, 2013 at 11:10 AM, Arup Rakshit <lists@ruby-forum.com> wrote:
On 01/30/2013 10:21 AM, Arup Rakshit wrote:
On Wed, Jan 30, 2013 at 12:07 PM, Justin Collins <justincollins@ucla.edu>wrote:
Tony Arcieri wrote in post #1094436:
On 01/30/2013 12:27 PM, Arup Rakshit wrote:
I think the best course for a new project is to start simple, go with
tamouse mailing lists wrote in post #1094655:
Subject: Re: Does Ruby has any default database with it?
Carlo E. Prelz wrote in post #1094684:
On Fri, Feb 1, 2013 at 7:50 AM, Arup Rakshit <lists@ruby-forum.com> wrote:
[#403688] Simple Mailer Switch Not Working — Nikhil Khullar <lists@...>
Hello,
[#403698] Select "columns" from multidimensional array? — Joel Pearson <lists@...>
There's probably a simpler answer to this than the ways I've come up
Thanks robert
On Thu, Jan 31, 2013 at 3:14 PM, Joel Pearson <lists@ruby-forum.com> wrote:
I decided to try and build on the Array class as I don't really
I've decided to inherit from array after all, since all I want to do
On Tue, Feb 12, 2013 at 1:19 PM, Joel Pearson <lists@ruby-forum.com> wrote:
Thanks for the advice and examples, I'll see whether I can understand
Hah, I wrote that head exploding comment first and then managed to work =
[#403715] Problem redefining String::to_s — Javier 12 <lists@...>
I've been checking String::to_s source code and found an issue.
I'm using CentOS, it ships with that version but it's fine.
Am 02.02.2013 01:07, schrieb Javier 12:
[#403718] Ruby Project Ideas to get someone hired... — Colby Callahan <colby.callahan@...>
I have started learning Ruby this past week and have down the basics of
A good idea is to switch to a Unix OS first if you plan to get hired ;)
Environment setup wise, running a Linux VM makes life a lot more enjoyable.
Thank you Ricky. Pacman seems like a fun project. It sounds like Gosu
Hello,
On Fri, 1 Feb 2013, Colby Callahan wrote:
Thanks Matt. I just installed virtual box, ubuntu 12.10 32 bit, is up and
[ANN] ruby 2.0.0-rc1 released
Japanese follows; 日本語はあとで
Hello all --
We are pleased to announce the release of Ruby 2.0.0-rc1, the first release
candidate of Ruby 2.0.0.
* http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-rc1.tar.bz2
SIZE: 10822768 bytes
MD5: 24cebdda11e01ff4889ac983cd7dc02c
SHA256: 4033ddadd0b44eecfcb7686231ebd109ee6f22bf09797a7e15882b9df0b1ee81
* http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-rc1.tar.gz
SIZE: 13621408 bytes
MD5: 7d587dde85e0edf7a2e4f6783e6c0e2e
SHA256: f9ca3e5b539ccf6bca6875d448a1aec34e73f7c173af180e58500c6f47096916
* http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-rc1.zip
SIZE: 15117193 bytes
MD5: 6ff5475553946c4dba1f68e9ce42e606
SHA256: 76e7ed7e95057a77bd80f557a60be6a46eb0e17fa7815aadca26d475f7a8f72a
## 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 [#6636]
- DTrace support
- TracePoint
- Optimized IO performance on Windows
- NativeClient support
- Documentation improvement
- Enhanced asynchronous interrupt handling
- Launch-time memory usage tuning parameters
- Refinements [experimental]
.. and more improvements. See NEWS for details.
- http://svn.ruby-lang.org/repos/ruby/tags/v2_0_0_rc1/NEWS
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 a some benchmark programs
that have become 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.
### Support level of Each Platform
We plan to decide "supported level list" depending upon whether 2.0.0-rc1
builds/works or not on each platform.
Please try it on your favorite platform(s), and report if it works all right
or not!
### Schedule
There are still minor known issues. We are now engaged in fixing them.
We will release 2.0.0-rc2 in early February, and 2.0.0-p0 at 24th Feb.
(the 20th anniversary of Ruby).
Thanks!
こんにちは。
Ruby 2.0.0-rc1 をリリースします。Ruby 2.0.0 の最初の release candidate です。
* http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-rc1.tar.bz2
SIZE: 10822768 bytes
MD5: 24cebdda11e01ff4889ac983cd7dc02c
SHA256: 4033ddadd0b44eecfcb7686231ebd109ee6f22bf09797a7e15882b9df0b1ee81
* http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-rc1.tar.gz
SIZE: 13621408 bytes
MD5: 7d587dde85e0edf7a2e4f6783e6c0e2e
SHA256: f9ca3e5b539ccf6bca6875d448a1aec34e73f7c173af180e58500c6f47096916
* http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-rc1.zip
SIZE: 15117193 bytes
MD5: 6ff5475553946c4dba1f68e9ce42e606
SHA256: 76e7ed7e95057a77bd80f557a60be6a46eb0e17fa7815aadca26d475f7a8f72a
## 2.0.0 の新機能
- キーワード引数
- Enumerable#lazy
- Module#prepend
- #to_h: Hash への変換メソッド
- %i: シンボルの配列のリテラル
- 正規表現エンジンを Onigmo に変更(鬼雲: 鬼車の派生版)
- Enumerator#size が導入された [#6636]
- DTrace サポート
- TracePoint
- Windows での IO の性能改善
- NativeClient サポート
- ドキュメントの改善
- 非同期割り込み制御機能の改良
- 起動時のメモリ使用量設定機能
- Refinements [実験的機能]
その他改善多数。詳しくは NEWS をご覧あれ。
- http://svn.ruby-lang.org/repos/ruby/tags/v2_0_0_rc1/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 の将来のバージョンで変化する可能性があることに注意してください。
### プラットフォームのサポートレベル
各プラットフォームのサポート状況は、2.0.0-rc1 の動作実績を元に決める予定です。
是非あなたのプラットフォームで動作させてみて、問題なく動くかどうかを報告して
ください。
### 今後の予定
まだ小さな既知の問題が残っています。現在修正に取り組んでいます。
2 月上旬に 2.0.0-rc2 を、2 月 24 日 (Ruby 20 周年の日) に 2.0.0-p0 をリリース
する予定です。
--
Yusuke Endoh <mame@tsg.ne.jp>