oppen 0.9.4 → 0.9.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/oppen/version.rb +1 -1
- data/lib/wadler/print.rb +9 -3
- 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: d2e8ac9f3609e4e4d0f64e5b4b9fdbbe6856e23532b995a52281a14577a894c9
|
4
|
+
data.tar.gz: 5451a9f1c73b37f7d66693698ba6d1cc6551c85b98a0953b057a4bf7de145081
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3a98ad61c3486094b13cb9fd200f18184fd6b475c35fc76284e58e2b194c2c74ab4a42568ae405c385a0165e75f1b6d144c96e1fb2f70e330bde063fed7c89b
|
7
|
+
data.tar.gz: d760f00dc3c26800c254b07b19ecb62703920e4feaa6023814c1d611d3989768f2b916296615358a0729d45fdee2369f1fdf880e3c5c1e97ac7c97d5c4a46d65
|
data/lib/oppen/version.rb
CHANGED
data/lib/wadler/print.rb
CHANGED
@@ -146,11 +146,17 @@ module Oppen
|
|
146
146
|
|
147
147
|
# Open a consistent group.
|
148
148
|
#
|
149
|
-
# @param
|
149
|
+
# @param inconsistent [Boolean]
|
150
|
+
# @param indent [Integer]
|
150
151
|
#
|
151
152
|
# @return [Nil]
|
152
|
-
def group_open(indent: 0)
|
153
|
-
tokens <<
|
153
|
+
def group_open(inconsistent: false, indent: 0)
|
154
|
+
tokens <<
|
155
|
+
if inconsistent
|
156
|
+
Oppen.begin_inconsistent(offset: indent)
|
157
|
+
else
|
158
|
+
Oppen.begin_consistent(offset: indent)
|
159
|
+
end
|
154
160
|
end
|
155
161
|
|
156
162
|
# Close a group.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oppen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amine Mike El Maalouf <amine.el-maalouf@epita.fr>
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-11-21 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Implementation of the Oppen's pretty printing algorithm
|
15
15
|
email:
|