lib/dev/Commands.rb in dev-1.0.225 vs lib/dev/Commands.rb in dev-1.0.227

- old
+ new

@@ -1,6 +1,6 @@ -["Clean","Compile","Replace","Setup","Test","Commit","Info","Update","Pull","Build"].each{ |f| require_relative("cmd/#{f}.rb") } +["Compile","Replace","Setup","Test","Commit","Info","Update","Push","Build"].each{ |f| require_relative("cmd/#{f}.rb") } module Dev class Commands < Hash def initialize @@ -8,11 +8,11 @@ self[:replace]=Dev::Cmd::Replace.new self[:compile]=Dev::Cmd::Compile.new self[:test]=Dev::Cmd::Test.new self[:commit]=Dev::Cmd::Commit.new self[:update]=Dev::Cmd::Update.new - self[:pull]=Dev::Cmd::Pull.new + #self[:pull]=Dev::Cmd::Pull.new refresh end def refresh puts_debug "Dev::Command.refresh" @@ -27,9 +27,10 @@ def info; Dev::Cmd::Info.execute; end def setup; execute_method "setup"; end def compile; execute_method "compile"; end def test; execute_method "test"; end + def push; Dev::Cmd::Push.execute; end def update;execute_method("update");end def replace self[:replace].execute if self[:replace].respond_to?("execute") end \ No newline at end of file