summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-02-13 07:46:02 +0100
committerHans de Graaff <graaff@gentoo.org>2016-02-13 07:46:50 +0100
commit746e1565dc29ee749d598e1acde72401141be452 (patch)
tree1f05569dabec784c71b0b5296afa4e4d72d8019d /dev-ruby/twitter
parentdev-ruby/http: cleanup (diff)
downloadgentoo-746e1565dc29ee749d598e1acde72401141be452.tar.gz
gentoo-746e1565dc29ee749d598e1acde72401141be452.tar.bz2
gentoo-746e1565dc29ee749d598e1acde72401141be452.zip
dev-ruby/twitter: add 5.16.0
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-ruby/twitter')
-rw-r--r--dev-ruby/twitter/Manifest1
-rw-r--r--dev-ruby/twitter/twitter-5.16.0.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-ruby/twitter/Manifest b/dev-ruby/twitter/Manifest
index e53b5586d91..f6ec0ed01f0 100644
--- a/dev-ruby/twitter/Manifest
+++ b/dev-ruby/twitter/Manifest
@@ -1,3 +1,4 @@
DIST twitter-5.13.0.tar.gz 1322622 SHA256 760dede63a96f51d38a61fd172d93c97da17046f01c53c37b430c421738a6906 SHA512 28afafcfbe938fadc571dd19affd69cf1288d86fd3c4c14b743a4d573de068fdc6a6ffe487320b6a039dc2540375450d060e32761196bbbb4cb4b83a0999696a WHIRLPOOL 3a7b20e69c443c644cfe0e2a0bb21d13c6259b8db129a6ae7d32df4a4e166bfa04f97271857feb866c2e7499ed7090efdca3680b4920863cafdbe15fd984788a
DIST twitter-5.14.0.tar.gz 1355192 SHA256 44936f6e7eb61139c5129c25c207e16065ed5a20cb4d86679edbb8600318c374 SHA512 3fc4971b191efabaafb8918d525ed0279a246f68053c0af25aef355c6f019f40d6977a0f3463679e138dfeb40ff32e13b005c6a8a9667d0c359c659917ea890a WHIRLPOOL 689f319b6c044a87b6febd27425d497789cf73c47febda0cbec0b48a7d45cd160bd5f7c8ae26bb67a7958ccbdff9651f6e94fbb6fdffc1de244bf7657f68e7dd
DIST twitter-5.15.0.tar.gz 524912 SHA256 9d0d2e234afb35b8555f692bac49fed7186d9f652a978771a7753e5cd79a8ffc SHA512 5beea732763ad072fd099a284d33e6cfcaf62e07ac14d3d938d8bc86f4c84578429631f4edaf0c34bfe1f6555c07c18e935edbb6d5320a33aea089f1f444a5e8 WHIRLPOOL 5576ace9aecc481c683abe2dc76a2f5f24eda1b9680e607ccb7207bf0c2509266145d3f2b41c712eb67bd3df0dd67f436976129e3cd5a5a6880f01f790de06a4
+DIST twitter-5.16.0.tar.gz 525064 SHA256 3edc39b1fbe54b1fd4f38855bd0c5b64859ef68ba15a6ae15bb119a1ab93e3a6 SHA512 7f80203a6324644adf9e97834310892dd1e4db87962aa9abb7055d7713ee511a014234b74f5ecf74f40e3296aa1437f148519fd010b9d85e8fd73d4b19a78d2e WHIRLPOOL 395490c387ed665bdc7f77caa5c2bc1df92d2cbdf8c6ceb593580b28bc89d6ce08a8908a051e7743faf528abf597ea7e1ce1600c52f0aaa690e562f506d5663b
diff --git a/dev-ruby/twitter/twitter-5.16.0.ebuild b/dev-ruby/twitter/twitter-5.16.0.ebuild
new file mode 100644
index 00000000000..ad3ba0f2ebe
--- /dev/null
+++ b/dev-ruby/twitter/twitter-5.16.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21"
+
+RUBY_FAKEGEM_RECIPE_DOC="yard"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="twitter.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby wrapper around the Twitter API"
+HOMEPAGE="https://sferik.github.com/twitter/"
+SRC_URI="https://github.com/sferik/twitter/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="5"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "
+ >=dev-ruby/addressable-2.3
+ >=dev-ruby/buftok-0.2.0
+ >=dev-ruby/equalizer-0.0.10
+ =dev-ruby/faraday-0*
+ >=dev-ruby/faraday-0.9.0
+ dev-ruby/http:1.0
+ >=dev-ruby/http_parser_rb-0.6.0
+ >=dev-ruby/json-1.8
+ >=dev-ruby/memoizable-0.4.0
+ >=dev-ruby/naught-1.0
+ =dev-ruby/simple_oauth-0.3*
+ >=dev-ruby/simple_oauth-0.3.0"
+
+ruby_add_bdepend "test? (
+ dev-ruby/rspec:3
+ dev-ruby/webmock
+ >=dev-ruby/timecop-0.6.1
+ )
+ doc? ( dev-ruby/yard )"
+
+all_ruby_prepare() {
+ sed -i -e '/equalizer/ s/0.0.10/~>0.0.10/' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+# rm Gemfile || die
+ sed -i -e '/[Bb]undler/d' Rakefile || die "Unable to remove bundler code."
+
+ sed -i -e '/simplecov/,/^ end/ s:^:#:' spec/helper.rb || die
+
+ # Avoid a spec that fails due to changes in dependencies.
+ sed -i -e '/#reverse_token/,/^ end/ s:^:#:' \
+ spec/twitter/rest/oauth_spec.rb
+}
+
+each_ruby_test() {
+ CI=true RSPEC_VERSION=3 ruby-ng_rspec || die
+}