closync 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/lib/closync/sync.rb CHANGED
@@ -48,7 +48,7 @@ module Closync
48
48
  @remote.directory.files.create(
49
49
  key: file.key,
50
50
  body: file.body,
51
- cache_control: max_age(file),
51
+ cache_control: "public, max-age=#{max_age(file)}",
52
52
  public: true
53
53
  )
54
54
  end
@@ -1,3 +1,3 @@
1
1
  module Closync
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: closync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
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-09-17 00:00:00.000000000 Z
12
+ date: 2012-10-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fog
@@ -71,7 +71,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
71
71
  version: '0'
72
72
  segments:
73
73
  - 0
74
- hash: -569674058433925932
74
+ hash: 932699495062180289
75
75
  required_rubygems_version: !ruby/object:Gem::Requirement
76
76
  none: false
77
77
  requirements:
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  version: '0'
81
81
  segments:
82
82
  - 0
83
- hash: -569674058433925932
83
+ hash: 932699495062180289
84
84
  requirements: []
85
85
  rubyforge_project:
86
86
  rubygems_version: 1.8.24