detroit-yardstick 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.index +5 -1
- data/demo/detroit-yardstick.md +15 -0
- data/lib/detroit-yardstick.rb +2 -2
- metadata +16 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e15ab35a92a96a391b6e613635cacb8c63f87e3
|
4
|
+
data.tar.gz: 41e5791d6af972bc67c1c43dfb24ee1878e77072
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a470919b4a604462983d0d84552fab588147ae2681f201bebf6d6147eb62de3c10a74ab94959db96475c50f08d1c9864ad2ab533b227de98dd58a302516f4a80
|
7
|
+
data.tar.gz: bf6c1e27a0f6c3b5cfa8721af99ac696daed17523f4b049ef4335c4965576ab90375de3f3a29e327076a90f114911ca1a1f4f505a5ff089cd6c92712e64658b3
|
data/.index
CHANGED
@@ -13,6 +13,10 @@ requirements:
|
|
13
13
|
name: detroit
|
14
14
|
- name: detroit-standard
|
15
15
|
- name: yardstick
|
16
|
+
- groups:
|
17
|
+
- test
|
18
|
+
development: true
|
19
|
+
name: qed
|
16
20
|
conflicts: []
|
17
21
|
alternatives: []
|
18
22
|
resources:
|
@@ -48,5 +52,5 @@ created: '2011-10-16'
|
|
48
52
|
description: "Yardstick plugin for Detroit build system. This plugin generates a documentation
|
49
53
|
\ncoverage report for YARD documentation during the post-document phase."
|
50
54
|
suite: detroit
|
51
|
-
version: 0.4.
|
55
|
+
version: 0.4.1
|
52
56
|
date: '2014-01-15'
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# Detroit Yardstick
|
2
|
+
|
3
|
+
Require the tool.
|
4
|
+
|
5
|
+
require 'detroit-yardstick'
|
6
|
+
|
7
|
+
Instantiate a tool instance with default parameters.
|
8
|
+
|
9
|
+
tool = Detroit::Yardstick()
|
10
|
+
|
11
|
+
The Yardstick tool can either save the result to file via #save, or
|
12
|
+
print them to stdout using `#print`.
|
13
|
+
|
14
|
+
tool.print
|
15
|
+
|
data/lib/detroit-yardstick.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
require 'detroit'
|
1
|
+
require 'detroit-standard'
|
2
2
|
|
3
3
|
module Detroit
|
4
4
|
|
@@ -79,7 +79,7 @@ module Detroit
|
|
79
79
|
#
|
80
80
|
# @return [undefined]
|
81
81
|
def print
|
82
|
-
::Yardstick.measure(
|
82
|
+
::Yardstick.measure(yard_config).puts($stdout)
|
83
83
|
end
|
84
84
|
|
85
85
|
# This tool ties into the `post_document` station of the standard assembly.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: detroit-yardstick
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- T. Sawyer
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: qed
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
55
69
|
description: "Yardstick plugin for Detroit build system. This plugin generates a documentation
|
56
70
|
\ncoverage report for YARD documentation during the post-document phase."
|
57
71
|
email:
|
@@ -65,6 +79,7 @@ extra_rdoc_files:
|
|
65
79
|
files:
|
66
80
|
- .index
|
67
81
|
- .yardopts
|
82
|
+
- demo/detroit-yardstick.md
|
68
83
|
- lib/detroit-yardstick.rb
|
69
84
|
- man/detroit-yardstick.5
|
70
85
|
- man/detroit-yardstick.5.html
|