hoe-reek 1.2.1 → 1.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/{History.rdoc → CHANGELOG.md} +38 -12
- data/CONTRIBUTING.md +21 -0
- data/LICENSE.md +636 -0
- data/MAINTENANCE.md +19 -0
- data/README.md +75 -0
- data/lib/hoe/reek.rb +14 -5
- metadata +35 -207
- data/Gemfile +0 -25
- data/Gemfile.lock +0 -122
- data/LICENSE.rdoc +0 -619
- data/Manifest.txt +0 -9
- data/NEWS +0 -63
- data/README.rdoc +0 -154
- data/Rakefile +0 -55
- data/STATUS.rdoc +0 -23
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,75 @@
|
|
1
|
+
# hoe-reek
|
2
|
+
|
3
|
+
|What | Where |
|
4
|
+
|-----|--------|
|
5
|
+
|code | https://github.com/saigkill/hoe-reek |
|
6
|
+
|docs | https://github.com/saigkill/hoe-reek/wiki |
|
7
|
+
|apidoc | http://www.rubydoc.info/gems/hoe-reek |
|
8
|
+
|bugs | https://github.com/saigkill/hoe-reek/issues |
|
9
|
+
|openhub statistics | https://www.openhub.net/p/hoe-reek |
|
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-reek.png)](http://rubygems.org/gems/hoe-reek)
|
16
|
+
|downloads latest | [![Downloads latest](https://img.shields.io/gem/dtv/hoe-reek.svg)](http://rubygems.org/gems/hoe-reek)
|
17
|
+
|downloads all | [![Downloads all](https://img.shields.io/gem/dt/hoe-reek.svg)](http://rubygems.org/gems/hoe-reek)
|
18
|
+
|code quality | [![Maintainability](https://api.codeclimate.com/v1/badges/47c41b9c432372b426a2/maintainability)](https://codeclimate.com/github/saigkill/hoe-reek/maintainability) |
|
19
|
+
|continuous integration | ![CI](https://github.com/saigkill/hoe-reek/workflows/CI/badge.svg?branch=master&event=push) |
|
20
|
+
|security | [![Security](https://hakiri.io/github/saigkill/hoe-reek/master.svg)](https://hakiri.io/github/saigkill/hoe-reek/master/shield) |
|
21
|
+
|vulnerabilities|[![Known Vulnerabilities](https://snyk.io/test/github/saigkill/hoe-reek/badge.svg?targetFile=Gemfile.lock)](https://snyk.io/test/github/saigkill/hoe-reek?targetFile=Gemfile.lock) |
|
22
|
+
|documentation quality | [![Documentation Quality](https://inch-ci.org/github/saigkill/hoe-reek.svg?branch=master)](https://inch-ci.org/github/saigkill/hoe-reek) |
|
23
|
+
|
24
|
+
## SCREENSHOT
|
25
|
+
|
26
|
+
[![Screenshot](https://saschamanns.de/img/screenshots/hoe-manns-screenshots.png)](https://github.com/saigkill/hoe-reek)
|
27
|
+
|
28
|
+
## DESCRIPTION:
|
29
|
+
|
30
|
+
Tasks to integrate the reek code smell engine into your hoe projects. This project continues erics project (https://github.com/erikh/hoe-reek).
|
31
|
+
|
32
|
+
The CHANGELOG.md contains a detailed description on what has changed.
|
33
|
+
|
34
|
+
hoe-reek is released under the GPL3 License, see the file 'LICENSE.md' for more information.
|
35
|
+
|
36
|
+
The official web site is:
|
37
|
+
|
38
|
+
https://github.com/saigkill/hoe-reek
|
39
|
+
|
40
|
+
## FEATURES:
|
41
|
+
|
42
|
+
* Integration of Reek into a hoe Rake task.
|
43
|
+
|
44
|
+
This Gem was programmed and tested for Linux systems. If anyone would like to make the methods also fit for other OS, i'm happy about Pull requests.
|
45
|
+
|
46
|
+
## SYNOPSIS:
|
47
|
+
|
48
|
+
Use in your Rakefile:
|
49
|
+
|
50
|
+
Hoe.plugin :reek
|
51
|
+
|
52
|
+
Hoe.spec 'yourproject' do
|
53
|
+
...
|
54
|
+
end
|
55
|
+
|
56
|
+
Also add hoe-reek to your requirements and recreate your Gemfile.
|
57
|
+
|
58
|
+
## REQUIREMENTS:
|
59
|
+
|
60
|
+
* reek
|
61
|
+
|
62
|
+
## INSTALL:
|
63
|
+
|
64
|
+
The installation is very easy.
|
65
|
+
|
66
|
+
gem install hoe-reek
|
67
|
+
|
68
|
+
## DEVELOPERS:
|
69
|
+
|
70
|
+
After checking out the source, run:
|
71
|
+
|
72
|
+
$ rake newb
|
73
|
+
|
74
|
+
This task will install any missing dependencies, run the tests/specs,
|
75
|
+
and generate the RDoc.
|
data/lib/hoe/reek.rb
CHANGED
@@ -1,16 +1,25 @@
|
|
1
1
|
# @encoding: utf-8
|
2
|
-
#
|
3
|
-
# @abstract: hoe-reek is a small reek integration into hoe
|
2
|
+
# Copyright (C) 2013-2020 Sascha Manns <Sascha.Manns@outlook.de>
|
4
3
|
#
|
5
|
-
#
|
6
|
-
# 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/>.
|
7
16
|
|
8
17
|
# Dependencies
|
9
18
|
|
10
19
|
# Main module for hoe-reek
|
11
20
|
module Hoe::Reek
|
12
21
|
# Versionizing the gem
|
13
|
-
VERSION = '1.2.
|
22
|
+
VERSION = '1.2.6'.freeze
|
14
23
|
|
15
24
|
#attr_accessor :reek
|
16
25
|
|
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hoe-reek
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sascha Manns
|
8
|
-
- Erik Hollensbe
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2020-06-27 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: bundler
|
@@ -17,282 +16,111 @@ dependencies:
|
|
17
16
|
requirements:
|
18
17
|
- - "~>"
|
19
18
|
- !ruby/object:Gem::Version
|
20
|
-
version: '1
|
19
|
+
version: '2.1'
|
21
20
|
type: :runtime
|
22
21
|
prerelease: false
|
23
22
|
version_requirements: !ruby/object:Gem::Requirement
|
24
23
|
requirements:
|
25
24
|
- - "~>"
|
26
25
|
- !ruby/object:Gem::Version
|
27
|
-
version: '1
|
26
|
+
version: '2.1'
|
28
27
|
- !ruby/object:Gem::Dependency
|
29
28
|
name: reek
|
30
29
|
requirement: !ruby/object:Gem::Requirement
|
31
30
|
requirements:
|
32
31
|
- - "~>"
|
33
32
|
- !ruby/object:Gem::Version
|
34
|
-
version: '
|
33
|
+
version: '6.0'
|
35
34
|
type: :runtime
|
36
35
|
prerelease: false
|
37
36
|
version_requirements: !ruby/object:Gem::Requirement
|
38
37
|
requirements:
|
39
38
|
- - "~>"
|
40
39
|
- !ruby/object:Gem::Version
|
41
|
-
version: '
|
42
|
-
- !ruby/object:Gem::Dependency
|
43
|
-
name: coveralls
|
44
|
-
requirement: !ruby/object:Gem::Requirement
|
45
|
-
requirements:
|
46
|
-
- - "~>"
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
version: '0.8'
|
49
|
-
type: :development
|
50
|
-
prerelease: false
|
51
|
-
version_requirements: !ruby/object:Gem::Requirement
|
52
|
-
requirements:
|
53
|
-
- - "~>"
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version: '0.8'
|
56
|
-
- !ruby/object:Gem::Dependency
|
57
|
-
name: hoe-bundler
|
58
|
-
requirement: !ruby/object:Gem::Requirement
|
59
|
-
requirements:
|
60
|
-
- - "~>"
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: '1.3'
|
63
|
-
type: :development
|
64
|
-
prerelease: false
|
65
|
-
version_requirements: !ruby/object:Gem::Requirement
|
66
|
-
requirements:
|
67
|
-
- - "~>"
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '1.3'
|
70
|
-
- !ruby/object:Gem::Dependency
|
71
|
-
name: hoe-doofus
|
72
|
-
requirement: !ruby/object:Gem::Requirement
|
73
|
-
requirements:
|
74
|
-
- - "~>"
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: '1.0'
|
77
|
-
type: :development
|
78
|
-
prerelease: false
|
79
|
-
version_requirements: !ruby/object:Gem::Requirement
|
80
|
-
requirements:
|
81
|
-
- - "~>"
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
version: '1.0'
|
84
|
-
- !ruby/object:Gem::Dependency
|
85
|
-
name: hoe-git
|
86
|
-
requirement: !ruby/object:Gem::Requirement
|
87
|
-
requirements:
|
88
|
-
- - "~>"
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
version: '1.6'
|
91
|
-
type: :development
|
92
|
-
prerelease: false
|
93
|
-
version_requirements: !ruby/object:Gem::Requirement
|
94
|
-
requirements:
|
95
|
-
- - "~>"
|
96
|
-
- !ruby/object:Gem::Version
|
97
|
-
version: '1.6'
|
98
|
-
- !ruby/object:Gem::Dependency
|
99
|
-
name: hoe-manns
|
100
|
-
requirement: !ruby/object:Gem::Requirement
|
101
|
-
requirements:
|
102
|
-
- - "~>"
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
version: '1.6'
|
105
|
-
type: :development
|
106
|
-
prerelease: false
|
107
|
-
version_requirements: !ruby/object:Gem::Requirement
|
108
|
-
requirements:
|
109
|
-
- - "~>"
|
110
|
-
- !ruby/object:Gem::Version
|
111
|
-
version: '1.6'
|
112
|
-
- !ruby/object:Gem::Dependency
|
113
|
-
name: hoe-reek
|
114
|
-
requirement: !ruby/object:Gem::Requirement
|
115
|
-
requirements:
|
116
|
-
- - "~>"
|
117
|
-
- !ruby/object:Gem::Version
|
118
|
-
version: '1.1'
|
119
|
-
type: :development
|
120
|
-
prerelease: false
|
121
|
-
version_requirements: !ruby/object:Gem::Requirement
|
122
|
-
requirements:
|
123
|
-
- - "~>"
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version: '1.1'
|
126
|
-
- !ruby/object:Gem::Dependency
|
127
|
-
name: hoe-rubocop
|
128
|
-
requirement: !ruby/object:Gem::Requirement
|
129
|
-
requirements:
|
130
|
-
- - "~>"
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
version: '1.0'
|
133
|
-
type: :development
|
134
|
-
prerelease: false
|
135
|
-
version_requirements: !ruby/object:Gem::Requirement
|
136
|
-
requirements:
|
137
|
-
- - "~>"
|
138
|
-
- !ruby/object:Gem::Version
|
139
|
-
version: '1.0'
|
140
|
-
- !ruby/object:Gem::Dependency
|
141
|
-
name: hoe-rubygems
|
142
|
-
requirement: !ruby/object:Gem::Requirement
|
143
|
-
requirements:
|
144
|
-
- - "~>"
|
145
|
-
- !ruby/object:Gem::Version
|
146
|
-
version: '1.0'
|
147
|
-
type: :development
|
148
|
-
prerelease: false
|
149
|
-
version_requirements: !ruby/object:Gem::Requirement
|
150
|
-
requirements:
|
151
|
-
- - "~>"
|
152
|
-
- !ruby/object:Gem::Version
|
153
|
-
version: '1.0'
|
154
|
-
- !ruby/object:Gem::Dependency
|
155
|
-
name: hoe-travis
|
156
|
-
requirement: !ruby/object:Gem::Requirement
|
157
|
-
requirements:
|
158
|
-
- - "~>"
|
159
|
-
- !ruby/object:Gem::Version
|
160
|
-
version: '1.3'
|
161
|
-
type: :development
|
162
|
-
prerelease: false
|
163
|
-
version_requirements: !ruby/object:Gem::Requirement
|
164
|
-
requirements:
|
165
|
-
- - "~>"
|
166
|
-
- !ruby/object:Gem::Version
|
167
|
-
version: '1.3'
|
168
|
-
- !ruby/object:Gem::Dependency
|
169
|
-
name: hoe-version
|
170
|
-
requirement: !ruby/object:Gem::Requirement
|
171
|
-
requirements:
|
172
|
-
- - "~>"
|
173
|
-
- !ruby/object:Gem::Version
|
174
|
-
version: '1.2'
|
175
|
-
type: :development
|
176
|
-
prerelease: false
|
177
|
-
version_requirements: !ruby/object:Gem::Requirement
|
178
|
-
requirements:
|
179
|
-
- - "~>"
|
180
|
-
- !ruby/object:Gem::Version
|
181
|
-
version: '1.2'
|
40
|
+
version: '6.0'
|
182
41
|
- !ruby/object:Gem::Dependency
|
183
42
|
name: rake
|
184
43
|
requirement: !ruby/object:Gem::Requirement
|
185
44
|
requirements:
|
186
45
|
- - "~>"
|
187
46
|
- !ruby/object:Gem::Version
|
188
|
-
version: '
|
47
|
+
version: '13.0'
|
189
48
|
type: :development
|
190
49
|
prerelease: false
|
191
50
|
version_requirements: !ruby/object:Gem::Requirement
|
192
51
|
requirements:
|
193
52
|
- - "~>"
|
194
53
|
- !ruby/object:Gem::Version
|
195
|
-
version: '
|
54
|
+
version: '13.0'
|
196
55
|
- !ruby/object:Gem::Dependency
|
197
56
|
name: rdoc
|
198
57
|
requirement: !ruby/object:Gem::Requirement
|
199
58
|
requirements:
|
200
59
|
- - "~>"
|
201
60
|
- !ruby/object:Gem::Version
|
202
|
-
version: '
|
203
|
-
type: :development
|
204
|
-
prerelease: false
|
205
|
-
version_requirements: !ruby/object:Gem::Requirement
|
206
|
-
requirements:
|
207
|
-
- - "~>"
|
208
|
-
- !ruby/object:Gem::Version
|
209
|
-
version: '5.1'
|
210
|
-
- !ruby/object:Gem::Dependency
|
211
|
-
name: rspec
|
212
|
-
requirement: !ruby/object:Gem::Requirement
|
213
|
-
requirements:
|
214
|
-
- - "~>"
|
215
|
-
- !ruby/object:Gem::Version
|
216
|
-
version: '3.7'
|
61
|
+
version: '6.2'
|
217
62
|
type: :development
|
218
63
|
prerelease: false
|
219
64
|
version_requirements: !ruby/object:Gem::Requirement
|
220
65
|
requirements:
|
221
66
|
- - "~>"
|
222
67
|
- !ruby/object:Gem::Version
|
223
|
-
version: '
|
68
|
+
version: '6.2'
|
224
69
|
- !ruby/object:Gem::Dependency
|
225
70
|
name: hoe
|
226
71
|
requirement: !ruby/object:Gem::Requirement
|
227
72
|
requirements:
|
228
73
|
- - "~>"
|
229
74
|
- !ruby/object:Gem::Version
|
230
|
-
version: '3.
|
75
|
+
version: '3.22'
|
231
76
|
type: :development
|
232
77
|
prerelease: false
|
233
78
|
version_requirements: !ruby/object:Gem::Requirement
|
234
79
|
requirements:
|
235
80
|
- - "~>"
|
236
81
|
- !ruby/object:Gem::Version
|
237
|
-
version: '3.
|
238
|
-
description:
|
239
|
-
|
240
|
-
|
241
|
-
The History.rdoc contains a detailed description on what has changed. For most
|
242
|
-
users the NEWS file might be a better place to look since it contains
|
243
|
-
change summaries between the different versions.
|
244
|
-
|
245
|
-
youtube_dlhelper is released under the GPL3 License, see the file 'License.rdoc'
|
246
|
-
for more information.
|
247
|
-
|
248
|
-
The official web site is:
|
249
|
-
|
250
|
-
https://launchpad.net/hoe-reek
|
251
|
-
email:
|
252
|
-
- Sascha.Manns@mailbox.org
|
253
|
-
- erik@hollensbe.org
|
82
|
+
version: '3.22'
|
83
|
+
description: " Tasks to integrate the reek code smell engine into your hoe projects\n"
|
84
|
+
email: Sascha.Manns@outlook.de
|
254
85
|
executables: []
|
255
86
|
extensions: []
|
256
87
|
extra_rdoc_files:
|
257
|
-
-
|
258
|
-
- LICENSE.
|
259
|
-
-
|
260
|
-
- README.
|
261
|
-
- STATUS.rdoc
|
88
|
+
- CHANGELOG.md
|
89
|
+
- LICENSE.md
|
90
|
+
- MAINTENANCE.md
|
91
|
+
- README.md
|
262
92
|
files:
|
263
|
-
-
|
264
|
-
-
|
265
|
-
-
|
266
|
-
-
|
267
|
-
-
|
268
|
-
- NEWS
|
269
|
-
- README.rdoc
|
270
|
-
- Rakefile
|
271
|
-
- STATUS.rdoc
|
93
|
+
- CHANGELOG.md
|
94
|
+
- CONTRIBUTING.md
|
95
|
+
- LICENSE.md
|
96
|
+
- MAINTENANCE.md
|
97
|
+
- README.md
|
272
98
|
- lib/hoe/reek.rb
|
273
|
-
homepage: https://
|
99
|
+
homepage: https://github.com/saigkill/hoe-reek
|
274
100
|
licenses:
|
275
|
-
-
|
276
|
-
metadata:
|
277
|
-
|
278
|
-
|
279
|
-
-
|
280
|
-
|
101
|
+
- GPL-3.0
|
102
|
+
metadata:
|
103
|
+
homepage_uri: https://github.com/saigkill/hoe-reek
|
104
|
+
changelog_uri: https://github.com/saigkill/hoe-reek/blob/master/CHANGELOG.md
|
105
|
+
source_code_uri: https://github.com/saigkill/hoe-reek
|
106
|
+
documentation_uri: https://github.com/saigkill/hoe-reek/wiki
|
107
|
+
bug_tracker_uri: https://github.com/saigkill/hoe-reek/issues
|
108
|
+
post_install_message: 'Please file bugreports on: https://github.com/saigkill/hoe-reek/issues'
|
109
|
+
rdoc_options: []
|
281
110
|
require_paths:
|
282
111
|
- lib
|
283
112
|
required_ruby_version: !ruby/object:Gem::Requirement
|
284
113
|
requirements:
|
285
114
|
- - ">="
|
286
115
|
- !ruby/object:Gem::Version
|
287
|
-
version: 2.
|
116
|
+
version: 2.3.0
|
288
117
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
289
118
|
requirements:
|
290
119
|
- - ">="
|
291
120
|
- !ruby/object:Gem::Version
|
292
121
|
version: '0'
|
293
122
|
requirements: []
|
294
|
-
|
295
|
-
rubygems_version: 2.6.13
|
123
|
+
rubygems_version: 3.0.3
|
296
124
|
signing_key:
|
297
125
|
specification_version: 4
|
298
126
|
summary: Tasks to integrate the reek code smell engine into your hoe projects
|