s3cp 0.1.12 → 0.1.13

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,4 +1,12 @@
1
- === 0.1.12 / (Pending)
1
+ === 0.1.14 / (Pending)
2
+
3
+ === 0.1.13 / (2012-02-06)
4
+
5
+ * Long-listing (-l) now displays file size (in bytes).
6
+
7
+ === 0.1.12 / (2012-02-03)
8
+
9
+ * Re-released 0.1.11 due to misfire.
2
10
 
3
11
  === 0.1.11 / (2012-02-03)
4
12
 
data/lib/s3cp/s3ls.rb CHANGED
@@ -87,7 +87,8 @@ s3_options[:delimiter] = options[:delimiter] if options[:delimiter]
87
87
  key = "s3://#{@bucket}/#{options[:delimiter] ? entry : entry[:key]}"
88
88
  if options[:long_format]
89
89
  last_modified = DateTime.parse(entry[:last_modified])
90
- puts "#{last_modified.strftime(options[:date_format])} #{key}"
90
+ size = entry[:size]
91
+ puts "#{last_modified.strftime(options[:date_format])} #{ "%12d" % size} #{key}"
91
92
  else
92
93
  puts key
93
94
  end
data/lib/s3cp/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
 
2
2
  module S3CP
3
- VERSION = "0.1.12"
3
+ VERSION = "0.1.13"
4
4
  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: 3
4
+ hash: 1
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 12
10
- version: 0.1.12
9
+ - 13
10
+ version: 0.1.13
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: 2012-02-03 00:00:00 Z
18
+ date: 2012-02-07 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  prerelease: false