epub_book 0.1.14 → 0.1.15

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2ccac2bdfbd8f7b1da996a0f39e98d735e96bb38
4
- data.tar.gz: 6f1209e9fa71fa63dae98a110622b62dd796cd07
3
+ metadata.gz: bcf2e6b52c434a9c609291c5815c524227caa0b9
4
+ data.tar.gz: 06059a204f8a130809c19fd9bc386fe79681267b
5
5
  SHA512:
6
- metadata.gz: d7f38e856293d0559cad6ae2f540c001b2d491757ea0c3353c4a5d151dba464a954fe1ef55738e07d4377c5e137c1e1521eab9b3141e4b5e64b09c71b1a0bfb5
7
- data.tar.gz: c0817ecd9d06a10440e3dd42e054d7a941291a9965a2a867eaa7598f9310f34a6a887bf66cfff4af849df94a2faf70cbbfd89dd5322efc423de83ef413f4f800
6
+ metadata.gz: d53320d61f9f247fecd630b8ca5540677ec4a8a9263d7803216f8ee5373f8ad87eff281cc1eda2aba22006c83b6ddcd31b0d7692aada7ee77d3ff0571730f782
7
+ data.tar.gz: cbec566608c5d506ccb5d74d901b9a3f9bd8f5fe84fff38e9a67b2fb2ed18746a19825dd396c84dec87494eaafd60f9b0fdd026abdca8e5351ed8483efede3ad
@@ -204,9 +204,9 @@ module EpubBook
204
204
  end
205
205
 
206
206
  def generate_abs_url(url)
207
- if _href.start_with?("http")
207
+ if url.start_with?("http")
208
208
  url
209
- elsif _href.start_with?("/")
209
+ elsif url.start_with?("/")
210
210
  "#{link_host}#{url}"
211
211
  else
212
212
  @path_name ||= @index_url[/.*\//]
@@ -1,3 +1,3 @@
1
1
  module EpubBook
2
- VERSION = "0.1.14"
2
+ VERSION = "0.1.15"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epub_book
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.14
4
+ version: 0.1.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - qmliu