Fixing dependency issues.

git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@67 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
This commit is contained in:
Bob Aman 2010-10-12 23:26:41 +00:00
parent 73002ccc14
commit 6b9c146ebc
2 changed files with 2 additions and 0 deletions

View File

@ -162,6 +162,7 @@ end
def execute(options={}) def execute(options={})
require 'signet/oauth_1/client' require 'signet/oauth_1/client'
require 'yaml'
config_file = File.expand_path('~/.google-api.yaml') config_file = File.expand_path('~/.google-api.yaml')
signed = File.exist?(config_file) signed = File.exist?(config_file)
rpcname = ARGV.detect { |p| p =~ /^[a-z0-9_-]+\.[a-z0-9_\.-]+$/i } rpcname = ARGV.detect { |p| p =~ /^[a-z0-9_-]+\.[a-z0-9_\.-]+$/i }

View File

@ -23,6 +23,7 @@ namespace :gem do
s.add_runtime_dependency('addressable', '>= 2.2.2') s.add_runtime_dependency('addressable', '>= 2.2.2')
s.add_runtime_dependency('httpadapter', '>= 0.2.0') s.add_runtime_dependency('httpadapter', '>= 0.2.0')
s.add_runtime_dependency('json', '>= 1.1.9') s.add_runtime_dependency('json', '>= 1.1.9')
s.add_runtime_dependency('extlib', '>= 0.9.15')
s.add_development_dependency('rake', '>= 0.7.3') s.add_development_dependency('rake', '>= 0.7.3')
s.add_development_dependency('rspec', '>= 1.0.8') s.add_development_dependency('rspec', '>= 1.0.8')