diff options
-rw-r--r-- | dev-ruby/oauth/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/oauth/oauth-0.4.7.ebuild | 49 | ||||
-rw-r--r-- | dev-ruby/rack-test/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/rack-test/rack-test-0.6.2.ebuild | 32 |
4 files changed, 93 insertions, 2 deletions
diff --git a/dev-ruby/oauth/ChangeLog b/dev-ruby/oauth/ChangeLog index 96e74caffdcb..562ff65253a9 100644 --- a/dev-ruby/oauth/ChangeLog +++ b/dev-ruby/oauth/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/oauth # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/oauth/ChangeLog,v 1.19 2012/08/04 14:14:14 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/oauth/ChangeLog,v 1.20 2012/10/05 10:33:57 graaff Exp $ + +*oauth-0.4.7 (05 Oct 2012) + + 05 Oct 2012; Hans de Graaff <graaff@gentoo.org> +oauth-0.4.7.ebuild: + Version bump. 04 Aug 2012; Hans de Graaff <graaff@gentoo.org> oauth-0.4.6.ebuild: Add ruby19. Avoid dependency on old actionpack since we don't have that diff --git a/dev-ruby/oauth/oauth-0.4.7.ebuild b/dev-ruby/oauth/oauth-0.4.7.ebuild new file mode 100644 index 000000000000..19c927148e04 --- /dev/null +++ b/dev-ruby/oauth/oauth-0.4.7.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/oauth/oauth-0.4.7.ebuild,v 1.1 2012/10/05 10:33:57 graaff Exp $ + +EAPI=4 +USE_RUBY="ruby18 ree18 ruby19" + +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="HISTORY README.rdoc TODO" + +inherit ruby-fakegem + +DESCRIPTION="A RubyGem for implementing both OAuth clients and servers." +HOMEPAGE="http://oauth.rubyforge.org/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-macos" +IUSE="" + +ruby_add_bdepend "test? ( + dev-ruby/mocha + dev-ruby/webmock )" +USE_RUBY="ruby18 ree18" ruby_add_bdepend "test? ( >=dev-ruby/actionpack-2.3.8:2.3 )" + +all_ruby_prepare() { + # Ensure a consistent test order to avoid loading issues with e.g. rack + sed -i -e "s/.rb']/.rb'].sort/" Rakefile || die +} + +each_ruby_prepare() { + case ${RUBY} in + *ruby18) + # Ignore hash ordering test failures + sed -i -e '183s:^:#:' -e '224s:^:#:' test/integration/consumer_test.rb || die + ;; + *rubyee18) + # Ignore hash ordering test failures + sed -i -e '183s:^:#:' -e '224s:^:#:' test/integration/consumer_test.rb || die + ;; + *ruby19) + # Remove tests depending on rails. + rm test/test_action_controller_request_proxy.rb || die + ;; + *) + ;; + esac +} diff --git a/dev-ruby/rack-test/ChangeLog b/dev-ruby/rack-test/ChangeLog index 5500929c38f6..65ac74e3dd17 100644 --- a/dev-ruby/rack-test/ChangeLog +++ b/dev-ruby/rack-test/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/rack-test # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack-test/ChangeLog,v 1.24 2012/09/27 09:46:32 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack-test/ChangeLog,v 1.25 2012/10/05 10:36:53 graaff Exp $ + +*rack-test-0.6.2 (05 Oct 2012) + + 05 Oct 2012; Hans de Graaff <graaff@gentoo.org> +rack-test-0.6.2.ebuild: + Version bump. 27 Sep 2012; Samuli Suominen <ssuominen@gentoo.org> rack-test-0.6.1.ebuild: Keyword ~ppc wrt #396291 diff --git a/dev-ruby/rack-test/rack-test-0.6.2.ebuild b/dev-ruby/rack-test/rack-test-0.6.2.ebuild new file mode 100644 index 000000000000..662ffacb9f80 --- /dev/null +++ b/dev-ruby/rack-test/rack-test-0.6.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack-test/rack-test-0.6.2.ebuild,v 1.1 2012/10/05 10:36:53 graaff Exp $ + +EAPI=4 +USE_RUBY="ruby18 ruby19 ree18" + +# no documentation is generable, it needs hanna, which is broken +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc" + +inherit versionator ruby-fakegem + +DESCRIPTION="Rack::Test is a small, simple testing API for Rack apps." +HOMEPAGE="http://github.com/brynary/rack-test" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend '>=dev-ruby/rack-1.0' +ruby_add_bdepend " + test? ( >=dev-ruby/sinatra-1.2.6 )" + +all_ruby_prepare() { + rm Gemfile* || die + sed -i -e '/bundler/d' spec/spec_helper.rb || die +} |