xre 0.5.9-x86_64-darwin → 0.6.1-x86_64-darwin

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: 786d1d71ee9f47f91fa46b8796c59a027c8fb778fc0d2b6a54fbae902c6dd6f7
4
- data.tar.gz: e782496b572ef39fbad88d165674022670cf64c118a05206337b6d49706bbbd1
3
+ metadata.gz: 01ba40ebea3045f770bfb92d6c0ffe3193b3171e699882e0147100347dccdcec
4
+ data.tar.gz: 446e3e85d2f308505508b1147f9f083338b1a47afdf9d7289d1f2db85fe71875
5
5
  SHA512:
6
- metadata.gz: 0d2cff6bd3e643c53dfee5c7cd286661a8943c902961aaa4a92f88fea85325d063c853895941cb2b50baa696f7ff52ae100891bee793d5c954f116268956ad36
7
- data.tar.gz: 377a02ec71e5b3657ccc2032fa6b4d1390cf27217f4dc2432fde4bc67445086174936f7f9805eb514cc284d0350a5e8ab31e0e8822100705ffd0c2ac26c74d0f
6
+ metadata.gz: 2f047408b11cd0a2bcd3285aef39f67e2df0d2ea1f379d93b6bfd85b40868ba001cb7f10e65a036b81d17f70945be63fa71b853c68069f76fcefe07cd8830d12
7
+ data.tar.gz: 2ce5fe2e04536f8186e7dc0200731973ff1f2c92ed5f7736759c65b74c831672f23b7230ed045720eb03d296ecacf26e3a170e96d4c97ed9e4eb9bf8fd627688
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.1"
5
5
  end
data/lib/xre/xre.bundle 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 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.1
5
5
  platform: x86_64-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-07-03 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: