re2 2.13.2-x86_64-darwin → 2.15.0.rc1-x86_64-darwin

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: 28fa81c6cff70cd16845b45607b1beb5eb1cd0b67ff0d729e1d28bb978a33e38
4
- data.tar.gz: af46a4d7f85af88e0796c1225d0da34fdac243ec6c8b4b3030c39959d34667fb
3
+ metadata.gz: 6e1a2ab4506242daa3145e1ea80cfbc9c685d82f811cddf95598363bb34ee212
4
+ data.tar.gz: 7cfaa4fb115ce16cf8270f0af036a2c649b9e06728f80f087fa47c68b30eb47c
5
5
  SHA512:
6
- metadata.gz: 16b46515c3eec77624baf5d98f9cab98c3b6d8a05c284d230b4f1ff7a563802f3111b83bc1392f95c416ca62b85cba48a4926a95553553f522431c6240c3c52e
7
- data.tar.gz: 2a0c56b728e299463863382f587e435013d95112394664d28752ed4787d42dbeb31bc9c66700785304e0344064ba04a973f92d154a274d0d02ca9dd8c88875bf
6
+ metadata.gz: 12f34a942886863005c22cf46fcce662a6f94470a93c24f45d5b4d689df7cf86eebb673bf27aca6c8841bdfc0de0d8018b6b954c17ef2abcbb0c74f9ee75cc4b
7
+ data.tar.gz: b9ac30901a20bdafa339f89a36840302ed72a650dd96a4b215237c3e8328ea9a3e1dfea4ce282f51b23511f57044a07494bd5b637b92e350580c004764028415
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.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/) 2.6 to 3.3
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 `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
+ * `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-mingw32` and `x64-mingw-ucrt`
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.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
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.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
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
@@ -16,23 +16,24 @@ 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
22
19
 
23
20
  cross_platforms = %w[
24
- aarch64-linux
25
- arm-linux
21
+ aarch64-linux-gnu
22
+ aarch64-linux-musl
23
+ arm-linux-gnu
24
+ arm-linux-musl
26
25
  arm64-darwin
27
26
  x64-mingw-ucrt
28
27
  x64-mingw32
29
- x86-linux
28
+ x86-linux-gnu
29
+ x86-linux-musl
30
30
  x86-mingw32
31
31
  x86_64-darwin
32
- x86_64-linux
32
+ x86_64-linux-gnu
33
+ x86_64-linux-musl
33
34
  ].freeze
34
35
 
35
- ENV['RUBY_CC_VERSION'] = %w[3.3.0 3.2.0 3.1.0 3.0.0 2.7.0 2.6.0].join(':')
36
+ ENV['RUBY_CC_VERSION'] = %w[3.4.0 3.3.5 3.2.0 3.1.0].join(':')
36
37
 
37
38
  Gem::PackageTask.new(re2_gemspec).define
38
39
 
@@ -42,7 +43,7 @@ Rake::ExtensionTask.new('re2', re2_gemspec) do |e|
42
43
  e.config_options << '--disable-system-libraries'
43
44
  e.cross_platform = cross_platforms
44
45
  e.cross_compiling do |spec|
45
- spec.files.reject! { |path| File.fnmatch?('ports/*', path) || File.fnmatch?('patches/*', path) }
46
+ spec.files.reject! { |path| File.fnmatch?('ports/*', path) }
46
47
  spec.dependencies.reject! { |dep| dep.name == 'mini_portile2' }
47
48
  end
48
49
  end
data/dependencies.yml CHANGED
@@ -3,5 +3,5 @@ libre2:
3
3
  version: '2024-07-02'
4
4
  sha256: eb2df807c781601c14a260a507a5bb4509be1ee626024cb45acbd57cb9d4032b
5
5
  abseil:
6
- version: '20240116.2'
7
- sha256: 733726b8c3a6d39a4120d7e45ea8b41a434cdacde401cba500f14236c49b39dc
6
+ version: '20240722.0'
7
+ sha256: f50e5ac311a81382da7fa75b97310e4b9006474f9560ac46f54a9967f07d4ae3
data/ext/re2/recipes.rb CHANGED
@@ -20,7 +20,6 @@ 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
24
23
  end
25
24
 
26
25
  re2_recipe = build_recipe('libre2', dependencies['libre2']['version']) do |recipe|
data/lib/3.1/re2.bundle CHANGED
Binary file
data/lib/3.2/re2.bundle CHANGED
Binary file
data/lib/3.3/re2.bundle CHANGED
Binary file
Binary file
data/lib/re2/version.rb CHANGED
@@ -10,5 +10,5 @@
10
10
 
11
11
 
12
12
  module RE2
13
- VERSION = "2.13.2"
13
+ VERSION = "2.15.0.rc1"
14
14
  end
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 = ">= 2.6.0"
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.5.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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: re2
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.13.2
4
+ version: 2.15.0.rc1
5
5
  platform: x86_64-darwin
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-16 00:00:00.000000000 Z
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.5.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.5.1
41
+ version: 1.7.0.rc1
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: rspec
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -70,12 +70,10 @@ files:
70
70
  - ext/re2/extconf.rb
71
71
  - ext/re2/re2.cc
72
72
  - ext/re2/recipes.rb
73
- - lib/2.6/re2.bundle
74
- - lib/2.7/re2.bundle
75
- - lib/3.0/re2.bundle
76
73
  - lib/3.1/re2.bundle
77
74
  - lib/3.2/re2.bundle
78
75
  - lib/3.3/re2.bundle
76
+ - lib/3.4/re2.bundle
79
77
  - lib/re2.rb
80
78
  - lib/re2/regexp.rb
81
79
  - lib/re2/scanner.rb
@@ -102,15 +100,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
102
100
  requirements:
103
101
  - - ">="
104
102
  - !ruby/object:Gem::Version
105
- version: '2.6'
103
+ version: '3.1'
106
104
  - - "<"
107
105
  - !ruby/object:Gem::Version
108
- version: 3.4.dev
106
+ version: 3.5.dev
109
107
  required_rubygems_version: !ruby/object:Gem::Requirement
110
108
  requirements:
111
- - - ">="
109
+ - - ">"
112
110
  - !ruby/object:Gem::Version
113
- version: '0'
111
+ version: 1.3.1
114
112
  requirements: []
115
113
  rubygems_version: 3.3.26
116
114
  signing_key:
data/lib/2.6/re2.bundle DELETED
Binary file
data/lib/2.7/re2.bundle DELETED
Binary file
data/lib/3.0/re2.bundle DELETED
Binary file