asset_sync 0.2.7 → 0.2.8

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.
@@ -6,7 +6,7 @@ require "asset_sync/version"
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "asset_sync"
8
8
  s.version = AssetSync::VERSION
9
- s.date = "2012-01-25"
9
+ s.date = "2012-01-27"
10
10
  s.platform = Gem::Platform::RUBY
11
11
  s.authors = ["Simon Hamilton", "David Rice", "Phil McClure"]
12
12
  s.email = ["shamilton@rumblelabs.com", "me@davidjrice.co.uk", "pmcclure@rumblelabs.com"]
@@ -79,7 +79,8 @@ module AssetSync
79
79
  :key => f,
80
80
  :body => File.open("#{path}/#{f}"),
81
81
  :public => true,
82
- :cache_control => "max-age=31557600"
82
+ :cache_control => "public, max-age=31557600",
83
+ :expires => CGI.rfc1123_date(Time.now + 1.year)
83
84
  }
84
85
 
85
86
  gzipped = "#{path}/#{f}.gz"
@@ -1,3 +1,3 @@
1
1
  module AssetSync
2
- VERSION = "0.2.7"
2
+ VERSION = "0.2.8"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: asset_sync
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.7
5
+ version: 0.2.8
6
6
  platform: ruby
7
7
  authors:
8
8
  - Simon Hamilton
@@ -12,7 +12,7 @@ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
14
 
15
- date: 2012-01-25 00:00:00 Z
15
+ date: 2012-01-27 00:00:00 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: fog