hoe-rubocop 1.0.10 → 1.0.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,12 +0,0 @@
1
- Gemfile
2
- Gemfile.lock
3
- History.rdoc
4
- LICENSE.rdoc
5
- Manifest.txt
6
- README.rdoc
7
- Rakefile
8
- config.reek
9
- CODE_OF_CONDUCT.rdoc
10
- CONTRIBUTING.md
11
- MAINTENANCE.rdoc
12
- lib/hoe/rubocop.rb
@@ -1,71 +0,0 @@
1
- = hoe-rubocop
2
-
3
- code :: https://github.com/saigkill/hoe-rubocop
4
- rdoc :: http://www.rubydoc.info/gems/hoe-rubocop
5
- docs :: https://github.com/saigkill/hoe-rubocop/wiki
6
- bugs :: https://github.com/saigkill/hoe-rubocop/issues
7
- mailinglist :: https://groups.google.com/forum/#!forum/saigkills-hoe-plugins
8
- openhub statistics :: https://www.openhub.net/p/hoe-rubocop
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-rubocop.png" alt="Build Status" />}[http://rubygems.org/gems/hoe-rubocop]
13
- downloads latest :: {<img src="https://img.shields.io/gem/dtv/hoe-rubocop.svg" alt="Build Status" />}[http://rubygems.org/gems/hoe-rubocop]
14
- downloads all :: {<img src="https://img.shields.io/gem/dt/hoe-rubocop.svg" alt="Build Status" />}[http://rubygems.org/gems/hoe-rubocop]
15
- continuous integration :: {<img src="https://secure.travis-ci.org/saigkill/hoe-rubocop.png?branch=master" alt="Build Status" />}[https://secure.travis-ci.org/saigkill/hoe-rubocop]
16
- continuous integration :: {<img src="https://scrutinizer-ci.com/g/saigkill/hoe-rubocop/badges/build.png?b=master" />}[https://scrutinizer-ci.com/g/saigkill/hoe-rubocop/]
17
- code quality :: {<img src="https://scrutinizer-ci.com/g/saigkill/hoe-rubocop/badges/quality-score.png?b=master" />}[https://scrutinizer-ci.com/g/saigkill/hoe-rubocop/]
18
- code quality :: {<img src="https://api.codeclimate.com/v1/badges/b86e5bce35fcf054090a/maintainability" />}[https://codeclimate.com/github/saigkill/hoe-rubocop/maintainability]
19
- security :: {<img src="https://hakiri.io/github/saigkill/hoe-rubocop/master.svg" alt="security" />}[https://hakiri.io/github/saigkill/hoe-rubocop/master]
20
- documentation quality :: {<img src="http://inch-ci.org/github/saigkill/hoe-rubocop.svg?branch=master" alt="Documentation Quality" />}[http://inch-ci.org/github/saigkill/hoe-rubocop]
21
-
22
- == DESCRIPTION:
23
-
24
- This hoe plugin extends hoe for using some rake tasks to control rubocop.
25
-
26
- The History.rdoc contains a detailed description on what has changed.
27
-
28
- hoe-rubocop is released under the GPL3 License, see the file 'License.rdoc' for more information.
29
-
30
- The official web site is:
31
-
32
- https://github.com/saigkill/hoe-rubocop
33
-
34
- == FEATURES:
35
-
36
- * This plugin extends hoe for using some rake tasks to control rubocop.
37
-
38
- This Gem was programmed and tested for Linux systems. If anyone would like to make the methods also fit for other OS,
39
- i'm happy about Pull requests.
40
-
41
- == SYNOPSIS:
42
-
43
- Use in your Rakefile:
44
-
45
- Hoe.plugin :rubocop
46
-
47
- Hoe.spec 'yourproject' do
48
- ...
49
- end
50
-
51
- Also add hoe-rubocop to your requirements and recreate your Gemfile.
52
-
53
- == REQUIREMENTS:
54
-
55
- * rake
56
- * rubocop
57
-
58
- == INSTALL:
59
-
60
- The installation is very easy.
61
-
62
- gem install hoe-rubocop
63
-
64
- == DEVELOPERS:
65
-
66
- After checking out the source, run:
67
-
68
- $ rake newb
69
-
70
- This task will install any missing dependencies, run the tests/specs,
71
- and generate the RDoc.
data/Rakefile DELETED
@@ -1,66 +0,0 @@
1
- # -*- ruby -*-
2
- # Copyright (C) 2013-2018 Sascha Manns <Sascha.Manns@mailbox.org>
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
- require 'rubygems'
34
- require 'hoe'
35
-
36
- Hoe.plugin :bundler
37
- Hoe.plugin :rdoc
38
- Hoe.plugin :rubygems
39
- Hoe.plugin :version
40
-
41
-
42
- Hoe.spec 'hoe-rubocop' do
43
- developer('Sascha Manns', 'Sascha.Manns@outlook.de')
44
- license 'GPL-3' # this should match the license in the README
45
- require_ruby_version '>= 2.2.0'
46
-
47
- self.history_file = 'History.rdoc'
48
- self.readme_file = 'README.rdoc'
49
- self.extra_rdoc_files = FileList['*.rdoc'].to_a
50
- self.post_install_message = 'Please file bugreports and feature requests on: https://github.com/saigkill/hoe-rubocop/issues'
51
-
52
- dependency 'bundler', '~> 1.16'
53
- dependency 'rubocop', '~> 0.57'
54
-
55
- extra_dev_deps << ['hoe-bundler', '~> 1.4']
56
- extra_dev_deps << ['hoe-rubygems', '~> 1.0']
57
- extra_dev_deps << ['hoe-version', '~> 1.2']
58
- extra_dev_deps << ['rake', '~> 12.3']
59
- extra_dev_deps << ['rdoc', '~> 6.0']
60
- extra_dev_deps << ['rspec', '~> 3.7']
61
- end
62
-
63
-
64
-
65
-
66
- # vim: syntax=ruby
@@ -1,111 +0,0 @@
1
- ---
2
- Attribute:
3
- enabled: false
4
- exclude: []
5
- BooleanParameter:
6
- enabled: true
7
- exclude: []
8
- ClassVariable:
9
- enabled: true
10
- exclude: []
11
- ControlParameter:
12
- enabled: true
13
- exclude: []
14
- DataClump:
15
- enabled: true
16
- exclude: []
17
- max_copies: 2
18
- min_clump_size: 2
19
- DuplicateMethodCall:
20
- enabled: true
21
- exclude: []
22
- max_calls: 3
23
- allow_calls: []
24
- FeatureEnvy:
25
- enabled: true
26
- exclude: []
27
- IrresponsibleModule:
28
- enabled: true
29
- exclude: []
30
- LongParameterList:
31
- enabled: true
32
- exclude: []
33
- max_params: 3
34
- overrides:
35
- initialize:
36
- max_params: 5
37
- LongYieldList:
38
- enabled: true
39
- exclude: []
40
- max_params: 3
41
- ModuleInitialize:
42
- enabled: true
43
- exclude: []
44
- NestedIterators:
45
- enabled: true
46
- exclude: []
47
- max_allowed_nesting: 1
48
- ignore_iterators: []
49
- NilCheck:
50
- enabled: true
51
- exclude: []
52
- PrimaDonnaMethod:
53
- enabled: true
54
- exclude: []
55
- RepeatedConditional:
56
- enabled: true
57
- exclude: []
58
- max_ifs: 2
59
- TooManyInstanceVariables:
60
- enabled: true
61
- exclude: []
62
- max_instance_variables: 9
63
- TooManyMethods:
64
- enabled: true
65
- exclude: []
66
- max_methods: 25
67
- TooManyStatements:
68
- enabled: true
69
- exclude:
70
- - initialize
71
- max_statements: 15
72
- UncommunicativeMethodName:
73
- enabled: true
74
- exclude: []
75
- reject:
76
- - !ruby/regexp /^[a-z]$/
77
- - !ruby/regexp /[0-9]$/
78
- - !ruby/regexp /[A-Z]/
79
- accept: []
80
- UncommunicativeModuleName:
81
- enabled: true
82
- exclude: []
83
- reject:
84
- - !ruby/regexp /^.$/
85
- - !ruby/regexp /[0-9]$/
86
- accept:
87
- - Inline::C
88
- UncommunicativeParameterName:
89
- enabled: true
90
- exclude: []
91
- reject:
92
- - !ruby/regexp /^.$/
93
- - !ruby/regexp /[0-9]$/
94
- - !ruby/regexp /[A-Z]/
95
- - !ruby/regexp /^_/
96
- accept: []
97
- UncommunicativeVariableName:
98
- enabled: true
99
- exclude: []
100
- reject:
101
- - !ruby/regexp /^.$/
102
- - !ruby/regexp /[0-9]$/
103
- - !ruby/regexp /[A-Z]/
104
- accept:
105
- - _
106
- UnusedParameters:
107
- enabled: true
108
- exclude: []
109
- UtilityFunction:
110
- enabled: true
111
- exclude: []