re2 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -5
- data/ext/re2/extconf.rb +13 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7a33f3c27224496ec131c261c7c66172f21474bce66cdf1cc1631c83040b3ca
|
4
|
+
data.tar.gz: 4d4a5448aa271bbce4cf37ffadfaadfa0797691fad5cc13f2f722e281116d66f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f080eccb20bb599b374485981f4c23fd8a49e84903ebe32e99e00b458c8b6334430cef41cbb1227fcba057f81d2fed4ead67648e506348fa6c2f975b7e6fea7f
|
7
|
+
data.tar.gz: bbd0ca07b287ca7e212175b4f5eaafd2698b7be94aefa432e81c4ff108b4b4c660e47d03d48d6affb82c0cee5f98fcb37bdcd97651bf309cebb148ac5e654518
|
data/README.md
CHANGED
@@ -1,11 +1,12 @@
|
|
1
|
-
re2 [![Build Status](https://
|
1
|
+
re2 [![Build Status](https://github.com/mudge/re2/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/mudge/re2/actions)
|
2
2
|
===
|
3
3
|
|
4
4
|
A Ruby binding to [re2][], an "efficient, principled regular expression
|
5
5
|
library".
|
6
6
|
|
7
|
-
**Current version:** 1.
|
8
|
-
**Supported Ruby versions:** 1.8.7, 1.9.2, 1.
|
7
|
+
**Current version:** 1.3.0
|
8
|
+
**Supported Ruby versions:** 1.8.7, 1.9.3, 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 3.0
|
9
|
+
**Supported re2 versions:** libre2.0 (< 2020-03-02), libre2.1 (2020-03-02), libre2.6 (2020-03-03), libre2.7 (2020-05-01), libre2.8 (2020-07-06), libre2.9 (2020-11-01)
|
9
10
|
|
10
11
|
Installation
|
11
12
|
------------
|
@@ -28,8 +29,12 @@ Ruby header files installed such as those provided by the [ruby-dev][] package
|
|
28
29
|
on Debian and Ubuntu.
|
29
30
|
|
30
31
|
You can then install the library via RubyGems with `gem install re2` or `gem
|
31
|
-
install re2 -- --with-re2-dir=/
|
32
|
-
|
32
|
+
install re2 -- --with-re2-dir=/path/to/re2/prefix` if re2 is not installed in
|
33
|
+
any of the following default locations:
|
34
|
+
|
35
|
+
* `/usr/local`
|
36
|
+
* `/opt/homebrew`
|
37
|
+
* `/usr`
|
33
38
|
|
34
39
|
Documentation
|
35
40
|
-------------
|
data/ext/re2/extconf.rb
CHANGED
@@ -16,7 +16,19 @@ if ENV["CXX"]
|
|
16
16
|
RbConfig::CONFIG["CXX"] = ENV["CXX"]
|
17
17
|
end
|
18
18
|
|
19
|
-
|
19
|
+
header_dirs = [
|
20
|
+
"/usr/local/include",
|
21
|
+
"/opt/homebrew/include",
|
22
|
+
"/usr/include"
|
23
|
+
]
|
24
|
+
|
25
|
+
lib_dirs = [
|
26
|
+
"/usr/local/lib",
|
27
|
+
"/opt/homebrew/lib",
|
28
|
+
"/usr/lib"
|
29
|
+
]
|
30
|
+
|
31
|
+
dir_config("re2", header_dirs, lib_dirs)
|
20
32
|
|
21
33
|
$CFLAGS << " -Wall -Wextra -funroll-loops"
|
22
34
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: re2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Mucur
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake-compiler
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '3.2'
|
41
41
|
description: Ruby bindings to re2, "an efficient, principled regular expression library".
|
42
|
-
email:
|
42
|
+
email:
|
43
43
|
executables: []
|
44
44
|
extensions:
|
45
45
|
- ext/re2/extconf.rb
|
@@ -64,7 +64,7 @@ homepage: https://github.com/mudge/re2
|
|
64
64
|
licenses:
|
65
65
|
- BSD-3-Clause
|
66
66
|
metadata: {}
|
67
|
-
post_install_message:
|
67
|
+
post_install_message:
|
68
68
|
rdoc_options: []
|
69
69
|
require_paths:
|
70
70
|
- lib
|
@@ -79,8 +79,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
79
79
|
- !ruby/object:Gem::Version
|
80
80
|
version: '0'
|
81
81
|
requirements: []
|
82
|
-
rubygems_version: 3.1.
|
83
|
-
signing_key:
|
82
|
+
rubygems_version: 3.1.4
|
83
|
+
signing_key:
|
84
84
|
specification_version: 4
|
85
85
|
summary: Ruby bindings to re2.
|
86
86
|
test_files:
|