cloudhdr_rails 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -897,7 +897,7 @@ module ActsAsCloudhdr
897
897
  s3 = AWS::S3.new
898
898
  key,bucket = get_s3_key_and_bucket
899
899
  obj = s3.buckets[bucket].objects[key]
900
- obj.write(Pathname.new(tmpFile),{:acl=>:public_read,"Cache-Control"=>'max-age=315360000'})
900
+ obj.write(Pathname.new(tmpFile),{:acl=>:public_read,:cache_control=>'max-age=315360000'})
901
901
  end
902
902
 
903
903
  def s3
@@ -919,7 +919,7 @@ module ActsAsCloudhdr
919
919
  #:access => :public_read,
920
920
  #"Cache-Control" => 'max-age=315360000'
921
921
  #)
922
- s3_obj.write(Pathname.new(local_path),{:acl=>:public_read,"Cache-Control"=>'max-age=315360000'})
922
+ s3_obj.write(Pathname.new(local_path),{:acl=>:public_read,:cache_control=>'max-age=315360000'})
923
923
  self.cloudhdr_status = "s3"
924
924
  self.save
925
925
  #obj_data = AWS::S3::S3Object.find(s3_key,s3_bucket_name)
@@ -1,3 +1,3 @@
1
1
  module CloudhdrRails
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudhdr_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-09 00:00:00.000000000 Z
12
+ date: 2013-08-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -209,7 +209,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
209
209
  version: '0'
210
210
  segments:
211
211
  - 0
212
- hash: 2451382812740672643
212
+ hash: 1199439925087682608
213
213
  required_rubygems_version: !ruby/object:Gem::Requirement
214
214
  none: false
215
215
  requirements:
@@ -218,7 +218,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
218
218
  version: '0'
219
219
  segments:
220
220
  - 0
221
- hash: 2451382812740672643
221
+ hash: 1199439925087682608
222
222
  requirements: []
223
223
  rubyforge_project:
224
224
  rubygems_version: 1.8.25