summaryrefslogtreecommitdiff
path: root/dev-ruby/multipart-post
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/multipart-post')
-rw-r--r--dev-ruby/multipart-post/Manifest1
-rw-r--r--dev-ruby/multipart-post/multipart-post-2.2.3-r1.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/multipart-post/Manifest b/dev-ruby/multipart-post/Manifest
index e7a952e87755..05f6e4869bc4 100644
--- a/dev-ruby/multipart-post/Manifest
+++ b/dev-ruby/multipart-post/Manifest
@@ -5,5 +5,6 @@ DIST multipart-post-2.2.3.tar.gz 13044 BLAKE2B fa63ad1957a515425c1b89556e0765730
EBUILD multipart-post-2.1.1-r1.ebuild 568 BLAKE2B 9f7ec0c6a7ee1cf8f1604710b9a180830b1bd5103cc3a0e93e5b1d4d0372ccbbd8690dae59aa1dfe8293a7a613a2adf5578a436b41830d3896629d16d2955867 SHA512 6105af91b5b22714ac478a6b6d671e3883c344e150c6692136e3c4d0f7ef7750cd7bfeff0a74360c8aed0fe343348b9c126c865352a3436d9a3a40bfdc434d44
EBUILD multipart-post-2.2.0.ebuild 767 BLAKE2B ca126af0e7ad127bf3180c2eb1b6422ef6141bea1c74b5300d480b04acaad268229c311032fe5338434e5009e422d2d7fbf31fe4a77a3aff99dba402141ab103 SHA512 c90961748e04da51d70b681ee5c427c3a81198d0a245597ce4da8e9a566bf4c25a144490349263af8fe99fe313787aab926bc20f94a1b40f003896770905efdd
EBUILD multipart-post-2.2.2.ebuild 767 BLAKE2B ca126af0e7ad127bf3180c2eb1b6422ef6141bea1c74b5300d480b04acaad268229c311032fe5338434e5009e422d2d7fbf31fe4a77a3aff99dba402141ab103 SHA512 c90961748e04da51d70b681ee5c427c3a81198d0a245597ce4da8e9a566bf4c25a144490349263af8fe99fe313787aab926bc20f94a1b40f003896770905efdd
+EBUILD multipart-post-2.2.3-r1.ebuild 949 BLAKE2B 8e03d13da5b882aa46a851853b02a8c967da844a3164ec5c2a9b6273716718d8f73c453f6ba75ddcfd4a98e41c42b8fac3da9c0bd998e1a309b0fb36bcb896e6 SHA512 8430dd208a497bcaafcfc5b3bf902989fff3d561b6ebbce974d0da9ffe41a0237c1241a0832bd8ba01e3902f4cd742b6e2b14b50c582597337d9f7a425de3cfd
EBUILD multipart-post-2.2.3.ebuild 767 BLAKE2B ca126af0e7ad127bf3180c2eb1b6422ef6141bea1c74b5300d480b04acaad268229c311032fe5338434e5009e422d2d7fbf31fe4a77a3aff99dba402141ab103 SHA512 c90961748e04da51d70b681ee5c427c3a81198d0a245597ce4da8e9a566bf4c25a144490349263af8fe99fe313787aab926bc20f94a1b40f003896770905efdd
MISC metadata.xml 350 BLAKE2B 9dc7252682b2302ab74d5ad216ed4d3d3c6dfd68808474a5c681682dd81b4e5e6508a9695bc0bb6987cf876594cd17f086fecb5f1e5a459371a05eb89ea85f40 SHA512 72b64e784ddbec1bc243443e96302bdbe3ab78b0aa3d097eb7a8c9e98bcffa7dbac65f0611eb3e2c72ccf702f32a388d18c1a5e86fc1de96fe62e1b4c3279e23
diff --git a/dev-ruby/multipart-post/multipart-post-2.2.3-r1.ebuild b/dev-ruby/multipart-post/multipart-post-2.2.3-r1.ebuild
new file mode 100644
index 000000000000..fdf3a83ed1f7
--- /dev/null
+++ b/dev-ruby/multipart-post/multipart-post-2.2.3-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby27 ruby30 ruby31"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+RUBY_FAKEGEM_GEMSPEC="multipart-post.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Adds a streamy multipart form post capability to Net::HTTP"
+HOMEPAGE="https://github.com/socketry/multipart-post"
+SRC_URI="https://github.com/socketry/multipart-post/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="test"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die
+
+ sed -i -e 's:_relative ":"./:' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ # Remove warnings since these are only actionable for developers,
+ # not for people consuming this package as part of other tools.
+ sed -i -e '/Top level/ s/warn/# warn/' lib/*.rb || die
+}