lib/appengine-tools/appcfg.rb in appengine-tools-0.0.5 vs lib/appengine-tools/appcfg.rb in appengine-tools-0.0.6
- old
+ new
@@ -44,10 +44,18 @@
end
def getCronYaml
cron = File.join(app.path, 'cron.yaml')
if File.exists?(cron)
- return cron.to_yaml
+ return IO.read(cron)
+ end
+ nil
+ end
+
+ def getQueueYaml
+ queue = File.join(app.path, 'queue.yaml')
+ if File.exists?(queue)
+ return IO.read(queue)
end
nil
end
def merge_indexes