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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 929f8f004eab60c17c6b84f15b21f38332ed7cb5
4
- data.tar.gz: 64237c17924467e3a65c21a6134445860703cc5e
3
+ metadata.gz: 770a4af59b056e1875895aad47b5bbe6da5b776e
4
+ data.tar.gz: 108f7db13d3f5ebc5443d625f966efa934df7fc0
5
5
  SHA512:
6
- metadata.gz: 0f0e320485fe1a7fc4b71f81b56ab2db9097fa8136d64fa466626d61137c5c9e10298d56dd51a4425ea41fa755d038d009f74263bb8ca67318a5912b78d0c1cd
7
- data.tar.gz: 2be0a4047b364a962a54c897ee4c4aaf32270569a878b7713b33510c2909460ab050876b01ab037aa3d1f68a4796ee55a5de673d139ca0b0bbd7beec89a91049
6
+ metadata.gz: 1ada18fc028951191cc5bcd6e1b0b0bb382e0cf5dd1a90ef60b36ed5be27f997b5d80cc1e51a119dc85f354d398ec66c2158ff6b80d326a76de7c6070b3d61c0
7
+ data.tar.gz: a04cc6c1c27270b0f65638e4faf92569e7514072bbb036c6a5580b3bfca1320e35511bc1ee4839f7dc5465d183c6a12f39224b9be4c9bf75e7859f0f834d2928
data/.rubocop.yml CHANGED
@@ -3,5 +3,6 @@ inherit_from:
3
3
  - lib/disabled_cops.yml
4
4
 
5
5
  AllCops:
6
- RunRailsCops: true
7
6
  DisplayCopNames: true
7
+ Rails:
8
+ Enabled: true
@@ -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: # do we want this cop disabled?
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/TrailingComma:
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
@@ -1,3 +1,3 @@
1
1
  module MadRubocop
2
- VERSION = "1.0.0"
2
+ VERSION = "2.0.0"
3
3
  end
@@ -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.35.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: 1.0.0
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-17 00:00:00.000000000 Z
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.35.0
20
- type: :runtime
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.35.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
- type: :development
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
- type: :development
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.5
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: