[#46184] [ruby-trunk - Bug #7095][Open] Non-recursive marking — "authorNari (Narihiro Nakamura)" <authorNari@...>
6 messages
2012/10/01
[#46189] [ruby-trunk - Bug #7100][Open] WEBrick::HTTPServer.new で BindAddress を指定しない場合に必ず警告が記録される — "sho-h (Sho Hashimoto)" <sho-h@...>
5 messages
2012/10/02
[#46203] [ruby-trunk - Bug #7111][Open] New build option to enable/disable global method caching — "shugo (Shugo Maeda)" <redmine@...>
5 messages
2012/10/06
[#46258] [ANN] 2.0.0 feature freeze — Yusuke Endoh <mame@...>
Japanese later; 日本語は後で
5 messages
2012/10/24
[#46309] [ruby-trunk - Bug #2154][Assigned] filesystem encoding of UNIX — "usa (Usaku NAKAMURA)" <usa@...>
13 messages
2012/10/29
[#46310] Re: [ruby-trunk - Bug #2154][Assigned] filesystem encoding of UNIX
— Tanaka Akira <akr@...>
2012/10/29
2012年10月29日 10:31 usa (Usaku NAKAMURA) <usa@garbagecollect.jp>:
[#46366] Re: [ruby-trunk - Bug #2154][Assigned] filesystem encoding of UNIX
— "U.Nakamura" <usa@...>
2012/11/02
こんにちは、なかむら(う)です。
[#46375] Re: [ruby-trunk - Bug #2154][Assigned] filesystem encoding of UNIX
— KOSAKI Motohiro <kosaki.motohiro@...>
2012/11/02
>> とくに指定しなければ、default external は locale から設定されるので、
[#46376] Re: [ruby-trunk - Bug #2154][Assigned] filesystem encoding of UNIX
— Urabe Shyouhei <shyouhei@...>
2012/11/02
On 11/02/2012 01:56 PM, KOSAKI Motohiro wrote:
[#46396] Re: [ruby-trunk - Bug #2154][Assigned] filesystem encoding of UNIX
— "U.Nakamura" <usa@...>
2012/11/05
こんにちは、なかむら(う)です。
[ruby-dev:46241] Re: [ruby-trunk - Feature #6875] Make test/unit default gem
From:
Kouhei Sutou <kou@...>
Date:
2012-10-20 07:46:33 UTC
List:
ruby-dev #46241
# https://bugs.ruby-lang.org/issues/6875 から投稿しようとす
# るとInternal Server Errorになるのでメールで送ります。
# これでもRedmineに登録されるんですよね。
I'm the test-unit gem maintainer and working on default gem for RubyGems library.
I want to make Ruby users (especially test-unit gem users) life easier.
> Could you please enlighten what this issue solves?
OK. I'll describe it.
Here is a problem that I want to solve by this issue:
test_xxx.rb:
require "test/unit"
class TestXXX < Test::Unit::TestCase
def test_xxx
assert_equal(3, 1 + 2)
end
end
test_xxx_with_explicit_gem_test-unit.rb:
gem "test-unit"
require "./test_xxx"
Current:
% ruby test_xxx.rb # -> uses test/unit in StdLib
% gem install test-unit
% ruby test_xxx.rb # -> still uses test/unit in StdLib
% ruby test_xxx_with_explicit_gem_test-unit.rb # -> uses test-unit gem
Expected:
% ruby test_xxx.rb # -> uses test/unit in StdLib (same)
% gem install test-unit
% ruby test_xxx.rb # -> still uses test/unit in StdLib (different)
% ruby test_xxx_with_explicit_gem_test-unit.rb # -> uses test-unit gem (same)
> Adding .gemspec is not enough to create valid gem.
It is right. There are still some tasks to implement default gem feature.
> 1) The /usr/bin stub allow to load specified version of gem, e.g. calling $ testrb _2.5.2_ should call the latest version of test-unit but your stub does not do so
It is right. But it doesn't cause the problem in testrb case. Because test-unit gem dropped testrb to avoid conflicting testrb that is installed by Ruby.
(It is not needed soon. I will implement the feature later.)
> 2) The gem usually contains code. It does not depend on some code lying somewhere in the StdLib
It is right. (.gemspec for test/unit StdLib doesn't have any problems for it, doesn't it?)
> 3) The gem could be usually found on rubygems.org. While there is test-unit available on rubygems.org, it is definitely different test-unit then the one shipped with Ruby.
It is right. (.gemspec for test/unit StdLib doesn't have any problems for it, doesn't it?)
> Could you please stop confusing Ruby users and stop to make life harder to us, packagers?
I don't want to confusing Ruby users and make life harder to packages. If they have problems, I want to resolve them.
> I'd really love to be able to break StdLib into independent rubygems
The "rubygems" means that gem packages on RubyGems.org not RubyGems library itself, doesn't it?
If it is true, the change doesn't depend on additional gem packages.
> can be packaged separately and updated separately, but this is not the way.
You can do both of them.
You just put test-unit.gemspec to Ruby's package. It doesn't add any additional dependencies.
RubyGems library does all other works. (It is work in progress. https://github.com/rubygems/rubygems/pull/377 )
Again, I want to implement default gem feature *without* bothering packagers.
I don't know packagers' tasks well. Could you please tell me your problems? I'll resolve them.
Thanks.