haml 6.2.5 → 6.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/lib/haml/rails_template.rb +0 -8
- data/lib/haml/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: b8754d03da194f9c74e620887cbc29d3aa95d93651129ca33aa60dc72be08dd1
|
4
|
+
data.tar.gz: f4d26ea914200ac345926641d0d0d8ba36fb4b62a47600f63015d5c2d1dc8a11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eccf9fb6676267281b3c918425e93f07e8771c2f41e8481a08f327cb2ddbd5b53e07f3c9025f37c1abc977ad732d3b2f67d3023c4e1f356897bed03e3572ca20
|
7
|
+
data.tar.gz: 5ecd4d17716d5b0b4be7b57ebcfd28457f1b803cd376e37d4bcece2f30632e4e46d988eba1048e0c303a3599db5049b464e31854dda7f538bfe30565169769e9
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,13 @@
|
|
1
1
|
# Haml Changelog
|
2
2
|
|
3
|
+
## 6.3.0
|
4
|
+
|
5
|
+
* Remove `Haml::RailsTemplate#default_format` that was added in v6.1.3 for Turbo [#1152](https://github.com/haml/haml/issues/1152), [#1154](https://github.com/haml/haml/issues/1154) ([discussion](https://github.com/haml/haml/pull/1144#issuecomment-1755088572))
|
6
|
+
* See [the reference](https://github.com/haml/haml/blob/v6.3.0/REFERENCE.md#turbo) for suggested alternatives.
|
7
|
+
|
3
8
|
## 6.2.5
|
4
9
|
|
5
|
-
* Deprecate `Haml::RailsTemplate#default_format` that was added in v6.1.3
|
10
|
+
* Deprecate `Haml::RailsTemplate#default_format` that was added in v6.1.3 for Turbo ([discussion](https://github.com/haml/haml/pull/1144#issuecomment-1755088572))
|
6
11
|
* See [the reference](https://github.com/haml/haml/blob/v6.2.5/REFERENCE.md#turbo) for suggested alternatives.
|
7
12
|
|
8
13
|
## 6.2.4
|
data/lib/haml/rails_template.rb
CHANGED
@@ -48,14 +48,6 @@ module Haml
|
|
48
48
|
Engine.new(options).call(source)
|
49
49
|
end
|
50
50
|
|
51
|
-
# Rails Turbo looks for this
|
52
|
-
def default_format
|
53
|
-
warn "warning: Haml::RailsTemplate#default_format is deprecated and will be removed in the next Haml version 6.3.0. "\
|
54
|
-
"Please monkey-patch this method yourself, or simply use appropriate HTML extensions. "\
|
55
|
-
"See https://github.com/haml/haml/blob/v6.2.5/REFERENCE.md#turbo for details."
|
56
|
-
:html
|
57
|
-
end
|
58
|
-
|
59
51
|
def supports_streaming?
|
60
52
|
RailsTemplate.options[:streaming]
|
61
53
|
end
|
data/lib/haml/version.rb
CHANGED