haml 7.5.1 → 7.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/release.yml +1 -1
- data/CHANGELOG.md +5 -0
- data/lib/haml/parser.rb +1 -1
- data/lib/haml/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a5174f2c187219b2c8f5188484dabf5b057429f79ec275bb38a829120ad25438
|
|
4
|
+
data.tar.gz: '09f4ce2c2b51b6a1903739464608b91a524dc6934c497d99fd7aeeed1e8da48b'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ecf31b9ad92e48b0397fc7501d5477a8547fbf9a7f8d03167e71dd1a83f4e4113d4a1e2a50eb593ba18494ee5292e4cac6624783ecbb4a20f7808850e68ea79a
|
|
7
|
+
data.tar.gz: 242f5f9d3dca929b9d0bdd734ec214132e7b524cb76f1d1ddfde51c80620c1d99896e401f0c827ef896c66e35f399c4257b0b631df48fce0d8ecb2174204a6a2
|
|
@@ -30,7 +30,7 @@ jobs:
|
|
|
30
30
|
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
31
31
|
|
|
32
32
|
- name: Set up Ruby
|
|
33
|
-
uses: ruby/setup-ruby@
|
|
33
|
+
uses: ruby/setup-ruby@de492cf36cbab201753d720ce4f4e336cd688c94 # v1.336.0
|
|
34
34
|
with:
|
|
35
35
|
bundler-cache: true
|
|
36
36
|
ruby-version: ruby
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Haml Changelog
|
|
2
2
|
|
|
3
|
+
## 7.5.2
|
|
4
|
+
|
|
5
|
+
* Balance Prism 2's `BRACE_LEFT_HASH` and `BRACE_LEFT_ARGUMENT` tokens in old attribute hashes, fixing `Illegal nesting`
|
|
6
|
+
and syntax errors on nested hash literals such as `data: { ... }` https://github.com/haml/haml/issues/1224
|
|
7
|
+
|
|
3
8
|
## 7.5.1
|
|
4
9
|
|
|
5
10
|
* Improve frozen strings management https://github.com/haml/haml/pull/1205
|
data/lib/haml/parser.rb
CHANGED
|
@@ -701,7 +701,7 @@ module Haml
|
|
|
701
701
|
|
|
702
702
|
attributes_hash, rest = balance_tokens(
|
|
703
703
|
text.sub(?{, METHOD_CALL_PREFIX),
|
|
704
|
-
[:BRACE_LEFT, :LAMBDA_BEGIN, :EMBEXPR_BEGIN],
|
|
704
|
+
[:BRACE_LEFT, :BRACE_LEFT_HASH, :BRACE_LEFT_ARGUMENT, :LAMBDA_BEGIN, :EMBEXPR_BEGIN],
|
|
705
705
|
[:BRACE_RIGHT, :EMBEXPR_END],
|
|
706
706
|
count: 1)
|
|
707
707
|
attributes_hash = attributes_hash.sub(METHOD_CALL_PREFIX, ?{)
|
data/lib/haml/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: haml
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 7.5.
|
|
4
|
+
version: 7.5.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Natalie Weizenbaum
|
|
@@ -341,7 +341,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
341
341
|
- !ruby/object:Gem::Version
|
|
342
342
|
version: '0'
|
|
343
343
|
requirements: []
|
|
344
|
-
rubygems_version:
|
|
344
|
+
rubygems_version: 4.0.20
|
|
345
345
|
specification_version: 4
|
|
346
346
|
summary: An elegant, structured (X)HTML/XML templating engine.
|
|
347
347
|
test_files: []
|