re2 2.6.0.rc1 → 2.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +33 -3
- data/lib/re2/version.rb +1 -1
- data/re2.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3a48d6f5934da3afa8da05d7ed2dc3aae1aa69cb9b7507c91053a8fec672b9e
|
4
|
+
data.tar.gz: 9853896f0458f03ac39ea7a636211d423b16b33438b20c3eeae9780ce45f76d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59c5a3a9b16992364c3f17c6a546d45546620cb81add16eaeb584b98068cdc2aac3959a88bc87c1aa00fa18b909716d32eda04d0727695ef486fe2bacee9a899
|
7
|
+
data.tar.gz: 80f1f96454bb07d1495b02a378dfb04eacc64a9cd014386429bda129924d1043af800e31c26bc07710320aa786d7e51240640fc24bd232556649defeadc24a24
|
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.6.0
|
10
10
|
**Bundled RE2 version:** libre2.11 (2023-11-01)
|
11
11
|
|
12
12
|
```ruby
|
@@ -30,6 +30,7 @@ RE2('(\w+):(\d+)').full_match("ruby:1234")
|
|
30
30
|
* [Encoding](#encoding)
|
31
31
|
* [Requirements](#requirements)
|
32
32
|
* [Native gems](#native-gems)
|
33
|
+
* [Verifying the gems](#verifying-the-gems)
|
33
34
|
* [Installing the `ruby` platform gem](#installing-the-ruby-platform-gem)
|
34
35
|
* [Using system libraries](#using-system-libraries)
|
35
36
|
* [Thanks](#thanks)
|
@@ -266,11 +267,40 @@ It supports the following RE2 ABI versions:
|
|
266
267
|
|
267
268
|
Where possible, a pre-compiled native gem will be provided for the following platforms:
|
268
269
|
|
269
|
-
* Linux
|
270
|
-
*
|
270
|
+
* Linux
|
271
|
+
* `aarch64-linux` and `arm-linux` (requires [glibc](https://www.gnu.org/software/libc/) 2.29+)
|
272
|
+
* `x86-linux` and `x86_64-linux` (requires [glibc](https://www.gnu.org/software/libc/) 2.17+)
|
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
274
|
* macOS `x86_64-darwin` and `arm64-darwin`
|
272
275
|
* Windows `x64-mingw32` and `x64-mingw-ucrt`
|
273
276
|
|
277
|
+
### Verifying the gems
|
278
|
+
|
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
|
+
|
281
|
+
```console
|
282
|
+
$ gem fetch re2 -v 2.5.0
|
283
|
+
Fetching re2-2.5.0-arm64-darwin.gem
|
284
|
+
Downloaded re2-2.5.0-arm64-darwin
|
285
|
+
$ sha256sum re2-2.5.0-arm64-darwin.gem
|
286
|
+
4b20c4539a12787102b22012e678968af23f87e35f88843744835bd13ac9f6bc re2-2.5.0-arm64-darwin.gem
|
287
|
+
```
|
288
|
+
|
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
|
+
|
291
|
+
```console
|
292
|
+
$ gpg --verify re2-2.5.0-arm64-darwin.gem.sig re2-2.5.0-arm64-darwin.gem
|
293
|
+
gpg: Signature made Fri 15 Dec 2023 12:58:58 GMT
|
294
|
+
gpg: using RSA key 702609D9C790F45B577D7BEC39AC3530070E0F75
|
295
|
+
gpg: Good signature from "Paul Mucur <mudge@mudge.name>" [unknown]
|
296
|
+
gpg: aka "Paul Mucur <paul@ghostcassette.com>" [unknown]
|
297
|
+
gpg: WARNING: This key is not certified with a trusted signature!
|
298
|
+
gpg: There is no indication that the signature belongs to the owner.
|
299
|
+
Primary key fingerprint: 7026 09D9 C790 F45B 577D 7BEC 39AC 3530 070E 0F75
|
300
|
+
```
|
301
|
+
|
302
|
+
The fingerprint should be as shown above or you can independently verify it with the ones shown in the footer of https://mudge.name.
|
303
|
+
|
274
304
|
### Installing the `ruby` platform gem
|
275
305
|
|
276
306
|
> [!WARNING]
|
data/lib/re2/version.rb
CHANGED
data/re2.gemspec
CHANGED
@@ -39,7 +39,7 @@ Gem::Specification.new do |s|
|
|
39
39
|
"spec/re2/scanner_spec.rb"
|
40
40
|
]
|
41
41
|
s.add_development_dependency("rake-compiler", "~> 1.2.5")
|
42
|
-
s.add_development_dependency("rake-compiler-dock", "~> 1.4.0
|
42
|
+
s.add_development_dependency("rake-compiler-dock", "~> 1.4.0")
|
43
43
|
s.add_development_dependency("rspec", "~> 3.2")
|
44
44
|
s.add_runtime_dependency("mini_portile2", "~> 2.8.5") # keep version in sync with extconf.rb
|
45
45
|
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.6.0
|
4
|
+
version: 2.6.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: 2023-12-
|
12
|
+
date: 2023-12-27 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.4.0
|
34
|
+
version: 1.4.0
|
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.4.0
|
41
|
+
version: 1.4.0
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: rspec
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -116,9 +116,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
116
116
|
version: 2.6.0
|
117
117
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
118
118
|
requirements:
|
119
|
-
- - "
|
119
|
+
- - ">="
|
120
120
|
- !ruby/object:Gem::Version
|
121
|
-
version:
|
121
|
+
version: '0'
|
122
122
|
requirements: []
|
123
123
|
rubygems_version: 3.4.10
|
124
124
|
signing_key:
|