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