re2 2.26.2-arm-linux-gnu → 2.28.0-arm-linux-gnu

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: 744848933fe9dcbb23dabbc2167aa08137fa5cc539ef836ace4bb4f1fdbfb786
4
- data.tar.gz: 812ac2e83384239d1fe96f5e7db938f999da640d508b532b72458cd2aecaa5fe
3
+ metadata.gz: 140f6962d695db89ed1410372669691144d1c71e31c49873504bcb68291ce986
4
+ data.tar.gz: 91120b25899a2db5f6b5e31c65a940710a9614123e9fac4c029f5ee42ed6863e
5
5
  SHA512:
6
- metadata.gz: 9f262c5dc8f11908a5d0523662f0fa31dd9d599e0823c2e3f1ad1134bfe76981616e8f9083053a4bb16885df95c7b0b636f34efd977f113a0dae5c2bdd73622b
7
- data.tar.gz: 0e8981d9ef0cb3b05315b00300ade2d4991f1de1b030a39790e90a9f5f7224d41b1f972d1d1be618839220668a8cd29fa93fa0976700a92bcd00e14100493065
6
+ metadata.gz: 31498cbb945d8595590a63d93d3031f67de273e95fc976dfcd227e43fc619c93a6c8403d5e1eafded51559f7e985282836dab6072cc6056249a7d830c515565a
7
+ data.tar.gz: 53981ca65527f73169d63361022736afd5d301b6b7e1e3a4cd90463f176481a57efdab1e00428449e4296a67bde72f11c4b50fd77abf6990a21731144ff4b342
data/Gemfile CHANGED
@@ -9,3 +9,8 @@ gem "rake", "> 12.3.2"
9
9
  group :memcheck, optional: true do
10
10
  gem "ruby_memcheck"
11
11
  end
12
+
13
+ group :docs, optional: true do
14
+ gem "redcarpet"
15
+ gem "yard"
16
+ end
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.26.2
9
+ **Current version:** 2.28.0
10
10
  **Bundled RE2 version:** libre2.11 (2025-11-05)
11
11
 
12
12
  ```ruby
data/ext/re2/extconf.rb CHANGED
@@ -132,38 +132,14 @@ module RE2
132
132
 
133
133
  def build_extension
134
134
  $CFLAGS << " -Wall -Wextra -funroll-loops"
135
- $CXXFLAGS << " -Wall -Wextra -funroll-loops"
135
+ $CXXFLAGS << " -Wall -Wextra -funroll-loops -std=c++17"
136
136
 
137
137
  # Pass -x c++ to force gcc to compile the test program
138
138
  # as C++ (as it will end in .c by default).
139
- compile_options = +"-x c++"
139
+ compile_options = +"-x c++ -std=c++17"
140
140
 
141
141
  have_library("stdc++")
142
142
 
143
- minimal_program = <<~SRC
144
- #include <re2/re2.h>
145
- int main() { return 0; }
146
- SRC
147
-
148
- re2_requires_version_flag = checking_for("re2 that requires explicit C++ version flag") do
149
- !try_compile(minimal_program, compile_options)
150
- end
151
-
152
- if re2_requires_version_flag
153
- # Recent versions of RE2 depend directly on Abseil, which requires a
154
- # compiler with C++17 support.
155
- abort "Cannot compile re2 with your compiler: recent versions require C++17 support." unless %w[c++20 c++17 c++11].any? do |std|
156
- checking_for("re2 that compiles with #{std} standard") do
157
- if try_compile(minimal_program, compile_options + " -std=#{std}")
158
- compile_options << " -std=#{std}"
159
- $CPPFLAGS << " -std=#{std}"
160
-
161
- true
162
- end
163
- end
164
- end
165
- end
166
-
167
143
  # Determine which version of re2 the user has installed.
168
144
  # Revision d9f8806c004d added an `endpos` argument to the
169
145
  # generic Match() function.