shunkuntype 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/shunkuntype.rb +1 -1
- data/lib/shunkuntype/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: 71a25c07e0933851c194aac36b29f14c9d93ccaf
|
4
|
+
data.tar.gz: 4dcbea2f5e49068f799e32d6d2fbcabe044a9cda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f65d49e825b9a2ca0374b1f65f761134ba3a8ffad6456ebf3114075db0e0e441e3d75e8be3fbf87cb823f314141ec8ce5e85f3b46403f7791689d837f421e87
|
7
|
+
data.tar.gz: 4c07ddcfc5345c9c88f21656d7b8f4baecd3ee81cb3379c46eefaa5d0293d364bd9c332431d2d16baf60465664b76479f69825d8bf776c39d528c50f79ed87b9
|
data/lib/shunkuntype.rb
CHANGED
@@ -80,7 +80,7 @@ module Shunkuntype
|
|
80
80
|
file_current = File.readlines(file_name)
|
81
81
|
tmp_file = File.open("./tmp_data.txt",'w')
|
82
82
|
sta, out, stderror = systemu "scp #{@server_directory}/#{@user_name}_#{ext_name} ."
|
83
|
-
|
83
|
+
unless stderror.include?(" No such file or directory") then
|
84
84
|
file_server = File.readlines("#{@user_name}_#{ext_name}")
|
85
85
|
tmp_file.print data_merge(file_current,file_server)
|
86
86
|
else
|
data/lib/shunkuntype/version.rb
CHANGED