unparser 0.6.7 → 0.6.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/unparser/color.rb +2 -0
- data/lib/unparser/node_details/send.rb +1 -0
- data/lib/unparser/validation.rb +2 -0
- 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: b8eb3401b1952a2440c918c3883832107ff77f670474d4db4ea0440e67dbe604
|
4
|
+
data.tar.gz: 12f91bb86c35a08d197a66f8d626250b9614207a5c69455aa442f4943c88b164
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f6f815767578d82d2090430881a331387b04d79b415fb26bd72774abc169c32c4acf5e261064c9dd47cdee7bb1fadd1fe803a8f401f575adcd94bc525fe5e83
|
7
|
+
data.tar.gz: 16a9c379a394627227aefa883fc2a3aa2714053d11c5c5c15c07f00a4ec2a74291694f240bbf460ac0f85fd7e181ae355f11fe6cd7d2befcf287fa2e6f96b75f
|
data/README.md
CHANGED
@@ -16,7 +16,7 @@ Notable Users:
|
|
16
16
|
|
17
17
|
* [mutant](https://github.com/mbj/mutant) - Code review engine via mutation testing.
|
18
18
|
* [ruby-next](https://github.com/ruby-next/ruby-next) - Ruby Syntax Backports.
|
19
|
-
*
|
19
|
+
* Many other [reverse-dependencies](https://rubygems.org/gems/unparser/reverse_dependencies).
|
20
20
|
|
21
21
|
(if you want your tool to be mentioned here please PR the addition with a TLDR of your use case).
|
22
22
|
|
data/lib/unparser/color.rb
CHANGED
@@ -30,8 +30,10 @@ module Unparser
|
|
30
30
|
|
31
31
|
# Well rubocop you are static so you do not have a clue here ;)
|
32
32
|
# rubocop:disable Style/RedundantInitialize
|
33
|
+
# rubocop:disable Style/MissingSuper
|
33
34
|
def initialize; end
|
34
35
|
# rubocop:enable Style/RedundantInitialize
|
36
|
+
# rubocop:enable Style/MissingSuper
|
35
37
|
|
36
38
|
end.new
|
37
39
|
|
data/lib/unparser/validation.rb
CHANGED
@@ -17,6 +17,7 @@ module Unparser
|
|
17
17
|
#
|
18
18
|
# @api private
|
19
19
|
#
|
20
|
+
# rubocop:disable Style/OperatorMethodCall
|
20
21
|
def success?
|
21
22
|
[
|
22
23
|
original_source,
|
@@ -25,6 +26,7 @@ module Unparser
|
|
25
26
|
generated_node
|
26
27
|
].all?(&:right?) && generated_node.from_right.==(original_node.from_right)
|
27
28
|
end
|
29
|
+
# rubocop:enable Style/OperatorMethodCall
|
28
30
|
|
29
31
|
# Return error report
|
30
32
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unparser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Markus Schirp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: diff-lcs
|
@@ -267,7 +267,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
267
267
|
- !ruby/object:Gem::Version
|
268
268
|
version: '0'
|
269
269
|
requirements: []
|
270
|
-
rubygems_version: 3.
|
270
|
+
rubygems_version: 3.4.10
|
271
271
|
signing_key:
|
272
272
|
specification_version: 4
|
273
273
|
summary: Generate equivalent source for parser gem AST nodes
|