diff options
author | clsung <clsung@FreeBSD.org> | 2009-02-19 14:47:09 +0800 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2009-02-19 14:47:09 +0800 |
commit | dab5490ef65bcf11e0721067958072646addcc6a (patch) | |
tree | 92632e0dde38e36902b2b94722185f73fd0556bb /www | |
parent | ba3a147a9828b978fc50a41c00a50b928f3b5404 (diff) | |
download | freebsd-ports-gnome-dab5490ef65bcf11e0721067958072646addcc6a.tar.gz freebsd-ports-gnome-dab5490ef65bcf11e0721067958072646addcc6a.tar.zst freebsd-ports-gnome-dab5490ef65bcf11e0721067958072646addcc6a.zip |
httparty is a Ruby library that makes HTTP fun again!
It's feautures:
* Easy get, post, put, delete requests
* Basic http authentication
* Default request query string parameters (ie: for api
keys that are needed on each request)
* Automatic parsing of JSON and XML into ruby hashes
based on response content-type
WWW: http://rubyforge.org/projects/httparty/
PR: ports/128661
Submitted by: Wen Heping <wenheping_AT_gmail dot com>
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/rubygem-httparty/Makefile | 22 | ||||
-rw-r--r-- | www/rubygem-httparty/distinfo | 3 | ||||
-rw-r--r-- | www/rubygem-httparty/pkg-descr | 12 |
4 files changed, 38 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 1c7b6d3e1abb..365f4682fb81 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1328,6 +1328,7 @@ SUBDIR += rubygem-haml SUBDIR += rubygem-hpricot SUBDIR += rubygem-htauth + SUBDIR += rubygem-httparty SUBDIR += rubygem-layout-yullio SUBDIR += rubygem-maruku SUBDIR += rubygem-mechanize diff --git a/www/rubygem-httparty/Makefile b/www/rubygem-httparty/Makefile new file mode 100644 index 000000000000..7083b512eb06 --- /dev/null +++ b/www/rubygem-httparty/Makefile @@ -0,0 +1,22 @@ +# Ports collection makefile for: rubygem-httparty +# Date created: Nov 07, 2008 +# Whom: Wen Heping <wenheping@gmail.com> +# +# $FreeBSD$ + +PORTNAME= httparty +PORTVERSION= 0.1.3 +CATEGORIES= www rubygems +MASTER_SITES= RF + +MAINTAINER= wenheping@gmail.com +COMMENT= Ruby Library that Makes HTTP Fun Again + +BUILD_DEPENDS= rubygem-activesupport>=2.1.0:${PORTSDIR}/devel/rubygem-activesupport +RUN_DEPENDS= ${BUILD_DEPENDS} + +USE_RUBY= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST= yes + +.include <bsd.port.mk> diff --git a/www/rubygem-httparty/distinfo b/www/rubygem-httparty/distinfo new file mode 100644 index 000000000000..1cb8597a4615 --- /dev/null +++ b/www/rubygem-httparty/distinfo @@ -0,0 +1,3 @@ +MD5 (rubygem/httparty-0.1.3.gem) = 3c986ec5e1a0f1ab550b1063566facfa +SHA256 (rubygem/httparty-0.1.3.gem) = 6c334d1790f858962e8c05a90273bf576d475c1169c7d91c2df1845b3c869628 +SIZE (rubygem/httparty-0.1.3.gem) = 26112 diff --git a/www/rubygem-httparty/pkg-descr b/www/rubygem-httparty/pkg-descr new file mode 100644 index 000000000000..54eac69b7050 --- /dev/null +++ b/www/rubygem-httparty/pkg-descr @@ -0,0 +1,12 @@ +httparty is a Ruby library that makes HTTP fun again! + +It's feautures: + +* Easy get, post, put, delete requests +* Basic http authentication +* Default request query string parameters (ie: for api +keys that are needed on each request) +* Automatic parsing of JSON and XML into ruby hashes +based on response content-type + +WWW: http://rubyforge.org/projects/httparty/ |