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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 007da1f99042b9f0cf88c37438cdb698c5ef89c5
4
- data.tar.gz: 03ca179b6f755801aa19123b76e76c01bf4bda38
3
+ metadata.gz: 71a25c07e0933851c194aac36b29f14c9d93ccaf
4
+ data.tar.gz: 4dcbea2f5e49068f799e32d6d2fbcabe044a9cda
5
5
  SHA512:
6
- metadata.gz: 52a954fa65f082878dee38e2c6b815dcddf862c2e4995b17d7ffc00c179318cd07fdc828d7a17580691cfe8bb69b7e900f5b1323a2b1e2de9950b637a0269d94
7
- data.tar.gz: 00fef43f1ffd8515fa8f9b6ca60974272474bae1722aa373d131a3c5360ae4a49a412d01638c3c8aa30bc66c03f2932a6b4d12097c3620d78e3efab8ac45c7df
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
- if stderror.split(":")[2] != " No such file or directory\n" then
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
@@ -2,7 +2,7 @@ require 'fileutils'
2
2
  require 'tmpdir'
3
3
 
4
4
  module Shunkuntype
5
- VERSION = "1.0.6"
5
+ VERSION = "1.0.7"
6
6
  data_dir = File.join(ENV['HOME'], '.shunkuntype')
7
7
  # SPEED_FILE="./shunkuntype_speed_data.txt"
8
8
  SPEED_FILE=File.join(data_dir,"speed_data.txt")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shunkuntype
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shigeto R. Nishitani