re2 2.13.0 → 2.13.2

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: d8825a01fe0f0d9babe2cfee56194cd554c8aa7be352957044076a56c3b969af
4
- data.tar.gz: c3980ea8fc4df36a1c407d83161621efc1a31b604d26c4250806acc4624f4477
3
+ metadata.gz: db21eacf357218afb11528f99b15568e977aba9b99fa14b0b865ea5ce3b036d7
4
+ data.tar.gz: 2262c3752f9f3fc88f78ac37f76d5bfb1a77f026a573ae49ef192e3b84e6a663
5
5
  SHA512:
6
- metadata.gz: a046ecd1396af6a113e848870bdc7be29f133efd8516f6c47ce32eee038cd06eeb38e6b75e6e98d9c203ce7dd828bb16b91911a4c262e8ba74d81881ee09abc9
7
- data.tar.gz: aa9ee028e2ae80a76888fe743e3ae614f0e7dc5626cee6ce91005e1b37cc413ac15ba1e3a3b9a9e355fcd967d71f1f5c68167273c7ed58b3d7583c2f7f407a53
6
+ metadata.gz: 3c7628bb531c2ac8856ec4b65ad72c0f8ce656be0057cb44db0a206a6dde658dbdd2e6243e89a03283b2558fda637c6dc3be2b0334afeef0578f4f7742aebd14
7
+ data.tar.gz: 8fadd513b2a7bb5dd519f88ff7a40134abdaf5dd5e2c28eeea30099e8a5ebd424a4ce23d46b5dd3bf3e62250c7d94b11208cac364c69b17c5bb5cad51978e2c1
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.13.0
10
- **Bundled RE2 version:** libre2.11 (2024-07-01)
9
+ **Current version:** 2.13.2
10
+ **Bundled RE2 version:** libre2.11 (2024-07-02)
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-07-01)
264
+ * libre2.0 (prior to release 2020-03-02) to libre2.11 (2023-07-01 to 2024-07-02)
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.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
282
+ $ gem fetch re2 -v 2.13.1
283
+ Fetching re2-2.13.1-arm64-darwin.gem
284
+ Downloaded re2-2.13.1-arm64-darwin
285
+ $ sha256sum re2-2.13.1-arm64-darwin.gem
286
+ 57dc2a77cef60ed8ba35e2f647a6dd17bcba99bfdb0bcb5b08bff69cd566f0be re2-2.13.1-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.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
292
+ $ gpg --verify re2-2.13.1-arm64-darwin.gem.sig re2-2.13.1-arm64-darwin.gem
293
+ gpg: Signature made Mon 1 Jul 17:51:09 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]
data/Rakefile CHANGED
@@ -16,6 +16,9 @@ re2_archive = File.join("ports/archives", File.basename(re2_recipe.files[0][:url
16
16
 
17
17
  re2_gemspec.files << abseil_archive
18
18
  re2_gemspec.files << re2_archive
19
+ Dir[File.join("patches/**/*.patch")].each do |patch|
20
+ re2_gemspec.files << patch
21
+ end
19
22
 
20
23
  cross_platforms = %w[
21
24
  aarch64-linux
@@ -39,7 +42,7 @@ Rake::ExtensionTask.new('re2', re2_gemspec) do |e|
39
42
  e.config_options << '--disable-system-libraries'
40
43
  e.cross_platform = cross_platforms
41
44
  e.cross_compiling do |spec|
42
- spec.files.reject! { |path| File.fnmatch?('ports/*', path) }
45
+ spec.files.reject! { |path| File.fnmatch?('ports/*', path) || File.fnmatch?('patches/*', path) }
43
46
  spec.dependencies.reject! { |dep| dep.name == 'mini_portile2' }
44
47
  end
45
48
  end
data/dependencies.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  libre2:
3
- version: '2024-07-01'
4
- sha256: b767b92cd1e4d2f5eb3fea3401fdc3f45b7541fef59f0f516cc4e3b8f19afbdc
3
+ version: '2024-07-02'
4
+ sha256: eb2df807c781601c14a260a507a5bb4509be1ee626024cb45acbd57cb9d4032b
5
5
  abseil:
6
6
  version: '20240116.2'
7
7
  sha256: 733726b8c3a6d39a4120d7e45ea8b41a434cdacde401cba500f14236c49b39dc
data/ext/re2/recipes.rb CHANGED
@@ -20,6 +20,7 @@ def load_recipes
20
20
  url: "https://github.com/abseil/abseil-cpp/archive/refs/tags/#{recipe.version}.tar.gz",
21
21
  sha256: dependencies['abseil']['sha256']
22
22
  }]
23
+ recipe.patch_files = Dir[File.join(PACKAGE_ROOT_DIR, "patches/abseil/*.patch")].sort
23
24
  end
24
25
 
25
26
  re2_recipe = build_recipe('libre2', dependencies['libre2']['version']) do |recipe|
data/lib/re2/version.rb CHANGED
@@ -10,5 +10,5 @@
10
10
 
11
11
 
12
12
  module RE2
13
- VERSION = "2.13.0"
13
+ VERSION = "2.13.2"
14
14
  end
@@ -0,0 +1,29 @@
1
+ From 779a3565ac6c5b69dd1ab9183e500a27633117d5 Mon Sep 17 00:00:00 2001
2
+ From: Derek Mauro <dmauro@google.com>
3
+ Date: Tue, 30 Jan 2024 10:13:25 -0800
4
+ Subject: [PATCH] Avoid export of testonly target absl::test_allocator in CMake
5
+ builds
6
+
7
+ Closes #1536
8
+
9
+ PiperOrigin-RevId: 602764437
10
+ Change-Id: Ia5c20a3874262a2ddb8797f608af17d7e86dd6d6
11
+ ---
12
+ absl/container/CMakeLists.txt | 1 +
13
+ 1 file changed, 1 insertion(+)
14
+
15
+ diff --git a/absl/container/CMakeLists.txt b/absl/container/CMakeLists.txt
16
+ index 449a2cad..ee9ca9c3 100644
17
+ --- a/absl/container/CMakeLists.txt
18
+ +++ b/absl/container/CMakeLists.txt
19
+ @@ -213,6 +213,7 @@ absl_cc_library(
20
+ DEPS
21
+ absl::config
22
+ GTest::gmock
23
+ + TESTONLY
24
+ )
25
+
26
+ absl_cc_test(
27
+ --
28
+ 2.45.2
29
+
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.13.0
4
+ version: 2.13.2
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-06-30 00:00:00.000000000 Z
12
+ date: 2024-07-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake-compiler
@@ -90,8 +90,9 @@ files:
90
90
  - lib/re2/scanner.rb
91
91
  - lib/re2/string.rb
92
92
  - lib/re2/version.rb
93
+ - patches/abseil/0001-Avoid-export-of-testonly-target-absl-test_allocator-.patch
93
94
  - ports/archives/20240116.2.tar.gz
94
- - ports/archives/re2-2024-07-01.tar.gz
95
+ - ports/archives/re2-2024-07-02.tar.gz
95
96
  - re2.gemspec
96
97
  - spec/kernel_spec.rb
97
98
  - spec/re2/match_data_spec.rb
Binary file