summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ruby/websocket-driver/Manifest1
-rw-r--r--dev-ruby/websocket-driver/websocket-driver-0.6.4.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/websocket-driver/Manifest b/dev-ruby/websocket-driver/Manifest
index fe70e883880f..a105770fb5df 100644
--- a/dev-ruby/websocket-driver/Manifest
+++ b/dev-ruby/websocket-driver/Manifest
@@ -1,3 +1,4 @@
DIST websocket-driver-0.3.4.gem 19456 SHA256 b829ee1da54aa1374ca0cc143a83f1f5a55ea9f318021f06fec4b34a2f47b038 SHA512 c3c2c98bd5057a47e830fc31d56f88ad376ad71b473963fa20c1380de8a9c95b458cd9545b676f7adc1ed494664714648aec182b6b3681c38c87248370f1db64 WHIRLPOOL 019e6527dcd034ddfd3652c1f71bbeee01e62dfa59e7c70d1986b64bb05364122cc7d2c4bee2c2c0d4559e55724f6def40a1b20ad47e6fa153f5b7e8b3c0366d
DIST websocket-driver-0.6.2.tar.gz 24186 SHA256 531b5687169e837c6c6378cac0716710143691138caa95ef67a5bb2a14a46f71 SHA512 c4a7d91a6f3c882029c50723da90cf5b1daac725bc1b4ac1bb5136b1fbb96f6206f9b304ff9d404399ab1d1995a39a9db63123fff8fd9b80241cc16709fc7200 WHIRLPOOL 64c4134ec7ebfaba790cd68863ca3989282444417a84d058a034b14814e02e8bcd11744a33739e45a7cc8009e30bbb8333990626af44f8df6b411478cd7d8120
DIST websocket-driver-0.6.3.tar.gz 24562 SHA256 b326151fdde8a0d5c01035547b570d2e8feb1aa9c0344e034cfb954d1df21154 SHA512 ed5b22ddf7e2e592942e828076009f07c3ad4058b213aa8b44ac5bcf952d21484464a082f6f45772368dd61fe0dd9eb60732897561f757f960167d86d4e99c74 WHIRLPOOL c159ed70052edcb9cc4e5c3ddda7ea86eb160da0e3a7108ca36a26ce13437995b021e4407ab6d29cfa57fe61c72932350f360becfd44bd16b54da1ff0384f40a
+DIST websocket-driver-0.6.4.tar.gz 24516 SHA256 3af1b2cabe12fb7845836e362923e5136106e621b8bac9600faba4a845286fd9 SHA512 5d84586a0ec396f2c55eaf65db95ce4ebf427fdeb261c47595667561c6c76730eed0e2971fe7919067a39427ca31b2805be2e7443661494946165c0d9bc9935a WHIRLPOOL edc1e823adeaca8fddd6644cbb83310fc9185a18fe5c8bf41d13c8476ed7d7862f6ad691fa6d4926cf1d2729bd522d44a1df3e824172363abd84212f14784fce
diff --git a/dev-ruby/websocket-driver/websocket-driver-0.6.4.ebuild b/dev-ruby/websocket-driver/websocket-driver-0.6.4.ebuild
new file mode 100644
index 000000000000..6de5095043bc
--- /dev/null
+++ b/dev-ruby/websocket-driver/websocket-driver-0.6.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A complete implementation of the WebSocket protocols"
+HOMEPAGE="https://github.com/faye/websocket-driver-ruby"
+SRC_URI="https://github.com/faye/websocket-driver-ruby/archive/${PV}.tar.gz -> ${P}.tar.gz"
+RUBY_S="${PN}-ruby-${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/websocket-extensions-0.1.0"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die
+}
+
+each_ruby_configure() {
+ ${RUBY} -Cext/websocket-driver extconf.rb || die
+}
+
+each_ruby_compile() {
+ emake V=1 -Cext/websocket-driver
+ cp ext/websocket-driver/websocket_mask.so lib/ || die
+}