diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
| commit | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-ruby/twitter-text | |
| parent | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff) | |
| download | baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip | |
Adding metadata
Diffstat (limited to 'dev-ruby/twitter-text')
| -rw-r--r-- | dev-ruby/twitter-text/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/twitter-text/files/twitter-text-3.1.0-frozen-string.patch | 69 | ||||
| -rw-r--r-- | dev-ruby/twitter-text/metadata.xml | 11 | ||||
| -rw-r--r-- | dev-ruby/twitter-text/twitter-text-3.1.0-r2.ebuild | 38 |
4 files changed, 0 insertions, 119 deletions
diff --git a/dev-ruby/twitter-text/Manifest b/dev-ruby/twitter-text/Manifest deleted file mode 100644 index fe29d90d2899..000000000000 --- a/dev-ruby/twitter-text/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST twitter-text-3.1.0.gem 59392 BLAKE2B 91f906db8d4cc17086b7bc421f1730646756aec9e041166e18d816da4b680282f312743c52e412e6595d7565c2c7faf0dd18fea815f3bbc53afa675a33ac3c66 SHA512 b0d5a876bd9c1d4788378ebd5029bed51db6a0c3a7cd2c97433eab3ec3655d7bc427c3873364a368c0a10216871c7373e762cfd57c4bdd69800adc95869aa03a diff --git a/dev-ruby/twitter-text/files/twitter-text-3.1.0-frozen-string.patch b/dev-ruby/twitter-text/files/twitter-text-3.1.0-frozen-string.patch deleted file mode 100644 index 02959cafb983..000000000000 --- a/dev-ruby/twitter-text/files/twitter-text-3.1.0-frozen-string.patch +++ /dev/null @@ -1,69 +0,0 @@ -# https://github.com/twitter/twitter-text/pull/337 -diff --git a/lib/twitter-text/deprecation.rb b/lib/twitter-text/deprecation.rb -index b377abf9..bc66d60f 100644 ---- a/lib/twitter-text/deprecation.rb -+++ b/lib/twitter-text/deprecation.rb -@@ -8,7 +8,7 @@ module Deprecation - def deprecate(method, new_method = nil) - deprecated_method = :"deprecated_#{method}" - message = "Deprecation: `#{method}` is deprecated." -- message << " Please use `#{new_method}` instead." if new_method -+ message += " Please use `#{new_method}` instead." if new_method - - alias_method(deprecated_method, method) - define_method method do |*args, &block| - -diff --git a/lib/twitter-text/autolink.rb b/lib/twitter-text/autolink.rb -index 82f35302..9b243ec6 100644 ---- a/lib/twitter-text/autolink.rb -+++ b/lib/twitter-text/autolink.rb -@@ -325,10 +326,10 @@ def link_url_with_entity(entity, options) - # <span style='font-size:0'> </span> - # … - # </span> -- %(<span class="tco-ellipsis">#{preceding_ellipsis}<span #{invisible_tag_attrs}> </span></span>) << -- %(<span #{invisible_tag_attrs}>#{html_escape(before_display_url)}</span>) << -- %(<span class="js-display-url">#{html_escape(display_url_sans_ellipses)}</span>) << -- %(<span #{invisible_tag_attrs}>#{html_escape(after_display_url)}</span>) << -+ %(<span class="tco-ellipsis">#{preceding_ellipsis}<span #{invisible_tag_attrs}> </span></span>) + -+ %(<span #{invisible_tag_attrs}>#{html_escape(before_display_url)}</span>) + -+ %(<span class="js-display-url">#{html_escape(display_url_sans_ellipses)}</span>) + -+ %(<span #{invisible_tag_attrs}>#{html_escape(after_display_url)}</span>) + - %(<span class="tco-ellipsis"><span #{invisible_tag_attrs}> </span>#{following_ellipsis}</span>) - else - html_escape(display_url) -@@ -444,7 +445,7 @@ def tag_attrs(attributes) - else - value - end -- attrs << %( #{html_escape(key)}="#{html_escape(value)}") -+ attrs = attrs + %( #{html_escape(key)}="#{html_escape(value)}") - end - - attrs -diff --git a/lib/twitter-text/deprecation.rb b/lib/twitter-text/deprecation.rb -index bc66d60f..cfc4858c 100644 ---- a/lib/twitter-text/deprecation.rb -+++ b/lib/twitter-text/deprecation.rb -@@ -8,7 +9,7 @@ module Deprecation - def deprecate(method, new_method = nil) - deprecated_method = :"deprecated_#{method}" - message = "Deprecation: `#{method}` is deprecated." -- message += " Please use `#{new_method}` instead." if new_method -+ message = "#{message} Please use `#{new_method}` instead." if new_method - - alias_method(deprecated_method, method) - define_method method do |*args, &block| -diff --git a/lib/twitter-text/extractor.rb b/lib/twitter-text/extractor.rb -index a2fd7db7..c96ec200 100644 ---- a/lib/twitter-text/extractor.rb -+++ b/lib/twitter-text/extractor.rb -@@ -19,7 +20,7 @@ def codepoint_length - - # Helper function to convert this string into an array of unicode code points. - def to_codepoint_a -- @to_codepoint_a ||= if chars.kind_of?(Enumerable) -+ if chars.kind_of?(Enumerable) - chars.to_a - else - codepoint_array = [] diff --git a/dev-ruby/twitter-text/metadata.xml b/dev-ruby/twitter-text/metadata.xml deleted file mode 100644 index 79b41d6d58bc..000000000000 --- a/dev-ruby/twitter-text/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">twitter/twitter-text</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-ruby/twitter-text/twitter-text-3.1.0-r2.ebuild b/dev-ruby/twitter-text/twitter-text-3.1.0-r2.ebuild deleted file mode 100644 index 0285073aa19c..000000000000 --- a/dev-ruby/twitter-text/twitter-text-3.1.0-r2.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby32 ruby33 ruby34" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_EXTRADOC="README.md" - -RUBY_FAKEGEM_EXTRAINSTALL="config" - -inherit ruby-fakegem - -DESCRIPTION="Text handling for Twitter" -HOMEPAGE="https://github.com/twitter/twitter-text" - -LICENSE="MIT" -SLOT="$(ver_cut 1-2)" -KEYWORDS="~amd64 ~riscv" -IUSE="test" - -ruby_add_rdepend " - dev-ruby/idn-ruby - =dev-ruby/unf-0.1* -" - -ruby_add_bdepend "test? ( >=dev-ruby/nokogiri-1.8.0 )" - -PATCHES=( - "${FILESDIR}/${PN}-3.1.0-frozen-string.patch" -) - -all_ruby_prepare() { - #sed -i -e 's/2.14.0/2.14/' twitter-text.gemspec || die - sed -i -e '/simplecov/,/end/ s:^:#:' spec/spec_helper.rb || die -} |
