projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c44ca3a
)
Moving require so that client only gets loaded if the task requires it.
author
Bob Aman <bobaman@google.com>
Thu, 24 May 2012 12:29:58 +0000
(15:29 +0300)
committer
Bob Aman <bobaman@google.com>
Thu, 24 May 2012 12:29:58 +0000
(15:29 +0300)
tasks/wiki.rake
patch
|
blob
|
history
diff --git
a/tasks/wiki.rake
b/tasks/wiki.rake
index 4e7f2aca8fc2fffaf277f4a9bbfd0ea6cac795cd..12bfe4bf06e546cae7d63023fd0d70286b5becba 100644
(file)
--- a/
tasks/wiki.rake
+++ b/
tasks/wiki.rake
@@
-1,4
+1,3
@@
-require 'google/api_client'
require 'rake'
require 'rake/clean'
@@
-18,6
+17,7
@@
the following Google APIs.
WIKI
preferred_apis = {}
+ require 'google/api_client'
client = Google::APIClient.new
for api in client.discovered_apis
if !preferred_apis.has_key?(api.name)