haml 6.1.2 → 6.1.3
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/CHANGELOG.md +14 -0
- data/lib/haml/rails_template.rb +5 -0
- 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: 6fdb8a50c83ab63c697225ffc269dfcff134a8eac3d28f5b13c5b5a09257f849
|
|
4
|
+
data.tar.gz: f7027d35f57f74ece886ced333a6eefa2d5278086899ac1431b9ea81935c5cc2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a72f386df2549eadf33e568fa2d33dba9f49fee6c9ef869a66c81a6d414f53fc0c1f6fc666a3434ca2df27cec89c4e7ed302336a009115ee678c426614b53b61
|
|
7
|
+
data.tar.gz: d9585240bf8cc82bb38d6f1dfad9f3c12f3b2654ada0fd7cf7972bf5018cc137917e522a3927510eab7aa90d923c0d5d1dc0352d98e1f586482e25c5f62f42b3
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Haml Changelog
|
|
2
2
|
|
|
3
|
+
## 6.1.3
|
|
4
|
+
|
|
5
|
+
* Add `Haml::RailsTemplate#default_format` for Turbo compatibility [#1144](https://github.com/haml/haml/issues/1144)
|
|
6
|
+
|
|
7
|
+
## 6.1.2
|
|
8
|
+
|
|
9
|
+
* Use the rails template path as `filename` [#1140](https://github.com/haml/haml/issues/1140)
|
|
10
|
+
|
|
3
11
|
## 6.1.1
|
|
4
12
|
|
|
5
13
|
* Fix an empty output of Ruby 3.1's Hash shorthand syntax [#1083](https://github.com/haml/haml/issues/1083)
|
|
@@ -102,6 +110,12 @@ Released on September 21, 2022
|
|
|
102
110
|
`list_of`, `non_haml`, `precede`, `succeed`, `surround`, `tab_down`, `tab_up`, `with_tabs`
|
|
103
111
|
* `:ruby` filter
|
|
104
112
|
* Removed: `haml_io`
|
|
113
|
+
* Alternatives to the removed helpers:
|
|
114
|
+
* Some simple ones could work by copying [the original definition](https://github.com/haml/haml/blob/v5.2.2/lib/haml/helpers.rb).
|
|
115
|
+
* For helpers generating general HTML tags, also consider using what your framework provides, e.g. Rails `content_tag`.
|
|
116
|
+
Same applies to `capture_haml`, e.g. Rails `capture`.
|
|
117
|
+
* Ones that rely on `Haml::Buffer` have no direct alternative by design. They existed at the cost of performance.
|
|
118
|
+
You need to define a helper, instantiate a String buffer in it, append stuff to it, and call it inside `=`.
|
|
105
119
|
* Only the following attributes and `aria`/`data` attributes are considered boolean attributes:
|
|
106
120
|
* `allowfullscreen`, `async`, `autobuffer`, `autofocus`, `autoplay`, `checked`, `controls`, `default`,
|
|
107
121
|
`defer`, `disabled`, `download`, `formnovalidate`, `hidden`, `inert`, `ismap`, `itemscope`, `loop`,
|
data/lib/haml/rails_template.rb
CHANGED
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: 6.1.
|
|
4
|
+
version: 6.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Natalie Weizenbaum
|
|
@@ -12,7 +12,7 @@ authors:
|
|
|
12
12
|
autorequire:
|
|
13
13
|
bindir: exe
|
|
14
14
|
cert_chain: []
|
|
15
|
-
date: 2023-
|
|
15
|
+
date: 2023-09-27 00:00:00.000000000 Z
|
|
16
16
|
dependencies:
|
|
17
17
|
- !ruby/object:Gem::Dependency
|
|
18
18
|
name: temple
|