hoe-reek 1.2.2 → 1.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +81 -0
- data/CONTRIBUTING.md +25 -0
- data/LICENSE.md +636 -0
- data/MAINTENANCE.md +19 -0
- data/README.md +75 -0
- data/lib/hoe/reek.rb +14 -5
- metadata +34 -178
- data/Gemfile +0 -23
- data/Gemfile.lock +0 -103
- data/History.rdoc +0 -85
- data/LICENSE.rdoc +0 -619
- data/Manifest.txt +0 -9
- data/NEWS +0 -127
- data/README.rdoc +0 -154
- data/Rakefile +0 -51
- 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.7.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.7'.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.7
|
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-07-10 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: bundler
|
@@ -17,254 +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-rubygems
|
114
|
-
requirement: !ruby/object:Gem::Requirement
|
115
|
-
requirements:
|
116
|
-
- - "~>"
|
117
|
-
- !ruby/object:Gem::Version
|
118
|
-
version: '1.0'
|
119
|
-
type: :development
|
120
|
-
prerelease: false
|
121
|
-
version_requirements: !ruby/object:Gem::Requirement
|
122
|
-
requirements:
|
123
|
-
- - "~>"
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version: '1.0'
|
126
|
-
- !ruby/object:Gem::Dependency
|
127
|
-
name: hoe-travis
|
128
|
-
requirement: !ruby/object:Gem::Requirement
|
129
|
-
requirements:
|
130
|
-
- - "~>"
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
version: '1.3'
|
133
|
-
type: :development
|
134
|
-
prerelease: false
|
135
|
-
version_requirements: !ruby/object:Gem::Requirement
|
136
|
-
requirements:
|
137
|
-
- - "~>"
|
138
|
-
- !ruby/object:Gem::Version
|
139
|
-
version: '1.3'
|
140
|
-
- !ruby/object:Gem::Dependency
|
141
|
-
name: hoe-version
|
142
|
-
requirement: !ruby/object:Gem::Requirement
|
143
|
-
requirements:
|
144
|
-
- - "~>"
|
145
|
-
- !ruby/object:Gem::Version
|
146
|
-
version: '1.2'
|
147
|
-
type: :development
|
148
|
-
prerelease: false
|
149
|
-
version_requirements: !ruby/object:Gem::Requirement
|
150
|
-
requirements:
|
151
|
-
- - "~>"
|
152
|
-
- !ruby/object:Gem::Version
|
153
|
-
version: '1.2'
|
40
|
+
version: '6.0'
|
154
41
|
- !ruby/object:Gem::Dependency
|
155
42
|
name: rake
|
156
43
|
requirement: !ruby/object:Gem::Requirement
|
157
44
|
requirements:
|
158
45
|
- - "~>"
|
159
46
|
- !ruby/object:Gem::Version
|
160
|
-
version: '
|
47
|
+
version: '13.0'
|
161
48
|
type: :development
|
162
49
|
prerelease: false
|
163
50
|
version_requirements: !ruby/object:Gem::Requirement
|
164
51
|
requirements:
|
165
52
|
- - "~>"
|
166
53
|
- !ruby/object:Gem::Version
|
167
|
-
version: '
|
54
|
+
version: '13.0'
|
168
55
|
- !ruby/object:Gem::Dependency
|
169
56
|
name: rdoc
|
170
57
|
requirement: !ruby/object:Gem::Requirement
|
171
58
|
requirements:
|
172
59
|
- - "~>"
|
173
60
|
- !ruby/object:Gem::Version
|
174
|
-
version: '
|
175
|
-
type: :development
|
176
|
-
prerelease: false
|
177
|
-
version_requirements: !ruby/object:Gem::Requirement
|
178
|
-
requirements:
|
179
|
-
- - "~>"
|
180
|
-
- !ruby/object:Gem::Version
|
181
|
-
version: '5.1'
|
182
|
-
- !ruby/object:Gem::Dependency
|
183
|
-
name: rspec
|
184
|
-
requirement: !ruby/object:Gem::Requirement
|
185
|
-
requirements:
|
186
|
-
- - "~>"
|
187
|
-
- !ruby/object:Gem::Version
|
188
|
-
version: '3.7'
|
61
|
+
version: '6.2'
|
189
62
|
type: :development
|
190
63
|
prerelease: false
|
191
64
|
version_requirements: !ruby/object:Gem::Requirement
|
192
65
|
requirements:
|
193
66
|
- - "~>"
|
194
67
|
- !ruby/object:Gem::Version
|
195
|
-
version: '
|
68
|
+
version: '6.2'
|
196
69
|
- !ruby/object:Gem::Dependency
|
197
70
|
name: hoe
|
198
71
|
requirement: !ruby/object:Gem::Requirement
|
199
72
|
requirements:
|
200
73
|
- - "~>"
|
201
74
|
- !ruby/object:Gem::Version
|
202
|
-
version: '3.
|
75
|
+
version: '3.22'
|
203
76
|
type: :development
|
204
77
|
prerelease: false
|
205
78
|
version_requirements: !ruby/object:Gem::Requirement
|
206
79
|
requirements:
|
207
80
|
- - "~>"
|
208
81
|
- !ruby/object:Gem::Version
|
209
|
-
version: '3.
|
210
|
-
description:
|
211
|
-
|
212
|
-
|
213
|
-
The History.rdoc contains a detailed description on what has changed. For most
|
214
|
-
users the NEWS file might be a better place to look since it contains
|
215
|
-
change summaries between the different versions.
|
216
|
-
|
217
|
-
hoe-reek is released under the GPL3 License, see the file 'License.rdoc'
|
218
|
-
for more information.
|
219
|
-
|
220
|
-
The official web site is:
|
221
|
-
|
222
|
-
https://launchpad.net/hoe-reek
|
223
|
-
email:
|
224
|
-
- Sascha.Manns@mailbox.org
|
225
|
-
- 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
|
226
85
|
executables: []
|
227
86
|
extensions: []
|
228
87
|
extra_rdoc_files:
|
229
|
-
-
|
230
|
-
- LICENSE.
|
231
|
-
-
|
232
|
-
- README.
|
233
|
-
- STATUS.rdoc
|
88
|
+
- CHANGELOG.md
|
89
|
+
- LICENSE.md
|
90
|
+
- MAINTENANCE.md
|
91
|
+
- README.md
|
234
92
|
files:
|
235
|
-
-
|
236
|
-
-
|
237
|
-
-
|
238
|
-
-
|
239
|
-
-
|
240
|
-
- NEWS
|
241
|
-
- README.rdoc
|
242
|
-
- Rakefile
|
243
|
-
- STATUS.rdoc
|
93
|
+
- CHANGELOG.md
|
94
|
+
- CONTRIBUTING.md
|
95
|
+
- LICENSE.md
|
96
|
+
- MAINTENANCE.md
|
97
|
+
- README.md
|
244
98
|
- lib/hoe/reek.rb
|
245
|
-
homepage: https://
|
99
|
+
homepage: https://github.com/saigkill/hoe-reek
|
246
100
|
licenses:
|
247
101
|
- GPL-3.0
|
248
|
-
metadata:
|
249
|
-
|
250
|
-
|
251
|
-
-
|
252
|
-
|
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: []
|
253
110
|
require_paths:
|
254
111
|
- lib
|
255
112
|
required_ruby_version: !ruby/object:Gem::Requirement
|
256
113
|
requirements:
|
257
114
|
- - ">="
|
258
115
|
- !ruby/object:Gem::Version
|
259
|
-
version: 2.
|
116
|
+
version: 2.7.0
|
260
117
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
261
118
|
requirements:
|
262
119
|
- - ">="
|
263
120
|
- !ruby/object:Gem::Version
|
264
121
|
version: '0'
|
265
122
|
requirements: []
|
266
|
-
|
267
|
-
rubygems_version: 2.6.13
|
123
|
+
rubygems_version: 3.1.2
|
268
124
|
signing_key:
|
269
125
|
specification_version: 4
|
270
126
|
summary: Tasks to integrate the reek code smell engine into your hoe projects
|
data/Gemfile
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
# -*- ruby -*-
|
2
|
-
|
3
|
-
# DO NOT EDIT THIS FILE. Instead, edit Rakefile, and run `rake bundler:gemfile`.
|
4
|
-
|
5
|
-
source "https://rubygems.org/"
|
6
|
-
|
7
|
-
gem "bundler", "~>1.16"
|
8
|
-
gem "reek", "~>4.7"
|
9
|
-
|
10
|
-
gem "coveralls", "~>0.8", :group => [:development, :test]
|
11
|
-
gem "hoe-bundler", "~>1.3", :group => [:development, :test]
|
12
|
-
gem "hoe-doofus", "~>1.0", :group => [:development, :test]
|
13
|
-
gem "hoe-git", "~>1.6", :group => [:development, :test]
|
14
|
-
gem "hoe-manns", "~>1.6", :group => [:development, :test]
|
15
|
-
gem "hoe-rubygems", "~>1.0", :group => [:development, :test]
|
16
|
-
gem "hoe-travis", "~>1.3", :group => [:development, :test]
|
17
|
-
gem "hoe-version", "~>1.2", :group => [:development, :test]
|
18
|
-
gem "rake", "~>12.1", :group => [:development, :test]
|
19
|
-
gem "rdoc", "~>5.1", :group => [:development, :test]
|
20
|
-
gem "rspec", "~>3.7", :group => [:development, :test]
|
21
|
-
gem "hoe", "~>3.16", :group => [:development, :test]
|
22
|
-
|
23
|
-
# vim: syntax=ruby
|