yardstick 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +10 -0
- data/LICENSE +20 -0
- data/README.markdown +117 -0
- data/Rakefile +24 -0
- data/VERSION +1 -0
- data/bin/yardstick +7 -0
- data/deps.rip +1 -0
- data/lib/yardstick/autoload.rb +16 -0
- data/lib/yardstick/cli.rb +76 -0
- data/lib/yardstick/core_ext/object.rb +13 -0
- data/lib/yardstick/measurable.rb +78 -0
- data/lib/yardstick/measurement.rb +217 -0
- data/lib/yardstick/measurement_set.rb +130 -0
- data/lib/yardstick/method.rb +111 -0
- data/lib/yardstick/ordered_set.rb +115 -0
- data/lib/yardstick/processor.rb +65 -0
- data/lib/yardstick/rake/measurement.rb +101 -0
- data/lib/yardstick/rake/verify.rb +179 -0
- data/lib/yardstick/rule.rb +61 -0
- data/lib/yardstick/rule_set.rb +18 -0
- data/lib/yardstick/yard_ext.rb +20 -0
- data/lib/yardstick.rb +52 -0
- data/spec/public/yardstick/cli_spec.rb +108 -0
- data/spec/public/yardstick/measurement_set_spec.rb +265 -0
- data/spec/public/yardstick/measurement_spec.rb +256 -0
- data/spec/public/yardstick/method_spec.rb +356 -0
- data/spec/public/yardstick/rake/measurement_spec.rb +173 -0
- data/spec/public/yardstick/rake/verify_spec.rb +229 -0
- data/spec/public/yardstick_spec.rb +70 -0
- data/spec/rcov.opts +6 -0
- data/spec/semipublic/yardstick/rule_spec.rb +28 -0
- data/spec/spec.opts +4 -0
- data/spec/spec_helper.rb +45 -0
- data/tasks/ci.rake +1 -0
- data/tasks/heckle.rake +52 -0
- data/tasks/metrics.rake +5 -0
- data/tasks/rdoc.rake +15 -0
- data/tasks/spec.rake +22 -0
- data/tasks/yardstick.rake +9 -0
- data/yardstick.gemspec +90 -0
- metadata +113 -0
data/yardstick.gemspec
ADDED
@@ -0,0 +1,90 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = %q{yardstick}
|
5
|
+
s.version = "0.1.0"
|
6
|
+
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
|
+
s.authors = ["Dan Kubb"]
|
9
|
+
s.date = %q{2009-07-30}
|
10
|
+
s.default_executable = %q{yardstick}
|
11
|
+
s.email = %q{dan.kubb@gmail.com}
|
12
|
+
s.executables = ["yardstick"]
|
13
|
+
s.extra_rdoc_files = [
|
14
|
+
"LICENSE",
|
15
|
+
"README.markdown"
|
16
|
+
]
|
17
|
+
s.files = [
|
18
|
+
".document",
|
19
|
+
".gitignore",
|
20
|
+
"LICENSE",
|
21
|
+
"README.markdown",
|
22
|
+
"Rakefile",
|
23
|
+
"VERSION",
|
24
|
+
"bin/yardstick",
|
25
|
+
"deps.rip",
|
26
|
+
"lib/yardstick.rb",
|
27
|
+
"lib/yardstick/autoload.rb",
|
28
|
+
"lib/yardstick/cli.rb",
|
29
|
+
"lib/yardstick/core_ext/object.rb",
|
30
|
+
"lib/yardstick/measurable.rb",
|
31
|
+
"lib/yardstick/measurement.rb",
|
32
|
+
"lib/yardstick/measurement_set.rb",
|
33
|
+
"lib/yardstick/method.rb",
|
34
|
+
"lib/yardstick/ordered_set.rb",
|
35
|
+
"lib/yardstick/processor.rb",
|
36
|
+
"lib/yardstick/rake/measurement.rb",
|
37
|
+
"lib/yardstick/rake/verify.rb",
|
38
|
+
"lib/yardstick/rule.rb",
|
39
|
+
"lib/yardstick/rule_set.rb",
|
40
|
+
"lib/yardstick/yard_ext.rb",
|
41
|
+
"spec/public/yardstick/cli_spec.rb",
|
42
|
+
"spec/public/yardstick/measurement_set_spec.rb",
|
43
|
+
"spec/public/yardstick/measurement_spec.rb",
|
44
|
+
"spec/public/yardstick/method_spec.rb",
|
45
|
+
"spec/public/yardstick/rake/measurement_spec.rb",
|
46
|
+
"spec/public/yardstick/rake/verify_spec.rb",
|
47
|
+
"spec/public/yardstick_spec.rb",
|
48
|
+
"spec/rcov.opts",
|
49
|
+
"spec/semipublic/yardstick/rule_spec.rb",
|
50
|
+
"spec/spec.opts",
|
51
|
+
"spec/spec_helper.rb",
|
52
|
+
"tasks/ci.rake",
|
53
|
+
"tasks/heckle.rake",
|
54
|
+
"tasks/metrics.rake",
|
55
|
+
"tasks/rdoc.rake",
|
56
|
+
"tasks/spec.rake",
|
57
|
+
"tasks/yardstick.rake",
|
58
|
+
"yardstick.gemspec"
|
59
|
+
]
|
60
|
+
s.homepage = %q{http://github.com/dkubb/yardstick}
|
61
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
62
|
+
s.require_paths = ["lib"]
|
63
|
+
s.rubyforge_project = %q{yardstick}
|
64
|
+
s.rubygems_version = %q{1.3.5}
|
65
|
+
s.summary = %q{A tool for verifying YARD documentation coverage}
|
66
|
+
s.test_files = [
|
67
|
+
"spec/public/yardstick/cli_spec.rb",
|
68
|
+
"spec/public/yardstick/measurement_set_spec.rb",
|
69
|
+
"spec/public/yardstick/measurement_spec.rb",
|
70
|
+
"spec/public/yardstick/method_spec.rb",
|
71
|
+
"spec/public/yardstick/rake/measurement_spec.rb",
|
72
|
+
"spec/public/yardstick/rake/verify_spec.rb",
|
73
|
+
"spec/public/yardstick_spec.rb",
|
74
|
+
"spec/semipublic/yardstick/rule_spec.rb",
|
75
|
+
"spec/spec_helper.rb"
|
76
|
+
]
|
77
|
+
|
78
|
+
if s.respond_to? :specification_version then
|
79
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
80
|
+
s.specification_version = 3
|
81
|
+
|
82
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
83
|
+
s.add_runtime_dependency(%q<yard>, ["~> 0.2"])
|
84
|
+
else
|
85
|
+
s.add_dependency(%q<yard>, ["~> 0.2"])
|
86
|
+
end
|
87
|
+
else
|
88
|
+
s.add_dependency(%q<yard>, ["~> 0.2"])
|
89
|
+
end
|
90
|
+
end
|
metadata
ADDED
@@ -0,0 +1,113 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: yardstick
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Dan Kubb
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-07-30 00:00:00 -07:00
|
13
|
+
default_executable: yardstick
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: yard
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ~>
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: "0.2"
|
24
|
+
version:
|
25
|
+
description:
|
26
|
+
email: dan.kubb@gmail.com
|
27
|
+
executables:
|
28
|
+
- yardstick
|
29
|
+
extensions: []
|
30
|
+
|
31
|
+
extra_rdoc_files:
|
32
|
+
- LICENSE
|
33
|
+
- README.markdown
|
34
|
+
files:
|
35
|
+
- .document
|
36
|
+
- .gitignore
|
37
|
+
- LICENSE
|
38
|
+
- README.markdown
|
39
|
+
- Rakefile
|
40
|
+
- VERSION
|
41
|
+
- bin/yardstick
|
42
|
+
- deps.rip
|
43
|
+
- lib/yardstick.rb
|
44
|
+
- lib/yardstick/autoload.rb
|
45
|
+
- lib/yardstick/cli.rb
|
46
|
+
- lib/yardstick/core_ext/object.rb
|
47
|
+
- lib/yardstick/measurable.rb
|
48
|
+
- lib/yardstick/measurement.rb
|
49
|
+
- lib/yardstick/measurement_set.rb
|
50
|
+
- lib/yardstick/method.rb
|
51
|
+
- lib/yardstick/ordered_set.rb
|
52
|
+
- lib/yardstick/processor.rb
|
53
|
+
- lib/yardstick/rake/measurement.rb
|
54
|
+
- lib/yardstick/rake/verify.rb
|
55
|
+
- lib/yardstick/rule.rb
|
56
|
+
- lib/yardstick/rule_set.rb
|
57
|
+
- lib/yardstick/yard_ext.rb
|
58
|
+
- spec/public/yardstick/cli_spec.rb
|
59
|
+
- spec/public/yardstick/measurement_set_spec.rb
|
60
|
+
- spec/public/yardstick/measurement_spec.rb
|
61
|
+
- spec/public/yardstick/method_spec.rb
|
62
|
+
- spec/public/yardstick/rake/measurement_spec.rb
|
63
|
+
- spec/public/yardstick/rake/verify_spec.rb
|
64
|
+
- spec/public/yardstick_spec.rb
|
65
|
+
- spec/rcov.opts
|
66
|
+
- spec/semipublic/yardstick/rule_spec.rb
|
67
|
+
- spec/spec.opts
|
68
|
+
- spec/spec_helper.rb
|
69
|
+
- tasks/ci.rake
|
70
|
+
- tasks/heckle.rake
|
71
|
+
- tasks/metrics.rake
|
72
|
+
- tasks/rdoc.rake
|
73
|
+
- tasks/spec.rake
|
74
|
+
- tasks/yardstick.rake
|
75
|
+
- yardstick.gemspec
|
76
|
+
has_rdoc: true
|
77
|
+
homepage: http://github.com/dkubb/yardstick
|
78
|
+
licenses: []
|
79
|
+
|
80
|
+
post_install_message:
|
81
|
+
rdoc_options:
|
82
|
+
- --charset=UTF-8
|
83
|
+
require_paths:
|
84
|
+
- lib
|
85
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: "0"
|
90
|
+
version:
|
91
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - ">="
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: "0"
|
96
|
+
version:
|
97
|
+
requirements: []
|
98
|
+
|
99
|
+
rubyforge_project: yardstick
|
100
|
+
rubygems_version: 1.3.5
|
101
|
+
signing_key:
|
102
|
+
specification_version: 3
|
103
|
+
summary: A tool for verifying YARD documentation coverage
|
104
|
+
test_files:
|
105
|
+
- spec/public/yardstick/cli_spec.rb
|
106
|
+
- spec/public/yardstick/measurement_set_spec.rb
|
107
|
+
- spec/public/yardstick/measurement_spec.rb
|
108
|
+
- spec/public/yardstick/method_spec.rb
|
109
|
+
- spec/public/yardstick/rake/measurement_spec.rb
|
110
|
+
- spec/public/yardstick/rake/verify_spec.rb
|
111
|
+
- spec/public/yardstick_spec.rb
|
112
|
+
- spec/semipublic/yardstick/rule_spec.rb
|
113
|
+
- spec/spec_helper.rb
|