all repos — h3rald @ edd63e57923ff84b9ab2ad7db99841e5e019b896

The sources of https://h3rald.com

Fixing Windows-related issues.
h3rald h3rald@h3rald.com
Mon, 10 Aug 2009 09:37:49 +0200
commit

edd63e57923ff84b9ab2ad7db99841e5e019b896

parent

b25f90d6b6cf29aaef4dda02ed822aca7d74ef66

3 files changed, 8 insertions(+), 5 deletions(-)

jump to
M lib/albino.rblib/albino.rb

@@ -42,7 +42,8 @@ # Chris Wanstrath // chris@ozmm.org

# GitHub // http://github.com # require 'rubygems' -require 'open4' +require 'open3' +require 'win32/open3' if RUBY_PLATFORM.match /win32/ class Albino @@bin = 'pygmentize'

@@ -62,7 +63,7 @@ end

def execute(command) output = '' - Open4.popen4(command) do |pid, stdin, stdout, stderr| + Open3.popen3(command) do |stdin, stdout, stderr| stdin.puts @target stdin.close output = stdout.read.strip
M resources/css/layout.cssresources/css/layout.css

@@ -164,7 +164,8 @@ #border-bottom

{ background: #000 url('../images/border-bottom.png') top repeat-x; height: auto; - padding-top: 35px + padding: 0 30px; + padding-top: 40px; } .inner-border

@@ -192,6 +193,7 @@ .clearfooter

{ height: 40px; clear: both; + background: #000; } .footer-left, .footer-right, .footer-center {
M tasks/site.raketasks/site.rake

@@ -25,9 +25,9 @@ task :rebuild => [:clear_output, :update] do

end task :build_tag_pages do - site = Nanoc::Site.new(YAML.load_file('config.yaml')) - site.load_data # TODO + #site = Nanoc::Site.new(YAML.load_file('config.yaml')) + #site.load_data # site.pages.each { |p| p.tags ...} end