Skip to content

Commit 55b4a94

Browse files
committed
Fix odd conflict with VERSION & logger
1 parent 7feb61f commit 55b4a94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/google/api_client.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
require 'compat/multi_json'
2020
require 'stringio'
2121

22-
require 'google/api_client/logging'
2322
require 'google/api_client/version'
23+
require 'google/api_client/logging'
2424
require 'google/api_client/errors'
2525
require 'google/api_client/environment'
2626
require 'google/api_client/discovery'
@@ -94,7 +94,7 @@ def initialize(options={})
9494
end
9595
self.user_agent = options[:user_agent] || (
9696
"#{application_string} " +
97-
"google-api-ruby-client/#{VERSION::STRING} " +
97+
"google-api-ruby-client/#{Google::APIClient::VERSION::STRING} " +
9898
ENV::OS_VERSION
9999
).strip
100100
# The writer method understands a few Symbols and will generate useful

0 commit comments

Comments
 (0)