xre 0.5.8-x86_64-linux → 0.6.0-x86_64-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -2
- data/lib/xre/version.rb +1 -1
- data/lib/xre/xre.so +0 -0
- data/lib/xre.rb +6 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71fc9371620d29fd5e678f89403a1fba9e0e25a6689b40a92246655eb7196bbb
|
4
|
+
data.tar.gz: f8efbad988fd61cf8fceff0ba47251059b2507ea75ad76fe765207159380be6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b2a2cb18077a13d1d38a7a4cde3411f4026a5f2cadec43c4eaf914d0b1e38caa1d683bcfaad86b5d30e856995a45be5a350462963a9e925691f603315684442
|
7
|
+
data.tar.gz: d4a1df4c5c0152be3b9530c0c9fa26821595d571acf3ee5c3b161d43f2f78765c4cc98c204d414028fc6cbc1fc89fd07450ebfcb6235cc00f3b514231285bb85
|
data/README.md
CHANGED
@@ -78,7 +78,7 @@ cargo test # you will need rust toolchain for that
|
|
78
78
|
|
79
79
|
**Rust linting:**
|
80
80
|
|
81
|
-
|
81
|
+
```bash
|
82
82
|
# you will need rust toolchain for that
|
83
83
|
cargo fmt # will format the code
|
84
84
|
cargo clippy # will suggest improvements, not only style ones
|
@@ -86,10 +86,19 @@ cargo clippy # will suggest improvements, not only style ones
|
|
86
86
|
|
87
87
|
## Publishing:
|
88
88
|
|
89
|
+
> Note: For this to work, make sure you are signed in to rubygems.org as a clearscope organization member.
|
90
|
+
|
89
91
|
The codebase includes `xre/Rakefile` which in turn defines a `gem:native`
|
90
92
|
task that compiles the extension for the `x86_64-linux`, `x86_64-darwin`, and `arm64-darwin`
|
91
93
|
and puts the compiled gems into `xre/pkg/` directory, from where one should
|
92
94
|
`gem push xre-<version>-x86_64-linux.gem` to publish the gem.
|
93
95
|
|
94
96
|
> Note: You will need a docker installed on your machine for that
|
95
|
-
|
97
|
+
|
98
|
+
so to publish the gem you should:
|
99
|
+
|
100
|
+
```bash
|
101
|
+
cd xre
|
102
|
+
rake gem:native
|
103
|
+
gem push pkg/xre-<version>-<platform>.gem
|
104
|
+
```
|
data/lib/xre/version.rb
CHANGED
data/lib/xre/xre.so
CHANGED
Binary file
|
data/lib/xre.rb
CHANGED
@@ -9,12 +9,12 @@ end
|
|
9
9
|
|
10
10
|
module Xre
|
11
11
|
class RegexList
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
12
|
+
def captures_with_context(text, context_radius:, context_boundary: "\n")
|
13
|
+
__captures_with_context(text, context_radius, context_boundary)
|
14
|
+
end
|
15
|
+
|
16
|
+
def captures(text)
|
17
|
+
__captures_without_context(text)
|
18
18
|
end
|
19
19
|
|
20
20
|
def inspect
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xre
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: x86_64-linux
|
6
6
|
authors:
|
7
7
|
- barseek
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|