actionview-rev_manifest 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -8
- data/lib/rev_manifest/actionview/base.rb +3 -5
- data/lib/rev_manifest/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0b3ef0938f9f268db70328329e9fe04a0c50983
|
4
|
+
data.tar.gz: 72888cc0aaffd79b5cc0df0d505052ef12cc0532
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a25a0ce224cc805d995bd40cb052c1ab197da0c6ac1a788f76b4ea133b057e8c09ed5ffc60b4a41d04087b9d49447615b23e9767b4c46e619ea161509f04175
|
7
|
+
data.tar.gz: 97343db89ab4c81195490f85fdeacc4d279d2ae7040f5f65354f145474780a442fa9404b47c4fd0961cd457cc3f8055036204b7cc61ee56ab730a01e32e1e57c
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module ActionView
|
2
2
|
class Base
|
3
|
-
# @note
|
4
|
-
def
|
3
|
+
# @note Override {ActionView::Helpers::AssetUrlHelper#compute_asset_path}.
|
4
|
+
def compute_asset_path(source, options = {})
|
5
5
|
if RevManifest.include?(source)
|
6
6
|
if RevManifest.enabled?
|
7
7
|
RevManifest.resolve(source, options)
|
@@ -10,10 +10,8 @@ module ActionView
|
|
10
10
|
File.join(dir, source)
|
11
11
|
end
|
12
12
|
else
|
13
|
-
|
13
|
+
super
|
14
14
|
end
|
15
15
|
end
|
16
|
-
|
17
|
-
alias_method_chain :compute_asset_path, :rev_manifest
|
18
16
|
end
|
19
17
|
end
|
data/lib/rev_manifest/version.rb
CHANGED