wcc-pericope 1.1.0 → 1.1.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/parsing.rb +4 -1
- data/lib/pericope/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a33fd6d85b21ae865c0d8763c0e4f91eaa660d25476c153869bb64a53561045
|
4
|
+
data.tar.gz: db0adb17115c598b305bc0e785eca96add6c6753c4507b7ee93169579c715795
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd1cc038e559589ed2e8f76ac20ed27a2eaeb656bdb9a01ab55cc52b311d3fb7441696bfdbe60400dfdf0cacabb09687ebd03eb0e5a217bde7d195e5e2172fea
|
7
|
+
data.tar.gz: 30e36409691d7551990f29f88b315b6a5e7aba1354f3d357d55084a44475859fdaaaa6893c07135bb4c6c68c858b7fbb884dee16e752a8f5da017685c19aa698
|
data/lib/pericope/parsing.rb
CHANGED
@@ -97,10 +97,13 @@ class Pericope
|
|
97
97
|
text.scan(Pericope.book_regexp) do
|
98
98
|
match = Regexp.last_match
|
99
99
|
book = BOOK_IDS[match.captures.find_index(&:itself)]
|
100
|
+
|
101
|
+
ranges = parse_reference(book, '1-150')
|
102
|
+
|
100
103
|
attributes = {
|
101
104
|
:original_string => match.to_s,
|
102
105
|
:book => book,
|
103
|
-
:ranges =>
|
106
|
+
:ranges => ranges
|
104
107
|
}
|
105
108
|
yield attributes, match
|
106
109
|
end
|
data/lib/pericope/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wcc-pericope
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Watermark Community Church
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -164,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
164
164
|
- !ruby/object:Gem::Version
|
165
165
|
version: '0'
|
166
166
|
requirements: []
|
167
|
-
rubygems_version: 3.
|
167
|
+
rubygems_version: 3.5.11
|
168
168
|
signing_key:
|
169
169
|
specification_version: 4
|
170
170
|
summary: Pericope is a gem for parsing Bible references.
|