bundle_depot 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b0d026355f6a2df8af8c13214b35a1f9cafd96f5
4
- data.tar.gz: 90594ab7316db2b3685a864bb8eec83a3c39b539
3
+ metadata.gz: a79e7e5158cdcd34bfdb37db7ffe269cf0da50f4
4
+ data.tar.gz: 6299f92a9a5cb6e2ee8a9303abef92f487418f53
5
5
  SHA512:
6
- metadata.gz: 3b32118c29aee292b0762628b2d0f93938dc7e9e668b7136eef0d4b09b3a5c6ad88cfea6d93c6531215cc5925e3dc3b02ddcc3986dab7330e40286eb77d4478a
7
- data.tar.gz: cbcc878e3c60c2cb35b8f7333e331b1bba7366c584ed7946b2c1f8fd710c5400cfc0c39d128c1c0f5da1178ba94d884dee03296656d482807a00206f16a99032
6
+ metadata.gz: ab0e3fc64606c50b8c7ad729291420a76196a06c3e043efafe5f8cc5230df9c3995e133701aeb0cdca4da1f7483c31c2759f6418a99b845fef6ac46397d991f6
7
+ data.tar.gz: bae35e32d9514b015b62a546edf5f6489163816460a90d5790830d01981a764e5e9519f9f32bce529c072078819bd8476909c3720f82e7bbc4247593d5b3d861
@@ -58,7 +58,9 @@ module BundleDepot
58
58
  end
59
59
 
60
60
  def fetch(file, dest_dir)
61
- Net::SCP.download!(host, user, File.join(path, file), file, ssh: { password: password })
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
@@ -1,3 +1,3 @@
1
1
  module BundleDepot
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bundle_depot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Schmidt