autocop 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d74934d8ec07217a6b0df53fe5d53763e1d7ed69239f8a41fe2db8b4bfe56eda
4
- data.tar.gz: c3eaf636f27dc3117043392872cdcb38f0d4b189297d36054bdb6d1e0c5931f8
3
+ metadata.gz: 23d140174cd01ecc697e598cde2c5c64f45c664d3ae8f151fc86a57e73b70666
4
+ data.tar.gz: 956191dfe99b4521715e5eec32803d07b371195ebbce13d2dadfc9d159098716
5
5
  SHA512:
6
- metadata.gz: f9b9f7bc10e77773480b6963cd7074bc3178bdfc1624c5e61ec70a19a8d9eed9b20f34b93fd8e7bb4aa76cb03915c1838e48d6af3eba54a98a5f198ba51d9c0f
7
- data.tar.gz: 1494ef7e38acd122773a8bea44ac69846829ad04c83b937c9917e5c8414b4d825cce61e30fc0d3377d647b48b8c0a0426e54e42b3a07d8ef6a68f7e7beef2875
6
+ metadata.gz: 5d476776a9b15d301c2bbf173418515faec5caa0a5ae1cdd679c6ce841140a1b0a372941ba76741c11a42ad20ad9c08f889f8f3ebbea233f0501a0667dc6c23b
7
+ data.tar.gz: 880ac86118cffd1630b8e7d55af9853b713a0cf26354f9e1f45c8697ed9495a33561469f054eeac58f444a24b1f656ebe374bcfcfc10d8fcdfd270a5006c2d81
@@ -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/TrailingCommaInLiteral:
1818
- Description: Checks for trailing comma in array and hash literals.
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- autocop (0.1.2)
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.3)
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.53.0)
37
+ rubocop (0.54.0)
38
38
  parallel (~> 1.10)
39
39
  parser (>= 2.5)
40
40
  powerpack (~> 0.1)
@@ -1,3 +1,3 @@
1
1
  module Autocop
2
- VERSION = '0.1.2'.freeze
2
+ VERSION = '0.1.3'.freeze
3
3
  end
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.2
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-07 00:00:00.000000000 Z
11
+ date: 2018-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop