reek 4.2.1 → 4.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +10 -6
- data/lib/reek/version.rb +1 -1
- data/tasks/mutant.rake +7 -12
- data/tasks/test.rake +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93d227647bdd04f5b74ccad9819eaff0ad473b3d
|
4
|
+
data.tar.gz: 905fc70ac55c9f99cc1f32ba44f25751412da886
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b68f9230abb65587e9a033523d16d984fd7ac3db788787c9ee5773a3e1861ee45a20641a00422684f8b0e2fa6628f2ae49a2693fed483392563c6a8c36c61fa8
|
7
|
+
data.tar.gz: db596ffe6508034c25d03954ca6b56237cbdfe23098471560dfaf8fc147826f87ee8683149c1271bc416913dd48073f4a431c058f1532f6a3cc0051b9ff9510f
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -34,12 +34,16 @@
|
|
34
34
|
|
35
35
|
## Overview
|
36
36
|
|
37
|
-
[![Build Status](https://secure.travis-ci.org/troessner/reek.svg?branch=master)](https://travis-ci.org/troessner/reek?branch=master)
|
38
|
-
[![Gem Version](https://badge.fury.io/rb/reek.svg)](https://badge.fury.io/rb/reek)
|
39
|
-
|
40
|
-
|
41
|
-
[![
|
42
|
-
[![
|
37
|
+
* [![Build Status](https://secure.travis-ci.org/troessner/reek.svg?branch=master)](https://travis-ci.org/troessner/reek?branch=master)
|
38
|
+
* [![Gem Version](https://badge.fury.io/rb/reek.svg)](https://badge.fury.io/rb/reek)
|
39
|
+
* ![](http://img.shields.io/github/tag/troessner/reek.svg)
|
40
|
+
* ![](http://img.shields.io/badge/license-MIT-brightgreen.svg)
|
41
|
+
* [![Dependency Status](https://gemnasium.com/badges/github.com/troessner/reek.svg)](https://gemnasium.com/github.com/troessner/reek)
|
42
|
+
* [![Inline docs](https://inch-ci.org/github/troessner/reek.png)](https://inch-ci.org/github/troessner/reek)
|
43
|
+
* [![Code Climate](https://codeclimate.com/github/troessner/reek/badges/gpa.svg)](https://codeclimate.com/github/troessner/reek)
|
44
|
+
* [![codebeat](https://codebeat.co/badges/42fed4ff-3e55-4aed-8ecc-409b4aa539b3)](https://codebeat.co/projects/github-com-troessner-reek)
|
45
|
+
* ![](http://ruby-gem-downloads-badge.herokuapp.com/reek?type=total)
|
46
|
+
* ![](http://ruby-gem-downloads-badge.herokuapp.com/reek?label=downloads-current-version)
|
43
47
|
|
44
48
|
## Quickstart
|
45
49
|
|
data/lib/reek/version.rb
CHANGED
data/tasks/mutant.rake
CHANGED
@@ -1,18 +1,13 @@
|
|
1
1
|
desc 'Runs mutant'
|
2
2
|
task :mutant do
|
3
3
|
command = <<-EOS
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
--since master\
|
12
|
-
--jobs 4 'Reek*'
|
13
|
-
else
|
14
|
-
echo "!!! Not running mutant on master branch !!!"
|
15
|
-
fi
|
4
|
+
RUBY_THREAD_VM_STACK_SIZE=64000\
|
5
|
+
bundle exec mutant\
|
6
|
+
--include lib\
|
7
|
+
--require reek\
|
8
|
+
--use rspec\
|
9
|
+
--since master^\
|
10
|
+
--jobs 4 'Reek*'
|
16
11
|
EOS
|
17
12
|
system command
|
18
13
|
abort unless $CHILD_STATUS.success?
|
data/tasks/test.rake
CHANGED
@@ -4,13 +4,13 @@ require 'rspec/core/rake_task'
|
|
4
4
|
namespace 'test' do
|
5
5
|
RSpec::Core::RakeTask.new('spec') do |t|
|
6
6
|
t.pattern = 'spec/reek/**/*_spec.rb'
|
7
|
-
t.ruby_opts = ['-rsimplecov -Ilib -w']
|
7
|
+
t.ruby_opts = ['-rbundler/setup -rsimplecov -Ilib -w']
|
8
8
|
end
|
9
9
|
|
10
10
|
desc 'Tests code quality'
|
11
11
|
RSpec::Core::RakeTask.new('quality') do |t|
|
12
12
|
t.pattern = 'spec/quality/**/*_spec.rb'
|
13
|
-
t.ruby_opts = ['-Ilib']
|
13
|
+
t.ruby_opts = ['-rbundler/setup -Ilib']
|
14
14
|
end
|
15
15
|
|
16
16
|
Cucumber::Rake::Task.new(:features) do |t|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: reek
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.
|
4
|
+
version: 4.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Rutherford
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2016-
|
14
|
+
date: 2016-08-02 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: codeclimate-engine-rb
|