Import ruby-websocket-extensions 0.1.2, extension manager for WebSocket

connections

OK jasper@
This commit is contained in:
jeremy 2015-06-05 02:48:30 +00:00
parent 51cb026230
commit d850d11c37
4 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,16 @@
# $OpenBSD: Makefile,v 1.1.1.1 2015/06/05 02:48:30 jeremy Exp $
COMMENT = implementation of WebSocket extensions for ruby
DISTNAME = websocket-extensions-0.1.2
CATEGORIES = www
HOMEPAGE = https://github.com/faye/websocket-extensions-ruby
# MIT
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/ruby
CONFIGURE_STYLE = ruby gem
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (websocket-extensions-0.1.2.gem) = eRnAMQ7dpVzkAm0/Fg5hIWBJPASCdsq+UAMIQ53SFh8=
SIZE (websocket-extensions-0.1.2.gem) = 10752

View File

@ -0,0 +1,11 @@
A minimal framework that supports the implementation of WebSocket
extensions in a way that's decoupled from the main protocol. This
library aims to allow a WebSocket extension to be written and used with
any protocol library, by defining abstract representations of frames and
messages that allow modules to co-operate.
websocket-extensions provides a container for registering extension
plugins, and provides all the functions required to negotiate which
extensions to use during a session via the Sec-WebSocket-Extensions
header. By implementing the APIs defined in this document, an extension
may be used by any WebSocket library based on this framework.

View File

@ -0,0 +1,11 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2015/06/05 02:48:30 jeremy Exp $
${GEM_LIB}/cache/${DISTNAME}.gem
${GEM_LIB}/gems/${DISTNAME}/
${GEM_LIB}/gems/${DISTNAME}/CHANGELOG.md
${GEM_LIB}/gems/${DISTNAME}/README.md
${GEM_LIB}/gems/${DISTNAME}/lib/
${GEM_LIB}/gems/${DISTNAME}/lib/websocket/
${GEM_LIB}/gems/${DISTNAME}/lib/websocket/extensions/
${GEM_LIB}/gems/${DISTNAME}/lib/websocket/extensions.rb
${GEM_LIB}/gems/${DISTNAME}/lib/websocket/extensions/parser.rb
${GEM_LIB}/specifications/${DISTNAME}.gemspec