Permalink
Browse files

update kindlegen version, rewrite README

  • Loading branch information...
1 parent 4c336b5 commit 6e121f2159377fe0d36f020e98eddd930ab58ab3 @waynn waynn committed Jan 14, 2014
Showing with 9 additions and 9 deletions.
  1. +6 −6 README.md
  2. +2 −2 ext/kindlegen/extconf.rb
  3. +1 −1 lib/kindlegen/version.rb
View
@@ -1,23 +1,23 @@
# Kindlegen
-Easy to install kindlegen command via gem!
+Easy to install kindlegen command via gem.
-When you will run this gem, it will download tarball of kindlegen from amazon.com and extract it. Then you can find command file in "$GEMPATH/bin".
+When you run this gem, it will download a tarball of kindlegen from amazon.com and extract it. Then you can find the command file in "$GEMPATH/bin".
## Using from Ruby
-Require kindlegen module, you can run kindlegen command without you know its path.
+Require `kindlegen`, then run kindlegen commands.
### Kindlegen.command
-returning path of kindlegen command.
+Returns the path of the kindlegen command.
### Kindlegen.run( *args )
-runing kindlegen command with specified parameters.
+Runs the kindlegen command with specified parameters.
### Example
require 'kindlegen'
- Kindlegen.run( "sample.opf", "-o", "sample.mobi" )
+ Kindlegen.run("sample.opf", "-o", "sample.mobi")
@@ -7,10 +7,10 @@
tarball = case RbConfig::CONFIG['host_os']
when /mac|darwin/i
unzip = 'unzip'
- "KindleGen_Mac_i386_v2_8.zip"
+ "KindleGen_Mac_i386_v2_9.zip"
when /linux|cygwin/i
unzip = 'tar zxf'
- "kindlegen_linux_2.6_i386_v2_8.tar.gz"
+ "kindlegen_linux_2.6_i386_v2_9.tar.gz"
else
STDERR.puts "Host OS unsupported!"
exit(1)
@@ -1,3 +1,3 @@
module Kindlegen
- VERSION = "2.8.0"
+ VERSION = "2.9.0"
end

0 comments on commit 6e121f2

Please sign in to comment.