cskit 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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ac84566cea888ff9477e3bb701a61baf499aeee
|
4
|
+
data.tar.gz: a9475fd9c7387d8d822f6b48f7e4a18356ff0a12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 623a052e6de8426972d65aab3034a40682710fb1e7ab592b56dafb8f10322bc99252e0158975c8f8364a40ccee273564fd7af852641326e932e55a3a82a63446
|
7
|
+
data.tar.gz: ce82b6aa1e550181d6c95ec10f72b62c3aba2a9f9ee0ffef27b34e77cfcdb808d6d71318169f4ef1814cfa69fbfa382413adb2716ca6d540d450decfba85e1cb
|
data/History.txt
CHANGED
data/lib/cskit/version.rb
CHANGED
@@ -21,6 +21,34 @@ describe BibleParser do
|
|
21
21
|
end
|
22
22
|
end
|
23
23
|
|
24
|
+
context 'single chapter, single verse, numbered book name' do
|
25
|
+
let(:citation_text) { 'II Chronicles 1:1' }
|
26
|
+
|
27
|
+
it 'parses correctly' do
|
28
|
+
expect(parser.parse.to_hash).to eq({
|
29
|
+
book: 'II Chronicles', chapters: [{
|
30
|
+
chapter_number: 1, verses: [{
|
31
|
+
start: 1, finish: 1, starter: nil, terminator: nil
|
32
|
+
}]
|
33
|
+
}]
|
34
|
+
})
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
context 'single chapter, single verse, Song of Solomon' do
|
39
|
+
let(:citation_text) { 'Song of Solomon 1:1' }
|
40
|
+
|
41
|
+
it 'parses correctly' do
|
42
|
+
expect(parser.parse.to_hash).to eq({
|
43
|
+
book: 'Song of Solomon', chapters: [{
|
44
|
+
chapter_number: 1, verses: [{
|
45
|
+
start: 1, finish: 1, starter: nil, terminator: nil
|
46
|
+
}]
|
47
|
+
}]
|
48
|
+
})
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
24
52
|
context 'single chapter, verse range' do
|
25
53
|
let(:citation_text) { 'Genesis 1:1-5' }
|
26
54
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cskit
|
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
|
- Cameron Dutro
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|