luigi 1.1.0 → 1.1.1

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: 361fa53ceb381c724adade28d8810a8395751c24
4
- data.tar.gz: 10505b06c45cf12b465e8d75af6e013ebebafb7b
3
+ metadata.gz: eb9c443c23215aa8b717726a606085f142a36e11
4
+ data.tar.gz: 080fdbdc95c4877d3c320c1c82dd6c6bfcdd6aab
5
5
  SHA512:
6
- metadata.gz: dcdfd3563d55f51a638abcf1b1c0afdd9ff7865356f6f990aa1c9ab8ecd02c0a3a10d6534fe2dd5f4addf8b9b0ad81991af3e4fff8dfe39344e02c8056c7438c
7
- data.tar.gz: b90f219db6687ca7919d5c5a9f128f99efe1820f53f282b1889d7c42e71766b285d91dcf626e01456ac79e5dd8ed309365edf9c5e7c7e216c8936388d4b61f32
6
+ metadata.gz: 24e388051084c5840264995e2ecbfeb7291b72a919d95c8db8063d79f16df5b1ed9703353606ea615ff546360ac652b7a22ef33c474a6f011faf39f039abb10b
7
+ data.tar.gz: 5c96278e780ed33ca3a456617f92f7e97b0976c902cf42f1bb18011ab5a1f2bb049aadf2a293e8421396af90a4a94b5d2a91d5636310fc46c254ec4b505cbff7
@@ -1,3 +1,3 @@
1
1
  module Luigi
2
- VERSION = '1.1.0'
2
+ VERSION = '1.1.1'
3
3
  end
@@ -21,10 +21,12 @@ class LuigiInternal
21
21
 
22
22
  def init_dirs
23
23
  @dirs = {}
24
- @dirs[:storage] = File.expand_path(File.join(@settings['path'], @settings['dirs']['storage']))
25
- @dirs[:working] = File.join @dirs[:storage], @settings['dirs']['working']
26
- @dirs[:archive] = File.join @dirs[:storage], @settings['dirs']['archive']
27
- @dirs[:templates] = File.join @dirs[:storage], @settings['dirs']['templates']
24
+ if @settings.dirs.storage?
25
+ @dirs[:storage] = File.expand_path(File.join(@settings.path, @settings['dirs']['storage']))
26
+ @dirs[:working] = File.join @dirs[:storage], @settings.dirs.working
27
+ @dirs[:archive] = File.join @dirs[:storage], @settings.dirs.archive
28
+ @dirs[:templates] = File.join @dirs[:storage], @settings.dirs.templates
29
+ end
28
30
  end
29
31
 
30
32
  ##
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luigi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hendrik Sollich