haml_coffee_assets 1.22.0 → 1.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/haml_coffee_assets/rails/engine.rb +2 -1
- data/lib/haml_coffee_assets/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 168508ea1ddb9ae12c59dd491f2495f7506f4714f07a66153c0728deebfcc4cc
|
4
|
+
data.tar.gz: e1db3ab700b2997266231ad42a25738a684d11d5d902a0161c2c28699ed2bd12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a15e615c9b0d9d1accf8428ea3b4e6b8c4366f7d0628c4f615db412fa4648456653f47c8fd57b06175b456bbb6835e8f7bd5052c2b130707d7b92a61d3b3b61
|
7
|
+
data.tar.gz: 2bc7d5896ae4d1cc3bbd94468753fff078ba77b87dcd40b5799fcec5c97481484111b5ca352509cb07091092f5e70f498c5ecc448aea593f27c723ea91761a41
|
@@ -35,8 +35,9 @@ module HamlCoffeeAssets
|
|
35
35
|
|
36
36
|
config.assets.configure do |env|
|
37
37
|
if env.respond_to?(:register_transformer)
|
38
|
-
env.register_mime_type 'text/hamlc', extensions: ['.hamlc']
|
38
|
+
env.register_mime_type 'text/hamlc', extensions: ['.hamlc', '.jst.hamlc']
|
39
39
|
env.register_transformer 'text/hamlc', 'application/javascript', ::HamlCoffeeAssets::Transformer
|
40
|
+
env.register_transformer 'text/hamlc', 'application/javascript+function', ::HamlCoffeeAssets::Transformer
|
40
41
|
end
|
41
42
|
|
42
43
|
if env.respond_to?(:register_engine)
|