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 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.1') do |p|
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"
@@ -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
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{s3asy}
5
- s.version = "0.1.1"
5
+ s.version = "0.1.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Robert Oles"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: s3asy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Oles