lib/stackfu.rb in stackfu-0.1.0 vs lib/stackfu.rb in stackfu-0.1.1

- old
+ new

@@ -47,12 +47,12 @@ require "#{dir}/commands/list_command" require "#{dir}/commands/deploy_command" require "#{dir}/commands/dump_command" module StackFu - VERSION = '0.0.1' - API = "http://api.stackfu.com" + VERSION = '0.1.1' + API = "http://stackfu.com" CONFIG_FILE = "#{ENV['HOME']}/.stackfu" include StackFu::OperatingSystems module Exceptions @@ -84,5 +84,18 @@ words = self.split() words[0..(length-1)].join(' ') + (words.length > length ? end_string : '') end end +# class ActiveResource::Connection +# # Creates new Net::HTTP instance for communication with +# # remote service and resources. +# def http +# http = Net::HTTP.new(@site.host, @site.port) +# http.use_ssl = @site.is_a?(URI::HTTPS) +# http.verify_mode = OpenSSL::SSL::VERIFY_NONE if http.use_ssl +# http.read_timeout = @timeout if @timeout +# #Here's the addition that allows you to see the output +# http.set_debug_output $stderr +# return http +# end +# end