social-avatar-proxy 1.0.0 → 1.0.1

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.
@@ -62,7 +62,7 @@ module SocialAvatarProxy
62
62
  directives << "max-stale=#{cc[:max_stale]}" if cc[:max_stale]
63
63
  directives << "max-age=#{cc[:max_age]}" if cc[:max_age]
64
64
  directives << (cc[:public] ? "public" : "private")
65
- response["Cache-Control"] = directives.join("; ")
65
+ response["Cache-Control"] = directives.join(", ")
66
66
  end
67
67
  # set the data
68
68
  response.write(avatar.body)
@@ -1,3 +1,3 @@
1
1
  module SocialAvatarProxy
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -73,7 +73,7 @@ describe SocialAvatarProxy::App do
73
73
  end
74
74
 
75
75
  it "should return a Cache-Control header by default" do
76
- expect(subject.get(path).headers["Cache-Control"]).to eq("max-stale=86400; max-age=86400; public")
76
+ expect(subject.get(path).headers["Cache-Control"]).to eq("max-stale=86400, max-age=86400, public")
77
77
  end
78
78
 
79
79
  it "should return a Expires header by default" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: social-avatar-proxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -160,7 +160,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
160
160
  version: '0'
161
161
  segments:
162
162
  - 0
163
- hash: -264408388201805182
163
+ hash: 1989247330318419261
164
164
  required_rubygems_version: !ruby/object:Gem::Requirement
165
165
  none: false
166
166
  requirements:
@@ -169,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
169
169
  version: '0'
170
170
  segments:
171
171
  - 0
172
- hash: -264408388201805182
172
+ hash: 1989247330318419261
173
173
  requirements: []
174
174
  rubyforge_project:
175
175
  rubygems_version: 1.8.24