summaryrefslogtreecommitdiff
path: root/dev-ruby/coderay/files/coderay-1.1.3-ruby30.patch
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-ruby/coderay/files/coderay-1.1.3-ruby30.patch
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'dev-ruby/coderay/files/coderay-1.1.3-ruby30.patch')
-rw-r--r--dev-ruby/coderay/files/coderay-1.1.3-ruby30.patch51
1 files changed, 0 insertions, 51 deletions
diff --git a/dev-ruby/coderay/files/coderay-1.1.3-ruby30.patch b/dev-ruby/coderay/files/coderay-1.1.3-ruby30.patch
deleted file mode 100644
index 99ce3053a1d7..000000000000
--- a/dev-ruby/coderay/files/coderay-1.1.3-ruby30.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From c1c15034749684fcad91ad2bcb2fcd2056faf18d Mon Sep 17 00:00:00 2001
-From: Mamoru TASAKA <mtasaka@fedoraproject.org>
-Date: Sun, 21 Feb 2021 23:04:03 +0900
-Subject: [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.
----
- test/unit/debug.rb | 3 ++-
- test/unit/statistic.rb | 5 +++--
- 2 files changed, 5 insertions(+), 3 deletions(-)
-
-diff --git a/test/unit/debug.rb b/test/unit/debug.rb
-index 88baf563..b694f21e 100644
---- a/test/unit/debug.rb
-+++ b/test/unit/debug.rb
-@@ -24,7 +24,8 @@ def test_creation
- [" \n", :space],
- ["[]", :method],
- [:end_line, :head],
-- ].flatten
-+ ]
-+ TEST_INPUT.flatten!
- TEST_OUTPUT = <<-'DEBUG'.chomp
- integer(10)operator((\\\))string<content(test)>head[
-
-diff --git a/test/unit/statistic.rb b/test/unit/statistic.rb
-index 1326dca6..776774d4 100644
---- a/test/unit/statistic.rb
-+++ b/test/unit/statistic.rb
-@@ -24,7 +24,8 @@ def test_creation
- [" \n", :space],
- ["[]", :method],
- [:end_line, :test],
-- ].flatten
-+ ]
-+ TEST_INPUT.flatten!
- TEST_OUTPUT = <<-'DEBUG'
-
- Code Statistics
-@@ -56,4 +57,4 @@ def test_filtering_text_tokens
- assert_equal TEST_OUTPUT, TEST_INPUT.statistic
- end
-
--end
-\ No newline at end of file
-+end