From ca945a0432a1fae4b1cc8bd650a09eefd0082303 Mon Sep 17 00:00:00 2001 From: geemus Date: Sun, 5 May 2013 10:12:41 -0500 Subject: [PATCH] Release 1.11.1 --- changelog.txt | 18 ++++++++++++++++++ fog.gemspec | 5 +++-- lib/fog/version.rb | 2 +- lib/tasks/changelog_task.rb | 4 ++-- 4 files changed, 24 insertions(+), 5 deletions(-) diff --git a/changelog.txt b/changelog.txt index 21e63e194..2bd4e7ab4 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,21 @@ +1.11.1 05/05/2013 2cfeaf236e4ebcf883d0e17f586293d6cd66f379 +========================================================== + +Stats! { 'collaborators' => 47, 'downloads' => 2177247, 'forks' => 783, 'open_issues' => 140, 'watchers' => 2494 } + +[VSphere] + Added VMware customvalue and customfields to read the annotations for each VM. thanks Marc Grimme + Removed dependency to the Datacenters root path. So that now it should even work with other localizations. thanks Marc Grimme + +[misc] + Load google/api_client late to avoid dep. thanks Dan Prince + Add a custom log warning on load error. thanks Dan Prince + +[vSphere] + Refactor and extend network interface methods (similar to the ovirt implementation) * added methods to add, remove and update interfaces for vSphere * added missing method to retrieve the interface * added existing attribute key to interface (required for modifying, deleting interfaces) * alias interface's mac to id. thanks Marc Grimme + fixed bug that datastores in subfolders would not be found. thanks Marc Grimme + + 1.11.0 05/04/2013 bbea0162df01317405bfbb4c427fdde40e5f0f2c ========================================================== diff --git a/fog.gemspec b/fog.gemspec index 22b402a8c..3187a6241 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 = 'fog' - s.version = '1.11.0' - s.date = '2013-05-04' + s.version = '1.11.1' + s.date = '2013-05-05' s.rubyforge_project = 'fog' ## Make sure your summary is short. The description may be as long @@ -62,6 +62,7 @@ Gem::Specification.new do |s| s.add_development_dependency('shindo', '~>0.3.4') s.add_development_dependency('fission') s.add_development_dependency('pry') + s.add_development_dependency('google-api-client', '~>0.6.2') # s.add_development_dependency('ruby-libvirt','~>0.4.0') s.files = `git ls-files`.split("\n") diff --git a/lib/fog/version.rb b/lib/fog/version.rb index d3fa9e03b..cec1696e9 100644 --- a/lib/fog/version.rb +++ b/lib/fog/version.rb @@ -1,3 +1,3 @@ module Fog - VERSION = '1.11.0' + VERSION = '1.11.1' end diff --git a/lib/tasks/changelog_task.rb b/lib/tasks/changelog_task.rb index 9dcd4efdc..f8c9624b8 100644 --- a/lib/tasks/changelog_task.rb +++ b/lib/tasks/changelog_task.rb @@ -14,9 +14,9 @@ module Fog changelog << ('=' * changelog[0].length) changelog << '' - github_repo_data = Fog::JSON.decode(Excon.get('https://api.github.com/repos/fog/fog').body) + github_repo_data = Fog::JSON.decode(Excon.get('https://api.github.com/repos/fog/fog', :headers => {'User-Agent' => 'geemus'}).body) data = github_repo_data.reject {|key, value| !['forks', 'open_issues', 'watchers'].include?(key)} - github_collaborator_data = Fog::JSON.decode(Excon.get('https://api.github.com/repos/fog/fog/collaborators').body) + github_collaborator_data = Fog::JSON.decode(Excon.get('https://api.github.com/repos/fog/fog/collaborators', :headers => {'User-Agent' => 'geemus'}).body) data['collaborators'] = github_collaborator_data.length rubygems_data = Fog::JSON.decode(Excon.get('https://rubygems.org/api/v1/gems/fog.json').body) data['downloads'] = rubygems_data['downloads']