re2 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -5
  3. data/ext/re2/extconf.rb +13 -1
  4. metadata +7 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 63b9158e45d56ed6977fe6eb9b897039291faeaeeb310dd980a2e88e5e05778d
4
- data.tar.gz: ddb04bf5ee1b4e2f4335d816a967c2cc46ae1c39c96d97c6e25c80e4579f8ea4
3
+ metadata.gz: b7a33f3c27224496ec131c261c7c66172f21474bce66cdf1cc1631c83040b3ca
4
+ data.tar.gz: 4d4a5448aa271bbce4cf37ffadfaadfa0797691fad5cc13f2f722e281116d66f
5
5
  SHA512:
6
- metadata.gz: 9537a2f75f3e36fd71967ca23a4b2e5bf54847407a6a55b87474403ca2bf3ca5adb93695d445e10d34ba37339eee0d4bbf94914835b6a05b5463a42ae255fde7
7
- data.tar.gz: 3c3bf9b84398ea8803377fb3224cedb36a185038c74fecb60165a731766a3bffc15893012fe812ebb719c5133d7217f1ec7cbed364dd6281be281b72db3466be
6
+ metadata.gz: f080eccb20bb599b374485981f4c23fd8a49e84903ebe32e99e00b458c8b6334430cef41cbb1227fcba057f81d2fed4ead67648e506348fa6c2f975b7e6fea7f
7
+ data.tar.gz: bbd0ca07b287ca7e212175b4f5eaafd2698b7be94aefa432e81c4ff108b4b4c660e47d03d48d6affb82c0cee5f98fcb37bdcd97651bf309cebb148ac5e654518
data/README.md CHANGED
@@ -1,11 +1,12 @@
1
- re2 [![Build Status](https://travis-ci.org/mudge/re2.svg?branch=master)](http://travis-ci.org/mudge/re2)
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.2.0
8
- **Supported Ruby versions:** 1.8.7, 1.9.2, 1.9.3, 2.0.0, 2.1.0, 2.2, 2.3, Rubinius 3.8
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=/opt/local/re2` if re2 is not installed in the
32
- default location of `/usr/local/`.
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
- incl, lib = dir_config("re2", "/usr/local/include", "/usr/local/lib")
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.2.0
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: 2020-04-18 00:00:00.000000000 Z
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.2
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: