maliq 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/maliq +3 -2
  2. data/lib/maliq/version.rb +1 -1
  3. metadata +2 -2
data/bin/maliq CHANGED
@@ -16,7 +16,8 @@ class OptionParser
16
16
  chapters = Maliq::FileUtils.split(fname)
17
17
  chapters.each do |title, text|
18
18
  dest = title.basename_with(:xhtml)
19
- conv = Maliq::Converter.new(text, css:csses, liquid:opts[:liquid])
19
+ conv = Maliq::Converter.new(text, css:csses)
20
+ conv.set_meta(liquid:opts[:liquid]) if opts[:liquid]
20
21
  conv.save(dest)
21
22
  puts "'#{dest}' created."
22
23
  end
@@ -55,7 +56,7 @@ class OptionParser
55
56
  where [options] are:
56
57
  EOS
57
58
 
58
- opt :liquid, "Liquid plugin path", :default => 'plugins'
59
+ opt :liquid, "Liquid plugin path", :type => :string
59
60
  end
60
61
  end
61
62
  end
data/lib/maliq/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Maliq
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maliq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-04 00:00:00.000000000 Z
12
+ date: 2012-12-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: trollop