Skip to content

Commit

Permalink
basic pdf generation working
Browse files Browse the repository at this point in the history
  • Loading branch information
schacon committed Feb 21, 2010
1 parent d8c9836 commit 5bd1992
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/showoff.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion showoff.gemspec
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 5bd1992

Please sign in to comment.