css_views 0.5.1.pre → 0.5.2.pre

Sign up to get free protection for your applications and to get access to all the features.
@@ -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=131557600'
26
- response.headers['Expires'] = 10.years.from_now.httpdate
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
@@ -3,5 +3,5 @@ require 'css_views/controller_mixins'
3
3
  require 'css_views/handler'
4
4
 
5
5
  module CssViews
6
- VERSION = "0.5.0"
6
+ VERSION = "0.5.2"
7
7
  end
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: 961916008
4
+ hash: 961916004
5
5
  prerelease: true
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 1
9
+ - 2
10
10
  - pre
11
- version: 0.5.1.pre
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-06 00:00:00 +12:00
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: Gives you helpers and the like when composing stylesheets
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