dev 1.0.114 → 1.0.115

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.
Files changed (2) hide show
  1. data/lib/dev/Environment.rb +3 -0
  2. metadata +1 -1
@@ -18,6 +18,9 @@ class Environment
18
18
  end
19
19
 
20
20
  def self.dev_root
21
+ ["DEV_HOME","DEV_ROOT","USERPROFILE","HOME"].each {|v|
22
+ return ENV[v].gsub('\\','/') unless ENV[v].nil?
23
+ }
21
24
  dir="~"
22
25
  dir=ENV["HOME"] unless ENV["HOME"].nil?
23
26
  dir=ENV["USERPROFILE"].gsub('\\','/') unless ENV["USERPROFILE"].nil?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.114
4
+ version: 1.0.115
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: