summaryrefslogtreecommitdiff
path: root/dev-ruby/dotenv
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-06-23 07:00:28 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-06-23 07:00:28 +0100
commite23cdda4dbb0c83b9e682ab5e916085a35203da5 (patch)
tree5a4ac448a3b288b731c24d947e0ce52df3cab07b /dev-ruby/dotenv
parent8187a741807f3e9a9e26304973cf18087dcf2560 (diff)
gentoo resync : 23.06.2018
Diffstat (limited to 'dev-ruby/dotenv')
-rw-r--r--dev-ruby/dotenv/Manifest2
-rw-r--r--dev-ruby/dotenv/dotenv-2.5.0.ebuild35
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/dotenv/Manifest b/dev-ruby/dotenv/Manifest
index f8dc3eeacc1d..80f6a60d33f0 100644
--- a/dev-ruby/dotenv/Manifest
+++ b/dev-ruby/dotenv/Manifest
@@ -1,5 +1,7 @@
DIST dotenv-2.2.2.tar.gz 15856 BLAKE2B e27a2650c79aadb31545c3a02d698f5cc3c9e27ddf07aa853a1f776b467f3cb707dda4ee3a0c107fbeb4a5609ded993ab74c81721cab088239858c28bd8e3ded SHA512 6af4039cec9c4c85240dc01eee5e24cac6b762e2fcb0d371bbde4cf03743e1917436664d2ea2e59fa619fddce96c9d3848354d42c3a621556cb120ed1cd0cf2b
DIST dotenv-2.4.0.tar.gz 16613 BLAKE2B e9f6a3bd08f610f829c09a250916d2b3194f699aa3b19c05e13ac77a4fdcf8a830ff43ddd6203d08fc96b70fc6b5d35b518ee2a640dd5a2b49886fac8a67fdb9 SHA512 59ae851ef6444dafa673549e84e9476c9ffb78ac6aa078be0fbdc0a1011e4df1dbbc664c612759c0932051bbe954a62679b4d9304dea0191469bf3d792943955
+DIST dotenv-2.5.0.tar.gz 17188 BLAKE2B 8d6adc9c137cef5f60462167b995e89f341c6d4d384cbf84c51eceb930f29e72da6e1c57044cd1a11c3043b829b75d9dd20d883ea13f4ecdff7a4c18ec17d4d9 SHA512 cea71aa801f6e79aaeb2cd6f33af16d3b548c97112a13f5638acf6eb12c73a434c4c3d89a08d074ffc589d6fa4e77534feb6c1cee9b7290b2acc6520637ccf18
EBUILD dotenv-2.2.2.ebuild 1015 BLAKE2B 51f9da2c9e17caae8864d7cc7f0b88ef8e16276db7ea73fdf83a11fa7ca88ccf4b9c0ceb50b9c6f2f5e2d885ea39391ec1c56e99c4d8af539d518425556d74d0 SHA512 bc5c272ec0931b0c75cc6d0c786a95562c3d6298e5b73353c2f9df98e72c1c566d4bfd2e3ef828d95080c67a89fedbab4c2f331ce166550ea796830b150d8947
EBUILD dotenv-2.4.0.ebuild 1015 BLAKE2B 51f9da2c9e17caae8864d7cc7f0b88ef8e16276db7ea73fdf83a11fa7ca88ccf4b9c0ceb50b9c6f2f5e2d885ea39391ec1c56e99c4d8af539d518425556d74d0 SHA512 bc5c272ec0931b0c75cc6d0c786a95562c3d6298e5b73353c2f9df98e72c1c566d4bfd2e3ef828d95080c67a89fedbab4c2f331ce166550ea796830b150d8947
+EBUILD dotenv-2.5.0.ebuild 1008 BLAKE2B f4f71c5940bf4cb741a68c5b38bba968efd233fc99b172946de7408109ad83a8613232aaf72ddd444aeea158c240ec0f41a1d7fe19709da6a600646b4a856731 SHA512 0f1c522703367e99d056135d6eca401e26093367f2653742c5cfc17826a5ced7cd193b9ea404cfe174586ce6cd1e3c5cfca70a8ebc7acd64668b30307543703a
MISC metadata.xml 341 BLAKE2B 4cc2ed329e48853a5939f5f7e41d2b6544d3d7d967563da065633826c3fb9d999815e8604fe4a897606f4ffe7be53f3e87c925120961050ce77f1fa573847f5a SHA512 72e21e93099953f1946b486fa8acdbd0b85ed139ef34d4ad9c7e3e89e2924ec598a662f72210d52efdb4cc2ed676962fc6d50c560b4b9c8a4ec849d75d5be2dc
diff --git a/dev-ruby/dotenv/dotenv-2.5.0.ebuild b/dev-ruby/dotenv/dotenv-2.5.0.ebuild
new file mode 100644
index 000000000000..8c168cd1ddf7
--- /dev/null
+++ b/dev-ruby/dotenv/dotenv-2.5.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24"
+
+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 ~ppc64 ~x86 ~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
+}