ruby-lsapi 5.4 → 5.6
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/lsapi/lsruby.c +9 -2
- data/lsapi.gemspec +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 683129ad091d40aea2e77ed9d334ebec39445f6fb8d8a90e8447653a99734982
|
|
4
|
+
data.tar.gz: 59d3d25ac7ac9d6d2b99550608e892ff56ea78058cf386a80abeff42c00f15c1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9ff5c2961a204c0dc4b31412252a056e0829865b3fe45bacad4f0edb97f489f68d791e006b310f78ea899dd9ed79d18f30b2cc65024f07005913b76c6ce799b5
|
|
7
|
+
data.tar.gz: f6cbbac34f011be2534ef74e58bbce4cb89e8ea18092b9ea41699998a6b3c40d483ac7ec1e5594e3ebe199ad5e09916f8e72180979857433298fc37b39d91d8d
|
data/ext/lsapi/lsruby.c
CHANGED
|
@@ -45,6 +45,13 @@ static VALUE lsapi_env;
|
|
|
45
45
|
|
|
46
46
|
static int MAX_BODYBUF_LENGTH = (10 * 1024 * 1024);
|
|
47
47
|
|
|
48
|
+
#if RUBY_API_VERSION_CODE >= 20700
|
|
49
|
+
# if defined rb_tainted_str_new
|
|
50
|
+
# undef rb_tainted_str_new
|
|
51
|
+
# endif
|
|
52
|
+
# define rb_tainted_str_new(p,l) rb_str_new((p),(l))
|
|
53
|
+
#endif
|
|
54
|
+
|
|
48
55
|
/* static VALUE lsapi_objrefs; */
|
|
49
56
|
|
|
50
57
|
typedef struct lsapi_data
|
|
@@ -353,7 +360,7 @@ static VALUE lsapi_printf(int argc, VALUE *argv, VALUE out)
|
|
|
353
360
|
|
|
354
361
|
static VALUE lsapi_puts _((int, VALUE*, VALUE));
|
|
355
362
|
|
|
356
|
-
#if
|
|
363
|
+
#if RUBY_API_VERSION_CODE >= 10900
|
|
357
364
|
static VALUE lsapi_puts_ary(VALUE ary, VALUE out, int recur )
|
|
358
365
|
{
|
|
359
366
|
VALUE tmp;
|
|
@@ -411,7 +418,7 @@ static VALUE lsapi_puts(int argc, VALUE *argv, VALUE out)
|
|
|
411
418
|
line = rb_str_new2("nil");
|
|
412
419
|
break;
|
|
413
420
|
case T_ARRAY:
|
|
414
|
-
#if
|
|
421
|
+
#if RUBY_API_VERSION_CODE >= 10900
|
|
415
422
|
rb_exec_recursive(lsapi_puts_ary, argv[i], out);
|
|
416
423
|
#else
|
|
417
424
|
rb_protect_inspect(lsapi_puts_ary, argv[i], out);
|
data/lsapi.gemspec
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = %q{ruby-lsapi}
|
|
3
|
-
s.version = "5.
|
|
4
|
-
s.date = %q{
|
|
3
|
+
s.version = "5.6"
|
|
4
|
+
s.date = %q{2024-01-22}
|
|
5
5
|
s.description = "This is a ruby extension for fast communication with LiteSpeed Web Server."
|
|
6
6
|
s.summary = %q{A ruby extension for fast communication with LiteSpeed Web Server.}
|
|
7
7
|
s.has_rdoc = false
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby-lsapi
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: '5.
|
|
4
|
+
version: '5.6'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- LiteSpeed Technologies Inc.
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2024-01-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: This is a ruby extension for fast communication with LiteSpeed Web Server.
|
|
14
14
|
email: info@litespeedtech.com
|
|
@@ -33,7 +33,7 @@ files:
|
|
|
33
33
|
homepage: http://www.litespeedtech.com/
|
|
34
34
|
licenses: []
|
|
35
35
|
metadata: {}
|
|
36
|
-
post_install_message:
|
|
36
|
+
post_install_message:
|
|
37
37
|
rdoc_options: []
|
|
38
38
|
require_paths:
|
|
39
39
|
- lib
|
|
@@ -48,8 +48,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
48
48
|
- !ruby/object:Gem::Version
|
|
49
49
|
version: '0'
|
|
50
50
|
requirements: []
|
|
51
|
-
rubygems_version: 3.3.
|
|
52
|
-
signing_key:
|
|
51
|
+
rubygems_version: 3.3.5
|
|
52
|
+
signing_key:
|
|
53
53
|
specification_version: 4
|
|
54
54
|
summary: A ruby extension for fast communication with LiteSpeed Web Server.
|
|
55
55
|
test_files: []
|