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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 778582708b4cbc00f46fe28d606263595eaa2715
4
- data.tar.gz: 59a7e7cb9fc8d1fe90053e822496c29102f99b6c
3
+ metadata.gz: 93d227647bdd04f5b74ccad9819eaff0ad473b3d
4
+ data.tar.gz: 905fc70ac55c9f99cc1f32ba44f25751412da886
5
5
  SHA512:
6
- metadata.gz: ef57fbf9e3451a8bc3ba904655e31e51cd3f1dbfec6ecc4a555ef90638804da2bfccd1389ee27e9ab204f5b224482164a50fb9ed5ccf52bb2b15cfff19eb9389
7
- data.tar.gz: 52784f1ccba96fc6140d200c8bd256a6111f8439c77bdd465dec87dd38114648d7266c7677c919c87b8a34aee7785fe94da18f120cb4390cc69fbc2702fa176d
6
+ metadata.gz: b68f9230abb65587e9a033523d16d984fd7ac3db788787c9ee5773a3e1861ee45a20641a00422684f8b0e2fa6628f2ae49a2693fed483392563c6a8c36c61fa8
7
+ data.tar.gz: db596ffe6508034c25d03954ca6b56237cbdfe23098471560dfaf8fc147826f87ee8683149c1271bc416913dd48073f4a431c058f1532f6a3cc0051b9ff9510f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Change log
2
2
 
3
+ ## 4.2.2 (2016-08-02)
4
+
5
+ * (soutaro) Use bundler to load libs during test
6
+
3
7
  ## 4.2.1 (2016-07-20)
4
8
 
5
9
  * (waldyr) Fix TooManyConstants for outer module when inner module suppress
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
- [![Dependency Status](https://gemnasium.com/troessner/reek.png)](https://gemnasium.com/troessner/reek)
40
- [![Inline docs](https://inch-ci.org/github/troessner/reek.png)](https://inch-ci.org/github/troessner/reek)
41
- [![Code Climate](https://codeclimate.com/github/troessner/reek/badges/gpa.svg)](https://codeclimate.com/github/troessner/reek)
42
- [![codebeat](https://codebeat.co/badges/42fed4ff-3e55-4aed-8ecc-409b4aa539b3)](https://codebeat.co/projects/github-com-troessner-reek)
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
@@ -7,6 +7,6 @@ module Reek
7
7
  # @public
8
8
  module Version
9
9
  # @public
10
- STRING = '4.2.1'.freeze
10
+ STRING = '4.2.2'.freeze
11
11
  end
12
12
  end
data/tasks/mutant.rake CHANGED
@@ -1,18 +1,13 @@
1
1
  desc 'Runs mutant'
2
2
  task :mutant do
3
3
  command = <<-EOS
4
- branch_name=$(git symbolic-ref HEAD 2>/dev/null | cut -d"/" -f 3)
5
- if [ "$branch_name" != "master" ]; then
6
- RUBY_THREAD_VM_STACK_SIZE=64000\
7
- bundle exec mutant\
8
- --include lib\
9
- --require reek\
10
- --use rspec\
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.1
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-07-20 00:00:00.000000000 Z
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