re2 2.14.0 → 2.15.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -13
- data/Rakefile +9 -5
- data/lib/re2/version.rb +1 -1
- data/re2.gemspec +2 -2
- metadata +7 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 589e47e3e7a104d94cae011e17b30476e5a49a47ad69f5a017727d86c8de71bf
|
4
|
+
data.tar.gz: 9052d69d3d1004060a4188c3a4b95cb5526e3ed7af41e2f6c209dfaee3731a3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c47b84698f47204a1abd692c589d5c5894c9bacd1f80019511c9e4ada334fa3bb5ecede9df3221bd14d2a3af95eb69a06b1ec5a7266ab246a3572098710417f
|
7
|
+
data.tar.gz: e379d6b3bf53b5af2eec5e329eab5474d3445cd3ec5fac09d785a1f74dc1333c9d97eae04b7b7833aed90045727c7f5b6bb004057c19b290a2ef5af7d7669a1d
|
data/README.md
CHANGED
@@ -6,7 +6,7 @@ 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.
|
9
|
+
**Current version:** 2.15.0.rc1
|
10
10
|
**Bundled RE2 version:** libre2.11 (2024-07-02)
|
11
11
|
|
12
12
|
```ruby
|
@@ -257,7 +257,7 @@ RE2(non_latin1_pattern.encode("ISO-8859-1"), utf8: false).match(non_latin1_text.
|
|
257
257
|
|
258
258
|
This gem requires the following to run:
|
259
259
|
|
260
|
-
* [Ruby](https://www.ruby-lang.org/en/)
|
260
|
+
* [Ruby](https://www.ruby-lang.org/en/) 3.1 to 3.4.0-rc1
|
261
261
|
|
262
262
|
It supports the following RE2 ABI versions:
|
263
263
|
|
@@ -268,29 +268,28 @@ It supports the following RE2 ABI versions:
|
|
268
268
|
Where possible, a pre-compiled native gem will be provided for the following platforms:
|
269
269
|
|
270
270
|
* Linux
|
271
|
-
* `aarch64-linux` and `
|
272
|
-
*
|
273
|
-
* [musl](https://musl.libc.org/)-based systems such as [Alpine](https://alpinelinux.org) are supported as long as a [glibc-compatible library is installed](https://wiki.alpinelinux.org/wiki/Running_glibc_programs)
|
271
|
+
* `aarch64-linux`, `arm-linux`, `x86-linux` and `x86_64-linux` (requires [glibc](https://www.gnu.org/software/libc/) 2.29+, RubyGems 3.3.22+ and Bundler 2.3.21+)
|
272
|
+
* [musl](https://musl.libc.org/)-based systems such as [Alpine](https://alpinelinux.org) are supported with Bundler 2.5.6+
|
274
273
|
* macOS `x86_64-darwin` and `arm64-darwin`
|
275
|
-
* Windows `x64-
|
274
|
+
* Windows `x64-mingw-ucrt`
|
276
275
|
|
277
276
|
### Verifying the gems
|
278
277
|
|
279
278
|
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
279
|
|
281
280
|
```console
|
282
|
-
$ gem fetch re2 -v 2.
|
283
|
-
Fetching re2-2.
|
284
|
-
Downloaded re2-2.
|
285
|
-
$ sha256sum re2-2.
|
286
|
-
|
281
|
+
$ gem fetch re2 -v 2.14.0
|
282
|
+
Fetching re2-2.14.0-arm64-darwin.gem
|
283
|
+
Downloaded re2-2.14.0-arm64-darwin
|
284
|
+
$ sha256sum re2-2.14.0-arm64-darwin.gem
|
285
|
+
3c922d54a44ac88499f6391bc2f9740559381deaf7f4e49eef5634cf32efc2ce re2-2.14.0-arm64-darwin.gem
|
287
286
|
```
|
288
287
|
|
289
288
|
[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
289
|
|
291
290
|
```console
|
292
|
-
$ gpg --verify re2-2.
|
293
|
-
gpg: Signature made
|
291
|
+
$ gpg --verify re2-2.14.0-arm64-darwin.gem.sig re2-2.14.0-arm64-darwin.gem
|
292
|
+
gpg: Signature made Fri 2 Aug 12:39:12 2024 BST
|
294
293
|
gpg: using RSA key 702609D9C790F45B577D7BEC39AC3530070E0F75
|
295
294
|
gpg: Good signature from "Paul Mucur <mudge@mudge.name>" [unknown]
|
296
295
|
gpg: aka "Paul Mucur <paul@ghostcassette.com>" [unknown]
|
data/Rakefile
CHANGED
@@ -18,18 +18,22 @@ re2_gemspec.files << abseil_archive
|
|
18
18
|
re2_gemspec.files << re2_archive
|
19
19
|
|
20
20
|
cross_platforms = %w[
|
21
|
-
aarch64-linux
|
22
|
-
|
21
|
+
aarch64-linux-gnu
|
22
|
+
aarch64-linux-musl
|
23
|
+
arm-linux-gnu
|
24
|
+
arm-linux-musl
|
23
25
|
arm64-darwin
|
24
26
|
x64-mingw-ucrt
|
25
27
|
x64-mingw32
|
26
|
-
x86-linux
|
28
|
+
x86-linux-gnu
|
29
|
+
x86-linux-musl
|
27
30
|
x86-mingw32
|
28
31
|
x86_64-darwin
|
29
|
-
x86_64-linux
|
32
|
+
x86_64-linux-gnu
|
33
|
+
x86_64-linux-musl
|
30
34
|
].freeze
|
31
35
|
|
32
|
-
ENV['RUBY_CC_VERSION'] = %w[3.
|
36
|
+
ENV['RUBY_CC_VERSION'] = %w[3.4.0 3.3.5 3.2.0 3.1.0].join(':')
|
33
37
|
|
34
38
|
Gem::PackageTask.new(re2_gemspec).define
|
35
39
|
|
data/lib/re2/version.rb
CHANGED
data/re2.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.homepage = "https://github.com/mudge/re2"
|
12
12
|
s.extensions = ["ext/re2/extconf.rb"]
|
13
13
|
s.license = "BSD-3-Clause"
|
14
|
-
s.required_ruby_version = ">=
|
14
|
+
s.required_ruby_version = ">= 3.1.0"
|
15
15
|
s.files = [
|
16
16
|
"dependencies.yml",
|
17
17
|
"ext/re2/extconf.rb",
|
@@ -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.
|
44
|
+
s.add_development_dependency("rake-compiler-dock", "~> 1.7.0.rc1")
|
45
45
|
s.add_development_dependency("rspec", "~> 3.2")
|
46
46
|
s.add_runtime_dependency("mini_portile2", "~> 2.8.7") # keep version in sync with extconf.rb
|
47
47
|
end
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: re2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.15.0.rc1
|
5
5
|
platform: ruby
|
6
|
+
original_platform: ''
|
6
7
|
authors:
|
7
8
|
- Paul Mucur
|
8
9
|
- Stan Hu
|
9
|
-
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-12-16 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.
|
34
|
+
version: 1.7.0.rc1
|
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.
|
41
|
+
version: 1.7.0.rc1
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: rspec
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -69,7 +69,6 @@ dependencies:
|
|
69
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
|
-
email:
|
73
72
|
executables: []
|
74
73
|
extensions:
|
75
74
|
- ext/re2/extconf.rb
|
@@ -105,7 +104,6 @@ homepage: https://github.com/mudge/re2
|
|
105
104
|
licenses:
|
106
105
|
- BSD-3-Clause
|
107
106
|
metadata: {}
|
108
|
-
post_install_message:
|
109
107
|
rdoc_options: []
|
110
108
|
require_paths:
|
111
109
|
- lib
|
@@ -113,15 +111,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
113
111
|
requirements:
|
114
112
|
- - ">="
|
115
113
|
- !ruby/object:Gem::Version
|
116
|
-
version:
|
114
|
+
version: 3.1.0
|
117
115
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
118
116
|
requirements:
|
119
117
|
- - ">="
|
120
118
|
- !ruby/object:Gem::Version
|
121
119
|
version: '0'
|
122
120
|
requirements: []
|
123
|
-
rubygems_version: 3.
|
124
|
-
signing_key:
|
121
|
+
rubygems_version: 3.6.0.dev
|
125
122
|
specification_version: 4
|
126
123
|
summary: Ruby bindings to RE2.
|
127
124
|
test_files:
|