epub_book 0.1.31 → 0.1.32
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 +1 -2
- data/lib/epub_book/version.rb +1 -1
- 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: 0b0f6cc5fbf1059d26d9fb9268e23bb13c2d9c1b1ab83147c007c14e4566708d
|
4
|
+
data.tar.gz: f24f55e0f154ba6415f200d6aef97ad661470b878d3df0d78d34865a48ca6e8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d2fe057e0f4883be7606b041b52ade0188d759c87c4bbf43ffafff1d1ca01f9c3bdc44982f0e83861b2c937bb351af12e2ed39a48e70cebbe39ae81ca685b7e
|
7
|
+
data.tar.gz: ddb8bf3aa0ce7314f30a917be50f8b7d38dfdea61d316fa8be9a8f10695726f82d6c04ec42c6a1a60e725a30e47fa7744ac995a15e3f5684ad907bd470c02e99
|
data/lib/epub_book/book.rb
CHANGED
@@ -205,11 +205,10 @@ module EpubBook
|
|
205
205
|
else
|
206
206
|
txt_file.write("\n\n")
|
207
207
|
txt_file.write(item[:label])
|
208
|
-
txt_file.write("\n")
|
208
|
+
txt_file.write("\n\n")
|
209
209
|
doc_file.css(@body_css).children.each do |it|
|
210
210
|
if it.name == 'text'
|
211
211
|
txt_file.write(it.text)
|
212
|
-
txt_file.write("\n")
|
213
212
|
end
|
214
213
|
end
|
215
214
|
#txt_file.write(doc_file.css(@body_css).text)
|
data/lib/epub_book/version.rb
CHANGED