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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4fc5e33172604c960f86b73289ae09770adda27ed8ac499067e2d00f5d7f751d
4
- data.tar.gz: c8172b4ecc085b9fff250403e5d9131857fd3ec7f8f16ba66bf6f2c9b809b65b
3
+ metadata.gz: 7a33fd6d85b21ae865c0d8763c0e4f91eaa660d25476c153869bb64a53561045
4
+ data.tar.gz: db0adb17115c598b305bc0e785eca96add6c6753c4507b7ee93169579c715795
5
5
  SHA512:
6
- metadata.gz: 94eb6db5566ed2dacb1b8a7c5289c386c0b74637ca776a0f11c4d58d5d79c41e9e56b6c98dac545c5220a547189fd068d6a9ae7a6f3512e98ffa5e2ad1002e3b
7
- data.tar.gz: b3f160201aea79317e60e23f62fd0f302d92ebda37ff81b468ec6a9c48361865f8c54c3dcc2ca5a91d91d5c41c3f781051e501ea401e33163eee6211db65582e
6
+ metadata.gz: cd1cc038e559589ed2e8f76ac20ed27a2eaeb656bdb9a01ab55cc52b311d3fb7441696bfdbe60400dfdf0cacabb09687ebd03eb0e5a217bde7d195e5e2172fea
7
+ data.tar.gz: 30e36409691d7551990f29f88b315b6a5e7aba1354f3d357d55084a44475859fdaaaa6893c07135bb4c6c68c858b7fbb884dee16e752a8f5da017685c19aa698
@@ -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
@@ -1,3 +1,3 @@
1
1
  class Pericope
2
- VERSION = "1.1.0" unless defined?(::Pericope::Version)
2
+ VERSION = "1.1.1" unless defined?(::Pericope::Version)
3
3
  end
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.0
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-23 00:00:00.000000000 Z
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.4.8
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.