mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
www/rubygem-faraday-multipart: Add rubygem-faraday-multipart 1.0.3
The Multipart middleware converts a Faraday::Request#body Hash of key/value pairs into a multipart form request, but only under these conditions: - The request's Content-Type is "multipart/form-data" - Content-Type is unspecified, AND one of the values in the Body responds to #content_type. WWW: https://github.com/lostisland/faraday-multipart
This commit is contained in:
parent
cfd2a9c5a6
commit
c9f2d794ea
@ -1901,6 +1901,7 @@
|
||||
SUBDIR += rubygem-faraday-em_http
|
||||
SUBDIR += rubygem-faraday-em_synchrony
|
||||
SUBDIR += rubygem-faraday-httpclient
|
||||
SUBDIR += rubygem-faraday-multipart
|
||||
SUBDIR += rubygem-faraday-net_http
|
||||
SUBDIR += rubygem-faraday-net_http_persistent
|
||||
SUBDIR += rubygem-faraday-patron
|
||||
|
21
www/rubygem-faraday-multipart/Makefile
Normal file
21
www/rubygem-faraday-multipart/Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
||||
|
||||
PORTNAME= faraday-multipart
|
||||
PORTVERSION= 1.0.3
|
||||
CATEGORIES= www rubygems
|
||||
MASTER_SITES= RG
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Perform multipart-post requests using Faraday
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
||||
|
||||
RUN_DEPENDS= rubygem-multipart-post>=1.2<3:www/rubygem-multipart-post
|
||||
|
||||
USES= gem
|
||||
USE_RUBY= yes
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/rubygem-faraday-multipart/distinfo
Normal file
3
www/rubygem-faraday-multipart/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1642102121
|
||||
SHA256 (rubygem/faraday-multipart-1.0.3.gem) = 72c82136270b0930efb03162f2dce19bd22a9a0e00abd8263cce7a20408a0e0f
|
||||
SIZE (rubygem/faraday-multipart-1.0.3.gem) = 9216
|
7
www/rubygem-faraday-multipart/pkg-descr
Normal file
7
www/rubygem-faraday-multipart/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
||||
The Multipart middleware converts a Faraday::Request#body Hash of key/value
|
||||
pairs into a multipart form request, but only under these conditions:
|
||||
- The request's Content-Type is "multipart/form-data"
|
||||
- Content-Type is unspecified, AND one of the values in the Body responds to
|
||||
#content_type.
|
||||
|
||||
WWW: https://github.com/lostisland/faraday-multipart
|
Loading…
Reference in New Issue
Block a user