sin_fast_blank 2.2.1 → 3.0.0
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/sin_fast_blank/sin_fast_blank.c +3 -3
- metadata +9 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ec25f2b02d6ef4454e68654537978f40540d89b2f4e63f5a15ea1d847310daa
|
4
|
+
data.tar.gz: 347cf7afe2b05c9e771a725546573ec55ec7107c9d1a53f23a056cc27206640b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8cc152c5c8d2a2cac8012600186a39caebeafe74218b7c861735b7fb57c90bb415c32a4f24b8948373a6b0bda804acdcf2c67389f1d1ce447e523a047e545ee0
|
7
|
+
data.tar.gz: f4e1c57e5395e1d7a50ae7d49778419243ea9f895822a54a1dadd1b3b9dd736dbc316fdb41cb1181e946951e07324da55632f756312f913d7d22767e0d23078b
|
@@ -36,7 +36,7 @@ static inline int is_unicode_blank(unsigned int codepoint) {
|
|
36
36
|
}
|
37
37
|
}
|
38
38
|
|
39
|
-
static VALUE
|
39
|
+
static VALUE rb_str_blank(VALUE str) {
|
40
40
|
long len = RSTRING_LEN(str);
|
41
41
|
if (len == 0) {
|
42
42
|
return Qtrue;
|
@@ -83,7 +83,7 @@ FULL_CHECK:;
|
|
83
83
|
return Qtrue;
|
84
84
|
}
|
85
85
|
|
86
|
-
static VALUE
|
86
|
+
static VALUE rb_str_ascii_blank(VALUE str) {
|
87
87
|
long len = RSTRING_LEN(str);
|
88
88
|
if (len == 0) {
|
89
89
|
return Qtrue;
|
@@ -126,5 +126,5 @@ FULL_CHECK:;
|
|
126
126
|
|
127
127
|
void Init_sin_fast_blank(void) {
|
128
128
|
rb_define_method(rb_cString, "blank?", rb_str_blank, 0);
|
129
|
-
rb_define_method(rb_cString, "
|
129
|
+
rb_define_method(rb_cString, "ascii_blank?", rb_str_ascii_blank, 0);
|
130
130
|
}
|
metadata
CHANGED
@@ -1,17 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sin_fast_blank
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masahiro
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-03-
|
10
|
+
date: 2025-03-05 00:00:00.000000000 Z
|
11
11
|
dependencies: []
|
12
|
-
description:
|
13
|
-
|
14
|
-
Forked from FastBlank.
|
12
|
+
description: Ruby extension library for up to 9x faster blank string checking than
|
13
|
+
fast_blank gem.
|
15
14
|
email:
|
16
15
|
- watanabe@cadenza-tech.com
|
17
16
|
executables: []
|
@@ -21,15 +20,15 @@ extra_rdoc_files: []
|
|
21
20
|
files:
|
22
21
|
- ext/sin_fast_blank/extconf.rb
|
23
22
|
- ext/sin_fast_blank/sin_fast_blank.c
|
24
|
-
homepage: https://github.com/cadenza-tech/sin_fast_blank/tree/
|
23
|
+
homepage: https://github.com/cadenza-tech/sin_fast_blank/tree/v3.0.0
|
25
24
|
licenses:
|
26
25
|
- MIT
|
27
26
|
metadata:
|
28
|
-
homepage_uri: https://github.com/cadenza-tech/sin_fast_blank/tree/
|
29
|
-
source_code_uri: https://github.com/cadenza-tech/sin_fast_blank/tree/
|
30
|
-
changelog_uri: https://github.com/cadenza-tech/sin_fast_blank/blob/
|
27
|
+
homepage_uri: https://github.com/cadenza-tech/sin_fast_blank/tree/v3.0.0
|
28
|
+
source_code_uri: https://github.com/cadenza-tech/sin_fast_blank/tree/v3.0.0
|
29
|
+
changelog_uri: https://github.com/cadenza-tech/sin_fast_blank/blob/v3.0.0/CHANGELOG.md
|
31
30
|
bug_tracker_uri: https://github.com/cadenza-tech/sin_fast_blank/issues
|
32
|
-
documentation_uri: https://rubydoc.info/gems/sin_fast_blank/
|
31
|
+
documentation_uri: https://rubydoc.info/gems/sin_fast_blank/3.0.0
|
33
32
|
funding_uri: https://patreon.com/CadenzaTech
|
34
33
|
rubygems_mfa_required: 'true'
|
35
34
|
required_jruby_version: ">= 9.3.0.0"
|