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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b38bd7f90886bb7425c2b5d2849c7996f8f9e8d2
4
- data.tar.gz: 0db53ab4a3b93440b10dd9a16343f19b3fcbe40d
3
+ metadata.gz: 4f31959ac9adb11e484a62a0df6d2e900c4b6522
4
+ data.tar.gz: b3461829b27913cb4e2053641231aa9ff7bf90c8
5
5
  SHA512:
6
- metadata.gz: 7e23ae1b06e2bad2f6c12ea31c33797c4e9c1324ac81b04804f654d827e3a545cd2f73206d7767eeafcd8df5ea978ca72be048a8cbf5986579c58112cf0039ad
7
- data.tar.gz: 372bfe6b72f8115448a5083c2f6fd72b49c972ffcf5762fff4c0c802178d9546ced881df60edab7026c439628c8dc95b68bdbdb5b4092182fbf265396addfa45
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
- epub = EpubReader::Epub.new('/the/epub/path.epub')
22
- epub.entries.each do |entry|
23
- entry.html_text #=> html text
24
- entry.title #=> entry title
25
- entry.images.each do |image|
26
- image.path #=> image file path
27
- end
28
- end
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
 
@@ -1,4 +1,5 @@
1
1
  require 'pathname'
2
+ require "securerandom"
2
3
 
3
4
  class EpubReader::Epub
4
5
  attr_reader :entries
@@ -1,3 +1,3 @@
1
1
  module EpubReader
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
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.1
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-30 00:00:00.000000000 Z
11
+ date: 2014-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri