hoe-rubocop 1.0.9 → 1.0.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2bf35c32d2ebfac471102216403c1896a68f1423316eb258dd9bb60cebfb31d7
4
- data.tar.gz: e45d3058403325838408eb032db58022ced05c8099c11d71a34b5eb586674437
3
+ metadata.gz: d4dd38dd960b90e25d6491f4f771d780a175814bc1dc14c4307af6d65c98d623
4
+ data.tar.gz: 321389727f1b3b8318a88b92a8735e54503c21bed31dd33e7b7963bd5abd4eb1
5
5
  SHA512:
6
- metadata.gz: bb32621147dd3837950f0b8511a67dbae024430625e09510fac13ebcc9160af4d4729dba807c26807183c8c0c55714c99bc8765cf88e15f727a4c514c05b747d
7
- data.tar.gz: e6ec667ba061d73b80ca1f933a4bffc15140454b8514c30acf30feb1eeb1e32c932503db7b2a6167d2b94adba722fc77edc9a632df5dcb61b80b6ecc45dd47a5
6
+ metadata.gz: 800aa81d8f9698e86ecfb8bac9cd6aab5f4c313e9dcf018f3dae74eafbff7a9f3de0f2c5a72f9eac44426838a242d143e2b751e91a717b80c4600f75511a123c
7
+ data.tar.gz: ebcced6d510c39563ca3c1199fe292e3a48707aaaf4f728d044647374ae1fe3fc564ba88b35ab2aea4c72442f29db89c162693b1c3637d75da74dbaaf97f9498
data/CONTRIBUTING.md CHANGED
@@ -1,13 +1,25 @@
1
- # How to Contribute to hoe-rubocop
1
+ # IDEAS:
2
2
 
3
- :+1::tada: First off, thanks for taking the time to contribute! :tada::+1:
3
+ * Add ideas on: https://github.com/saigkill/hoe-rubocop/issues
4
4
 
5
- ## Reporting Bugs
5
+ ## COOL HACKS:
6
6
 
7
- * Ensure the bug was not already reported, see the
8
- [hoe-rubocop Issue Tracker](https://github.com/saigkill/hoe-rubocop/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
7
+ * Open a bugreport on https://github.com/saigkill/hoe-rubocop/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
- Thanks! :heart: :heart: :heart:
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
@@ -5,7 +5,7 @@
5
5
  source "https://rubygems.org/"
6
6
 
7
7
  gem "bundler", "~>1.16"
8
- gem "rubocop", "~>0.55"
8
+ gem "rubocop", "~>0.57"
9
9
 
10
10
  gem "hoe-bundler", "~>1.4", :group => [:development, :test]
11
11
  gem "hoe-highline", "~>0.2", :group => [:development, :test]
data/Gemfile.lock CHANGED
@@ -1,66 +1,68 @@
1
- GEM
2
- remote: https://rubygems.org/
3
- specs:
4
- ast (2.4.0)
5
- diff-lcs (1.3)
6
- highline (1.7.10)
7
- hoe (3.17.0)
8
- rake (>= 0.8, < 13.0)
9
- hoe-bundler (1.4.0)
10
- hoe-highline (0.2.1)
11
- highline (~> 1.6)
12
- hoe (~> 3.11)
13
- hoe-rubocop (1.0.8)
14
- bundler (~> 1.14)
15
- rubocop (~> 0.47)
16
- hoe-rubygems (1.0.0)
17
- hoe-version (1.2.0)
18
- parallel (1.12.1)
19
- parser (2.5.1.0)
20
- ast (~> 2.4.0)
21
- powerpack (0.1.1)
22
- rainbow (3.0.0)
23
- rake (12.3.1)
24
- rdoc (6.0.3)
25
- rspec (3.7.0)
26
- rspec-core (~> 3.7.0)
27
- rspec-expectations (~> 3.7.0)
28
- rspec-mocks (~> 3.7.0)
29
- rspec-core (3.7.1)
30
- rspec-support (~> 3.7.0)
31
- rspec-expectations (3.7.0)
32
- diff-lcs (>= 1.2.0, < 2.0)
33
- rspec-support (~> 3.7.0)
34
- rspec-mocks (3.7.0)
35
- diff-lcs (>= 1.2.0, < 2.0)
36
- rspec-support (~> 3.7.0)
37
- rspec-support (3.7.1)
38
- rubocop (0.55.0)
39
- parallel (~> 1.10)
40
- parser (>= 2.5)
41
- powerpack (~> 0.1)
42
- rainbow (>= 2.2.2, < 4.0)
43
- ruby-progressbar (~> 1.7)
44
- unicode-display_width (~> 1.0, >= 1.0.1)
45
- ruby-progressbar (1.9.0)
46
- unicode-display_width (1.3.2)
47
-
48
- PLATFORMS
49
- ruby
50
- x64-mingw32
51
-
52
- DEPENDENCIES
53
- bundler (~> 1.16)
54
- hoe (~> 3.17)
55
- hoe-bundler (~> 1.4)
56
- hoe-highline (~> 0.2)
57
- hoe-rubocop (~> 1.0)
58
- hoe-rubygems (~> 1.0)
59
- hoe-version (~> 1.2)
60
- rake (~> 12.3)
61
- rdoc (~> 6.0)
62
- rspec (~> 3.7)
63
- rubocop (~> 0.55)
64
-
65
- BUNDLED WITH
66
- 1.16.1
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ ast (2.4.0)
5
+ diff-lcs (1.3)
6
+ highline (1.7.10)
7
+ hoe (3.17.0)
8
+ rake (>= 0.8, < 13.0)
9
+ hoe-bundler (1.4.0)
10
+ hoe-highline (0.2.1)
11
+ highline (~> 1.6)
12
+ hoe (~> 3.11)
13
+ hoe-rubocop (1.0.9)
14
+ bundler (~> 1.16)
15
+ rubocop (~> 0.55)
16
+ hoe-rubygems (1.0.0)
17
+ hoe-version (1.2.0)
18
+ jaro_winkler (1.5.1)
19
+ parallel (1.12.1)
20
+ parser (2.5.1.2)
21
+ ast (~> 2.4.0)
22
+ powerpack (0.1.2)
23
+ rainbow (3.0.0)
24
+ rake (12.3.1)
25
+ rdoc (6.0.4)
26
+ rspec (3.7.0)
27
+ rspec-core (~> 3.7.0)
28
+ rspec-expectations (~> 3.7.0)
29
+ rspec-mocks (~> 3.7.0)
30
+ rspec-core (3.7.1)
31
+ rspec-support (~> 3.7.0)
32
+ rspec-expectations (3.7.0)
33
+ diff-lcs (>= 1.2.0, < 2.0)
34
+ rspec-support (~> 3.7.0)
35
+ rspec-mocks (3.7.0)
36
+ diff-lcs (>= 1.2.0, < 2.0)
37
+ rspec-support (~> 3.7.0)
38
+ rspec-support (3.7.1)
39
+ rubocop (0.58.1)
40
+ jaro_winkler (~> 1.5.1)
41
+ parallel (~> 1.10)
42
+ parser (>= 2.5, != 2.5.1.1)
43
+ powerpack (~> 0.1)
44
+ rainbow (>= 2.2.2, < 4.0)
45
+ ruby-progressbar (~> 1.7)
46
+ unicode-display_width (~> 1.0, >= 1.0.1)
47
+ ruby-progressbar (1.9.0)
48
+ unicode-display_width (1.4.0)
49
+
50
+ PLATFORMS
51
+ ruby
52
+ x64-mingw32
53
+
54
+ DEPENDENCIES
55
+ bundler (~> 1.16)
56
+ hoe (~> 3.17)
57
+ hoe-bundler (~> 1.4)
58
+ hoe-highline (~> 0.2)
59
+ hoe-rubocop (~> 1.0)
60
+ hoe-rubygems (~> 1.0)
61
+ hoe-version (~> 1.2)
62
+ rake (~> 12.3)
63
+ rdoc (~> 6.0)
64
+ rspec (~> 3.7)
65
+ rubocop (~> 0.57)
66
+
67
+ BUNDLED WITH
68
+ 1.16.3
data/History.rdoc CHANGED
@@ -1,60 +1,66 @@
1
- === 1.0.9 / 2018-04-28
2
-
3
- * 1 misc enhancement
4
-
5
- * updated docs
6
-
7
- === 1.0.8 / 2017-02-25
8
-
9
- * 1 minor enhancement
10
-
11
- * updated docs
12
-
13
- === 1.0.7 / 2016-08-06
14
-
15
- * 1 minor enhancement
16
-
17
- * updated dependencies by gemnasium
18
-
19
- === 1.0.6 / 2016-02-08
20
-
21
- * 1 minor enhancement
22
-
23
- * updated dependencies by gemnasium
24
-
25
- === 1.0.5 / 2016-01-27
26
-
27
- * 1 minor enhancement
28
-
29
- * updated dependencies by gemnasium
30
-
31
- === 1.0.3 / 2015-12-11
32
-
33
- * 1 minor enhancement
34
-
35
- * fixed typo in define_rubocop_tasks
36
-
37
- === 1.0.2 / 2015-12-11
38
-
39
- * 1 minor enhancement
40
-
41
- * updated rubocop dependency to 0.35
42
-
43
- === 1.0.1 / 2015-10-02
44
-
45
- * 1 patch issue
46
-
47
- * refactored code to match GitLab
48
-
49
- === 1.0.0 / 2015-09-26
50
-
51
- * 1 major enhancement
52
-
53
- * first stable release
54
-
55
- === 0.1.0 / 2015-09-25
56
-
57
- * 1 major enhancement
58
-
59
- * Birthday!
60
-
1
+ === 1.0.10 / 2018-06-27
2
+
3
+ * 1 patch enhancement
4
+
5
+ * updated dependencies
6
+
7
+ === 1.0.9 / 2018-04-28
8
+
9
+ * 1 misc enhancement
10
+
11
+ * updated docs
12
+
13
+ === 1.0.8 / 2017-02-25
14
+
15
+ * 1 minor enhancement
16
+
17
+ * updated docs
18
+
19
+ === 1.0.7 / 2016-08-06
20
+
21
+ * 1 minor enhancement
22
+
23
+ * updated dependencies by gemnasium
24
+
25
+ === 1.0.6 / 2016-02-08
26
+
27
+ * 1 minor enhancement
28
+
29
+ * updated dependencies by gemnasium
30
+
31
+ === 1.0.5 / 2016-01-27
32
+
33
+ * 1 minor enhancement
34
+
35
+ * updated dependencies by gemnasium
36
+
37
+ === 1.0.3 / 2015-12-11
38
+
39
+ * 1 minor enhancement
40
+
41
+ * fixed typo in define_rubocop_tasks
42
+
43
+ === 1.0.2 / 2015-12-11
44
+
45
+ * 1 minor enhancement
46
+
47
+ * updated rubocop dependency to 0.35
48
+
49
+ === 1.0.1 / 2015-10-02
50
+
51
+ * 1 patch issue
52
+
53
+ * refactored code to match GitLab
54
+
55
+ === 1.0.0 / 2015-09-26
56
+
57
+ * 1 major enhancement
58
+
59
+ * first stable release
60
+
61
+ === 0.1.0 / 2015-09-25
62
+
63
+ * 1 major enhancement
64
+
65
+ * Birthday!
66
+
data/Manifest.txt CHANGED
@@ -1,14 +1,12 @@
1
- Gemfile
2
- Gemfile.lock
3
- History.rdoc
4
- LICENSE.rdoc
5
- Manifest.txt
6
- README.rdoc
7
- Rakefile
8
- config.reek
9
- NEWS
10
- CODE_OF_CONDUCT.rdoc
11
- CONTRIBUTING.md
12
- DEVELOPING.rdoc
13
- MAINTENANCE.rdoc
14
- lib/hoe/rubocop.rb
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
data/README.rdoc CHANGED
@@ -1,75 +1,71 @@
1
- = hoe-rubocop
2
-
3
- code :: https://github.com/saigkill/hoe-rubocop
4
- rdoc :: http://www.rubydoc.info/gems/hoe-rubocop
5
- docs :: https://saigkill.tuxfamily.org/documentation/hoe-rubocop/
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://saigkill.tuxfamily.org
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
- dependency check :: {<img src="https://gemnasium.com/saigkill/hoe-rubocop.svg" alt="Dependency Status" />}[https://gemnasium.com/saigkill/hoe-rubocop]
21
- 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]
22
-
23
- == DESCRIPTION:
24
-
25
- This hoe plugin extends hoe for using some rake tasks to control rubocop.
26
-
27
- The History.rdoc contains a detailed description on what has changed. For most
28
- users the NEWS file might be a better place to look since it contains
29
- change summaries between the different versions.
30
-
31
- hoe-rubocop is released under the GPL3 License, see the file 'License.rdoc'
32
- for more information.
33
-
34
- The official web site is:
35
-
36
- https://github.com/saigkill/hoe-rubocop
37
-
38
- == FEATURES:
39
-
40
- * This plugin extends hoe for using some rake tasks to control rubocop.
41
-
42
- This Gem was programmed and tested for Linux systems. If anyone would like to make the methods also fit for other OS,
43
- i'm happy about Pull requests.
44
-
45
- == SYNOPSIS:
46
-
47
- Use in your Rakefile:
48
-
49
- Hoe.plugin :rubocop
50
-
51
- Hoe.spec 'yourproject' do
52
- ...
53
- end
54
-
55
- Also add hoe-rubocop to your requirements and recreate your Gemfile.
56
-
57
- == REQUIREMENTS:
58
-
59
- * rake
60
- * rubocop
61
-
62
- == INSTALL:
63
-
64
- The installation is very easy.
65
-
66
- gem install hoe-rubocop
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-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,
75
71
  and generate the RDoc.
data/Rakefile CHANGED
@@ -1,40 +1,66 @@
1
- # -*- ruby -*-
2
- # Release:
3
- # See README.rdoc.release
4
-
5
- require 'rubygems'
6
- require 'hoe'
7
-
8
- Hoe.plugin :bundler
9
- Hoe.plugin :rdoc
10
- Hoe.plugin :rubygems
11
- Hoe.plugin :version
12
-
13
-
14
- Hoe.spec 'hoe-rubocop' do
15
- developer('Sascha Manns', 'Sascha.Manns@mailbox.org')
16
- license 'GPL-3' # this should match the license in the README
17
- require_ruby_version '>= 2.2.0'
18
-
19
- self.history_file = 'History.rdoc'
20
- self.readme_file = 'README.rdoc'
21
- self.extra_rdoc_files = FileList['*.rdoc'].to_a
22
- self.post_install_message = 'Please file bugreports and feature requests on: https://github.com/saigkill/hoe-rubocop/issues'
23
-
24
- dependency 'bundler', '~> 1.16'
25
- dependency 'rubocop', '~> 0.55'
26
-
27
- extra_dev_deps << ['hoe-bundler', '~> 1.4']
28
- extra_dev_deps << ['hoe-highline', '~> 0.2']
29
- extra_dev_deps << ['hoe-rubocop', '~> 1.0']
30
- extra_dev_deps << ['hoe-rubygems', '~> 1.0']
31
- extra_dev_deps << ['hoe-version', '~> 1.2']
32
- extra_dev_deps << ['rake', '~> 12.3']
33
- extra_dev_deps << ['rdoc', '~> 6.0']
34
- extra_dev_deps << ['rspec', '~> 3.7']
35
- end
36
-
37
-
38
-
39
-
40
- # vim: syntax=ruby
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
data/lib/hoe/rubocop.rb CHANGED
@@ -1,36 +1,36 @@
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
- require 'fileutils'
19
-
20
- # Main module for hoe-rubocop
21
- module Hoe::Rubocop
22
- VERSION = '1.0.9'
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-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
+ require 'fileutils'
19
+
20
+ # Main module for hoe-rubocop
21
+ module Hoe::Rubocop
22
+ VERSION = '1.0.10'
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.9
4
+ version: 1.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sascha Manns
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-28 00:00:00.000000000 Z
11
+ date: 2018-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.55'
33
+ version: '0.57'
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.55'
40
+ version: '0.57'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: hoe-bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -52,34 +52,6 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.4'
55
- - !ruby/object:Gem::Dependency
56
- name: hoe-highline
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '0.2'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '0.2'
69
- - !ruby/object:Gem::Dependency
70
- name: hoe-rubocop
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '1.0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '1.0'
83
55
  - !ruby/object:Gem::Dependency
84
56
  name: hoe-rubygems
85
57
  requirement: !ruby/object:Gem::Requirement
@@ -167,24 +139,20 @@ dependencies:
167
139
  description: |-
168
140
  This hoe plugin extends hoe for using some rake tasks to control rubocop.
169
141
 
170
- The History.rdoc contains a detailed description on what has changed. For most
171
- users the NEWS file might be a better place to look since it contains
172
- change summaries between the different versions.
142
+ The History.rdoc contains a detailed description on what has changed.
173
143
 
174
- hoe-rubocop is released under the GPL3 License, see the file 'License.rdoc'
175
- for more information.
144
+ hoe-rubocop is released under the GPL3 License, see the file 'License.rdoc' for more information.
176
145
 
177
146
  The official web site is:
178
147
 
179
148
  https://github.com/saigkill/hoe-rubocop
180
149
  email:
181
- - Sascha.Manns@mailbox.org
150
+ - Sascha.Manns@outlook.de
182
151
  executables: []
183
152
  extensions: []
184
153
  extra_rdoc_files:
185
154
  - CODE_OF_CONDUCT.rdoc
186
155
  - CONTRIBUTING.md
187
- - DEVELOPING.rdoc
188
156
  - History.rdoc
189
157
  - LICENSE.rdoc
190
158
  - MAINTENANCE.rdoc
@@ -193,14 +161,12 @@ extra_rdoc_files:
193
161
  files:
194
162
  - CODE_OF_CONDUCT.rdoc
195
163
  - CONTRIBUTING.md
196
- - DEVELOPING.rdoc
197
164
  - Gemfile
198
165
  - Gemfile.lock
199
166
  - History.rdoc
200
167
  - LICENSE.rdoc
201
168
  - MAINTENANCE.rdoc
202
169
  - Manifest.txt
203
- - NEWS
204
170
  - README.rdoc
205
171
  - Rakefile
206
172
  - config.reek
data/DEVELOPING.rdoc DELETED
@@ -1,25 +0,0 @@
1
- = IDEAS:
2
-
3
- * Add ideas on: https://github.com/saigkill/hoe-rubocop/issues
4
-
5
- = COOL HACKS:
6
-
7
- * Open a bugreport on https://github.com/saigkill/hoe-rubocop/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,63 +0,0 @@
1
- ===============================================================================
2
- hoe-rubocop 1.0.9 - 2017-11-03
3
- ===============================================================================
4
-
5
- hoe-rubocop 1.0.9 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
- * Changed documentation from publican to daps
20
-
21
-
22
- ===============================================================================
23
- SOURCES / PACKAGES
24
- ===============================================================================
25
-
26
- Sources
27
- -------
28
-
29
- * hoe-rubocop 1.0.9 Tarballs:
30
- https://launchpad.net/hoe-reek/1.x/1.0.9/+download/hoe-rubocop-1.0.9.tar.xz
31
-
32
- Packages
33
- --------
34
-
35
- Download and installation information is available here:
36
-
37
- * https://saigkill.github.io/hoe-rubocop/about/
38
-
39
- Gems:
40
-
41
- * https://rubygems.org/gems/hoe-rubocop
42
-
43
- ===============================================================================
44
- REPORT BUGS - HELP THE PROJECT - GROW THE COMMUNITY
45
- ===============================================================================
46
-
47
- If you encounter any bad behavior with this release, please do not
48
- hesitate to file bugs!
49
-
50
- * https://bugs.launchpad.net/hoe-rubocop
51
-
52
-
53
- ===============================================================================
54
- VALUED HOE-RUBOCOP CONTRIBUTORS
55
- ===============================================================================
56
-
57
- Contributors For This Release
58
- -----------------------------
59
-
60
- The following people directly contributed to the release of this version
61
- of hoe-rubocop. Without their help, there would be no release!
62
-
63
- Sascha Manns