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

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: 57adfd16466ec6b9e749037093a69a1147ae915524f50c601e9c88e0ac3c163a
4
- data.tar.gz: a34c43d48440fdb8350e0aabb16bc1d576a4734195dd62b92117fd01fa945ec8
3
+ metadata.gz: c6f95e27bcc1e6e443f8c2a70f12493d12053384293fa439974ec574d72ce881
4
+ data.tar.gz: 42f0010b77901f786d48df9e148c13ae4130aa1ab08bd36f11500fa1bea611a5
5
5
  SHA512:
6
- metadata.gz: fbabe5c7f3a066e4291ec90a8015580a0fe2f0e16cf065ddbaf3a7314a614eb02974f499b9ec40c8978bf23b852e2c492c6b4cb93bf86aa67485e28aa596aa9f
7
- data.tar.gz: 061252c5004918592c9645645f33799b0e5fc96dfb851111be0502df739087679f03451f8edb8810f4d9f9bc312bb0dba872ce5596037014961aa613e4cd53f8
6
+ metadata.gz: 240e5d9df4c1c8db2157aab3a7ad7f31ac3836f856e69eb158fbe707d6dc26d3e1c07eda346804f4f8299605940c7f3d74c65159f2e68439f9fb97f3706288ab
7
+ data.tar.gz: bfab7a65b3d00661d0908d6ec02e77e06f9fd50a4bbe98981ddb1b6b9cc291e31e096d13917218a631aad6b5b2410bd8030170b3d4e5e70c13c3fc9f94ecf76a
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: arm64-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