summaryrefslogtreecommitdiff
path: root/dev-ruby/method_source
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/method_source')
-rw-r--r--dev-ruby/method_source/Manifest1
-rw-r--r--dev-ruby/method_source/files/method_source-1.1.0-prism.patch37
-rw-r--r--dev-ruby/method_source/metadata.xml11
-rw-r--r--dev-ruby/method_source/method_source-1.1.0-r1.ebuild20
4 files changed, 0 insertions, 69 deletions
diff --git a/dev-ruby/method_source/Manifest b/dev-ruby/method_source/Manifest
deleted file mode 100644
index af6ade365de5..000000000000
--- a/dev-ruby/method_source/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST method_source-1.1.0.gem 13824 BLAKE2B 9b626e3db19a4093a61505afb04c65a2fc497146639656b9fd204f87d17d91473b11327ff086c8f3e2e1c0a462fa19e3e9c39f0b2817f26918c9a7c4b7cdaf54 SHA512 37cf2ff685adb68d1dd9c72922aa5ee1691a98c049ee402f5d630a783cacf9c971b0f25ac5e67b8d97211a6763e6f81825cf887fe9b4aef3359bad88335110d9
diff --git a/dev-ruby/method_source/files/method_source-1.1.0-prism.patch b/dev-ruby/method_source/files/method_source-1.1.0-prism.patch
deleted file mode 100644
index 5955bff3d744..000000000000
--- a/dev-ruby/method_source/files/method_source-1.1.0-prism.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 854c58f950559959d8e1e1fc0c186fda2867512e Mon Sep 17 00:00:00 2001
-From: Kevin Newton <kddnewton@gmail.com>
-Date: Wed, 25 Sep 2024 15:08:35 -0400
-Subject: [PATCH] Update error message expectations to work on MRI with Prism
-
----
- lib/method_source/code_helpers.rb | 2 +-
- spec/method_source/code_helpers_spec.rb | 3 ++-
- 2 files changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/lib/method_source/code_helpers.rb b/lib/method_source/code_helpers.rb
-index 4185c18..9b4c68f 100644
---- a/lib/method_source/code_helpers.rb
-+++ b/lib/method_source/code_helpers.rb
-@@ -125,7 +125,7 @@ module IncompleteExpression
- GENERIC_REGEXPS = [
- /unexpected (\$end|end-of-file|end-of-input|END_OF_FILE)/, # mri, jruby, ruby-2.0, ironruby
- /embedded document meets end of file/, # =begin
-- /unterminated (quoted string|string|regexp|list) meets end of file/, # "quoted string" is ironruby
-+ /unterminated (quoted string|string|regexp|list)( meets end of file|;)/, # "quoted string" is ironruby
- /can't find string ".*" anywhere before EOF/, # rbx and jruby
- /missing 'end' for/, /expecting kWHEN/ # rbx
- ]
-diff --git a/spec/method_source/code_helpers_spec.rb b/spec/method_source/code_helpers_spec.rb
-index 287ff89..96f86d3 100644
---- a/spec/method_source/code_helpers_spec.rb
-+++ b/spec/method_source/code_helpers_spec.rb
-@@ -36,7 +36,8 @@
- ]).compact.each do |foo|
- it "should raise an error on invalid syntax like #{foo.inspect}" do
- expect {
-- @tester.complete_expression?(foo.join("\n"))
-+ result = @tester.complete_expression?(foo.join("\n"))
-+ raise SyntaxError if !result && foo == ["def", "method(1"] # prism on mri
- }.to raise_error(SyntaxError)
- end
- end
diff --git a/dev-ruby/method_source/metadata.xml b/dev-ruby/method_source/metadata.xml
deleted file mode 100644
index 7e3f0b7951e6..000000000000
--- a/dev-ruby/method_source/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>ruby@gentoo.org</email>
- <name>Gentoo Ruby Project</name>
- </maintainer>
- <upstream>
- <remote-id type="github">banister/method_source</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/dev-ruby/method_source/method_source-1.1.0-r1.ebuild b/dev-ruby/method_source/method_source-1.1.0-r1.ebuild
deleted file mode 100644
index fc6abf6dee65..000000000000
--- a/dev-ruby/method_source/method_source-1.1.0-r1.ebuild
+++ /dev/null
@@ -1,20 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-USE_RUBY="ruby32 ruby33 ruby34 ruby40"
-
-RUBY_FAKEGEM_RECIPE_TEST="rspec3"
-RUBY_FAKEGEM_EXTRADOC="README.markdown"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Retrieve the source code for a method"
-HOMEPAGE="https://github.com/banister/method_source"
-LICENSE="MIT"
-
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86"
-
-PATCHES=( "${FILESDIR}/${P}-prism.patch" )