acts_as_scriptural 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/acts_as_scriptural.rb +2 -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: 94c7cf802bd9d03e233ad4905c6936a5920ffd45
|
4
|
+
data.tar.gz: 1258e0022e28686b4953edc313beb2e9d5d08c2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 362f463dc1ef486088ef243dbd246c320d4a7b584d9e4bfefaad5121075cf1d8638768cce79f598932ae7bcc0be018fb30f8db3535f852728c37acd90a8760ff
|
7
|
+
data.tar.gz: 5346994e78cc3dbd3e95bde34a7c04a8d90dafd188630dfd9640a36afb5562446caf7dcf05224f31ce00009a374ac52db535cbd420a4e80ec8a2f0f96209db22
|
data/lib/acts_as_scriptural.rb
CHANGED
@@ -9,7 +9,8 @@ class ActsAsScriptural
|
|
9
9
|
def parse(str)
|
10
10
|
references = str.split(',')
|
11
11
|
references.each do |ref|
|
12
|
-
|
12
|
+
parsed_reference = Parser.new.parse_reference(ref)
|
13
|
+
add_chapters(parsed_reference) if parsed_reference
|
13
14
|
end
|
14
15
|
self
|
15
16
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acts_as_scriptural
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Philip Bradley
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|