s3cp 1.1.5 → 1.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/lib/s3cp/utils.rb +2 -2
- data/lib/s3cp/version.rb +1 -1
- metadata +4 -5
- data/lib/s3cp/#Untitled-2# +0 -4
data/History.txt
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
=== 1.1.6 (2012-10-09)
|
2
|
+
|
3
|
+
* Fixed: Potential error: utils.rb:58:in `join': can't convert nil into String (TypeError)
|
4
|
+
if HOME environment variable was nil.
|
5
|
+
|
1
6
|
=== 1.1.5 (2012-09-19)
|
2
7
|
|
3
8
|
* Added: It's now possible to specify a bucket's AWS region using the S3CP_REGION
|
data/lib/s3cp/utils.rb
CHANGED
@@ -55,9 +55,9 @@ module S3CP
|
|
55
55
|
|
56
56
|
# Load user-defined configuration file (e.g. to initialize AWS.config object)
|
57
57
|
def load_config()
|
58
|
-
aws_config = File.join(ENV['HOME'], '.s3cp')
|
58
|
+
aws_config = File.join(ENV['HOME'], '.s3cp') if ENV['HOME']
|
59
59
|
aws_config = ENV['S3CP_CONFIG'] if ENV['S3CP_CONFIG']
|
60
|
-
if File.exist?(aws_config)
|
60
|
+
if aws_config && File.exist?(aws_config)
|
61
61
|
load aws_config
|
62
62
|
end
|
63
63
|
end
|
data/lib/s3cp/version.rb
CHANGED
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:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 6
|
10
|
+
version: 1.1.6
|
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-
|
18
|
+
date: 2012-10-10 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
prerelease: false
|
@@ -136,7 +136,6 @@ extra_rdoc_files:
|
|
136
136
|
files:
|
137
137
|
- lib/s3cp/completion.rb
|
138
138
|
- lib/s3cp/s3ls.rb
|
139
|
-
- lib/s3cp/#Untitled-2#
|
140
139
|
- lib/s3cp/version.rb
|
141
140
|
- lib/s3cp/s3du.rb
|
142
141
|
- lib/s3cp/s3mod.rb
|
data/lib/s3cp/#Untitled-2#
DELETED