lib/kalipso.rb in kalipso-0.1.2 vs lib/kalipso.rb in kalipso-0.1.3

- old
+ new

@@ -13,15 +13,14 @@ # models require 'kalipso/site' # app -Dir['app/*/*.rb'].each do |file| +Dir[File.expand_path('app/*/*.rb', __FILE__)].each do |file| require file end -Jaysus::Local.store_dir = "#{ENV['HOME']}/.kalipso" - +Jaysus::Local.store_dir = File.expand_path("~/.kalipso") token_path = Pathname.new(Jaysus::Local.store_dir + '/token') if token_path.exist? token = token_path.read \ No newline at end of file