yardstick 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/yardstick.rb +3 -4
- data/lib/yardstick/measurable.rb +1 -0
- data/lib/yardstick/processor.rb +2 -0
- data/lib/yardstick/rake/verify.rb +0 -1
- data/spec/spec_helper.rb +1 -0
- data/yardstick.gemspec +2 -2
- metadata +66 -80
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.6.0
|
data/lib/yardstick.rb
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
require 'pathname'
|
2
|
-
require 'yard'
|
3
2
|
|
4
3
|
module Yardstick
|
5
|
-
VERSION = '0.
|
4
|
+
VERSION = '0.6.0'.freeze
|
6
5
|
ROOT = Pathname(__FILE__).dirname.parent.expand_path.freeze
|
7
6
|
|
8
7
|
# Measure a list of files
|
@@ -20,7 +19,7 @@ module Yardstick
|
|
20
19
|
#
|
21
20
|
# @api public
|
22
21
|
def self.measure(path = 'lib/**/*.rb', options = {})
|
23
|
-
|
22
|
+
Processor.process_path(path)
|
24
23
|
end
|
25
24
|
|
26
25
|
# Measure a string of code and YARD documentation
|
@@ -40,7 +39,7 @@ module Yardstick
|
|
40
39
|
#
|
41
40
|
# @api public
|
42
41
|
def self.measure_string(string, options = {})
|
43
|
-
|
42
|
+
Processor.process_string(string)
|
44
43
|
end
|
45
44
|
|
46
45
|
end # module Yardstick
|
data/lib/yardstick/measurable.rb
CHANGED
data/lib/yardstick/processor.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
data/yardstick.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "yardstick"
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.6.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 = "2012-
|
12
|
+
s.date = "2012-07-05"
|
13
13
|
s.description = "Measure YARD documentation coverage"
|
14
14
|
s.email = "dan.kubb@gmail.com"
|
15
15
|
s.executables = ["yardstick"]
|
metadata
CHANGED
@@ -1,96 +1,89 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: yardstick
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.6.0
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 5
|
9
|
-
- 0
|
10
|
-
version: 0.5.0
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Dan Kubb
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-07-05 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: yard
|
22
|
-
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
23
17
|
none: false
|
24
|
-
requirements:
|
18
|
+
requirements:
|
25
19
|
- - ~>
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
hash: 61
|
28
|
-
segments:
|
29
|
-
- 0
|
30
|
-
- 8
|
31
|
-
- 1
|
20
|
+
- !ruby/object:Gem::Version
|
32
21
|
version: 0.8.1
|
33
|
-
prerelease: false
|
34
22
|
type: :runtime
|
35
|
-
|
36
|
-
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.8.1
|
30
|
+
- !ruby/object:Gem::Dependency
|
37
31
|
name: jeweler
|
38
|
-
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
39
33
|
none: false
|
40
|
-
requirements:
|
34
|
+
requirements:
|
41
35
|
- - ~>
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
hash: 49
|
44
|
-
segments:
|
45
|
-
- 1
|
46
|
-
- 8
|
47
|
-
- 3
|
36
|
+
- !ruby/object:Gem::Version
|
48
37
|
version: 1.8.3
|
49
|
-
prerelease: false
|
50
38
|
type: :development
|
51
|
-
|
52
|
-
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 1.8.3
|
46
|
+
- !ruby/object:Gem::Dependency
|
53
47
|
name: rake
|
54
|
-
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
55
49
|
none: false
|
56
|
-
requirements:
|
50
|
+
requirements:
|
57
51
|
- - ~>
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
hash: 63
|
60
|
-
segments:
|
61
|
-
- 0
|
62
|
-
- 9
|
63
|
-
- 2
|
52
|
+
- !ruby/object:Gem::Version
|
64
53
|
version: 0.9.2
|
65
|
-
prerelease: false
|
66
54
|
type: :development
|
67
|
-
|
68
|
-
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.9.2
|
62
|
+
- !ruby/object:Gem::Dependency
|
69
63
|
name: rspec
|
70
|
-
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
71
65
|
none: false
|
72
|
-
requirements:
|
66
|
+
requirements:
|
73
67
|
- - ~>
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
hash: 31
|
76
|
-
segments:
|
77
|
-
- 1
|
78
|
-
- 3
|
79
|
-
- 2
|
68
|
+
- !ruby/object:Gem::Version
|
80
69
|
version: 1.3.2
|
81
|
-
prerelease: false
|
82
70
|
type: :development
|
83
|
-
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 1.3.2
|
84
78
|
description: Measure YARD documentation coverage
|
85
79
|
email: dan.kubb@gmail.com
|
86
|
-
executables:
|
80
|
+
executables:
|
87
81
|
- yardstick
|
88
82
|
extensions: []
|
89
|
-
|
90
|
-
extra_rdoc_files:
|
83
|
+
extra_rdoc_files:
|
91
84
|
- LICENSE
|
92
85
|
- README.rdoc
|
93
|
-
files:
|
86
|
+
files:
|
94
87
|
- .document
|
95
88
|
- .rvmrc
|
96
89
|
- .travis.yml
|
@@ -135,36 +128,29 @@ files:
|
|
135
128
|
- yardstick.gemspec
|
136
129
|
homepage: http://github.com/dkubb/yardstick
|
137
130
|
licenses: []
|
138
|
-
|
139
131
|
post_install_message:
|
140
132
|
rdoc_options: []
|
141
|
-
|
142
|
-
require_paths:
|
133
|
+
require_paths:
|
143
134
|
- lib
|
144
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
135
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
145
136
|
none: false
|
146
|
-
requirements:
|
147
|
-
- -
|
148
|
-
- !ruby/object:Gem::Version
|
149
|
-
|
150
|
-
segments:
|
137
|
+
requirements:
|
138
|
+
- - ! '>='
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: '0'
|
141
|
+
segments:
|
151
142
|
- 0
|
152
|
-
|
153
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
143
|
+
hash: 4342461256610534409
|
144
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
154
145
|
none: false
|
155
|
-
requirements:
|
156
|
-
- -
|
157
|
-
- !ruby/object:Gem::Version
|
158
|
-
|
159
|
-
segments:
|
160
|
-
- 0
|
161
|
-
version: "0"
|
146
|
+
requirements:
|
147
|
+
- - ! '>='
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '0'
|
162
150
|
requirements: []
|
163
|
-
|
164
151
|
rubyforge_project:
|
165
152
|
rubygems_version: 1.8.24
|
166
153
|
signing_key:
|
167
154
|
specification_version: 3
|
168
155
|
summary: A tool for verifying YARD documentation coverage
|
169
156
|
test_files: []
|
170
|
-
|