[#17055] Set#map! vs. map — "David A. Black" <dblack@...>
Hi --
Hi,
At Tue, 3 Jun 2008 10:13:07 +0900,
At Tue, 3 Jun 2008 13:39:10 +0900,
Hi --
At Tue, 3 Jun 2008 18:03:23 +0900,
[#17067] Eval'ing 'yield' in 1.8 and 1.9 — "Vladimir Sizikov" <vsizikov@...>
Hi,
Hi,
[#17069] Ruby on zLinux — "Eric K. Dickinson" <eric.dickinson@...>
I posted this on the Ruby-Talk list with no success.
[#17084] Enumerable::Enumerator#with_memo — "Akinori MUSHA" <knu@...>
Hi,
Akinori MUSHA wrote:
Akinori MUSHA wrote:
On Mon, Jun 9, 2008 at 12:11 PM, David Flanagan <david@davidflanagan.com> wrote:
On Mon, Jun 9, 2008 at 10:57 PM, Jeremy Kemper <jeremy@bitsweat.net> wrote:
Martin DeMello wrote:
On Tue, Jun 10, 2008 at 10:04 AM, David Flanagan
David Flanagan wrote:
[#17092] Iconv#iconv(str, start, length) doesn't really convert str[start, length] — Vincent <vincentlu@...>
Hi Core,
Hi Core,
Hi,
[#17106] r16747: This commit and comment are real? — "Luis Lavena" <luislavena@...>
Checking a feed of the changes in ruby repository found this:
On Wed, Jun 4, 2008 at 7:21 PM, Luis Lavena <luislavena@gmail.com> wrote:
[#17116] Standardizing RUBY_PLATFORM — Brian Ford <brixen@...>
Hi all,
On Jun 4, 8:52=A0pm, Brian Ford <bri...@gmail.com> wrote:
[#17126] remove ObjectSpace.each_object from test/unit — Tanaka Akira <akr@...>
I wrote a patch to remove ObjectSpace.each_object from test/unit.
[#17155] lambda { break } — ts <decoux@...>
Hi,
[#17161] Ruby 1.8.7-p17 has been released — "Akinori MUSHA" <knu@...>
Folks,
[#17162] Release Plan: Ruby 1.9.0-2 — SASADA Koichi <ko1@...>
Hi,
Hi,
Hi,
Hi,
Kouhei Sutou <kou@cozmixng.org> writes:
I have to agree, on the documentation side.
SASADA Koichi wrote:
[#17167] Mail count in Subject — "Dirk Traulsen" <dirk.traulsen@...>
Hi!
All,
Warren Brown wrote:
At 11:54 08/06/10, Urabe Shyouhei wrote:
On Tue, Jun 10, 2008 at 4:54 AM, Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
Luis Lavena wrote:
[#17186] REXML Separation — Federico Builes <federico.builes@...>
Hello,
[#17261] [Ruby 1.9 - Bug #161] (Open) Profile library seems broken in 1.9 15427cat t.rv — Dave Thomas <redmine@...>
Issue #161 has been reported by Dave Thomas.
[#17272] [Ruby 1.9 - Bug #167] (Open) net/telnet login() method no longer works under 1.9 — Dave Thomas <redmine@...>
Issue #167 has been reported by Dave Thomas.
On Jun 15, 2008, at 11:25 PM, Dave Thomas wrote:
Yes, indeed it does...
[#17283] Major change in 1.8.6: convert_type now uses private conversion methods too — "Vladimir Sizikov" <vsizikov@...>
Hi,
Vladimir Sizikov wrote:
Hi,
[#17291] miniruby dependencies broken in 1.9 — Ryan Davis <ryand-ruby@...>
I've been having builds break with -j 4. This should add $(PREP) to
Hi,
[#17293] [Ruby 1.8 - Bug #175] (Open) Rational#power2 raises a NameError or causes infinite loops when passed a Rational — Arthur Schreiber <redmine@...>
Issue #175 has been reported by Arthur Schreiber.
[#17310] [Ruby 1.9 - Bug #178] (Open) File.open on sprintf-formatted string fails with encoding conversion error on OS X — Eric Hodel <redmine@...>
Issue #178 has been reported by Eric Hodel.
Issue #178 has been updated by Yui NARUSE.
[#17327] A plea for a release process — Brian Ford <brixen@...>
Hi all,
Hello,
On Jun 18, 1:12=A0pm, "U.Nakamura" <u...@garbagecollect.jp> wrote:
[#17345] Understanding the output of Kernel#caller — "Wilson Bilkovich" <wilsonb@...>
I am trying to understand what Ruby 1.8 outputs when "caller" is invoked.
[#17353] patches for tests of rubygems — "Yusuke ENDOH" <mame@...>
Hi,
Hi,
On Jun 24, 2008, at 05:55 AM, Yusuke ENDOH wrote:
On Jun 25, 2008, at 11:21 AM, Eric Hodel wrote:
[#17356] A faster Array#delete — Daniel Berger <djberg96@...>
Hi all,
[#17377] Re: Ruby 1.9.0/1.8.7/1.8.6/1.8.5 new releases (Security Fix) — "Bill Kelly" <billk@...>
Hi,
[#17392] XMLRPC socket patch — Dario Meloni <mellon85@...>
Hi,
[#17393] URGENT: Possible fixes for segfaults and vulnerabilities available for review in ruby-talk — "Igal Koshevoy" <igal@...>
All currently available versions of MRI Ruby are either vulnerable to
Sorry for a late reply but I think I've fixed this issue. Can someone
Urabe Shyouhei wrote:
Igal Koshevoy wrote:
Urabe Shyouhei wrote:
Igal Koshevoy wrote:
Urabe Shyouhei wrote:
Hello, I think current 1.8.6/1.8.7 is stable than p230/p22, so I decided
On Wed, Jul 2, 2008 at 12:41 PM, Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
Hello,
Hi Urabe,
Vladimir Sizikov wrote:
Charles Oliver Nutter wrote:
Urabe Shyouhei wrote:
Igal Koshevoy wrote:
Charles Oliver Nutter wrote:
On 7/3/08, Igal Koshevoy <igal@pragmaticraft.com> wrote:
Wilson Bilkovich wrote:
Charles Oliver Nutter wrote:
On 02/07/2008, Charles Oliver Nutter <charles.nutter@sun.com> wrote:
In article <a5d587fb0807160533r4534fabdg257b4a9523b15f1e@mail.gmail.com>,
On Sat, Jul 19, 2008 at 02:18:05PM +0900, Federico Builes wrote:
On Sun, Jul 20, 2008 at 12:43:46AM +0900, Federico Builes wrote:
When will we see a new 1.8.6 release?
Hi,
Hi,
On Fri, Jul 25, 2008 at 02:04:15AM +0900, Vladimir Sizikov wrote:
On Fri, Jul 25, 2008 at 04:35:43AM +0900, Jeremy Henty wrote:
Jeremy,
Hi,
On Thu, Jul 24, 2008 at 9:19 PM, Nobuyoshi Nakada <nobu@ruby-lang.org>
Hi,
Hi,
When can we expect a release?
Hi Vladimir, hi Urabe,
Thank you, I merged this revision into 1.8.7.
Hi,
In article <48662E99.7030508@pragmaticraft.com>,
Federico Builes wrote:
Igal Koshevoy wrote:
M. Edward (Ed) Borasky wrote:
Igal Koshevoy wrote:
Igal Koshevoy wrote:
Tanaka Akira wrote:
In article <48678E3D.8020602@pragmaticraft.com>,
Tanaka Akira wrote:
In article <4867A6AC.4060902@pragmaticraft.com>,
[#17412] Time for a release management committee? — Charles Oliver Nutter <charles.nutter@...>
It seems like recent problems with patchlevel and minor 1.8 releases
[#17427] 1.8 release management — Yukihiro Matsumoto <matz@...>
Hi,
On Sun, Jun 29, 2008 at 06:06:14PM +0900, Yukihiro Matsumoto wrote:
Hi,
Let me describe some simple questions about Ruby 1.8.6 that are not
For what I know,
On 6/30/08, Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
Wilson Bilkovich wrote:
On Thu, Jul 3, 2008 at 4:41 PM, Igal Koshevoy <igal@pragmaticraft.com> wrote:
Luis Lavena wrote:
Urabe Shyouhei wrote:
Igal Koshevoy wrote:
Urabe Shyouhei wrote:
Hi,
Vladimir Sizikov wrote:
On Fri, Jul 4, 2008 at 10:49 PM, Igal Koshevoy <igal@pragmaticraft.com> wrote:
[ruby-core:17353] patches for tests of rubygems
Hi,
Twelve test cases for rubygems fail in my environment.
| $ make test-all TESTS=rubygems
| ./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb
./runruby.rb --extout=.ext -- "./test/runner.rb" --basedir="./test"
--runner=console rubygems
| Gem::Indexer tests are being skipped. Install builder gem.
| Loaded suite rubygems
| Started
| ...............................FF...................................................................................................................................................................................................F......E........................................E...E..........................E...........................................................................................................................................................................................................................................................................................................EEEEE....................................................
| Finished in 21.170319349 seconds.
|
| 1) Failure:
| test_self_prefix_libdir(TestGem)
[/home/mame/work/ruby19/ruby/test/rubygems/test_gem.rb:343]:
| <nil> expected but was
| <"/home/mame/work/ruby19/ruby">.
|
| 2) Failure:
| test_self_prefix_sitelibdir(TestGem)
[/home/mame/work/ruby19/ruby/test/rubygems/test_gem.rb:356]:
| <nil> expected but was
| <"/home/mame/work/ruby19/ruby">.
I think the tests are wrong. Here is patch. I referred to
test_self_prefix.
Index: test/rubygems/test_gem.rb
===================================================================
--- test/rubygems/test_gem.rb (revision 17489)
+++ test/rubygems/test_gem.rb (working copy)
@@ -337,6 +337,7 @@
file_name = File.expand_path __FILE__
prefix = File.dirname File.dirname(file_name)
+ prefix = File.dirname prefix if File.basename(prefix) == 'test'
Gem::ConfigMap[:libdir] = prefix
@@ -350,6 +351,7 @@
file_name = File.expand_path __FILE__
prefix = File.dirname File.dirname(file_name)
+ prefix = File.dirname prefix if File.basename(prefix) == 'test'
Gem::ConfigMap[:sitelibdir] = prefix
| 3) Failure:
| test_self_build(TestGemExtConfigureBuilder)
[/home/mame/work/ruby19/ruby/test/rubygems/test_gem_ext_configure_builder.rb:37]:
| <["sh ./configure --prefix=/tmp/test_rubygems_12643/prefix",
| "",
| "make",
| "ok\n",
| "make install",
| "ok\n"]> expected but was
| <["sh ./configure --prefix=/tmp/test_rubygems_12643/prefix",
| "",
| "make",
| "make[1]: Entering directory
`/tmp/test_rubygems_12643/ext'\nok\nmake[1]: Leaving directory
`/tmp/test_rubygems_12643/ext'\n",
| "make install",
| "make[1]: Entering directory
`/tmp/test_rubygems_12643/ext'\nok\nmake[1]: Leaving directory
`/tmp/test_rubygems_12643/ext'\n"]>.
make prints Entering/Leaving directory in my environment.
Index: test/rubygems/test_gem_ext_configure_builder.rb
===================================================================
--- test/rubygems/test_gem_ext_configure_builder.rb (revision 17489)
+++ test/rubygems/test_gem_ext_configure_builder.rb (working copy)
@@ -29,12 +29,12 @@
Gem::Ext::ConfigureBuilder.build nil, nil, @dest_path, output
end
- expected = [
- "sh ./configure --prefix=#{@dest_path}",
- "", "make", "ok\n", "make install", "ok\n"
- ]
-
- assert_equal expected, output
+ assert_equal "sh ./configure --prefix=#{@dest_path}", output.shift
+ assert_equal "", output.shift
+ assert_equal "make", output.shift
+ assert_match /^ok$/m, output.shift
+ assert_equal "make install", output.shift
+ assert_match /^ok$/m, output.shift
end
def test_self_build_fail
| 4) Error:
| test_class_build(TestGemExtRakeBuilder):
| Gem::InstallError: rake failed:
|
| /home/mame/work/ruby19/local/bin/ruby mkrf_conf.rb
|
| rake RUBYARCHDIR=/tmp/test_rubygems_12643/prefix
RUBYLIBDIR=/tmp/test_rubygems_12643/prefix
| sh: rake: command not found
|
| /home/mame/work/ruby19/ruby/lib/rubygems/ext/builder.rb:51:in `run'
| /home/mame/work/ruby19/ruby/lib/rubygems/ext/rake_builder.rb:21:in `build'
| /home/mame/work/ruby19/ruby/test/rubygems/test_gem_ext_rake_builder.rb:31:in
`block in test_class_build'
| /home/mame/work/ruby19/ruby/test/rubygems/test_gem_ext_rake_builder.rb:29:in
`chdir'
| /home/mame/work/ruby19/ruby/test/rubygems/test_gem_ext_rake_builder.rb:29:in
`test_class_build'
The test failed to execute rake, because I installed ruby and rake
to /home/mame/work/ruby19/local that is not included in the
environment variable PATH.
I guess this test should specify an absolute path to rake.
In addition, lib/rubygems/ext/rake_builder.rb tried to rewrite a
frozen string (which was returned from ENV object) destructively.
I think it's a bug.
Index: runruby.rb
===================================================================
--- runruby.rb (revision 17489)
+++ runruby.rb (working copy)
@@ -46,6 +46,7 @@
config["bindir"] = abs_archdir
ENV["RUBY"] = File.expand_path(ruby)
ENV["PATH"] = [abs_archdir, ENV["PATH"]].compact.join(File::PATH_SEPARATOR)
+ENV["rake"] = ENV["RUBY"] + " " + File.join(abs_archdir, "bin", "rake")
if pure
libs << File.expand_path("ext", srcdir) << "-"
Index: test/rubygems/test_gem_ext_rake_builder.rb
===================================================================
--- test/rubygems/test_gem_ext_rake_builder.rb (revision 17489)
+++ test/rubygems/test_gem_ext_rake_builder.rb (working copy)
@@ -34,7 +34,7 @@
expected = [
"#{Gem.ruby} mkrf_conf.rb",
"",
- "rake RUBYARCHDIR=#{@dest_path} RUBYLIBDIR=#{@dest_path}",
+ "#{ENV["rake"] || "rake"} RUBYARCHDIR=#{@dest_path}
RUBYLIBDIR=#{@dest_path}",
"(in #{realdir})\n"
]
@@ -63,7 +63,7 @@
#{Gem.ruby} mkrf_conf.rb
-rake RUBYARCHDIR=#{@dest_path} RUBYLIBDIR=#{@dest_path}
+#{ENV["rake"] || "rake"} RUBYARCHDIR=#{@dest_path} RUBYLIBDIR=#{@dest_path}
EOF
assert_equal expected, error.message.split("\n")[0..4].join("\n")
Index: lib/rubygems/ext/rake_builder.rb
===================================================================
--- lib/rubygems/ext/rake_builder.rb (revision 17489)
+++ lib/rubygems/ext/rake_builder.rb (working copy)
@@ -16,7 +16,7 @@
end
cmd = ENV['rake'] || 'rake'
- cmd << " RUBYARCHDIR=#{dest_path} RUBYLIBDIR=#{dest_path}"
+ cmd += " RUBYARCHDIR=#{dest_path} RUBYLIBDIR=#{dest_path}"
run cmd, results
| 7) Error:
| test_execute(TestGemOutdatedCommand):
| Gem::RemoteFetcher::FetchError: getaddrinfo: Name or service not
known (SocketError)
| fetching size (http://gems.example.com/yaml)
| /home/mame/work/ruby19/ruby/lib/rubygems/remote_fetcher.rb:173:in
`rescue in fetch_size'
| /home/mame/work/ruby19/ruby/lib/rubygems/remote_fetcher.rb:153:in
`fetch_size'
| /home/mame/work/ruby19/ruby/lib/rubygems/spec_fetcher.rb:146:in
`rescue in block in legacy_repos'
| /home/mame/work/ruby19/ruby/lib/rubygems/spec_fetcher.rb:142:in
`block in legacy_repos'
| /home/mame/work/ruby19/ruby/lib/rubygems/spec_fetcher.rb:138:in `reject'
| /home/mame/work/ruby19/ruby/lib/rubygems/spec_fetcher.rb:138:in
`legacy_repos'
| /home/mame/work/ruby19/ruby/lib/rubygems/spec_fetcher.rb:237:in
`warn_legacy'
| /home/mame/work/ruby19/ruby/lib/rubygems/source_index.rb:310:in
`rescue in block in outdated'
| /home/mame/work/ruby19/ruby/lib/rubygems/source_index.rb:305:in
`block in outdated'
| /home/mame/work/ruby19/ruby/lib/rubygems/source_index.rb:302:in `each'
| /home/mame/work/ruby19/ruby/lib/rubygems/source_index.rb:302:in `outdated'
| /home/mame/work/ruby19/ruby/lib/rubygems/commands/outdated_command.rb:21:in
`execute'
| /home/mame/work/ruby19/ruby/test/rubygems/test_gem_outdated_command.rb:33:in
`block in test_execute'
| /home/mame/work/ruby19/ruby/lib/rubygems/user_interaction.rb:42:in
`use_ui'
| /home/mame/work/ruby19/ruby/lib/rubygems/user_interaction.rb:65:in
`use_ui'
| /home/mame/work/ruby19/ruby/test/rubygems/test_gem_outdated_command.rb:33:in
`test_execute'
The test tried to resolve gems.example.com, and of course failed.
I have no idea to remove this error.
| 664 tests, 1917 assertions, 3 failures, 9 errors
| make: *** [test-all] Error 1
Other failures and errors are removed by above patches.
What do you think?
--
Yusuke ENDOH <mame@tsg.ne.jp>