potion 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/bin/potion CHANGED
@@ -10,7 +10,7 @@ require 'directory_watcher'
10
10
 
11
11
  include WEBrick
12
12
 
13
- program :version, "0.0.1"
13
+ program :version, "0.0.3"
14
14
  program :description, 'A simple, extensible, static site generator that supports code, photos and files'
15
15
 
16
16
  command :preview do |c|
@@ -45,6 +45,7 @@ command :preview do |c|
45
45
  dw.start
46
46
  end
47
47
 
48
+ puts "Server starting at: 'localhost:4000'"
48
49
  server = HTTPServer.new(:Port => 4000, :BindAddress => "localhost")
49
50
  server.mount("/", HTTPServlet::FileHandler, destination)
50
51
 
@@ -37,7 +37,7 @@ class Potion::Site
37
37
 
38
38
  def load_config
39
39
  config_path = File.join(@base_path, "_config.yaml")
40
- raise "No config file found at #{config_path}" unless File.exists?(config_path)
40
+ raise "No config file found at '#{config_path}'" unless File.exists?(config_path)
41
41
  config = YAML.load(File.open(config_path))
42
42
  return {} if config == false
43
43
  config
@@ -1,3 +1,3 @@
1
1
  module Potion
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: potion
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: