bust_rails_etags 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/lib/bust_rails_etags.rb +2 -2
- data/lib/bust_rails_etags/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
data/lib/bust_rails_etags.rb
CHANGED
@@ -11,11 +11,11 @@ module BustRailsEtags
|
|
11
11
|
def etag_with_version_id=(etag)
|
12
12
|
|
13
13
|
etag_elements = []
|
14
|
+
etag_elements << ENV['ETAG_VERSION_ID']
|
14
15
|
|
15
16
|
if etag.is_a?(Array)
|
16
|
-
|
17
|
+
etag_elements += etag
|
17
18
|
else
|
18
|
-
etag_elements << ENV['ETAG_VERSION_ID']
|
19
19
|
etag_elements << etag
|
20
20
|
end
|
21
21
|
|