Skip to content

Commit c5a163f

Browse files
committed
refresh patches
1 parent 1203ad0 commit c5a163f

File tree

4 files changed

+23
-15
lines changed

4 files changed

+23
-15
lines changed

debian/patches/0010-Fix-IRBTestIRBHistory-tests.patch renamed to debian/patches/0008-Fix-IRBTestIRBHistory-tests.patch

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
From b1509ce1c9d42bac9bc57b6ea96164711f0c85f7 Mon Sep 17 00:00:00 2001
21
From: aycabta <[email protected]>
32
Date: Mon, 5 Oct 2020 18:57:47 +0900
43
Subject: [PATCH] Remove system method for E2E testing because depends on ruby
54
command
65

76
---
8-
test/irb/test_history.rb | 129 +++++++++++++++++++++++----------------
9-
1 file changed, 75 insertions(+), 54 deletions(-)
7+
test/irb/test_history.rb | 146 +++++++++++++++++++++++++++--------------------
8+
1 file changed, 83 insertions(+), 63 deletions(-)
109

10+
diff --git a/test/irb/test_history.rb b/test/irb/test_history.rb
11+
index 3591f88..392a6af 100644
1112
--- a/test/irb/test_history.rb
1213
+++ b/test/irb/test_history.rb
1314
@@ -1,6 +1,7 @@
@@ -18,7 +19,7 @@ Subject: [PATCH] Remove system method for E2E testing because depends on ruby
1819
require 'readline'
1920

2021
module TestIRB
21-
@@ -13,133 +14,152 @@
22+
@@ -13,133 +14,152 @@ module TestIRB
2223
IRB.conf[:RC_NAME_GENERATOR] = nil
2324
end
2425

debian/patches/0012-Dont-use-relative-path.patch renamed to debian/patches/0009-Dont-use-relative-path.patch

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
From c48006c7b8dee9547b433ebd79d78cdc29002ab3 Mon Sep 17 00:00:00 2001
2-
From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <[email protected]>
1+
From: =?utf-8?q?David_Rodr=C3=ADguez?= <[email protected]>
32
Date: Tue, 6 Oct 2020 19:11:05 +0200
43
Subject: [PATCH] Make lib/ and test/ more independent from each other
54

@@ -9,9 +8,11 @@ Subject: [PATCH] Make lib/ and test/ more independent from each other
98
test/rubygems/test_gem_stub_specification.rb | 8 ++++----
109
3 files changed, 5 insertions(+), 7 deletions(-)
1110

11+
diff --git a/lib/rubygems/test_case.rb b/lib/rubygems/test_case.rb
12+
index 8940320..53ba84a 100644
1213
--- a/lib/rubygems/test_case.rb
1314
+++ b/lib/rubygems/test_case.rb
14-
@@ -96,8 +96,6 @@
15+
@@ -96,8 +96,6 @@ class Gem::TestCase < (defined?(Minitest::Test) ? Minitest::Test : MiniTest::Uni
1516

1617
TEST_PATH = ENV.fetch('RUBYGEMS_TEST_PATH', File.expand_path('../../../test/rubygems', __FILE__))
1718

@@ -20,9 +21,11 @@ Subject: [PATCH] Make lib/ and test/ more independent from each other
2021
def assert_activate(expected, *specs)
2122
specs.each do |spec|
2223
case spec
24+
diff --git a/test/rubygems/test_gem_commands_build_command.rb b/test/rubygems/test_gem_commands_build_command.rb
25+
index 309e15f..aaca54f 100644
2326
--- a/test/rubygems/test_gem_commands_build_command.rb
2427
+++ b/test/rubygems/test_gem_commands_build_command.rb
25-
@@ -123,7 +123,7 @@
28+
@@ -123,7 +123,7 @@ class TestGemCommandsBuildCommand < Gem::TestCase
2629
end
2730

2831
def test_execute_rubyforge_project_warning
@@ -31,9 +34,11 @@ Subject: [PATCH] Make lib/ and test/ more independent from each other
3134

3235
@cmd.options[:args] = [rubyforge_gemspec]
3336

37+
diff --git a/test/rubygems/test_gem_stub_specification.rb b/test/rubygems/test_gem_stub_specification.rb
38+
index 91a46d7..2579f8a 100644
3439
--- a/test/rubygems/test_gem_stub_specification.rb
3540
+++ b/test/rubygems/test_gem_stub_specification.rb
36-
@@ -4,14 +4,14 @@
41+
@@ -4,14 +4,14 @@ require "rubygems/stub_specification"
3742

3843
class TestStubSpecification < Gem::TestCase
3944

debian/patches/0010-Fix-getcwd-ENOENT.patch

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
From: Antoni Villalonga <[email protected]>
22
Date: Fri, 28 Aug 2020 02:09:42 +0200
33
Subject: Rescue getcwd ENOENT error
4-
Forwarded: not-needed
5-
Bug-Debian: http://bugs.debian.org/969130
6-
Upstream-Author: David Rodríguez
74

85
Rescue ENOENT error allowing run ruby scripts when cwd does not exists.
96
Cherry-pick from upstream 96064e6f1ce100a37680dc8f9509f06b3350e9c8
7+
---
8+
lib/rubygems/bundler_version_finder.rb | 17 ++++++++++++-----
9+
1 file changed, 12 insertions(+), 5 deletions(-)
1010

11+
diff --git a/lib/rubygems/bundler_version_finder.rb b/lib/rubygems/bundler_version_finder.rb
12+
index 38da773..ea6698f 100644
1113
--- a/lib/rubygems/bundler_version_finder.rb
1214
+++ b/lib/rubygems/bundler_version_finder.rb
13-
@@ -82,12 +82,19 @@
15+
@@ -82,12 +82,19 @@ To install the missing version, run `gem install bundler:#{vr.first}`
1416
def self.lockfile_contents
1517
gemfile = ENV["BUNDLE_GEMFILE"]
1618
gemfile = nil if gemfile && gemfile.empty?

debian/patches/series

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
0005-exclude-several-tests-unstable-in-Docker.patch
66
0006-Fix-priority-order-of-paths-in-I-option.patch
77
0007-Fix-FTBFS-on-x32-misdetected-as-i386-or-amd64.patch
8-
0010-Fix-IRBTestIRBHistory-tests.patch
9-
0012-Dont-use-relative-path.patch
8+
0008-Fix-IRBTestIRBHistory-tests.patch
9+
0009-Dont-use-relative-path.patch
1010
0010-Fix-getcwd-ENOENT.patch

0 commit comments

Comments
 (0)