Package: ruby-fast-gettext / 1.3.0-1

Metadata

Package Version Patches format
ruby-fast-gettext 1.3.0-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 fix rspec requires.patch | (download)

spec/spec_helper.rb | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 fix rspec requires


0002 skip safe mode test.patch | (download)

spec/fast_gettext/translation_repository/mo_spec.rb | 6 0 + 6 - 0 !
1 file changed, 6 deletions(-)

 skip safe mode test

This test produces a false negative when run under /tmp, making it
impossible to build this package with cowbuilder and the like.

0003 fix tests with ruby calls.patch | (download)

spec/fast_gettext/vendor/iconv_spec.rb | 4 3 + 1 - 0 !
spec/fast_gettext/vendor/string_spec.rb | 5 3 + 2 - 0 !
spec/spec_helper.rb | 1 1 + 0 - 0 !
3 files changed, 7 insertions(+), 3 deletions(-)

 fix tests with ruby calls


0004 Properly handle PO files encoding in PoFile.to_mo_fi.patch | (download)

lib/fast_gettext/po_file.rb | 2 1 + 1 - 0 !
spec/fast_gettext/po_file_spec.rb | 2 2 + 0 - 0 !
2 files changed, 3 insertions(+), 1 deletion(-)

 properly handle po files encoding in pofile.to_mo_file


0005 remove bogus tests.patch | (download)

spec/fast_gettext/vendor/string_spec.rb | 17 0 + 17 - 0 !
1 file changed, 17 deletions(-)

 remove bogus tests

These tests should not be passing. Yet they do. Something is
wrong and it's unclear what to do. So let's remove the tests
that we can't trust.

0006 Use IO each_line instead of IO lines in poparser.patch | (download)

lib/fast_gettext/vendor/poparser.rb | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 use io#each_line instead of io#lines in poparser

IO#lines is deprecated and gives us a quite obnoxious deprecation warning.

0007 Add metadata.yml from upstream gem.patch | (download)

metadata.yml | 168 168 + 0 - 0 !
1 file changed, 168 insertions(+)

 add metadata.yml from upstream gem