hamlit 2.16.2-java → 3.0.0-java

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: 82b1954dd2f447f3351274d1eb8b7aab0cc3e241c137bf0af1bad3a6c0224884
4
- data.tar.gz: 3a80f13f9c16722bf9b492a7666741ba235d732eb906724729b8cde5e257f81f
3
+ metadata.gz: 12be429a8481d86e0dee762af8fa98eb8ef7ed5b131092f5cb47acc47655f5a0
4
+ data.tar.gz: 55fad897b3938e57bb9986e3b0c2c6cb449634889fa0563e46cef0176358c280
5
5
  SHA512:
6
- metadata.gz: 9aeda4f739eeb2b18dd029a4727fe1b6325f9f80c2483ab607211994651e3f1d219738df7ed75cb1d638423e65c3d999ecfd63586e26d3f022f190ae9b72d8bb
7
- data.tar.gz: beae99e9412e203580ed8a2610acee46ed3da1316e0a6530533dd372e73d9fd7c10d114d4ac512174beb84f32b4f372ea74d355acbb3a9580eb13851ca23db95
6
+ metadata.gz: e89257b48ceebde299b037ef204f29d9f017c6f49c5687f38f31a5182c8b0eb6b53802dc5a1fdc7980163f2aad1b8a89c88e072ddde7d63294cf63638d9f7634
7
+ data.tar.gz: 51da64cfc88e0a9625c1c60b7913099bec59f73bdc5e2b602383c9a4c685e887b74c8cb8445fd8e2c774397751f86f28fdfbe226d9d5fca9497ccd89f8d9adb8
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
+ ## [3.0.0](https://github.com/k0kubun/hamlit/compare/v2.16.2...v3.0.0) - 2022-08-07
8
+
9
+ ### Changed
10
+
11
+ - [**breaking**] Use `disable_capture: false` for non-Rails environments
12
+ - `:disable_capture` is an option introduced in v2.16.1. See its release notes for details.
13
+ - If you use Rails, it continues to use `disable_capture: true`, so you're not impacted by this change.
14
+
7
15
  ## [2.16.2](https://github.com/k0kubun/hamlit/compare/v2.16.1...v2.16.2) - 2022-08-07
8
16
 
9
17
  ### Fixed
@@ -18,7 +26,8 @@ project adheres to [Semantic Versioning](http://semver.org/). This change log is
18
26
  - Default: `disable_capture: true` (backward-compatible)
19
27
  - For Rails, this must be `true` anyway to use Rails-native capturing.
20
28
  - If you override the option like `disable_capture: false` in Hamlit::Template,
21
- you can capture a block content like `= render do ...`.
29
+ scripts starting with `=` (e.g. `= render do ...`) capture a block content.
30
+ - Scripts starting with `-` (e.g. `- users.each do`) are not impacted.
22
31
 
23
32
  ## [2.16.0](https://github.com/k0kubun/hamlit/compare/v2.15.2...v2.16.0) - 2022-02-03
24
33
 
data/lib/hamlit/engine.rb CHANGED
@@ -22,7 +22,7 @@ module Hamlit
22
22
  param source track wbr),
23
23
  filename: "",
24
24
  check_syntax: false,
25
- disable_capture: true,
25
+ disable_capture: false,
26
26
  )
27
27
 
28
28
  use Parser
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Hamlit
3
- VERSION = '2.16.2'
3
+ VERSION = '3.0.0'
4
4
  end
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.16.2
4
+ version: 3.0.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-08-07 00:00:00.000000000 Z
11
+ date: 2022-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement