kindlegen 3.0.1 → 3.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 +7 -4
- data/ext/Rakefile +1 -1
- data/lib/kindlegen/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: 954381b740829273dcc51f45cba3843514d5d7e2
|
4
|
+
data.tar.gz: 87b5468e96c2e5b182e4b7dd682cc3ba69c9a43e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e5944a39a3d9de49e378b29b6afac8f4c9267a6df5f8deb544ff5196b474d1f3e1e6cdf34f1143077f6bba22776a17464e0e3f320215cd1f30763b0f3e0d58d
|
7
|
+
data.tar.gz: f23ec67c5f42262b7260567e024274c7bd10eb35bbb75ff3073462519c272506dacfe19d42dc61ba47bd11db4f9aacb363bee636b5de39e4e54d207c7eda9d1a
|
data/README.md
CHANGED
@@ -12,12 +12,15 @@ Require `kindlegen`, then run kindlegen commands.
|
|
12
12
|
|
13
13
|
Returns the path of the kindlegen command.
|
14
14
|
|
15
|
-
### Kindlegen.run(
|
15
|
+
### Kindlegen.run(*args)
|
16
16
|
|
17
17
|
Runs the kindlegen command with specified parameters.
|
18
18
|
|
19
19
|
### Example
|
20
20
|
require 'kindlegen'
|
21
|
-
Kindlegen.run("sample.opf", "-o", "sample.mobi")
|
22
|
-
|
23
|
-
|
21
|
+
stdout, stderr, status = Kindlegen.run("sample.opf", "-o", "sample.mobi")
|
22
|
+
if status == 0
|
23
|
+
puts stdout
|
24
|
+
else
|
25
|
+
$stderr.puts stderr
|
26
|
+
end
|
data/ext/Rakefile
CHANGED
data/lib/kindlegen/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kindlegen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TADA Tadashi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyzip
|