yardstick 0.9.6 → 0.9.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +1 -0
- data/.rspec +4 -0
- data/.ruby-gemset +1 -0
- data/.travis.yml +11 -16
- data/CONTRIBUTING.md +11 -0
- data/Gemfile +3 -59
- data/Gemfile.devtools +54 -0
- data/Guardfile +32 -0
- data/LICENSE +1 -1
- data/README.md +71 -55
- data/Rakefile +2 -7
- data/TODO +12 -0
- data/bin/yardstick +1 -0
- data/config/devtools.yml +2 -0
- data/config/flay.yml +2 -2
- data/config/flog.yml +1 -1
- data/config/mutant.yml +3 -0
- data/config/{site.reek → reek.yml} +31 -25
- data/config/rubocop.yml +49 -0
- data/config/yardstick.yml +31 -0
- data/lib/yardstick.rb +35 -15
- data/lib/yardstick/cli.rb +7 -7
- data/lib/yardstick/config.rb +176 -0
- data/lib/yardstick/document.rb +215 -0
- data/lib/yardstick/document_set.rb +21 -0
- data/lib/yardstick/measurement.rb +18 -145
- data/lib/yardstick/measurement_set.rb +2 -2
- data/lib/yardstick/parser.rb +61 -0
- data/lib/yardstick/processor.rb +21 -35
- data/lib/yardstick/rake/measurement.rb +7 -49
- data/lib/yardstick/rake/verify.rb +28 -55
- data/lib/yardstick/report_output.rb +57 -0
- data/lib/yardstick/rule.rb +64 -37
- data/lib/yardstick/rule_config.rb +56 -0
- data/lib/yardstick/rules/api_tag.rb +95 -0
- data/lib/yardstick/rules/example_tag.rb +33 -0
- data/lib/yardstick/rules/return_tag.rb +21 -0
- data/lib/yardstick/rules/summary.rb +87 -0
- data/lib/yardstick/version.rb +1 -1
- data/lib/yardstick/yard_ext.rb +1 -6
- data/spec/integration/yardstick/class_methods/measure_spec.rb +22 -0
- data/spec/integration/yardstick/class_methods/measure_string_spec.rb +20 -0
- data/spec/integration/yardstick/document/file_spec.rb +16 -0
- data/spec/integration/yardstick/document/line_spec.rb +25 -0
- data/spec/integration/yardstick/document/path_spec.rb +45 -0
- data/spec/integration/yardstick/processor/process_string_spec.rb +401 -0
- data/spec/integration/yardstick/rake/measurement_spec.rb +22 -0
- data/spec/integration/yardstick/rake/verify_spec.rb +19 -0
- data/spec/shared/measured_itself_behavior.rb +15 -0
- data/spec/spec_helper.rb +13 -26
- data/spec/support/document_mock.rb +16 -0
- data/spec/support/rules.rb +51 -0
- data/spec/unit/yardstick/class_methods/measure_spec.rb +31 -0
- data/spec/unit/yardstick/class_methods/measure_string_spec.rb +33 -0
- data/spec/unit/yardstick/cli_spec.rb +11 -8
- data/spec/unit/yardstick/config/class_methods/coerce_spec.rb +32 -0
- data/spec/unit/yardstick/config/for_rule_spec.rb +47 -0
- data/spec/unit/yardstick/config/initialize_spec.rb +21 -0
- data/spec/unit/yardstick/config/output_spec.rb +15 -0
- data/spec/unit/yardstick/config/output_writer_spec.rb +20 -0
- data/spec/unit/yardstick/config/path_spec.rb +13 -0
- data/spec/unit/yardstick/config/path_writer_spec.rb +11 -0
- data/spec/unit/yardstick/config/require_exact_threshold_predicate_spec.rb +19 -0
- data/spec/unit/yardstick/config/require_exact_threshold_writer_spec.rb +19 -0
- data/spec/unit/yardstick/config/set_defaults_spec.rb +42 -0
- data/spec/unit/yardstick/config/threshold_writer_spec.rb +15 -0
- data/spec/unit/yardstick/config/verbose_predicate_spec.rb +19 -0
- data/spec/unit/yardstick/config/verbose_writer_spec.rb +19 -0
- data/spec/unit/yardstick/document/api_predicate_spec.rb +25 -0
- data/spec/unit/yardstick/document/class_methods/measure_spec.rb +25 -0
- data/spec/unit/yardstick/document/class_methods/register_rule_spec.rb +19 -0
- data/spec/unit/yardstick/document/class_methods/registered_rules_spec.rb +9 -0
- data/spec/unit/yardstick/document/docstring_spec.rb +11 -0
- data/spec/unit/yardstick/document/file_spec.rb +14 -0
- data/spec/unit/yardstick/document/has_tag_predicate_spec.rb +15 -0
- data/spec/unit/yardstick/document/line_spec.rb +12 -0
- data/spec/unit/yardstick/document/null_tag/text_spec.rb +9 -0
- data/spec/unit/yardstick/document/null_tag/types_spec.rb +9 -0
- data/spec/unit/yardstick/document/path_spec.rb +12 -0
- data/spec/unit/yardstick/document/summary_text_spec.rb +23 -0
- data/spec/unit/yardstick/document/tag_text_spec.rb +17 -0
- data/spec/unit/yardstick/document/tag_types_spec.rb +18 -0
- data/spec/unit/yardstick/document/visibility_spec.rb +22 -0
- data/spec/unit/yardstick/document_set/measure_spec.rb +28 -0
- data/spec/unit/yardstick/measurement/description_spec.rb +12 -0
- data/spec/unit/yardstick/measurement/initialize_spec.rb +12 -0
- data/spec/unit/yardstick/measurement/ok_predicate_spec.rb +21 -0
- data/spec/unit/yardstick/measurement/puts_spec.rb +62 -0
- data/spec/unit/yardstick/measurement/skip_predicate_spec.rb +27 -0
- data/spec/unit/yardstick/measurement_set/coverage_spec.rb +23 -0
- data/spec/unit/yardstick/measurement_set/failed_spec.rb +28 -0
- data/spec/unit/yardstick/measurement_set/initialize_spec.rb +27 -0
- data/spec/unit/yardstick/measurement_set/puts_spec.rb +63 -0
- data/spec/unit/yardstick/measurement_set/successful_spec.rb +13 -0
- data/spec/unit/yardstick/measurement_set/total_spec.rb +12 -0
- data/spec/unit/yardstick/ordered_set/each_spec.rb +18 -0
- data/spec/unit/yardstick/ordered_set/empty_predicate_spec.rb +19 -0
- data/spec/unit/yardstick/ordered_set/include_predicate_spec.rb +21 -0
- data/spec/unit/yardstick/ordered_set/index_spec.rb +21 -0
- data/spec/unit/yardstick/ordered_set/left_shift_operator_spec.rb +16 -0
- data/spec/unit/yardstick/ordered_set/length_spec.rb +11 -0
- data/spec/unit/yardstick/ordered_set/merge_spec.rb +16 -0
- data/spec/unit/yardstick/parser/class_methods/parse_paths_spec.rb +28 -0
- data/spec/unit/yardstick/parser/class_methods/parse_string_spec.rb +28 -0
- data/spec/unit/yardstick/processor/process_spec.rb +17 -0
- data/spec/unit/yardstick/processor/process_string_spec.rb +17 -0
- data/spec/unit/yardstick/rake/measurement/initialize_spec.rb +64 -0
- data/spec/unit/yardstick/rake/measurement/yardstick_measure_spec.rb +22 -0
- data/spec/unit/yardstick/rake/verify/initialize_spec.rb +72 -0
- data/spec/unit/yardstick/rake/verify/verify_measurements_spec.rb +85 -0
- data/spec/unit/yardstick/report_output/class_methods/coerce_spec.rb +18 -0
- data/spec/unit/yardstick/report_output/initialize_spec.rb +11 -0
- data/spec/unit/yardstick/report_output/to_s_spec.rb +12 -0
- data/spec/unit/yardstick/report_output/write_spec.rb +31 -0
- data/spec/unit/yardstick/round_percentage_spec.rb +9 -0
- data/spec/unit/yardstick/rule/class_methods/coerce_spec.rb +21 -0
- data/spec/unit/yardstick/rule/class_methods/inherited_spec.rb +15 -0
- data/spec/unit/yardstick/rule/enabled_predicate_spec.rb +18 -0
- data/spec/unit/yardstick/rule/initialize_spec.rb +25 -0
- data/spec/unit/yardstick/rule/validatable_predicate_spec.rb +11 -0
- data/spec/unit/yardstick/rule_config/enabled_for_path_predicate_spec.rb +41 -0
- data/spec/unit/yardstick/rule_config/initialize_spec.rb +16 -0
- data/spec/unit/yardstick/rules/api_tag/inclusion/valid_predicate_spec.rb +27 -0
- data/spec/unit/yardstick/rules/api_tag/presence/valid_predicate_spec.rb +25 -0
- data/spec/unit/yardstick/rules/api_tag/private_method/valid_predicate_spec.rb +21 -0
- data/spec/unit/yardstick/rules/api_tag/private_method/validatable_predicate_spec.rb +21 -0
- data/spec/unit/yardstick/rules/api_tag/protected_method/valid_predicate_spec.rb +25 -0
- data/spec/unit/yardstick/rules/api_tag/protected_method/validatable_predicate_spec.rb +21 -0
- data/spec/unit/yardstick/rules/example_tag/valid_predicate_spec.rb +25 -0
- data/spec/unit/yardstick/rules/example_tag/validatable_predicate_spec.rb +32 -0
- data/spec/unit/yardstick/rules/return_tag/valid_predicate_spec.rb +21 -0
- data/spec/unit/yardstick/rules/summary/delimiter/valid_predicate_spec.rb +21 -0
- data/spec/unit/yardstick/rules/summary/length/valid_predicate_spec.rb +27 -0
- data/spec/unit/yardstick/rules/summary/presence/valid_predicate_spec.rb +21 -0
- data/spec/unit/yardstick/rules/summary/presence/validatable_predicate_spec.rb +21 -0
- data/spec/unit/yardstick/rules/summary/single_line/valid_predicate_spec.rb +21 -0
- data/yardstick.gemspec +7 -11
- metadata +222 -65
- data/.rvmrc +0 -1
- data/lib/yardstick/measurable.rb +0 -67
- data/lib/yardstick/method.rb +0 -113
- data/lib/yardstick/rule_set.rb +0 -22
- data/spec/support/config_alias.rb +0 -5
- data/spec/unit/yardstick/measurement_set_spec.rb +0 -266
- data/spec/unit/yardstick/measurement_spec.rb +0 -257
- data/spec/unit/yardstick/method_spec.rb +0 -357
- data/spec/unit/yardstick/rake/measurement_spec.rb +0 -175
- data/spec/unit/yardstick/rake/verify_spec.rb +0 -231
- data/spec/unit/yardstick/rule_spec.rb +0 -36
- data/spec/unit/yardstick_spec.rb +0 -71
- data/tasks/metrics/ci.rake +0 -9
- data/tasks/metrics/flay.rake +0 -53
- data/tasks/metrics/flog.rake +0 -44
- data/tasks/metrics/heckle.rake +0 -52
- data/tasks/metrics/metric_fu.rake +0 -31
- data/tasks/metrics/reek.rake +0 -21
- data/tasks/metrics/roodi.rake +0 -19
- data/tasks/metrics/yardstick.rake +0 -27
- data/tasks/spec.rake +0 -64
- data/tasks/yard.rake +0 -11
@@ -0,0 +1,21 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
describe Yardstick::Rules::Summary::Presence, '#valid?' do
|
6
|
+
subject { described_class.new(document).valid? }
|
7
|
+
|
8
|
+
let(:document) { double('document', summary_text: text) }
|
9
|
+
|
10
|
+
context 'with summary' do
|
11
|
+
let(:text) { 'A summary' }
|
12
|
+
|
13
|
+
it { should be(true) }
|
14
|
+
end
|
15
|
+
|
16
|
+
context 'without summary' do
|
17
|
+
let(:text) { '' }
|
18
|
+
|
19
|
+
it { should be(false) }
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
describe Yardstick::Rules::Summary::Presence, '#validatable?' do
|
6
|
+
subject { described_class.new(document).validatable? }
|
7
|
+
|
8
|
+
let(:document) { double('document') }
|
9
|
+
|
10
|
+
context 'with @see tag' do
|
11
|
+
before { document.stub(:has_tag?).with('see').and_return(true) }
|
12
|
+
|
13
|
+
it { should be(false) }
|
14
|
+
end
|
15
|
+
|
16
|
+
context 'without @see tag' do
|
17
|
+
before { document.stub(:has_tag?).with('see').and_return(false) }
|
18
|
+
|
19
|
+
it { should be(true) }
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
describe Yardstick::Rules::Summary::SingleLine, '#valid?' do
|
6
|
+
subject { described_class.new(document).valid? }
|
7
|
+
|
8
|
+
let(:document) { double('document', summary_text: text) }
|
9
|
+
|
10
|
+
context 'with one line summary' do
|
11
|
+
let(:text) { 'A summary' }
|
12
|
+
|
13
|
+
it { should be(true) }
|
14
|
+
end
|
15
|
+
|
16
|
+
context 'with more than one line' do
|
17
|
+
let(:text) { "A summary\nA summary" }
|
18
|
+
|
19
|
+
it { should be(false) }
|
20
|
+
end
|
21
|
+
end
|
data/yardstick.gemspec
CHANGED
@@ -1,28 +1,24 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
|
3
|
-
|
4
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
-
|
6
|
-
require 'yardstick/version'
|
3
|
+
require File.expand_path('../lib/yardstick/version', __FILE__)
|
7
4
|
|
8
5
|
Gem::Specification.new do |gem|
|
9
6
|
gem.name = 'yardstick'
|
10
|
-
gem.version = Yardstick::VERSION
|
7
|
+
gem.version = Yardstick::VERSION.dup
|
11
8
|
gem.authors = ['Dan Kubb']
|
12
9
|
gem.email = %w[dan.kubb@gmail.com]
|
13
10
|
gem.description = 'Measure YARD documentation coverage'
|
14
11
|
gem.summary = 'A tool for verifying YARD documentation coverage'
|
15
12
|
gem.homepage = 'https://github.com/dkubb/yardstick'
|
16
|
-
gem.licenses =
|
13
|
+
gem.licenses = 'MIT'
|
17
14
|
|
18
15
|
gem.require_paths = %w[lib]
|
19
|
-
gem.files = `git ls-files`.split(
|
20
|
-
gem.test_files = `git ls-files -- spec/{
|
21
|
-
gem.extra_rdoc_files = %w[LICENSE README.md]
|
16
|
+
gem.files = `git ls-files`.split("\n")
|
17
|
+
gem.test_files = `git ls-files -- spec/{unit,integration}`.split("\n")
|
18
|
+
gem.extra_rdoc_files = %w[LICENSE README.md CONTRIBUTING.md TODO]
|
22
19
|
gem.executables = %w[yardstick]
|
23
20
|
|
24
|
-
gem.add_runtime_dependency('
|
25
|
-
gem.add_runtime_dependency('yard', '~> 0.8', '>= 0.8.6')
|
21
|
+
gem.add_runtime_dependency('yard', '~> 0.8', '>= 0.8.7')
|
26
22
|
|
27
23
|
gem.add_development_dependency('bundler', '~> 1.3', '>= 1.3.5')
|
28
24
|
end
|
metadata
CHANGED
@@ -1,80 +1,53 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yardstick
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
5
|
-
prerelease:
|
4
|
+
version: 0.9.7
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Dan Kubb
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-09-15 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
|
-
- !ruby/object:Gem::Dependency
|
15
|
-
name: backports
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '3.3'
|
22
|
-
- - ! '>='
|
23
|
-
- !ruby/object:Gem::Version
|
24
|
-
version: 3.3.0
|
25
|
-
type: :runtime
|
26
|
-
prerelease: false
|
27
|
-
version_requirements: !ruby/object:Gem::Requirement
|
28
|
-
none: false
|
29
|
-
requirements:
|
30
|
-
- - ~>
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '3.3'
|
33
|
-
- - ! '>='
|
34
|
-
- !ruby/object:Gem::Version
|
35
|
-
version: 3.3.0
|
36
13
|
- !ruby/object:Gem::Dependency
|
37
14
|
name: yard
|
38
15
|
requirement: !ruby/object:Gem::Requirement
|
39
|
-
none: false
|
40
16
|
requirements:
|
41
17
|
- - ~>
|
42
18
|
- !ruby/object:Gem::Version
|
43
19
|
version: '0.8'
|
44
|
-
- -
|
20
|
+
- - '>='
|
45
21
|
- !ruby/object:Gem::Version
|
46
|
-
version: 0.8.
|
22
|
+
version: 0.8.7
|
47
23
|
type: :runtime
|
48
24
|
prerelease: false
|
49
25
|
version_requirements: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
26
|
requirements:
|
52
27
|
- - ~>
|
53
28
|
- !ruby/object:Gem::Version
|
54
29
|
version: '0.8'
|
55
|
-
- -
|
30
|
+
- - '>='
|
56
31
|
- !ruby/object:Gem::Version
|
57
|
-
version: 0.8.
|
32
|
+
version: 0.8.7
|
58
33
|
- !ruby/object:Gem::Dependency
|
59
34
|
name: bundler
|
60
35
|
requirement: !ruby/object:Gem::Requirement
|
61
|
-
none: false
|
62
36
|
requirements:
|
63
37
|
- - ~>
|
64
38
|
- !ruby/object:Gem::Version
|
65
39
|
version: '1.3'
|
66
|
-
- -
|
40
|
+
- - '>='
|
67
41
|
- !ruby/object:Gem::Version
|
68
42
|
version: 1.3.5
|
69
43
|
type: :development
|
70
44
|
prerelease: false
|
71
45
|
version_requirements: !ruby/object:Gem::Requirement
|
72
|
-
none: false
|
73
46
|
requirements:
|
74
47
|
- - ~>
|
75
48
|
- !ruby/object:Gem::Version
|
76
49
|
version: '1.3'
|
77
|
-
- -
|
50
|
+
- - '>='
|
78
51
|
- !ruby/object:Gem::Version
|
79
52
|
version: 1.3.5
|
80
53
|
description: Measure YARD documentation coverage
|
@@ -86,82 +59,266 @@ extensions: []
|
|
86
59
|
extra_rdoc_files:
|
87
60
|
- LICENSE
|
88
61
|
- README.md
|
62
|
+
- CONTRIBUTING.md
|
63
|
+
- TODO
|
89
64
|
files:
|
90
65
|
- .document
|
91
66
|
- .gitignore
|
92
|
-
- .
|
67
|
+
- .rspec
|
68
|
+
- .ruby-gemset
|
93
69
|
- .travis.yml
|
70
|
+
- CONTRIBUTING.md
|
94
71
|
- Gemfile
|
72
|
+
- Gemfile.devtools
|
73
|
+
- Guardfile
|
95
74
|
- LICENSE
|
96
75
|
- README.md
|
97
76
|
- Rakefile
|
77
|
+
- TODO
|
98
78
|
- bin/yardstick
|
79
|
+
- config/devtools.yml
|
99
80
|
- config/flay.yml
|
100
81
|
- config/flog.yml
|
82
|
+
- config/mutant.yml
|
83
|
+
- config/reek.yml
|
101
84
|
- config/roodi.yml
|
102
|
-
- config/
|
85
|
+
- config/rubocop.yml
|
103
86
|
- config/yardstick.yml
|
104
87
|
- lib/yardstick.rb
|
105
88
|
- lib/yardstick/cli.rb
|
106
|
-
- lib/yardstick/
|
89
|
+
- lib/yardstick/config.rb
|
90
|
+
- lib/yardstick/document.rb
|
91
|
+
- lib/yardstick/document_set.rb
|
107
92
|
- lib/yardstick/measurement.rb
|
108
93
|
- lib/yardstick/measurement_set.rb
|
109
|
-
- lib/yardstick/method.rb
|
110
94
|
- lib/yardstick/ordered_set.rb
|
95
|
+
- lib/yardstick/parser.rb
|
111
96
|
- lib/yardstick/processor.rb
|
112
97
|
- lib/yardstick/rake/measurement.rb
|
113
98
|
- lib/yardstick/rake/verify.rb
|
99
|
+
- lib/yardstick/report_output.rb
|
114
100
|
- lib/yardstick/rule.rb
|
115
|
-
- lib/yardstick/
|
101
|
+
- lib/yardstick/rule_config.rb
|
102
|
+
- lib/yardstick/rules/api_tag.rb
|
103
|
+
- lib/yardstick/rules/example_tag.rb
|
104
|
+
- lib/yardstick/rules/return_tag.rb
|
105
|
+
- lib/yardstick/rules/summary.rb
|
116
106
|
- lib/yardstick/version.rb
|
117
107
|
- lib/yardstick/yard_ext.rb
|
108
|
+
- spec/integration/yardstick/class_methods/measure_spec.rb
|
109
|
+
- spec/integration/yardstick/class_methods/measure_string_spec.rb
|
110
|
+
- spec/integration/yardstick/document/file_spec.rb
|
111
|
+
- spec/integration/yardstick/document/line_spec.rb
|
112
|
+
- spec/integration/yardstick/document/path_spec.rb
|
113
|
+
- spec/integration/yardstick/processor/process_string_spec.rb
|
114
|
+
- spec/integration/yardstick/rake/measurement_spec.rb
|
115
|
+
- spec/integration/yardstick/rake/verify_spec.rb
|
118
116
|
- spec/rcov.opts
|
117
|
+
- spec/shared/measured_itself_behavior.rb
|
119
118
|
- spec/spec.opts
|
120
119
|
- spec/spec_helper.rb
|
121
|
-
- spec/support/
|
120
|
+
- spec/support/document_mock.rb
|
121
|
+
- spec/support/rules.rb
|
122
|
+
- spec/unit/yardstick/class_methods/measure_spec.rb
|
123
|
+
- spec/unit/yardstick/class_methods/measure_string_spec.rb
|
122
124
|
- spec/unit/yardstick/cli_spec.rb
|
123
|
-
- spec/unit/yardstick/
|
124
|
-
- spec/unit/yardstick/
|
125
|
-
- spec/unit/yardstick/
|
126
|
-
- spec/unit/yardstick/
|
127
|
-
- spec/unit/yardstick/
|
128
|
-
- spec/unit/yardstick/
|
129
|
-
- spec/unit/
|
130
|
-
-
|
131
|
-
-
|
132
|
-
-
|
133
|
-
-
|
134
|
-
-
|
135
|
-
-
|
136
|
-
-
|
137
|
-
-
|
138
|
-
-
|
139
|
-
-
|
125
|
+
- spec/unit/yardstick/config/class_methods/coerce_spec.rb
|
126
|
+
- spec/unit/yardstick/config/for_rule_spec.rb
|
127
|
+
- spec/unit/yardstick/config/initialize_spec.rb
|
128
|
+
- spec/unit/yardstick/config/output_spec.rb
|
129
|
+
- spec/unit/yardstick/config/output_writer_spec.rb
|
130
|
+
- spec/unit/yardstick/config/path_spec.rb
|
131
|
+
- spec/unit/yardstick/config/path_writer_spec.rb
|
132
|
+
- spec/unit/yardstick/config/require_exact_threshold_predicate_spec.rb
|
133
|
+
- spec/unit/yardstick/config/require_exact_threshold_writer_spec.rb
|
134
|
+
- spec/unit/yardstick/config/set_defaults_spec.rb
|
135
|
+
- spec/unit/yardstick/config/threshold_writer_spec.rb
|
136
|
+
- spec/unit/yardstick/config/verbose_predicate_spec.rb
|
137
|
+
- spec/unit/yardstick/config/verbose_writer_spec.rb
|
138
|
+
- spec/unit/yardstick/document/api_predicate_spec.rb
|
139
|
+
- spec/unit/yardstick/document/class_methods/measure_spec.rb
|
140
|
+
- spec/unit/yardstick/document/class_methods/register_rule_spec.rb
|
141
|
+
- spec/unit/yardstick/document/class_methods/registered_rules_spec.rb
|
142
|
+
- spec/unit/yardstick/document/docstring_spec.rb
|
143
|
+
- spec/unit/yardstick/document/file_spec.rb
|
144
|
+
- spec/unit/yardstick/document/has_tag_predicate_spec.rb
|
145
|
+
- spec/unit/yardstick/document/line_spec.rb
|
146
|
+
- spec/unit/yardstick/document/null_tag/text_spec.rb
|
147
|
+
- spec/unit/yardstick/document/null_tag/types_spec.rb
|
148
|
+
- spec/unit/yardstick/document/path_spec.rb
|
149
|
+
- spec/unit/yardstick/document/summary_text_spec.rb
|
150
|
+
- spec/unit/yardstick/document/tag_text_spec.rb
|
151
|
+
- spec/unit/yardstick/document/tag_types_spec.rb
|
152
|
+
- spec/unit/yardstick/document/visibility_spec.rb
|
153
|
+
- spec/unit/yardstick/document_set/measure_spec.rb
|
154
|
+
- spec/unit/yardstick/measurement/description_spec.rb
|
155
|
+
- spec/unit/yardstick/measurement/initialize_spec.rb
|
156
|
+
- spec/unit/yardstick/measurement/ok_predicate_spec.rb
|
157
|
+
- spec/unit/yardstick/measurement/puts_spec.rb
|
158
|
+
- spec/unit/yardstick/measurement/skip_predicate_spec.rb
|
159
|
+
- spec/unit/yardstick/measurement_set/coverage_spec.rb
|
160
|
+
- spec/unit/yardstick/measurement_set/failed_spec.rb
|
161
|
+
- spec/unit/yardstick/measurement_set/initialize_spec.rb
|
162
|
+
- spec/unit/yardstick/measurement_set/puts_spec.rb
|
163
|
+
- spec/unit/yardstick/measurement_set/successful_spec.rb
|
164
|
+
- spec/unit/yardstick/measurement_set/total_spec.rb
|
165
|
+
- spec/unit/yardstick/ordered_set/each_spec.rb
|
166
|
+
- spec/unit/yardstick/ordered_set/empty_predicate_spec.rb
|
167
|
+
- spec/unit/yardstick/ordered_set/include_predicate_spec.rb
|
168
|
+
- spec/unit/yardstick/ordered_set/index_spec.rb
|
169
|
+
- spec/unit/yardstick/ordered_set/left_shift_operator_spec.rb
|
170
|
+
- spec/unit/yardstick/ordered_set/length_spec.rb
|
171
|
+
- spec/unit/yardstick/ordered_set/merge_spec.rb
|
172
|
+
- spec/unit/yardstick/parser/class_methods/parse_paths_spec.rb
|
173
|
+
- spec/unit/yardstick/parser/class_methods/parse_string_spec.rb
|
174
|
+
- spec/unit/yardstick/processor/process_spec.rb
|
175
|
+
- spec/unit/yardstick/processor/process_string_spec.rb
|
176
|
+
- spec/unit/yardstick/rake/measurement/initialize_spec.rb
|
177
|
+
- spec/unit/yardstick/rake/measurement/yardstick_measure_spec.rb
|
178
|
+
- spec/unit/yardstick/rake/verify/initialize_spec.rb
|
179
|
+
- spec/unit/yardstick/rake/verify/verify_measurements_spec.rb
|
180
|
+
- spec/unit/yardstick/report_output/class_methods/coerce_spec.rb
|
181
|
+
- spec/unit/yardstick/report_output/initialize_spec.rb
|
182
|
+
- spec/unit/yardstick/report_output/to_s_spec.rb
|
183
|
+
- spec/unit/yardstick/report_output/write_spec.rb
|
184
|
+
- spec/unit/yardstick/round_percentage_spec.rb
|
185
|
+
- spec/unit/yardstick/rule/class_methods/coerce_spec.rb
|
186
|
+
- spec/unit/yardstick/rule/class_methods/inherited_spec.rb
|
187
|
+
- spec/unit/yardstick/rule/enabled_predicate_spec.rb
|
188
|
+
- spec/unit/yardstick/rule/initialize_spec.rb
|
189
|
+
- spec/unit/yardstick/rule/validatable_predicate_spec.rb
|
190
|
+
- spec/unit/yardstick/rule_config/enabled_for_path_predicate_spec.rb
|
191
|
+
- spec/unit/yardstick/rule_config/initialize_spec.rb
|
192
|
+
- spec/unit/yardstick/rules/api_tag/inclusion/valid_predicate_spec.rb
|
193
|
+
- spec/unit/yardstick/rules/api_tag/presence/valid_predicate_spec.rb
|
194
|
+
- spec/unit/yardstick/rules/api_tag/private_method/valid_predicate_spec.rb
|
195
|
+
- spec/unit/yardstick/rules/api_tag/private_method/validatable_predicate_spec.rb
|
196
|
+
- spec/unit/yardstick/rules/api_tag/protected_method/valid_predicate_spec.rb
|
197
|
+
- spec/unit/yardstick/rules/api_tag/protected_method/validatable_predicate_spec.rb
|
198
|
+
- spec/unit/yardstick/rules/example_tag/valid_predicate_spec.rb
|
199
|
+
- spec/unit/yardstick/rules/example_tag/validatable_predicate_spec.rb
|
200
|
+
- spec/unit/yardstick/rules/return_tag/valid_predicate_spec.rb
|
201
|
+
- spec/unit/yardstick/rules/summary/delimiter/valid_predicate_spec.rb
|
202
|
+
- spec/unit/yardstick/rules/summary/length/valid_predicate_spec.rb
|
203
|
+
- spec/unit/yardstick/rules/summary/presence/valid_predicate_spec.rb
|
204
|
+
- spec/unit/yardstick/rules/summary/presence/validatable_predicate_spec.rb
|
205
|
+
- spec/unit/yardstick/rules/summary/single_line/valid_predicate_spec.rb
|
140
206
|
- yardstick.gemspec
|
141
207
|
homepage: https://github.com/dkubb/yardstick
|
142
208
|
licenses:
|
143
209
|
- MIT
|
210
|
+
metadata: {}
|
144
211
|
post_install_message:
|
145
212
|
rdoc_options: []
|
146
213
|
require_paths:
|
147
214
|
- lib
|
148
215
|
required_ruby_version: !ruby/object:Gem::Requirement
|
149
|
-
none: false
|
150
216
|
requirements:
|
151
|
-
- -
|
217
|
+
- - '>='
|
152
218
|
- !ruby/object:Gem::Version
|
153
219
|
version: '0'
|
154
220
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
155
|
-
none: false
|
156
221
|
requirements:
|
157
|
-
- -
|
222
|
+
- - '>='
|
158
223
|
- !ruby/object:Gem::Version
|
159
224
|
version: '0'
|
160
225
|
requirements: []
|
161
226
|
rubyforge_project:
|
162
|
-
rubygems_version:
|
227
|
+
rubygems_version: 2.0.2
|
163
228
|
signing_key:
|
164
|
-
specification_version:
|
229
|
+
specification_version: 4
|
165
230
|
summary: A tool for verifying YARD documentation coverage
|
166
|
-
test_files:
|
231
|
+
test_files:
|
232
|
+
- spec/integration/yardstick/class_methods/measure_spec.rb
|
233
|
+
- spec/integration/yardstick/class_methods/measure_string_spec.rb
|
234
|
+
- spec/integration/yardstick/document/file_spec.rb
|
235
|
+
- spec/integration/yardstick/document/line_spec.rb
|
236
|
+
- spec/integration/yardstick/document/path_spec.rb
|
237
|
+
- spec/integration/yardstick/processor/process_string_spec.rb
|
238
|
+
- spec/integration/yardstick/rake/measurement_spec.rb
|
239
|
+
- spec/integration/yardstick/rake/verify_spec.rb
|
240
|
+
- spec/unit/yardstick/class_methods/measure_spec.rb
|
241
|
+
- spec/unit/yardstick/class_methods/measure_string_spec.rb
|
242
|
+
- spec/unit/yardstick/cli_spec.rb
|
243
|
+
- spec/unit/yardstick/config/class_methods/coerce_spec.rb
|
244
|
+
- spec/unit/yardstick/config/for_rule_spec.rb
|
245
|
+
- spec/unit/yardstick/config/initialize_spec.rb
|
246
|
+
- spec/unit/yardstick/config/output_spec.rb
|
247
|
+
- spec/unit/yardstick/config/output_writer_spec.rb
|
248
|
+
- spec/unit/yardstick/config/path_spec.rb
|
249
|
+
- spec/unit/yardstick/config/path_writer_spec.rb
|
250
|
+
- spec/unit/yardstick/config/require_exact_threshold_predicate_spec.rb
|
251
|
+
- spec/unit/yardstick/config/require_exact_threshold_writer_spec.rb
|
252
|
+
- spec/unit/yardstick/config/set_defaults_spec.rb
|
253
|
+
- spec/unit/yardstick/config/threshold_writer_spec.rb
|
254
|
+
- spec/unit/yardstick/config/verbose_predicate_spec.rb
|
255
|
+
- spec/unit/yardstick/config/verbose_writer_spec.rb
|
256
|
+
- spec/unit/yardstick/document/api_predicate_spec.rb
|
257
|
+
- spec/unit/yardstick/document/class_methods/measure_spec.rb
|
258
|
+
- spec/unit/yardstick/document/class_methods/register_rule_spec.rb
|
259
|
+
- spec/unit/yardstick/document/class_methods/registered_rules_spec.rb
|
260
|
+
- spec/unit/yardstick/document/docstring_spec.rb
|
261
|
+
- spec/unit/yardstick/document/file_spec.rb
|
262
|
+
- spec/unit/yardstick/document/has_tag_predicate_spec.rb
|
263
|
+
- spec/unit/yardstick/document/line_spec.rb
|
264
|
+
- spec/unit/yardstick/document/null_tag/text_spec.rb
|
265
|
+
- spec/unit/yardstick/document/null_tag/types_spec.rb
|
266
|
+
- spec/unit/yardstick/document/path_spec.rb
|
267
|
+
- spec/unit/yardstick/document/summary_text_spec.rb
|
268
|
+
- spec/unit/yardstick/document/tag_text_spec.rb
|
269
|
+
- spec/unit/yardstick/document/tag_types_spec.rb
|
270
|
+
- spec/unit/yardstick/document/visibility_spec.rb
|
271
|
+
- spec/unit/yardstick/document_set/measure_spec.rb
|
272
|
+
- spec/unit/yardstick/measurement/description_spec.rb
|
273
|
+
- spec/unit/yardstick/measurement/initialize_spec.rb
|
274
|
+
- spec/unit/yardstick/measurement/ok_predicate_spec.rb
|
275
|
+
- spec/unit/yardstick/measurement/puts_spec.rb
|
276
|
+
- spec/unit/yardstick/measurement/skip_predicate_spec.rb
|
277
|
+
- spec/unit/yardstick/measurement_set/coverage_spec.rb
|
278
|
+
- spec/unit/yardstick/measurement_set/failed_spec.rb
|
279
|
+
- spec/unit/yardstick/measurement_set/initialize_spec.rb
|
280
|
+
- spec/unit/yardstick/measurement_set/puts_spec.rb
|
281
|
+
- spec/unit/yardstick/measurement_set/successful_spec.rb
|
282
|
+
- spec/unit/yardstick/measurement_set/total_spec.rb
|
283
|
+
- spec/unit/yardstick/ordered_set/each_spec.rb
|
284
|
+
- spec/unit/yardstick/ordered_set/empty_predicate_spec.rb
|
285
|
+
- spec/unit/yardstick/ordered_set/include_predicate_spec.rb
|
286
|
+
- spec/unit/yardstick/ordered_set/index_spec.rb
|
287
|
+
- spec/unit/yardstick/ordered_set/left_shift_operator_spec.rb
|
288
|
+
- spec/unit/yardstick/ordered_set/length_spec.rb
|
289
|
+
- spec/unit/yardstick/ordered_set/merge_spec.rb
|
290
|
+
- spec/unit/yardstick/parser/class_methods/parse_paths_spec.rb
|
291
|
+
- spec/unit/yardstick/parser/class_methods/parse_string_spec.rb
|
292
|
+
- spec/unit/yardstick/processor/process_spec.rb
|
293
|
+
- spec/unit/yardstick/processor/process_string_spec.rb
|
294
|
+
- spec/unit/yardstick/rake/measurement/initialize_spec.rb
|
295
|
+
- spec/unit/yardstick/rake/measurement/yardstick_measure_spec.rb
|
296
|
+
- spec/unit/yardstick/rake/verify/initialize_spec.rb
|
297
|
+
- spec/unit/yardstick/rake/verify/verify_measurements_spec.rb
|
298
|
+
- spec/unit/yardstick/report_output/class_methods/coerce_spec.rb
|
299
|
+
- spec/unit/yardstick/report_output/initialize_spec.rb
|
300
|
+
- spec/unit/yardstick/report_output/to_s_spec.rb
|
301
|
+
- spec/unit/yardstick/report_output/write_spec.rb
|
302
|
+
- spec/unit/yardstick/round_percentage_spec.rb
|
303
|
+
- spec/unit/yardstick/rule/class_methods/coerce_spec.rb
|
304
|
+
- spec/unit/yardstick/rule/class_methods/inherited_spec.rb
|
305
|
+
- spec/unit/yardstick/rule/enabled_predicate_spec.rb
|
306
|
+
- spec/unit/yardstick/rule/initialize_spec.rb
|
307
|
+
- spec/unit/yardstick/rule/validatable_predicate_spec.rb
|
308
|
+
- spec/unit/yardstick/rule_config/enabled_for_path_predicate_spec.rb
|
309
|
+
- spec/unit/yardstick/rule_config/initialize_spec.rb
|
310
|
+
- spec/unit/yardstick/rules/api_tag/inclusion/valid_predicate_spec.rb
|
311
|
+
- spec/unit/yardstick/rules/api_tag/presence/valid_predicate_spec.rb
|
312
|
+
- spec/unit/yardstick/rules/api_tag/private_method/valid_predicate_spec.rb
|
313
|
+
- spec/unit/yardstick/rules/api_tag/private_method/validatable_predicate_spec.rb
|
314
|
+
- spec/unit/yardstick/rules/api_tag/protected_method/valid_predicate_spec.rb
|
315
|
+
- spec/unit/yardstick/rules/api_tag/protected_method/validatable_predicate_spec.rb
|
316
|
+
- spec/unit/yardstick/rules/example_tag/valid_predicate_spec.rb
|
317
|
+
- spec/unit/yardstick/rules/example_tag/validatable_predicate_spec.rb
|
318
|
+
- spec/unit/yardstick/rules/return_tag/valid_predicate_spec.rb
|
319
|
+
- spec/unit/yardstick/rules/summary/delimiter/valid_predicate_spec.rb
|
320
|
+
- spec/unit/yardstick/rules/summary/length/valid_predicate_spec.rb
|
321
|
+
- spec/unit/yardstick/rules/summary/presence/valid_predicate_spec.rb
|
322
|
+
- spec/unit/yardstick/rules/summary/presence/validatable_predicate_spec.rb
|
323
|
+
- spec/unit/yardstick/rules/summary/single_line/valid_predicate_spec.rb
|
167
324
|
has_rdoc:
|