summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorZack Hobson2013-11-20 09:19:41 -0800
committerZack Hobson2013-11-20 09:19:41 -0800
commit23c799e111fe8abafde55c8b60d314e1b77a7128 (patch)
treeb3b78ea6a57d720888805592f713e71c4f2a6e26 /lib
parent9b962a50218cac283c9b8075d238b391f6555fad (diff)
downloadhcl-23c799e111fe8abafde55c8b60d314e1b77a7128.tar.bz2
remove jeweler
Diffstat (limited to 'lib')
-rw-r--r--lib/hcl.rb10
-rw-r--r--lib/hcl/app.rb10
-rw-r--r--lib/hcl/version.rb3
3 files changed, 13 insertions, 10 deletions
diff --git a/lib/hcl.rb b/lib/hcl.rb
new file mode 100644
index 0000000..8f7be26
--- /dev/null
+++ b/lib/hcl.rb
@@ -0,0 +1,10 @@
+module HCl
+ autoload :VERSION, 'hcl/version'
+ autoload :App, 'hcl/app'
+ autoload :Commands, 'hcl/commands'
+ autoload :TimesheetResource, 'hcl/timesheet_resource'
+ autoload :Utility, 'hcl/utility'
+ autoload :Project, 'hcl/project'
+ autoload :Task, 'hcl/task'
+ autoload :DayEntry, 'hcl/day_entry'
+end
diff --git a/lib/hcl/app.rb b/lib/hcl/app.rb
index 585ea79..f108087 100644
--- a/lib/hcl/app.rb
+++ b/lib/hcl/app.rb
@@ -10,14 +10,6 @@ require 'chronic'
require 'trollop'
require 'highline/import'
-## app dependencies
-require 'hcl/utility'
-require 'hcl/commands'
-require 'hcl/timesheet_resource'
-require 'hcl/project'
-require 'hcl/task'
-require 'hcl/day_entry'
-
# Workaround for annoying SSL warning:
# >> warning: peer certificate won't be verified in this SSL session
# http://www.5dollarwhitebox.org/drupal/node/64
@@ -31,8 +23,6 @@ class Net::HTTP
end
module HCl
- VERSION = "0.4.3"
-
class App
include HCl::Utility
include HCl::Commands
diff --git a/lib/hcl/version.rb b/lib/hcl/version.rb
new file mode 100644
index 0000000..5221433
--- /dev/null
+++ b/lib/hcl/version.rb
@@ -0,0 +1,3 @@
+module HCl
+ VERSION = '0.4.4'
+end