Ruby 1.8.5 feature in English

[email protected],5A$G$9!#e(B

[ruby-dev:29299]e$B$K$D$$$F$G$9$,!"8D?ME*$K$Oe(BRubye$B$N5sF0$O$5$F$*$-!“e(B
e$B7Y9p$r=P$9$J$i$=$N;]$r%”%J%&%s%9$G$-$l$P$h$$$N$G$O$J$$$+$He(B
e$B;W$$$^$9!#e(B

e$B$C$F!"$=$b$=$b%j%j!<%9$N%"%J%&%s%9$NOC$O$<$s$<$s?J$s$G$J$$$He(B
e$B;W$&$N$G!"e(B

ruby 1.8.5 feature
http://www.ruby-lang.org/ja/man/?cmd=view;name=ruby+1.8.5+feature

e$B$r1Q8l$C$]$/$7$F$_$^$7$?!#$,!"0lHV:[email protected]$1$h$/$o$+$j$^$;$s$Ge(B
e$B$7$?!D!D!#e(B

= ruby 1.8.5 feature

== Tag Notation

* level
      o [bug]: fix bugs
      o [new]: add new classes/methods
      o [compat]: modify classes/methods
            + (almost) compatible
            + only backward-compatibility
      o [change]: modify classes/methods (not compatibile)
      o [obsolete]: (will be) obsoleted functions
      o [platform]: add new platform

== 1.8.4 (2005-12-24) -> 1.8.5

  • 2006-06-18

BasicSocket#recv_nonblock [new]
UDPSocket#recvfrom_nonblock [new]

  • 2006-06-17

Pathname(path) [new]

Kernel#pretty_inspect [new]

RSS::TaxonomyTopicModel [new]
RSS::TaxonomyTopicsModel [new]
RSS::Maker::TaxonomyTopicModel [new]
RSS::Maker::TaxonomyTopicsModel [new]

RSS Parser/RSS Maker supports Taxonomy module.

RSS::Maker xxx.new_yyy(&block) [compat]

maker.items.new_item supports block. [ruby-talk:197284]

old:

  item = maker.items.new_item
  item.xxx = yyy
  ...

new:

  maker.items.new_item |item|
    item.xxx = yyy
    ...
  end

RSS::RootElementMixin#to_xml [new]

You can convert RSS files from RSS 1.0 to RSS 2.0.

  rss10 = RSS::Parser.parse(File.read("1.0.rdf"))
  File.open("2.0.rss", "w") {|f| f.print(rss10.to_xml("2.0"))}

[ruby-talk:197284]

RSS::VERSION

"0.1.5" -> "0.1.6"
  • 2006-06-14

Process.getrlimit(resource) [new]
Process.setrlimit(resource, limit) [new]
Process.setrlimit(resource, cur_limit, max_limit) [new]
Process::RLIM_INFINITY
Process::RLIM_SAVED_MAX
Process::RLIM_SAVED_CUR
Process::RLIMIT_CORE
Process::RLIMIT_CPU
Process::RLIMIT_DATA
Process::RLIMIT_FSIZE
Process::RLIMIT_NOFILE
Process::RLIMIT_STACK
Process::RLIMIT_AS
Process::RLIMIT_MEMLOCK
Process::RLIMIT_NPROC
Process::RLIMIT_RSS
Process::RLIMIT_SBSIZE

added [ruby-dev:28729]
  • 2006-06-11

OptionParser#getopts [new]
changed the name of tempolary file which tempfile
make(. -> ..)
[ruby-talk:196272]

  • 2006-06-07

configure --with-winsock2 [new]

added new configure option that use winsock2 instead of winsock1 in

mswin32 and mingw32.

  • 2006-06-02

TCPServer#accept_nonblock [new]
UNIXServer#accept_nonblock [new]

[ruby-core:7925]
  • 2006-05-22

IO#read_nonblock [new]
IO#write_nonblock [new]
Socket#connect_nonblock [new]
Socket#accept_nonblock [new]
Socket#recvfrom_nonblock [new]

[ruby-core:7917]
  • 2006-02-21

File#link [bug]

fixed a bug that File#link was broked in mswin32 and mingw32.
  • 2006-02-20

RbConfig [new]

rbconfig defines RbConfig as same as Config.
  • 2006-02-06

File#flock [bug]

fixed a bug that flock(File::LOCK_UN) without lock stop other Ruby's

threads in cygwin.

  • 2006-02-04

File#flock [bug]

fixed a bug that flock(File::LOCK_UN) without lock stop other Ruby's

threads in mswin32.

  • 2005-12-29

Thread [compat]

e$BB>$+$iA`:n$5$l$J$$8B$jF0$-=P$5$J$$$K$b$+$+$o$i$:B>$+$i;2>H$5$l$F$$$Je(B

e$B$$e(B thread e$B$Oe(B abort e$B$5$l$k$h$&$K$J$j$^$7$?e(B
[ruby-dev:28154]

[email protected]$G$9!#e(B

At Sun, 20 Aug 2006 15:38:58 +0900,
Masayoshi T. wrote in [ruby-dev:29335]:

  • 2006-06-11

OptionParser#getopts [new]

e$B$3$l$He(B

changed the name of tempolary file which tempfile

make(. -> ..) [ruby-talk:196272]

[email protected]$H;W$$$^$9!#e(B

tempolary?

  • 2005-12-29

Thread [compat]

e$BB>$+$iA`:n$5$l$J$$8B$jF0$-=P$5$J$$$K$b$+$+$o$i$:B>$+$i;2>H$5$l$F$$$Je(B

e$B$$e(B thread e$B$Oe(B abort e$B$5$l$k$h$&$K$J$j$^$7$?e(B [ruby-dev:28154]

e$BDd;_$7$?%9%l%C%I$Oe(BGCe$B$NBP>]$K$J$k$h$&$K$J$C$?!#$/$i$$$8$c%@%a$Ge(B
e$B$9$+$M!#e(B

e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B

In message “Re: [ruby-dev:29335] Ruby 1.8.5 feature in English”
on Sun, 20 Aug 2006 15:38:58 +0900, Masayoshi T.
[email protected] writes:
|
|[email protected],5A$G$9!#e(B
|
|[ruby-dev:29299]e$B$K$D$$$F$G$9$,!“8D?ME*$K$Oe(BRubye$B$N5sF0$O$5$F$*$-!“e(B
|e$B7Y9p$r=P$9$J$i$=$N;]$r%”%J%&%s%9$G$-$l$P$h$$$N$G$O$J$$$+$He(B
|e$B;W$$$^$9!#e(B
|
|e$B$C$F!”$=$b$=$b%j%j!<%9$N%"%J%&%s%9$NOC$O$<$s$<$s?J$s$G$J$$$He(B
|e$B;W$&$N$G!"e(B
|
| ruby 1.8.5 feature
| http://www.ruby-lang.org/ja/man/?cmd=view;name=ruby+1.8.5+feature
|
|e$B$r1Q8l$C$]$/$7$F$_$^$7$?!#$,!"0lHV:[email protected]$1$h$/$o$+$j$^$;$s$Ge(B
|e$B$7$?!D!D!#e(B

Mauricio F. [email protected]e$B$,$^$H$a$F$/$l$F$^$9!#e(B

http://eigenclass.org/hiki.rb?ruby+1.8.5+changelog

e$B;29M$K$J$j$=$&$G$9!#e(B