literate_maruku 0.1.2 → 0.1.3

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.
data/History.txt CHANGED
@@ -1,3 +1,8 @@
1
+ == 0.1.3 2009-11-28
2
+
3
+ * bug fixes
4
+ * command line interface now works with absolute paths
5
+
1
6
  == 0.1.2 2009-11-28
2
7
 
3
8
  * major enhancements
data/bin/literate_maruku CHANGED
@@ -49,9 +49,14 @@ begin
49
49
  rescue LoadError
50
50
  require File.dirname(__FILE__) + "/../lib/literate_maruku"
51
51
  end
52
+ require "pathname"
52
53
 
53
54
  if OPTIONS[:output_path]
54
- path = File.join(Dir.pwd, OPTIONS[:output_path])
55
+ if Pathname(OPTIONS[:output_path]).absolute?
56
+ path = OPTIONS[:output_path]
57
+ else
58
+ path = File.join(Dir.pwd, OPTIONS[:output_path])
59
+ end
55
60
  puts "Generating output to \"#{OPTIONS[:output_path]}\""
56
61
  LiterateMaruku.require(ARGV[0], :output => path)
57
62
  else
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{literate_maruku}
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Gregor Schmidt"]
data/version.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 1
4
- :patch: 2
4
+ :patch: 3
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: literate_maruku
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregor Schmidt