1
0
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:
Po-Chuan Hsieh 2022-01-24 02:05:43 +08:00
parent cfd2a9c5a6
commit c9f2d794ea
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 32 additions and 0 deletions

View File

@ -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

View 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>

View 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

View 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