summaryrefslogtreecommitdiff
path: root/dev-ruby/rubytter
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/rubytter')
-rw-r--r--dev-ruby/rubytter/Manifest1
-rw-r--r--dev-ruby/rubytter/rubytter-1.5.1-r3.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/rubytter/Manifest b/dev-ruby/rubytter/Manifest
index f2e247849eae..10a6fe0050c7 100644
--- a/dev-ruby/rubytter/Manifest
+++ b/dev-ruby/rubytter/Manifest
@@ -1,3 +1,4 @@
DIST rubytter-1.5.1.gem 15872 BLAKE2B fd4f3be2570f12a900fa031a74fa6b4e053bc966e8c086d099fb0716c80515ccf1df63d0634af676a95541329029b932911262db5f377a1bc32a41bfbed5fdeb SHA512 79be7b7803a53db654a14ff83da657e3e5016d5bda61e8c127dbf6d85231a8c115d38041aba99fdabd50825135b801cc444cca84c13d174004cda8cc4760bd2e
EBUILD rubytter-1.5.1-r2.ebuild 778 BLAKE2B a209144f03dbc29ebadfd041fbd0a806c3c1d34ce73ec2f93a0397e3e35c581873e371e54e9634f31d210b569e009bedba535cb9849af42fa536a28c7f2398db SHA512 353aa281cddcf870320689356050287432a5866d25605ee1589103430b8b6e5e6171c8c65c17c1cb0be3ae38beda59cf3aae2c89c0cc65d6930193c9d9346b66
+EBUILD rubytter-1.5.1-r3.ebuild 771 BLAKE2B f63d19c517d9af7dc5c78466d6e94ef7f484c0ab784c3ec9adc54855eaaf9703733a82a786c52010d5fea224fbd3842466c6b345348db32c4ded74f94df62e5e SHA512 021fd65ff4fb49517c886c9dacca93bba9c4f12e2bf354e02eb61d873ba03f426a08041a6ff3a60c6e12101827d904a625e931bf072e5b64806b1171fc4a9c99
MISC metadata.xml 436 BLAKE2B bc0038924e0a73902d58164b446280e3bd5f6ed8768e089dce94fbd07af3eceb29e6dd785a86be5df9075bf6bbbf0cdee736e19789c25be2880d44ac86ac6a16 SHA512 adbdbb0a1799979f8538ef52929e5949ae617b33884b1a3a3748fe480b9ac906b8d24f4159ffe079dfd355f792ced4e8f0ae5e5d425e8018971e6936a2057479
diff --git a/dev-ruby/rubytter/rubytter-1.5.1-r3.ebuild b/dev-ruby/rubytter/rubytter-1.5.1-r3.ebuild
new file mode 100644
index 000000000000..30ab34eae74f
--- /dev/null
+++ b/dev-ruby/rubytter/rubytter-1.5.1-r3.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc examples/*"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Rubytter is a simple twitter library"
+HOMEPAGE="https://github.com/jugyo/rubytter"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/json-1.1.3:* >=dev-ruby/oauth-0.3.6"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/d' -e '/check_dependencies/ s:^:#:' Rakefile || die
+
+ # Make specs work with rspec 3
+ sed -i -e 's/stub!/stub/ ; 250 s/pending/skip/' spec/rubytter_spec.rb || die
+
+ # Make specs work with ruby30
+ sed -i -e '27i{' -e '30i}' spec/rubytter/oauth_spec.rb || die
+}