rack-jekyll 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2009, Bryan Goines
1
+ Copyright (c) 2009, 2010, Bryan Goines
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person
4
4
  obtaining a copy of this software and associated documentation
data/README.markdown CHANGED
@@ -41,7 +41,7 @@ You need to generate pages and git-add pages and git-commit before you deploy yo
41
41
 
42
42
  4) echo "rack-jekyll" > .gems
43
43
 
44
- 5) git init && git add config.ru .gems _site/*
44
+ 5) git init && git add .
45
45
 
46
46
  6) git commit -m "first heroku app"
47
47
 
data/lib/rack/jekyll.rb CHANGED
@@ -8,6 +8,7 @@ module Rack
8
8
  def initialize(opts = {})
9
9
  if ::File.exist?(Dir.pwd + "/_config.yml")
10
10
  @config = ::YAML.load(::File.read(Dir.pwd + "/_config.yml"))
11
+ @config = (@config.class == FalseClass ? {} : @config)
11
12
  if @config[:desination].nil?
12
13
  @path = opts[:desination].nil? ? "_site" : opts[:desination]
13
14
  else
@@ -1,7 +1,7 @@
1
1
  module Rack
2
2
  class Jekyll
3
3
  def self.version
4
- '0.3.3'
4
+ '0.3.4'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bryan Goines
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-02 00:00:00 -06:00
12
+ date: 2010-02-01 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency