Control: reassign -1 ruby-locale 2.0.5-6 Francesco Poli: > I can't see anything in apt-listbugs *itself* that directly handles > locale environment variables. I believe that this "dirty work" is > delegated to the ruby-gettext library. > I am consequently reassigning your bug report to the ruby-gettext > package.
The bug is actually in ruby-locale:
$ locale
LANG=
LANGUAGE=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
$ LC_CTYPE=it_IT.UTF-8 ruby1.8 test/test_detect_general.rb
Loaded suite test/test_detect_general
Started
..F
===============================================================================
Failure:
test_default(TestDetectGeneral)
test/test_detect_general.rb:129:in `test_default'
126: return unless /linux|bsd/ =~ RUBY_PLATFORM
127: Locale.set_default("yo_NG")
128: assert_equal Locale::Tag.parse("yo_NG"), Locale.default
=> 129: assert_equal Locale::Tag.parse("yo_NG"), Locale.current[0]
130: Locale.set_default(nil)
131:
132: Locale.default = "fr"
<#<Locale::Tag::Simple: yo_NG>> expected but was
<#<Locale::Tag::Posix: it_IT.UTF-8>>
===============================================================================
F
===============================================================================
Failure:
test_lang(TestDetectGeneral)
test/test_detect_general.rb:54:in `test_lang'
51:
52: lang = Locale.current[0]
53: assert_equal Locale::Tag::Posix, lang.class
=> 54: assert_equal "ja", lang.language
55: assert_equal "JP", lang.region
56: assert_equal "eucJP", lang.charset
57: assert_equal Locale::Tag::Posix.new("ja", "JP", "eucJP"),
lang
<"ja"> expected but was
<"it">
===============================================================================
...F
===============================================================================
Failure:
test_lc_messages(TestDetectGeneral)
test/test_detect_general.rb:38:in `test_lc_messages'
35:
36: lang = Locale.current[0]
37: assert_equal Locale::Tag::Posix, lang.class
=> 38: assert_equal "ja", lang.language
39: assert_equal "JP", lang.region
40: assert_equal "eucJP", lang.charset
41: assert_equal Locale::Tag::Posix.new("ja", "JP", "eucJP"),
lang
<"ja"> expected but was
<"it">
===============================================================================
.
Finished in 0.024338 seconds.
9 tests, 43 assertions, 3 failures, 0 errors, 0 pendings, 0 omissions, 0
notifications
66.6667% passed
--
Jérémy Bobbio .''`.
[email protected] : :Ⓐ : # apt-get install anarchism
`. `'`
`-
signature.asc
Description: Digital signature
_______________________________________________ Pkg-ruby-extras-maintainers mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers
