pericope 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pericope.rb +2 -2
- data/lib/pericope/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 253f3b8024997c39532e3422d136a3a6b7004c90
|
4
|
+
data.tar.gz: 349285d5aab4ffde3c58952949f7a56188d9457a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 033a047ba3b343ffa76ea7f27cb60638c1a98101d81907282a99730844aec6d272dc6add7fc04970a4e4af41dd1d39d71e1586d0b7b6ddde2b0f7474ded980da
|
7
|
+
data.tar.gz: e0cc964095140274fd60d015a7a4a91d6108815b80338d87b8b409b9ca9eb4c251c86eef810ed9a120e37786d002895b2a1033c3d794154f0f1bb1a7fe2099f1
|
data/lib/pericope.rb
CHANGED
@@ -151,8 +151,8 @@ class Pericope
|
|
151
151
|
verse = "#{number}[#{letters}]?"
|
152
152
|
chapter_verse_separator = '\s*[:"\.]\s*'
|
153
153
|
list_or_range_separator = '\s*[\-–—,;]\s*'
|
154
|
-
chapter_and_verse = "(?:#{number + chapter_verse_separator})?" + verse
|
155
|
-
chapter_and_verse_or_letter = "(?:#{chapter_and_verse}|[#{letters}])"
|
154
|
+
chapter_and_verse = "(?:#{number + chapter_verse_separator})?" + verse + '\b'
|
155
|
+
chapter_and_verse_or_letter = "(?:#{chapter_and_verse}|[#{letters}]\\b)"
|
156
156
|
chapter_and_verse + "(?:#{list_or_range_separator + chapter_and_verse_or_letter})*"
|
157
157
|
end
|
158
158
|
|
data/lib/pericope/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pericope
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bob Lail
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|