ventilation 0.3.0 → 0.3.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.
- data/VERSION +1 -1
- data/lib/app/helpers/esi_helper.rb +1 -1
- data/ventilation.gemspec +1 -1
- metadata +2 -8
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.1
|
|
@@ -63,7 +63,7 @@ module Ventilation
|
|
|
63
63
|
# <%- expire 5.minutes -%>
|
|
64
64
|
# <%- expire 30.seconds -%>
|
|
65
65
|
def expire(duration)
|
|
66
|
-
headers['Cache-Control'] =
|
|
66
|
+
headers['Cache-Control'] = "max-age=#{duration.to_i}"
|
|
67
67
|
headers['Expires'] = duration.from_now.httpdate
|
|
68
68
|
end
|
|
69
69
|
|
data/ventilation.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ventilation
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash: 19
|
|
5
4
|
prerelease: false
|
|
6
5
|
segments:
|
|
7
6
|
- 0
|
|
8
7
|
- 3
|
|
9
|
-
-
|
|
10
|
-
version: 0.3.
|
|
8
|
+
- 1
|
|
9
|
+
version: 0.3.1
|
|
11
10
|
platform: ruby
|
|
12
11
|
authors:
|
|
13
12
|
- Blake Taylor
|
|
@@ -26,7 +25,6 @@ dependencies:
|
|
|
26
25
|
requirements:
|
|
27
26
|
- - ">="
|
|
28
27
|
- !ruby/object:Gem::Version
|
|
29
|
-
hash: 3
|
|
30
28
|
segments:
|
|
31
29
|
- 0
|
|
32
30
|
version: "0"
|
|
@@ -40,7 +38,6 @@ dependencies:
|
|
|
40
38
|
requirements:
|
|
41
39
|
- - ">="
|
|
42
40
|
- !ruby/object:Gem::Version
|
|
43
|
-
hash: 15
|
|
44
41
|
segments:
|
|
45
42
|
- 1
|
|
46
43
|
- 2
|
|
@@ -56,7 +53,6 @@ dependencies:
|
|
|
56
53
|
requirements:
|
|
57
54
|
- - ">="
|
|
58
55
|
- !ruby/object:Gem::Version
|
|
59
|
-
hash: 43
|
|
60
56
|
segments:
|
|
61
57
|
- 0
|
|
62
58
|
- 9
|
|
@@ -106,7 +102,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
106
102
|
requirements:
|
|
107
103
|
- - ">="
|
|
108
104
|
- !ruby/object:Gem::Version
|
|
109
|
-
hash: 3
|
|
110
105
|
segments:
|
|
111
106
|
- 0
|
|
112
107
|
version: "0"
|
|
@@ -115,7 +110,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
115
110
|
requirements:
|
|
116
111
|
- - ">="
|
|
117
112
|
- !ruby/object:Gem::Version
|
|
118
|
-
hash: 3
|
|
119
113
|
segments:
|
|
120
114
|
- 0
|
|
121
115
|
version: "0"
|