lib/nifty.rb in nifty-0.0.1 vs lib/nifty.rb in nifty-0.2.2
- old
+ new
@@ -1,3 +1,21 @@
-module Nifty; end
+# Namespace for the whole NIFTY project
+module Nifty
+ GEM_DIR = File.realdirpath(File.join(File.dirname(__FILE__), '..'))
+ APPLIANCE_SCHEMA = File.join(GEM_DIR, 'schema', 'appliance.json')
+ API_CALL_TIMEOUT = 60
+ API_POLLING_WAIT = 5
+end
-require "nifty/version"
+require 'active_support/all'
+
+require 'nifty/exit_codes'
+require 'nifty/errors'
+require 'nifty/settings'
+require 'nifty/version'
+require 'nifty/transfer_method'
+require 'nifty/transfer_methods'
+require 'nifty/backend'
+require 'nifty/backends'
+require 'nifty/command_executioner'
+require 'nifty/event'
+require 'nifty/events'