yardstick 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +30 -0
- data/Rakefile +9 -24
- data/VERSION +1 -1
- data/yardstick.gemspec +20 -40
- metadata +37 -94
data/Gemfile
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
source :rubygems
|
2
|
+
|
3
|
+
gem 'yard', '~> 0.7.0'
|
4
|
+
|
5
|
+
group :development do
|
6
|
+
gem 'jeweler', '~> 1.6.0'
|
7
|
+
gem 'rake', '~> 0.8.7'
|
8
|
+
gem 'rspec', '~> 1.3.2'
|
9
|
+
end
|
10
|
+
|
11
|
+
group :jruby do
|
12
|
+
platform :jruby do
|
13
|
+
gem 'jruby-openssl', '~> 0.7.4'
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
platforms :mri_18 do
|
18
|
+
group :quality do
|
19
|
+
gem 'flay', '~> 1.4.2'
|
20
|
+
gem 'flog', '~> 2.5.1'
|
21
|
+
gem 'heckle', '~> 1.4.3'
|
22
|
+
gem 'json', '~> 1.5.1'
|
23
|
+
gem 'metric_fu', '~> 2.1.1'
|
24
|
+
gem 'mspec', '~> 1.5.17'
|
25
|
+
gem 'rcov', '~> 0.9.9'
|
26
|
+
gem 'reek', '~> 1.2.8', :git => 'git://github.com/dkubb/reek.git'
|
27
|
+
gem 'roodi', '~> 2.1.0'
|
28
|
+
gem 'ruby2ruby', '= 1.2.2'
|
29
|
+
end
|
30
|
+
end
|
data/Rakefile
CHANGED
@@ -1,36 +1,21 @@
|
|
1
|
-
require 'rubygems'
|
2
1
|
require 'rake'
|
3
2
|
|
4
3
|
begin
|
5
|
-
gem
|
4
|
+
gem('jeweler', '~> 1.6.0') if respond_to?(:gem, true)
|
6
5
|
require 'jeweler'
|
7
6
|
|
8
7
|
Jeweler::Tasks.new do |gem|
|
9
|
-
gem.name
|
10
|
-
gem.summary
|
11
|
-
gem.
|
12
|
-
gem.
|
13
|
-
gem.
|
14
|
-
gem.
|
15
|
-
|
16
|
-
gem.rubyforge_project = 'yardstick'
|
17
|
-
|
18
|
-
gem.add_dependency 'yard', '~> 0.6.5'
|
19
|
-
|
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
|
-
gem.add_development_dependency 'reek', '~> 1.2.8'
|
24
|
-
gem.add_development_dependency 'roodi', '~> 2.1.0'
|
25
|
-
gem.add_development_dependency 'rspec', '~> 1.3.1'
|
8
|
+
gem.name = 'yardstick'
|
9
|
+
gem.summary = 'A tool for verifying YARD documentation coverage'
|
10
|
+
gem.description = 'Measure YARD documentation coverage'
|
11
|
+
gem.email = 'dan.kubb@gmail.com'
|
12
|
+
gem.homepage = 'http://github.com/dkubb/yardstick'
|
13
|
+
gem.authors = [ 'Dan Kubb' ]
|
26
14
|
end
|
27
15
|
|
28
16
|
Jeweler::GemcutterTasks.new
|
29
17
|
|
30
18
|
FileList['tasks/**/*.rake'].each { |task| import task }
|
31
|
-
|
32
|
-
|
33
|
-
puts 'Jeweler (or a dependency) not available. Install it with: gem install jeweler'
|
34
|
-
puts '-----------------------------------------------------------------------------'
|
35
|
-
puts e.backtrace # Let's help by actually showing *which* dependency is missing
|
19
|
+
rescue LoadError
|
20
|
+
puts 'Jeweler (or a dependency) not available. Install it with: gem install jeweler -v 1.6.0'
|
36
21
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.4.0
|
data/yardstick.gemspec
CHANGED
@@ -5,20 +5,21 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{yardstick}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.4.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = [
|
12
|
-
s.date = %q{2011-
|
13
|
-
s.
|
11
|
+
s.authors = [%q{Dan Kubb}]
|
12
|
+
s.date = %q{2011-05-18}
|
13
|
+
s.description = %q{Measure YARD documentation coverage}
|
14
14
|
s.email = %q{dan.kubb@gmail.com}
|
15
|
-
s.executables = [
|
15
|
+
s.executables = [%q{yardstick}]
|
16
16
|
s.extra_rdoc_files = [
|
17
17
|
"LICENSE",
|
18
18
|
"README.rdoc"
|
19
19
|
]
|
20
20
|
s.files = [
|
21
21
|
".document",
|
22
|
+
"Gemfile",
|
22
23
|
"LICENSE",
|
23
24
|
"README.rdoc",
|
24
25
|
"Rakefile",
|
@@ -59,50 +60,29 @@ Gem::Specification.new do |s|
|
|
59
60
|
"yardstick.gemspec"
|
60
61
|
]
|
61
62
|
s.homepage = %q{http://github.com/dkubb/yardstick}
|
62
|
-
s.require_paths = [
|
63
|
-
s.
|
64
|
-
s.rubygems_version = %q{1.6.2}
|
63
|
+
s.require_paths = [%q{lib}]
|
64
|
+
s.rubygems_version = %q{1.8.2}
|
65
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
66
|
|
78
67
|
if s.respond_to? :specification_version then
|
79
68
|
s.specification_version = 3
|
80
69
|
|
81
70
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
82
|
-
s.add_runtime_dependency(%q<yard>, ["~> 0.
|
83
|
-
s.add_development_dependency(%q<
|
84
|
-
s.add_development_dependency(%q<
|
85
|
-
s.add_development_dependency(%q<
|
86
|
-
s.add_development_dependency(%q<reek>, ["~> 1.2.8"])
|
87
|
-
s.add_development_dependency(%q<roodi>, ["~> 2.1.0"])
|
88
|
-
s.add_development_dependency(%q<rspec>, ["~> 1.3.1"])
|
71
|
+
s.add_runtime_dependency(%q<yard>, ["~> 0.7.0"])
|
72
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.6.0"])
|
73
|
+
s.add_development_dependency(%q<rake>, ["~> 0.8.7"])
|
74
|
+
s.add_development_dependency(%q<rspec>, ["~> 1.3.2"])
|
89
75
|
else
|
90
|
-
s.add_dependency(%q<yard>, ["~> 0.
|
91
|
-
s.add_dependency(%q<
|
92
|
-
s.add_dependency(%q<
|
93
|
-
s.add_dependency(%q<
|
94
|
-
s.add_dependency(%q<reek>, ["~> 1.2.8"])
|
95
|
-
s.add_dependency(%q<roodi>, ["~> 2.1.0"])
|
96
|
-
s.add_dependency(%q<rspec>, ["~> 1.3.1"])
|
76
|
+
s.add_dependency(%q<yard>, ["~> 0.7.0"])
|
77
|
+
s.add_dependency(%q<jeweler>, ["~> 1.6.0"])
|
78
|
+
s.add_dependency(%q<rake>, ["~> 0.8.7"])
|
79
|
+
s.add_dependency(%q<rspec>, ["~> 1.3.2"])
|
97
80
|
end
|
98
81
|
else
|
99
|
-
s.add_dependency(%q<yard>, ["~> 0.
|
100
|
-
s.add_dependency(%q<
|
101
|
-
s.add_dependency(%q<
|
102
|
-
s.add_dependency(%q<
|
103
|
-
s.add_dependency(%q<reek>, ["~> 1.2.8"])
|
104
|
-
s.add_dependency(%q<roodi>, ["~> 2.1.0"])
|
105
|
-
s.add_dependency(%q<rspec>, ["~> 1.3.1"])
|
82
|
+
s.add_dependency(%q<yard>, ["~> 0.7.0"])
|
83
|
+
s.add_dependency(%q<jeweler>, ["~> 1.6.0"])
|
84
|
+
s.add_dependency(%q<rake>, ["~> 0.8.7"])
|
85
|
+
s.add_dependency(%q<rspec>, ["~> 1.3.2"])
|
106
86
|
end
|
107
87
|
end
|
108
88
|
|
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:
|
4
|
+
hash: 15
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
8
|
+
- 4
|
9
9
|
- 0
|
10
|
-
version: 0.
|
10
|
+
version: 0.4.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Dan Kubb
|
@@ -15,122 +15,73 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
19
|
-
default_executable: yardstick
|
18
|
+
date: 2011-05-18 00:00:00 Z
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
22
|
-
|
23
|
-
prerelease: false
|
21
|
+
type: :runtime
|
24
22
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
23
|
none: false
|
26
24
|
requirements:
|
27
25
|
- - ~>
|
28
26
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
27
|
+
hash: 3
|
30
28
|
segments:
|
31
29
|
- 0
|
32
|
-
-
|
33
|
-
-
|
34
|
-
version: 0.
|
35
|
-
type: :runtime
|
30
|
+
- 7
|
31
|
+
- 0
|
32
|
+
version: 0.7.0
|
36
33
|
version_requirements: *id001
|
37
|
-
|
38
|
-
name: flay
|
34
|
+
name: yard
|
39
35
|
prerelease: false
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
type: :development
|
40
38
|
requirement: &id002 !ruby/object:Gem::Requirement
|
41
39
|
none: false
|
42
40
|
requirements:
|
43
41
|
- - ~>
|
44
42
|
- !ruby/object:Gem::Version
|
45
|
-
hash:
|
43
|
+
hash: 15
|
46
44
|
segments:
|
47
45
|
- 1
|
48
|
-
-
|
49
|
-
-
|
50
|
-
version: 1.
|
51
|
-
type: :development
|
46
|
+
- 6
|
47
|
+
- 0
|
48
|
+
version: 1.6.0
|
52
49
|
version_requirements: *id002
|
53
|
-
|
54
|
-
name: flog
|
50
|
+
name: jeweler
|
55
51
|
prerelease: false
|
52
|
+
- !ruby/object:Gem::Dependency
|
53
|
+
type: :development
|
56
54
|
requirement: &id003 !ruby/object:Gem::Requirement
|
57
55
|
none: false
|
58
56
|
requirements:
|
59
57
|
- - ~>
|
60
58
|
- !ruby/object:Gem::Version
|
61
|
-
hash:
|
59
|
+
hash: 49
|
62
60
|
segments:
|
63
|
-
-
|
64
|
-
-
|
65
|
-
-
|
66
|
-
version:
|
67
|
-
type: :development
|
61
|
+
- 0
|
62
|
+
- 8
|
63
|
+
- 7
|
64
|
+
version: 0.8.7
|
68
65
|
version_requirements: *id003
|
69
|
-
|
70
|
-
name: metric_fu
|
66
|
+
name: rake
|
71
67
|
prerelease: false
|
72
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
|
-
requirements:
|
75
|
-
- - ~>
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
hash: 9
|
78
|
-
segments:
|
79
|
-
- 2
|
80
|
-
- 1
|
81
|
-
- 1
|
82
|
-
version: 2.1.1
|
83
|
-
type: :development
|
84
|
-
version_requirements: *id004
|
85
68
|
- !ruby/object:Gem::Dependency
|
86
|
-
name: reek
|
87
|
-
prerelease: false
|
88
|
-
requirement: &id005 !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
|
-
requirements:
|
91
|
-
- - ~>
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
hash: 15
|
94
|
-
segments:
|
95
|
-
- 1
|
96
|
-
- 2
|
97
|
-
- 8
|
98
|
-
version: 1.2.8
|
99
69
|
type: :development
|
100
|
-
|
101
|
-
- !ruby/object:Gem::Dependency
|
102
|
-
name: roodi
|
103
|
-
prerelease: false
|
104
|
-
requirement: &id006 !ruby/object:Gem::Requirement
|
70
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
105
71
|
none: false
|
106
72
|
requirements:
|
107
73
|
- - ~>
|
108
74
|
- !ruby/object:Gem::Version
|
109
|
-
hash:
|
75
|
+
hash: 31
|
110
76
|
segments:
|
111
|
-
- 2
|
112
77
|
- 1
|
113
|
-
-
|
114
|
-
|
115
|
-
|
116
|
-
version_requirements: *
|
117
|
-
- !ruby/object:Gem::Dependency
|
78
|
+
- 3
|
79
|
+
- 2
|
80
|
+
version: 1.3.2
|
81
|
+
version_requirements: *id004
|
118
82
|
name: rspec
|
119
83
|
prerelease: false
|
120
|
-
|
121
|
-
none: false
|
122
|
-
requirements:
|
123
|
-
- - ~>
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
hash: 25
|
126
|
-
segments:
|
127
|
-
- 1
|
128
|
-
- 3
|
129
|
-
- 1
|
130
|
-
version: 1.3.1
|
131
|
-
type: :development
|
132
|
-
version_requirements: *id007
|
133
|
-
description:
|
84
|
+
description: Measure YARD documentation coverage
|
134
85
|
email: dan.kubb@gmail.com
|
135
86
|
executables:
|
136
87
|
- yardstick
|
@@ -141,6 +92,7 @@ extra_rdoc_files:
|
|
141
92
|
- README.rdoc
|
142
93
|
files:
|
143
94
|
- .document
|
95
|
+
- Gemfile
|
144
96
|
- LICENSE
|
145
97
|
- README.rdoc
|
146
98
|
- Rakefile
|
@@ -179,7 +131,6 @@ files:
|
|
179
131
|
- tasks/yard.rake
|
180
132
|
- tasks/yardstick.rake
|
181
133
|
- yardstick.gemspec
|
182
|
-
has_rdoc: true
|
183
134
|
homepage: http://github.com/dkubb/yardstick
|
184
135
|
licenses: []
|
185
136
|
|
@@ -208,18 +159,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
208
159
|
version: "0"
|
209
160
|
requirements: []
|
210
161
|
|
211
|
-
rubyforge_project:
|
212
|
-
rubygems_version: 1.
|
162
|
+
rubyforge_project:
|
163
|
+
rubygems_version: 1.8.2
|
213
164
|
signing_key:
|
214
165
|
specification_version: 3
|
215
166
|
summary: A tool for verifying YARD documentation coverage
|
216
|
-
test_files:
|
217
|
-
|
218
|
-
- spec/public/yardstick/measurement_set_spec.rb
|
219
|
-
- spec/public/yardstick/measurement_spec.rb
|
220
|
-
- spec/public/yardstick/method_spec.rb
|
221
|
-
- spec/public/yardstick/rake/measurement_spec.rb
|
222
|
-
- spec/public/yardstick/rake/verify_spec.rb
|
223
|
-
- spec/public/yardstick_spec.rb
|
224
|
-
- spec/semipublic/yardstick/rule_spec.rb
|
225
|
-
- spec/spec_helper.rb
|
167
|
+
test_files: []
|
168
|
+
|