s3cp 1.1.32 → 1.1.33

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.
data/History.txt CHANGED
@@ -1,4 +1,4 @@
1
- === 1.1.32 (2013-08-26)
1
+ === 1.1.33 (2013-08-26)
2
2
 
3
3
  * Added: New --mkdir option on s3cp allowing to recreate the source directory
4
4
  structure from any point in the source path(s).
@@ -39,6 +39,10 @@
39
39
  Note: The --mkdir option is currently only valid when copying from S3
40
40
  to the local filesystem.
41
41
 
42
+ === 1.1.32 (2013-08-26)
43
+
44
+ * Bad release (released from dirty repository checkout). Do not use.
45
+
42
46
  === 1.1.31 (2013-05-16)
43
47
 
44
48
  * Fixed: Passing ACLs to s3cp using --header 'x-amz-acl: public-read' was broken
data/lib/s3cp/s3cat.rb CHANGED
@@ -31,12 +31,8 @@ op = OptionParser.new do |opts|
31
31
  options[:debug] = true
32
32
  end
33
33
 
34
- opts.on("--tty", "Force TTY mode") do
35
- options[:tty] = true
36
- end
37
-
38
- opts.on("--no-tty", "Disable TTY mode") do
39
- options[:tty] = false
34
+ opts.on("--tty", "TTY mode") do |tty|
35
+ options[:tty] = tty
40
36
  end
41
37
 
42
38
  opts.on("--edit", "Edit mode") do |edit|
data/lib/s3cp/s3ls.rb CHANGED
@@ -17,36 +17,10 @@
17
17
 
18
18
  require 's3cp/utils'
19
19
 
20
- require "rubygems"
21
- require "highline/system_extensions"
22
-
23
- def silence_streams(*streams)
24
- on_hold = streams.collect { |stream| stream.dup }
25
- streams.each do |stream|
26
- stream.reopen(RUBY_PLATFORM =~ /mswin/ ? 'NUL:' : '/dev/null')
27
- stream.sync = true
28
- end
29
- yield
30
- ensure
31
- streams.each_with_index do |stream, i|
32
- stream.reopen(on_hold[i])
33
- end
34
- end
35
-
36
- silence_streams(STDERR) do
37
- p "size: " + HighLine::SystemExtensions.terminal_size.inspect
38
- end
39
-
40
20
  # Parse arguments
41
21
  options = {}
42
22
  options[:date_format] = ENV['S3CP_DATE_FORMAT'] || '%x %X'
43
- #options[:rows_per_page] = ($terminal.output_rows - 1) if $stdout.isatty rescue nil
44
- silence_streams(STDERR) do
45
- if termsize = HighLine::SystemExtensions.terminal_size
46
- options[:rows_per_page] = termsize[0]
47
- end
48
- end
49
-
23
+ options[:rows_per_page] = ($terminal.output_rows - 1) if $stdout.isatty rescue nil
50
24
  options[:precision] = 0
51
25
 
52
26
  op = OptionParser.new do |opts|
data/lib/s3cp/version.rb CHANGED
@@ -16,5 +16,5 @@
16
16
  # the License.
17
17
 
18
18
  module S3CP
19
- VERSION = "1.1.32"
19
+ VERSION = "1.1.33"
20
20
  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.31"
19
+ VERSION = "1.1.32"
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: 83
4
+ hash: 81
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 32
10
- version: 1.1.32
9
+ - 33
10
+ version: 1.1.33
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alex Boisvert