summaryrefslogtreecommitdiff
path: root/dev-ruby/rubytter
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-04 15:02:51 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-04 15:02:51 +0000
commit5565fb7867ee9faddf046e42a0a3a1a207803938 (patch)
tree4ef17bc3c9c8058e033b4f7452064b3f9657e023 /dev-ruby/rubytter
parentacf34cb86be38d3601273c231058d3fda627e618 (diff)
gentoo auto-resync : 04:12:2022 - 15:02:50
Diffstat (limited to 'dev-ruby/rubytter')
-rw-r--r--dev-ruby/rubytter/Manifest2
-rw-r--r--dev-ruby/rubytter/rubytter-1.5.1-r2.ebuild12
2 files changed, 10 insertions, 4 deletions
diff --git a/dev-ruby/rubytter/Manifest b/dev-ruby/rubytter/Manifest
index 3b8ab22aa565..366d9a7d16ef 100644
--- a/dev-ruby/rubytter/Manifest
+++ b/dev-ruby/rubytter/Manifest
@@ -1,3 +1,3 @@
DIST rubytter-1.5.1.gem 15872 BLAKE2B fd4f3be2570f12a900fa031a74fa6b4e053bc966e8c086d099fb0716c80515ccf1df63d0634af676a95541329029b932911262db5f377a1bc32a41bfbed5fdeb SHA512 79be7b7803a53db654a14ff83da657e3e5016d5bda61e8c127dbf6d85231a8c115d38041aba99fdabd50825135b801cc444cca84c13d174004cda8cc4760bd2e
-EBUILD rubytter-1.5.1-r2.ebuild 576 BLAKE2B be94918dfe8d1f12ee42580a5beb72a043f4f29a956cbf3bf1195f20f907356fed36d1183e68b9d02ef0dbeee9c0b2ab1556722298cbf4fee609091bc7a4ef34 SHA512 5ae10cd157db730c61c0da985a8de557b87e19183b0dc64d29a2914246020076aca2797e1103af4e1d9e165ce3f06a4a6ecff713da55272772b05d57150f7335
+EBUILD rubytter-1.5.1-r2.ebuild 776 BLAKE2B efe8a925554ffdf9c4a54c272b5f7ae7a246befa1ed92d5b773a4836350cc80128ed3c9dbf438083459e72f1c274346a1ca9ebe65ac67d484de826204b0f8b04 SHA512 75d82ff5b7d0d2ac815dae0a6a6ac72143202ca191af7bd0ccd61b6250ba5ac500f22bf52870c9a1ad33215a30e118c81a4d2361ed395007c940b3aafebd9e24
MISC metadata.xml 357 BLAKE2B 4277a53278bc07865b7789c2851beaaf3891654307363490c88090d3d922ec080679fe02d942c8aeb713cc73e9b593aaf5df2b45390990208bb4219ef70cad1d SHA512 7cd74b056ce331c00b92abf682d5aee603f9639170682858f72ba61bd4404239f693e352cc775936c239674f9ea9e4e9f84c09f39844914e20ce888b469b377b
diff --git a/dev-ruby/rubytter/rubytter-1.5.1-r2.ebuild b/dev-ruby/rubytter/rubytter-1.5.1-r2.ebuild
index 7f8529cad3d6..ceca69b7b4e4 100644
--- a/dev-ruby/rubytter/rubytter-1.5.1-r2.ebuild
+++ b/dev-ruby/rubytter/rubytter-1.5.1-r2.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-USE_RUBY="ruby25 ruby26 ruby27"
+USE_RUBY="ruby27 ruby30"
-RUBY_FAKEGEM_RECIPE_TEST="rspec"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc examples/*"
@@ -22,4 +22,10 @@ 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
}