autocop 0.1.2 → 0.1.3
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 +4 -4
- data/.autocop-rubocop.yml +8 -26
- data/Gemfile.lock +3 -3
- data/lib/autocop/version.rb +1 -1
- 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: 23d140174cd01ecc697e598cde2c5c64f45c664d3ae8f151fc86a57e73b70666
|
|
4
|
+
data.tar.gz: 956191dfe99b4521715e5eec32803d07b371195ebbce13d2dadfc9d159098716
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5d476776a9b15d301c2bbf173418515faec5caa0a5ae1cdd679c6ce841140a1b0a372941ba76741c11a42ad20ad9c08f889f8f3ebbea233f0501a0667dc6c23b
|
|
7
|
+
data.tar.gz: 880ac86118cffd1630b8e7d55af9853b713a0cf26354f9e1f45c8697ed9495a33561469f054eeac58f444a24b1f656ebe374bcfcfc10d8fcdfd270a5006c2d81
|
data/.autocop-rubocop.yml
CHANGED
|
@@ -46,33 +46,16 @@ Lint/AssignmentInCondition:
|
|
|
46
46
|
Enabled: true
|
|
47
47
|
AllowSafeAssignment: true
|
|
48
48
|
|
|
49
|
-
# Supports --auto-correct
|
|
50
|
-
Lint/BlockAlignment:
|
|
51
|
-
Description: Align block ends correctly.
|
|
52
|
-
Enabled: true
|
|
53
|
-
|
|
54
49
|
Lint/CircularArgumentReference:
|
|
55
50
|
Description: Default values in optional keyword arguments and optional ordinal arguments
|
|
56
51
|
should not refer back to the name of the argument.
|
|
57
52
|
Enabled: true
|
|
58
53
|
|
|
59
|
-
Lint/ConditionPosition:
|
|
60
|
-
Description: Checks for condition placed in a confusing position relative to the keyword.
|
|
61
|
-
StyleGuide: https://github.com/bbatsov/ruby-style-guide#same-line-condition
|
|
62
|
-
Enabled: true
|
|
63
|
-
|
|
64
54
|
# Supports --auto-correct
|
|
65
55
|
Lint/Debugger:
|
|
66
56
|
Description: Check for debugger calls.
|
|
67
57
|
Enabled: true
|
|
68
58
|
|
|
69
|
-
# Supports --auto-correct
|
|
70
|
-
Lint/DefEndAlignment:
|
|
71
|
-
Description: Align ends corresponding to defs correctly.
|
|
72
|
-
Enabled: true
|
|
73
|
-
EnforcedStyleAlignWith: start_of_line
|
|
74
|
-
AutoCorrect: false
|
|
75
|
-
|
|
76
59
|
# Supports --auto-correct
|
|
77
60
|
Lint/DeprecatedClassMethods:
|
|
78
61
|
Description: Check for deprecated class method calls.
|
|
@@ -102,13 +85,6 @@ Lint/EmptyInterpolation:
|
|
|
102
85
|
Description: Checks for empty string interpolation.
|
|
103
86
|
Enabled: true
|
|
104
87
|
|
|
105
|
-
# Supports --auto-correct
|
|
106
|
-
Lint/EndAlignment:
|
|
107
|
-
Description: Align ends correctly.
|
|
108
|
-
Enabled: true
|
|
109
|
-
EnforcedStyleAlignWith: keyword
|
|
110
|
-
AutoCorrect: false
|
|
111
|
-
|
|
112
88
|
Lint/EndInMethod:
|
|
113
89
|
Description: END blocks should not be placed inside method definitions.
|
|
114
90
|
Enabled: true
|
|
@@ -1814,12 +1790,18 @@ Style/TrailingCommaInArguments:
|
|
|
1814
1790
|
EnforcedStyleForMultiline: no_comma
|
|
1815
1791
|
|
|
1816
1792
|
# Supports --auto-correct
|
|
1817
|
-
Style/
|
|
1818
|
-
Description: Checks for trailing comma in array
|
|
1793
|
+
Style/TrailingCommaInArrayLiteral:
|
|
1794
|
+
Description: Checks for trailing comma in array literals.
|
|
1819
1795
|
StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas
|
|
1820
1796
|
Enabled: true
|
|
1821
1797
|
EnforcedStyleForMultiline: no_comma
|
|
1822
1798
|
|
|
1799
|
+
Style/TrailingCommaInHashLiteral:
|
|
1800
|
+
Description: Checks for trailing comma in hash literals.
|
|
1801
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-trailing-hash-commas
|
|
1802
|
+
Enabled: true
|
|
1803
|
+
EnforcedStyleForMultiline: no_comma
|
|
1804
|
+
|
|
1823
1805
|
# Supports --auto-correct
|
|
1824
1806
|
Style/TrailingUnderscoreVariable:
|
|
1825
1807
|
Description: Checks for the usage of unneeded trailing underscores at the end of parallel
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
autocop (0.1.
|
|
4
|
+
autocop (0.1.3)
|
|
5
5
|
rubocop (>= 0.52.1)
|
|
6
6
|
rubocop-rspec (>= 1.22.1)
|
|
7
7
|
|
|
@@ -13,7 +13,7 @@ GEM
|
|
|
13
13
|
diff-lcs (1.3)
|
|
14
14
|
method_source (0.9.0)
|
|
15
15
|
parallel (1.12.1)
|
|
16
|
-
parser (2.5.0.
|
|
16
|
+
parser (2.5.0.5)
|
|
17
17
|
ast (~> 2.4.0)
|
|
18
18
|
powerpack (0.1.1)
|
|
19
19
|
pry (0.11.3)
|
|
@@ -34,7 +34,7 @@ GEM
|
|
|
34
34
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
35
35
|
rspec-support (~> 3.7.0)
|
|
36
36
|
rspec-support (3.7.1)
|
|
37
|
-
rubocop (0.
|
|
37
|
+
rubocop (0.54.0)
|
|
38
38
|
parallel (~> 1.10)
|
|
39
39
|
parser (>= 2.5)
|
|
40
40
|
powerpack (~> 0.1)
|
data/lib/autocop/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: autocop
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Autolist Engineering
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-03-
|
|
11
|
+
date: 2018-03-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rubocop
|