haml_coffee_assets 1.24.0 → 1.25.1
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 +7 -2
- data/lib/haml_coffee_assets/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7cf6d8c052ce5192048949e39cac8dfeb18156b5c61080095b7b454a4451490
|
4
|
+
data.tar.gz: ba52469c8268879fffcc37d9c1e985a9f94d0c36cde051892808e781afe64999
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28983bbadd8f7bbf30f10fb83bd80a56b47740356041cc26e8fb76d2e9f34a3582ceedd94158d82441628fb15a11a1a00fd0e4de787e12991d9e2c25ac650618
|
7
|
+
data.tar.gz: 13fe76b6c100aca64580919ab05aec521243cf29e1150fb183cbd6f99144c8380a0e51e3d30f3347ee3ff236df479ef2e395b05e678d790e961277606da865de
|
@@ -35,9 +35,14 @@ 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']
|
39
|
+
env.register_mime_type 'text/jst+hamlc', extensions: ['.jst.hamlc']
|
39
40
|
env.register_transformer 'text/hamlc', 'application/javascript', ::HamlCoffeeAssets::Transformer
|
40
|
-
env.register_transformer 'text/hamlc', 'application/javascript+function', ::HamlCoffeeAssets::Transformer
|
41
|
+
env.register_transformer 'text/jst+hamlc', 'application/javascript+function', ::HamlCoffeeAssets::Transformer
|
42
|
+
|
43
|
+
# support for chaining via ERB, documented via https://github.com/rails/sprockets/pull/807
|
44
|
+
env.register_mime_type 'text/hamlc+ruby', extensions: ['.hamlc.erb', '.jst.hamlc.erb']
|
45
|
+
env.register_transformer 'text/hamlc+ruby', 'text/hamlc', ::Sprockets::ERBProcessor
|
41
46
|
end
|
42
47
|
|
43
48
|
if env.respond_to?(:register_engine)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: haml_coffee_assets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.25.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Kessler
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2024-07-22 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: coffee-script
|
@@ -160,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
160
160
|
- !ruby/object:Gem::Version
|
161
161
|
version: 2.5.2
|
162
162
|
requirements: []
|
163
|
-
rubygems_version: 3.
|
163
|
+
rubygems_version: 3.5.11
|
164
164
|
signing_key:
|
165
165
|
specification_version: 4
|
166
166
|
summary: Haml CoffeeScript templates
|