diff --git a/CHANGELOG b/CHANGELOG index a99e26d8c..b4ead1347 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,11 @@ +== 0.3.0 + +* updated to use v1 of the discovery API +* updated to use httpadapter 1.0.0 +* added OAuth 2 support to the command line tool +* renamed some switches in the command line tool +* added additional configuration capabilities + == 0.2.0 * updated to use v1 of the discovery API diff --git a/lib/google/api_client.rb b/lib/google/api_client.rb index ceb18edb8..d68f53120 100644 --- a/lib/google/api_client.rb +++ b/lib/google/api_client.rb @@ -17,6 +17,7 @@ require 'httpadapter' require 'json' require 'stringio' +require 'google/api_client/version' require 'google/api_client/errors' require 'google/api_client/environment' require 'google/api_client/discovery' diff --git a/lib/google/api_client/version.rb b/lib/google/api_client/version.rb index 8ac950717..7e4890c52 100644 --- a/lib/google/api_client/version.rb +++ b/lib/google/api_client/version.rb @@ -13,14 +13,17 @@ # limitations under the License. -module Google - class APIClient - module VERSION - MAJOR = 1 - MINOR = 0 - TINY = 0 +# Used to prevent the class/module from being loaded more than once +if !defined?(::Google::APIClient::VERSION) + module Google + class APIClient + module VERSION + MAJOR = 0 + MINOR = 3 + TINY = 0 - STRING = [MAJOR, MINOR, TINY].join('.') + STRING = [MAJOR, MINOR, TINY].join('.') + end end end end