s3cp 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 1.0.4 / (2012-06-25)
2
+
3
+ * Fixed: Potential "undefined method `finish' for nil:NilClass" error in s3cp.
4
+
1
5
  === 1.0.3 / (2012-05-11)
2
6
 
3
7
  * Added: Exponential backoff for `s3cp` command based on the formula:
data/lib/s3cp/s3cp.rb CHANGED
@@ -374,7 +374,7 @@ def s3_to_local(bucket_from, key_from, dest, options = {})
374
374
  f.write(chunk)
375
375
  progress_bar.inc chunk.size if progress_bar
376
376
  end
377
- progress_bar.finish
377
+ progress_bar.finish if progress_bar
378
378
  rescue => e
379
379
  progress_bar.halt if progress_bar
380
380
  raise e
data/lib/s3cp/version.rb CHANGED
@@ -16,5 +16,5 @@
16
16
  # the License.
17
17
 
18
18
  module S3CP
19
- VERSION = "1.0.3"
19
+ VERSION = "1.0.4"
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: 17
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 3
10
- version: 1.0.3
9
+ - 4
10
+ version: 1.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alex Boisvert
@@ -15,12 +15,12 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-05-11 00:00:00 Z
18
+ date: 2012-06-25 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  prerelease: false
22
- type: :runtime
23
- requirement: &id001 !ruby/object:Gem::Requirement
22
+ name: extensions
23
+ version_requirements: &id001 !ruby/object:Gem::Requirement
24
24
  none: false
25
25
  requirements:
26
26
  - - ~>
@@ -30,12 +30,12 @@ dependencies:
30
30
  - 0
31
31
  - 6
32
32
  version: "0.6"
33
- version_requirements: *id001
34
- name: extensions
33
+ requirement: *id001
34
+ type: :runtime
35
35
  - !ruby/object:Gem::Dependency
36
36
  prerelease: false
37
- type: :runtime
38
- requirement: &id002 !ruby/object:Gem::Requirement
37
+ name: highline
38
+ version_requirements: &id002 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -46,12 +46,12 @@ dependencies:
46
46
  - 5
47
47
  - 1
48
48
  version: 1.5.1
49
- version_requirements: *id002
50
- name: highline
49
+ requirement: *id002
50
+ type: :runtime
51
51
  - !ruby/object:Gem::Dependency
52
52
  prerelease: false
53
- type: :runtime
54
- requirement: &id003 !ruby/object:Gem::Requirement
53
+ name: aboisvert_aws
54
+ version_requirements: &id003 !ruby/object:Gem::Requirement
55
55
  none: false
56
56
  requirements:
57
57
  - - ~>
@@ -62,12 +62,12 @@ dependencies:
62
62
  - 0
63
63
  - 0
64
64
  version: 3.0.0
65
- version_requirements: *id003
66
- name: aboisvert_aws
65
+ requirement: *id003
66
+ type: :runtime
67
67
  - !ruby/object:Gem::Dependency
68
68
  prerelease: false
69
- type: :runtime
70
- requirement: &id004 !ruby/object:Gem::Requirement
69
+ name: right_http_connection
70
+ version_requirements: &id004 !ruby/object:Gem::Requirement
71
71
  none: false
72
72
  requirements:
73
73
  - - ~>
@@ -78,12 +78,12 @@ dependencies:
78
78
  - 3
79
79
  - 0
80
80
  version: 1.3.0
81
- version_requirements: *id004
82
- name: right_http_connection
81
+ requirement: *id004
82
+ type: :runtime
83
83
  - !ruby/object:Gem::Dependency
84
84
  prerelease: false
85
- type: :runtime
86
- requirement: &id005 !ruby/object:Gem::Requirement
85
+ name: progressbar
86
+ version_requirements: &id005 !ruby/object:Gem::Requirement
87
87
  none: false
88
88
  requirements:
89
89
  - - ~>
@@ -94,12 +94,12 @@ dependencies:
94
94
  - 10
95
95
  - 0
96
96
  version: 0.10.0
97
- version_requirements: *id005
98
- name: progressbar
97
+ requirement: *id005
98
+ type: :runtime
99
99
  - !ruby/object:Gem::Dependency
100
100
  prerelease: false
101
- type: :development
102
- requirement: &id006 !ruby/object:Gem::Requirement
101
+ name: rspec
102
+ version_requirements: &id006 !ruby/object:Gem::Requirement
103
103
  none: false
104
104
  requirements:
105
105
  - - ~>
@@ -110,12 +110,12 @@ dependencies:
110
110
  - 5
111
111
  - 0
112
112
  version: 2.5.0
113
- version_requirements: *id006
114
- name: rspec
113
+ requirement: *id006
114
+ type: :development
115
115
  - !ruby/object:Gem::Dependency
116
116
  prerelease: false
117
- type: :development
118
- requirement: &id007 !ruby/object:Gem::Requirement
117
+ name: rake
118
+ version_requirements: &id007 !ruby/object:Gem::Requirement
119
119
  none: false
120
120
  requirements:
121
121
  - - ~>
@@ -126,8 +126,8 @@ dependencies:
126
126
  - 8
127
127
  - 7
128
128
  version: 0.8.7
129
- version_requirements: *id007
130
- name: rake
129
+ requirement: *id007
130
+ type: :development
131
131
  description:
132
132
  email:
133
133
  - alex.boisvert@gmail.com
@@ -148,29 +148,29 @@ extra_rdoc_files:
148
148
  - README.md
149
149
  - History.txt
150
150
  files:
151
- - lib/s3cp/s3rm.rb
151
+ - lib/s3cp/completion.rb
152
152
  - lib/s3cp/s3ls.rb
153
- - lib/s3cp/s3du.rb
154
153
  - lib/s3cp/version.rb
155
- - lib/s3cp/s3stat.rb
156
- - lib/s3cp/s3cp.rb
157
- - lib/s3cp/utils.rb
158
- - lib/s3cp/s3up.rb
154
+ - lib/s3cp/s3du.rb
159
155
  - lib/s3cp/s3mod.rb
156
+ - lib/s3cp/utils.rb
157
+ - lib/s3cp/s3cp.rb
160
158
  - lib/s3cp/s3cat.rb
161
- - lib/s3cp/completion.rb
159
+ - lib/s3cp/s3rm.rb
160
+ - lib/s3cp/s3stat.rb
161
+ - lib/s3cp/s3up.rb
162
162
  - History.txt
163
163
  - README.md
164
- - bin/s3mod
165
- - bin/s3ls
166
164
  - bin/s3up
167
- - bin/s3cp
168
- - bin/s3cp_complete
169
- - bin/s3stat
170
- - bin/s3cat
171
165
  - bin/s3rm
172
- - bin/s3du
173
166
  - bin/s3dir
167
+ - bin/s3mod
168
+ - bin/s3du
169
+ - bin/s3cat
170
+ - bin/s3cp_complete
171
+ - bin/s3cp
172
+ - bin/s3ls
173
+ - bin/s3stat
174
174
  homepage:
175
175
  licenses: []
176
176
 
@@ -202,7 +202,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
202
202
  requirements: []
203
203
 
204
204
  rubyforge_project:
205
- rubygems_version: 1.8.15
205
+ rubygems_version: 1.8.24
206
206
  signing_key:
207
207
  specification_version: 3
208
208
  summary: Amazon S3 tools to, e.g., list, copy, delete S3 files