s3cp 1.1.5 → 1.1.6

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.
@@ -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
@@ -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
@@ -16,5 +16,5 @@
16
16
  # the License.
17
17
 
18
18
  module S3CP
19
- VERSION = "1.1.5"
19
+ VERSION = "1.1.6"
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: 25
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 5
10
- version: 1.1.5
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-09-19 00:00:00 Z
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
@@ -1,4 +0,0 @@
1
-
2
-
3
- Voulez-vous coucher avec moi ce soir?
4
-