sin_fast_blank 2.2.1-java → 3.1.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: b567fa9f561dc32d6361c3cfe8ca30df6a75fa00caaa591e5b0dfcdd8df36d00
4
+ data.tar.gz: 0bdd5bd814469a06a7cca2e032d7cd24e36643c0dcb1a1bdbdedc32b9943b86e
5
5
  SHA512:
6
- metadata.gz: 00a76dcb482ecac9e61e7df4f675aec5863685652cc3adfc2cb0b35f8aee7b2b5e50bd3daa470d6bb94dddba59585df4ab6a6d2da63f130ce9ccc06d2c4c6b1c
7
- data.tar.gz: 5999b81de14b1f220d3a6552d5c587c5d6dc5fbccd186978591ba6be1a9de16ebc533fabf428efa68700ff8e444daaae872bde5eec1f087ade27a0b51385b330
6
+ metadata.gz: cd3b733222998c4e0463121c5c1b7f36d412ad9a15122df9433631d06faddf0238d034a54de452a717a6ad92090f6e7e2c9578acdc020548ccde18e446a53076
7
+ data.tar.gz: f287bd692037efc62240acff18bcde3f42177e4b09588560f16571b2389b3d342c09611fe7ff554728ffad2c39e038e4d5fc3f8776c939fbdaf10b65bda49507
@@ -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,16 @@
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.1.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-12 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: Check for blank string faster than FastBlank and ActiveSupport
16
14
  email:
17
15
  - watanabe@cadenza-tech.com
18
16
  executables: []
@@ -21,15 +19,15 @@ extra_rdoc_files: []
21
19
  files:
22
20
  - ext/java/sin_fast_blank/SinFastBlankLibrary.java
23
21
  - lib/sin_fast_blank/sin_fast_blank.jar
24
- homepage: https://github.com/cadenza-tech/sin_fast_blank/tree/v2.2.1
22
+ homepage: https://github.com/cadenza-tech/sin_fast_blank/tree/v3.1.0
25
23
  licenses:
26
24
  - MIT
27
25
  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
26
+ homepage_uri: https://github.com/cadenza-tech/sin_fast_blank/tree/v3.1.0
27
+ source_code_uri: https://github.com/cadenza-tech/sin_fast_blank/tree/v3.1.0
28
+ changelog_uri: https://github.com/cadenza-tech/sin_fast_blank/blob/v3.1.0/CHANGELOG.md
31
29
  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
30
+ documentation_uri: https://rubydoc.info/gems/sin_fast_blank/3.1.0
33
31
  funding_uri: https://patreon.com/CadenzaTech
34
32
  rubygems_mfa_required: 'true'
35
33
  required_jruby_version: ">= 9.3.0.0"
@@ -53,6 +51,5 @@ requirements: []
53
51
  rubygems_version: 3.2.33
54
52
  signing_key:
55
53
  specification_version: 4
56
- summary: Ruby extension library for up to 9x faster blank string checking than fast_blank
57
- gem.
54
+ summary: Check for blank string faster than FastBlank and ActiveSupport
58
55
  test_files: []