squarespace-sync 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/squarespace/sync/cli.rb +1 -1
- data/lib/squarespace/sync/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26157077909c0ef11121f8d9e95e91c3468b8c1c
|
4
|
+
data.tar.gz: 349018202696cb532b43096b488dffb071d30977
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed1b69da3f9869b2bf413648f83667264f4c54ed59d5fa3e91f4d8ccd0862446b3e2f2d6314fda0ef3a4713e09dc91047803e94e693dc26042a1a6c908184aea
|
7
|
+
data.tar.gz: db5e44d3e763e5299a43b75e1ce240b900bac00f21daf9123e79fb432b62712151cdc3a6bd0953ce358dc9287372a70acdf9c2000196637b0aae4664cde8e659
|
data/lib/squarespace/sync/cli.rb
CHANGED
@@ -28,7 +28,7 @@ module Squarespace
|
|
28
28
|
Connection.new do |sftp, options, instance|
|
29
29
|
if file
|
30
30
|
local_file = File.join(Squarespace::Sync.local_path, file)
|
31
|
-
instance.push_file( sftp,
|
31
|
+
instance.push_file( sftp, local_file, File.join(options[:directory], file) )
|
32
32
|
else
|
33
33
|
instance.push_tree( sftp, options[:directory] )
|
34
34
|
end
|