css_views 0.5.1.pre → 0.5.2.pre
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.
- data/lib/css_views/controller_mixins.rb +2 -2
- data/lib/css_views.rb +1 -1
- metadata +5 -5
|
@@ -22,8 +22,8 @@ module CssViews
|
|
|
22
22
|
if perform_caching
|
|
23
23
|
fresh_when(:etag=>handler.etag, :last_modified=>handler.last_modified, :public=>true)
|
|
24
24
|
if params[:cache_buster]
|
|
25
|
-
response.headers['Cache-Control']= 'public, max-age=
|
|
26
|
-
response.headers['Expires'] =
|
|
25
|
+
response.headers['Cache-Control']= 'public, max-age=31557600'
|
|
26
|
+
response.headers['Expires'] = 1.year.from_now.httpdate
|
|
27
27
|
end
|
|
28
28
|
return if performed?
|
|
29
29
|
end
|
data/lib/css_views.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: css_views
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 961916004
|
|
5
5
|
prerelease: true
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 5
|
|
9
|
-
-
|
|
9
|
+
- 2
|
|
10
10
|
- pre
|
|
11
|
-
version: 0.5.
|
|
11
|
+
version: 0.5.2.pre
|
|
12
12
|
platform: ruby
|
|
13
13
|
authors:
|
|
14
14
|
- Michael Koziarski
|
|
@@ -16,7 +16,7 @@ autorequire:
|
|
|
16
16
|
bindir: bin
|
|
17
17
|
cert_chain: []
|
|
18
18
|
|
|
19
|
-
date: 2010-09-
|
|
19
|
+
date: 2010-09-08 00:00:00 +12:00
|
|
20
20
|
default_executable:
|
|
21
21
|
dependencies:
|
|
22
22
|
- !ruby/object:Gem::Dependency
|
|
@@ -35,7 +35,7 @@ dependencies:
|
|
|
35
35
|
version: 3.0.0
|
|
36
36
|
type: :runtime
|
|
37
37
|
version_requirements: *id001
|
|
38
|
-
description:
|
|
38
|
+
description: Allow you to create css.erb views, and use helpers and the like in them
|
|
39
39
|
email: michael@koziarski.com
|
|
40
40
|
executables: []
|
|
41
41
|
|