hoe-rubocop 1.0.7 → 1.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +82 -0
- data/CONTRIBUTING.md +14 -18
- data/LICENSE.md +636 -0
- data/MAINTENANCE.md +19 -0
- data/README.md +79 -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 -39
- 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 -48
- data/LICENSE.rdoc +0 -24
- data/Manifest.txt +0 -20
- data/README.rdoc +0 -92
- data/Rakefile +0 -71
- data/config.reek +0 -111
- data/data/hoe-rubocop/rubygems.png +0 -0
data/Rakefile
DELETED
@@ -1,71 +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 :deveiate # Enable deveiate plugin for generating manuals and send_email
|
16
|
-
Hoe.plugin :doofus
|
17
|
-
Hoe.plugin :email
|
18
|
-
#Hoe.plugin :gem_prelude_sucks
|
19
|
-
#Hoe.plugins.delete :git
|
20
|
-
#Hoe.plugin :git
|
21
|
-
Hoe.plugin :history
|
22
|
-
Hoe.plugin :highline
|
23
|
-
# Hoe.plugin :inline
|
24
|
-
#Hoe.plugin :manifest
|
25
|
-
Hoe.plugin :manns
|
26
|
-
# Hoe.plugin :mercurial
|
27
|
-
# Hoe.plugin :perforce
|
28
|
-
# Hoe.plugin :racc
|
29
|
-
# Hoe.plugin :rcov
|
30
|
-
Hoe.plugin :rdoc
|
31
|
-
Hoe.plugin :rubocop
|
32
|
-
Hoe.plugin :rubygems
|
33
|
-
# Hoe.plugin :seattlerb
|
34
|
-
Hoe.plugin :version
|
35
|
-
Hoe.plugin :website
|
36
|
-
|
37
|
-
# rubocop:disable Metrics/LineLength
|
38
|
-
Hoe.spec 'hoe-rubocop' do
|
39
|
-
developer('Sascha Manns', 'Sascha.Manns@mailbox.org')
|
40
|
-
license 'MIT' # this should match the license in the README
|
41
|
-
require_ruby_version '>= 2.2.0'
|
42
|
-
|
43
|
-
email_to << 'ruby-talk@ruby-lang.org'
|
44
|
-
|
45
|
-
self.history_file = 'History.rdoc'
|
46
|
-
self.readme_file = 'README.rdoc'
|
47
|
-
self.extra_rdoc_files = FileList['*.rdoc'].to_a
|
48
|
-
self.post_install_message = 'Please file bugreports and feature requests on: https://github.com/saigkill/hoe-rubocop/issues'
|
49
|
-
|
50
|
-
dependency 'bundler', '~> 1.11'
|
51
|
-
dependency 'rubocop', '~> 0.42'
|
52
|
-
|
53
|
-
extra_dev_deps << ['hoe-bundler', '~> 1.3']
|
54
|
-
extra_dev_deps << ['hoe-deveiate', '~> 0.7']
|
55
|
-
extra_dev_deps << ['hoe-doofus', '~> 1.0']
|
56
|
-
extra_dev_deps << ['hoe-git', '~> 1.6']
|
57
|
-
extra_dev_deps << ['hoe-highline', '~> 0.2']
|
58
|
-
extra_dev_deps << ['hoe-manifest', '~> 0.1']
|
59
|
-
extra_dev_deps << ['hoe-manns', '~> 1.5']
|
60
|
-
extra_dev_deps << ['hoe-rubygems', '~> 1.0']
|
61
|
-
extra_dev_deps << ['hoe-seattlerb', '~> 1.3']
|
62
|
-
extra_dev_deps << ['hoe-version', '~> 1.2']
|
63
|
-
extra_dev_deps << ['parseconfig', '~> 1.0']
|
64
|
-
extra_dev_deps << ['rake', '~> 11.2']
|
65
|
-
extra_dev_deps << ['rspec', '~> 3.5']
|
66
|
-
end
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
# 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
|