Package: coderay / 1.1.3-9

Metadata

Package Version Patches format
coderay 1.1.3-9 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Remove rubygems depends.patch | (download)

lib/coderay/encoders/json.rb | 12 3 + 9 - 0 !
lib/coderay/for_redcloth.rb | 13 1 + 12 - 0 !
2 files changed, 4 insertions(+), 21 deletions(-)

 remove rubygems depends
0003 Add Encoding.default_external.patch | (download)

test/functional/basic.rb | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 add encoding.default_external
0005 do_not_use_git_ls files.patch | (download)

coderay.gemspec | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 do not use `git ls-files`
0006 fix coderay absolute file path test.patch | (download)

spec/coderay_spec.rb | 3 1 + 2 - 0 !
1 file changed, 1 insertion(+), 2 deletions(-)

 fix coderay absolute file path test
0007 Add ruby3 support.patch | (download)

test/unit/debug.rb | 3 2 + 1 - 0 !
test/unit/statistic.rb | 5 3 + 2 - 0 !
2 files changed, 5 insertions(+), 3 deletions(-)

 [patch] fix test suite for ruby 3.0 change for methods on subclass of
 Array

With ruby 3.0, especially with https://github.com/ruby/ruby/pull/3690 ,
for subclass of Array, `flatten` method now returns the instance of Array,
not of the subclass.

To keep the object instance of the subclass, use `flatten!` instead.