From 637ab2e4d0482645509aca4e123fcdff02954655 Mon Sep 17 00:00:00 2001 From: Rupak Ganguly Date: Thu, 9 Feb 2012 18:43:07 -0500 Subject: [PATCH] Bump version and update changelog. --- CHANGELOG.hp | 9 ++++++++- fog.gemspec | 4 ++-- lib/fog/hp.rb | 2 +- lib/fog/hp/storage.rb | 1 + 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.hp b/CHANGELOG.hp index 92ed71bbe..829ced3a6 100644 --- a/CHANGELOG.hp +++ b/CHANGELOG.hp @@ -1,3 +1,10 @@ +0.0.13 02/09/2012 +================= + - provide access to availability zones for compute + - minor fix for CS authentication uri + - update inline documentation + - update README_HP with copyright message + 0.0.12 02/02/2012 ================= - integrate CS authentication @@ -6,7 +13,7 @@ - add additional attributes for CDN provider - remove bits and add cores as alias to vcpus in flavor model - update inline documentation - - update README wih copyright message + - update README_HP with copyright message 0.0.11 01/09/2012 ================= diff --git a/fog.gemspec b/fog.gemspec index cd8cdae75..537b0e637 100644 --- a/fog.gemspec +++ b/fog.gemspec @@ -6,8 +6,8 @@ Gem::Specification.new do |s| ## If your rubyforge_project name is different, then edit it and comment out ## the sub! line in the Rakefile s.name = 'hpfog' - s.version = '0.0.12' # fog base 1.0.0 - s.date = '2012-02-02' + s.version = '0.0.13' # fog base 1.0.0 + s.date = '2012-02-09' #s.rubyforge_project = 'fog' ## Make sure your summary is short. The description may be as long diff --git a/lib/fog/hp.rb b/lib/fog/hp.rb index 0412daa11..91ff3e50a 100644 --- a/lib/fog/hp.rb +++ b/lib/fog/hp.rb @@ -48,7 +48,7 @@ module Fog # keystone based control services style authentication def self.authenticate_v2(options, connection_options = {}) - hp_auth_uri = options[:hp_auth_uri] || "https://region-a.geo-1.identity.hpcloudsvc.com:35357v2.0/tokens" + hp_auth_uri = options[:hp_auth_uri] || "https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/tokens" # append /tokens if missing from auth uri @hp_auth_uri = hp_auth_uri.include?('tokens')? hp_auth_uri : hp_auth_uri + "tokens" endpoint = URI.parse(@hp_auth_uri) diff --git a/lib/fog/hp/storage.rb b/lib/fog/hp/storage.rb index e71a9522d..22396e898 100644 --- a/lib/fog/hp/storage.rb +++ b/lib/fog/hp/storage.rb @@ -141,6 +141,7 @@ module Fog require 'multi_json' @hp_secret_key = options[:hp_secret_key] @hp_account_id = options[:hp_account_id] + @hp_auth_uri = options[:hp_auth_uri] @hp_cdn_ssl = options[:hp_cdn_ssl] @connection_options = options[:connection_options] || {} ### Set an option to use the style of authentication desired; :v1 or :v2 (default)