make couchapp database magically
This commit is contained in:
parent
a3811320e5
commit
7b6f39f5c6
|
@ -44,6 +44,7 @@ when /push/
|
|||
puts "push dirname [appname] database"
|
||||
exit(0)
|
||||
end
|
||||
CouchRest.database!(dbstring)
|
||||
dbspec = CouchRest.parse(dbstring)
|
||||
fm = CouchRest::FileManager.new(dbspec[:database], dbspec[:host])
|
||||
fm.push_app(dir, appname)
|
||||
|
|
Loading…
Reference in a new issue