summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ruby/dotenv/ChangeLog7
-rw-r--r--dev-ruby/dotenv/dotenv-2.0.2.ebuild27
2 files changed, 33 insertions, 1 deletions
diff --git a/dev-ruby/dotenv/ChangeLog b/dev-ruby/dotenv/ChangeLog
index e6aa9412bbdc..6a51e9e0389e 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.9 2015/06/07 17:40:42 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/dotenv/ChangeLog,v 1.10 2015/06/20 06:53:46 graaff Exp $
+
+*dotenv-2.0.2 (20 Jun 2015)
+
+ 20 Jun 2015; Hans de Graaff <graaff@gentoo.org> +dotenv-2.0.2.ebuild:
+ Version bump.
07 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
Add github to remote-id in metadata.xml
diff --git a/dev-ruby/dotenv/dotenv-2.0.2.ebuild b/dev-ruby/dotenv/dotenv-2.0.2.ebuild
new file mode 100644
index 000000000000..8d7a9bf7e86e
--- /dev/null
+++ b/dev-ruby/dotenv/dotenv-2.0.2.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.2.ebuild,v 1.1 2015/06/20 06:53:46 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
+}