rcv_deeplink 0.0.0 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rcv_deeplink.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d832f46b598c9d4abbf5fdeefaa3e57df0015078a7fa26d4f3eb3c5193ec208
|
4
|
+
data.tar.gz: 52d81eba81c698a9b4fb9a072b9142a8f3c6d0b0a91835fa3f9fd985fa98d68e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b554e7a393751c0b9e32cec9c64776f45adb743e7b4c20055d8d6f5de78cecbc5ed5221aeb1123e00a1c16cef27bede3a4a37281adce12c5bac8a7d0909b22ae
|
7
|
+
data.tar.gz: b2ba45e6feac555ed02d92dc550940d10439bccdee4738a6ac4f941af8fbfcef4397aaedb2414b84013286160df80501fe2e9249441c65e86f09d3c43f45540f
|
data/lib/rcv_deeplink.rb
CHANGED
@@ -19,7 +19,7 @@ class RcvDeeplink
|
|
19
19
|
end
|
20
20
|
|
21
21
|
def path
|
22
|
-
"#{padded_book_number}_#{book_name_no_spaces}_#{@chapter_number}.htm\##{anchor_tag_book_abbreviation}#{@chapter_number}#{
|
22
|
+
"#{padded_book_number}_#{book_name_no_spaces}_#{@chapter_number}.htm\##{anchor_tag_book_abbreviation}#{@chapter_number}#{verse_anchor}"
|
23
23
|
end
|
24
24
|
|
25
25
|
def url
|
@@ -48,8 +48,8 @@ class RcvDeeplink
|
|
48
48
|
row[:ref_code]
|
49
49
|
end
|
50
50
|
|
51
|
-
def
|
52
|
-
"-#{@
|
51
|
+
def verse_anchor
|
52
|
+
"-#{@verse_number}" if @verse_number.to_i > 0
|
53
53
|
end
|
54
54
|
|
55
55
|
|