hieb 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hieb.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 13bf542e0957fa6036d316ff448c4ed719a46f2810d51d9b2b0198ad64178e1f
4
- data.tar.gz: 9e9ed2b4a31510b33777bb901a08f72496b7e68e4982ea1d0e38fdd914a28204
3
+ metadata.gz: f54b62b53eca785dea8833ab65c18847ba41733f61b8cbced43071d46b46ea60
4
+ data.tar.gz: 1fbf95808a015050b48f38c3fdd6b723396150b9519604ad73f891c9cb9a68a0
5
5
  SHA512:
6
- metadata.gz: bd1e6a92e4af886cbab951706b806e36b1aa88dada2228b531855835fa0889a3fd32a4398c5122b53e47ca96ef04189945dbb29a4fc1a6d3ae03e550f606274f
7
- data.tar.gz: abe950c148c29a550cd98d7b88e0e61aa3d9bb5f200b1daf6a53ce768da9c99e82b8dcfc0ae2440540166549169a2c53ee608ddf153847d40b61b1393140bf2c
6
+ metadata.gz: 81480ad12179b10542d768621e4438be035d578c0fadc64d7516a36b0cb2ef52986fb9ca116bc19889ef937aad2470d9f03d45e70ff199d9cf81b7f675d4bfb6
7
+ data.tar.gz: 79d3d1453f3610db029ecae539ee7c6377b1a7faf3bfaff647f44229aa7fd2da1dd71182bf8bf6ebfed22522c144adb9767db3d8e301ac4516eeca222f915c74
data/lib/hieb.rb CHANGED
@@ -35,7 +35,7 @@ def upload_dir(scp, dir)
35
35
  if File.directory? f2
36
36
  upload_dir scp, f2
37
37
  else
38
- upload scp, f2, "/#{f2.split('/').reject { |c| c.empty? }[1..-1].join('/')}"
38
+ upload scp, f2, "/#{f2.sub(/^#{dir}\//, ''}"
39
39
  end
40
40
  end
41
41
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hieb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Bovensiepen