[refs #789] fix bug with file-store upload

This commit is contained in:
Alexander Machehin 2012-12-20 15:54:57 +06:00
parent e658f8765e
commit e138d05fc3
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ old_sources = if File.exist? abf_yml
[] []
end end
#MAX_SIZE = 2 * 1024 * 1024 # 2.megabytes #MAX_SIZE = 2 * 1024 * 1024 # 2.megabytes
url = "#{APP_CONFIG['file_store_url']}.json" url = 'http://file-store.rosalinux.ru/api/v1/file_stores.json'
#url = 'http://localhost:3001/api/v1/file_stores.json' #url = 'http://localhost:3001/api/v1/file_stores.json'
rclient = RestClient::Resource.new(url, :user => ARGF.argv[0]) # user auth token rclient = RestClient::Resource.new(url, :user => ARGF.argv[0]) # user auth token