s3asy 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/s3_object_proxy.rb +4 -0
- data/s3asy.gemspec +1 -1
- metadata +1 -1
data/Rakefile
CHANGED
@@ -8,7 +8,7 @@ Spec::Rake::SpecTask.new('spec') do |t|
|
|
8
8
|
t.spec_files = FileList['spec/**/*.rb']
|
9
9
|
end
|
10
10
|
|
11
|
-
Echoe.new('s3asy', '0.1.
|
11
|
+
Echoe.new('s3asy', '0.1.2') do |p|
|
12
12
|
p.description = "Associate an s3 object to an active record model"
|
13
13
|
p.url = "http://github.com/robertoles/s3asy"
|
14
14
|
p.author = "Robert Oles"
|
data/lib/s3_object_proxy.rb
CHANGED
@@ -13,6 +13,10 @@ class S3ObjectProxy
|
|
13
13
|
AWS::S3::S3Object.url_for(path, bucket, :authenticated => false)
|
14
14
|
end
|
15
15
|
|
16
|
+
def value
|
17
|
+
AWS::S3::S3Object.value(path, bucket)
|
18
|
+
end
|
19
|
+
|
16
20
|
def self.search(prefix, options = {})
|
17
21
|
options = load_yaml().merge(options)
|
18
22
|
connect_to_s3(options)
|
data/s3asy.gemspec
CHANGED