diff options
| author | Zack Hobson | 2009-07-20 15:25:25 -0700 |
|---|---|---|
| committer | Zack Hobson | 2009-07-20 15:25:25 -0700 |
| commit | 614c3b07bfd5ba18670e2af399247174770001f0 (patch) | |
| tree | fefac7af4d2f04381c5ecb0da257b1859a6f9846 /lib/hcl.rb | |
| parent | 3a1103f72f5ef06ae6c9e1c6d6719968fbd1e091 (diff) | |
| download | hcl-614c3b07bfd5ba18670e2af399247174770001f0.tar.bz2 | |
use net/https instead of curb
Diffstat (limited to 'lib/hcl.rb')
| -rw-r--r-- | lib/hcl.rb | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,8 +1,10 @@ require 'yaml' require 'rexml/document' +require 'net/http' +require 'net/https' require 'rubygems' -require 'curb' +#require 'curb' require 'chronic' require 'hcl/timesheet_resource' @@ -72,7 +74,8 @@ class HCl def start *args task = Task.find args.shift puts "Starting timer for #{task}" - puts task.start(*args) + day_entry = task.start(*args) + puts "Time is running on #{day_entry}" end def show *args |
