yardstick 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +5 -5
- data/VERSION +1 -1
- data/bin/yardstick +1 -1
- data/lib/yardstick.rb +1 -1
- data/spec/public/yardstick/cli_spec.rb +1 -2
- data/spec/public/yardstick/measurement_set_spec.rb +1 -2
- data/spec/public/yardstick/measurement_spec.rb +1 -2
- data/spec/public/yardstick/method_spec.rb +1 -2
- data/spec/public/yardstick/rake/measurement_spec.rb +1 -2
- data/spec/public/yardstick/rake/verify_spec.rb +1 -2
- data/spec/public/yardstick_spec.rb +1 -2
- data/spec/semipublic/yardstick/rule_spec.rb +1 -2
- data/spec/spec_helper.rb +1 -1
- data/tasks/spec.rake +0 -3
- data/tasks/yardstick.rake +1 -1
- data/yardstick.gemspec +63 -67
- metadata +21 -22
- data/.gitignore +0 -11
data/Rakefile
CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
|
|
2
2
|
require 'rake'
|
3
3
|
|
4
4
|
begin
|
5
|
-
gem 'jeweler', '~> 1.
|
5
|
+
gem 'jeweler', '~> 1.5.2'
|
6
6
|
require 'jeweler'
|
7
7
|
|
8
8
|
Jeweler::Tasks.new do |gem|
|
@@ -15,11 +15,11 @@ begin
|
|
15
15
|
|
16
16
|
gem.rubyforge_project = 'yardstick'
|
17
17
|
|
18
|
-
gem.add_dependency 'yard', '~> 0.6.
|
18
|
+
gem.add_dependency 'yard', '~> 0.6.5'
|
19
19
|
|
20
|
-
gem.add_development_dependency 'flay', '~> 1.4.
|
21
|
-
gem.add_development_dependency 'flog', '~> 2.5.
|
22
|
-
gem.add_development_dependency 'metric_fu', '~> 1.
|
20
|
+
gem.add_development_dependency 'flay', '~> 1.4.2'
|
21
|
+
gem.add_development_dependency 'flog', '~> 2.5.1'
|
22
|
+
gem.add_development_dependency 'metric_fu', '~> 2.1.1'
|
23
23
|
gem.add_development_dependency 'reek', '~> 1.2.8'
|
24
24
|
gem.add_development_dependency 'roodi', '~> 2.1.0'
|
25
25
|
gem.add_development_dependency 'rspec', '~> 1.3.1'
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.3.0
|
data/bin/yardstick
CHANGED
data/lib/yardstick.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -2,7 +2,7 @@ require 'pathname'
|
|
2
2
|
require 'rubygems'
|
3
3
|
require 'spec/autorun'
|
4
4
|
|
5
|
-
require
|
5
|
+
require 'yardstick'
|
6
6
|
|
7
7
|
Pathname.glob(Yardstick::ROOT.join('lib', '**', '*.rb').to_s).sort.each do |file|
|
8
8
|
require file.to_s.chomp('.rb')
|
data/tasks/spec.rake
CHANGED
data/tasks/yardstick.rake
CHANGED
data/yardstick.gemspec
CHANGED
@@ -1,109 +1,105 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{yardstick}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.3.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Dan Kubb"]
|
12
|
-
s.date = %q{
|
12
|
+
s.date = %q{2011-03-19}
|
13
13
|
s.default_executable = %q{yardstick}
|
14
14
|
s.email = %q{dan.kubb@gmail.com}
|
15
15
|
s.executables = ["yardstick"]
|
16
16
|
s.extra_rdoc_files = [
|
17
17
|
"LICENSE",
|
18
|
-
|
18
|
+
"README.rdoc"
|
19
19
|
]
|
20
20
|
s.files = [
|
21
21
|
".document",
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
"yardstick.gemspec"
|
22
|
+
"LICENSE",
|
23
|
+
"README.rdoc",
|
24
|
+
"Rakefile",
|
25
|
+
"VERSION",
|
26
|
+
"bin/yardstick",
|
27
|
+
"lib/yardstick.rb",
|
28
|
+
"lib/yardstick/autoload.rb",
|
29
|
+
"lib/yardstick/cli.rb",
|
30
|
+
"lib/yardstick/core_ext/object.rb",
|
31
|
+
"lib/yardstick/measurable.rb",
|
32
|
+
"lib/yardstick/measurement.rb",
|
33
|
+
"lib/yardstick/measurement_set.rb",
|
34
|
+
"lib/yardstick/method.rb",
|
35
|
+
"lib/yardstick/ordered_set.rb",
|
36
|
+
"lib/yardstick/processor.rb",
|
37
|
+
"lib/yardstick/rake/measurement.rb",
|
38
|
+
"lib/yardstick/rake/verify.rb",
|
39
|
+
"lib/yardstick/rule.rb",
|
40
|
+
"lib/yardstick/rule_set.rb",
|
41
|
+
"lib/yardstick/yard_ext.rb",
|
42
|
+
"spec/public/yardstick/cli_spec.rb",
|
43
|
+
"spec/public/yardstick/measurement_set_spec.rb",
|
44
|
+
"spec/public/yardstick/measurement_spec.rb",
|
45
|
+
"spec/public/yardstick/method_spec.rb",
|
46
|
+
"spec/public/yardstick/rake/measurement_spec.rb",
|
47
|
+
"spec/public/yardstick/rake/verify_spec.rb",
|
48
|
+
"spec/public/yardstick_spec.rb",
|
49
|
+
"spec/rcov.opts",
|
50
|
+
"spec/semipublic/yardstick/rule_spec.rb",
|
51
|
+
"spec/spec.opts",
|
52
|
+
"spec/spec_helper.rb",
|
53
|
+
"tasks/ci.rake",
|
54
|
+
"tasks/heckle.rake",
|
55
|
+
"tasks/metrics.rake",
|
56
|
+
"tasks/spec.rake",
|
57
|
+
"tasks/yard.rake",
|
58
|
+
"tasks/yardstick.rake",
|
59
|
+
"yardstick.gemspec"
|
61
60
|
]
|
62
|
-
s.has_rdoc = %q{yard}
|
63
61
|
s.homepage = %q{http://github.com/dkubb/yardstick}
|
64
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
65
62
|
s.require_paths = ["lib"]
|
66
63
|
s.rubyforge_project = %q{yardstick}
|
67
|
-
s.rubygems_version = %q{1.
|
64
|
+
s.rubygems_version = %q{1.6.2}
|
68
65
|
s.summary = %q{A tool for verifying YARD documentation coverage}
|
69
66
|
s.test_files = [
|
70
67
|
"spec/public/yardstick/cli_spec.rb",
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
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"
|
79
76
|
]
|
80
77
|
|
81
78
|
if s.respond_to? :specification_version then
|
82
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
83
79
|
s.specification_version = 3
|
84
80
|
|
85
81
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
86
|
-
s.add_runtime_dependency(%q<yard>, ["~> 0.6.
|
87
|
-
s.add_development_dependency(%q<flay>, ["~> 1.4.
|
88
|
-
s.add_development_dependency(%q<flog>, ["~> 2.5.
|
89
|
-
s.add_development_dependency(%q<metric_fu>, ["~> 1.
|
82
|
+
s.add_runtime_dependency(%q<yard>, ["~> 0.6.5"])
|
83
|
+
s.add_development_dependency(%q<flay>, ["~> 1.4.2"])
|
84
|
+
s.add_development_dependency(%q<flog>, ["~> 2.5.1"])
|
85
|
+
s.add_development_dependency(%q<metric_fu>, ["~> 2.1.1"])
|
90
86
|
s.add_development_dependency(%q<reek>, ["~> 1.2.8"])
|
91
87
|
s.add_development_dependency(%q<roodi>, ["~> 2.1.0"])
|
92
88
|
s.add_development_dependency(%q<rspec>, ["~> 1.3.1"])
|
93
89
|
else
|
94
|
-
s.add_dependency(%q<yard>, ["~> 0.6.
|
95
|
-
s.add_dependency(%q<flay>, ["~> 1.4.
|
96
|
-
s.add_dependency(%q<flog>, ["~> 2.5.
|
97
|
-
s.add_dependency(%q<metric_fu>, ["~> 1.
|
90
|
+
s.add_dependency(%q<yard>, ["~> 0.6.5"])
|
91
|
+
s.add_dependency(%q<flay>, ["~> 1.4.2"])
|
92
|
+
s.add_dependency(%q<flog>, ["~> 2.5.1"])
|
93
|
+
s.add_dependency(%q<metric_fu>, ["~> 2.1.1"])
|
98
94
|
s.add_dependency(%q<reek>, ["~> 1.2.8"])
|
99
95
|
s.add_dependency(%q<roodi>, ["~> 2.1.0"])
|
100
96
|
s.add_dependency(%q<rspec>, ["~> 1.3.1"])
|
101
97
|
end
|
102
98
|
else
|
103
|
-
s.add_dependency(%q<yard>, ["~> 0.6.
|
104
|
-
s.add_dependency(%q<flay>, ["~> 1.4.
|
105
|
-
s.add_dependency(%q<flog>, ["~> 2.5.
|
106
|
-
s.add_dependency(%q<metric_fu>, ["~> 1.
|
99
|
+
s.add_dependency(%q<yard>, ["~> 0.6.5"])
|
100
|
+
s.add_dependency(%q<flay>, ["~> 1.4.2"])
|
101
|
+
s.add_dependency(%q<flog>, ["~> 2.5.1"])
|
102
|
+
s.add_dependency(%q<metric_fu>, ["~> 2.1.1"])
|
107
103
|
s.add_dependency(%q<reek>, ["~> 1.2.8"])
|
108
104
|
s.add_dependency(%q<roodi>, ["~> 2.1.0"])
|
109
105
|
s.add_dependency(%q<rspec>, ["~> 1.3.1"])
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yardstick
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 19
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
8
|
+
- 3
|
9
9
|
- 0
|
10
|
-
version: 0.
|
10
|
+
version: 0.3.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Dan Kubb
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-03-19 00:00:00 -07:00
|
19
19
|
default_executable: yardstick
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -26,12 +26,12 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
29
|
+
hash: 13
|
30
30
|
segments:
|
31
31
|
- 0
|
32
32
|
- 6
|
33
|
-
-
|
34
|
-
version: 0.6.
|
33
|
+
- 5
|
34
|
+
version: 0.6.5
|
35
35
|
type: :runtime
|
36
36
|
version_requirements: *id001
|
37
37
|
- !ruby/object:Gem::Dependency
|
@@ -42,12 +42,12 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
hash:
|
45
|
+
hash: 3
|
46
46
|
segments:
|
47
47
|
- 1
|
48
48
|
- 4
|
49
|
-
-
|
50
|
-
version: 1.4.
|
49
|
+
- 2
|
50
|
+
version: 1.4.2
|
51
51
|
type: :development
|
52
52
|
version_requirements: *id002
|
53
53
|
- !ruby/object:Gem::Dependency
|
@@ -58,12 +58,12 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
hash:
|
61
|
+
hash: 25
|
62
62
|
segments:
|
63
63
|
- 2
|
64
64
|
- 5
|
65
|
-
-
|
66
|
-
version: 2.5.
|
65
|
+
- 1
|
66
|
+
version: 2.5.1
|
67
67
|
type: :development
|
68
68
|
version_requirements: *id003
|
69
69
|
- !ruby/object:Gem::Dependency
|
@@ -74,12 +74,12 @@ dependencies:
|
|
74
74
|
requirements:
|
75
75
|
- - ~>
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
hash:
|
77
|
+
hash: 9
|
78
78
|
segments:
|
79
|
+
- 2
|
79
80
|
- 1
|
80
|
-
- 5
|
81
81
|
- 1
|
82
|
-
version: 1.
|
82
|
+
version: 2.1.1
|
83
83
|
type: :development
|
84
84
|
version_requirements: *id004
|
85
85
|
- !ruby/object:Gem::Dependency
|
@@ -141,7 +141,6 @@ extra_rdoc_files:
|
|
141
141
|
- README.rdoc
|
142
142
|
files:
|
143
143
|
- .document
|
144
|
-
- .gitignore
|
145
144
|
- LICENSE
|
146
145
|
- README.rdoc
|
147
146
|
- Rakefile
|
@@ -180,13 +179,13 @@ files:
|
|
180
179
|
- tasks/yard.rake
|
181
180
|
- tasks/yardstick.rake
|
182
181
|
- yardstick.gemspec
|
183
|
-
has_rdoc:
|
182
|
+
has_rdoc: true
|
184
183
|
homepage: http://github.com/dkubb/yardstick
|
185
184
|
licenses: []
|
186
185
|
|
187
186
|
post_install_message:
|
188
|
-
rdoc_options:
|
189
|
-
|
187
|
+
rdoc_options: []
|
188
|
+
|
190
189
|
require_paths:
|
191
190
|
- lib
|
192
191
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -210,7 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
210
209
|
requirements: []
|
211
210
|
|
212
211
|
rubyforge_project: yardstick
|
213
|
-
rubygems_version: 1.
|
212
|
+
rubygems_version: 1.6.2
|
214
213
|
signing_key:
|
215
214
|
specification_version: 3
|
216
215
|
summary: A tool for verifying YARD documentation coverage
|