s3asy 0.1.1 → 0.1.2
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.
- 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