dev 1.0.120 → 1.0.121

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/dev/Project.rb +3 -1
  2. metadata +1 -1
data/lib/dev/Project.rb CHANGED
@@ -41,8 +41,10 @@ class Project < Hash
41
41
  #puts "Command: " + c
42
42
  eval(c.gsub("<%","").gsub("%>",""))
43
43
  else
44
+ # is the command a hash?
45
+ hash=c if c.kind_of?(Hash)
44
46
  # can the command be converted to a hash?
45
- hash=Dev::Environment.s_to_hash(command)
47
+ hash=Dev::Environment.s_to_hash(command) if hash.nil?
46
48
  call=nil
47
49
  if(hash.nil?)
48
50
  call=Dev::SystemCall.new(command)
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.120
4
+ version: 1.0.121
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: