1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Rack::Cors provides support for Cross-Origin Resource Sharing (CORS) for

Rack compatible web applications. The CORS spec allows web applications
to make cross domain AJAX calls without using workarounds such as JSONP.

WWW: https://github.com/cyu/rack-cors

PR:		ports/188005
Submitted by:	Michael Moll <kvedulv at kvedulv.de>
This commit is contained in:
Steve Wills 2014-03-29 16:08:04 +00:00
parent c81fb5b984
commit c59d5014a1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349554
4 changed files with 28 additions and 0 deletions

View File

@ -1840,6 +1840,7 @@
SUBDIR += rubygem-rack-attack
SUBDIR += rubygem-rack-cache
SUBDIR += rubygem-rack-contrib
SUBDIR += rubygem-rack-cors
SUBDIR += rubygem-rack-mount
SUBDIR += rubygem-rack-openid
SUBDIR += rubygem-rack-protection

View File

@ -0,0 +1,20 @@
# Created by: Michael Moll <kvedulv at kvedulv.de>
# $FreeBSD$
PORTNAME= rack-cors
PORTVERSION= 0.2.9
CATEGORIES= www rubygems
MASTER_SITES= RG
MAINTAINER= ruby@FreeBSD.org
COMMENT= Middleware that will make Rack-based apps CORS compatible
LICENSE= MIT
RUN_DEPENDS= rubygem-rack>=0.4:${PORTSDIR}/www/rubygem-rack
USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (rubygem/rack-cors-0.2.9.gem) = 5a256bda2673c7bbba014587b1f93fd2e6fd80b7ac9804a0f90665add6ba087d
SIZE (rubygem/rack-cors-0.2.9.gem) = 47104

View File

@ -0,0 +1,5 @@
Rack::Cors provides support for Cross-Origin Resource Sharing (CORS) for
Rack compatible web applications. The CORS spec allows web applications
to make cross domain AJAX calls without using workarounds such as JSONP.
WWW: https://github.com/cyu/rack-cors