summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-11-13 08:47:26 +0100
committerHans de Graaff <graaff@gentoo.org>2015-11-13 08:52:25 +0100
commit39af07cc6a0a455d598947eea562ceae1ef3abbd (patch)
tree1b504b00dc3734c625774c495e8f21056e3d72fa /dev-ruby/activejob
parentdev-ruby/activemodel: add rails 4.2.5 (diff)
downloadgentoo-39af07cc6a0a455d598947eea562ceae1ef3abbd.tar.gz
gentoo-39af07cc6a0a455d598947eea562ceae1ef3abbd.tar.bz2
gentoo-39af07cc6a0a455d598947eea562ceae1ef3abbd.zip
dev-ruby/activejob: add rails 4.2.5
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-ruby/activejob')
-rw-r--r--dev-ruby/activejob/Manifest1
-rw-r--r--dev-ruby/activejob/activejob-4.2.5.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/activejob/Manifest b/dev-ruby/activejob/Manifest
index 9f962361baf5..d44e18fb853f 100644
--- a/dev-ruby/activejob/Manifest
+++ b/dev-ruby/activejob/Manifest
@@ -1 +1,2 @@
DIST rails-4.2.4.tgz 4166672 SHA256 cc6618eaa2c640932e803dfac6bbde135fad3a6874dfc4e547712ec9182241d4 SHA512 7ce9fabdd302ce8fd1077147e6e45926ba12aa4177d2e1b78775a8fb3b80420f09c4076ecf726f410610a38187f2a8abeaff3d2b1de25e8386685db998bd2308 WHIRLPOOL 0e7bce539ba3c20f5c7de965af478505d76ebad0fd42498b13cb9a9c576304ad9694dd218bc6debf7a02cb437bebc5f75425c104956d32f4afefd1cc2c020d8d
+DIST rails-4.2.5.tgz 4174680 SHA256 adda75f10fc4b7eb498ae9a2b04cb92bd69568fc1a9d6ace27cc1ab203af5a2e SHA512 808d7eaf135f3f6b4b504372615b42e4b7c7f9fa0acdd2c425c9548852d24f143ad3abb38aa95d99212f9198f5a04dda2a6312f3e2d5e9a63173388cb30736e1 WHIRLPOOL f1e8af458b6a922bdb4a214476b145a5e743603ae0ad7b977a8917f9204028cce4da3ee1780118b555924af74319f81d83c42390fc35d010ba881fa03bb30d55
diff --git a/dev-ruby/activejob/activejob-4.2.5.ebuild b/dev-ruby/activejob/activejob-4.2.5.ebuild
new file mode 100644
index 000000000000..7f62876aebb7
--- /dev/null
+++ b/dev-ruby/activejob/activejob-4.2.5.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21"
+
+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
+}