summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-04-29 06:58:02 +0200
committerHans de Graaff <graaff@gentoo.org>2017-04-29 06:58:02 +0200
commit367356e711f79230d51e685194586f489d7f977e (patch)
tree23cb7a39c1c633a0c6224248b45b7a25807d69fa /dev-ruby/dotenv
parentdev-perl/Gtk2: Bump to version 1.249.920 (diff)
downloadgentoo-367356e711f79230d51e685194586f489d7f977e.tar.gz
gentoo-367356e711f79230d51e685194586f489d7f977e.tar.bz2
gentoo-367356e711f79230d51e685194586f489d7f977e.zip
dev-ruby/dotenv: add 2.2.1
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-ruby/dotenv')
-rw-r--r--dev-ruby/dotenv/Manifest1
-rw-r--r--dev-ruby/dotenv/dotenv-2.2.1.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/dotenv/Manifest b/dev-ruby/dotenv/Manifest
index 9131985d5d9f..dae63cc0fa57 100644
--- a/dev-ruby/dotenv/Manifest
+++ b/dev-ruby/dotenv/Manifest
@@ -1,2 +1,3 @@
DIST dotenv-2.1.1.tar.gz 14019 SHA256 c1fb9da9dd85b9e92026e49766de2ef13117b7adbcb9a21876ae478653da3d59 SHA512 6e9e6604d698ae3bcdf2c10bcbdd169b278477eafd532c4031f592db1daf4e000e57486a4e98d032718c555cf6032189947bae02737bf2a46819b8638a8dc8ab WHIRLPOOL ddbf38c95633040774ae31268bf7eecb1a5d5c31f3cec5edad1e5fecec621d39d2418dfe73082dd3501d90d6bf9349b7261a1e8fce26599dab1c1fe74813709e
DIST dotenv-2.2.0.tar.gz 15246 SHA256 1b6db209aea6a07ca7605d0abe2560e7d3d36a8a5df3ca6ec1961d176f12a062 SHA512 c681f017f85d3aaf4881519b7bc5616b1bf2dcfe5f42be1d4b279f0c61936c16378664103908c913d283bb0e58cd3128ea88451f0702337c5171a46133d497d6 WHIRLPOOL 006c970d4b25c9bad1c6eb99ed21fe3828ce9ec4afa34ec93011b1f999083b98849a7078d390ecd0c88d216cdd62ed9f5484e411cc2cea43fa2dcbfb3755ab56
+DIST dotenv-2.2.1.tar.gz 15855 SHA256 cc816c6697d860063c4a4cd703d46dcea382eebbdad903ac52acd9947bbf30c0 SHA512 67e9cc5323d505f0b5a5a1278d0ce6c72a577fc096508b5a6de7b73f3c0fa2ca8144475783ab2b9ef04cf44d6e57ddb8e09f849c44729f7bb7c4bb7156baa443 WHIRLPOOL 7c16cf43ef8e97ce4d0106e68a15b38795965b09b322bf971cba31af0415aa76bcf18ce7ccf545d5378e83a653a9ca80a477dc298a32f712ea24e8048e8a4661
diff --git a/dev-ruby/dotenv/dotenv-2.2.1.ebuild b/dev-ruby/dotenv/dotenv-2.2.1.ebuild
new file mode 100644
index 000000000000..59c46d8b7038
--- /dev/null
+++ b/dev-ruby/dotenv/dotenv-2.2.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_EXTRADOC="README.md Changelog.md"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+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 )"
+
+all_ruby_prepare() {
+ sed -i -e '/:guard/,/end/ s:^:#:' \
+ -e '5igem "rspec", "~> 3.0"' Gemfile || die
+
+ sed -i -e '/rubocop/ s:^:#:' -e 's/git ls-files/find/' dotenv.gemspec || die
+}
+
+each_ruby_prepare() {
+ sed -i -e "s:ruby -v:${RUBY} -v:g" spec/dotenv/parser_spec.rb || die
+}