hoe-rubocop 1.0.11 → 1.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +82 -78
- data/CONTRIBUTING.md +21 -25
- data/LICENSE.md +635 -635
- data/MAINTENANCE.md +18 -18
- data/README.md +78 -78
- data/lib/hoe/rubocop.rb +36 -36
- metadata +11 -13
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,79 +1,79 @@
|
|
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,
|
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
79
|
and generate the RDoc.
|
data/lib/hoe/rubocop.rb
CHANGED
@@ -1,36 +1,36 @@
|
|
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
|
-
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
|
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
|
+
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
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hoe-rubocop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.12
|
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-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,56 +16,56 @@ 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: rubocop
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0.
|
33
|
+
version: '0.86'
|
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: '0.
|
40
|
+
version: '0.86'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: hoe
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '3.
|
47
|
+
version: '3.22'
|
48
48
|
type: :runtime
|
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: '3.
|
54
|
+
version: '3.22'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '13.0'
|
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: '
|
68
|
+
version: '13.0'
|
69
69
|
description: " This hoe plugin extends hoe for using some rake tasks to control
|
70
70
|
rubocop.\n"
|
71
71
|
email: Sascha.Manns@outlook.de
|
@@ -92,7 +92,6 @@ metadata:
|
|
92
92
|
source_code_uri: https://github.com/saigkill/hoe-rubocop
|
93
93
|
documentation_uri: https://github.com/saigkill/hoe-rubocop/wiki
|
94
94
|
bug_tracker_uri: https://github.com/saigkill/hoe-rubocop/issues
|
95
|
-
mailing_list_uri: https://groups.google.com/forum/#!forum/saigkills-hoe-plugins
|
96
95
|
post_install_message: 'Please file bugreports on: https://github.com/saigkill/hoe-rubocop/issues'
|
97
96
|
rdoc_options: []
|
98
97
|
require_paths:
|
@@ -108,8 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
107
|
- !ruby/object:Gem::Version
|
109
108
|
version: '0'
|
110
109
|
requirements: []
|
111
|
-
|
112
|
-
rubygems_version: 2.7.6.2
|
110
|
+
rubygems_version: 3.0.3
|
113
111
|
signing_key:
|
114
112
|
specification_version: 4
|
115
113
|
summary: This hoe plugin extends hoe for using some rake tasks to control rubocop.
|