unparser 0.6.6 → 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 +2 -2
- data/lib/unparser/color.rb +2 -0
- data/lib/unparser/node_details/send.rb +1 -0
- data/lib/unparser/validation.rb +2 -0
- metadata +8 -7
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
|
|
@@ -187,7 +187,7 @@ Contributing
|
|
187
187
|
* Make your feature addition or bug fix.
|
188
188
|
* Add tests for it. This is important so I don't break it in a
|
189
189
|
future version unintentionally.
|
190
|
-
* Commit, do not mess with
|
190
|
+
* Commit, do not mess with version
|
191
191
|
(if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
|
192
192
|
* Send me a pull request. Bonus points for topic branches.
|
193
193
|
|
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
|
@@ -44,28 +44,28 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.11.
|
47
|
+
version: 0.11.18
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.11.
|
54
|
+
version: 0.11.18
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: mutant-rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.11.
|
61
|
+
version: 0.11.18
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.11.
|
68
|
+
version: 0.11.18
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -251,6 +251,7 @@ metadata:
|
|
251
251
|
bug_tracker_uri: https://github.com/mbj/unparser/issues
|
252
252
|
changelog_uri: https://github.com/mbj/unparser/blob/master/Changelog.md
|
253
253
|
funding_uri: https://github.com/sponsors/mbj
|
254
|
+
rubygems_mfa_required: 'true'
|
254
255
|
post_install_message:
|
255
256
|
rdoc_options: []
|
256
257
|
require_paths:
|
@@ -266,7 +267,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
266
267
|
- !ruby/object:Gem::Version
|
267
268
|
version: '0'
|
268
269
|
requirements: []
|
269
|
-
rubygems_version: 3.
|
270
|
+
rubygems_version: 3.4.10
|
270
271
|
signing_key:
|
271
272
|
specification_version: 4
|
272
273
|
summary: Generate equivalent source for parser gem AST nodes
|