bundle_depot 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bundle_depot/cache.rb +3 -1
- data/lib/bundle_depot/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: a79e7e5158cdcd34bfdb37db7ffe269cf0da50f4
|
4
|
+
data.tar.gz: 6299f92a9a5cb6e2ee8a9303abef92f487418f53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab0e3fc64606c50b8c7ad729291420a76196a06c3e043efafe5f8cc5230df9c3995e133701aeb0cdca4da1f7483c31c2759f6418a99b845fef6ac46397d991f6
|
7
|
+
data.tar.gz: bae35e32d9514b015b62a546edf5f6489163816460a90d5790830d01981a764e5e9519f9f32bce529c072078819bd8476909c3720f82e7bbc4247593d5b3d861
|
data/lib/bundle_depot/cache.rb
CHANGED
@@ -58,7 +58,9 @@ module BundleDepot
|
|
58
58
|
end
|
59
59
|
|
60
60
|
def fetch(file, dest_dir)
|
61
|
-
|
61
|
+
source = File.join(path, file)
|
62
|
+
target = File.join(dest_dir, file)
|
63
|
+
Net::SCP.download!(host, user, source, target, ssh: { password: password })
|
62
64
|
rescue Net::SCP::Error
|
63
65
|
raise BundleNotFound
|
64
66
|
end
|
data/lib/bundle_depot/version.rb
CHANGED