epub_reader 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -9
- data/lib/epub_reader/epub.rb +1 -0
- data/lib/epub_reader/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f31959ac9adb11e484a62a0df6d2e900c4b6522
|
4
|
+
data.tar.gz: b3461829b27913cb4e2053641231aa9ff7bf90c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23a2a3fa712c59db89cbcbf545c7bb8d1d297d99710022309e9189694fd291c2a4e5ec42820ebff12929282cd705fc73cca1415c6f35d1f6540ce7458910cf78
|
7
|
+
data.tar.gz: 72f7fff91900779de4ef0fc89e72eb8243e26d6a773f5959109bd64b7546a6ed4c36461d075280b2085b37582c64a01ac363415aabf5bc2efc7df76c30f778af
|
data/README.md
CHANGED
@@ -18,15 +18,16 @@ Or install it yourself as:
|
|
18
18
|
|
19
19
|
## Usage
|
20
20
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
21
|
+
```ruby
|
22
|
+
epub = EpubReader::Epub.new('/the/epub/path.epub')
|
23
|
+
epub.entries.each do |entry|
|
24
|
+
entry.html_text #=> html text
|
25
|
+
entry.title #=> entry title
|
26
|
+
entry.images.each do |image|
|
27
|
+
image.path #=> image file path
|
28
|
+
end
|
29
|
+
end
|
30
|
+
```
|
30
31
|
|
31
32
|
## API Documentation:
|
32
33
|
|
data/lib/epub_reader/epub.rb
CHANGED
data/lib/epub_reader/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: epub_reader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yang-Hsing Lin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-05
|
11
|
+
date: 2014-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|