mad_rubocop 1.0.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +2 -1
- data/lib/disabled_cops.yml +10 -2
- data/lib/mad_rubocop/version.rb +1 -1
- data/lib/modified_cops.yml +4 -0
- data/mad_rubocop.gemspec +1 -1
- metadata +17 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 770a4af59b056e1875895aad47b5bbe6da5b776e
|
4
|
+
data.tar.gz: 108f7db13d3f5ebc5443d625f966efa934df7fc0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ada18fc028951191cc5bcd6e1b0b0bb382e0cf5dd1a90ef60b36ed5be27f997b5d80cc1e51a119dc85f354d398ec66c2158ff6b80d326a76de7c6070b3d61c0
|
7
|
+
data.tar.gz: a04cc6c1c27270b0f65638e4faf92569e7514072bbb036c6a5580b3bfca1320e35511bc1ee4839f7dc5465d183c6a12f39224b9be4c9bf75e7859f0f834d2928
|
data/.rubocop.yml
CHANGED
data/lib/disabled_cops.yml
CHANGED
@@ -18,6 +18,8 @@ Metrics/ParameterLists:
|
|
18
18
|
Metrics/PerceivedComplexity:
|
19
19
|
Enabled: false
|
20
20
|
|
21
|
+
Performance/Casecmp:
|
22
|
+
Enabled: false
|
21
23
|
Performance/Detect:
|
22
24
|
Enabled: false
|
23
25
|
Performance/StringReplacement:
|
@@ -46,7 +48,7 @@ Style/EachWithObject:
|
|
46
48
|
Enabled: false
|
47
49
|
Style/Encoding:
|
48
50
|
Enabled: false
|
49
|
-
Style/ExtraSpacing:
|
51
|
+
Style/ExtraSpacing:
|
50
52
|
Enabled: false
|
51
53
|
Style/FirstArrayElementLineBreak:
|
52
54
|
Enabled: false
|
@@ -74,6 +76,8 @@ Style/OptionHash:
|
|
74
76
|
Enabled: false
|
75
77
|
Style/PredicateName:
|
76
78
|
Enabled: false
|
79
|
+
Style/RedundantParentheses:
|
80
|
+
Enabled: false
|
77
81
|
Style/RedundantSelf:
|
78
82
|
Enabled: false
|
79
83
|
Style/RegexpLiteral:
|
@@ -90,7 +94,11 @@ Style/StructInheritance:
|
|
90
94
|
Enabled: false
|
91
95
|
Style/SymbolArray:
|
92
96
|
Enabled: false
|
93
|
-
Style/
|
97
|
+
Style/TrailingCommaInArguments:
|
98
|
+
Enabled: false
|
99
|
+
Style/TrailingCommaInLiteral:
|
100
|
+
Enabled: false
|
101
|
+
Style/UnneededInterpolation:
|
94
102
|
Enabled: false
|
95
103
|
Style/WordArray:
|
96
104
|
Enabled: false
|
data/lib/mad_rubocop/version.rb
CHANGED
data/lib/modified_cops.yml
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
# Cops that enforce a non RuboCop default style
|
3
3
|
#
|
4
4
|
|
5
|
+
Style/Alias:
|
6
|
+
Description: Use alias_method instead of alias in a class or module body.
|
7
|
+
EnforcedStyle: prefer_alias_method
|
8
|
+
|
5
9
|
Style/AccessModifierIndentation:
|
6
10
|
Description: Indent private/protected/public as deep as method definitions
|
7
11
|
Enabled: true
|
data/mad_rubocop.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
|
-
spec.add_dependency "rubocop", "~> 0.
|
22
|
+
spec.add_dependency "rubocop", "~> 0.36.0"
|
23
23
|
spec.add_development_dependency "bundler", "~> 1.11"
|
24
24
|
spec.add_development_dependency "rake", "~> 10.0"
|
25
25
|
end
|
metadata
CHANGED
@@ -1,59 +1,58 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mad_rubocop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zach Toolson
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name: rubocop
|
15
14
|
requirement: !ruby/object:Gem::Requirement
|
16
15
|
requirements:
|
17
16
|
- - "~>"
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
20
|
-
|
18
|
+
version: 0.36.0
|
19
|
+
name: rubocop
|
21
20
|
prerelease: false
|
21
|
+
type: :runtime
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.36.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name: bundler
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
30
29
|
requirements:
|
31
30
|
- - "~>"
|
32
31
|
- !ruby/object:Gem::Version
|
33
32
|
version: '1.11'
|
34
|
-
|
33
|
+
name: bundler
|
35
34
|
prerelease: false
|
35
|
+
type: :development
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.11'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name: rake
|
43
42
|
requirement: !ruby/object:Gem::Requirement
|
44
43
|
requirements:
|
45
44
|
- - "~>"
|
46
45
|
- !ruby/object:Gem::Version
|
47
46
|
version: '10.0'
|
48
|
-
|
47
|
+
name: rake
|
49
48
|
prerelease: false
|
49
|
+
type: :development
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '10.0'
|
55
|
-
description: Wrapper for MX specific RuboCop settings for managing custom settings
|
56
|
-
across many projects.
|
55
|
+
description: Wrapper for MX specific RuboCop settings for managing custom settings across many projects.
|
57
56
|
email:
|
58
57
|
- zach.toolson@mx.com
|
59
58
|
executables:
|
@@ -77,7 +76,7 @@ homepage: https://github.com/mxenabled/mad_rubocop
|
|
77
76
|
licenses:
|
78
77
|
- MIT
|
79
78
|
metadata: {}
|
80
|
-
post_install_message:
|
79
|
+
post_install_message:
|
81
80
|
rdoc_options: []
|
82
81
|
require_paths:
|
83
82
|
- lib
|
@@ -92,10 +91,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
91
|
- !ruby/object:Gem::Version
|
93
92
|
version: '0'
|
94
93
|
requirements: []
|
95
|
-
rubyforge_project:
|
96
|
-
rubygems_version: 2.4.
|
97
|
-
signing_key:
|
94
|
+
rubyforge_project:
|
95
|
+
rubygems_version: 2.4.8
|
96
|
+
signing_key:
|
98
97
|
specification_version: 4
|
99
98
|
summary: Wrapper for MX specific RuboCop settings. https://twitter.com/madrubocop
|
100
99
|
test_files: []
|
101
|
-
has_rdoc:
|
100
|
+
has_rdoc:
|