summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-01-25 08:09:57 +0100
committerHans de Graaff <graaff@gentoo.org>2020-01-25 08:09:57 +0100
commite3ec4c26cb13ed0d7c52fe59fb083698faf108d4 (patch)
treee2e015ff808d30ea761abc3b693e96ee68a3e01a /dev-ruby/serverengine
parentdev-ruby/faraday_middleware: add 0.14.0 (diff)
downloadgentoo-e3ec4c26cb13ed0d7c52fe59fb083698faf108d4.tar.gz
gentoo-e3ec4c26cb13ed0d7c52fe59fb083698faf108d4.tar.bz2
gentoo-e3ec4c26cb13ed0d7c52fe59fb083698faf108d4.zip
dev-ruby/serverengine: add 2.2.1
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/serverengine')
-rw-r--r--dev-ruby/serverengine/Manifest1
-rw-r--r--dev-ruby/serverengine/serverengine-2.2.1.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/serverengine/Manifest b/dev-ruby/serverengine/Manifest
index 57e1c7be03c..788d04ff756 100644
--- a/dev-ruby/serverengine/Manifest
+++ b/dev-ruby/serverengine/Manifest
@@ -1,2 +1,3 @@
DIST serverengine-2.1.1.gem 38912 BLAKE2B 110adef1bfc4538dcbd9cddc5aabcda00f0e6276f3092cccd54bdd92d644bc6121300c1963276d3bbb810fc2be44c9c833d1d74b524b3d7faae8424b98e45e3f SHA512 627ba0ad0235536009ed22cca017d23d76ad7863b9ed83e90504d374bb3c1b887c73ed0b120378327485ba7c68a18bf354228529da84e134ac4d3b6dd96d14e1
DIST serverengine-2.2.0.gem 38912 BLAKE2B 78af0816c480613e7e85ebd9d1061888af311a4eff045b59e4224cb86738193fe0bef25d435c891231b7b7c3397f25970b8ddd8fead09393e9fe7824bce03025 SHA512 a6ef8fc094a1306524357c740ba198d0ac0fecbd1716e873ce25d3caae9874e4c73424c5fb4e3d60886bb9e613651288f24085ae7c0a244bcd27c606d5a843c7
+DIST serverengine-2.2.1.gem 39424 BLAKE2B 0c68bfd59c0f6abbb294ecd8003c80853413b38b05ba1553230a2a49ffbf56dad43428eafbac4e77a012d66fdc30d4445249aed53e6eead11f52f5aeffd91c1e SHA512 920dd828561b44525dbef2a45144a40f456a5fbc2a56366a7831b42e9f6e115895a0156adc10114a007c2487d1bd1488f73c9c00373fd90648ee272c9c872111
diff --git a/dev-ruby/serverengine/serverengine-2.2.1.ebuild b/dev-ruby/serverengine/serverengine-2.2.1.ebuild
new file mode 100644
index 00000000000..e563fa5d3d3
--- /dev/null
+++ b/dev-ruby/serverengine/serverengine-2.2.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_EXTRADOC="Changelog README.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A framework to implement robust multiprocess servers"
+HOMEPAGE="https://github.com/fluent/serverengine"
+LICENSE="Apache-2.0"
+
+KEYWORDS="~amd64"
+SLOT="0"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/sigdump-0.2.2:0"
+
+ruby_add_bdepend "test? ( dev-ruby/bundler )"
+
+all_ruby_prepare() {
+ sed -i -e '/rake/ s/~>/>=/' \
+ -e '/rspec/ s/2.13.0/2.13/' \
+ -e '/rake-compiler/ s:^:#:' serverengine.gemspec || die
+}
+
+each_ruby_test() {
+ # The specs spawn ruby processes with bundler support
+ ${RUBY} -S bundle exec rspec-2 spec || die
+}