manalang-bdoc 0.1.8 → 0.1.9

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 +4 -3
  3. metadata +1 -1
data/History.txt CHANGED
@@ -1,3 +1,8 @@
1
+ == 0.1.9 2009-04-02
2
+
3
+ * 1 bug fix
4
+ * more path issues... yet again.
5
+
1
6
  == 0.1.8 2009-03-30
2
7
 
3
8
  * 1 bug fix
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.8'
11
+ VERSION = '0.1.9'
12
12
 
13
13
  class << self
14
14
  attr_accessor :output_dir
@@ -49,8 +49,9 @@ 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 Dir.glob(File.join(File.dirname(__FILE__), '..', "templates","*.js")), output_dir
53
- FileUtils.cp Dir.glob(File.join(File.dirname(__FILE__), '..', "templates","*.css")), output_dir
52
+ FileUtils.cp File.join(File.dirname(__FILE__), '..', "templates","jquery.js"), output_dir
53
+ FileUtils.cp File.join(File.dirname(__FILE__), '..', "templates","screen.css"), output_dir
54
+ FileUtils.cp File.join(File.dirname(__FILE__), '..', "templates","bdoc.css"), output_dir
54
55
  end
55
56
 
56
57
  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.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rich Manalang