From 82fcb860890affc75af5a9038cc21bd9bd06c8e9 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Wed, 19 Feb 2014 08:05:06 +0000 Subject: Version bump for security bug 501750. (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!) --- dev-ruby/actionmailer/ChangeLog | 7 ++++- dev-ruby/actionmailer/actionmailer-4.0.3.ebuild | 41 +++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 dev-ruby/actionmailer/actionmailer-4.0.3.ebuild (limited to 'dev-ruby') diff --git a/dev-ruby/actionmailer/ChangeLog b/dev-ruby/actionmailer/ChangeLog index 27282e1fd945..ba8cbc046ffd 100644 --- a/dev-ruby/actionmailer/ChangeLog +++ b/dev-ruby/actionmailer/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/actionmailer # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/ChangeLog,v 1.250 2014/02/19 07:19:35 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/ChangeLog,v 1.251 2014/02/19 08:05:06 graaff Exp $ + +*actionmailer-4.0.3 (19 Feb 2014) + + 19 Feb 2014; Hans de Graaff +actionmailer-4.0.3.ebuild: + Version bump for security bug 501750. *actionmailer-3.2.17 (19 Feb 2014) diff --git a/dev-ruby/actionmailer/actionmailer-4.0.3.ebuild b/dev-ruby/actionmailer/actionmailer-4.0.3.ebuild new file mode 100644 index 000000000000..dff76f323f76 --- /dev/null +++ b/dev-ruby/actionmailer/actionmailer-4.0.3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/actionmailer-4.0.3.ebuild,v 1.1 2014/02/19 08:05:06 graaff Exp $ + +EAPI=5 +USE_RUBY="ruby19" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="actionmailer.gemspec" + +inherit ruby-fakegem versionator + +DESCRIPTION="Framework for designing email-service layers" +HOMEPAGE="http://rubyforge.org/projects/actionmailer/" +SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="~amd64 ~arm" +IUSE="" + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend "~dev-ruby/actionpack-${PV} + >=dev-ruby/mail-2.5.3:2.5" +ruby_add_bdepend "test? ( + dev-ruby/test-unit:2 + dev-ruby/mocha:0.13 +)" + +all_ruby_prepare() { + # Set test environment to our hand. + rm "${S}/../Gemfile" || die "Unable to remove Gemfile" + sed -i -e '/\/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths" + + # Make sure we use the test-unit gem since ruby18 does not provide + # all the test-unit features needed. + sed -i -e '1igem "test-unit"' test/abstract_unit.rb || die +} -- cgit v1.2.3-65-gdbad