phocoder-rails 0.0.46 → 0.0.47

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1,4 +1,4 @@
1
- 0.0.46
1
+ 0.0.47
2
2
 
3
3
 
4
4
 
@@ -1117,9 +1117,10 @@ module ActsAsPhocodable
1117
1117
  #@saved_a_new_file = false
1118
1118
  AWS::S3::S3Object.store(
1119
1119
  s3_key,
1120
- open(local_path),
1120
+ open(local_path),
1121
1121
  s3_bucket_name,
1122
- :access => :public_read
1122
+ :access => :public_read,
1123
+ "Cache-Control" => 'max-age=315360000'
1123
1124
  )
1124
1125
  self.encodable_status = "s3"
1125
1126
  self.save
@@ -1,3 +1,4 @@
1
+ # encoding: UTF-8
1
2
  # This file is auto-generated from the current state of the database. Instead
2
3
  # of editing this file, please use the migrations feature of Active Record to
3
4
  # incrementally modify your database, and then regenerate this schema definition.
@@ -24,8 +25,8 @@ ActiveRecord::Schema.define(:version => 20120423030345) do
24
25
  t.integer "zencoder_output_id"
25
26
  t.string "zencoder_status"
26
27
  t.string "zencoder_url"
27
- t.datetime "created_at"
28
- t.datetime "updated_at"
28
+ t.datetime "created_at", :null => false
29
+ t.datetime "updated_at", :null => false
29
30
  end
30
31
 
31
32
  add_index "encodable_jobs", ["encodable_type", "encodable_id"], :name => "index_encodable_jobs_on_encodable_type_and_encodable_id"
@@ -39,8 +40,8 @@ ActiveRecord::Schema.define(:version => 20120423030345) do
39
40
  t.integer "height"
40
41
  t.integer "file_size"
41
42
  t.string "upload_host"
42
- t.datetime "created_at"
43
- t.datetime "updated_at"
43
+ t.datetime "created_at", :null => false
44
+ t.datetime "updated_at", :null => false
44
45
  t.datetime "taken_at"
45
46
  t.float "lat"
46
47
  t.float "lng"
@@ -97,8 +98,8 @@ ActiveRecord::Schema.define(:version => 20120423030345) do
97
98
  t.integer "height"
98
99
  t.integer "file_size"
99
100
  t.string "upload_host"
100
- t.datetime "created_at"
101
- t.datetime "updated_at"
101
+ t.datetime "created_at", :null => false
102
+ t.datetime "updated_at", :null => false
102
103
  t.datetime "taken_at"
103
104
  t.float "lat"
104
105
  t.float "lng"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phocoder-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.46
4
+ version: 0.0.47
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: 2012-10-15 00:00:00.000000000 Z
12
+ date: 2012-10-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -297,7 +297,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
297
297
  version: '0'
298
298
  segments:
299
299
  - 0
300
- hash: -2003942532947744819
300
+ hash: -1978359617443576937
301
301
  required_rubygems_version: !ruby/object:Gem::Requirement
302
302
  none: false
303
303
  requirements: