From e58ca3cb406c44665001973cc7a6595ba8988cf3 Mon Sep 17 00:00:00 2001 From: Steve Wills Date: Sat, 29 Mar 2014 16:13:58 +0000 Subject: [PATCH] A simple way to add proper auto generated documentation to inline described grape APIs. WWW: https://github.com/tim-vandecasteele/grape-swagger PR: ports/188007 Submitted by: Michael Moll --- devel/Makefile | 1 + devel/rubygem-grape-swagger/Makefile | 22 ++++++++++++++++++++++ devel/rubygem-grape-swagger/distinfo | 2 ++ devel/rubygem-grape-swagger/pkg-descr | 4 ++++ 4 files changed, 29 insertions(+) create mode 100644 devel/rubygem-grape-swagger/Makefile create mode 100644 devel/rubygem-grape-swagger/distinfo create mode 100644 devel/rubygem-grape-swagger/pkg-descr diff --git a/devel/Makefile b/devel/Makefile index cd9215680c6a..f72229f21568 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4235,6 +4235,7 @@ SUBDIR += rubygem-graf SUBDIR += rubygem-grape SUBDIR += rubygem-grape-entity + SUBDIR += rubygem-grape-swagger SUBDIR += rubygem-grit SUBDIR += rubygem-hashery SUBDIR += rubygem-hashie diff --git a/devel/rubygem-grape-swagger/Makefile b/devel/rubygem-grape-swagger/Makefile new file mode 100644 index 000000000000..887aafee43e3 --- /dev/null +++ b/devel/rubygem-grape-swagger/Makefile @@ -0,0 +1,22 @@ +# Created by: Michael Moll +# $FreeBSD$ + +PORTNAME= grape-swagger +PORTVERSION= 0.7.2 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= ruby@FreeBSD.org +COMMENT= Documentation tool for grape APIs + +LICENSE= MIT + +RUN_DEPENDS= rubygem-grape>=0.2.0:${PORTSDIR}/devel/rubygem-grape \ + rubygem-grape-entity>=0.3.0:${PORTSDIR}/devel/rubygem-grape-entity \ + rubygem-kramdown>=1.3.1:${PORTSDIR}/textproc/rubygem-kramdown + +USE_RUBY= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST= yes + +.include diff --git a/devel/rubygem-grape-swagger/distinfo b/devel/rubygem-grape-swagger/distinfo new file mode 100644 index 000000000000..9b389093d251 --- /dev/null +++ b/devel/rubygem-grape-swagger/distinfo @@ -0,0 +1,2 @@ +SHA256 (rubygem/grape-swagger-0.7.2.gem) = 6503907d2dab219816b283cebdc4cf9c5c99466a9208d1c29aee2c4649b1a1f5 +SIZE (rubygem/grape-swagger-0.7.2.gem) = 18944 diff --git a/devel/rubygem-grape-swagger/pkg-descr b/devel/rubygem-grape-swagger/pkg-descr new file mode 100644 index 000000000000..42be95726efa --- /dev/null +++ b/devel/rubygem-grape-swagger/pkg-descr @@ -0,0 +1,4 @@ +A simple way to add proper auto generated documentation to inline +described grape APIs. + +WWW: https://github.com/tim-vandecasteele/grape-swagger