kindler 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kindler/version.rb +1 -1
- data/lib/kindler.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: cb1f5a09d4429c9c40b39178811f551f0c082a1d
|
4
|
+
data.tar.gz: 93a6b8dc81f33a5c7380bfa51cf152fbbe341862
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9f5a5f5fbb8bd60408df9f1ba7bda7f11c0280de858a0d36025198a3f04b9eea36a0705b75f5418c8aef85e13be39f52f74cc79addc553bd0899b4149c82538
|
7
|
+
data.tar.gz: f708e4372bb77900edaf1f490744854ba1d2b9eda2475e37137d390d0b6a1214c9af39233c14cfb423a517bcde616ae0ad3f5e68ff1ab8d1bd0b9cb28c2520cd
|
data/lib/kindler/version.rb
CHANGED
data/lib/kindler.rb
CHANGED
@@ -160,7 +160,7 @@ module Kindler
|
|
160
160
|
# get remote address
|
161
161
|
image_remote_address = img.attr('src')
|
162
162
|
unless image_remote_address.start_with?('http')
|
163
|
-
image_remote_address =
|
163
|
+
image_remote_address = URI.join(page[:url], image_remote_address).to_s
|
164
164
|
end
|
165
165
|
# get local address
|
166
166
|
image_data = open(image_remote_address)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kindler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- dongbin.li
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-03-
|
11
|
+
date: 2013-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -71,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
version: '0'
|
72
72
|
requirements: []
|
73
73
|
rubyforge_project: kindler
|
74
|
-
rubygems_version: 2.0.
|
74
|
+
rubygems_version: 2.0.3
|
75
75
|
signing_key:
|
76
76
|
specification_version: 4
|
77
77
|
summary: kindler is a rubygem allow you to generate kindle mobi book very easily
|