dolt 0.15.0 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/dolt +8 -2
  2. data/dolt.gemspec +1 -1
  3. metadata +2 -2
data/bin/dolt CHANGED
@@ -77,7 +77,12 @@ class DoltApp
77
77
  thin_server.log_file = options[:logfile]
78
78
  thin_server.daemonize
79
79
  end
80
- thin_server.start
80
+ puts ">> Starting Dolt #{Dolt::VERSION} from #{root}"
81
+ begin
82
+ thin_server.start
83
+ rescue RuntimeError => e
84
+ abort "\nUnable to start Dolt. Message:\n- #{e}\n\n"
85
+ end
81
86
  end
82
87
  end
83
88
 
@@ -145,6 +150,7 @@ Main {
145
150
  options[:logfile] = params[:logfile].value || "/tmp/dolt.log"
146
151
  end
147
152
  options[:tab_width] = params[:tabwidth].value
148
- DoltApp.new(File.join(File.dirname(__FILE__), "..")).run(params[:root].value, options)
153
+ root = File.expand_path(params[:root].value)
154
+ DoltApp.new(File.join(File.dirname(__FILE__), "..")).run(root, options)
149
155
  end
150
156
  }
@@ -11,7 +11,7 @@ end
11
11
 
12
12
  Gem::Specification.new do |s|
13
13
  s.name = "dolt"
14
- s.version = "0.15.0"
14
+ s.version = "0.16.0"
15
15
  s.authors = ["Christian Johansen"]
16
16
  s.email = ["christian@gitorious.org"]
17
17
  s.homepage = "http://gitorious.org/gitorious/dolt"
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: dolt
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.15.0
5
+ version: 0.16.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Christian Johansen
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-11 00:00:00.000000000 Z
12
+ date: 2013-06-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  type: :runtime