1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

update kindlerb gem

Ruby Kindle periodical-format ebook generator
This commit is contained in:
Gaurav Sharma 2016-10-21 09:37:24 +05:30
parent dce4751a74
commit f0bacbc2c4
3 changed files with 7 additions and 11 deletions

View file

@ -39,7 +39,7 @@ group :doc do
gem "sdoc", "1.0.0.beta2" gem "sdoc", "1.0.0.beta2"
gem "redcarpet", "~> 3.2.3", platforms: :ruby gem "redcarpet", "~> 3.2.3", platforms: :ruby
gem "w3c_validators" gem "w3c_validators"
gem "kindlerb", "0.1.1" gem "kindlerb", ">= 1.0.1"
end end
# Active Support. # Active Support.

View file

@ -211,7 +211,7 @@ GEM
railties (>= 4.2.0) railties (>= 4.2.0)
thor (>= 0.14, < 2.0) thor (>= 0.14, < 2.0)
json (2.0.2) json (2.0.2)
kindlerb (0.1.1) kindlerb (1.0.1)
mustache mustache
nokogiri nokogiri
listen (3.1.5) listen (3.1.5)
@ -239,19 +239,15 @@ GEM
mysql2 (0.4.4-x64-mingw32) mysql2 (0.4.4-x64-mingw32)
mysql2 (0.4.4-x86-mingw32) mysql2 (0.4.4-x86-mingw32)
nio4r (1.2.1) nio4r (1.2.1)
nokogiri (1.6.8) nokogiri (1.6.8.1)
mini_portile2 (~> 2.1.0) mini_portile2 (~> 2.1.0)
pkg-config (~> 1.1.7) nokogiri (1.6.8.1-x64-mingw32)
nokogiri (1.6.8-x64-mingw32)
mini_portile2 (~> 2.1.0) mini_portile2 (~> 2.1.0)
pkg-config (~> 1.1.7) nokogiri (1.6.8.1-x86-mingw32)
nokogiri (1.6.8-x86-mingw32)
mini_portile2 (~> 2.1.0) mini_portile2 (~> 2.1.0)
pkg-config (~> 1.1.7)
pg (0.19.0) pg (0.19.0)
pg (0.19.0-x64-mingw32) pg (0.19.0-x64-mingw32)
pg (0.19.0-x86-mingw32) pg (0.19.0-x86-mingw32)
pkg-config (1.1.7)
psych (2.1.1) psych (2.1.1)
puma (3.6.0) puma (3.6.0)
qu (0.2.0) qu (0.2.0)
@ -383,7 +379,7 @@ DEPENDENCIES
em-hiredis em-hiredis
hiredis hiredis
jquery-rails jquery-rails
kindlerb (= 0.1.1) kindlerb (>= 1.0.1)
listen (>= 3.0.5, < 3.2) listen (>= 3.0.5, < 3.2)
minitest (< 5.3.4) minitest (< 5.3.4)
mocha (~> 0.14) mocha (~> 0.14)

View file

@ -13,7 +13,7 @@ namespace :guides do
desc "Generate .mobi file. The kindlegen executable must be in your PATH. You can get it for free from http://www.amazon.com/gp/feature.html?docId=1000765211" desc "Generate .mobi file. The kindlegen executable must be in your PATH. You can get it for free from http://www.amazon.com/gp/feature.html?docId=1000765211"
task :kindle do task :kindle do
unless `kindlerb -v 2> /dev/null` =~ /kindlerb 0.1.1/ unless `kindlerb -v 2> /dev/null` =~ /kindlerb 1.0.1/
abort "Please `gem install kindlerb` and make sure you have `kindlegen` in your PATH" abort "Please `gem install kindlerb` and make sure you have `kindlegen` in your PATH"
end end
unless `convert` =~ /convert/ unless `convert` =~ /convert/