scriptura 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -4
- data/lib/scriptura/scripture_reference.rb +3 -3
- data/lib/scriptura/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8fa54c0a40b8f2ca71660cd315a198bd6bf542d
|
4
|
+
data.tar.gz: 31f304950cf6afd0b4aea0f82b9dac80ac69a770
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21de014750a34966d7b7cd6dbe9e955cfa1c310fd6dbf371234ce0f9b38f533a0f77531115dd0d4d95a5620f777edc9080cdad675b6dd14cebdbdc97495561ab
|
7
|
+
data.tar.gz: e3cb32e45b06ad12726690cdcc835d868f4a3504c0c65f773a5375765e8213248472b86a9de45e2fac6224a938ecac33fb1057a857fa9b6e5d73bee70e790f4e
|
data/README.md
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
[![Gem Version](https://badge.fury.io/rb/scriptura.svg)](http://badge.fury.io/rb/scriptura)
|
2
|
-
[![Circle CI](https://circleci.com/gh/gaganawhad/scriptura.svg?style=
|
3
|
-
[![Code Climate](https://codeclimate.com/
|
2
|
+
[![Circle CI](https://circleci.com/gh/gaganawhad/scriptura.svg?style=shield&circle-token=:circle-token)](https://circleci.com/gh/gaganawhad/scriptura)
|
3
|
+
[![Code Climate](https://codeclimate.com/github/gaganawhad/scriptura/badges/gpa.svg)](https://codeclimate.com/github/gaganawhad/scriptura)
|
4
|
+
[![Test Coverage](https://codeclimate.com/github/gaganawhad/scriptura/badges/coverage.svg)](https://codeclimate.com/github/gaganawhad/scriptura/coverage)
|
4
5
|
[![Dependency Status](https://gemnasium.com/gaganawhad/scriptura.svg)](https://gemnasium.com/gaganawhad/scriptura)
|
5
|
-
[![Test Coverage](https://codeclimate.com/repos/5558c18fe30ba00c6c000093/badges/91116ded5697e16610e2/coverage.svg)](https://codeclimate.com/repos/5558c18fe30ba00c6c000093/coverage)
|
6
|
-
|
7
6
|
|
8
7
|
This is a ruby library that provides operations related with meta information about the Bible
|
9
8
|
|
@@ -43,11 +43,11 @@ module Scriptura
|
|
43
43
|
when spans_single_verse?
|
44
44
|
start_verse.to_s
|
45
45
|
when within_same_chapter?
|
46
|
-
"#{start_verse}
|
46
|
+
"#{start_verse}–#{end_verse.number}"
|
47
47
|
when within_same_book?
|
48
|
-
"#{start_verse}
|
48
|
+
"#{start_verse}–#{end_verse.scripture_chapter.number}:#{end_verse.number}"
|
49
49
|
else
|
50
|
-
"#{start_verse}
|
50
|
+
"#{start_verse} – #{end_verse}"
|
51
51
|
end
|
52
52
|
end
|
53
53
|
end
|
data/lib/scriptura/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scriptura
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gagan Awhad
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: safe_yaml
|
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
103
|
version: '0'
|
104
104
|
requirements: []
|
105
105
|
rubyforge_project:
|
106
|
-
rubygems_version: 2.4.
|
106
|
+
rubygems_version: 2.4.8
|
107
107
|
signing_key:
|
108
108
|
specification_version: 4
|
109
109
|
summary: A ruby library that attempts to provide an intuitive API for operations on
|