summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-01-26 07:37:41 +0100
committerHans de Graaff <graaff@gentoo.org>2016-01-26 07:37:41 +0100
commit3bc43d9e5271c2ddb204a92bdb4e6dc3d1404991 (patch)
tree935e435b243f6549df00e5718183947b201fae6f /dev-ruby/activejob
parentdev-ruby/activerecord: add rails 4.2.5.1 (diff)
downloadgentoo-3bc43d9e5271c2ddb204a92bdb4e6dc3d1404991.tar.gz
gentoo-3bc43d9e5271c2ddb204a92bdb4e6dc3d1404991.tar.bz2
gentoo-3bc43d9e5271c2ddb204a92bdb4e6dc3d1404991.zip
dev-ruby/activejob: add rails 4.2.5.1
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-ruby/activejob')
-rw-r--r--dev-ruby/activejob/Manifest1
-rw-r--r--dev-ruby/activejob/activejob-4.2.5.1.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/activejob/Manifest b/dev-ruby/activejob/Manifest
index d44e18fb853f..2085b2c56f4c 100644
--- a/dev-ruby/activejob/Manifest
+++ b/dev-ruby/activejob/Manifest
@@ -1,2 +1,3 @@
DIST rails-4.2.4.tgz 4166672 SHA256 cc6618eaa2c640932e803dfac6bbde135fad3a6874dfc4e547712ec9182241d4 SHA512 7ce9fabdd302ce8fd1077147e6e45926ba12aa4177d2e1b78775a8fb3b80420f09c4076ecf726f410610a38187f2a8abeaff3d2b1de25e8386685db998bd2308 WHIRLPOOL 0e7bce539ba3c20f5c7de965af478505d76ebad0fd42498b13cb9a9c576304ad9694dd218bc6debf7a02cb437bebc5f75425c104956d32f4afefd1cc2c020d8d
+DIST rails-4.2.5.1.tgz 4175926 SHA256 713da4f88244101457b4de5d08007f4b373cb43c3982d72de70bb5c5145afb46 SHA512 3c74d825f35a71dd80a0e1d3959cc6d9e52da0f2eb43bfb869da22a8117ba4f66df1de183851b7cd9e3c2cc8a0b5a8ae4e6902d3b43afd52ccdd20470b49801d WHIRLPOOL dfb4f925468cfbadd73fd54eb146e377df8e4d67aa094076dd928c616d6cfddb9084cee2adb220490df0c34627a99b150118bc7827b2ca5f6d0751611993b53f
DIST rails-4.2.5.tgz 4174680 SHA256 adda75f10fc4b7eb498ae9a2b04cb92bd69568fc1a9d6ace27cc1ab203af5a2e SHA512 808d7eaf135f3f6b4b504372615b42e4b7c7f9fa0acdd2c425c9548852d24f143ad3abb38aa95d99212f9198f5a04dda2a6312f3e2d5e9a63173388cb30736e1 WHIRLPOOL f1e8af458b6a922bdb4a214476b145a5e743603ae0ad7b977a8917f9204028cce4da3ee1780118b555924af74319f81d83c42390fc35d010ba881fa03bb30d55
diff --git a/dev-ruby/activejob/activejob-4.2.5.1.ebuild b/dev-ruby/activejob/activejob-4.2.5.1.ebuild
new file mode 100644
index 000000000000..7ec460628d84
--- /dev/null
+++ b/dev-ruby/activejob/activejob-4.2.5.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_DOCDIR=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Job framework with pluggable queues"
+HOMEPAGE="https://github.com/rails/rails"
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "
+ ~dev-ruby/activesupport-${PV}
+ >=dev-ruby/globalid-0.3.0
+"
+
+ruby_add_bdepend "
+ test? (
+ >=dev-ruby/mocha-0.14.0:0.14
+ )"
+
+all_ruby_prepare() {
+ # Set test environment to our hand.
+ sed -i -e '/load_paths/d' test/helper.rb || die "Unable to remove load paths"
+
+ # Remove all currently unpackaged queues.
+ sed -i -e 's/delayed_job qu que queue_classic resque sidekiq sneakers sucker_punch backburner//' Rakefile || die
+}