hoe-rubocop 1.0.8 → 1.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +85 -0
- data/CONTRIBUTING.md +14 -14
- data/LICENSE.md +636 -0
- data/MAINTENANCE.md +19 -0
- data/README.md +78 -0
- data/lib/hoe/rubocop.rb +14 -6
- metadata +35 -231
- data/.autotest +0 -25
- data/.codeclimate.yml +0 -8
- data/.coveralls.yml +0 -2
- data/.gemnasium.yml +0 -5
- data/.rspec +0 -2
- data/.rubocop.yml +0 -38
- data/.scrutinizer.yml +0 -21
- data/.travis.yml +0 -29
- data/CODE_OF_CONDUCT.md +0 -17
- data/Gemfile +0 -26
- data/Gemfile.lock +0 -94
- data/History.rdoc +0 -54
- data/LICENSE.rdoc +0 -24
- data/Manifest.txt +0 -20
- data/README.rdoc +0 -92
- data/Rakefile +0 -61
- data/config.reek +0 -111
- data/data/hoe-rubocop/rubygems.png +0 -0
data/Rakefile
DELETED
@@ -1,61 +0,0 @@
|
|
1
|
-
# -*- ruby -*-
|
2
|
-
# Release:
|
3
|
-
# * update *.wiki markdown documentation for GitLab
|
4
|
-
# * enable :git
|
5
|
-
# * rake run_before_release
|
6
|
-
# * disable :git
|
7
|
-
# * Checkin
|
8
|
-
# * rake release
|
9
|
-
# * rake run_after_release
|
10
|
-
|
11
|
-
require 'rubygems'
|
12
|
-
require 'hoe'
|
13
|
-
|
14
|
-
Hoe.plugin :bundler
|
15
|
-
Hoe.plugin :doofus
|
16
|
-
Hoe.plugin :email
|
17
|
-
#Hoe.plugins.delete :git
|
18
|
-
Hoe.plugin :git
|
19
|
-
Hoe.plugin :history
|
20
|
-
Hoe.plugin :highline
|
21
|
-
Hoe.plugin :manns
|
22
|
-
Hoe.plugin :rdoc
|
23
|
-
Hoe.plugin :rubocop
|
24
|
-
Hoe.plugin :rubygems
|
25
|
-
Hoe.plugin :version
|
26
|
-
|
27
|
-
# rubocop:disable Metrics/LineLength
|
28
|
-
Hoe.spec 'hoe-rubocop' do
|
29
|
-
developer('Sascha Manns', 'Sascha.Manns@mailbox.org')
|
30
|
-
license 'MIT' # this should match the license in the README
|
31
|
-
require_ruby_version '>= 2.2.0'
|
32
|
-
|
33
|
-
email_to << 'ruby-talk@ruby-lang.org'
|
34
|
-
|
35
|
-
self.history_file = 'History.rdoc'
|
36
|
-
self.readme_file = 'README.rdoc'
|
37
|
-
self.extra_rdoc_files = FileList['*.rdoc'].to_a
|
38
|
-
self.post_install_message = 'Please file bugreports and feature requests on: https://github.com/saigkill/hoe-rubocop/issues'
|
39
|
-
|
40
|
-
dependency 'bundler', '~> 1.14'
|
41
|
-
dependency 'rubocop', '~> 0.47'
|
42
|
-
|
43
|
-
extra_dev_deps << ['hoe-bundler', '~> 1.3']
|
44
|
-
extra_dev_deps << ['hoe-deveiate', '~> 0.8']
|
45
|
-
extra_dev_deps << ['hoe-doofus', '~> 1.0']
|
46
|
-
extra_dev_deps << ['hoe-git', '~> 1.6']
|
47
|
-
extra_dev_deps << ['hoe-highline', '~> 0.2']
|
48
|
-
extra_dev_deps << ['hoe-manifest', '~> 0.1']
|
49
|
-
extra_dev_deps << ['hoe-manns', '~> 1.6']
|
50
|
-
extra_dev_deps << ['hoe-rubygems', '~> 1.0']
|
51
|
-
extra_dev_deps << ['hoe-seattlerb', '~> 1.3']
|
52
|
-
extra_dev_deps << ['hoe-version', '~> 1.2']
|
53
|
-
extra_dev_deps << ['parseconfig', '~> 1.0']
|
54
|
-
extra_dev_deps << ['rake', '~> 12.0']
|
55
|
-
extra_dev_deps << ['rspec', '~> 3.5']
|
56
|
-
end
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
# vim: syntax=ruby
|
data/config.reek
DELETED
@@ -1,111 +0,0 @@
|
|
1
|
-
---
|
2
|
-
Attribute:
|
3
|
-
enabled: false
|
4
|
-
exclude: []
|
5
|
-
BooleanParameter:
|
6
|
-
enabled: true
|
7
|
-
exclude: []
|
8
|
-
ClassVariable:
|
9
|
-
enabled: true
|
10
|
-
exclude: []
|
11
|
-
ControlParameter:
|
12
|
-
enabled: true
|
13
|
-
exclude: []
|
14
|
-
DataClump:
|
15
|
-
enabled: true
|
16
|
-
exclude: []
|
17
|
-
max_copies: 2
|
18
|
-
min_clump_size: 2
|
19
|
-
DuplicateMethodCall:
|
20
|
-
enabled: true
|
21
|
-
exclude: []
|
22
|
-
max_calls: 3
|
23
|
-
allow_calls: []
|
24
|
-
FeatureEnvy:
|
25
|
-
enabled: true
|
26
|
-
exclude: []
|
27
|
-
IrresponsibleModule:
|
28
|
-
enabled: true
|
29
|
-
exclude: []
|
30
|
-
LongParameterList:
|
31
|
-
enabled: true
|
32
|
-
exclude: []
|
33
|
-
max_params: 3
|
34
|
-
overrides:
|
35
|
-
initialize:
|
36
|
-
max_params: 5
|
37
|
-
LongYieldList:
|
38
|
-
enabled: true
|
39
|
-
exclude: []
|
40
|
-
max_params: 3
|
41
|
-
ModuleInitialize:
|
42
|
-
enabled: true
|
43
|
-
exclude: []
|
44
|
-
NestedIterators:
|
45
|
-
enabled: true
|
46
|
-
exclude: []
|
47
|
-
max_allowed_nesting: 1
|
48
|
-
ignore_iterators: []
|
49
|
-
NilCheck:
|
50
|
-
enabled: true
|
51
|
-
exclude: []
|
52
|
-
PrimaDonnaMethod:
|
53
|
-
enabled: true
|
54
|
-
exclude: []
|
55
|
-
RepeatedConditional:
|
56
|
-
enabled: true
|
57
|
-
exclude: []
|
58
|
-
max_ifs: 2
|
59
|
-
TooManyInstanceVariables:
|
60
|
-
enabled: true
|
61
|
-
exclude: []
|
62
|
-
max_instance_variables: 9
|
63
|
-
TooManyMethods:
|
64
|
-
enabled: true
|
65
|
-
exclude: []
|
66
|
-
max_methods: 25
|
67
|
-
TooManyStatements:
|
68
|
-
enabled: true
|
69
|
-
exclude:
|
70
|
-
- initialize
|
71
|
-
max_statements: 15
|
72
|
-
UncommunicativeMethodName:
|
73
|
-
enabled: true
|
74
|
-
exclude: []
|
75
|
-
reject:
|
76
|
-
- !ruby/regexp /^[a-z]$/
|
77
|
-
- !ruby/regexp /[0-9]$/
|
78
|
-
- !ruby/regexp /[A-Z]/
|
79
|
-
accept: []
|
80
|
-
UncommunicativeModuleName:
|
81
|
-
enabled: true
|
82
|
-
exclude: []
|
83
|
-
reject:
|
84
|
-
- !ruby/regexp /^.$/
|
85
|
-
- !ruby/regexp /[0-9]$/
|
86
|
-
accept:
|
87
|
-
- Inline::C
|
88
|
-
UncommunicativeParameterName:
|
89
|
-
enabled: true
|
90
|
-
exclude: []
|
91
|
-
reject:
|
92
|
-
- !ruby/regexp /^.$/
|
93
|
-
- !ruby/regexp /[0-9]$/
|
94
|
-
- !ruby/regexp /[A-Z]/
|
95
|
-
- !ruby/regexp /^_/
|
96
|
-
accept: []
|
97
|
-
UncommunicativeVariableName:
|
98
|
-
enabled: true
|
99
|
-
exclude: []
|
100
|
-
reject:
|
101
|
-
- !ruby/regexp /^.$/
|
102
|
-
- !ruby/regexp /[0-9]$/
|
103
|
-
- !ruby/regexp /[A-Z]/
|
104
|
-
accept:
|
105
|
-
- _
|
106
|
-
UnusedParameters:
|
107
|
-
enabled: true
|
108
|
-
exclude: []
|
109
|
-
UtilityFunction:
|
110
|
-
enabled: true
|
111
|
-
exclude: []
|
Binary file
|