re2 2.13.2-x64-mingw-ucrt → 2.15.0.rc1-x64-mingw-ucrt

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: 74e2f952397e3b4ce951d9638501a30da4089352b7cb44bc1155bdefcd304202
4
- data.tar.gz: 332ff776aa3fc446e6601e73b2a29af91b6679e3e077e20587a5b639d78d0788
3
+ metadata.gz: a413e8a693e271e97d814b70b14c12318f142b78bc0c65d96ca259a9c6d5447c
4
+ data.tar.gz: df2fa464fdf4ecb1b84897b227bb7f7b023536edf3b79ab779e0c4fa8245d524
5
5
  SHA512:
6
- metadata.gz: acd89ba83049a51abf08300581180ac6ce28155f9f2dd71dc22dc2b4d6a922f5e2864b34d62bd261e7b94cdb4662f31561cb75e6f67b53e253600f8e76526392
7
- data.tar.gz: ed1a2a0e6a957b1c271c3bfbd2618dd2f61737d21fb4284570872c1f59beb3179ed3f2f1bdb6c4042bbc4d7a3b306c715ab10397cd6849b7f5c056af75db62c3
6
+ metadata.gz: d10e937ac8d0f6b9433588fc0d0ee5d72e2faeb08a5adf75b004771f5fafa154ceb4b1dbe10ba880934e2958563328c62ac111bfa32e5d76d845c289fd143e77
7
+ data.tar.gz: 0f477c4802833bd46d7c85fd727c0ac80e7702607cea47db5fdfb4b218adb5df81b8477d0ae3d33a059687a3ded73099e73967cd7a99ca5ba79dcaf41b8a93bb
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.so CHANGED
Binary file
data/lib/3.2/re2.so CHANGED
Binary file
data/lib/3.3/re2.so CHANGED
Binary file
data/lib/3.4/re2.so ADDED
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: x64-mingw-ucrt
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
@@ -73,6 +73,7 @@ files:
73
73
  - lib/3.1/re2.so
74
74
  - lib/3.2/re2.so
75
75
  - lib/3.3/re2.so
76
+ - lib/3.4/re2.so
76
77
  - lib/re2.rb
77
78
  - lib/re2/regexp.rb
78
79
  - lib/re2/scanner.rb
@@ -102,12 +103,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
102
103
  version: '3.1'
103
104
  - - "<"
104
105
  - !ruby/object:Gem::Version
105
- version: 3.4.dev
106
+ version: 3.5.dev
106
107
  required_rubygems_version: !ruby/object:Gem::Requirement
107
108
  requirements:
108
- - - ">="
109
+ - - ">"
109
110
  - !ruby/object:Gem::Version
110
- version: '0'
111
+ version: 1.3.1
111
112
  requirements: []
112
113
  rubygems_version: 3.3.26
113
114
  signing_key: