lib/nightcrawler_swift.rb in nightcrawler_swift-0.2.0 vs lib/nightcrawler_swift.rb in nightcrawler_swift-0.2.1
- old
+ new
@@ -26,9 +26,10 @@
def configure opts = {}
@connection = Connection.new opts
end
def sync dir_path
+ connection.connect!
Sync.new.execute(dir_path)
end
end
end