repper 1.1.1 → 1.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dc27c0c06fc2947ca6485a0cbf9a904e83b959f5e05e5ae98d9441600d24c988
4
- data.tar.gz: 0a597629326934ec23073f9729fa19eaa9e7f56e8ec11cd4573911039d36f908
3
+ metadata.gz: ab2c6061a03949fb99513243089f059239a6e8e05891b1f53a49c4588419e2e8
4
+ data.tar.gz: dda4aad518d561e2a9f6fbd348199e957d76f48b45dd66d7c0abf6bf9baac4c2
5
5
  SHA512:
6
- metadata.gz: 2041d9d7fc5f71e536c123f2274fe1353ba14d6c8b6fc01e63a1f45165618a94bd9268a9dd221eb8348f2c96a4ead548a383940ce986d5c8330ace7860c5f87b
7
- data.tar.gz: bf2029e67d73116b47484304e20565c150179576d0645982c8433d3608cb8365e6f06860c9e820414c9d71d0abe9f239fb0b7ea97bd77a04b599ecfdac982d50
6
+ metadata.gz: 27280fd9f4d81ab9d19aa4d784a27c104e9c520e22a44b16ac9d3088ad90bc01541516e792006b7250abbdf05abbba505af46daf0931ca24f0ef58cc8af4372e
7
+ data.tar.gz: 48971867a9a02cb8e69e3ab1598760ce2cb44bd3d6b5a00472a830b0f1cc7ab6ccafa293510f1e785edfc592fc49bed369699784bc1262030086b55dd96e8ec5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [1.1.2] - 2026-10-26
4
+
5
+ ### Fixed
6
+
7
+ - fix indentation of some quantifiers with newer `regexp_parser` versions
8
+
3
9
  ## [1.1.1] - 2026-10-23
4
10
 
5
11
  ### Fixed
@@ -19,7 +19,10 @@ module Repper
19
19
 
20
20
  # Ignore nesting of invisible intermediate branches for better visuals.
21
21
  if exp.is?(:sequence)
22
- exp.each_expression(true) { |child| child.nesting_level -= 1 }
22
+ exp.each_expression do |subexp|
23
+ subexp.nesting_level -= 1
24
+ subexp.quantifier.nesting_level -= 1 if subexp.quantifier
25
+ end
23
26
  end
24
27
 
25
28
  exp.parts.each do |part|
@@ -1,3 +1,3 @@
1
1
  module Repper
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: repper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Janosch Müller