pericope 0.6.3 → 0.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.mdown +3 -2
- data/lib/pericope.rb +4 -0
- data/lib/pericope/version.rb +1 -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: 3522e299cf1299d44c3824f24202ea4f15e6c6c3
|
4
|
+
data.tar.gz: 5876d95c13179e86369d54962e67d8bf87fccaba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce9a76fcc9704e5ba71b36d497af5037c5a43d0d484d856353d72f9c5f343aa9884d929f7874dd2532afbdc902c02d31dca529eb99cc60917ad35191adf1e726
|
7
|
+
data.tar.gz: 6b98722fb2f16dd49c9a72055818cefe36018ee0841f78ff4736d1938353a373c332954ff3ec24503af2b896654a299bf8dd0a2b793be68f4631bf30fa97d3c2
|
data/README.mdown
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
# Pericope
|
2
2
|
|
3
|
-
[![
|
4
|
-
[![Code Climate](https://codeclimate.com/github/boblail/pericope.
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/pericope.svg)](https://rubygems.org/gems/pericope)
|
4
|
+
[![Code Climate](https://codeclimate.com/github/boblail/pericope.svg)](https://codeclimate.com/github/boblail/pericope)
|
5
|
+
[![Build Status](https://travis-ci.org/boblail/pericope.svg)](https://travis-ci.org/boblail/pericope)
|
5
6
|
|
6
7
|
Pericope is a gem for parsing Bible references.
|
7
8
|
|
data/lib/pericope.rb
CHANGED
@@ -38,6 +38,10 @@ class Pericope
|
|
38
38
|
set_book Pericope.get_book(arg.first)
|
39
39
|
@ranges = Pericope.group_array_into_ranges(arg)
|
40
40
|
|
41
|
+
when Range
|
42
|
+
set_book Pericope.get_book(arg.begin)
|
43
|
+
@ranges = [arg]
|
44
|
+
|
41
45
|
else
|
42
46
|
attributes = arg
|
43
47
|
@original_string = attributes[:original_string]
|
data/lib/pericope/version.rb
CHANGED
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: 0.6.
|
4
|
+
version: 0.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bob Lail
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|