strscan 3.0.2.pre1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/strscan/extconf.rb +7 -3
- data/ext/strscan/strscan.c +3 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b63120a10e0a8deadaa8189f288472eee0977b8fcaf42d8768d00f859cf26815
|
4
|
+
data.tar.gz: f00040387a35a22e3f07a8241077797556966b49e2a0956658e7d5f8e91955a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28e566cb733b65342d369dbaa13d4277700f82681af7c3fdaf56a4ecdabb293ff55c5c245b2cb0d0f1c7d4850639ae6160a552502f16d43cbcf7ce041acbe1f1
|
7
|
+
data.tar.gz: 5eab5f71481e2f406e1ce51e5f389a444d9e03c6c02c6170a0d75172c329cdbe8ec242b7c58f6d1156c78790aaa7fc42347263e95888553e8ef7d98ee0ea3725
|
data/ext/strscan/extconf.rb
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
require 'mkmf'
|
3
|
-
|
4
|
-
|
5
|
-
|
3
|
+
if RUBY_ENGINE == 'ruby'
|
4
|
+
$INCFLAGS << " -I$(top_srcdir)" if $extmk
|
5
|
+
have_func("onig_region_memsize", "ruby.h")
|
6
|
+
create_makefile 'strscan'
|
7
|
+
else
|
8
|
+
File.write('Makefile', dummy_makefile("").join)
|
9
|
+
end
|
data/ext/strscan/strscan.c
CHANGED
@@ -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.2
|
25
|
+
#define STRSCAN_VERSION "3.0.2"
|
26
26
|
|
27
27
|
/* =======================================================================
|
28
28
|
Data Type Definitions
|
@@ -1468,6 +1468,8 @@ strscan_fixed_anchor_p(VALUE self)
|
|
1468
1468
|
* StringScanner provides for lexical scanning operations on a String. Here is
|
1469
1469
|
* an example of its usage:
|
1470
1470
|
*
|
1471
|
+
* require 'strscan'
|
1472
|
+
*
|
1471
1473
|
* s = StringScanner.new('This is an example string')
|
1472
1474
|
* s.eos? # -> false
|
1473
1475
|
*
|
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.2
|
4
|
+
version: 3.0.2
|
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-
|
13
|
+
date: 2022-05-09 00:00:00.000000000 Z
|
14
14
|
dependencies: []
|
15
15
|
description: Provides lexical scanning operations on a String.
|
16
16
|
email:
|
@@ -40,9 +40,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
40
40
|
version: 2.4.0
|
41
41
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
42
42
|
requirements:
|
43
|
-
- - "
|
43
|
+
- - ">="
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
45
|
+
version: '0'
|
46
46
|
requirements: []
|
47
47
|
rubygems_version: 3.3.7
|
48
48
|
signing_key:
|