mkbok 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/bin/mkbok +3 -2
  2. data/lib/mkbok_version.rb +1 -1
  3. metadata +1 -1
data/bin/mkbok CHANGED
@@ -29,7 +29,7 @@ option_parser = OptionParser.new do |opts|
29
29
  opts.on("-b","--build FORMAT","build format:epub,pdf,html. seperated by ','") do |format|
30
30
  formatOptions = format.split(",")
31
31
  formatOptions.each do | fmt |
32
- puts fmt
32
+ # puts fmt
33
33
  unless ["pdf","epub","html"].include?(fmt)
34
34
  raise ArgumentError,"FORMAT must be one of 'pdf,epub,html' format"
35
35
  end
@@ -319,7 +319,8 @@ def generate_ebook(options)
319
319
  figure_title = 'Figure'
320
320
  end
321
321
 
322
- dir = File.expand_path(File.join(File.dirname(__FILE__), lang))
322
+ dir = File.expand_path(File.join(Dir.getwd, lang))
323
+ #puts File.join(Dir.getwd, lang)
323
324
  book_content = ""
324
325
  Dir[File.join(dir, '**', '*.markdown')].sort.each do |input|
325
326
  puts "\tProcessing #{input}"
data/lib/mkbok_version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module MkBok
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mkbok
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: