re2 2.4.1-x86_64-linux → 2.4.2-x86_64-linux

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8cafd7b138389e4a05fa822ee5394046be72523d2bf3b593c80ca8dfe79d1741
4
- data.tar.gz: 75e0143f74000e741f00f60075d32059365914df90e656229f093f68d6cc11d3
3
+ metadata.gz: 81577e02bc05a95a38e8e35b3eba100c8f8ffb9b7f5a8deec2f14264fe4e63c3
4
+ data.tar.gz: '08c189c641ee0cc9486ae117ae168a373a6dbac612d6c5a8a34ced33510a51fd'
5
5
  SHA512:
6
- metadata.gz: 6ada2c1da293989b25d16a42bbeed555eccf54815534cb868e54d2c8fb95c3190791eb92cb1879d6e2f4c24e5766902d4485f1ccad675dc9c05c17a455173140
7
- data.tar.gz: e56bdd945d51b4875abad375dad2cdd4462f70bf9b5bfedd90b6fa5c95258fc817a2bcdf9367777cbd5dd0ef918eee2470dd027325cd210805ecee766922488d
6
+ metadata.gz: f34c99f31689f7a0414768a17c30c1932d8e22c2fe7283c9661bfc068c8d60e42e78bc3295c7c5d62ceecbfa9c39f2ec2b176a06494cdfafebe0045a7267d114
7
+ data.tar.gz: 06b3a49248d9db1c1f42c28b6a55c3d7743fc6bc15d18d61a0e2e4597133d27c441fe525daed6183020e243bec636fc26d0085e1a2dc7ede7fb3b71ea6c8feb6
data/README.md CHANGED
@@ -5,7 +5,7 @@ Ruby bindings to [RE2][], a "fast, safe, thread-friendly alternative to
5
5
  backtracking regular expression engines like those used in PCRE, Perl, and
6
6
  Python".
7
7
 
8
- **Current version:** 2.4.1
8
+ **Current version:** 2.4.2
9
9
  **Supported Ruby versions:** 2.6, 2.7, 3.0, 3.1, 3.2
10
10
  **Bundled RE2 version:** libre2.11 (2023-11-01)
11
11
  **Supported RE2 versions:** libre2.0 (< 2020-03-02), libre2.1 (2020-03-02), libre2.6 (2020-03-03), libre2.7 (2020-05-01), libre2.8 (2020-07-06), libre2.9 (2020-11-01), libre2.10 (2022-12-01), libre2.11 (2023-07-01)
@@ -256,13 +256,17 @@ Contributions
256
256
  -------------
257
257
 
258
258
  * Thanks to [Jason Woods](https://github.com/driskell) who contributed the
259
- original implementations of `RE2::MatchData#begin` and `RE2::MatchData#end`;
260
- * Thanks to [Stefano Rivera](https://github.com/stefanor) who first contributed C++11 support;
261
- * Thanks to [Stan Hu](https://github.com/stanhu) for reporting a bug with empty patterns and `RE2::Regexp#scan`, contributing support for libre2.11 (2023-07-01) and for vendoring RE2 and abseil and compiling native gems in 2.0;
259
+ original implementations of `RE2::MatchData#begin` and `RE2::MatchData#end`.
260
+ * Thanks to [Stefano Rivera](https://github.com/stefanor) who first contributed
261
+ C++11 support.
262
+ * Thanks to [Stan Hu](https://github.com/stanhu) for reporting a bug with empty
263
+ patterns and `RE2::Regexp#scan`, contributing support for libre2.11
264
+ (2023-07-01) and for vendoring RE2 and abseil and compiling native gems in
265
+ 2.0.
262
266
  * Thanks to [Sebastian Reitenbach](https://github.com/buzzdeee) for reporting
263
- the deprecation and removal of the `utf8` encoding option in RE2;
267
+ the deprecation and removal of the `utf8` encoding option in RE2.
264
268
  * Thanks to [Sergio Medina](https://github.com/serch) for reporting a bug when
265
- using `RE2::Scanner#scan` with an invalid regular expression;
269
+ using `RE2::Scanner#scan` with an invalid regular expression.
266
270
  * Thanks to [Pritam Baral](https://github.com/pritambaral) for contributing the
267
271
  initial support for `RE2::Set`.
268
272
  * Thanks to [Mike Dalessio](https://github.com/flavorjones) for reviewing the
data/ext/re2/re2.cc CHANGED
@@ -201,7 +201,7 @@ static size_t re2_scanner_memsize(const void *ptr) {
201
201
  const re2_scanner *s = reinterpret_cast<const re2_scanner *>(ptr);
202
202
  size_t size = sizeof(*s);
203
203
  if (s->input) {
204
- size += sizeof(s->input);
204
+ size += sizeof(*s->input);
205
205
  }
206
206
 
207
207
  return size;
@@ -232,7 +232,7 @@ static size_t re2_regexp_memsize(const void *ptr) {
232
232
  const re2_pattern *p = reinterpret_cast<const re2_pattern *>(ptr);
233
233
  size_t size = sizeof(*p);
234
234
  if (p->pattern) {
235
- size += sizeof(p->pattern);
235
+ size += sizeof(*p->pattern);
236
236
  }
237
237
 
238
238
  return size;
@@ -1591,7 +1591,7 @@ static size_t re2_set_memsize(const void *ptr) {
1591
1591
  const re2_set *s = reinterpret_cast<const re2_set *>(ptr);
1592
1592
  size_t size = sizeof(*s);
1593
1593
  if (s->set) {
1594
- size += sizeof(s->set);
1594
+ size += sizeof(*s->set);
1595
1595
  }
1596
1596
 
1597
1597
  return size;
data/lib/2.6/re2.so CHANGED
Binary file
data/lib/2.7/re2.so CHANGED
Binary file
data/lib/3.0/re2.so CHANGED
Binary file
data/lib/3.1/re2.so CHANGED
Binary file
data/lib/3.2/re2.so CHANGED
Binary file
data/lib/re2/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RE2
4
- VERSION = "2.4.1"
4
+ VERSION = "2.4.2"
5
5
  end
data/re2.gemspec CHANGED
@@ -11,7 +11,6 @@ Gem::Specification.new do |s|
11
11
  s.license = "BSD-3-Clause"
12
12
  s.required_ruby_version = ">= 2.6.0"
13
13
  s.files = [
14
- ".rspec",
15
14
  "dependencies.yml",
16
15
  "ext/re2/extconf.rb",
17
16
  "ext/re2/re2.cc",
@@ -28,6 +27,7 @@ Gem::Specification.new do |s|
28
27
  "re2.gemspec"
29
28
  ]
30
29
  s.test_files = [
30
+ ".rspec",
31
31
  "spec/spec_helper.rb",
32
32
  "spec/re2_spec.rb",
33
33
  "spec/kernel_spec.rb",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: re2
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.1
4
+ version: 2.4.2
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Paul Mucur
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-11-12 00:00:00.000000000 Z
12
+ date: 2023-11-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake-compiler
@@ -115,6 +115,7 @@ signing_key:
115
115
  specification_version: 4
116
116
  summary: Ruby bindings to RE2.
117
117
  test_files:
118
+ - ".rspec"
118
119
  - spec/spec_helper.rb
119
120
  - spec/re2_spec.rb
120
121
  - spec/kernel_spec.rb