s3cp 1.1.14 → 1.1.15

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,8 @@
1
+ === 1.1.15 (2013-01-29)
2
+
3
+ * Fixed: s3ls would raise undefined method '[]' for nil:NilClass if given
4
+ path didn't exist (bug introduced in s3cp 1.1.14)
5
+
1
6
  === 1.1.14 (2013-01-27)
2
7
 
3
8
  * Changed: s3cp now adds source file basename to destination path if destination
data/lib/s3cp/s3ls.rb CHANGED
@@ -142,7 +142,7 @@ begin
142
142
  stop = display.call(entry)
143
143
  break if stop
144
144
  end
145
- break if stop
145
+ break if stop || response[:contents].empty?
146
146
  s3_options.merge!(:marker => response[:contents].last[:key])
147
147
  end while response[:truncated]
148
148
  end
data/lib/s3cp/version.rb CHANGED
@@ -16,5 +16,5 @@
16
16
  # the License.
17
17
 
18
18
  module S3CP
19
- VERSION = "1.1.14"
19
+ VERSION = "1.1.15"
20
20
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: s3cp
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 14
10
- version: 1.1.14
9
+ - 15
10
+ version: 1.1.15
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alex Boisvert
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-01-27 00:00:00 Z
18
+ date: 2013-01-29 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  version_requirements: &id001 !ruby/object:Gem::Requirement