summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-06-01 05:50:52 +0000
committerHans de Graaff <graaff@gentoo.org>2015-06-01 05:50:52 +0000
commit65ca8d7d342528b4ad073b62d279c2795e1f9659 (patch)
tree5187511cf8f7384baa21931c5667b6759efcec7c /dev-ruby
parentSet RCC per Qt branch, too (maybe bug #549880). (diff)
downloadgentoo-2-65ca8d7d342528b4ad073b62d279c2795e1f9659.tar.gz
gentoo-2-65ca8d7d342528b4ad073b62d279c2795e1f9659.tar.bz2
gentoo-2-65ca8d7d342528b4ad073b62d279c2795e1f9659.zip
Version bump. Drop ruby22 due to new rails test dependencies.
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/dotenv/ChangeLog7
-rw-r--r--dev-ruby/dotenv/dotenv-2.0.1.ebuild27
2 files changed, 33 insertions, 1 deletions
diff --git a/dev-ruby/dotenv/ChangeLog b/dev-ruby/dotenv/ChangeLog
index c89201f22af4..c2b8890a86de 100644
--- a/dev-ruby/dotenv/ChangeLog
+++ b/dev-ruby/dotenv/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/dotenv
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/dotenv/ChangeLog,v 1.7 2015/06/01 05:38:43 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/dotenv/ChangeLog,v 1.8 2015/06/01 05:50:52 graaff Exp $
+
+*dotenv-2.0.1 (01 Jun 2015)
+
+ 01 Jun 2015; Hans de Graaff <graaff@gentoo.org> +dotenv-2.0.1.ebuild:
+ Version bump. Drop ruby22 due to new rails test dependencies.
01 Jun 2015; Hans de Graaff <graaff@gentoo.org> -dotenv-0.11.1.ebuild:
Cleanup.
diff --git a/dev-ruby/dotenv/dotenv-2.0.1.ebuild b/dev-ruby/dotenv/dotenv-2.0.1.ebuild
new file mode 100644
index 000000000000..ebeb6ff86481
--- /dev/null
+++ b/dev-ruby/dotenv/dotenv-2.0.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/dotenv/dotenv-2.0.1.ebuild,v 1.1 2015/06/01 05:50:52 graaff Exp $
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21"
+
+RUBY_FAKEGEM_EXTRADOC="README.md Changelog.md"
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Loads environment variables from .env into ENV"
+HOMEPAGE="https://github.com/bkeepers/dotenv"
+SRC_URI="https://github.com/bkeepers/dotenv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="MIT"
+
+KEYWORDS="~amd64"
+SLOT="2"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/spring dev-ruby/rails )"
+
+each_ruby_prepare() {
+ sed -i -e "s:ruby -v:${RUBY} -v:g" spec/dotenv/parser_spec.rb || die
+}