pericope 0.6.3 → 0.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5fd0fb4c5b0455eb2f63b9fef1dd7dfbf2ebe459
4
- data.tar.gz: dd5a0fb0c8d3ef7ef1299e574c1fa5a6e4d8e395
3
+ metadata.gz: 3522e299cf1299d44c3824f24202ea4f15e6c6c3
4
+ data.tar.gz: 5876d95c13179e86369d54962e67d8bf87fccaba
5
5
  SHA512:
6
- metadata.gz: dd1de3c1b74c6d70f704522d11d0c238adb522d39c75031334ce25d2f10c3e99f29cac049b077ac39732a7508884a9939a3ccf508d9e3baf94105b6b195bbfe8
7
- data.tar.gz: a1ce6f9003b8e2181a6c811752fba1734cd0ee12aaf60d384d3b0902e68bfe63dc34438fb63f2f6e7bde009a4c94f771f04878827a92f8d46b9334d4639fd00d
6
+ metadata.gz: ce9a76fcc9704e5ba71b36d497af5037c5a43d0d484d856353d72f9c5f343aa9884d929f7874dd2532afbdc902c02d31dca529eb99cc60917ad35191adf1e726
7
+ data.tar.gz: 6b98722fb2f16dd49c9a72055818cefe36018ee0841f78ff4736d1938353a373c332954ff3ec24503af2b896654a299bf8dd0a2b793be68f4631bf30fa97d3c2
data/README.mdown CHANGED
@@ -1,7 +1,8 @@
1
1
  # Pericope
2
2
 
3
- [![Build Status](https://travis-ci.org/boblail/pericope.png?branch=master)](https://travis-ci.org/boblail/pericope)
4
- [![Code Climate](https://codeclimate.com/github/boblail/pericope.png)](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]
@@ -1,3 +1,3 @@
1
1
  class Pericope
2
- VERSION = "0.6.3" unless defined?(::Pericope::Version)
2
+ VERSION = "0.6.4" unless defined?(::Pericope::Version)
3
3
  end
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.3
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-07-17 00:00:00.000000000 Z
11
+ date: 2016-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport