hoe-reek 1.0.11 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +2 -0
- data/.autotest +25 -0
- data/.codeclimate.yml +8 -0
- data/.coveralls.yml +2 -0
- data/.gemnasium.yml +5 -0
- data/.rspec +2 -0
- data/.rubocop.yml +39 -0
- data/.scrutinizer.yml +17 -0
- data/.travis.yml +29 -0
- data/CODE_OF_CONDUCT.md +17 -0
- data/CONTRIBUTING.md +33 -25
- data/Gemfile +41 -0
- data/Gemfile.lock +217 -0
- data/History.rdoc +16 -0
- data/LICENSE.rdoc +24 -0
- data/Manifest.txt +21 -0
- data/README.rdoc +96 -0
- data/Rakefile +98 -0
- data/VERSION +1 -0
- data/config.reek +111 -0
- data/lib/hoe/reek.rb +18 -0
- data/test/test_hoe_reek.rb +6 -0
- metadata +472 -40
- metadata.gz.sig +0 -0
- data/CHANGELOG.md +0 -78
- data/LICENSE.md +0 -636
- data/MAINTENANCE.md +0 -19
- data/README.md +0 -79
- data/lib/hoe/rubocop.rb +0 -36
data/MAINTENANCE.md
DELETED
@@ -1,19 +0,0 @@
|
|
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
DELETED
@@ -1,79 +0,0 @@
|
|
1
|
-
# hoe-rubocop
|
2
|
-
|
3
|
-
|What | Where |
|
4
|
-
|-----|--------|
|
5
|
-
|code | https://github.com/saigkill/hoe-rubocop |
|
6
|
-
|rdoc | http://www.rubydoc.info/gems/hoe-rubocop |
|
7
|
-
|docs | https://github.com/saigkill/hoe-rubocop/wiki |
|
8
|
-
|bugs | https://github.com/saigkill/hoe-rubocop/issues |
|
9
|
-
|mailinglist | https://groups.google.com/forum/#!forum/saigkills-hoe-plugins |
|
10
|
-
|openhub statistics | https://www.openhub.net/p/hoe-rubocop |
|
11
|
-
|authors blog | https://saschamanns.de |
|
12
|
-
|min_rubyver | 2.3.0 |
|
13
|
-
|
14
|
-
| What | Status |
|
15
|
-
|-------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
16
|
-
|last public version | [![Last Version](https://badge.fury.io/rb/hoe-rubocop.png)](http://rubygems.org/gems/hoe-rubocop) |
|
17
|
-
|downloads latest | [![Downloads latest](https://img.shields.io/gem/dtv/hoe-rubocop.svg)](http://rubygems.org/gems/hoe-rubocop) |
|
18
|
-
|downloads all | [![Downloads all](https://img.shields.io/gem/dt/hoe-rubocop.svg)](http://rubygems.org/gems/hoe-rubocop) |
|
19
|
-
|continuous integration | [![Build Status](https://dev.azure.com/saigkill/hoe-rubocop/_apis/build/status/hoe-rubocop/hoe-rubocop%20CI?branchName=master)](https://dev.azure.com/saigkill/hoe-rubocop/_build/latest?definitionId=19&branchName=master) |
|
20
|
-
|code quality | [![Maintainability](https://api.codeclimate.com/v1/badges/b86e5bce35fcf054090a/maintainability)](https://codeclimate.com/github/saigkill/hoe-rubocop/maintainability) |
|
21
|
-
|dependencies|[![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=saigkill/hoe-rubocop)](https://dependabot.com)
|
22
|
-
|security | [![Security](https://hakiri.io/github/saigkill/hoe-rubocop/master.svg)](https://hakiri.io/github/saigkill/hoe-rubocop/master/shield) |
|
23
|
-
|vulnerabilities|[![Known Vulnerabilities](https://snyk.io/test/github/saigkill/hoe-rubocop/badge.svg?targetFile=Gemfile.lock)](https://snyk.io/test/github/saigkill/hoe-rubocop?targetFile=Gemfile.lock) |
|
24
|
-
|documentation quality | [![Documentation Quality](https://inch-ci.org/github/saigkill/hoe-rubocop.svg?branch=master)](https://inch-ci.org/github/saigkill/hoe-rubocop) |
|
25
|
-
|
26
|
-
## SCREENSHOT
|
27
|
-
|
28
|
-
[![Screenshot](https://saschamanns.de/img/screenshots/hoe-manns-screenshots.png)](https://github.com/saigkill/hoe-rubocop)
|
29
|
-
|
30
|
-
## DESCRIPTION:
|
31
|
-
|
32
|
-
This hoe plugin extends hoe for using some rake tasks to control rubocop.
|
33
|
-
|
34
|
-
The CHANGELOG.md contains a detailed description on what has changed.
|
35
|
-
|
36
|
-
hoe-rubocop is released under the GPL3 License, see the file 'License.md' for more information.
|
37
|
-
|
38
|
-
The official web site is:
|
39
|
-
|
40
|
-
https://github.com/saigkill/hoe-rubocop
|
41
|
-
|
42
|
-
## FEATURES:
|
43
|
-
|
44
|
-
* This plugin extends hoe for using some rake tasks to control rubocop.
|
45
|
-
|
46
|
-
This Gem was programmed and tested for Linux systems. If anyone would like to make the methods also fit for other OS,
|
47
|
-
i'm happy about Pull requests.
|
48
|
-
|
49
|
-
## SYNOPSIS:
|
50
|
-
|
51
|
-
Use in your Rakefile:
|
52
|
-
|
53
|
-
Hoe.plugin :rubocop
|
54
|
-
|
55
|
-
Hoe.spec 'yourproject' do
|
56
|
-
...
|
57
|
-
end
|
58
|
-
|
59
|
-
Also add hoe-rubocop to your requirements and recreate your Gemfile.
|
60
|
-
|
61
|
-
## REQUIREMENTS:
|
62
|
-
|
63
|
-
* rake
|
64
|
-
* rubocop
|
65
|
-
|
66
|
-
## INSTALL:
|
67
|
-
|
68
|
-
The installation is very easy.
|
69
|
-
|
70
|
-
gem install hoe-rubocop
|
71
|
-
|
72
|
-
## DEVELOPERS:
|
73
|
-
|
74
|
-
After checking out the source, run:
|
75
|
-
|
76
|
-
$ rake newb
|
77
|
-
|
78
|
-
This task will install any missing dependencies, run the tests/specs,
|
79
|
-
and generate the RDoc.
|
data/lib/hoe/rubocop.rb
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
# @encoding: utf-8
|
2
|
-
# Copyright (C) 2013-201) 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
|
-
require 'fileutils'
|
19
|
-
|
20
|
-
# Main module for hoe-rubocop
|
21
|
-
module Hoe::Rubocop
|
22
|
-
VERSION = '1.0.1!'
|
23
|
-
|
24
|
-
attr_accessor :rubocop
|
25
|
-
|
26
|
-
# Initialize plugin
|
27
|
-
def initialize_rubocop
|
28
|
-
require 'rubocop/rake_task'
|
29
|
-
end
|
30
|
-
|
31
|
-
# Define the Rubocop Rake task
|
32
|
-
def define_rubocop_tasks
|
33
|
-
FileUtils.rm_rf('pkg') if File.exist?('pkg')
|
34
|
-
RuboCop::RakeTask.new(:rubocop)
|
35
|
-
end
|
36
|
-
end
|