hoe-reek 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CODE_OF_CONDUCT.rdoc +26 -0
- data/CONTRIBUTING.md +13 -0
- data/DEVELOPING.rdoc +25 -0
- data/Gemfile +19 -23
- data/Gemfile.lock +22 -39
- data/History.rdoc +6 -0
- data/MAINTENANCE.rdoc +19 -0
- data/Manifest.txt +4 -0
- data/NEWS +59 -0
- data/README.rdoc +18 -97
- data/Rakefile +36 -15
- data/lib/hoe/reek.rb +39 -30
- metadata +25 -75
- data/STATUS.rdoc +0 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: e1686a680e9a93a5cdc0a39708b84d79bdf801156909ffacc9d7a2fbf86843e4
|
4
|
+
data.tar.gz: cb9838984f0a91df6142eac58d14e3c58ff96d0d1d034a9ce81f2150412cf23c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a7d72f031ee66ae10a8a84ae07265c0c28151cd262ba138117dbd71a8ca9b2366f061b4c3d5a7f1226ab249ee63cef20364df7d6f7c3739402a60dd8c6d5950
|
7
|
+
data.tar.gz: d65465affcd3f5950a966e2c750fdfb21db22091835692336f18ca030abc0844e872ca96abc1ff7312cb08c5be2f64169af68b5a16de31ad1515ad6b366dfcee
|
@@ -0,0 +1,26 @@
|
|
1
|
+
= CONTRIBUTOR CODE OF CONDUCT:
|
2
|
+
As contributors and maintainers of this project, we pledge to respect all
|
3
|
+
people who contribute through reporting issues, posting feature requests,
|
4
|
+
updating documentation, submitting pull requests or patches, and other
|
5
|
+
activities.
|
6
|
+
|
7
|
+
We are committed to making participation in this project a harassment-free
|
8
|
+
experience for everyone, regardless of level of experience, gender, gender
|
9
|
+
identity and expression, sexual orientation, disability, personal
|
10
|
+
appearance, body size, race, age, or religion.
|
11
|
+
|
12
|
+
Examples of unacceptable behavior by participants include the use of sexual
|
13
|
+
language or imagery, derogatory comments or personal attacks, trolling,
|
14
|
+
public or private harassment, insults, or other unprofessional conduct.
|
15
|
+
|
16
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
17
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
18
|
+
that are not aligned to this Code of Conduct. Project maintainers who do
|
19
|
+
not follow the Code of Conduct may be removed from the project team.
|
20
|
+
|
21
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
22
|
+
reported by opening an issue or contacting one or more of the project
|
23
|
+
maintainers.
|
24
|
+
|
25
|
+
This Code of Conduct is adapted from the {Contributor Covenant}[http:contributor-covenant.org],
|
26
|
+
version 1.0.0, available at {http://contributor-covenant.org/version/1/0/0/}[http://contributor-covenant.org/version/1/0/0/].
|
data/CONTRIBUTING.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# How to Contribute to hoe-reek
|
2
|
+
|
3
|
+
:+1::tada: First off, thanks for taking the time to contribute! :tada::+1:
|
4
|
+
|
5
|
+
## Reporting Bugs
|
6
|
+
|
7
|
+
* Ensure the bug was not already reported, see the
|
8
|
+
[hoe-reek Issue Tracker](https://github.com/saigkill/hoe-reek/issues) on GitHub.
|
9
|
+
* Open an issue or reference an existing one
|
10
|
+
* Assign yourself to the issue when you are working on it
|
11
|
+
* Reference the issue number (with `#NUMBER`) in your pull request
|
12
|
+
|
13
|
+
Thanks! :heart: :heart: :heart:
|
data/DEVELOPING.rdoc
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
= IDEAS:
|
2
|
+
|
3
|
+
* Add ideas on: https://github.com/saigkill/hoe-reek/issues
|
4
|
+
|
5
|
+
= COOL HACKS:
|
6
|
+
|
7
|
+
* Open a bugreport on https://github.com/saigkill/hoe-reek/issues.
|
8
|
+
* Please use the -u flag when generating the patch as it makes the patch
|
9
|
+
more readable.
|
10
|
+
* Write a good explanation of what the patch does.
|
11
|
+
* It is better to use git format-patch command: git format-patch HEAD^
|
12
|
+
|
13
|
+
= STRUCTURE:
|
14
|
+
|
15
|
+
== BRANCHES:
|
16
|
+
|
17
|
+
=== `master` BRANCH:
|
18
|
+
The master branch is the last stable version.
|
19
|
+
|
20
|
+
=== `develop` BRANCH:
|
21
|
+
The develop branch is the current edge of development.
|
22
|
+
|
23
|
+
=== PULL REQUESTS:
|
24
|
+
Please base all Pullrequests off the `develop` branch. Merges to
|
25
|
+
`X.X` only occur through the `develop` branch.
|
data/Gemfile
CHANGED
@@ -1,23 +1,19 @@
|
|
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.
|
9
|
-
|
10
|
-
gem "coveralls", "~>0.8", :group => [:development, :test]
|
11
|
-
gem "hoe-bundler", "~>1.
|
12
|
-
gem "hoe-
|
13
|
-
gem "hoe-
|
14
|
-
gem "
|
15
|
-
gem "
|
16
|
-
gem "
|
17
|
-
gem "hoe
|
18
|
-
|
19
|
-
|
20
|
-
gem "rspec", "~>3.7", :group => [:development, :test]
|
21
|
-
gem "hoe", "~>3.16", :group => [:development, :test]
|
22
|
-
|
23
|
-
# vim: syntax=ruby
|
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.8"
|
9
|
+
|
10
|
+
gem "coveralls", "~>0.8", :group => [:development, :test]
|
11
|
+
gem "hoe-bundler", "~>1.4", :group => [:development, :test]
|
12
|
+
gem "hoe-rubygems", "~>1.0", :group => [:development, :test]
|
13
|
+
gem "hoe-version", "~>1.2", :group => [:development, :test]
|
14
|
+
gem "rake", "~>12.3", :group => [:development, :test]
|
15
|
+
gem "rdoc", "~>6.0", :group => [:development, :test]
|
16
|
+
gem "rspec", "~>3.7", :group => [:development, :test]
|
17
|
+
gem "hoe", "~>3.17", :group => [:development, :test]
|
18
|
+
|
19
|
+
# vim: syntax=ruby
|
data/Gemfile.lock
CHANGED
@@ -1,15 +1,12 @@
|
|
1
1
|
GEM
|
2
2
|
remote: https://rubygems.org/
|
3
3
|
specs:
|
4
|
-
ast (2.
|
4
|
+
ast (2.4.0)
|
5
5
|
axiom-types (0.1.1)
|
6
6
|
descendants_tracker (~> 0.0.4)
|
7
7
|
ice_nine (~> 0.11.0)
|
8
8
|
thread_safe (~> 0.3, >= 0.3.1)
|
9
|
-
|
10
|
-
bundler (~> 1.2)
|
11
|
-
thor (~> 0.18)
|
12
|
-
codeclimate-engine-rb (0.4.0)
|
9
|
+
codeclimate-engine-rb (0.4.1)
|
13
10
|
virtus (~> 1.0)
|
14
11
|
coercible (1.0.0)
|
15
12
|
descendants_tracker (~> 0.0.1)
|
@@ -24,38 +21,27 @@ GEM
|
|
24
21
|
diff-lcs (1.3)
|
25
22
|
docile (1.1.5)
|
26
23
|
equalizer (0.0.11)
|
27
|
-
hoe (3.
|
24
|
+
hoe (3.17.0)
|
28
25
|
rake (>= 0.8, < 13.0)
|
29
|
-
hoe-bundler (1.
|
30
|
-
hoe (>= 2.2.0)
|
31
|
-
hoe-doofus (1.0.0)
|
32
|
-
hoe-git (1.6.0)
|
33
|
-
hoe-manns (1.6.2)
|
34
|
-
bundler-audit (~> 0.5)
|
35
|
-
parseconfig (~> 1.0)
|
36
|
-
rainbow (~> 2.2)
|
26
|
+
hoe-bundler (1.4.0)
|
37
27
|
hoe-rubygems (1.0.0)
|
38
|
-
hoe-travis (1.3.1)
|
39
|
-
hoe (~> 3.0)
|
40
28
|
hoe-version (1.2.0)
|
41
29
|
ice_nine (0.11.2)
|
42
30
|
json (2.1.0)
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
rdoc (5.1.0)
|
50
|
-
reek (4.7.3)
|
31
|
+
parser (2.5.1.0)
|
32
|
+
ast (~> 2.4.0)
|
33
|
+
rainbow (3.0.0)
|
34
|
+
rake (12.3.1)
|
35
|
+
rdoc (6.0.3)
|
36
|
+
reek (4.8.1)
|
51
37
|
codeclimate-engine-rb (~> 0.4.0)
|
52
|
-
parser (>= 2.
|
53
|
-
rainbow (
|
38
|
+
parser (>= 2.5.0.0, < 2.6)
|
39
|
+
rainbow (>= 2.0, < 4.0)
|
54
40
|
rspec (3.7.0)
|
55
41
|
rspec-core (~> 3.7.0)
|
56
42
|
rspec-expectations (~> 3.7.0)
|
57
43
|
rspec-mocks (~> 3.7.0)
|
58
|
-
rspec-core (3.7.
|
44
|
+
rspec-core (3.7.1)
|
59
45
|
rspec-support (~> 3.7.0)
|
60
46
|
rspec-expectations (3.7.0)
|
61
47
|
diff-lcs (>= 1.2.0, < 2.0)
|
@@ -63,7 +49,7 @@ GEM
|
|
63
49
|
rspec-mocks (3.7.0)
|
64
50
|
diff-lcs (>= 1.2.0, < 2.0)
|
65
51
|
rspec-support (~> 3.7.0)
|
66
|
-
rspec-support (3.7.
|
52
|
+
rspec-support (3.7.1)
|
67
53
|
simplecov (0.14.1)
|
68
54
|
docile (~> 1.1.0)
|
69
55
|
json (>= 1.8, < 3)
|
@@ -73,7 +59,7 @@ GEM
|
|
73
59
|
tins (~> 1.0)
|
74
60
|
thor (0.19.4)
|
75
61
|
thread_safe (0.3.6)
|
76
|
-
tins (1.
|
62
|
+
tins (1.16.3)
|
77
63
|
virtus (1.0.5)
|
78
64
|
axiom-types (~> 0.1)
|
79
65
|
coercible (~> 1.0)
|
@@ -82,22 +68,19 @@ GEM
|
|
82
68
|
|
83
69
|
PLATFORMS
|
84
70
|
ruby
|
71
|
+
x64-mingw32
|
85
72
|
|
86
73
|
DEPENDENCIES
|
87
74
|
bundler (~> 1.16)
|
88
75
|
coveralls (~> 0.8)
|
89
|
-
hoe (~> 3.
|
90
|
-
hoe-bundler (~> 1.
|
91
|
-
hoe-doofus (~> 1.0)
|
92
|
-
hoe-git (~> 1.6)
|
93
|
-
hoe-manns (~> 1.6)
|
76
|
+
hoe (~> 3.17)
|
77
|
+
hoe-bundler (~> 1.4)
|
94
78
|
hoe-rubygems (~> 1.0)
|
95
|
-
hoe-travis (~> 1.3)
|
96
79
|
hoe-version (~> 1.2)
|
97
|
-
rake (~> 12.
|
98
|
-
rdoc (~>
|
99
|
-
reek (~> 4.
|
80
|
+
rake (~> 12.3)
|
81
|
+
rdoc (~> 6.0)
|
82
|
+
reek (~> 4.8)
|
100
83
|
rspec (~> 3.7)
|
101
84
|
|
102
85
|
BUNDLED WITH
|
103
|
-
1.16.
|
86
|
+
1.16.1
|
data/History.rdoc
CHANGED
data/MAINTENANCE.rdoc
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/Manifest.txt
CHANGED
data/NEWS
CHANGED
@@ -1,3 +1,62 @@
|
|
1
|
+
===============================================================================
|
2
|
+
hoe-reek 1.2.3 - 2018-04-28
|
3
|
+
===============================================================================
|
4
|
+
|
5
|
+
hoe-reek 1.2.3 is the culmination of one days' work by 1 developer.
|
6
|
+
|
7
|
+
New Features:
|
8
|
+
|
9
|
+
* Nothing yet
|
10
|
+
|
11
|
+
|
12
|
+
Enhancements:
|
13
|
+
|
14
|
+
* Nothing yet
|
15
|
+
|
16
|
+
|
17
|
+
Notable Bugs Fixed:
|
18
|
+
|
19
|
+
* Updated dependency (reek)
|
20
|
+
* Updated documentaion
|
21
|
+
|
22
|
+
===============================================================================
|
23
|
+
SOURCES / PACKAGES
|
24
|
+
===============================================================================
|
25
|
+
|
26
|
+
Packages
|
27
|
+
--------
|
28
|
+
|
29
|
+
Download and installation information is available here:
|
30
|
+
|
31
|
+
* http://saigkill.tuxfamily.org/wordpress/projects/hoe-reek/
|
32
|
+
|
33
|
+
Gems:
|
34
|
+
|
35
|
+
* https://rubygems.org/gems/hoe-reek
|
36
|
+
|
37
|
+
===============================================================================
|
38
|
+
REPORT BUGS - HELP THE PROJECT - GROW THE COMMUNITY
|
39
|
+
===============================================================================
|
40
|
+
|
41
|
+
If you encounter any bad behavior with this release, please do not
|
42
|
+
hesitate to file bugs!
|
43
|
+
|
44
|
+
* https://github.com/saigkill/hoe-reek/issues
|
45
|
+
|
46
|
+
|
47
|
+
===============================================================================
|
48
|
+
VALUED HOE-REEK CONTRIBUTORS
|
49
|
+
===============================================================================
|
50
|
+
|
51
|
+
Contributors For This Release
|
52
|
+
-----------------------------
|
53
|
+
|
54
|
+
The following people directly contributed to the release of this version
|
55
|
+
of hoe-reek. Without their help, there would be no release!
|
56
|
+
|
57
|
+
Sascha Manns
|
58
|
+
|
59
|
+
|
1
60
|
===============================================================================
|
2
61
|
hoe-reek 1.2.2 - 2017-11-06
|
3
62
|
===============================================================================
|
data/README.rdoc
CHANGED
@@ -1,17 +1,22 @@
|
|
1
1
|
= hoe-reek
|
2
2
|
|
3
|
-
code :: https://
|
4
|
-
docs :: https://saigkill.
|
3
|
+
code :: https://github.com/saigkill/hoe-reek
|
4
|
+
docs :: https://saigkill.tuxfamily.org/documentation/hoe-reek
|
5
5
|
apidoc :: http://www.rubydoc.info/gems/hoe-reek
|
6
|
-
bugs :: https://
|
7
|
-
questions :: https://
|
8
|
-
feature requests :: https://blueprints.launchpad.net/hoe-reek
|
6
|
+
bugs :: https://github.com/saigkill/hoe-reek/issues
|
7
|
+
questions :: https://groups.google.com/forum/#!forum/saigkills-hoe-plugins
|
9
8
|
openhub statistics :: https://www.openhub.net/p/hoe-reek
|
10
9
|
authors blog :: https://saigkill.tuxfamily.org
|
11
|
-
min. rubyver :: 2.
|
10
|
+
min. rubyver :: 2.3.0
|
12
11
|
|
13
|
-
|
14
|
-
|
12
|
+
last public version :: {<img src="https://badge.fury.io/rb/hoe-reek.png" alt="Last Version" />}[http://rubygems.org/gems/hoe-reek]
|
13
|
+
downloads latest :: {<img src="https://img.shields.io/gem/dtv/hoe-reek.svg" alt="Downloads latest version" />}[http://rubygems.org/gems/hoe-reek]
|
14
|
+
downloads all :: {<img src="https://img.shields.io/gem/dt/hoe-reek.svg" alt="Downloads all versions" />}[http://rubygems.org/gems/hoe-reek]
|
15
|
+
code quality :: {<img src="https://scrutinizer-ci.com/g/saigkill/hoe-reek/badges/quality-score.png?b=master" />}[https://scrutinizer-ci.com/g/saigkill/hoe-reek/]
|
16
|
+
code quality :: {<img src="https://api.codeclimate.com/v1/badges/47c41b9c432372b426a2/maintainability" alt="Code Quality" />}[https://codeclimate.com/github/saigkill/hoe-reek/maintainability]
|
17
|
+
security :: {<img src="https://hakiri.io/github/saigkill/hoe-reek/master.svg" alt="security" />}[https://hakiri.io/github/saigkill/hoe-reek/master]
|
18
|
+
dependency check :: {<img src="https://gemnasium.com/saigkill/hoe-reek.svg" alt="Dependency Status" />}[https://gemnasium.com/saigkill/hoe-reek]
|
19
|
+
documentation quality :: {<img src="http://inch-ci.org/github/saigkill/hoe-reek.svg?branch=master" alt="Documentation Quality" />}[http://inch-ci.org/github/saigkill/hoe-reek]
|
15
20
|
|
16
21
|
== DESCRIPTION:
|
17
22
|
|
@@ -26,17 +31,14 @@ for more information.
|
|
26
31
|
|
27
32
|
The official web site is:
|
28
33
|
|
29
|
-
https://
|
34
|
+
https://github.com/saigkill/hoe-reek
|
30
35
|
|
31
|
-
== FEATURES
|
36
|
+
== FEATURES:
|
32
37
|
|
33
38
|
* Integration of Reek into a hoe Rake task.
|
34
39
|
|
35
40
|
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.
|
36
41
|
|
37
|
-
See the {FAQs}[https://answers.launchpad.net/hoe-reek/+faqs] for checking known issues.
|
38
|
-
See the {status}[https://github.com/saigkill/hoe-reek/blob/master/STATUS.rdoc] of the app.
|
39
|
-
|
40
42
|
== SYNOPSIS:
|
41
43
|
|
42
44
|
Use in your Rakefile:
|
@@ -49,7 +51,7 @@ Use in your Rakefile:
|
|
49
51
|
|
50
52
|
Also add hoe-reek to your requirements and recreate your Gemfile.
|
51
53
|
|
52
|
-
Read the documentation at: https://saigkill.
|
54
|
+
Read the documentation at: https://saigkill.tuxfamily.org/documentation/hoe-reek
|
53
55
|
|
54
56
|
== REQUIREMENTS:
|
55
57
|
|
@@ -61,7 +63,7 @@ The installation is very easy.
|
|
61
63
|
|
62
64
|
gem install hoe-reek
|
63
65
|
|
64
|
-
Read the documentation at: https://saigkill.
|
66
|
+
Read the documentation at: https://saigkill.tuxfamily.org/documentation/hoe-reek
|
65
67
|
|
66
68
|
== DEVELOPERS:
|
67
69
|
|
@@ -70,85 +72,4 @@ After checking out the source, run:
|
|
70
72
|
$ rake newb
|
71
73
|
|
72
74
|
This task will install any missing dependencies, run the tests/specs,
|
73
|
-
and generate the RDoc.
|
74
|
-
|
75
|
-
=== IDEAS:
|
76
|
-
|
77
|
-
* Add ideas on: https://blueprints.launchpad.net/hoe-reek
|
78
|
-
|
79
|
-
=== COOL HACKS:
|
80
|
-
|
81
|
-
* Open a bugreport on https://bugs.launchpad.net/hoe-reek.
|
82
|
-
* Please use the -u flag when generating the patch as it makes the patch
|
83
|
-
more readable.
|
84
|
-
* Write a good explanation of what the patch does.
|
85
|
-
* It is better to use git format-patch command: git format-patch HEAD^
|
86
|
-
|
87
|
-
=== CONTRIBUTOR CODE OF CONDUCT:
|
88
|
-
|
89
|
-
As contributors and maintainers of this project, we pledge to respect all
|
90
|
-
people who contribute through reporting issues, posting feature requests,
|
91
|
-
updating documentation, submitting pull requests or patches, and other
|
92
|
-
activities.
|
93
|
-
|
94
|
-
We are committed to making participation in this project a harassment-free
|
95
|
-
experience for everyone, regardless of level of experience, gender, gender
|
96
|
-
identity and expression, sexual orientation, disability, personal
|
97
|
-
appearance, body size, race, age, or religion.
|
98
|
-
|
99
|
-
Examples of unacceptable behavior by participants include the use of sexual
|
100
|
-
language or imagery, derogatory comments or personal attacks, trolling,
|
101
|
-
public or private harassment, insults, or other unprofessional conduct.
|
102
|
-
|
103
|
-
Project maintainers have the right and responsibility to remove, edit, or
|
104
|
-
reject comments, commits, code, wiki edits, issues, and other contributions
|
105
|
-
that are not aligned to this Code of Conduct. Project maintainers who do
|
106
|
-
not follow the Code of Conduct may be removed from the project team.
|
107
|
-
|
108
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
109
|
-
reported by opening an issue or contacting one or more of the project
|
110
|
-
maintainers.
|
111
|
-
|
112
|
-
This Code of Conduct is adapted from the {Contributor Covenant}[http:contributor-covenant.org],
|
113
|
-
version 1.0.0, available at {http://contributor-covenant.org/version/1/0/0/}[http://contributor-covenant.org/version/1/0/0/].
|
114
|
-
|
115
|
-
=== MAINTANANCE POLICY:
|
116
|
-
|
117
|
-
I'm following the Semantic Versioning for its releases: (Major).(Minor).(Patch).
|
118
|
-
|
119
|
-
* Major version: Whenever there is something significant or any backwards
|
120
|
-
incompatible changes.
|
121
|
-
* Minor version: When new, backwards compatible functionality is introduced a
|
122
|
-
minor feature is introduced, or when a set of smaller features is rolled out.
|
123
|
-
* Patch number: When backwards compatible bug fixes are introduced that fix
|
124
|
-
incorrect behavior.
|
125
|
-
* The current stable release will receive security patches and bug fixes
|
126
|
-
(eg. 5.0 -> 5.0.1).
|
127
|
-
* Feature releases will mark the next supported stable release where the minor
|
128
|
-
version is increased numerically by increments of one (eg. 5.0 -> 5.1).
|
129
|
-
|
130
|
-
I encourage everyone to run the latest stable release to ensure that you can
|
131
|
-
easily upgrade to the most secure and feature rich experience. In order to
|
132
|
-
make sure you can easily run the most recent stable release, we are working
|
133
|
-
hard to keep the update process simple and reliable.
|
134
|
-
|
135
|
-
=== STRUCTURE:
|
136
|
-
|
137
|
-
==== BRANCHES:
|
138
|
-
|
139
|
-
===== `master` BRANCH:
|
140
|
-
The master branch is the current edge of development.
|
141
|
-
|
142
|
-
===== `X.X` BRANCH:
|
143
|
-
The X.X branch is the last stable branch. It will used for tarballs.
|
144
|
-
|
145
|
-
===== MERGE REQUESTS:
|
146
|
-
If you want to merge your branch with the trunk, join the team.
|
147
|
-
|
148
|
-
Please base all Merge requests off the `master` branch. Merges to
|
149
|
-
`X.X` only occur through the `master` branch.
|
150
|
-
|
151
|
-
== PROBLEM REPORTING:
|
152
|
-
|
153
|
-
Bugs should be reported to https://bugs.launchpad.net/hoe-reek. You will need to create an
|
154
|
-
account for yourself.
|
75
|
+
and generate the RDoc.
|
data/Rakefile
CHANGED
@@ -1,17 +1,42 @@
|
|
1
1
|
# -*- ruby -*-
|
2
|
+
# Copyright (C) 2013-2018 Sascha Manns <Sascha.Manns@mailbox.org>
|
2
3
|
# Release:
|
3
|
-
#
|
4
|
+
# Pre-release:
|
5
|
+
#* update docs
|
6
|
+
#* Update copyright years if needed, in the following paths:
|
7
|
+
# + lib/*
|
8
|
+
#* Check version in lib/hoe-reek.rb
|
9
|
+
#* Update History.rdoc & NEWS
|
10
|
+
#* git:manifest
|
11
|
+
#* bundler:gemfile
|
12
|
+
#* bundler:gemfile_lock
|
13
|
+
# x64-mingw32
|
14
|
+
# x64-mswin32
|
15
|
+
# x86-mingw32
|
16
|
+
# x86-mswin32
|
17
|
+
# ruby
|
18
|
+
# x86_64-linux
|
19
|
+
#* bundle_audit:run
|
20
|
+
#* git -a -m "Anything"
|
21
|
+
#* git tag x.x.x
|
22
|
+
|
23
|
+
# Release:
|
24
|
+
#* Create Release in Github
|
25
|
+
#* rake release
|
26
|
+
#* send_email
|
27
|
+
#* clean_pkg
|
28
|
+
|
29
|
+
# Post-release:
|
30
|
+
#* Bump version
|
31
|
+
#* Add new Milestone on Github
|
32
|
+
|
4
33
|
|
5
34
|
require 'rubygems'
|
6
35
|
require 'hoe'
|
7
36
|
|
8
37
|
Hoe.plugin :bundler
|
9
|
-
Hoe.plugin :doofus
|
10
|
-
#Hoe.plugin :git
|
11
|
-
Hoe.plugin :manns
|
12
38
|
Hoe.plugin :rdoc
|
13
39
|
Hoe.plugin :rubygems
|
14
|
-
Hoe.plugin :travis
|
15
40
|
Hoe.plugin :version
|
16
41
|
|
17
42
|
|
@@ -22,26 +47,22 @@ Hoe.spec 'hoe-reek' do
|
|
22
47
|
developer('Erik Hollensbe', 'erik@hollensbe.org')
|
23
48
|
|
24
49
|
license 'GPL-3.0' # this should match the license in the README
|
25
|
-
require_ruby_version '>= 2.
|
50
|
+
require_ruby_version '>= 2.3.0'
|
26
51
|
|
27
52
|
self.history_file = 'History.rdoc'
|
28
53
|
self.readme_file = 'README.rdoc'
|
29
54
|
self.extra_rdoc_files = FileList['*.rdoc'].to_a
|
30
|
-
self.post_install_message = 'Please file bugreports and feature requests on: https://
|
55
|
+
self.post_install_message = 'Please file bugreports and feature requests on: https://github.com/saigkill/hoe-reek/issues'
|
31
56
|
|
32
57
|
dependency 'bundler', '~> 1.16'
|
33
|
-
dependency 'reek', '~> 4.
|
58
|
+
dependency 'reek', '~> 4.8'
|
34
59
|
|
35
60
|
extra_dev_deps << ['coveralls', '~> 0.8']
|
36
|
-
extra_dev_deps << ['hoe-bundler', '~> 1.
|
37
|
-
extra_dev_deps << ['hoe-doofus', '~> 1.0']
|
38
|
-
extra_dev_deps << ['hoe-git', '~> 1.6']
|
39
|
-
extra_dev_deps << ['hoe-manns', '~> 1.6']
|
61
|
+
extra_dev_deps << ['hoe-bundler', '~> 1.4']
|
40
62
|
extra_dev_deps << ['hoe-rubygems', '~> 1.0']
|
41
|
-
extra_dev_deps << ['hoe-travis', '~> 1.3']
|
42
63
|
extra_dev_deps << ['hoe-version', '~> 1.2']
|
43
|
-
extra_dev_deps << ['rake', '~> 12.
|
44
|
-
extra_dev_deps << ['rdoc', '~>
|
64
|
+
extra_dev_deps << ['rake', '~> 12.3']
|
65
|
+
extra_dev_deps << ['rdoc', '~> 6.0']
|
45
66
|
extra_dev_deps << ['rspec', '~> 3.7']
|
46
67
|
end
|
47
68
|
|
data/lib/hoe/reek.rb
CHANGED
@@ -1,30 +1,39 @@
|
|
1
|
-
# @encoding: utf-8
|
2
|
-
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
#
|
6
|
-
# License
|
7
|
-
|
8
|
-
#
|
9
|
-
|
10
|
-
#
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
1
|
+
# @encoding: utf-8
|
2
|
+
# Copyright (C) 2013-2018 Sascha Manns <Sascha.Manns@mailbox.org>
|
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.3'.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,7 +1,7 @@
|
|
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.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sascha Manns
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2018-04-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -31,14 +31,14 @@ dependencies:
|
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '4.
|
34
|
+
version: '4.8'
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '4.
|
41
|
+
version: '4.8'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: coveralls
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,56 +59,14 @@ dependencies:
|
|
59
59
|
requirements:
|
60
60
|
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: '1.
|
62
|
+
version: '1.4'
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: '1.
|
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'
|
69
|
+
version: '1.4'
|
112
70
|
- !ruby/object:Gem::Dependency
|
113
71
|
name: hoe-rubygems
|
114
72
|
requirement: !ruby/object:Gem::Requirement
|
@@ -123,20 +81,6 @@ dependencies:
|
|
123
81
|
- - "~>"
|
124
82
|
- !ruby/object:Gem::Version
|
125
83
|
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
84
|
- !ruby/object:Gem::Dependency
|
141
85
|
name: hoe-version
|
142
86
|
requirement: !ruby/object:Gem::Requirement
|
@@ -157,28 +101,28 @@ dependencies:
|
|
157
101
|
requirements:
|
158
102
|
- - "~>"
|
159
103
|
- !ruby/object:Gem::Version
|
160
|
-
version: '12.
|
104
|
+
version: '12.3'
|
161
105
|
type: :development
|
162
106
|
prerelease: false
|
163
107
|
version_requirements: !ruby/object:Gem::Requirement
|
164
108
|
requirements:
|
165
109
|
- - "~>"
|
166
110
|
- !ruby/object:Gem::Version
|
167
|
-
version: '12.
|
111
|
+
version: '12.3'
|
168
112
|
- !ruby/object:Gem::Dependency
|
169
113
|
name: rdoc
|
170
114
|
requirement: !ruby/object:Gem::Requirement
|
171
115
|
requirements:
|
172
116
|
- - "~>"
|
173
117
|
- !ruby/object:Gem::Version
|
174
|
-
version: '
|
118
|
+
version: '6.0'
|
175
119
|
type: :development
|
176
120
|
prerelease: false
|
177
121
|
version_requirements: !ruby/object:Gem::Requirement
|
178
122
|
requirements:
|
179
123
|
- - "~>"
|
180
124
|
- !ruby/object:Gem::Version
|
181
|
-
version: '
|
125
|
+
version: '6.0'
|
182
126
|
- !ruby/object:Gem::Dependency
|
183
127
|
name: rspec
|
184
128
|
requirement: !ruby/object:Gem::Requirement
|
@@ -199,14 +143,14 @@ dependencies:
|
|
199
143
|
requirements:
|
200
144
|
- - "~>"
|
201
145
|
- !ruby/object:Gem::Version
|
202
|
-
version: '3.
|
146
|
+
version: '3.17'
|
203
147
|
type: :development
|
204
148
|
prerelease: false
|
205
149
|
version_requirements: !ruby/object:Gem::Requirement
|
206
150
|
requirements:
|
207
151
|
- - "~>"
|
208
152
|
- !ruby/object:Gem::Version
|
209
|
-
version: '3.
|
153
|
+
version: '3.17'
|
210
154
|
description: |-
|
211
155
|
Tasks to integrate the reek code smell engine into your hoe projects. This project continues erics project (https://github.com/erikh/hoe-reek).
|
212
156
|
|
@@ -219,34 +163,40 @@ description: |-
|
|
219
163
|
|
220
164
|
The official web site is:
|
221
165
|
|
222
|
-
https://
|
166
|
+
https://github.com/saigkill/hoe-reek
|
223
167
|
email:
|
224
168
|
- Sascha.Manns@mailbox.org
|
225
169
|
- erik@hollensbe.org
|
226
170
|
executables: []
|
227
171
|
extensions: []
|
228
172
|
extra_rdoc_files:
|
173
|
+
- CODE_OF_CONDUCT.rdoc
|
174
|
+
- CONTRIBUTING.md
|
175
|
+
- DEVELOPING.rdoc
|
229
176
|
- History.rdoc
|
230
177
|
- LICENSE.rdoc
|
178
|
+
- MAINTENANCE.rdoc
|
231
179
|
- Manifest.txt
|
232
180
|
- README.rdoc
|
233
|
-
- STATUS.rdoc
|
234
181
|
files:
|
182
|
+
- CODE_OF_CONDUCT.rdoc
|
183
|
+
- CONTRIBUTING.md
|
184
|
+
- DEVELOPING.rdoc
|
235
185
|
- Gemfile
|
236
186
|
- Gemfile.lock
|
237
187
|
- History.rdoc
|
238
188
|
- LICENSE.rdoc
|
189
|
+
- MAINTENANCE.rdoc
|
239
190
|
- Manifest.txt
|
240
191
|
- NEWS
|
241
192
|
- README.rdoc
|
242
193
|
- Rakefile
|
243
|
-
- STATUS.rdoc
|
244
194
|
- lib/hoe/reek.rb
|
245
|
-
homepage: https://
|
195
|
+
homepage: https://github.com/saigkill/hoe-reek
|
246
196
|
licenses:
|
247
197
|
- GPL-3.0
|
248
198
|
metadata: {}
|
249
|
-
post_install_message: 'Please file bugreports and feature requests on: https://
|
199
|
+
post_install_message: 'Please file bugreports and feature requests on: https://github.com/saigkill/hoe-reek/issues'
|
250
200
|
rdoc_options:
|
251
201
|
- "--main"
|
252
202
|
- README.rdoc
|
@@ -256,7 +206,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
256
206
|
requirements:
|
257
207
|
- - ">="
|
258
208
|
- !ruby/object:Gem::Version
|
259
|
-
version: 2.
|
209
|
+
version: 2.3.0
|
260
210
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
261
211
|
requirements:
|
262
212
|
- - ">="
|
@@ -264,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
264
214
|
version: '0'
|
265
215
|
requirements: []
|
266
216
|
rubyforge_project:
|
267
|
-
rubygems_version: 2.6
|
217
|
+
rubygems_version: 2.7.6
|
268
218
|
signing_key:
|
269
219
|
specification_version: 4
|
270
220
|
summary: Tasks to integrate the reek code smell engine into your hoe projects
|
data/STATUS.rdoc
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
= Misc status badges
|
2
|
-
|
3
|
-
== Gem
|
4
|
-
last public version :: {<img src="https://badge.fury.io/rb/hoe-reek.png" alt="Last Version" />}[http://rubygems.org/gems/hoe-reek]
|
5
|
-
downloads latest :: {<img src="https://img.shields.io/gem/dtv/hoe-reek.svg" alt="Downloads latest version" />}[http://rubygems.org/gems/hoe-reek]
|
6
|
-
downloads all :: {<img src="https://img.shields.io/gem/dt/hoe-reek.svg" alt="Downloads all versions" />}[http://rubygems.org/gems/hoe-reek]
|
7
|
-
|
8
|
-
== Code Review
|
9
|
-
code quality :: {<img src="https://scrutinizer-ci.com/g/saigkill/hoe-reek/badges/quality-score.png?b=master" />}[https://scrutinizer-ci.com/g/saigkill/hoe-reek/]
|
10
|
-
code quality :: {<img src="https://api.codeclimate.com/v1/badges/47c41b9c432372b426a2/maintainability" alt="Code Quality" />}[https://codeclimate.com/github/saigkill/hoe-reek/maintainability]
|
11
|
-
|
12
|
-
== Security
|
13
|
-
security :: {<img src="https://hakiri.io/github/saigkill/hoe-reek/master.svg" alt="security" />}[https://hakiri.io/github/saigkill/hoe-reek/master]
|
14
|
-
|
15
|
-
== Dependencies
|
16
|
-
dependency check :: {<img src="https://gemnasium.com/saigkill/hoe-reek.svg" alt="Dependency Status" />}[https://gemnasium.com/saigkill/hoe-reek]
|
17
|
-
|
18
|
-
== Documentation
|
19
|
-
documentation quality :: {<img src="http://inch-ci.org/github/saigkill/hoe-reek.svg?branch=master" alt="Documentation Quality" />}[http://inch-ci.org/github/saigkill/hoe-reek]
|
20
|
-
|
21
|
-
== Donations
|
22
|
-
donations :: {<img src="https://pledgie.com/campaigns/30306.png?skin_name=chrome" alt="Donations" />}[https://pledgie.com/campaigns/30306]
|
23
|
-
donations :: {<img src="https://saigkill.tuxfamily.org/dotclear/public/Amazon.png" alt="Donations" />}[http://www.amazon.de/registry/wishlist/D75HOEQ00BDD]
|