pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/ruby-faraday-multipart



Module Name:    pkgsrc
Committed By:   taca
Date:           Sat Jan  7 15:20:12 UTC 2023

Added Files:
        pkgsrc/www/ruby-faraday-multipart: DESCR Makefile PLIST distinfo

Log Message:
www/ruby-faraday-multipart: add package version 1.0.4

Required by newer ruby-faraday package.

Faraday Multipart

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.

Faraday contains a couple helper classes for multipart values:

* Faraday::Multipart::FilePart wraps binary file data with a Content-Type.
  The file data can be specified with a String path to a local file, or an
  IO object.

* Faraday::Multipart::ParamPart wraps a String value with a Content-Type,
  and optionally a Content-ID.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/www/ruby-faraday-multipart/DESCR \
    pkgsrc/www/ruby-faraday-multipart/Makefile \
    pkgsrc/www/ruby-faraday-multipart/PLIST \
    pkgsrc/www/ruby-faraday-multipart/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/www/ruby-faraday-multipart/DESCR
diff -u /dev/null pkgsrc/www/ruby-faraday-multipart/DESCR:1.1
--- /dev/null   Sat Jan  7 15:20:12 2023
+++ pkgsrc/www/ruby-faraday-multipart/DESCR     Sat Jan  7 15:20:12 2023
@@ -0,0 +1,18 @@
+Faraday Multipart
+
+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.
+
+Faraday contains a couple helper classes for multipart values:
+
+* Faraday::Multipart::FilePart wraps binary file data with a Content-Type.
+  The file data can be specified with a String path to a local file, or an
+  IO object.
+
+* Faraday::Multipart::ParamPart wraps a String value with a Content-Type,
+  and optionally a Content-ID.
Index: pkgsrc/www/ruby-faraday-multipart/Makefile
diff -u /dev/null pkgsrc/www/ruby-faraday-multipart/Makefile:1.1
--- /dev/null   Sat Jan  7 15:20:12 2023
+++ pkgsrc/www/ruby-faraday-multipart/Makefile  Sat Jan  7 15:20:12 2023
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2023/01/07 15:20:12 taca Exp $
+
+DISTNAME=      faraday-multipart-1.0.4
+CATEGORIES=    www
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/lostisland/faraday-multipart
+COMMENT=       Perform multipart-post requests using Faraday
+LICENSE=       mit
+
+DEPENDS+=      ${RUBY_PKGPREFIX}-multipart-post>=2<3:../../www/ruby-multipart-post
+
+USE_LANGUAGES= # none
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/ruby-faraday-multipart/PLIST
diff -u /dev/null pkgsrc/www/ruby-faraday-multipart/PLIST:1.1
--- /dev/null   Sat Jan  7 15:20:12 2023
+++ pkgsrc/www/ruby-faraday-multipart/PLIST     Sat Jan  7 15:20:12 2023
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1 2023/01/07 15:20:12 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/CHANGELOG.md
+${GEM_LIBDIR}/LICENSE.md
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/lib/faraday/multipart.rb
+${GEM_LIBDIR}/lib/faraday/multipart/file_part.rb
+${GEM_LIBDIR}/lib/faraday/multipart/middleware.rb
+${GEM_LIBDIR}/lib/faraday/multipart/param_part.rb
+${GEM_LIBDIR}/lib/faraday/multipart/version.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
Index: pkgsrc/www/ruby-faraday-multipart/distinfo
diff -u /dev/null pkgsrc/www/ruby-faraday-multipart/distinfo:1.1
--- /dev/null   Sat Jan  7 15:20:12 2023
+++ pkgsrc/www/ruby-faraday-multipart/distinfo  Sat Jan  7 15:20:12 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/01/07 15:20:12 taca Exp $
+
+BLAKE2s (faraday-multipart-1.0.4.gem) = b1f9db065018507f428ac2e07ec87d0075ececbf9fe0e61bd779a0e16fa3f66b
+SHA512 (faraday-multipart-1.0.4.gem) = 49d624d46b0f16ea57ddf5a42a2bcc76846f5a005a63337a1947a0fa4553406b72a90cad6983c6f5b009ca056dda18f3eba6420d7fc604ec358a26725ab0bc39
+Size (faraday-multipart-1.0.4.gem) = 10752 bytes



Home | Main Index | Thread Index | Old Index