procman 1.7.1 → 1.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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: