re2 2.11.0 → 2.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +4 -0
- data/README.md +14 -13
- data/Rakefile +11 -0
- data/dependencies.yml +2 -2
- data/ext/re2/recipes.rb +1 -1
- data/lib/re2/version.rb +1 -1
- data/ports/archives/re2-2024-07-01.tar.gz +0 -0
- data/re2.gemspec +2 -2
- metadata +8 -8
- data/ports/archives/re2-2024-05-01.tar.gz +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8825a01fe0f0d9babe2cfee56194cd554c8aa7be352957044076a56c3b969af
|
4
|
+
data.tar.gz: c3980ea8fc4df36a1c407d83161621efc1a31b604d26c4250806acc4624f4477
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a046ecd1396af6a113e848870bdc7be29f133efd8516f6c47ce32eee038cd06eeb38e6b75e6e98d9c203ce7dd828bb16b91911a4c262e8ba74d81881ee09abc9
|
7
|
+
data.tar.gz: aa9ee028e2ae80a76888fe743e3ae614f0e7dc5626cee6ce91005e1b37cc413ac15ba1e3a3b9a9e355fcd967d71f1f5c68167273c7ed58b3d7583c2f7f407a53
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -6,8 +6,8 @@ Python".
|
|
6
6
|
|
7
7
|
[![Build Status](https://github.com/mudge/re2/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/mudge/re2/actions)
|
8
8
|
|
9
|
-
**Current version:** 2.
|
10
|
-
**Bundled RE2 version:** libre2.11 (2024-
|
9
|
+
**Current version:** 2.13.0
|
10
|
+
**Bundled RE2 version:** libre2.11 (2024-07-01)
|
11
11
|
|
12
12
|
```ruby
|
13
13
|
RE2('h.*o').full_match?("hello") #=> true
|
@@ -261,7 +261,7 @@ This gem requires the following to run:
|
|
261
261
|
|
262
262
|
It supports the following RE2 ABI versions:
|
263
263
|
|
264
|
-
* libre2.0 (prior to release 2020-03-02) to libre2.11 (2023-07-01 to 2024-
|
264
|
+
* libre2.0 (prior to release 2020-03-02) to libre2.11 (2023-07-01 to 2024-07-01)
|
265
265
|
|
266
266
|
### Native gems
|
267
267
|
|
@@ -279,18 +279,18 @@ Where possible, a pre-compiled native gem will be provided for the following pla
|
|
279
279
|
SHA256 checksums are included in the [release notes](https://github.com/mudge/re2/releases) for each version and can be checked with `sha256sum`, e.g.
|
280
280
|
|
281
281
|
```console
|
282
|
-
$ gem fetch re2 -v 2.
|
283
|
-
Fetching re2-2.
|
284
|
-
Downloaded re2-2.
|
285
|
-
$ sha256sum re2-2.
|
286
|
-
|
282
|
+
$ gem fetch re2 -v 2.12.0
|
283
|
+
Fetching re2-2.12.0-arm64-darwin.gem
|
284
|
+
Downloaded re2-2.12.0-arm64-darwin
|
285
|
+
$ sha256sum re2-2.12.0-arm64-darwin.gem
|
286
|
+
fa6e20430216c63589c210660b8163cab2ef992ea6bb54dc5c09a2ab994a5498 re2-2.12.0-arm64-darwin.gem
|
287
287
|
```
|
288
288
|
|
289
289
|
[GPG](https://www.gnupg.org/) signatures are attached to each release (the assets ending in `.sig`) and can be verified if you import [our signing key `0x39AC3530070E0F75`](https://mudge.name/39AC3530070E0F75.asc) (or fetch it from a public keyserver, e.g. `gpg --keyserver keyserver.ubuntu.com --recv-key 0x39AC3530070E0F75`):
|
290
290
|
|
291
291
|
```console
|
292
|
-
$ gpg --verify re2-2.
|
293
|
-
gpg: Signature made Mon
|
292
|
+
$ gpg --verify re2-2.12.0-arm64-darwin.gem.sig re2-2.12.0-arm64-darwin.gem
|
293
|
+
gpg: Signature made Mon 3 Jun 13:38:32 2024 BST
|
294
294
|
gpg: using RSA key 702609D9C790F45B577D7BEC39AC3530070E0F75
|
295
295
|
gpg: Good signature from "Paul Mucur <mudge@mudge.name>" [unknown]
|
296
296
|
gpg: aka "Paul Mucur <paul@ghostcassette.com>" [unknown]
|
@@ -328,9 +328,10 @@ You will need a full compiler toolchain for compiling Ruby C extensions (see
|
|
328
328
|
[Nokogiri's "The Compiler
|
329
329
|
Toolchain"](https://nokogiri.org/tutorials/installing_nokogiri.html#appendix-a-the-compiler-toolchain))
|
330
330
|
plus the toolchain required for compiling the vendored version of RE2 and its
|
331
|
-
dependency [Abseil][] which includes
|
332
|
-
|
333
|
-
[
|
331
|
+
dependency [Abseil][] which includes [CMake](https://cmake.org), a compiler
|
332
|
+
with C++14 support such as [clang](http://clang.llvm.org/) 3.4 or
|
333
|
+
[gcc](https://gcc.gnu.org/) 5 and a recent version of
|
334
|
+
[pkg-config](https://www.freedesktop.org/wiki/Software/pkg-config/). On
|
334
335
|
Windows, you'll also need pkgconf 2.1.0+ to avoid [`undefined reference`
|
335
336
|
errors](https://github.com/pkgconf/pkgconf/issues/322) when attempting to
|
336
337
|
compile Abseil.
|
data/Rakefile
CHANGED
@@ -46,6 +46,17 @@ end
|
|
46
46
|
|
47
47
|
RSpec::Core::RakeTask.new(:spec)
|
48
48
|
|
49
|
+
begin
|
50
|
+
require 'ruby_memcheck'
|
51
|
+
require 'ruby_memcheck/rspec/rake_task'
|
52
|
+
|
53
|
+
namespace :spec do
|
54
|
+
RubyMemcheck::RSpec::RakeTask.new(valgrind: :compile)
|
55
|
+
end
|
56
|
+
rescue LoadError
|
57
|
+
# Only define the spec:valgrind task if ruby_memcheck is installed
|
58
|
+
end
|
59
|
+
|
49
60
|
namespace :gem do
|
50
61
|
cross_platforms.each do |platform|
|
51
62
|
|
data/dependencies.yml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
libre2:
|
3
|
-
version: '2024-
|
4
|
-
sha256:
|
3
|
+
version: '2024-07-01'
|
4
|
+
sha256: b767b92cd1e4d2f5eb3fea3401fdc3f45b7541fef59f0f516cc4e3b8f19afbdc
|
5
5
|
abseil:
|
6
6
|
version: '20240116.2'
|
7
7
|
sha256: 733726b8c3a6d39a4120d7e45ea8b41a434cdacde401cba500f14236c49b39dc
|
data/ext/re2/recipes.rb
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
# Released under the BSD Licence, please see LICENSE.txt
|
10
10
|
|
11
11
|
PACKAGE_ROOT_DIR = File.expand_path('../..', __dir__)
|
12
|
-
REQUIRED_MINI_PORTILE_VERSION = '~> 2.8.
|
12
|
+
REQUIRED_MINI_PORTILE_VERSION = '~> 2.8.7' # keep this version in sync with the one in the gemspec
|
13
13
|
|
14
14
|
def load_recipes
|
15
15
|
require 'yaml'
|
data/lib/re2/version.rb
CHANGED
Binary file
|
data/re2.gemspec
CHANGED
@@ -41,7 +41,7 @@ Gem::Specification.new do |s|
|
|
41
41
|
"spec/re2/scanner_spec.rb"
|
42
42
|
]
|
43
43
|
s.add_development_dependency("rake-compiler", "~> 1.2.7")
|
44
|
-
s.add_development_dependency("rake-compiler-dock", "~> 1.5.
|
44
|
+
s.add_development_dependency("rake-compiler-dock", "~> 1.5.1")
|
45
45
|
s.add_development_dependency("rspec", "~> 3.2")
|
46
|
-
s.add_runtime_dependency("mini_portile2", "~> 2.8.
|
46
|
+
s.add_runtime_dependency("mini_portile2", "~> 2.8.7") # keep version in sync with extconf.rb
|
47
47
|
end
|
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
|
+
version: 2.13.0
|
5
5
|
platform: ruby
|
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: 2024-
|
12
|
+
date: 2024-06-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake-compiler
|
@@ -31,14 +31,14 @@ dependencies:
|
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 1.5.
|
34
|
+
version: 1.5.1
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 1.5.
|
41
|
+
version: 1.5.1
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: rspec
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,14 +59,14 @@ dependencies:
|
|
59
59
|
requirements:
|
60
60
|
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: 2.8.
|
62
|
+
version: 2.8.7
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: 2.8.
|
69
|
+
version: 2.8.7
|
70
70
|
description: Ruby bindings to RE2, "a fast, safe, thread-friendly alternative to backtracking
|
71
71
|
regular expression engines like those used in PCRE, Perl, and Python".
|
72
72
|
email:
|
@@ -91,7 +91,7 @@ files:
|
|
91
91
|
- lib/re2/string.rb
|
92
92
|
- lib/re2/version.rb
|
93
93
|
- ports/archives/20240116.2.tar.gz
|
94
|
-
- ports/archives/re2-2024-
|
94
|
+
- ports/archives/re2-2024-07-01.tar.gz
|
95
95
|
- re2.gemspec
|
96
96
|
- spec/kernel_spec.rb
|
97
97
|
- spec/re2/match_data_spec.rb
|
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
120
|
- !ruby/object:Gem::Version
|
121
121
|
version: '0'
|
122
122
|
requirements: []
|
123
|
-
rubygems_version: 3.5.
|
123
|
+
rubygems_version: 3.5.11
|
124
124
|
signing_key:
|
125
125
|
specification_version: 4
|
126
126
|
summary: Ruby bindings to RE2.
|
Binary file
|