Permalink
Browse files

basic pdf generation working

  • Loading branch information...
schacon committed Feb 21, 2010
1 parent d8c9836 commit 5bd1992a3c3567ee8757adc04c94d92615f8951f
Showing with 3 additions and 3 deletions.
  1. +2 −2 lib/showoff.rb
  2. +1 −1 showoff.gemspec
View
@@ -148,7 +148,7 @@ def inline_css(csses, pre = nil)
css_content = '<style type="text/css">'
csses.each do |css_file|
if pre
- css_file = File.join(pre, css_file)
+ css_file = File.join(File.dirname(__FILE__), '..', pre, css_file)
else
css_file = File.join(options.pres_dir, css_file)
end
@@ -162,7 +162,7 @@ def inline_js(jses, pre = nil)
js_content = '<script type="text/javascript">'
jses.each do |js_file|
if pre
- js_file = File.join(pre, js_file)
+ js_file = File.join(File.dirname(__FILE__), '..', pre, js_file)
else
js_file = File.join(options.pres_dir, js_file)
end
View
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = "showoff"
- s.version = "0.0.7"
+ s.version = "0.1.0"
s.date = "2010-01-26"
s.summary = "The best damn presentation software a developer could ever love."
s.homepage = "http://github.com/schacon/showoff"

0 comments on commit 5bd1992

Please sign in to comment.