xre 0.5.9-arm64-darwin → 0.6.0-arm64-darwin

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/lib/xre/version.rb +1 -1
  3. data/lib/xre.rb +6 -6
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b2502f73e9d26720ca644c787dee39717a7c7bc1c2da2a92ab065dab0081a9ff
4
- data.tar.gz: 262e7abfca0707fa62fcdaefbfbacd09a4a604d922f32d4554e563dea034570b
3
+ metadata.gz: 950fec02655709b74b5b0cb3e22f1dfdc6b62717e7d3351a0eb84b2b7a59046f
4
+ data.tar.gz: 9cb294d17dca94696c253d72f467f56b2fff562f3fb48cb9549d2305f445f502
5
5
  SHA512:
6
- metadata.gz: 77a8d2ad4fbf02ed4fc57a3606554ac93ea0fae2d93caabf0c875ad27e0e1d1fff689e3e4be8693d6c6c0091f836f610c1e098e9ded073ad880812749fa0ccd8
7
- data.tar.gz: 02ca067dcb0d0f5020ddfa854ab179c76f1b6111cb38e459feedd007ce601d37ff837465ae19ab769d543eb8759f9a266a01a70ea56f431d43f57f8c36a4d937
6
+ metadata.gz: 73d31558163113f608d38cdc3919da45c07c32889751ae96534156a4c2a82d80266aa6f48c6386a2a39cf6f08ee82f8683c85773151e529ea2f6761891c1ad19
7
+ data.tar.gz: 32ce98ca6cc32ced5bb862a07e5b29378d07313abffc130aaf329797c92358f896d7ce45d3db62452d96c6f278a14e4133583b28628da89d4b016fe2238b4f0a
data/lib/xre/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Xre
4
- VERSION = "0.5.9"
4
+ VERSION = "0.6.0"
5
5
  end
data/lib/xre.rb CHANGED
@@ -9,12 +9,12 @@ end
9
9
 
10
10
  module Xre
11
11
  class RegexList
12
- def captures(text, context_radius: nil, context_boundary: "\n")
13
- if context_radius
14
- __captures_with_context(text, context_radius, context_boundary)
15
- else
16
- __captures_without_context(text)
17
- end
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.5.9
4
+ version: 0.6.0
5
5
  platform: arm64-darwin
6
6
  authors:
7
7
  - barseek
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-05-03 00:00:00.000000000 Z
11
+ date: 2024-05-09 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: