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/MAINTENANCE.md
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# MAINTENANCE POLICY
|
2
|
+
|
3
|
+
I'm following the Semantic Versioning for its releases: (Major).(Minor).(Patch).
|
4
|
+
|
5
|
+
* Major version: Whenever there is something significant or any backwards
|
6
|
+
incompatible changes.
|
7
|
+
* Minor version: When new, backwards compatible functionality is introduced a
|
8
|
+
minor feature is introduced, or when a set of smaller features is rolled out.
|
9
|
+
* Patch number: When backwards compatible bug fixes are introduced that fix
|
10
|
+
incorrect behavior.
|
11
|
+
* The current stable release will receive security patches and bug fixes
|
12
|
+
(eg. 5.0 -> 5.0.1).
|
13
|
+
* Feature releases will mark the next supported stable release where the minor
|
14
|
+
version is increased numerically by increments of one (eg. 5.0 -> 5.1).
|
15
|
+
|
16
|
+
I encourage everyone to run the latest stable release to ensure that you can
|
17
|
+
easily upgrade to the most secure and feature rich experience. In order to
|
18
|
+
make sure you can easily run the most recent stable release, we are working
|
19
|
+
hard to keep the update process simple and reliable.
|
data/README.md
ADDED
@@ -0,0 +1,78 @@
|
|
1
|
+
# hoe-rubocop
|
2
|
+
|
3
|
+
|What | Where |
|
4
|
+
|-----|--------|
|
5
|
+
|code | https://github.com/saigkill/hoe-rubocop |
|
6
|
+
|rdoc | http://www.rubydoc.info/gems/hoe-rubocop |
|
7
|
+
|docs | https://github.com/saigkill/hoe-rubocop/wiki |
|
8
|
+
|bugs | https://github.com/saigkill/hoe-rubocop/issues |
|
9
|
+
|openhub statistics | https://www.openhub.net/p/hoe-rubocop |
|
10
|
+
|authors blog | https://saschamanns.de |
|
11
|
+
|min_rubyver | 2.3.0 |
|
12
|
+
|
13
|
+
| What | Status |
|
14
|
+
|-------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
15
|
+
|last public version | [![Last Version](https://badge.fury.io/rb/hoe-rubocop.png)](http://rubygems.org/gems/hoe-rubocop) |
|
16
|
+
|downloads latest | [![Downloads latest](https://img.shields.io/gem/dtv/hoe-rubocop.svg)](http://rubygems.org/gems/hoe-rubocop) |
|
17
|
+
|downloads all | [![Downloads all](https://img.shields.io/gem/dt/hoe-rubocop.svg)](http://rubygems.org/gems/hoe-rubocop) |
|
18
|
+
|continuous integration | [![continuous integration](https://github.com/saigkill/hoe-rubocop/workflows/RubyGem/badge.svg?branch=master&event=push)](https://github.)
|
19
|
+
|code quality | [![Maintainability](https://api.codeclimate.com/v1/badges/b86e5bce35fcf054090a/maintainability)](https://codeclimate.com/github/saigkill/hoe-rubocop/maintainability) |
|
20
|
+
|dependencies|[![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=saigkill/hoe-rubocop)](https://dependabot.com)
|
21
|
+
|security | [![Security](https://hakiri.io/github/saigkill/hoe-rubocop/master.svg)](https://hakiri.io/github/saigkill/hoe-rubocop/master) |
|
22
|
+
|vulnerabilities|[![Known Vulnerabilities](https://snyk.io/test/github/saigkill/hoe-rubocop/badge.svg?targetFile=Gemfile.lock)](https://snyk.io/test/github/saigkill/hoe-rubocop?targetFile=Gemfile.lock) |
|
23
|
+
|documentation quality | [![Documentation Quality](https://inch-ci.org/github/saigkill/hoe-rubocop.svg?branch=master)](https://inch-ci.org/github/saigkill/hoe-rubocop) |
|
24
|
+
|
25
|
+
## SCREENSHOT
|
26
|
+
|
27
|
+
[![Screenshot](https://saschamanns.de/img/screenshots/hoe-manns-screenshots.png)](https://github.com/saigkill/hoe-rubocop)
|
28
|
+
|
29
|
+
## DESCRIPTION:
|
30
|
+
|
31
|
+
This hoe plugin extends hoe for using some rake tasks to control rubocop.
|
32
|
+
|
33
|
+
The CHANGELOG.md contains a detailed description on what has changed.
|
34
|
+
|
35
|
+
hoe-rubocop is released under the GPL3 License, see the file 'License.md' for more information.
|
36
|
+
|
37
|
+
The official web site is:
|
38
|
+
|
39
|
+
https://github.com/saigkill/hoe-rubocop
|
40
|
+
|
41
|
+
## FEATURES:
|
42
|
+
|
43
|
+
* This plugin extends hoe for using some rake tasks to control rubocop.
|
44
|
+
|
45
|
+
This Gem was programmed and tested for Linux systems. If anyone would like to make the methods also fit for other OS,
|
46
|
+
i'm happy about Pull requests.
|
47
|
+
|
48
|
+
## SYNOPSIS:
|
49
|
+
|
50
|
+
Use in your Rakefile:
|
51
|
+
|
52
|
+
Hoe.plugin :rubocop
|
53
|
+
|
54
|
+
Hoe.spec 'yourproject' do
|
55
|
+
...
|
56
|
+
end
|
57
|
+
|
58
|
+
Also add hoe-rubocop to your requirements and recreate your Gemfile.
|
59
|
+
|
60
|
+
## REQUIREMENTS:
|
61
|
+
|
62
|
+
* rake
|
63
|
+
* rubocop
|
64
|
+
|
65
|
+
## INSTALL:
|
66
|
+
|
67
|
+
The installation is very easy.
|
68
|
+
|
69
|
+
gem install hoe-rubocop
|
70
|
+
|
71
|
+
## DEVELOPERS:
|
72
|
+
|
73
|
+
After checking out the source, run:
|
74
|
+
|
75
|
+
$ rake newb
|
76
|
+
|
77
|
+
This task will install any missing dependencies, run the tests/specs,
|
78
|
+
and generate the RDoc.
|
data/lib/hoe/rubocop.rb
CHANGED
@@ -1,17 +1,25 @@
|
|
1
|
-
# encoding: UTF-8
|
2
1
|
# @encoding: utf-8
|
3
|
-
#
|
4
|
-
# @abstract: hoe-rubocop
|
2
|
+
# Copyright (C) 2013-2020) Sascha Manns <Sascha.Manns@outlook.de>
|
5
3
|
#
|
6
|
-
#
|
7
|
-
# License
|
4
|
+
# This program is free software: you can redistribute it and/or modify
|
5
|
+
# it under the terms of the GNU General Public License as published by
|
6
|
+
# the Free Software Foundation, either version 3 of the License, or
|
7
|
+
# (at your option) any later version.
|
8
|
+
#
|
9
|
+
# This program is distributed in the hope that it will be useful,
|
10
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12
|
+
# GNU General Public License for more details.
|
13
|
+
#
|
14
|
+
# You should have received a copy of the GNU General Public License
|
15
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
8
16
|
|
9
17
|
# Dependencies
|
10
18
|
require 'fileutils'
|
11
19
|
|
12
20
|
# Main module for hoe-rubocop
|
13
21
|
module Hoe::Rubocop
|
14
|
-
VERSION = '1.0.
|
22
|
+
VERSION = '1.0.13!'
|
15
23
|
|
16
24
|
attr_accessor :rubocop
|
17
25
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hoe-rubocop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sascha Manns
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,294 +16,98 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1
|
19
|
+
version: '2.1'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1
|
26
|
+
version: '2.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0.
|
33
|
+
version: '0.86'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0.
|
40
|
+
version: '0.86'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name: hoe
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0.2'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0.2'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: hoe-bundler
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '1.3'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '1.3'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: hoe-deveiate
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0.8'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0.8'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: hoe-doofus
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '1.0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '1.0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: hoe-git
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - "~>"
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '1.6'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - "~>"
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '1.6'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: hoe-manifest
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "~>"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0.1'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - "~>"
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0.1'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: hoe-manns
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - "~>"
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '1.6'
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - "~>"
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '1.6'
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: hoe-rubygems
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - "~>"
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '1.0'
|
146
|
-
type: :development
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - "~>"
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '1.0'
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: hoe-seattlerb
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - "~>"
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '1.3'
|
160
|
-
type: :development
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - "~>"
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: '1.3'
|
167
|
-
- !ruby/object:Gem::Dependency
|
168
|
-
name: hoe-version
|
169
|
-
requirement: !ruby/object:Gem::Requirement
|
170
|
-
requirements:
|
171
|
-
- - "~>"
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: '1.2'
|
174
|
-
type: :development
|
175
|
-
prerelease: false
|
176
|
-
version_requirements: !ruby/object:Gem::Requirement
|
177
|
-
requirements:
|
178
|
-
- - "~>"
|
179
|
-
- !ruby/object:Gem::Version
|
180
|
-
version: '1.2'
|
181
|
-
- !ruby/object:Gem::Dependency
|
182
|
-
name: parseconfig
|
42
|
+
name: hoe
|
183
43
|
requirement: !ruby/object:Gem::Requirement
|
184
44
|
requirements:
|
185
45
|
- - "~>"
|
186
46
|
- !ruby/object:Gem::Version
|
187
|
-
version: '
|
188
|
-
type: :
|
47
|
+
version: '3.22'
|
48
|
+
type: :runtime
|
189
49
|
prerelease: false
|
190
50
|
version_requirements: !ruby/object:Gem::Requirement
|
191
51
|
requirements:
|
192
52
|
- - "~>"
|
193
53
|
- !ruby/object:Gem::Version
|
194
|
-
version: '
|
54
|
+
version: '3.22'
|
195
55
|
- !ruby/object:Gem::Dependency
|
196
56
|
name: rake
|
197
57
|
requirement: !ruby/object:Gem::Requirement
|
198
58
|
requirements:
|
199
59
|
- - "~>"
|
200
60
|
- !ruby/object:Gem::Version
|
201
|
-
version: '
|
61
|
+
version: '13.0'
|
202
62
|
type: :development
|
203
63
|
prerelease: false
|
204
64
|
version_requirements: !ruby/object:Gem::Requirement
|
205
65
|
requirements:
|
206
66
|
- - "~>"
|
207
67
|
- !ruby/object:Gem::Version
|
208
|
-
version: '
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
requirements:
|
213
|
-
- - "~>"
|
214
|
-
- !ruby/object:Gem::Version
|
215
|
-
version: '3.5'
|
216
|
-
type: :development
|
217
|
-
prerelease: false
|
218
|
-
version_requirements: !ruby/object:Gem::Requirement
|
219
|
-
requirements:
|
220
|
-
- - "~>"
|
221
|
-
- !ruby/object:Gem::Version
|
222
|
-
version: '3.5'
|
223
|
-
- !ruby/object:Gem::Dependency
|
224
|
-
name: rdoc
|
225
|
-
requirement: !ruby/object:Gem::Requirement
|
226
|
-
requirements:
|
227
|
-
- - "~>"
|
228
|
-
- !ruby/object:Gem::Version
|
229
|
-
version: '4.0'
|
230
|
-
type: :development
|
231
|
-
prerelease: false
|
232
|
-
version_requirements: !ruby/object:Gem::Requirement
|
233
|
-
requirements:
|
234
|
-
- - "~>"
|
235
|
-
- !ruby/object:Gem::Version
|
236
|
-
version: '4.0'
|
237
|
-
- !ruby/object:Gem::Dependency
|
238
|
-
name: hoe
|
239
|
-
requirement: !ruby/object:Gem::Requirement
|
240
|
-
requirements:
|
241
|
-
- - "~>"
|
242
|
-
- !ruby/object:Gem::Version
|
243
|
-
version: '3.16'
|
244
|
-
type: :development
|
245
|
-
prerelease: false
|
246
|
-
version_requirements: !ruby/object:Gem::Requirement
|
247
|
-
requirements:
|
248
|
-
- - "~>"
|
249
|
-
- !ruby/object:Gem::Version
|
250
|
-
version: '3.16'
|
251
|
-
description: This hoe plugin extends hoe for using some rake tasks to control rubocop.
|
252
|
-
email:
|
253
|
-
- Sascha.Manns@mailbox.org
|
68
|
+
version: '13.0'
|
69
|
+
description: " This hoe plugin extends hoe for using some rake tasks to control
|
70
|
+
rubocop.\n"
|
71
|
+
email: Sascha.Manns@outlook.de
|
254
72
|
executables: []
|
255
73
|
extensions: []
|
256
74
|
extra_rdoc_files:
|
257
|
-
-
|
258
|
-
-
|
259
|
-
-
|
260
|
-
-
|
261
|
-
- Manifest.txt
|
262
|
-
- README.rdoc
|
75
|
+
- CHANGELOG.md
|
76
|
+
- LICENSE.md
|
77
|
+
- MAINTENANCE.md
|
78
|
+
- README.md
|
263
79
|
files:
|
264
|
-
-
|
265
|
-
- ".codeclimate.yml"
|
266
|
-
- ".coveralls.yml"
|
267
|
-
- ".gemnasium.yml"
|
268
|
-
- ".rspec"
|
269
|
-
- ".rubocop.yml"
|
270
|
-
- ".scrutinizer.yml"
|
271
|
-
- ".travis.yml"
|
272
|
-
- CODE_OF_CONDUCT.md
|
80
|
+
- CHANGELOG.md
|
273
81
|
- CONTRIBUTING.md
|
274
|
-
-
|
275
|
-
-
|
276
|
-
-
|
277
|
-
- LICENSE.rdoc
|
278
|
-
- Manifest.txt
|
279
|
-
- README.rdoc
|
280
|
-
- Rakefile
|
281
|
-
- config.reek
|
282
|
-
- data/hoe-rubocop/rubygems.png
|
82
|
+
- LICENSE.md
|
83
|
+
- MAINTENANCE.md
|
84
|
+
- README.md
|
283
85
|
- lib/hoe/rubocop.rb
|
284
|
-
homepage:
|
86
|
+
homepage: https://github.com/saigkill/hoe-rubocop
|
285
87
|
licenses:
|
286
|
-
-
|
287
|
-
metadata:
|
288
|
-
|
289
|
-
|
290
|
-
-
|
291
|
-
|
88
|
+
- GPL-3.0
|
89
|
+
metadata:
|
90
|
+
homepage_uri: https://github.com/saigkill/hoe-rubocop
|
91
|
+
changelog_uri: https://github.com/saigkill/hoe-rubocop/blob/master/CHANGELOG.md
|
92
|
+
source_code_uri: https://github.com/saigkill/hoe-rubocop
|
93
|
+
documentation_uri: https://github.com/saigkill/hoe-rubocop/wiki
|
94
|
+
bug_tracker_uri: https://github.com/saigkill/hoe-rubocop/issues
|
95
|
+
post_install_message: 'Please file bugreports on: https://github.com/saigkill/hoe-rubocop/issues'
|
96
|
+
rdoc_options: []
|
292
97
|
require_paths:
|
293
98
|
- lib
|
294
99
|
required_ruby_version: !ruby/object:Gem::Requirement
|
295
100
|
requirements:
|
296
101
|
- - ">="
|
297
102
|
- !ruby/object:Gem::Version
|
298
|
-
version: 2.
|
103
|
+
version: 2.7.0
|
299
104
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
300
105
|
requirements:
|
301
106
|
- - ">="
|
302
107
|
- !ruby/object:Gem::Version
|
303
108
|
version: '0'
|
304
109
|
requirements: []
|
305
|
-
|
306
|
-
rubygems_version: 2.6.6
|
110
|
+
rubygems_version: 3.1.2
|
307
111
|
signing_key:
|
308
112
|
specification_version: 4
|
309
113
|
summary: This hoe plugin extends hoe for using some rake tasks to control rubocop.
|