epub_book 0.1.30 → 0.1.31
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 +4 -4
- 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: 6cf8db6f2596d52379607516e136094bfa5dd022f6822dbe3ef498ebdd370c8d
|
4
|
+
data.tar.gz: 3cae4f05409dc2b8a896a6268d3fd1c4db84c93e301df3a5edc2a6f93eb3330e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b195efe1c161fa40b93b83abd5bc8b2e1972834e6862b0755013dd7afc2db76566bf00f4976b66f3ae1e5a31cc565a2684d31be1fab15246381306ebe2fab82d
|
7
|
+
data.tar.gz: 6cbce0380faa6e1faa7f9de4f285b9cea578eb6329053c26e7a39387ea6c750bf40d725fd77c751082e0f45e7d4004f56db54a569426f972bd4cb68dc3de4f4e
|
data/lib/epub_book/book.rb
CHANGED
@@ -141,8 +141,8 @@ module EpubBook
|
|
141
141
|
get_des(doc1)
|
142
142
|
end
|
143
143
|
|
144
|
-
binding.pry
|
145
|
-
EpubBook.logger.info @index_item_css
|
144
|
+
#binding.pry
|
145
|
+
#EpubBook.logger.info @index_item_css
|
146
146
|
|
147
147
|
doc.css(@index_item_css).each do |item|
|
148
148
|
_href = item.attr(@item_attr).to_s
|
@@ -150,8 +150,8 @@ module EpubBook
|
|
150
150
|
|
151
151
|
_href = generate_abs_url(_href)
|
152
152
|
|
153
|
-
EpubBook.logger.info item.inspect
|
154
|
-
EpubBook.logger.info item.text
|
153
|
+
#EpubBook.logger.info item.inspect
|
154
|
+
#EpubBook.logger.info item.text
|
155
155
|
|
156
156
|
book[:files] << {label: item.text, url: _href}
|
157
157
|
end
|
data/lib/epub_book/version.rb
CHANGED