jammit-s3 0.5.3.2 → 0.5.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/jammit-s3.gemspec +1 -1
- data/lib/jammit/s3_uploader.rb +1 -1
- metadata +4 -4
data/jammit-s3.gemspec
CHANGED
data/lib/jammit/s3_uploader.rb
CHANGED
@@ -77,7 +77,7 @@ module Jammit
|
|
77
77
|
log "Bucket not found. Creating '#{@bucket_name}'..."
|
78
78
|
bucket = s3_service.buckets.build(@bucket_name)
|
79
79
|
|
80
|
-
location = (@bucket_location.strip.
|
80
|
+
location = (@bucket_location.to_s.strip.downcase == "eu") ? :eu : :us
|
81
81
|
bucket.save(location)
|
82
82
|
end
|
83
83
|
bucket
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jammit-s3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 109
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
9
|
- 3
|
10
|
-
-
|
11
|
-
version: 0.5.3.
|
10
|
+
- 3
|
11
|
+
version: 0.5.3.3
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Jacques Crocker
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-10-
|
19
|
+
date: 2010-10-26 00:00:00 -07:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|