reevoocop 0.0.8 → 0.0.9

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
  SHA1:
3
- metadata.gz: a513f98ad5763efbc9762a830f40be4be279b10f
4
- data.tar.gz: ddea6c5ecd4fbdcd8b9ecd5200dd4f69f8b2a1c6
3
+ metadata.gz: c5ca4cd33814f9816ee3df2ac47653bf60ee0755
4
+ data.tar.gz: 29cc517dfaedc79d0afa0fd3d3c473c3fc9716b4
5
5
  SHA512:
6
- metadata.gz: 2578d214ad53032cadcec9db2dafd6baa3531e98bcb508809f61640d70ff60af4ac8376f1f77081420beb39a9f51b1ebea3d8d3a04bc538f985956407c29c146
7
- data.tar.gz: aeb805789b2550176bc37419a47c24d04f296e0e4d5c082a59876d068d724a002899e2da6098e9f6cdbc8e15c7ca806caeca56eb32710d0c595410a5ae768fa6
6
+ metadata.gz: 2e50b1b2667ca9b3b72e4d044158e8bfe3dff3df7e2907e256770f1df4520fe203f038907e1d90f56fbdc4223b31f29b56d3c92187adbd8bd8bf73ea323b6308
7
+ data.tar.gz: 04c35e3d8853464192bb76606f8c4d56af98620abad37a69965bffdb5eb2876136cb878f520e48a6bb256491cbf17bf2f60aed3a4d01f607fd1399882188f0e6
@@ -4,6 +4,21 @@ require "rubocop/rake_task"
4
4
 
5
5
  module ReevooCop
6
6
  class RakeTask < RuboCop::RakeTask
7
+ def initialize(*args, &task_block) # rubocop:disable Metrics/AbcSize
8
+ setup_ivars(args)
9
+
10
+ desc "Run RuboCop" unless ::Rake.application.last_description
11
+
12
+ task(name, *args) do |_, task_args|
13
+ RakeFileUtils.send(:verbose, verbose) do
14
+ yield(*[self, task_args].slice(0, task_block.arity)) if block_given?
15
+ run_main_task(verbose)
16
+ end
17
+ end
18
+
19
+ setup_subtasks(name, *args, &task_block)
20
+ end
21
+
7
22
  def run_cli(verbose, options)
8
23
  require "reevoocop"
9
24
  super(verbose, options)
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module ReevooCop
4
- VERSION = "0.0.8"
4
+ VERSION = "0.0.9"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reevoocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ed Robinson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-05 00:00:00.000000000 Z
11
+ date: 2017-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop