hoe-reek 1.2.3 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CONTRIBUTING.md +21 -9
- data/Gemfile.lock +86 -86
- data/History.rdoc +97 -91
- data/Manifest.txt +11 -13
- data/README.rdoc +66 -74
- data/Rakefile +72 -72
- data/lib/hoe/reek.rb +2 -2
- metadata +5 -11
- data/DEVELOPING.rdoc +0 -25
- data/NEWS +0 -186
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc5b9ff98daaa0c84282aad0c59f283126dca351991515f98d3fd43d99e55a8d
|
4
|
+
data.tar.gz: 91f84ba704c5aaaf1959421ff1780b1181df8e48a3622143459f811d09053e3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3c08f5cfcd74142cf3b78946e7f3f207663d7bcfb0d17b11fd4fd24ecaa0bfeec091a3f52edf120d23a838526bab78ce448feefc6b43750c55abd807cce91bd
|
7
|
+
data.tar.gz: 32f379cfeca4492d28458d409d2c558332d3cfdd38253fb21db061c9665505e21cbbaba63940b41dae401207009b145f3cc3545959961e3c7f794f160cab9e33
|
data/CONTRIBUTING.md
CHANGED
@@ -1,13 +1,25 @@
|
|
1
|
-
#
|
1
|
+
# IDEAS:
|
2
2
|
|
3
|
-
|
3
|
+
* Add ideas on: https://github.com/saigkill/hoe-reek/issues
|
4
4
|
|
5
|
-
##
|
5
|
+
## COOL HACKS:
|
6
6
|
|
7
|
-
*
|
8
|
-
|
9
|
-
|
10
|
-
*
|
11
|
-
*
|
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
12
|
|
13
|
-
|
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.lock
CHANGED
@@ -1,86 +1,86 @@
|
|
1
|
-
GEM
|
2
|
-
remote: https://rubygems.org/
|
3
|
-
specs:
|
4
|
-
ast (2.4.0)
|
5
|
-
axiom-types (0.1.1)
|
6
|
-
descendants_tracker (~> 0.0.4)
|
7
|
-
ice_nine (~> 0.11.0)
|
8
|
-
thread_safe (~> 0.3, >= 0.3.1)
|
9
|
-
codeclimate-engine-rb (0.4.1)
|
10
|
-
virtus (~> 1.0)
|
11
|
-
coercible (1.0.0)
|
12
|
-
descendants_tracker (~> 0.0.1)
|
13
|
-
coveralls (0.8.21)
|
14
|
-
json (>= 1.8, < 3)
|
15
|
-
simplecov (~> 0.14.1)
|
16
|
-
term-ansicolor (~> 1.3)
|
17
|
-
thor (~> 0.19.4)
|
18
|
-
tins (~> 1.6)
|
19
|
-
descendants_tracker (0.0.4)
|
20
|
-
thread_safe (~> 0.3, >= 0.3.1)
|
21
|
-
diff-lcs (1.3)
|
22
|
-
docile (1.1.5)
|
23
|
-
equalizer (0.0.11)
|
24
|
-
hoe (3.17.0)
|
25
|
-
rake (>= 0.8, < 13.0)
|
26
|
-
hoe-bundler (1.4.0)
|
27
|
-
hoe-rubygems (1.0.0)
|
28
|
-
hoe-version (1.2.0)
|
29
|
-
ice_nine (0.11.2)
|
30
|
-
json (2.1.0)
|
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.
|
36
|
-
reek (4.8.
|
37
|
-
codeclimate-engine-rb (~> 0.4.0)
|
38
|
-
parser (>= 2.5.0.0, < 2.6)
|
39
|
-
rainbow (>= 2.0, < 4.0)
|
40
|
-
rspec (3.7.0)
|
41
|
-
rspec-core (~> 3.7.0)
|
42
|
-
rspec-expectations (~> 3.7.0)
|
43
|
-
rspec-mocks (~> 3.7.0)
|
44
|
-
rspec-core (3.7.1)
|
45
|
-
rspec-support (~> 3.7.0)
|
46
|
-
rspec-expectations (3.7.0)
|
47
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
48
|
-
rspec-support (~> 3.7.0)
|
49
|
-
rspec-mocks (3.7.0)
|
50
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
51
|
-
rspec-support (~> 3.7.0)
|
52
|
-
rspec-support (3.7.1)
|
53
|
-
simplecov (0.14.1)
|
54
|
-
docile (~> 1.1.0)
|
55
|
-
json (>= 1.8, < 3)
|
56
|
-
simplecov-html (~> 0.10.0)
|
57
|
-
simplecov-html (0.10.2)
|
58
|
-
term-ansicolor (1.6.0)
|
59
|
-
tins (~> 1.0)
|
60
|
-
thor (0.19.4)
|
61
|
-
thread_safe (0.3.6)
|
62
|
-
tins (1.16.3)
|
63
|
-
virtus (1.0.5)
|
64
|
-
axiom-types (~> 0.1)
|
65
|
-
coercible (~> 1.0)
|
66
|
-
descendants_tracker (~> 0.0, >= 0.0.3)
|
67
|
-
equalizer (~> 0.0, >= 0.0.9)
|
68
|
-
|
69
|
-
PLATFORMS
|
70
|
-
ruby
|
71
|
-
x64-mingw32
|
72
|
-
|
73
|
-
DEPENDENCIES
|
74
|
-
bundler (~> 1.16)
|
75
|
-
coveralls (~> 0.8)
|
76
|
-
hoe (~> 3.17)
|
77
|
-
hoe-bundler (~> 1.4)
|
78
|
-
hoe-rubygems (~> 1.0)
|
79
|
-
hoe-version (~> 1.2)
|
80
|
-
rake (~> 12.3)
|
81
|
-
rdoc (~> 6.0)
|
82
|
-
reek (~> 4.8)
|
83
|
-
rspec (~> 3.7)
|
84
|
-
|
85
|
-
BUNDLED WITH
|
86
|
-
1.16.
|
1
|
+
GEM
|
2
|
+
remote: https://rubygems.org/
|
3
|
+
specs:
|
4
|
+
ast (2.4.0)
|
5
|
+
axiom-types (0.1.1)
|
6
|
+
descendants_tracker (~> 0.0.4)
|
7
|
+
ice_nine (~> 0.11.0)
|
8
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
9
|
+
codeclimate-engine-rb (0.4.1)
|
10
|
+
virtus (~> 1.0)
|
11
|
+
coercible (1.0.0)
|
12
|
+
descendants_tracker (~> 0.0.1)
|
13
|
+
coveralls (0.8.21)
|
14
|
+
json (>= 1.8, < 3)
|
15
|
+
simplecov (~> 0.14.1)
|
16
|
+
term-ansicolor (~> 1.3)
|
17
|
+
thor (~> 0.19.4)
|
18
|
+
tins (~> 1.6)
|
19
|
+
descendants_tracker (0.0.4)
|
20
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
21
|
+
diff-lcs (1.3)
|
22
|
+
docile (1.1.5)
|
23
|
+
equalizer (0.0.11)
|
24
|
+
hoe (3.17.0)
|
25
|
+
rake (>= 0.8, < 13.0)
|
26
|
+
hoe-bundler (1.4.0)
|
27
|
+
hoe-rubygems (1.0.0)
|
28
|
+
hoe-version (1.2.0)
|
29
|
+
ice_nine (0.11.2)
|
30
|
+
json (2.1.0)
|
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.4)
|
36
|
+
reek (4.8.2)
|
37
|
+
codeclimate-engine-rb (~> 0.4.0)
|
38
|
+
parser (>= 2.5.0.0, < 2.6)
|
39
|
+
rainbow (>= 2.0, < 4.0)
|
40
|
+
rspec (3.7.0)
|
41
|
+
rspec-core (~> 3.7.0)
|
42
|
+
rspec-expectations (~> 3.7.0)
|
43
|
+
rspec-mocks (~> 3.7.0)
|
44
|
+
rspec-core (3.7.1)
|
45
|
+
rspec-support (~> 3.7.0)
|
46
|
+
rspec-expectations (3.7.0)
|
47
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
48
|
+
rspec-support (~> 3.7.0)
|
49
|
+
rspec-mocks (3.7.0)
|
50
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
51
|
+
rspec-support (~> 3.7.0)
|
52
|
+
rspec-support (3.7.1)
|
53
|
+
simplecov (0.14.1)
|
54
|
+
docile (~> 1.1.0)
|
55
|
+
json (>= 1.8, < 3)
|
56
|
+
simplecov-html (~> 0.10.0)
|
57
|
+
simplecov-html (0.10.2)
|
58
|
+
term-ansicolor (1.6.0)
|
59
|
+
tins (~> 1.0)
|
60
|
+
thor (0.19.4)
|
61
|
+
thread_safe (0.3.6)
|
62
|
+
tins (1.16.3)
|
63
|
+
virtus (1.0.5)
|
64
|
+
axiom-types (~> 0.1)
|
65
|
+
coercible (~> 1.0)
|
66
|
+
descendants_tracker (~> 0.0, >= 0.0.3)
|
67
|
+
equalizer (~> 0.0, >= 0.0.9)
|
68
|
+
|
69
|
+
PLATFORMS
|
70
|
+
ruby
|
71
|
+
x64-mingw32
|
72
|
+
|
73
|
+
DEPENDENCIES
|
74
|
+
bundler (~> 1.16)
|
75
|
+
coveralls (~> 0.8)
|
76
|
+
hoe (~> 3.17)
|
77
|
+
hoe-bundler (~> 1.4)
|
78
|
+
hoe-rubygems (~> 1.0)
|
79
|
+
hoe-version (~> 1.2)
|
80
|
+
rake (~> 12.3)
|
81
|
+
rdoc (~> 6.0)
|
82
|
+
reek (~> 4.8)
|
83
|
+
rspec (~> 3.7)
|
84
|
+
|
85
|
+
BUNDLED WITH
|
86
|
+
1.16.2
|
data/History.rdoc
CHANGED
@@ -1,91 +1,97 @@
|
|
1
|
-
=== 1.2.
|
2
|
-
|
3
|
-
* 1
|
4
|
-
|
5
|
-
* updated
|
6
|
-
|
7
|
-
=== 1.2.
|
8
|
-
|
9
|
-
* 1
|
10
|
-
|
11
|
-
* updated
|
12
|
-
|
13
|
-
=== 1.2.
|
14
|
-
|
15
|
-
* 1 patch
|
16
|
-
|
17
|
-
*
|
18
|
-
|
19
|
-
=== 1.2.
|
20
|
-
|
21
|
-
*
|
22
|
-
|
23
|
-
*
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
* updated docs
|
31
|
-
|
32
|
-
=== 1.1.
|
33
|
-
|
34
|
-
* 1 minor enhancement
|
35
|
-
|
36
|
-
* updated
|
37
|
-
|
38
|
-
=== 1.1.
|
39
|
-
|
40
|
-
*
|
41
|
-
|
42
|
-
* updated dependencies
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
*
|
50
|
-
|
51
|
-
=== 1.1.
|
52
|
-
|
53
|
-
*
|
54
|
-
|
55
|
-
* removed
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
* updated dependencies by gemnasium
|
63
|
-
|
64
|
-
=== 1.1.
|
65
|
-
|
66
|
-
* 1 minor enhancement
|
67
|
-
|
68
|
-
* updated dependencies
|
69
|
-
|
70
|
-
=== 1.1.
|
71
|
-
|
72
|
-
* 1 minor enhancement
|
73
|
-
|
74
|
-
*
|
75
|
-
|
76
|
-
=== 1.1.
|
77
|
-
|
78
|
-
* 1
|
79
|
-
|
80
|
-
*
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
*
|
90
|
-
|
91
|
-
*
|
1
|
+
=== 1.2.4 / 2018-06-27
|
2
|
+
|
3
|
+
* 1 patch update
|
4
|
+
|
5
|
+
* updated dependencies
|
6
|
+
|
7
|
+
=== 1.2.3 / 2018-04-28
|
8
|
+
|
9
|
+
* 1 misc enhancement
|
10
|
+
|
11
|
+
* updated documentation and project url
|
12
|
+
|
13
|
+
=== 1.2.2 / 2017-11-06
|
14
|
+
|
15
|
+
* 1 patch
|
16
|
+
|
17
|
+
* updated dependencies: reek
|
18
|
+
|
19
|
+
=== 1.2.1 / 2017-11-02
|
20
|
+
|
21
|
+
* 1 patch enhancement
|
22
|
+
|
23
|
+
* Moved documentation from publican to daps
|
24
|
+
|
25
|
+
=== 1.2.0 / 2017-10-20
|
26
|
+
|
27
|
+
* 2 minor enhancements
|
28
|
+
|
29
|
+
* updated dependencies
|
30
|
+
* updated docs
|
31
|
+
|
32
|
+
=== 1.1.8 / 2017-02-25
|
33
|
+
|
34
|
+
* 1 minor enhancement
|
35
|
+
|
36
|
+
* updated docs
|
37
|
+
|
38
|
+
=== 1.1.7 / 2017-02-23
|
39
|
+
|
40
|
+
* 1 minor enhancement
|
41
|
+
|
42
|
+
* updated dependencies
|
43
|
+
|
44
|
+
=== 1.1.6 / 2016-09-02
|
45
|
+
|
46
|
+
* 2 minor enhancements
|
47
|
+
|
48
|
+
* updated dependencies
|
49
|
+
* added user docs link
|
50
|
+
|
51
|
+
=== 1.1.5 / 2016-08-06
|
52
|
+
|
53
|
+
* 1 minor enhancement
|
54
|
+
|
55
|
+
* removed recipes
|
56
|
+
|
57
|
+
=== 1.1.4 / 2016-08-04
|
58
|
+
|
59
|
+
* 2 minor enhancements
|
60
|
+
|
61
|
+
* removed Index.yml and .index
|
62
|
+
* updated dependencies by gemnasium
|
63
|
+
|
64
|
+
=== 1.1.3 / 2016-01-27
|
65
|
+
|
66
|
+
* 1 minor enhancement
|
67
|
+
|
68
|
+
* updated dependencies by gemnasium
|
69
|
+
|
70
|
+
=== 1.1.2 / 2015-12-22
|
71
|
+
|
72
|
+
* 1 minor enhancement
|
73
|
+
|
74
|
+
* updated dependencies from gemnasium
|
75
|
+
|
76
|
+
=== 1.1.1 / 2015-10-05
|
77
|
+
|
78
|
+
* 1 minor enhancement
|
79
|
+
|
80
|
+
* fixed HR-1 Doesn't work if old hoe-reek is installed
|
81
|
+
|
82
|
+
=== 1.1.0 / 2015-10-05
|
83
|
+
|
84
|
+
* 1 major enhancement
|
85
|
+
|
86
|
+
* removed "-q" option from reek_opts
|
87
|
+
* set t.config_file = 'config.reek'
|
88
|
+
* set t.source_files = 'lib/**/*.rb'
|
89
|
+
* set t.reek_opts = ''
|
90
|
+
* set t.fail_on_error = false
|
91
|
+
* set t.verbose = true
|
92
|
+
|
93
|
+
=== 1.0.0 / 2011-02-05
|
94
|
+
|
95
|
+
* 1 major enhancement
|
96
|
+
|
97
|
+
* Birthday!
|
data/Manifest.txt
CHANGED
@@ -1,13 +1,11 @@
|
|
1
|
-
Gemfile
|
2
|
-
Gemfile.lock
|
3
|
-
History.rdoc
|
4
|
-
LICENSE.rdoc
|
5
|
-
Manifest.txt
|
6
|
-
README.rdoc
|
7
|
-
Rakefile
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
MAINTENANCE.rdoc
|
13
|
-
lib/hoe/reek.rb
|
1
|
+
Gemfile
|
2
|
+
Gemfile.lock
|
3
|
+
History.rdoc
|
4
|
+
LICENSE.rdoc
|
5
|
+
Manifest.txt
|
6
|
+
README.rdoc
|
7
|
+
Rakefile
|
8
|
+
CODE_OF_CONDUCT.rdoc
|
9
|
+
CONTRIBUTING.md
|
10
|
+
MAINTENANCE.rdoc
|
11
|
+
lib/hoe/reek.rb
|
data/README.rdoc
CHANGED
@@ -1,75 +1,67 @@
|
|
1
|
-
= hoe-reek
|
2
|
-
|
3
|
-
code :: https://github.com/saigkill/hoe-reek
|
4
|
-
docs :: https://
|
5
|
-
apidoc :: http://www.rubydoc.info/gems/hoe-reek
|
6
|
-
bugs :: https://github.com/saigkill/hoe-reek/issues
|
7
|
-
questions :: https://groups.google.com/forum/#!forum/saigkills-hoe-plugins
|
8
|
-
openhub statistics :: https://www.openhub.net/p/hoe-reek
|
9
|
-
authors blog :: https://
|
10
|
-
min. rubyver :: 2.3.0
|
11
|
-
|
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
|
-
|
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
|
-
== 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,
|
1
|
+
= hoe-reek
|
2
|
+
|
3
|
+
code :: https://github.com/saigkill/hoe-reek
|
4
|
+
docs :: https://github.com/saigkill/hoe-reek/wiki
|
5
|
+
apidoc :: http://www.rubydoc.info/gems/hoe-reek
|
6
|
+
bugs :: https://github.com/saigkill/hoe-reek/issues
|
7
|
+
questions :: https://groups.google.com/forum/#!forum/saigkills-hoe-plugins
|
8
|
+
openhub statistics :: https://www.openhub.net/p/hoe-reek
|
9
|
+
authors blog :: https://saigkills-backtrace.de
|
10
|
+
min. rubyver :: 2.3.0
|
11
|
+
|
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
|
+
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]
|
19
|
+
|
20
|
+
== DESCRIPTION:
|
21
|
+
|
22
|
+
Tasks to integrate the reek code smell engine into your hoe projects. This project continues erics project (https://github.com/erikh/hoe-reek).
|
23
|
+
|
24
|
+
The History.rdoc contains a detailed description on what has changed.
|
25
|
+
|
26
|
+
hoe-reek is released under the GPL3 License, see the file 'License.rdoc' for more information.
|
27
|
+
|
28
|
+
The official web site is:
|
29
|
+
|
30
|
+
https://github.com/saigkill/hoe-reek
|
31
|
+
|
32
|
+
== FEATURES:
|
33
|
+
|
34
|
+
* Integration of Reek into a hoe Rake task.
|
35
|
+
|
36
|
+
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.
|
37
|
+
|
38
|
+
== SYNOPSIS:
|
39
|
+
|
40
|
+
Use in your Rakefile:
|
41
|
+
|
42
|
+
Hoe.plugin :reek
|
43
|
+
|
44
|
+
Hoe.spec 'yourproject' do
|
45
|
+
...
|
46
|
+
end
|
47
|
+
|
48
|
+
Also add hoe-reek to your requirements and recreate your Gemfile.
|
49
|
+
|
50
|
+
== REQUIREMENTS:
|
51
|
+
|
52
|
+
* reek
|
53
|
+
|
54
|
+
== INSTALL:
|
55
|
+
|
56
|
+
The installation is very easy.
|
57
|
+
|
58
|
+
gem install hoe-reek
|
59
|
+
|
60
|
+
== DEVELOPERS:
|
61
|
+
|
62
|
+
After checking out the source, run:
|
63
|
+
|
64
|
+
$ rake newb
|
65
|
+
|
66
|
+
This task will install any missing dependencies, run the tests/specs,
|
75
67
|
and generate the RDoc.
|
data/Rakefile
CHANGED
@@ -1,72 +1,72 @@
|
|
1
|
-
# -*- ruby -*-
|
2
|
-
# Copyright (C) 2013-2018 Sascha Manns <Sascha.Manns@
|
3
|
-
# Release:
|
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
|
-
|
33
|
-
|
34
|
-
require 'rubygems'
|
35
|
-
require 'hoe'
|
36
|
-
|
37
|
-
Hoe.plugin :bundler
|
38
|
-
Hoe.plugin :rdoc
|
39
|
-
Hoe.plugin :rubygems
|
40
|
-
Hoe.plugin :version
|
41
|
-
|
42
|
-
|
43
|
-
###########################################DEVELOPING ZONE##############################################################
|
44
|
-
# rubocop:disable Metrics/LineLength
|
45
|
-
Hoe.spec 'hoe-reek' do
|
46
|
-
developer('Sascha Manns', 'Sascha.Manns@
|
47
|
-
developer('Erik Hollensbe', 'erik@hollensbe.org')
|
48
|
-
|
49
|
-
license 'GPL-3.0' # this should match the license in the README
|
50
|
-
require_ruby_version '>= 2.3.0'
|
51
|
-
|
52
|
-
self.history_file = 'History.rdoc'
|
53
|
-
self.readme_file = 'README.rdoc'
|
54
|
-
self.extra_rdoc_files = FileList['*.rdoc'].to_a
|
55
|
-
self.post_install_message = 'Please file bugreports and feature requests on: https://github.com/saigkill/hoe-reek/issues'
|
56
|
-
|
57
|
-
dependency 'bundler', '~> 1.16'
|
58
|
-
dependency 'reek', '~> 4.8'
|
59
|
-
|
60
|
-
extra_dev_deps << ['coveralls', '~> 0.8']
|
61
|
-
extra_dev_deps << ['hoe-bundler', '~> 1.4']
|
62
|
-
extra_dev_deps << ['hoe-rubygems', '~> 1.0']
|
63
|
-
extra_dev_deps << ['hoe-version', '~> 1.2']
|
64
|
-
extra_dev_deps << ['rake', '~> 12.3']
|
65
|
-
extra_dev_deps << ['rdoc', '~> 6.0']
|
66
|
-
extra_dev_deps << ['rspec', '~> 3.7']
|
67
|
-
end
|
68
|
-
|
69
|
-
##################################################SETUP ZONE############################################################
|
70
|
-
|
71
|
-
|
72
|
-
# vim: syntax=ruby
|
1
|
+
# -*- ruby -*-
|
2
|
+
# Copyright (C) 2013-2018 Sascha Manns <Sascha.Manns@outlook.de>
|
3
|
+
# Release:
|
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
|
+
|
33
|
+
|
34
|
+
require 'rubygems'
|
35
|
+
require 'hoe'
|
36
|
+
|
37
|
+
Hoe.plugin :bundler
|
38
|
+
Hoe.plugin :rdoc
|
39
|
+
Hoe.plugin :rubygems
|
40
|
+
Hoe.plugin :version
|
41
|
+
|
42
|
+
|
43
|
+
###########################################DEVELOPING ZONE##############################################################
|
44
|
+
# rubocop:disable Metrics/LineLength
|
45
|
+
Hoe.spec 'hoe-reek' do
|
46
|
+
developer('Sascha Manns', 'Sascha.Manns@outlook.de')
|
47
|
+
developer('Erik Hollensbe', 'erik@hollensbe.org')
|
48
|
+
|
49
|
+
license 'GPL-3.0' # this should match the license in the README
|
50
|
+
require_ruby_version '>= 2.3.0'
|
51
|
+
|
52
|
+
self.history_file = 'History.rdoc'
|
53
|
+
self.readme_file = 'README.rdoc'
|
54
|
+
self.extra_rdoc_files = FileList['*.rdoc'].to_a
|
55
|
+
self.post_install_message = 'Please file bugreports and feature requests on: https://github.com/saigkill/hoe-reek/issues'
|
56
|
+
|
57
|
+
dependency 'bundler', '~> 1.16'
|
58
|
+
dependency 'reek', '~> 4.8'
|
59
|
+
|
60
|
+
extra_dev_deps << ['coveralls', '~> 0.8']
|
61
|
+
extra_dev_deps << ['hoe-bundler', '~> 1.4']
|
62
|
+
extra_dev_deps << ['hoe-rubygems', '~> 1.0']
|
63
|
+
extra_dev_deps << ['hoe-version', '~> 1.2']
|
64
|
+
extra_dev_deps << ['rake', '~> 12.3']
|
65
|
+
extra_dev_deps << ['rdoc', '~> 6.0']
|
66
|
+
extra_dev_deps << ['rspec', '~> 3.7']
|
67
|
+
end
|
68
|
+
|
69
|
+
##################################################SETUP ZONE############################################################
|
70
|
+
|
71
|
+
|
72
|
+
# vim: syntax=ruby
|
data/lib/hoe/reek.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# @encoding: utf-8
|
2
|
-
# Copyright (C) 2013-2018 Sascha Manns <Sascha.Manns@
|
2
|
+
# Copyright (C) 2013-2018 Sascha Manns <Sascha.Manns@outlook.de>
|
3
3
|
#
|
4
4
|
# This program is free software: you can redistribute it and/or modify
|
5
5
|
# it under the terms of the GNU General Public License as published by
|
@@ -19,7 +19,7 @@
|
|
19
19
|
# Main module for hoe-reek
|
20
20
|
module Hoe::Reek
|
21
21
|
# Versionizing the gem
|
22
|
-
VERSION = '1.2.
|
22
|
+
VERSION = '1.2.4'.freeze
|
23
23
|
|
24
24
|
#attr_accessor :reek
|
25
25
|
|
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.4
|
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: 2018-
|
12
|
+
date: 2018-06-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -154,25 +154,21 @@ dependencies:
|
|
154
154
|
description: |-
|
155
155
|
Tasks to integrate the reek code smell engine into your hoe projects. This project continues erics project (https://github.com/erikh/hoe-reek).
|
156
156
|
|
157
|
-
The History.rdoc contains a detailed description on what has changed.
|
158
|
-
users the NEWS file might be a better place to look since it contains
|
159
|
-
change summaries between the different versions.
|
157
|
+
The History.rdoc contains a detailed description on what has changed.
|
160
158
|
|
161
|
-
hoe-reek is released under the GPL3 License, see the file 'License.rdoc'
|
162
|
-
for more information.
|
159
|
+
hoe-reek is released under the GPL3 License, see the file 'License.rdoc' for more information.
|
163
160
|
|
164
161
|
The official web site is:
|
165
162
|
|
166
163
|
https://github.com/saigkill/hoe-reek
|
167
164
|
email:
|
168
|
-
- Sascha.Manns@
|
165
|
+
- Sascha.Manns@outlook.de
|
169
166
|
- erik@hollensbe.org
|
170
167
|
executables: []
|
171
168
|
extensions: []
|
172
169
|
extra_rdoc_files:
|
173
170
|
- CODE_OF_CONDUCT.rdoc
|
174
171
|
- CONTRIBUTING.md
|
175
|
-
- DEVELOPING.rdoc
|
176
172
|
- History.rdoc
|
177
173
|
- LICENSE.rdoc
|
178
174
|
- MAINTENANCE.rdoc
|
@@ -181,14 +177,12 @@ extra_rdoc_files:
|
|
181
177
|
files:
|
182
178
|
- CODE_OF_CONDUCT.rdoc
|
183
179
|
- CONTRIBUTING.md
|
184
|
-
- DEVELOPING.rdoc
|
185
180
|
- Gemfile
|
186
181
|
- Gemfile.lock
|
187
182
|
- History.rdoc
|
188
183
|
- LICENSE.rdoc
|
189
184
|
- MAINTENANCE.rdoc
|
190
185
|
- Manifest.txt
|
191
|
-
- NEWS
|
192
186
|
- README.rdoc
|
193
187
|
- Rakefile
|
194
188
|
- lib/hoe/reek.rb
|
data/DEVELOPING.rdoc
DELETED
@@ -1,25 +0,0 @@
|
|
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/NEWS
DELETED
@@ -1,186 +0,0 @@
|
|
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
|
-
|
60
|
-
===============================================================================
|
61
|
-
hoe-reek 1.2.2 - 2017-11-06
|
62
|
-
===============================================================================
|
63
|
-
|
64
|
-
hoe-reek 1.2.2 is the culmination of one days' work by 1 developer.
|
65
|
-
|
66
|
-
New Features:
|
67
|
-
|
68
|
-
* Nothing yet
|
69
|
-
|
70
|
-
|
71
|
-
Enhancements:
|
72
|
-
|
73
|
-
* Nothing yet
|
74
|
-
|
75
|
-
|
76
|
-
Notable Bugs Fixed:
|
77
|
-
|
78
|
-
* Updated dependency (reek)
|
79
|
-
|
80
|
-
|
81
|
-
===============================================================================
|
82
|
-
SOURCES / PACKAGES
|
83
|
-
===============================================================================
|
84
|
-
|
85
|
-
Sources
|
86
|
-
-------
|
87
|
-
|
88
|
-
* hoe-reek 1.2.2 Tarballs:
|
89
|
-
https://launchpad.net/hoe-reek/1.x/1.2.2/+download/hoe-reek-1.2.2.tar.xz
|
90
|
-
|
91
|
-
Packages
|
92
|
-
--------
|
93
|
-
|
94
|
-
Download and installation information is available here:
|
95
|
-
|
96
|
-
* https://saigkill.github.io/hoe-reek/about/
|
97
|
-
|
98
|
-
Gems:
|
99
|
-
|
100
|
-
* https://rubygems.org/gems/hoe-reek
|
101
|
-
|
102
|
-
===============================================================================
|
103
|
-
REPORT BUGS - HELP THE PROJECT - GROW THE COMMUNITY
|
104
|
-
===============================================================================
|
105
|
-
|
106
|
-
If you encounter any bad behavior with this release, please do not
|
107
|
-
hesitate to file bugs!
|
108
|
-
|
109
|
-
* https://bugs.launchpad.net/hoe-reek
|
110
|
-
|
111
|
-
|
112
|
-
===============================================================================
|
113
|
-
VALUED HOE-REEK CONTRIBUTORS
|
114
|
-
===============================================================================
|
115
|
-
|
116
|
-
Contributors For This Release
|
117
|
-
-----------------------------
|
118
|
-
|
119
|
-
The following people directly contributed to the release of this version
|
120
|
-
of hoe-reek. Without their help, there would be no release!
|
121
|
-
|
122
|
-
Sascha Manns
|
123
|
-
|
124
|
-
===============================================================================
|
125
|
-
hoe-reek 1.2.1 - 2017-11-03
|
126
|
-
===============================================================================
|
127
|
-
|
128
|
-
hoe-reek 1.2.1 is the culmination of one days' work by 1 developer.
|
129
|
-
|
130
|
-
New Features:
|
131
|
-
|
132
|
-
* Nothing yet
|
133
|
-
|
134
|
-
|
135
|
-
Enhancements:
|
136
|
-
|
137
|
-
* Nothing yet
|
138
|
-
|
139
|
-
|
140
|
-
Notable Bugs Fixed:
|
141
|
-
|
142
|
-
* Changed documentation from publican to daps
|
143
|
-
|
144
|
-
|
145
|
-
===============================================================================
|
146
|
-
SOURCES / PACKAGES
|
147
|
-
===============================================================================
|
148
|
-
|
149
|
-
Sources
|
150
|
-
-------
|
151
|
-
|
152
|
-
* hoe-reek 1.2.1 Tarballs:
|
153
|
-
https://launchpad.net/hoe-reek/1.x/1.2.1/+download/hoe-reek-1.2.1.tar.xz
|
154
|
-
|
155
|
-
Packages
|
156
|
-
--------
|
157
|
-
|
158
|
-
Download and installation information is available here:
|
159
|
-
|
160
|
-
* https://saigkill.github.io/hoe-reek/about/
|
161
|
-
|
162
|
-
Gems:
|
163
|
-
|
164
|
-
* https://rubygems.org/gems/hoe-reek
|
165
|
-
|
166
|
-
===============================================================================
|
167
|
-
REPORT BUGS - HELP THE PROJECT - GROW THE COMMUNITY
|
168
|
-
===============================================================================
|
169
|
-
|
170
|
-
If you encounter any bad behavior with this release, please do not
|
171
|
-
hesitate to file bugs!
|
172
|
-
|
173
|
-
* https://bugs.launchpad.net/hoe-reek
|
174
|
-
|
175
|
-
|
176
|
-
===============================================================================
|
177
|
-
VALUED HOE-REEK CONTRIBUTORS
|
178
|
-
===============================================================================
|
179
|
-
|
180
|
-
Contributors For This Release
|
181
|
-
-----------------------------
|
182
|
-
|
183
|
-
The following people directly contributed to the release of this version
|
184
|
-
of hoe-reek. Without their help, there would be no release!
|
185
|
-
|
186
|
-
Sascha Manns
|