diff options
Diffstat (limited to 'dev-ruby/dotenv/dotenv-1.0.2.ebuild')
-rw-r--r-- | dev-ruby/dotenv/dotenv-1.0.2.ebuild | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-ruby/dotenv/dotenv-1.0.2.ebuild b/dev-ruby/dotenv/dotenv-1.0.2.ebuild new file mode 100644 index 000000000000..fb478cc40dde --- /dev/null +++ b/dev-ruby/dotenv/dotenv-1.0.2.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/dotenv/dotenv-1.0.2.ebuild,v 1.1 2014/12/17 06:37:18 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" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="0" +IUSE="" + +each_ruby_prepare() { + sed -i -e "s:ruby -v:${RUBY} -v:g" spec/dotenv/parser_spec.rb || die +} |