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

@ -688,5 +688,3 @@ module Google
end end
end end
require 'google/api_client/version'

View File

@ -13,19 +13,14 @@
# limitations under the License. # limitations under the License.
# Used to prevent the class/module from being loaded more than once module Google
if !defined?(::Google::APIClient::VERSION) class APIClient
module VERSION
MAJOR = 0
module Google MINOR = 7
class APIClient TINY = 1
module VERSION PATCH = nil
MAJOR = 0 STRING = [MAJOR, MINOR, TINY, PATCH].compact.join('.')
MINOR = 7
TINY = 1
PATCH = nil
STRING = [MAJOR, MINOR, TINY, PATCH].compact.join('.')
end
end end
end end
end end

View File

@ -14,7 +14,6 @@
require 'spec_helper' require 'spec_helper'
require 'google/api_client' require 'google/api_client'
require 'google/api_client/version'
describe Google::APIClient::BatchRequest do describe Google::APIClient::BatchRequest do
CLIENT = Google::APIClient.new(:application_name => 'API Client Tests') unless defined?(CLIENT) 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 'compat/multi_json'
require 'signet/oauth_1/client' require 'signet/oauth_1/client'
require 'google/api_client' require 'google/api_client'
require 'google/api_client/version'
describe Google::APIClient do describe Google::APIClient do
include ConnectionHelpers include ConnectionHelpers

View File

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

View File

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

View File

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

View File

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