procman 1.7.1 → 1.7.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@ require 'proc_man/constraint'
4
4
 
5
5
  module ProcMan
6
6
 
7
- VERSION = '1.7.1'
7
+ VERSION = '1.7.2'
8
8
 
9
9
  class Error < StandardError; end
10
10
 
@@ -26,7 +26,7 @@ module ProcMan
26
26
 
27
27
  # Returns the current root directory path
28
28
  def root
29
- @root ||= File.expand_path('./')
29
+ @root ||= self.options[:root] || self.options[:r] || File.expand_path('./')
30
30
  end
31
31
 
32
32
  ## Returns the current hostname of the machine executing this action
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: procman
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.1
4
+ version: 1.7.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: