So many versions!!

This commit is contained in:
Abdelkader Boudih 2014-09-17 14:57:32 +00:00
parent e313235b55
commit 39c3e81e26
8 changed files with 9 additions and 22 deletions

View File

@ -687,6 +687,4 @@ module Google
end
end
require 'google/api_client/version'
end

View File

@ -13,19 +13,14 @@
# limitations under the License.
# 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 = 7
TINY = 1
PATCH = nil
STRING = [MAJOR, MINOR, TINY, PATCH].compact.join('.')
end
module Google
class APIClient
module VERSION
MAJOR = 0
MINOR = 7
TINY = 1
PATCH = nil
STRING = [MAJOR, MINOR, TINY, PATCH].compact.join('.')
end
end
end

View File

@ -14,7 +14,6 @@
require 'spec_helper'
require 'google/api_client'
require 'google/api_client/version'
describe Google::APIClient::BatchRequest do
CLIENT = Google::APIClient.new(:application_name => 'API Client Tests') unless defined?(CLIENT)

View File

@ -22,7 +22,6 @@ require 'multi_json'
require 'compat/multi_json'
require 'signet/oauth_1/client'
require 'google/api_client'
require 'google/api_client/version'
describe Google::APIClient do
include ConnectionHelpers

View File

@ -15,7 +15,6 @@
require 'spec_helper'
require 'google/api_client'
require 'google/api_client/version'
describe Google::APIClient::Gzip do

View File

@ -15,7 +15,6 @@
require 'spec_helper'
require 'google/api_client'
require 'google/api_client/version'
fixtures_path = File.expand_path('../../../fixtures', __FILE__)

View File

@ -15,7 +15,6 @@
require 'spec_helper'
require 'google/api_client'
require 'google/api_client/version'
describe Google::APIClient::Request do
CLIENT = Google::APIClient.new(:application_name => 'API Client Tests') unless defined?(CLIENT)

View File

@ -15,7 +15,6 @@
require 'spec_helper'
require 'google/api_client'
require 'google/api_client/version'
describe Google::APIClient::Result do
CLIENT = Google::APIClient.new(:application_name => 'API Client Tests') unless defined?(CLIENT)