strscan 3.0.5 → 3.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/ext/strscan/strscan.c +4 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5fe8ee5b0a51823c49758ecd996c0fa9217d604d9c660604e5fa3effb5278ec0
4
- data.tar.gz: f86c26d87e5d20e166510bec395ab80c0a88bd4196caad32a54d8f5dbf3454a7
3
+ metadata.gz: b0451e93aa90b5c3384fd0c026e22709b673cf06f172d737c3e7b4ba347a0026
4
+ data.tar.gz: 2772b7377b8c885632e0b0fe2132f9b0ae143c4dfc25a2806a59fe3ef917eb59
5
5
  SHA512:
6
- metadata.gz: a285597a6003600b406da55681439a6c2f49e433f48a30a562bbdf61834ba9e3496c8fc4919a80cda38cb17801cf7d0567b0e368b01df2b09b2a529af9f51a98
7
- data.tar.gz: c034d307b742a613ce3762fe1ef1481ea063741dfd747d1294c6f11401381a0981a8fdc967211b118ea28f737769e67626dc5772d486a174f808a66c447a4836
6
+ metadata.gz: 119a3269f50a35ace7e62c1f8e7d817ae70fe3e40a724385a7891d355ab62b7f7cac46689b62ff7d0267db524b4621c3b15f90f5bb0f2a359b11d70d4eaaf477
7
+ data.tar.gz: f9439f76c7b1b6f866afbfa7c064ce0ad0f4a5f3582ef773a7da2fab2d15c2cf36e578661e0330268a649bf1fdf03843c306ce295f0ebc3ed5cddee5f4b15aed
@@ -22,7 +22,7 @@ extern size_t onig_region_memsize(const struct re_registers *regs);
22
22
 
23
23
  #include <stdbool.h>
24
24
 
25
- #define STRSCAN_VERSION "3.0.5"
25
+ #define STRSCAN_VERSION "3.0.6"
26
26
 
27
27
  /* =======================================================================
28
28
  Data Type Definitions
@@ -1038,8 +1038,9 @@ strscan_empty_p(VALUE self)
1038
1038
  * This method is obsolete; use #eos? instead.
1039
1039
  *
1040
1040
  * s = StringScanner.new('test string')
1041
- * s.eos? # These two
1042
- * s.rest? # are opposites.
1041
+ * # These two are opposites
1042
+ * s.eos? # => false
1043
+ * s.rest? # => true
1043
1044
  */
1044
1045
  static VALUE
1045
1046
  strscan_rest_p(VALUE self)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strscan
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.5
4
+ version: 3.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Minero Aoki
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2022-12-08 00:00:00.000000000 Z
13
+ date: 2023-02-08 00:00:00.000000000 Z
14
14
  dependencies: []
15
15
  description: Provides lexical scanning operations on a String.
16
16
  email: