epub_book 0.1.13 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/epub_book/book.rb +2 -2
- data/lib/epub_book/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ccac2bdfbd8f7b1da996a0f39e98d735e96bb38
|
4
|
+
data.tar.gz: 6f1209e9fa71fa63dae98a110622b62dd796cd07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7f38e856293d0559cad6ae2f540c001b2d491757ea0c3353c4a5d151dba464a954fe1ef55738e07d4377c5e137c1e1521eab9b3141e4b5e64b09c71b1a0bfb5
|
7
|
+
data.tar.gz: c0817ecd9d06a10440e3dd42e054d7a941291a9965a2a867eaa7598f9310f34a6a887bf66cfff4af849df94a2faf70cbbfd89dd5322efc423de83ef413f4f800
|
data/lib/epub_book/book.rb
CHANGED
@@ -207,10 +207,10 @@ module EpubBook
|
|
207
207
|
if _href.start_with?("http")
|
208
208
|
url
|
209
209
|
elsif _href.start_with?("/")
|
210
|
-
"#{link_host}#{
|
210
|
+
"#{link_host}#{url}"
|
211
211
|
else
|
212
212
|
@path_name ||= @index_url[/.*\//]
|
213
|
-
"#{@path_name}#{
|
213
|
+
"#{@path_name}#{url}"
|
214
214
|
end
|
215
215
|
|
216
216
|
end
|
data/lib/epub_book/version.rb
CHANGED