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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 145908194097992ca18effe78d077c9ab4056e75
4
- data.tar.gz: 88d93e6cb4e92b429ee3b0d3e559bd4c1f874aa1
3
+ metadata.gz: 253f3b8024997c39532e3422d136a3a6b7004c90
4
+ data.tar.gz: 349285d5aab4ffde3c58952949f7a56188d9457a
5
5
  SHA512:
6
- metadata.gz: 72b6bc51a94abdbfbdcb842359d98ca9ca68c8c802c7e4c27c63237ddf66952fda859b64a9782c5b1f909658c4bbf2ac6d3ec073c9ea9f166885a10f8179725a
7
- data.tar.gz: 109fe8d1a3eaffa62485d55db3febc29f68a5410592b8d1334610c6d7729575ea59cd2a9118e7e218e2311138356354023966501802f3730b222c5053721cf11
6
+ metadata.gz: 033a047ba3b343ffa76ea7f27cb60638c1a98101d81907282a99730844aec6d272dc6add7fc04970a4e4af41dd1d39d71e1586d0b7b6ddde2b0f7474ded980da
7
+ data.tar.gz: e0cc964095140274fd60d015a7a4a91d6108815b80338d87b8b409b9ca9eb4c251c86eef810ed9a120e37786d002895b2a1033c3d794154f0f1bb1a7fe2099f1
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  class Pericope
2
- VERSION = "1.0.0" unless defined?(::Pericope::Version)
2
+ VERSION = "1.0.1" unless defined?(::Pericope::Version)
3
3
  end
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.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-04 00:00:00.000000000 Z
11
+ date: 2018-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler