unparser 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/unparser/writer/send.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2d9558d9e9cdfea4d859aaccc4c0ae5e90d28ef05c0cee26710923dd48692c5a
4
- data.tar.gz: 0d8e0fe60dc8d5e443c63137e0bbe1d0117b1688eb3f8c2a7f6df273812abfe6
3
+ metadata.gz: 7eda3912beee61a5384b60d5011749c10c7c46df2ad76d34c26cbb2bf2cc3fae
4
+ data.tar.gz: 2721620e86f7ff2d5be383551ef9a9c6b961f3a2695ce3eae84e56246a658129
5
5
  SHA512:
6
- metadata.gz: e78f9eadbc554546e0a77fbf8ae198252bd30ee00d893f29c21a4e454d07be7f235eafa8c2501296fd5e3b00102d4b412cbadc6ae4d1f269cad187f8f69dbc3a
7
- data.tar.gz: c22cae778457ea0377a939c9940a0aa7976631e87f53ed67e9218759102f563eae76b7102418f3f55c834c229ec4ad10b3cc532b2c3ef6383f13ebb67b01c1b1
6
+ metadata.gz: c6a25eebeab70213690d84e50e3a161950e2a025d88c693094387299108ce191d671078c8aa03ab059f82aaae0b6d21ced684830aa85f8a4696772a88a01273c
7
+ data.tar.gz: a5252a53a3dd3cb1f77d99d12a500f1fb22a191ffa59d9cf15c2cc65daa21fb86805574466c174111914b805346c2fc054850d44b1f8b27da70d5995e8236bcf
@@ -45,7 +45,7 @@ module Unparser
45
45
  def effective_writer_class
46
46
  if details.binary_syntax_allowed?
47
47
  Binary
48
- elsif details.selector_unary_operator? && n_send?(node)
48
+ elsif details.selector_unary_operator? && n_send?(node) && arguments.empty?
49
49
  Unary
50
50
  elsif write_as_attribute_assignment?
51
51
  AttributeAssignment
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.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Markus Schirp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-08 00:00:00.000000000 Z
11
+ date: 2021-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: diff-lcs