hoe-reek 1.2.5 → 1.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +105 -101
- data/CONTRIBUTING.md +21 -25
- data/LICENSE.md +635 -635
- data/MAINTENANCE.md +18 -18
- data/README.md +74 -75
- data/lib/hoe/reek.rb +39 -39
- metadata +13 -15
data/MAINTENANCE.md
CHANGED
@@ -1,19 +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
|
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
19
|
hard to keep the update process simple and reliable.
|
data/README.md
CHANGED
@@ -1,76 +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
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
|
17
|
-
|downloads
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
This task will install any missing dependencies, run the tests/specs,
|
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,
|
76
75
|
and generate the RDoc.
|
data/lib/hoe/reek.rb
CHANGED
@@ -1,39 +1,39 @@
|
|
1
|
-
# @encoding: utf-8
|
2
|
-
# Copyright (C) 2013-
|
3
|
-
#
|
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/>.
|
16
|
-
|
17
|
-
# Dependencies
|
18
|
-
|
19
|
-
# Main module for hoe-reek
|
20
|
-
module Hoe::Reek
|
21
|
-
# Versionizing the gem
|
22
|
-
VERSION = '1.2.
|
23
|
-
|
24
|
-
#attr_accessor :reek
|
25
|
-
|
26
|
-
def initialize_reek
|
27
|
-
require 'reek/rake/task'
|
28
|
-
end
|
29
|
-
|
30
|
-
def define_reek_tasks
|
31
|
-
Reek::Rake::Task.new do |t|
|
32
|
-
t.config_file = 'config.reek'
|
33
|
-
t.source_files = 'lib/**/*.rb'
|
34
|
-
t.reek_opts = ''
|
35
|
-
t.fail_on_error = false
|
36
|
-
t.verbose = true
|
37
|
-
end
|
38
|
-
end
|
39
|
-
end
|
1
|
+
# @encoding: utf-8
|
2
|
+
# Copyright (C) 2013-2020 Sascha Manns <Sascha.Manns@outlook.de>
|
3
|
+
#
|
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/>.
|
16
|
+
|
17
|
+
# Dependencies
|
18
|
+
|
19
|
+
# Main module for hoe-reek
|
20
|
+
module Hoe::Reek
|
21
|
+
# Versionizing the gem
|
22
|
+
VERSION = '1.2.6'.freeze
|
23
|
+
|
24
|
+
#attr_accessor :reek
|
25
|
+
|
26
|
+
def initialize_reek
|
27
|
+
require 'reek/rake/task'
|
28
|
+
end
|
29
|
+
|
30
|
+
def define_reek_tasks
|
31
|
+
Reek::Rake::Task.new do |t|
|
32
|
+
t.config_file = 'config.reek'
|
33
|
+
t.source_files = 'lib/**/*.rb'
|
34
|
+
t.reek_opts = ''
|
35
|
+
t.fail_on_error = false
|
36
|
+
t.verbose = true
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
metadata
CHANGED
@@ -1,14 +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
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,70 +16,70 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '2.
|
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: '2.
|
26
|
+
version: '2.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: reek
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '6.0'
|
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: '
|
40
|
+
version: '6.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '13.0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '13.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rdoc
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '6.
|
61
|
+
version: '6.2'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '6.
|
68
|
+
version: '6.2'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: hoe
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '3.
|
75
|
+
version: '3.22'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '3.
|
82
|
+
version: '3.22'
|
83
83
|
description: " Tasks to integrate the reek code smell engine into your hoe projects\n"
|
84
84
|
email: Sascha.Manns@outlook.de
|
85
85
|
executables: []
|
@@ -105,7 +105,6 @@ metadata:
|
|
105
105
|
source_code_uri: https://github.com/saigkill/hoe-reek
|
106
106
|
documentation_uri: https://github.com/saigkill/hoe-reek/wiki
|
107
107
|
bug_tracker_uri: https://github.com/saigkill/hoe-reek/issues
|
108
|
-
mailing_list_uri: https://groups.google.com/forum/#!forum/saigkills-hoe-plugins
|
109
108
|
post_install_message: 'Please file bugreports on: https://github.com/saigkill/hoe-reek/issues'
|
110
109
|
rdoc_options: []
|
111
110
|
require_paths:
|
@@ -121,8 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
120
|
- !ruby/object:Gem::Version
|
122
121
|
version: '0'
|
123
122
|
requirements: []
|
124
|
-
|
125
|
-
rubygems_version: 2.7.6.2
|
123
|
+
rubygems_version: 3.0.3
|
126
124
|
signing_key:
|
127
125
|
specification_version: 4
|
128
126
|
summary: Tasks to integrate the reek code smell engine into your hoe projects
|