Dropped uuidtools
This commit is contained in:
parent
b2343e24a5
commit
2ba98c3332
|
@ -21,7 +21,6 @@ Gem::Specification.new do |s|
|
||||||
|
|
||||||
s.add_runtime_dependency('signet', '>= 0.5.0')
|
s.add_runtime_dependency('signet', '>= 0.5.0')
|
||||||
s.add_runtime_dependency('addressable', '>= 2.3.2')
|
s.add_runtime_dependency('addressable', '>= 2.3.2')
|
||||||
s.add_runtime_dependency('uuidtools', '>= 2.1.0')
|
|
||||||
s.add_runtime_dependency('autoparse', '>= 0.3.3')
|
s.add_runtime_dependency('autoparse', '>= 0.3.3')
|
||||||
s.add_runtime_dependency('faraday', '>= 0.9.0')
|
s.add_runtime_dependency('faraday', '>= 0.9.0')
|
||||||
s.add_runtime_dependency('multi_json', '>= 1.0.0')
|
s.add_runtime_dependency('multi_json', '>= 1.0.0')
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
require 'addressable/uri'
|
require 'addressable/uri'
|
||||||
require 'google/api_client/reference'
|
require 'google/api_client/reference'
|
||||||
require 'uuidtools'
|
require 'securerandom'
|
||||||
|
|
||||||
module Google
|
module Google
|
||||||
class APIClient
|
class APIClient
|
||||||
|
@ -90,8 +90,7 @@ module Google
|
||||||
@global_callback = block if block_given?
|
@global_callback = block if block_given?
|
||||||
@last_auto_id = 0
|
@last_auto_id = 0
|
||||||
|
|
||||||
# TODO(sgomes): Use SecureRandom.uuid, drop UUIDTools when we drop 1.8
|
@base_id = SecureRandom.uuid
|
||||||
@base_id = UUIDTools::UUID.random_create.to_s
|
|
||||||
|
|
||||||
options[:uri] ||= 'https://www.googleapis.com/batch'
|
options[:uri] ||= 'https://www.googleapis.com/batch'
|
||||||
options[:http_method] ||= 'POST'
|
options[:http_method] ||= 'POST'
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
|
||||||
require 'multi_json'
|
|
||||||
require 'compat/multi_json'
|
require 'compat/multi_json'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,6 @@
|
||||||
|
|
||||||
require 'faraday'
|
require 'faraday'
|
||||||
require 'faraday/request/multipart'
|
require 'faraday/request/multipart'
|
||||||
require 'multi_json'
|
|
||||||
require 'compat/multi_json'
|
require 'compat/multi_json'
|
||||||
require 'addressable/uri'
|
require 'addressable/uri'
|
||||||
require 'stringio'
|
require 'stringio'
|
||||||
|
|
Loading…
Reference in New Issue