re2 2.13.1 → 2.13.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fb37fbf5eb74811d2e32e04bdc1888e1883e03a076ea7c07d1c55cbc5c4f40b9
4
- data.tar.gz: 4f9f219c001378bf2e4f27ac39bec3c0477e907bcc7d1a939eadcf3e347afa8d
3
+ metadata.gz: db21eacf357218afb11528f99b15568e977aba9b99fa14b0b865ea5ce3b036d7
4
+ data.tar.gz: 2262c3752f9f3fc88f78ac37f76d5bfb1a77f026a573ae49ef192e3b84e6a663
5
5
  SHA512:
6
- metadata.gz: f1382d5783457a0397a7d429498e5c938b6d04e384f5606445a86e010d15644e8eecd85fd508b05464e3b1955c5dbda9adae15181a80e3f081c2c52f72689864
7
- data.tar.gz: 469ecb59f862fe7b9c41b7ee70fdc026e8ea59a41865fe17dd83832aee68cf1fd70d57eba97d03801395a5f52c311c8c6787071379eff800df64be3441be7b05
6
+ metadata.gz: 3c7628bb531c2ac8856ec4b65ad72c0f8ce656be0057cb44db0a206a6dde658dbdd2e6243e89a03283b2558fda637c6dc3be2b0334afeef0578f4f7742aebd14
7
+ data.tar.gz: 8fadd513b2a7bb5dd519f88ff7a40134abdaf5dd5e2c28eeea30099e8a5ebd424a4ce23d46b5dd3bf3e62250c7d94b11208cac364c69b17c5bb5cad51978e2c1
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.13.1
9
+ **Current version:** 2.13.2
10
10
  **Bundled RE2 version:** libre2.11 (2024-07-02)
11
11
 
12
12
  ```ruby
@@ -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.13.0
283
- Fetching re2-2.13.0-arm64-darwin.gem
284
- Downloaded re2-2.13.0-arm64-darwin
285
- $ sha256sum re2-2.13.0-arm64-darwin.gem
286
- cd891f728c26bdaf45eb70cc51a7007cc6f5c0f09f988885a994ecc1798ebff9 re2-2.13.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.13.0-arm64-darwin.gem.sig re2-2.13.0-arm64-darwin.gem
293
- gpg: Signature made Sun 30 Jun 19:47:12 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/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.1"
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.1
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-07-01 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,6 +90,7 @@ 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
95
  - ports/archives/re2-2024-07-02.tar.gz
95
96
  - re2.gemspec