hamlit 2.15.2-java → 2.16.0-java
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 +8 -0
- data/lib/hamlit/cli.rb +1 -0
- data/lib/hamlit/engine.rb +1 -0
- data/lib/hamlit/parser.rb +2 -0
- data/lib/hamlit/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: 0f45ed8390632fee817387fbacaabc24a1a85771a180c437a7c436f67cb5f1b3
|
|
4
|
+
data.tar.gz: c81a493e1be9f4c5ca073abab20178c04dfd6533cf10cb0cb27afadd5c3424ab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a9a7be2565941bfd691c8804c18770255d08b97eeedcad6e891c1b2ba0642f3a8e22965152a7c9c8fa910ab6544b501dd55f4dbae27dc3783418b334d0d8d9ba
|
|
7
|
+
data.tar.gz: 63e8718f2d759ad585920d87a614c240c81f14bfe692adeb1fe4b5cd4d3a1741c5ac1def031810496db7378213d2842685704db32c6f11607e170fe0fd5577ce
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file. This
|
|
|
4
4
|
project adheres to [Semantic Versioning](http://semver.org/). This change log is based upon
|
|
5
5
|
[keep-a-changelog](https://github.com/olivierlacan/keep-a-changelog).
|
|
6
6
|
|
|
7
|
+
## [2.16.0](https://github.com/k0kubun/hamlit/compare/v2.15.2...v2.16.0) - 2022-02-03
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- Raise an exception on a Haml-level syntax error with `hamlit compile -c`
|
|
12
|
+
[#189](https://github.com/k0kubun/hamlit/issues/189)
|
|
13
|
+
*Thanks to @dlwr*
|
|
14
|
+
|
|
7
15
|
## [2.15.2](https://github.com/k0kubun/hamlit/compare/v2.15.1...v2.15.2) - 2022-01-04
|
|
8
16
|
|
|
9
17
|
### Fixed
|
data/lib/hamlit/cli.rb
CHANGED
data/lib/hamlit/engine.rb
CHANGED
data/lib/hamlit/parser.rb
CHANGED
|
@@ -20,6 +20,7 @@ module Hamlit
|
|
|
20
20
|
autoclose
|
|
21
21
|
escape_html
|
|
22
22
|
escape_attrs
|
|
23
|
+
check_syntax
|
|
23
24
|
].freeze
|
|
24
25
|
|
|
25
26
|
def initialize(options = {})
|
|
@@ -35,6 +36,7 @@ module Hamlit
|
|
|
35
36
|
end
|
|
36
37
|
HamlParser.new(HamlOptions.new(@options)).call(template)
|
|
37
38
|
rescue ::Hamlit::HamlError => e
|
|
39
|
+
raise e if @options[:check_syntax]
|
|
38
40
|
error_with_lineno(e)
|
|
39
41
|
end
|
|
40
42
|
|
data/lib/hamlit/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hamlit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.16.0
|
|
5
5
|
platform: java
|
|
6
6
|
authors:
|
|
7
7
|
- Takashi Kokubun
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-02-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -359,7 +359,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
359
359
|
- !ruby/object:Gem::Version
|
|
360
360
|
version: '0'
|
|
361
361
|
requirements: []
|
|
362
|
-
rubygems_version: 3.
|
|
362
|
+
rubygems_version: 3.2.29
|
|
363
363
|
signing_key:
|
|
364
364
|
specification_version: 4
|
|
365
365
|
summary: High Performance Haml Implementation
|