manalang-bdoc 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/History.txt +5 -0
  2. data/lib/bdoc.rb +3 -3
  3. metadata +1 -1
data/History.txt CHANGED
@@ -1,3 +1,8 @@
1
+ == 0.1.5 2009-03-30
2
+
3
+ * 1 bug fix
4
+ * file path issues with templates
5
+
1
6
  == 0.1.4 2009-03-30
2
7
 
3
8
  * 3 minor enhancements
data/lib/bdoc.rb CHANGED
@@ -8,7 +8,7 @@ require 'launchy'
8
8
  require 'json/pure'
9
9
 
10
10
  module Bdoc
11
- VERSION = '0.1.4'
11
+ VERSION = '0.1.5'
12
12
 
13
13
  class << self
14
14
  attr_accessor :output_dir
@@ -49,8 +49,8 @@ module Bdoc
49
49
  index = ERB.new(File.read(File.join(File.dirname(__FILE__), '..', "templates","index.html"))).result(binding)
50
50
  Dir.mkdir(output_dir) unless File.exists?(output_dir)
51
51
  File.open(output_index,"w") {|f| f.write(index)}
52
- FileUtils.cp_r Dir.glob('templates/*.js'), output_dir
53
- FileUtils.cp_r Dir.glob('templates/*.css'), output_dir
52
+ FileUtils.cp_r Dir.glob(File.join(File.dirname(__FILE__), '..', "templates","*.js")), output_dir
53
+ FileUtils.cp_r Dir.glob(File.join(File.dirname(__FILE__), '..', "templates","*.css")), output_dir
54
54
  end
55
55
 
56
56
  def open
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: manalang-bdoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rich Manalang