Skip to content

Commit

Permalink
So many versions!!
Browse files Browse the repository at this point in the history
  • Loading branch information
seuros committed Oct 8, 2014
1 parent e313235 commit 39c3e81
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 22 deletions.
4 changes: 1 addition & 3 deletions lib/google/api_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,4 @@ def client_error_handler(authorization)

end

end

require 'google/api_client/version'
end
21 changes: 8 additions & 13 deletions lib/google/api_client/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 0 additions & 1 deletion spec/google/api_client/batch_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion spec/google/api_client/discovery_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
require 'compat/multi_json'
require 'signet/oauth_1/client'
require 'google/api_client'
require 'google/api_client/version'

describe Google::APIClient do
include ConnectionHelpers
Expand Down
1 change: 0 additions & 1 deletion spec/google/api_client/gzip_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
require 'spec_helper'

require 'google/api_client'
require 'google/api_client/version'

describe Google::APIClient::Gzip do

Expand Down
1 change: 0 additions & 1 deletion spec/google/api_client/media_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
require 'spec_helper'

require 'google/api_client'
require 'google/api_client/version'

fixtures_path = File.expand_path('../../../fixtures', __FILE__)

Expand Down
1 change: 0 additions & 1 deletion spec/google/api_client/request_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion spec/google/api_client/result_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 39c3e81

Please sign in to comment.