sin_fast_blank 2.2.1-java → 3.0.0-java

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0cb9e8a93a0051213bd80b9c47b8247847a4d389e239715856c58335758dcbf8
4
- data.tar.gz: b9b7d48920cd5c68dfd02e2ca3b87f98dffe3a45b195ac682429054aaed2b84b
3
+ metadata.gz: 39569947cc6b7800add1c48c4102dd7f5e84f17a322a8bb30414f351f4144864
4
+ data.tar.gz: 87f16f35db97adc714efab9b58293482a95021db537d604fbcbee84c89b0f99f
5
5
  SHA512:
6
- metadata.gz: 00a76dcb482ecac9e61e7df4f675aec5863685652cc3adfc2cb0b35f8aee7b2b5e50bd3daa470d6bb94dddba59585df4ab6a6d2da63f130ce9ccc06d2c4c6b1c
7
- data.tar.gz: 5999b81de14b1f220d3a6552d5c587c5d6dc5fbccd186978591ba6be1a9de16ebc533fabf428efa68700ff8e444daaae872bde5eec1f087ade27a0b51385b330
6
+ metadata.gz: 5dac53bcb32d56d4dde7e08a20ce375c3e276832ac0355ee910b24abc40e01106a191b7ef8f377e8391b7d27dbaaacd49da57adf2c7873141be0f44dbeccf87f
7
+ data.tar.gz: cb082971037f62d7015c5c69b00280905b537575ff4e32bdafdc0dfd437cce829a540e120ecfbcd31ca95c2414d4aa56a4ce67b2f6109f38eee67d23003d4b49
@@ -17,8 +17,8 @@ public class SinFastBlankLibrary implements Library {
17
17
  runtime.getString().defineAnnotatedMethods(SinFastBlankLibrary.class);
18
18
  }
19
19
 
20
- @JRubyMethod(name = "blank_as?")
21
- public static IRubyObject blank_as_p(ThreadContext context, IRubyObject self) {
20
+ @JRubyMethod(name = "blank?")
21
+ public static IRubyObject blank_p(ThreadContext context, IRubyObject self) {
22
22
  RubyString str = (RubyString) self;
23
23
  if (str.size() == 0) {
24
24
  return context.tru;
@@ -107,8 +107,8 @@ public class SinFastBlankLibrary implements Library {
107
107
  }
108
108
  }
109
109
 
110
- @JRubyMethod(name = "blank?")
111
- public static IRubyObject blank_p(ThreadContext context, IRubyObject self) {
110
+ @JRubyMethod(name = "ascii_blank?")
111
+ public static IRubyObject ascii_blank_p(ThreadContext context, IRubyObject self) {
112
112
  RubyString str = (RubyString) self;
113
113
  if (str.size() == 0) {
114
114
  return context.tru;
Binary file
metadata CHANGED
@@ -1,18 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sin_fast_blank
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 3.0.0
5
5
  platform: java
6
6
  authors:
7
7
  - Masahiro
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-03-03 00:00:00.000000000 Z
11
+ date: 2025-03-05 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: |
14
- Ruby extension library for up to 9x faster blank string checking than fast_blank gem.
15
- Forked from FastBlank.
13
+ description: Ruby extension library for up to 9x faster blank string checking than
14
+ fast_blank gem.
16
15
  email:
17
16
  - watanabe@cadenza-tech.com
18
17
  executables: []
@@ -21,15 +20,15 @@ extra_rdoc_files: []
21
20
  files:
22
21
  - ext/java/sin_fast_blank/SinFastBlankLibrary.java
23
22
  - lib/sin_fast_blank/sin_fast_blank.jar
24
- homepage: https://github.com/cadenza-tech/sin_fast_blank/tree/v2.2.1
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/v2.2.1
29
- source_code_uri: https://github.com/cadenza-tech/sin_fast_blank/tree/v2.2.1
30
- changelog_uri: https://github.com/cadenza-tech/sin_fast_blank/blob/v2.2.1/CHANGELOG.md
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/2.2.1
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"