curb 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ext/curb.h +3 -3
- data/ext/curb_multi.c +1 -1
- data/ext/extconf.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4132fc4156cffd5b113d5ce08ee7a29bb0a4fa643c1f5ebf0a75e2717737322c
|
|
4
|
+
data.tar.gz: d323b02c1f56de644a378b6df0087c93f97e2eaba075b67a1003eb0257a10594
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c6e686785d44329a0c0599c820302bb08d91618f553459d3779a0429536c058e5c1cb634321e32194f3cb096ead0af3222ce9b13d16e0d594c410e83f4507cbb
|
|
7
|
+
data.tar.gz: 70b25e2cea3d06bee175d09f291cbdf2a24fc2ea1c881274a5f32ec1578b301a33594378debdbf99fced22f40bcab7eab7b97d534573482119f664194611985c
|
data/ext/curb.h
CHANGED
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
#include "curb_macros.h"
|
|
29
29
|
|
|
30
30
|
// These should be managed from the Rake 'release' task.
|
|
31
|
-
#define CURB_VERSION "1.3.
|
|
32
|
-
#define CURB_VER_NUM
|
|
31
|
+
#define CURB_VERSION "1.3.1"
|
|
32
|
+
#define CURB_VER_NUM 1031
|
|
33
33
|
#define CURB_VER_MAJ 1
|
|
34
34
|
#define CURB_VER_MIN 3
|
|
35
|
-
#define CURB_VER_MIC
|
|
35
|
+
#define CURB_VER_MIC 1
|
|
36
36
|
#define CURB_VER_PATCH 0
|
|
37
37
|
|
|
38
38
|
|
data/ext/curb_multi.c
CHANGED
|
@@ -1695,7 +1695,7 @@ VALUE ruby_curl_multi_perform(int argc, VALUE *argv, VALUE self) {
|
|
|
1695
1695
|
#elif HAVE_RB_THREAD_BLOCKING_REGION
|
|
1696
1696
|
rc = rb_thread_blocking_region(curb_select, &fdset_args, RUBY_UBF_IO, 0);
|
|
1697
1697
|
#else
|
|
1698
|
-
rc =
|
|
1698
|
+
rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &tv);
|
|
1699
1699
|
#endif
|
|
1700
1700
|
|
|
1701
1701
|
#ifdef _WIN32
|
data/ext/extconf.rb
CHANGED
|
@@ -685,7 +685,8 @@ test_for("curl_easy_escape", "CURL_EASY_ESCAPE", %{
|
|
|
685
685
|
have_func('rb_thread_blocking_region')
|
|
686
686
|
have_header('ruby/thread.h') && have_func('rb_thread_call_without_gvl', 'ruby/thread.h')
|
|
687
687
|
have_header('ruby/io.h')
|
|
688
|
-
|
|
688
|
+
# Ruby 4.x exports rb_thread_fd_select without declaring it in ruby/io.h.
|
|
689
|
+
have_func('rb_thread_fd_select')
|
|
689
690
|
have_func('rb_wait_for_single_fd', 'ruby/io.h')
|
|
690
691
|
have_header('ruby/fiber/scheduler.h')
|
|
691
692
|
have_func('rb_fiber_scheduler_current', 'ruby/fiber/scheduler.h')
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: curb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ross Bamford
|
|
8
8
|
- Todd A. Fisher
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-04-
|
|
11
|
+
date: 2026-04-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Curb (probably CUrl-RuBy or something) provides Ruby-language bindings
|
|
14
14
|
for the libcurl(3), a fully-featured client-side URL transfer library. cURL and
|