rubocop-rubyfmt 0.1.1 → 0.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: d6930802812cb79361bb6ea15d28bc4eb5b6bce0b59f4f592db536227caeab37
4
- data.tar.gz: e065ff2088a4911c39512d8e49b46bcddbd8b250cf291628b41b5c5ecf13763c
3
+ metadata.gz: 32cc837a7e036e4b9d85ab30c4e7af462d34c7b37dcf5f31b2a6a5ba753e4c93
4
+ data.tar.gz: 4433f231896b1be5eea4a1fcc414341d38eab783d87fe25451ee273afe956af5
5
5
  SHA512:
6
- metadata.gz: 17c71376ab536b063b31601b658febc56f6a7bfab4ad8ba6d5acdca168d096ea882ee5340903106c0770d1663a0697aae48b3121cfc84384b6d54552a4325395
7
- data.tar.gz: 8c171234e0cdfa0ea0c03a3a65e5171cc4043ddf56372797adec9649dd5367c0f97dff6daf1705b3b9261d711aeff32efa3d859ee5549ce030646895230964ec
6
+ metadata.gz: 97dd23e1b464a90808874e895902321a3fd391c04958be6d2db401191b82f413e2aca5d3dfb7c91d145766d531d6eb97ecfc828f015d5456375f2fbe00f34af9
7
+ data.tar.gz: 43ffbe71f4efec20f49c7c0d61ca2a0357e7e4372ce3b5abd19df9a61cdfd159ab8421ae50a9e1bce41c90fd344581cb9db90c27a58d627dc8b141ddeaae2c15
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.2
4
+
5
+ - Disabled `Style/MethodCallWithoutArgsParentheses`. `rubyfmt` will handle parens in the vast majority
6
+ of cases, and it occasionally requires calls with parens when local variables shadow method names.
7
+
3
8
  ## 0.1.1
4
9
 
5
10
  - Disabled `Style/QuotedSymbols`, since `rubyfmt` always double-quotes quoted symbols.
data/config/default.yml CHANGED
@@ -104,6 +104,11 @@ Style/PercentLiteralDelimiters:
104
104
  Style/NestedParenthesizedCalls:
105
105
  Enabled: false
106
106
 
107
+ # A no-arg call gets `()` when a local variable shares its name, so that the call
108
+ # stays a call: `foo = self.foo()`
109
+ Style/MethodCallWithoutArgsParentheses:
110
+ Enabled: false
111
+
107
112
  # Statements on the same line as `else` will always be moved
108
113
  Lint/ElseLayout:
109
114
  Enabled: false
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Rubyfmt
5
- VERSION = "0.1.1"
5
+ VERSION = "0.1.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-rubyfmt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Reese Williams
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  requirements: []
84
- rubygems_version: 4.0.3
84
+ rubygems_version: 4.0.10
85
85
  specification_version: 4
86
86
  summary: Rubocop rules for adopting `rubyfmt`
87
87
  test_files: []