scccp 0.0.4 → 0.0.5

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.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- scccp (0.0.4)
4
+ scccp (0.0.5)
5
5
  net-scp
6
6
 
7
7
  GEM
@@ -80,6 +80,7 @@ module Scccp
80
80
  end
81
81
  #logger.info(files.inspect)
82
82
  uploaded_count = 0
83
+ return 0 if files.size == 0
83
84
 
84
85
  begin
85
86
  # ブロックで使うと途中で失敗した場合にscpインスタンスを
@@ -1,3 +1,3 @@
1
1
  module Scccp
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scccp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-20 00:00:00.000000000 Z
12
+ date: 2013-01-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: net-scp
@@ -74,4 +74,3 @@ summary: automatically scp files in a specified folder
74
74
  test_files:
75
75
  - test/test.rb
76
76
  - test/test_helper.rb
77
- has_rdoc: