re2 2.7.0 → 2.8.0

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: a8d6ed54b0c51625b38158c82813c6b38f0151a637c224e6b6450ea2ebc9e00c
4
- data.tar.gz: 9550936b7959af3654b58efdc07be5f5c38c3a41a4a657382878f06020f9081e
3
+ metadata.gz: 1a2f34b5f46d8ccde1cb1ad1903ad3faa0106888c20aedd2eda06bed69f70c59
4
+ data.tar.gz: b70d6abac09afd757453696ee0918afac15457d21a3fca7978bb536f05dde84a
5
5
  SHA512:
6
- metadata.gz: f9b91c79e3efea56df671b887740c25e09e1d09e12383b6a3071c6bfcfccc01da3ea26431b34c6794fcf710bce17a71459f389911770ea06601048cc038c508f
7
- data.tar.gz: a0f0d0971fa7074d5eccfca90bcdf058fcc02584f87c59531105cf04f1be872b97b213a4e17a5637e560b723f061ca95b2b7f4c782ce13a34234dfd134c3793e
6
+ metadata.gz: a000995ad48c40bacefd5a1bbb233199184c0740d3f6b370e558f11cc46802b5abcc2e0f0b261e379082572ce9546eb4146ce4f0a4d95a9df01692acf5de0f6f
7
+ data.tar.gz: a54b68d0af0ad4f042391236ff6b9104c4ae66e25b1848f00ded200aff0d312a76b45a938811e5ed980c7298104998ef9d7caf23d0c750c38baedbdd07b23487
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.7.0
10
- **Bundled RE2 version:** libre2.11 (2023-11-01)
9
+ **Current version:** 2.8.0
10
+ **Bundled RE2 version:** libre2.11 (2024-02-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 2023-11-01)
264
+ * libre2.0 (prior to release 2020-03-02) to libre2.11 (2023-07-01 to 2024-02-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.6.0
283
- Fetching re2-2.6.0-arm64-darwin.gem
284
- Downloaded re2-2.6.0-arm64-darwin
285
- $ sha256sum re2-2.6.0-arm64-darwin.gem
286
- ba6fda7a29cd16179d5401c1b4917ba204c92e5ca9d25df80d840ed76fca439f re2-2.6.0-arm64-darwin.gem
282
+ $ gem fetch re2 -v 2.7.0
283
+ Fetching re2-2.7.0-arm64-darwin.gem
284
+ Downloaded re2-2.7.0-arm64-darwin
285
+ $ sha256sum re2-2.7.0-arm64-darwin.gem
286
+ 7d993f27a1afac4001c539a829e2af211ced62604930c90df32a307cf74cb4a4 re2-2.7.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.6.0-arm64-darwin.gem.sig re2-2.6.0-arm64-darwin.gem
293
- gpg: Signature made Wed 27 Dec 19:26:53 2023 GMT
292
+ $ gpg --verify re2-2.7.0-arm64-darwin.gem.sig re2-2.7.0-arm64-darwin.gem
293
+ gpg: Signature made Sat 20 Jan 15:01:45 2024 GMT
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]
data/dependencies.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  libre2:
3
- version: '2023-11-01'
4
- sha256: 4e6593ac3c71de1c0f322735bc8b0492a72f66ffccfad76e259fa21c41d27d8a
3
+ version: '2024-02-01'
4
+ sha256: cd191a311b84fcf37310e5cd876845b4bf5aee76fdd755008eef3b6478ce07bb
5
5
  abseil:
6
- version: '20230802.1'
7
- sha256: 987ce98f02eefbaf930d6e38ab16aa05737234d7afbab2d5c4ea7adbe50c28ed
6
+ version: '20240116.0'
7
+ sha256: 338420448b140f0dfd1a1ea3c3ce71b3bc172071f24f4d9a57d59b45037da440
data/ext/re2/re2.cc CHANGED
@@ -743,8 +743,9 @@ static VALUE re2_matchdata_inspect(const VALUE self) {
743
743
  if (match == Qnil) {
744
744
  output << "nil";
745
745
  } else {
746
- output << "\"" << re2::StringPiece(RSTRING_PTR(match),
747
- RSTRING_LEN(match)) << "\"";
746
+ output << "\"";
747
+ output.write(RSTRING_PTR(match), RSTRING_LEN(match));
748
+ output << "\"";
748
749
  }
749
750
  }
750
751
 
data/lib/re2/version.rb CHANGED
@@ -10,5 +10,5 @@
10
10
 
11
11
 
12
12
  module RE2
13
- VERSION = "2.7.0"
13
+ VERSION = "2.8.0"
14
14
  end
Binary file
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.7.0
4
+ version: 2.8.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-01-20 00:00:00.000000000 Z
12
+ date: 2024-01-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake-compiler
@@ -90,8 +90,8 @@ files:
90
90
  - lib/re2/scanner.rb
91
91
  - lib/re2/string.rb
92
92
  - lib/re2/version.rb
93
- - ports/archives/20230802.1.tar.gz
94
- - ports/archives/re2-2023-11-01.tar.gz
93
+ - ports/archives/20240116.0.tar.gz
94
+ - ports/archives/re2-2024-02-01.tar.gz
95
95
  - re2.gemspec
96
96
  - spec/kernel_spec.rb
97
97
  - spec/re2/match_data_spec.rb
Binary file
Binary file