changes for ruby 1.8.7
This commit is contained in:
parent
0cb0075c7b
commit
3ef99c7ebb
|
@ -16,3 +16,6 @@ require 'google/api_client/auth/pkcs12'
|
||||||
require 'google/api_client/auth/jwt_asserter'
|
require 'google/api_client/auth/jwt_asserter'
|
||||||
require 'google/api_client/auth/key_utils'
|
require 'google/api_client/auth/key_utils'
|
||||||
require 'google/api_client/auth/compute_service_account'
|
require 'google/api_client/auth/compute_service_account'
|
||||||
|
require 'google/api_client/auth/storage'
|
||||||
|
require 'google/api_client/auth/storages/redis_store'
|
||||||
|
require 'google/api_client/auth/storages/file_store'
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
require_relative '../../../../lib/google/api_client'
|
|
||||||
require_relative '../../../../lib/google/api_client/auth/storage'
|
require 'google/api_client'
|
||||||
|
require 'google/api_client/version'
|
||||||
|
|
||||||
describe Google::APIClient::Storage do
|
describe Google::APIClient::Storage do
|
||||||
let(:client) { Google::APIClient.new(:application_name => 'API Client Tests') }
|
let(:client) { Google::APIClient.new(:application_name => 'API Client Tests') }
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
require_relative '../../../../../lib/google/api_client/auth/storages/file_store'
|
|
||||||
|
require 'google/api_client'
|
||||||
|
require 'google/api_client/version'
|
||||||
|
|
||||||
describe Google::APIClient::FileStore do
|
describe Google::APIClient::FileStore do
|
||||||
let(:root_path) { File.expand_path(File.join(__FILE__, '..','..','..', '..','..')) }
|
let(:root_path) { File.expand_path(File.join(__FILE__, '..','..','..', '..','..')) }
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
require_relative '../../../../../lib/google/api_client/auth/storages/redis_store'
|
|
||||||
|
require 'google/api_client'
|
||||||
|
require 'google/api_client/version'
|
||||||
|
|
||||||
|
|
||||||
describe Google::APIClient::RedisStore do
|
describe Google::APIClient::RedisStore do
|
||||||
let(:root_path) { File.expand_path(File.join(__FILE__, '..', '..', '..', '..', '..')) }
|
let(:root_path) { File.expand_path(File.join(__FILE__, '..', '..', '..', '..', '..')) }
|
||||||
|
|
Loading…
Reference in New Issue