utopia 1.6.4 → 1.6.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5843f20c3064a8be2f35b08409f491b88985dc1b
4
- data.tar.gz: 61bcbce6bc7bef8c00f42f19ea7f28ce56c53a6f
3
+ metadata.gz: 568d13725a84d36df5372dbeddaee9d7dac100fc
4
+ data.tar.gz: 166571e522f619f11c8867357e64fb1ebb4612c4
5
5
  SHA512:
6
- metadata.gz: 73a6ed4e6b754a1520e9b3cda3ce28c3e86ee29ecef62fdacd19cbda34e310328bcb0b92af0b9098db98e61a7c57c0bef51a8849332794fdb64b014d4ee6ce05
7
- data.tar.gz: a5dda959e517da9e6f58503161303cee85b3915b0c73df315d4bb307b2f6fc8ba4b0e38d66efbe2a23febc915243d4e0cc4f49779e7c88049061f43b1e22fced
6
+ metadata.gz: 1a9627b9c483e035dbe30ed562dc9cf2546b4b6953bd258865271138d487d14c2c9e0938a032cab800cb401c0362c844fa6486fd4685dcad86098517ba44fef7
7
+ data.tar.gz: ee75d2d7079db75d76d652b06c20942b7f1f5ef05c4cf30315c699969b93ca4c50e18dc21bd19eaa4b3bf6b9a7c68bbed0105211ed902b448773f97dc2330696
@@ -246,7 +246,7 @@ module Utopia
246
246
  'server' => Server
247
247
 
248
248
  def root
249
- @options[:root] || Dir.getwd
249
+ File.expand_path(@options.fetch(:root, ''), Dir.getwd)
250
250
  end
251
251
 
252
252
  def invoke(program_name: File.basename($0))
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Utopia
22
- VERSION = "1.6.4"
22
+ VERSION = "1.6.5"
23
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: utopia
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.4
4
+ version: 1.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-24 00:00:00.000000000 Z
11
+ date: 2016-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: trenni