diff options
Diffstat (limited to 'dev-ruby/dotenv')
-rw-r--r-- | dev-ruby/dotenv/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/dotenv/dotenv-2.1.0.ebuild | 27 |
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-ruby/dotenv/Manifest b/dev-ruby/dotenv/Manifest index ecbeac88b443..3d01da239d1d 100644 --- a/dev-ruby/dotenv/Manifest +++ b/dev-ruby/dotenv/Manifest @@ -1 +1,2 @@ DIST dotenv-2.0.2.tar.gz 13269 SHA256 fb6c65a0f5a2eef7b0f45f2356ad1ff71d2504555667ce83ae0d61ca2050d1d1 SHA512 3b932a71b1156b70240ff372c8ff58a3fc8037fec958910951195091ac518b6971f8d9480a00f43da1be006d9fdb86ad2bfda62937a129da92d30f05991dd067 WHIRLPOOL bb1ea40548abe88837d20912eee5bbe3e3702d2cf57ad4df11104b53b726c8d7c6982699ce00f14e47ce12bdb2cd23b9b9913b4e5135507485b14b66c54d78c1 +DIST dotenv-2.1.0.tar.gz 13925 SHA256 4ce85708c581c955b8c4e3bdecde191302ea37aa7e2fe6f539c5ce4d76347242 SHA512 c6f61a1550d224733fbf55c6f4792b08771358c450750fb06615c2722695a31004f6326071b0db5df4a36b3fa7d358a37cf27fb039efde8495951b9237f4f495 WHIRLPOOL 91d2df31d4069af992ce1acad6fe66765f673f746e3883572ccc0442c1367608975b9284ec073c525c0d35a809bb48abc4d7047fb84c4baa5f594e046cd7a6e1 diff --git a/dev-ruby/dotenv/dotenv-2.1.0.ebuild b/dev-ruby/dotenv/dotenv-2.1.0.ebuild new file mode 100644 index 000000000000..b3d075ddb6a2 --- /dev/null +++ b/dev-ruby/dotenv/dotenv-2.1.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="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 ~arm ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +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 +} |