xre 0.5.9-x86_64-darwin → 0.6.0-x86_64-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: 786d1d71ee9f47f91fa46b8796c59a027c8fb778fc0d2b6a54fbae902c6dd6f7
4
- data.tar.gz: e782496b572ef39fbad88d165674022670cf64c118a05206337b6d49706bbbd1
3
+ metadata.gz: a7afeaa2acf59ef5fd090cf2fd47fbb60c1986bf8e15c6da55c34ad4a792b350
4
+ data.tar.gz: 18bdb4cbcc80605bf0553b4151f7288fa55b9365ab74f82005c657d283e4d15f
5
5
  SHA512:
6
- metadata.gz: 0d2cff6bd3e643c53dfee5c7cd286661a8943c902961aaa4a92f88fea85325d063c853895941cb2b50baa696f7ff52ae100891bee793d5c954f116268956ad36
7
- data.tar.gz: 377a02ec71e5b3657ccc2032fa6b4d1390cf27217f4dc2432fde4bc67445086174936f7f9805eb514cc284d0350a5e8ab31e0e8822100705ffd0c2ac26c74d0f
6
+ metadata.gz: a942359172b38b24cf4980e5854e480df4be0df1df0a3ea673fe8e5bc1dd19665dfed08a83d3d6ef5a4c63708af890a9409f8cd5eef30cc6942f7362927e35b2
7
+ data.tar.gz: fd58e50659ecaff3c302dc459f3274af281bc4b8bc8fd2ccbfd7b0d0bd39425bc0570f697605f88c065caf15c0e54b180789ddaccb14e20c787c03368709a567
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: 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-05-09 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: