haml_coffee_assets 1.23.0 → 1.25.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 168508ea1ddb9ae12c59dd491f2495f7506f4714f07a66153c0728deebfcc4cc
4
- data.tar.gz: e1db3ab700b2997266231ad42a25738a684d11d5d902a0161c2c28699ed2bd12
3
+ metadata.gz: ea1bef53a0fafd762b88f28dea3997f13f6f692acc06a575e86df966b922e8a9
4
+ data.tar.gz: b208fbeaba09aa89bbdf4b92eee5ada407a94b03189a132f9c99961c85f3dde3
5
5
  SHA512:
6
- metadata.gz: 2a15e615c9b0d9d1accf8428ea3b4e6b8c4366f7d0628c4f615db412fa4648456653f47c8fd57b06175b456bbb6835e8f7bd5052c2b130707d7b92a61d3b3b61
7
- data.tar.gz: 2bc7d5896ae4d1cc3bbd94468753fff078ba77b87dcd40b5799fcec5c97481484111b5ca352509cb07091092f5e70f498c5ecc448aea593f27c723ea91761a41
6
+ metadata.gz: e16bab07a3ed842fcea3f0f800921f2fa88b0803f13491b79f1d875c307e52a43a06775f63300f4fcf5c524927d04ed55451fed051055b1c56794d7cac3e5681
7
+ data.tar.gz: e6cdc13c747daac6de8e719876de6755b6605bfeafbd5a83707242e843d78736a401235a9190f49679c90b6c9aee6ff594b8d0ecbe83f0f0d41a6acb94ebe881
@@ -38,6 +38,9 @@ module HamlCoffeeAssets
38
38
  env.register_mime_type 'text/hamlc', extensions: ['.hamlc', '.jst.hamlc']
39
39
  env.register_transformer 'text/hamlc', 'application/javascript', ::HamlCoffeeAssets::Transformer
40
40
  env.register_transformer 'text/hamlc', 'application/javascript+function', ::HamlCoffeeAssets::Transformer
41
+ # support for chaining via ERB, documented via https://github.com/rails/sprockets/pull/807
42
+ env.register_mime_type 'text/hamlc+ruby', extensions: ['.hamlc.erb', '.jst.hamlc.erb']
43
+ env.register_transformer 'text/hamlc+ruby', 'text/hamlc', ::Sprockets::ERBProcessor
41
44
  end
42
45
 
43
46
  if env.respond_to?(:register_engine)
@@ -1,5 +1,5 @@
1
1
  # coding: UTF-8
2
2
 
3
3
  module HamlCoffeeAssets
4
- VERSION = '1.23.0' unless defined?(HamlCoffeeAssets::VERSION)
4
+ VERSION = '1.25.0' unless defined?(HamlCoffeeAssets::VERSION)
5
5
  end
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.23.0
4
+ version: 1.25.0
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: 2023-05-16 00:00:00.000000000 Z
13
+ date: 2024-07-19 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: coffee-script
@@ -35,7 +35,7 @@ dependencies:
35
35
  version: '5.2'
36
36
  - - "<"
37
37
  - !ruby/object:Gem::Version
38
- version: '7.1'
38
+ version: '7.2'
39
39
  type: :runtime
40
40
  prerelease: false
41
41
  version_requirements: !ruby/object:Gem::Requirement
@@ -45,7 +45,7 @@ dependencies:
45
45
  version: '5.2'
46
46
  - - "<"
47
47
  - !ruby/object:Gem::Version
48
- version: '7.1'
48
+ version: '7.2'
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: sprockets
51
51
  requirement: !ruby/object:Gem::Requirement
@@ -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.4.11
163
+ rubygems_version: 3.5.11
164
164
  signing_key:
165
165
  specification_version: 4
166
166
  summary: Haml CoffeeScript templates