repo
string
commit
string
message
string
diff
string
dkubb/yardstick
1db9e6c7ad88b4e449be6535e2f2db1f2b1b1547
Kill `Measurement#ok?` mutations
diff --git a/config/mutant.yml b/config/mutant.yml index cb4b4e0..8e38001 100644 --- a/config/mutant.yml +++ b/config/mutant.yml @@ -1,7 +1,7 @@ --- name: yardstick namespace: Yardstick -expect_coverage: 2351/2400 +expect_coverage: 2346/2394 ignore_subjects: # sometimes creates a neutral failure - Yardstick::Rake...
dkubb/yardstick
5881c446bc9123378357e84f52c0ad7162556cef
Remove `Measurement#initialize` spec
diff --git a/config/mutant.yml b/config/mutant.yml index 71d992b..cb4b4e0 100644 --- a/config/mutant.yml +++ b/config/mutant.yml @@ -1,7 +1,7 @@ --- name: yardstick namespace: Yardstick -expect_coverage: 2335/2400 +expect_coverage: 2351/2400 ignore_subjects: # sometimes creates a neutral failure - Yardstick::Rake...
dkubb/yardstick
635263a757da3af2ccc4e00b9bb1a39e31ab210c
Kill `DocumentSet#reduce` mutation
diff --git a/config/mutant.yml b/config/mutant.yml index 6394778..71d992b 100644 --- a/config/mutant.yml +++ b/config/mutant.yml @@ -1,7 +1,7 @@ --- name: yardstick namespace: Yardstick -expect_coverage: 2337/2403 +expect_coverage: 2335/2400 ignore_subjects: # sometimes creates a neutral failure - Yardstick::Rake...
dkubb/yardstick
9ed3d9d061103ee391c9bab422bf40b0a2065eb3
Kill `Document#summary_text` mutations
diff --git a/config/mutant.yml b/config/mutant.yml index 47add83..6394778 100644 --- a/config/mutant.yml +++ b/config/mutant.yml @@ -1,7 +1,7 @@ --- name: yardstick namespace: Yardstick -expect_coverage: 2335/2403 +expect_coverage: 2337/2403 ignore_subjects: # sometimes creates a neutral failure - Yardstick::Rake...
dkubb/yardstick
6d45ce604181dd26aa7427ac1a0d81c2f7607580
Kill `Document::NullTag#text` mutation
diff --git a/config/mutant.yml b/config/mutant.yml index 3d11e88..47add83 100644 --- a/config/mutant.yml +++ b/config/mutant.yml @@ -1,7 +1,7 @@ --- name: yardstick namespace: Yardstick -expect_coverage: 2335/2404 +expect_coverage: 2335/2403 ignore_subjects: # sometimes creates a neutral failure - Yardstick::Rake...
dkubb/yardstick
f27760c872936f365a2265007366bb838cddeb0a
Kill `Yardstick::Config.normalize_hash` mutation
diff --git a/config/mutant.yml b/config/mutant.yml index 611158a..3d11e88 100644 --- a/config/mutant.yml +++ b/config/mutant.yml @@ -1,7 +1,7 @@ --- name: yardstick namespace: Yardstick -expect_coverage: 2344/2414 +expect_coverage: 2335/2404 ignore_subjects: # sometimes creates a neutral failure - Yardstick::Rake...
dkubb/yardstick
07497e0749980c564c37fb831329dc3d09b00e67
Change `Lint/EndAlignment` to align w/ variables
diff --git a/config/rubocop.yml b/config/rubocop.yml index 8c79b25..40928d4 100644 --- a/config/rubocop.yml +++ b/config/rubocop.yml @@ -1,63 +1,67 @@ inherit_from: ../.rubocop.yml # Avoid parameter lists longer than five parameters. ParameterLists: Max: 3 CountKeywordArgs: true # Avoid more than `Max` le...
dkubb/yardstick
3a26e45911896fe635e21e2b6be04c3bc10e6baa
Kill mutations for `Yardstick::Config#initialize`
diff --git a/config/mutant.yml b/config/mutant.yml index 05f5a1f..611158a 100644 --- a/config/mutant.yml +++ b/config/mutant.yml @@ -1,7 +1,7 @@ --- name: yardstick namespace: Yardstick -expect_coverage: 2339/2414 +expect_coverage: 2344/2414 ignore_subjects: # sometimes creates a neutral failure - Yardstick::Rake...
dkubb/yardstick
29de56d88c08cd4ebbfa1936891c978a4c61cc31
Kill namespace mutation for `Yardstick::VERSION`
diff --git a/config/flay.yml b/config/flay.yml index 93c2829..79d4825 100644 --- a/config/flay.yml +++ b/config/flay.yml @@ -1,3 +1,3 @@ --- threshold: 9 -total_score: 170 +total_score: 172 diff --git a/config/mutant.yml b/config/mutant.yml index 776816e..05f5a1f 100644 --- a/config/mutant.yml +++ b/config/mutant.yml...
dkubb/yardstick
ef3624ac8f039ba089d3f5be5134f399557a49e4
Kill `CLI.option_parser` mutants
diff --git a/config/mutant.yml b/config/mutant.yml index a352c5c..776816e 100644 --- a/config/mutant.yml +++ b/config/mutant.yml @@ -1,7 +1,7 @@ --- name: yardstick namespace: Yardstick -expect_coverage: 2344/2422 +expect_coverage: 2339/2415 ignore_subjects: # sometimes creates a neutral failure - Yardstick::Rake...
dkubb/yardstick
8780401003097713ac98c428c547c6ac237b79d7
Kill `InvalidOption` error message mutation
diff --git a/config/mutant.yml b/config/mutant.yml index 7f7c0d9..a352c5c 100644 --- a/config/mutant.yml +++ b/config/mutant.yml @@ -1,7 +1,7 @@ --- name: yardstick namespace: Yardstick -expect_coverage: 2348/2426 +expect_coverage: 2344/2422 ignore_subjects: # sometimes creates a neutral failure - Yardstick::Rake...
dkubb/yardstick
d7d469cb456cb576a0315a85142db3e1dacb1f81
Kill unused CLI `options` mutations
diff --git a/config/flay.yml b/config/flay.yml index 1a838f6..93c2829 100644 --- a/config/flay.yml +++ b/config/flay.yml @@ -1,3 +1,3 @@ --- threshold: 9 -total_score: 167 +total_score: 170 diff --git a/config/mutant.yml b/config/mutant.yml index ea74f6c..7f7c0d9 100644 --- a/config/mutant.yml +++ b/config/mutant.yml...
dkubb/yardstick
cf9935e6e0c8ade8e0c311c3802f549d6a5d38df
Fix description for `.measure_string` unit spec
diff --git a/config/mutant.yml b/config/mutant.yml index 17ae5c3..ea74f6c 100644 --- a/config/mutant.yml +++ b/config/mutant.yml @@ -1,7 +1,7 @@ --- name: yardstick namespace: Yardstick -expect_coverage: 2362/2444 +expect_coverage: 2363/2444 ignore_subjects: # sometimes creates a neutral failure - Yardstick::Rake...
dkubb/yardstick
f48118f9d9213dbc96db02793d56e6b480dbf0a1
Kill equality mutants with `eql?` and `equal?`
diff --git a/config/mutant.yml b/config/mutant.yml index a46fc4d..17ae5c3 100644 --- a/config/mutant.yml +++ b/config/mutant.yml @@ -1,7 +1,7 @@ --- name: yardstick namespace: Yardstick -expect_coverage: 2358/2450 +expect_coverage: 2362/2444 ignore_subjects: # sometimes creates a neutral failure - Yardstick::Rake...
dkubb/yardstick
b026b1618d1642a3d88a0225fe2f0616ba616af7
Fix rubocop settings
diff --git a/.rubocop.yml b/.rubocop.yml new file mode 100644 index 0000000..177ab3c --- /dev/null +++ b/.rubocop.yml @@ -0,0 +1,6 @@ +AllCops: + Include: + - 'Gemfile' + Exclude: + - 'Gemfile.devtools' + - 'vendor/**/*' diff --git a/config/rubocop.yml b/config/rubocop.yml index 7729ee6..8c79b25 100644 --- a...
dkubb/yardstick
3a04de6de54dc581df615acfa8f3b7c13fa13acf
Add CircleCI config file
diff --git a/circle.yml b/circle.yml new file mode 100644 index 0000000..468d8c3 --- /dev/null +++ b/circle.yml @@ -0,0 +1,7 @@ +--- +machine: + ruby: + version: '2.2' +test: + override: + - bundle exec rake ci
dkubb/yardstick
764222edda8a1c46fc881b39d18b814b9186c778
Change hash syntax to 1.9 style
diff --git a/config/rubocop.yml b/config/rubocop.yml index 85b5ec7..7729ee6 100644 --- a/config/rubocop.yml +++ b/config/rubocop.yml @@ -1,74 +1,70 @@ AllCops: Include: - '**/*.rake' - 'Gemfile' - 'Gemfile.devtools' Exclude: - '**/vendor/**' - '**/benchmarks/**' # Avoid parameter list...
dkubb/yardstick
9a6851e155f4043c1280e50505b8333923773539
Change stubs to use `and_return` syntax
diff --git a/spec/unit/yardstick/class_methods/measure_spec.rb b/spec/unit/yardstick/class_methods/measure_spec.rb index bde5e8f..2717a6c 100644 --- a/spec/unit/yardstick/class_methods/measure_spec.rb +++ b/spec/unit/yardstick/class_methods/measure_spec.rb @@ -1,31 +1,33 @@ # encoding: utf-8 require 'spec_helper' ...
dkubb/yardstick
697ecd0eacc60a68f8b3b6d09b8bc12b8bf6c8ed
Change specs to use `eql` instead of `eq`
diff --git a/spec/integration/yardstick/document/file_spec.rb b/spec/integration/yardstick/document/file_spec.rb index 9ddbf32..6f66f4b 100644 --- a/spec/integration/yardstick/document/file_spec.rb +++ b/spec/integration/yardstick/document/file_spec.rb @@ -1,16 +1,16 @@ # encoding: utf-8 require 'spec_helper' de...
dkubb/yardstick
893e1db990d1f03873ed38e968ad8b2ecdc7c2ee
Fix rspec warnings about `raise_error`
diff --git a/spec/unit/yardstick/rake/verify/verify_measurements_spec.rb b/spec/unit/yardstick/rake/verify/verify_measurements_spec.rb index 29fc40c..b129da0 100644 --- a/spec/unit/yardstick/rake/verify/verify_measurements_spec.rb +++ b/spec/unit/yardstick/rake/verify/verify_measurements_spec.rb @@ -1,85 +1,85 @@ # en...
dkubb/yardstick
d57408e56727e6699e21547b4930a38ef50055bf
Upgrade devtools to 0.1.1 and RSpec to 3.3.1
diff --git a/Gemfile b/Gemfile index 8d68e28..29344f9 100644 --- a/Gemfile +++ b/Gemfile @@ -1,11 +1,13 @@ # encoding: utf-8 source 'https://rubygems.org' gemspec group :development, :test do - gem 'devtools', :git => 'https://github.com/rom-rb/devtools.git' + gem 'devtools', '~> 0.1.1' end -eval_gemfile...
dkubb/yardstick
de247be66a70b009d846dc28aee1ca5f4f9feaf0
Upgrade rubocop to 0.34 and fix violations
diff --git a/Gemfile.devtools b/Gemfile.devtools index 420ca0e..4162a8b 100644 --- a/Gemfile.devtools +++ b/Gemfile.devtools @@ -1,69 +1,69 @@ # encoding: utf-8 group :development do gem 'rake', '~> 10.1.0' gem 'rspec', '~> 2.14.1' gem 'yard', '~> 0.8.7' platform :rbx do gem 'rubysl-singleton',...
dkubb/yardstick
1dc4c6c928089fd80d166172d9e35a7f95af7f05
Add 2.1 and 2.2 to travis build
diff --git a/.travis.yml b/.travis.yml index 2124501..94455f4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,20 +1,22 @@ bundler_args: --without yard guard benchmarks env: global: - JRUBY_OPTS="$JRUBY_OPTS --debug" language: ruby script: "bundle exec rake ci" rvm: + - '2.1.6' + - '2.2' - ruby-head ...
dkubb/yardstick
1578dd0c33bee2105b723784ac8611c1afafa05b
Change .travis.yml to drop unsupported rubies
diff --git a/.travis.yml b/.travis.yml index 51417f9..2124501 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,29 +1,20 @@ bundler_args: --without yard guard benchmarks env: global: - JRUBY_OPTS="$JRUBY_OPTS --debug" language: ruby script: "bundle exec rake ci" rvm: - - 1.8.7 - - 1.9.3 - - 2.0.0 - - jr...
dkubb/yardstick
0aa394dd64baf5155775e6be5018d6c9844654b7
Flip secret bit to enable Docker builds
diff --git a/.travis.yml b/.travis.yml index 0f8a02a..51417f9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,28 +1,29 @@ bundler_args: --without yard guard benchmarks env: global: - JRUBY_OPTS="$JRUBY_OPTS --debug" language: ruby script: "bundle exec rake ci" rvm: - 1.8.7 - 1.9.3 - 2.0.0 - jr...
dkubb/yardstick
d829e49e4cb910bd5080b9130389340823358b20
Lock rest-client to ~> 1.6.0 on Ruby 1.8.7
diff --git a/Gemfile.devtools b/Gemfile.devtools index bf432fc..8f3be54 100644 --- a/Gemfile.devtools +++ b/Gemfile.devtools @@ -1,68 +1,69 @@ # encoding: utf-8 group :development do gem 'rake', '~> 10.1.0' gem 'rspec', '~> 2.14.1' gem 'yard', '~> 0.8.7' platform :rbx do gem 'rubysl-singleton',...
dkubb/yardstick
2ab8dd59c64e9da098294b9056d08794cb06e994
Use resolution-independent SVG badges [ci skip]
diff --git a/README.md b/README.md index e9c19f1..5088e61 100644 --- a/README.md +++ b/README.md @@ -1,155 +1,155 @@ # yardstick -[![Gem Version](https://badge.fury.io/rb/yardstick.png)][gem] -[![Build Status](https://secure.travis-ci.org/dkubb/yardstick.png?branch=master)][travis] -[![Dependency Status](https://gem...
dkubb/yardstick
3d0b28f2044cb9e33353c962d3d8f833ed764045
Prepare version 0.9.9
diff --git a/lib/yardstick/version.rb b/lib/yardstick/version.rb index 31a2085..fb7717e 100644 --- a/lib/yardstick/version.rb +++ b/lib/yardstick/version.rb @@ -1,6 +1,6 @@ # encoding: utf-8 module Yardstick # Gem version - VERSION = '0.9.8'.freeze + VERSION = '0.9.9'.freeze end # module Yardstick
dkubb/yardstick
aa528c65db3bfb52d8fe4d46e26e6aef5fb68a35
Exclude method objects without source location from reporting
diff --git a/config/flay.yml b/config/flay.yml index 1d655d6..7b46fb0 100644 --- a/config/flay.yml +++ b/config/flay.yml @@ -1,3 +1,3 @@ --- threshold: 12 -total_score: 160 +total_score: 162 diff --git a/lib/yardstick/parser.rb b/lib/yardstick/parser.rb index 20740d2..e77e0a3 100644 --- a/lib/yardstick/parser.rb +++ ...
dkubb/yardstick
038dfe35af2f346045b5b8133291d08825d842bf
Bump to version 0.9.8
diff --git a/lib/yardstick/version.rb b/lib/yardstick/version.rb index 0658350..31a2085 100644 --- a/lib/yardstick/version.rb +++ b/lib/yardstick/version.rb @@ -1,6 +1,6 @@ # encoding: utf-8 module Yardstick # Gem version - VERSION = '0.9.7'.freeze + VERSION = '0.9.8'.freeze end # module Yardstick
dkubb/yardstick
70a040db6b5ac8e025d6e3e45d0541842f82321d
Fix crash for MethodObjects#{file,line} returning nil
diff --git a/lib/yardstick/parser.rb b/lib/yardstick/parser.rb index cb0f2ab..20740d2 100644 --- a/lib/yardstick/parser.rb +++ b/lib/yardstick/parser.rb @@ -1,59 +1,59 @@ # encoding: utf-8 module Yardstick # Parses files and strings using YARD class Parser # Measure files specified in the paths # ...
dkubb/yardstick
7c681c2f0d825396f2415e5bb8cc847cf9fbf1be
Adjust reek config
diff --git a/config/reek.yml b/config/reek.yml index 2d925b7..2c1c4bd 100644 --- a/config/reek.yml +++ b/config/reek.yml @@ -1,112 +1,115 @@ --- Attribute: enabled: true exclude: - Yardstick::Config - Yardstick::Rule - Yardstick::Document BooleanParameter: enabled: true exclude: [] ClassVariabl...
dkubb/yardstick
495d3e33590d5730c47eedf07c0eeac236ff80c2
Use 1.8 style syntax for Gemfile.devtools
diff --git a/Gemfile.devtools b/Gemfile.devtools index 7c96bed..bf432fc 100644 --- a/Gemfile.devtools +++ b/Gemfile.devtools @@ -1,68 +1,68 @@ # encoding: utf-8 group :development do gem 'rake', '~> 10.1.0' gem 'rspec', '~> 2.14.1' gem 'yard', '~> 0.8.7' platform :rbx do gem 'rubysl-singleton',...
dkubb/yardstick
65554e15a9950dd78d805883002556a78da123dd
Sync devtools
diff --git a/Gemfile.devtools b/Gemfile.devtools index b7c33c0..7c96bed 100644 --- a/Gemfile.devtools +++ b/Gemfile.devtools @@ -1,66 +1,68 @@ # encoding: utf-8 group :development do gem 'rake', '~> 10.1.0' gem 'rspec', '~> 2.14.1' gem 'yard', '~> 0.8.7' platform :rbx do gem 'rubysl-singleton',...
dkubb/yardstick
16013755be98ce6de64d9bd84d1ad40485b850eb
Add missing require 'set'
diff --git a/lib/yardstick.rb b/lib/yardstick.rb index 0a6cfa5..cb196dc 100644 --- a/lib/yardstick.rb +++ b/lib/yardstick.rb @@ -1,83 +1,84 @@ # encoding: utf-8 +require 'set' require 'pathname' require 'delegate' require 'yard' require 'yardstick/ordered_set' require 'yardstick/measurement' require 'yar...
dkubb/yardstick
b7bbd99cc62b37480bf978ba5682e1d6c37c31fa
Add explanation of threshold to README.
diff --git a/README.md b/README.md index 486f9e9..e9c19f1 100644 --- a/README.md +++ b/README.md @@ -1,155 +1,155 @@ # yardstick [![Gem Version](https://badge.fury.io/rb/yardstick.png)][gem] [![Build Status](https://secure.travis-ci.org/dkubb/yardstick.png?branch=master)][travis] [![Dependency Status](https://gem...
dkubb/yardstick
4d8a57f5a69d49a408d4d778aebcc5a52a25c07a
Disable PredicateName Cop for Yardstock::Document#has_tag?
diff --git a/lib/yardstick/document.rb b/lib/yardstick/document.rb index 810bb6d..b856d41 100644 --- a/lib/yardstick/document.rb +++ b/lib/yardstick/document.rb @@ -1,214 +1,214 @@ # encoding: utf-8 module Yardstick # Wraps a yard docstring to make a nicer interface class Document @registered_rules = Set...
dkubb/yardstick
d70bc7a90e7cfe430a8b175e54bf43927e1582bd
Add temporary workaround for failing build on Ruby 1.8.7
diff --git a/.travis.yml b/.travis.yml index 8466ee4..a944143 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,29 +1,33 @@ language: ruby -before_install: gem install bundler +before_install: + - gem update bundler + - bundle --version + - gem update --system 2.1.11 + - gem --version bundler_args: --without yard ...
dkubb/yardstick
dd2e7728a8ba20f2f2447a32ce2b031da904323e
require 'forwardable' before extending Forwardable
diff --git a/lib/yardstick/rule.rb b/lib/yardstick/rule.rb index eb86f48..c1ff633 100644 --- a/lib/yardstick/rule.rb +++ b/lib/yardstick/rule.rb @@ -1,92 +1,94 @@ # encoding: utf-8 +require 'forwardable' + module Yardstick # Base class of every rule # # @abstract class Rule extend Forwardable ...
dkubb/yardstick
c1651109db7a33ffb8802ccf0aba23f698c87709
Enable fast finishing builds [ci skip]
diff --git a/.travis.yml b/.travis.yml index 6911d7c..637812b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,26 +1,27 @@ language: ruby before_install: gem install bundler bundler_args: --without yard guard benchmarks script: "bundle exec rake ci" rvm: - 1.9.3 - 2.0.0 - - ruby-head - rbx-19mode + - ru...
dkubb/yardstick
a9a853715c77837589edcb002d1765e49c97fdcc
Replace each_with_object with reduce
diff --git a/lib/yardstick/config.rb b/lib/yardstick/config.rb index 84f8f48..f0dd9e2 100644 --- a/lib/yardstick/config.rb +++ b/lib/yardstick/config.rb @@ -1,176 +1,177 @@ # encoding: utf-8 module Yardstick # Handles Yardstick configuration # class Config InvalidRule = Class.new(StandardError) ...
dkubb/yardstick
55042bf6825daaaaea0bb57d8013d66f7ad5b4f7
Use Ruby 1.8-compatible versions of dependent gems
diff --git a/Gemfile.devtools b/Gemfile.devtools index 9c0ea03..c0e91d0 100644 --- a/Gemfile.devtools +++ b/Gemfile.devtools @@ -1,54 +1,55 @@ # encoding: utf-8 group :development do gem 'rake', '~> 10.1.0' gem 'rspec', '~> 2.14.1' gem 'yard', '~> 0.8.7' end group :yard do gem 'kramdown', '~> 1.2....
dkubb/yardstick
469d5303048d9f970693e409c619ba6dc1a11dae
Use Ruby 1.8-compatible hash syntax
diff --git a/Gemfile b/Gemfile index 4baa234..8d68e28 100644 --- a/Gemfile +++ b/Gemfile @@ -1,11 +1,11 @@ # encoding: utf-8 source 'https://rubygems.org' gemspec group :development, :test do - gem 'devtools', git: 'https://github.com/rom-rb/devtools.git' + gem 'devtools', :git => 'https://github.com/rom-rb...
dkubb/yardstick
71b06bad7a25d7b82093634d6202589586470a8d
Use `fail` instead of `raise` to signal exceptions
diff --git a/lib/yardstick/config.rb b/lib/yardstick/config.rb index 84f8f48..8d486fb 100644 --- a/lib/yardstick/config.rb +++ b/lib/yardstick/config.rb @@ -1,176 +1,176 @@ # encoding: utf-8 module Yardstick # Handles Yardstick configuration # class Config InvalidRule = Class.new(StandardError) ...
dkubb/yardstick
3a9df6cf5f88a367ccdbf2f4a80ce252f1a4df71
Remove extra blank lines detected by rubocop
diff --git a/lib/yardstick.rb b/lib/yardstick.rb index a0fbf5b..0a6cfa5 100644 --- a/lib/yardstick.rb +++ b/lib/yardstick.rb @@ -1,84 +1,83 @@ # encoding: utf-8 require 'pathname' require 'delegate' require 'yard' require 'yardstick/ordered_set' require 'yardstick/measurement' require 'yardstick/config' ...
dkubb/yardstick
1dcde129712fd6abea4b73ff975e813748f85033
Make reek pass
diff --git a/config/reek.yml b/config/reek.yml index 5f58ccb..2d925b7 100644 --- a/config/reek.yml +++ b/config/reek.yml @@ -1,111 +1,112 @@ --- Attribute: enabled: true exclude: - Yardstick::Config - Yardstick::Rule - Yardstick::Document BooleanParameter: enabled: true exclude: [] ClassVariabl...
dkubb/yardstick
b3555964e5a5de7f7cbf30ca067c42a7e37912a4
Remove backports gem
diff --git a/lib/yardstick.rb b/lib/yardstick.rb index ea8fba5..a0fbf5b 100644 --- a/lib/yardstick.rb +++ b/lib/yardstick.rb @@ -1,85 +1,84 @@ # encoding: utf-8 require 'pathname' require 'delegate' -require 'backports' require 'yard' require 'yardstick/ordered_set' require 'yardstick/measurement' requir...
dkubb/yardstick
880ddbc87b4e6adcd3723c2fd86de12880e40d51
Upgrade gem dependencies
diff --git a/Gemfile.devtools b/Gemfile.devtools index 1d2d4e2..4e2a658 100644 --- a/Gemfile.devtools +++ b/Gemfile.devtools @@ -1,54 +1,54 @@ # encoding: utf-8 group :development do gem 'rake', '~> 10.1.0' gem 'rspec', '~> 2.14.1' gem 'yard', '~> 0.8.7' end group :yard do gem 'kramdown', '~> 1.2....
dkubb/yardstick
286c7e19f3c51f1a1ad1e1f3b47c9e23a09b5123
Fix rubocop warnings
diff --git a/lib/yardstick/rule_config.rb b/lib/yardstick/rule_config.rb index 93730fe..0696c22 100644 --- a/lib/yardstick/rule_config.rb +++ b/lib/yardstick/rule_config.rb @@ -1,54 +1,56 @@ +# encoding: utf-8 + module Yardstick # Config class for rules # # It is used to check if document should be validated ...
dkubb/yardstick
43ff8637fa1a01437d34d284a4f16e71008160ba
Fix failing specs
diff --git a/lib/yardstick.rb b/lib/yardstick.rb index 12df260..6913634 100644 --- a/lib/yardstick.rb +++ b/lib/yardstick.rb @@ -1,84 +1,84 @@ # encoding: utf-8 require 'pathname' require 'delegate' require 'backports' require 'yard' require 'yardstick/ordered_set' require 'yardstick/measurement' requir...
dkubb/yardstick
5f40af149ae860b922ccae411e502388879f4aab
Add magic encoding header to ruby files
diff --git a/bin/yardstick b/bin/yardstick index 2225ae1..695b93b 100755 --- a/bin/yardstick +++ b/bin/yardstick @@ -1,8 +1,9 @@ #!/usr/bin/env ruby -KU +# encoding: utf-8 $LOAD_PATH.unshift(File.expand_path('../../lib', __FILE__)) require 'yardstick' require 'yardstick/cli' Yardstick::CLI.run(*ARGV) diff --...
dkubb/yardstick
0b71f0f2515652304962ef94a41c74e1f6f6cc0c
Remove rspec warnings until YARD usage generates less warnings
diff --git a/.rspec b/.rspec index 5e712d3..f143084 100644 --- a/.rspec +++ b/.rspec @@ -1,5 +1,4 @@ --color --format progress --profile ---warnings --order random
dkubb/yardstick
bc033342e0aca32ea41378e137330c0afd3a22bb
Upgrade gem dependencies
diff --git a/Gemfile.devtools b/Gemfile.devtools index 3904384..1d2d4e2 100644 --- a/Gemfile.devtools +++ b/Gemfile.devtools @@ -1,54 +1,54 @@ # encoding: utf-8 group :development do gem 'rake', '~> 10.1.0' gem 'rspec', '~> 2.14.1' gem 'yard', '~> 0.8.7' end group :yard do - gem 'kramdown', '~> 1.1....
dkubb/yardstick
ec0b13d4d406c69263b59f84aaf86141e00848fb
Make sure verify and measurement report use the same rounding logic
diff --git a/lib/yardstick.rb b/lib/yardstick.rb index 4e6184c..fc2c88f 100644 --- a/lib/yardstick.rb +++ b/lib/yardstick.rb @@ -1,72 +1,85 @@ # encoding: utf-8 require 'pathname' require 'rational' require 'delegate' require 'backports' require 'yard' require 'yardstick/ordered_set' require 'yardstick/me...
dkubb/yardstick
d2c393500f20e212eb4e8531fddbd1463cfd9670
Bring documentation of Yardstick.measure up to date
diff --git a/lib/yardstick.rb b/lib/yardstick.rb index 6c1c444..4e6184c 100644 --- a/lib/yardstick.rb +++ b/lib/yardstick.rb @@ -1,73 +1,72 @@ # encoding: utf-8 require 'pathname' require 'rational' require 'delegate' require 'backports' require 'yard' require 'yardstick/ordered_set' require 'yardstick/me...
dkubb/yardstick
c057377dc0959a38477359bb23d7781eea9548ba
Change yardstick to round coverage percentage down
diff --git a/lib/yardstick/rake/verify.rb b/lib/yardstick/rake/verify.rb index d8324df..a13e30d 100644 --- a/lib/yardstick/rake/verify.rb +++ b/lib/yardstick/rake/verify.rb @@ -1,163 +1,163 @@ # encoding: utf-8 require 'rake' require 'rake/tasklib' require 'yardstick' module Yardstick module Rake #...
dkubb/yardstick
9ac499b2b7e2a04bddba1d34c38570208d2a244f
Refactor Yardstick::Document#summary_text to be simpler
diff --git a/lib/yardstick/document.rb b/lib/yardstick/document.rb index 8de3d30..ee0ddf9 100644 --- a/lib/yardstick/document.rb +++ b/lib/yardstick/document.rb @@ -1,213 +1,213 @@ module Yardstick # Wraps a yard docstring to make a nicer interface class Document @registered_rules = Set.new class <...
dkubb/yardstick
eab8c7167480c3f77473de882a7dcdeb35232229
Change to use the 18 parser for jruby in 1.9 mode
diff --git a/lib/yardstick/yard_ext.rb b/lib/yardstick/yard_ext.rb index a615b03..983d2e9 100644 --- a/lib/yardstick/yard_ext.rb +++ b/lib/yardstick/yard_ext.rb @@ -1,12 +1,11 @@ # encoding: utf-8 module YARD #:nodoc: all # Test if JRuby head is being used JRUBY_19MODE = RUBY_VERSION >= '1.9' && RUBY_ENGIN...
dkubb/yardstick
21ca389945f0887a7d363afe2b3bfebf58361f2f
Add rubocop gem dependency
diff --git a/Gemfile.devtools b/Gemfile.devtools index 731986c..3904384 100644 --- a/Gemfile.devtools +++ b/Gemfile.devtools @@ -1,54 +1,54 @@ # encoding: utf-8 group :development do gem 'rake', '~> 10.1.0' gem 'rspec', '~> 2.14.1' gem 'yard', '~> 0.8.7' end group :yard do gem 'kramdown', '~> 1.1....
dkubb/yardstick
e277f71996df109d65a996f5088935f12020296a
Move normal ruby versions to rvm section
diff --git a/.travis.yml b/.travis.yml index aa4155f..6911d7c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,25 +1,26 @@ language: ruby before_install: gem install bundler bundler_args: --without yard guard benchmarks script: "bundle exec rake ci" +rvm: + - 1.9.3 + - 2.0.0 + - ruby-head + - rbx-19mode matrix...
dkubb/yardstick
8e2accae84afeca9961340a140e7e5877fc18c79
Remove rubocop dependency temporarily until parser dep is fixed
diff --git a/Gemfile.devtools b/Gemfile.devtools index 3904384..731986c 100644 --- a/Gemfile.devtools +++ b/Gemfile.devtools @@ -1,54 +1,54 @@ # encoding: utf-8 group :development do gem 'rake', '~> 10.1.0' gem 'rspec', '~> 2.14.1' gem 'yard', '~> 0.8.7' end group :yard do gem 'kramdown', '~> 1.1....
dkubb/yardstick
86449538f81ddd421546e0b31c2676a010a024bb
Add mutant exceptions to travis configuration for now
diff --git a/.travis.yml b/.travis.yml index 62734eb..aa4155f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,21 +1,25 @@ language: ruby before_install: gem install bundler bundler_args: --without yard guard benchmarks script: "bundle exec rake ci" matrix: include: - rvm: 1.9.3 - rvm: 2.0.0 - rv...
dkubb/yardstick
462715a114008099fcbe2dcdb8febebaa7572d84
Fix rubocop warnings in code
diff --git a/lib/yardstick.rb b/lib/yardstick.rb index 6c1c444..bd3ae73 100644 --- a/lib/yardstick.rb +++ b/lib/yardstick.rb @@ -1,73 +1,72 @@ # encoding: utf-8 require 'pathname' -require 'rational' require 'delegate' require 'backports' require 'yard' require 'yardstick/ordered_set' require 'yardstick/me...
dkubb/yardstick
fd0a1aee94fcf6fe562dbcdde8ec6db67df85e99
Add rubocop and guard configuration
diff --git a/Guardfile b/Guardfile new file mode 100644 index 0000000..78a66cb --- /dev/null +++ b/Guardfile @@ -0,0 +1,32 @@ +# encoding: utf-8 + +guard :bundler do + watch('Gemfile') + watch('Gemfile.lock') + watch(%w{.+.gemspec\z}) +end + +guard :rspec, cli: File.read('.rspec').split.push('--fail-fast').join(' ')...
dkubb/yardstick
a2e1423e875ee34ed0fca38d53b86325405e073b
Add rspec configuration file
diff --git a/.rspec b/.rspec new file mode 100644 index 0000000..5e712d3 --- /dev/null +++ b/.rspec @@ -0,0 +1,5 @@ +--color +--format progress +--profile +--warnings +--order random
dkubb/yardstick
f7122b82699a5501fe1a4327df8ba72716870fc9
Move version configuration to matrix/include section
diff --git a/.travis.yml b/.travis.yml index 4b092e8..62734eb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,31 +1,21 @@ language: ruby before_install: gem install bundler bundler_args: --without yard guard benchmarks script: "bundle exec rake ci" -rvm: - - ree - - 1.8.7 - - 1.9.2 - - 1.9.3 - - 2.0.0 - - ru...
dkubb/yardstick
533f20e24da1d32c8cbb460027d77628a24376f4
Add yardstick gemset configuration
diff --git a/.ruby-gemset b/.ruby-gemset new file mode 100644 index 0000000..1449ce5 --- /dev/null +++ b/.ruby-gemset @@ -0,0 +1 @@ +yardstick
dkubb/yardstick
73b3e7eb48be70412257ca4399376979718c0565
Upgrade gem dependencies
diff --git a/Gemfile.devtools b/Gemfile.devtools index 7f5d4bb..3904384 100644 --- a/Gemfile.devtools +++ b/Gemfile.devtools @@ -1,59 +1,54 @@ # encoding: utf-8 group :development do - gem 'rake', '~> 10.0.4' - gem 'rspec', '~> 2.13.0' - gem 'yard', '~> 0.8.6.1' + gem 'rake', '~> 10.1.0' + gem 'rspec', '~> ...
dkubb/yardstick
a2cb3c64b4c6b496709194fc94d5732704051fec
Dup Yardstick::VERSION before assigning to gem.version
diff --git a/yardstick.gemspec b/yardstick.gemspec index ef2ebce..121d90c 100644 --- a/yardstick.gemspec +++ b/yardstick.gemspec @@ -1,28 +1,28 @@ # encoding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'yardstick/version' Gem::Specificatio...
dkubb/yardstick
34b0b88c3ce2acf28d07724b5eb54d76dc4e26dd
Adjust IRC notifications [ci skip]
diff --git a/.travis.yml b/.travis.yml index 8bac1a8..4b092e8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,31 +1,31 @@ language: ruby before_install: gem install bundler bundler_args: --without yard guard benchmarks script: "bundle exec rake ci" rvm: - ree - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - ru...
dkubb/yardstick
ce383b9473f55d7c21fb697549a3c66a0d547ef7
Add configuration section to README.md
diff --git a/README.md b/README.md index 1abd049..87c3241 100644 --- a/README.md +++ b/README.md @@ -1,127 +1,185 @@ yardstick ========= [![Gem Version](https://badge.fury.io/rb/yardstick.png)][gem] [![Build Status](https://secure.travis-ci.org/dkubb/yardstick.png?branch=master)][travis] [![Dependency Status](ht...
dkubb/yardstick
20cd6748ec51c8382c61dd29ee162ebb5507cd99
Allow exclusion of entire classes and modules
diff --git a/config/flay.yml b/config/flay.yml index 85d705d..f2e9be3 100644 --- a/config/flay.yml +++ b/config/flay.yml @@ -1,3 +1,3 @@ --- threshold: 12 -total_score: 155 +total_score: 158 diff --git a/lib/yardstick.rb b/lib/yardstick.rb index 6c1c444..afeff12 100644 --- a/lib/yardstick.rb +++ b/lib/yardstick.rb @@...
dkubb/yardstick
c69deb17e2edc543859b829b8ab85a6ad9a51ce9
[ci skip] Fix spelling in Config.normalize_hash docs
diff --git a/lib/yardstick/config.rb b/lib/yardstick/config.rb index 3007f67..3cc15f6 100644 --- a/lib/yardstick/config.rb +++ b/lib/yardstick/config.rb @@ -1,166 +1,166 @@ module Yardstick # Handles Yardstick configuration # class Config NAMESPACE_PREFIX = 'Yardstick::Rules::'.freeze # Set the th...
dkubb/yardstick
c4138a7953e485a248db151252579c7f54e2b599
Fix coding style
diff --git a/lib/yardstick/config.rb b/lib/yardstick/config.rb index 3edf372..79ce3b9 100644 --- a/lib/yardstick/config.rb +++ b/lib/yardstick/config.rb @@ -1,174 +1,174 @@ module Yardstick # Handles Yardstick configuration # class Config InvalidRule = Class.new(StandardError) NAMESPACE_PREFIX = '...
dkubb/yardstick
c4454622c8a2bb03f763de375f82519477a10cdd
Ensure summary length is validated correctly
diff --git a/lib/yardstick/rules/summary.rb b/lib/yardstick/rules/summary.rb index 56c8a1f..440cc14 100644 --- a/lib/yardstick/rules/summary.rb +++ b/lib/yardstick/rules/summary.rb @@ -1,85 +1,85 @@ module Yardstick module Rules # Rules related to method summary # class Summary # Checks if met...
dkubb/yardstick
12d190894ca2bba3bf8f84c6037a9ba5ceac14cd
Increase unit_test_timeout a bit
diff --git a/config/devtools.yml b/config/devtools.yml index f85cd4a..46bd7a1 100644 --- a/config/devtools.yml +++ b/config/devtools.yml @@ -1,2 +1,2 @@ --- -unit_test_timeout: 0.2 +unit_test_timeout: 0.3
dkubb/yardstick
c8d3f038c0278ee870c80664f81b333cb4f70631
Increase unit_test_timeout a bit
diff --git a/config/devtools.yml b/config/devtools.yml new file mode 100644 index 0000000..f85cd4a --- /dev/null +++ b/config/devtools.yml @@ -0,0 +1,2 @@ +--- +unit_test_timeout: 0.2
dkubb/yardstick
9ab9660ba84fd1a475374977bdab536c52424afd
Fix Yardstick::Processor#process spec
diff --git a/spec/unit/yardstick/processor/process_spec.rb b/spec/unit/yardstick/processor/process_spec.rb index 669049f..7639172 100644 --- a/spec/unit/yardstick/processor/process_spec.rb +++ b/spec/unit/yardstick/processor/process_spec.rb @@ -1,15 +1,15 @@ require 'spec_helper' describe Yardstick::Processor, '#pr...
dkubb/yardstick
6f7a432185697d5e73ee01759e04312cfc6f6a04
Add missing specs for Yardstick
diff --git a/spec/integration/yardstick/class_methods/measure_spec.rb b/spec/integration/yardstick/class_methods/measure_spec.rb new file mode 100644 index 0000000..fd6d141 --- /dev/null +++ b/spec/integration/yardstick/class_methods/measure_spec.rb @@ -0,0 +1,20 @@ +require 'spec_helper' + +describe Yardstick, '.measu...
dkubb/yardstick
bfed9a74439847d5a700da0dd0b95cae46ca4767
Add missing specs for Yardstick::ReportOutput
diff --git a/lib/yardstick/report_output.rb b/lib/yardstick/report_output.rb index b65988a..bb80515 100644 --- a/lib/yardstick/report_output.rb +++ b/lib/yardstick/report_output.rb @@ -1,52 +1,55 @@ module Yardstick + # Handles writing reports class ReportOutput + # Coerces string path into proper output ob...
dkubb/yardstick
cf212096c74b59da58009c81135234013a2f70be
Add missing specs for Yardstick::Parser
diff --git a/config/flay.yml b/config/flay.yml index 415e21d..85d705d 100644 --- a/config/flay.yml +++ b/config/flay.yml @@ -1,3 +1,3 @@ --- threshold: 12 -total_score: 159 +total_score: 155 diff --git a/config/reek.yml b/config/reek.yml index 3b8a49f..5f58ccb 100644 --- a/config/reek.yml +++ b/config/reek.yml @@ -1,...
dkubb/yardstick
abdf8a86ca6ca97b5948767a89c4d20fb3ef330f
Add missing specs for Yardstick::Rake tasks
diff --git a/config/flay.yml b/config/flay.yml index 7b46fb0..415e21d 100644 --- a/config/flay.yml +++ b/config/flay.yml @@ -1,3 +1,3 @@ --- threshold: 12 -total_score: 162 +total_score: 159 diff --git a/lib/yardstick/config.rb b/lib/yardstick/config.rb index 12295a5..3edf372 100644 --- a/lib/yardstick/config.rb +++ ...
dkubb/yardstick
756b11c87008f390062777fd650068b9aa2e7774
Add missing specs for Yardstick::DocumentSet
diff --git a/spec/unit/yardstick/document_set/measure_spec.rb b/spec/unit/yardstick/document_set/measure_spec.rb new file mode 100644 index 0000000..43caa0d --- /dev/null +++ b/spec/unit/yardstick/document_set/measure_spec.rb @@ -0,0 +1,29 @@ +require 'spec_helper' + +describe Yardstick::DocumentSet, '#measure' do + s...
dkubb/yardstick
ec9ef56e70c2d4c75a9c24db14545b8db9448ade
Add missing specs for Yardstick::Rule and Yardstick::Rules
diff --git a/lib/yardstick/document.rb b/lib/yardstick/document.rb index 8bf23b0..0baea39 100644 --- a/lib/yardstick/document.rb +++ b/lib/yardstick/document.rb @@ -1,186 +1,195 @@ module Yardstick # Wraps a yard docstring to make a nicer interface class Document extend Forwardable @registered_rule...
dkubb/yardstick
762612b8489e32c767e6e8d742a5ca03ef633397
Add missing specs for Yardstick::Processor
diff --git a/config/flay.yml b/config/flay.yml index 811f7e1..7b46fb0 100644 --- a/config/flay.yml +++ b/config/flay.yml @@ -1,3 +1,3 @@ --- threshold: 12 -total_score: 164 +total_score: 162 diff --git a/lib/yardstick.rb b/lib/yardstick.rb index 948c4d2..6c1c444 100644 --- a/lib/yardstick.rb +++ b/lib/yardstick.rb @@...
dkubb/yardstick
11a749b52d4072083f5d5ed8c955230e17164d99
Add missing specs for Yardstick::OrderedSet
diff --git a/spec/unit/yardstick/measurement_set/each_spec.rb b/spec/unit/yardstick/measurement_set/each_spec.rb deleted file mode 100644 index 8ff489a..0000000 --- a/spec/unit/yardstick/measurement_set/each_spec.rb +++ /dev/null @@ -1,16 +0,0 @@ -require 'spec_helper' - -describe Yardstick::MeasurementSet, '#each' do ...
dkubb/yardstick
ff84ad41ea522dfff4084794a0f3f6c03e827996
Add missing specs for Yardstick::MeasurementSet
diff --git a/spec/unit/yardstick/measurement_set/coverage_spec.rb b/spec/unit/yardstick/measurement_set/coverage_spec.rb new file mode 100644 index 0000000..36fdd3c --- /dev/null +++ b/spec/unit/yardstick/measurement_set/coverage_spec.rb @@ -0,0 +1,20 @@ +require 'spec_helper' + +describe Yardstick::MeasurementSet, '#c...
dkubb/yardstick
61e0497f537c7be46adcde1cdd73593e5be0f1c6
Add missing specs for Yardstick::Document
diff --git a/config/flay.yml b/config/flay.yml index 150ead7..811f7e1 100644 --- a/config/flay.yml +++ b/config/flay.yml @@ -1,3 +1,3 @@ --- threshold: 12 -total_score: 167 +total_score: 164 diff --git a/lib/yardstick/document.rb b/lib/yardstick/document.rb index 46f964d..cdc5280 100644 --- a/lib/yardstick/document.r...
dkubb/yardstick
2e3b1d2e41e53db599dab919e53d3272328c9d3a
Add missing specs for Yardstick::Config
diff --git a/config/flay.yml b/config/flay.yml index 797e3dc..150ead7 100644 --- a/config/flay.yml +++ b/config/flay.yml @@ -1,3 +1,3 @@ --- threshold: 12 -total_score: 161 +total_score: 167 diff --git a/lib/yardstick/config.rb b/lib/yardstick/config.rb index 3007f67..12295a5 100644 --- a/lib/yardstick/config.rb +++ ...
dkubb/yardstick
568420d37297a4cc86e02f66c2219c4f53f292e4
Add config/mutant.yml
diff --git a/config/mutant.yml b/config/mutant.yml new file mode 100644 index 0000000..6b7e626 --- /dev/null +++ b/config/mutant.yml @@ -0,0 +1,3 @@ +--- +name: yardstick +namespace: Yardstick
dkubb/yardstick
6b38022bd33fecb7f7101fa70c9a6545ef37b881
Get most of the metrics passing
diff --git a/config/flay.yml b/config/flay.yml index e84384b..797e3dc 100644 --- a/config/flay.yml +++ b/config/flay.yml @@ -1,3 +1,3 @@ --- -threshold: 15 -total_score: 246 +threshold: 12 +total_score: 161 diff --git a/config/flog.yml b/config/flog.yml index 4873e9b..309ca7c 100644 --- a/config/flog.yml +++ b/config/...
dkubb/yardstick
5a6378edb9389cdce5648911ff2c218b719e698c
Add devtools
diff --git a/Gemfile b/Gemfile index 8b8d898..84fbaa0 100644 --- a/Gemfile +++ b/Gemfile @@ -1,70 +1,11 @@ # encoding: utf-8 source 'https://rubygems.org' gemspec group :development do - gem 'rake', '~> 10.0.4' - gem 'rspec', '~> 1.3.2' + gem 'devtools', :git => 'https://github.com/datamapper/devtools.git...
dkubb/yardstick
c937f262b2b54d739e5aa7ffd11f9a42183a69e0
Only install yard-spellcheck on :ruby_19 platforms
diff --git a/Gemfile b/Gemfile index a0d2c93..8b8d898 100644 --- a/Gemfile +++ b/Gemfile @@ -1,67 +1,70 @@ # encoding: utf-8 source 'https://rubygems.org' gemspec group :development do gem 'rake', '~> 10.0.4' gem 'rspec', '~> 1.3.2' end group :yard do gem 'kramdown', '~> 1.0.1' end group :gu...
dkubb/yardstick
ccb6276bdcd1b35ef11a68fe6bd5421a811890cf
Fix README formatting and information to be current
diff --git a/README.md b/README.md index 0816203..1abd049 100644 --- a/README.md +++ b/README.md @@ -1,139 +1,127 @@ -# Yardstick -=========== +yardstick +========= [![Gem Version](https://badge.fury.io/rb/yardstick.png)][gem] [![Build Status](https://secure.travis-ci.org/dkubb/yardstick.png?branch=master)][travis]...
dkubb/yardstick
8a055bdc22572b925b7ae06bccac3d726e7aa87b
Improve documentation a bit
diff --git a/lib/yardstick/measurement.rb b/lib/yardstick/measurement.rb index a55446b..2caf30d 100644 --- a/lib/yardstick/measurement.rb +++ b/lib/yardstick/measurement.rb @@ -1,102 +1,102 @@ # encoding: utf-8 module Yardstick # A measurement given a constraint on the docs class Measurement # Return a...
dkubb/yardstick
5c36733c8bba0e298e6b8b793878a5287c55f158
Make Config.normalize_hash private
diff --git a/lib/yardstick/config.rb b/lib/yardstick/config.rb index 349a88d..3007f67 100644 --- a/lib/yardstick/config.rb +++ b/lib/yardstick/config.rb @@ -1,162 +1,166 @@ module Yardstick # Handles Yardstick configuration # class Config NAMESPACE_PREFIX = 'Yardstick::Rules::'.freeze # Set the th...
dkubb/yardstick
aec65e438f06fbe54a407a2e99ec9fb2c1de3b7e
Fix reek warnings
diff --git a/config/flay.yml b/config/flay.yml index 6645cd8..e84384b 100644 --- a/config/flay.yml +++ b/config/flay.yml @@ -1,3 +1,3 @@ --- threshold: 15 -total_score: 227 +total_score: 246 diff --git a/config/site.reek b/config/site.reek index 2a52260..d9b79ab 100644 --- a/config/site.reek +++ b/config/site.reek @@...
dkubb/yardstick
f9ece533c02e23904c25cbe7643d7e06d2fa5a8e
Move config hash coercion into separate method
diff --git a/config/flay.yml b/config/flay.yml index 84413f2..6645cd8 100644 --- a/config/flay.yml +++ b/config/flay.yml @@ -1,3 +1,3 @@ --- threshold: 15 -total_score: 233 +total_score: 227 diff --git a/lib/yardstick/config.rb b/lib/yardstick/config.rb index 9dba53c..02cee90 100644 --- a/lib/yardstick/config.rb +++ ...
dkubb/yardstick
e2380a017934a54b5d895e8e9554aaf59dee6990
Fix Rules::Summary::Delimiter
diff --git a/lib/yardstick/rules/summary.rb b/lib/yardstick/rules/summary.rb index 5523b93..372d4d4 100644 --- a/lib/yardstick/rules/summary.rb +++ b/lib/yardstick/rules/summary.rb @@ -1,85 +1,85 @@ module Yardstick module Rules # Rules related to method summary # class Summary # Checks if met...
dkubb/yardstick
8918056dbd3465628bdd031480de5c1d08b2d525
Pass only config to process_path
diff --git a/config/flay.yml b/config/flay.yml index 34f55fa..84413f2 100644 --- a/config/flay.yml +++ b/config/flay.yml @@ -1,3 +1,3 @@ --- threshold: 15 -total_score: 229 +total_score: 233 diff --git a/config/flog.yml b/config/flog.yml index 05e12f8..4873e9b 100644 --- a/config/flog.yml +++ b/config/flog.yml @@ -1,...