detroit-turn 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/.ruby CHANGED
@@ -1,4 +1,6 @@
1
1
  ---
2
+ source:
3
+ - meta
2
4
  authors:
3
5
  - name: T. Sawyer
4
6
  email: transfire@gmail.com
@@ -6,25 +8,29 @@ copyrights:
6
8
  - holder: Thomas Sawyer
7
9
  year: '2011'
8
10
  license: GPL-3
9
- replacements: []
10
- conflicts: []
11
- requirements: []
11
+ requirements:
12
+ - name: detroit
13
+ version: 0.3.0+
14
+ - name: turn
12
15
  dependencies: []
16
+ alternatives: []
17
+ conflicts: []
13
18
  repositories: []
14
19
  resources:
15
20
  home: http://detroit.github.com/
16
21
  code: http://github.com/detroit/detroit-turn
17
22
  mail: http://groups.google.com/rubyworks-mailinglist
23
+ extra: {}
18
24
  load_path:
19
25
  - lib
20
- extra: {}
21
26
  revision: 0
22
- name: detroit-turn
23
- source: []
24
- alternatives: []
25
- title: Detroit Turn
26
- version: 0.1.0
27
+ created: '2011-10-16'
27
28
  summary: Turn plugin for Detroit
29
+ title: Detroit Turn
30
+ version: 0.2.0
31
+ name: detroit-turn
32
+ suite: detroit
28
33
  description: Turn plugin for Detroit build system. The Turn plugin runs MiniTest test
29
34
  via Turn's beautified test runners.
30
- date: '2011-10-16'
35
+ organization: rubyworks
36
+ date: '2012-04-01'
File without changes
@@ -53,11 +53,22 @@ module Detroit
53
53
  alias_method :require=, :requires=
54
54
 
55
55
 
56
- # A S S E M B L Y S T A T I O N S
56
+ # A S S E M B L Y M E T H O D S
57
57
 
58
58
  #
59
- def station_test
60
- run
59
+ def assemble?(station, options={})
60
+ case station
61
+ when :test
62
+ true
63
+ end
64
+ end
65
+
66
+ #
67
+ def assemble(station, options={})
68
+ case station
69
+ when :test
70
+ run
71
+ end
61
72
  end
62
73
 
63
74
 
@@ -0,0 +1,71 @@
1
+ .\" generated with Ronn/v0.7.3
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
+ .
4
+ .TH "DETROIT\-TURN" "5" "October 2011" "" ""
5
+ .
6
+ .SH "NAME"
7
+ \fBdetroit\-turn\fR \- ruby minitest\-based tests via turn with detroit
8
+ .
9
+ .SH "DESCRIPTION"
10
+ Turn is a test runner tool you can use to run your Ruby MiniTest\-based or Test::Unit\-based tests during Detroit\'s standard test phase\.
11
+ .
12
+ .SH "OPTIONS"
13
+ The following options can be used in the Detroit assembly file for defining a Turn service\.
14
+ .
15
+ .IP "\(bu" 4
16
+ \fBtests\fR \- Test files to include\.
17
+ .
18
+ .IP "\(bu" 4
19
+ \fBexclude\fR \- Files or globs to exclude\.
20
+ .
21
+ .IP "\(bu" 4
22
+ \fBignore\fR \- Files to ignore by matching filename\.
23
+ .
24
+ .IP "\(bu" 4
25
+ \fBloadpath\fR \- Directories to add to\fB$LOAD_PATH\fR\. Defaults to \fB[\'lib\']\fR\.
26
+ .
27
+ .IP "\(bu" 4
28
+ \fBrequires\fR \- Scripts to require before running tests\.
29
+ .
30
+ .IP "\(bu" 4
31
+ \fBextra\fR \- Extra command line options to append to command\.
32
+ .
33
+ .IP "" 0
34
+ .
35
+ .SH "EXAMPLES"
36
+ A typical example would look something like:
37
+ .
38
+ .IP "" 4
39
+ .
40
+ .nf
41
+
42
+ turn:
43
+ tests: spec/*_spec\.rb
44
+ loadpath:
45
+ \- lib
46
+ \- spec
47
+ extra: \'| tapout pretty\'
48
+ .
49
+ .fi
50
+ .
51
+ .IP "" 0
52
+ .
53
+ .SH "RESOURCES"
54
+ For more information:
55
+ .
56
+ .IP "\(bu" 4
57
+ API Documentation \fIhttp://rubydoc\.info/gems/detroit\-turn\fR
58
+ .
59
+ .IP "\(bu" 4
60
+ Development Site \fIhttp://github\.com/detroit/detroit\-turn\fR
61
+ .
62
+ .IP "" 0
63
+ .
64
+ .SH "COPYRIGHT"
65
+ Copyright (c) 2010 Thomas Sawyer, Rubyworks
66
+ .
67
+ .P
68
+ Detroit Turn is distributable in accordance with the GPLv3 license\.
69
+ .
70
+ .SH "SEE ALSO"
71
+ detroit(1), turn(1), ruby(1)
@@ -0,0 +1,137 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta http-equiv='content-type' value='text/html;charset=utf8'>
5
+ <meta name='generator' value='Ronn/v0.7.3 (http://github.com/rtomayko/ronn/tree/0.7.3)'>
6
+ <title>detroit-turn(5) - ruby minitest-based tests via turn with detroit</title>
7
+ <style type='text/css' media='all'>
8
+ /* style: man */
9
+ body#manpage {margin:0}
10
+ .mp {max-width:100ex;padding:0 9ex 1ex 4ex}
11
+ .mp p,.mp pre,.mp ul,.mp ol,.mp dl {margin:0 0 20px 0}
12
+ .mp h2 {margin:10px 0 0 0}
13
+ .mp > p,.mp > pre,.mp > ul,.mp > ol,.mp > dl {margin-left:8ex}
14
+ .mp h3 {margin:0 0 0 4ex}
15
+ .mp dt {margin:0;clear:left}
16
+ .mp dt.flush {float:left;width:8ex}
17
+ .mp dd {margin:0 0 0 9ex}
18
+ .mp h1,.mp h2,.mp h3,.mp h4 {clear:left}
19
+ .mp pre {margin-bottom:20px}
20
+ .mp pre+h2,.mp pre+h3 {margin-top:22px}
21
+ .mp h2+pre,.mp h3+pre {margin-top:5px}
22
+ .mp img {display:block;margin:auto}
23
+ .mp h1.man-title {display:none}
24
+ .mp,.mp code,.mp pre,.mp tt,.mp kbd,.mp samp,.mp h3,.mp h4 {font-family:monospace;font-size:14px;line-height:1.42857142857143}
25
+ .mp h2 {font-size:16px;line-height:1.25}
26
+ .mp h1 {font-size:20px;line-height:2}
27
+ .mp {text-align:justify;background:#fff}
28
+ .mp,.mp code,.mp pre,.mp pre code,.mp tt,.mp kbd,.mp samp {color:#131211}
29
+ .mp h1,.mp h2,.mp h3,.mp h4 {color:#030201}
30
+ .mp u {text-decoration:underline}
31
+ .mp code,.mp strong,.mp b {font-weight:bold;color:#131211}
32
+ .mp em,.mp var {font-style:italic;color:#232221;text-decoration:none}
33
+ .mp a,.mp a:link,.mp a:hover,.mp a code,.mp a pre,.mp a tt,.mp a kbd,.mp a samp {color:#0000ff}
34
+ .mp b.man-ref {font-weight:normal;color:#434241}
35
+ .mp pre {padding:0 4ex}
36
+ .mp pre code {font-weight:normal;color:#434241}
37
+ .mp h2+pre,h3+pre {padding-left:0}
38
+ ol.man-decor,ol.man-decor li {margin:3px 0 10px 0;padding:0;float:left;width:33%;list-style-type:none;text-transform:uppercase;color:#999;letter-spacing:1px}
39
+ ol.man-decor {width:100%}
40
+ ol.man-decor li.tl {text-align:left}
41
+ ol.man-decor li.tc {text-align:center;letter-spacing:4px}
42
+ ol.man-decor li.tr {text-align:right;float:right}
43
+ </style>
44
+ </head>
45
+ <!--
46
+ The following styles are deprecated and will be removed at some point:
47
+ div#man, div#man ol.man, div#man ol.head, div#man ol.man.
48
+
49
+ The .man-page, .man-decor, .man-head, .man-foot, .man-title, and
50
+ .man-navigation should be used instead.
51
+ -->
52
+ <body id='manpage'>
53
+ <div class='mp' id='man'>
54
+
55
+ <div class='man-navigation' style='display:none'>
56
+ <a href="#NAME">NAME</a>
57
+ <a href="#DESCRIPTION">DESCRIPTION</a>
58
+ <a href="#OPTIONS">OPTIONS</a>
59
+ <a href="#EXAMPLES">EXAMPLES</a>
60
+ <a href="#RESOURCES">RESOURCES</a>
61
+ <a href="#COPYRIGHT">COPYRIGHT</a>
62
+ <a href="#SEE-ALSO">SEE ALSO</a>
63
+ </div>
64
+
65
+ <ol class='man-decor man-head man head'>
66
+ <li class='tl'>detroit-turn(5)</li>
67
+ <li class='tc'></li>
68
+ <li class='tr'>detroit-turn(5)</li>
69
+ </ol>
70
+
71
+ <h2 id="NAME">NAME</h2>
72
+ <p class="man-name">
73
+ <code>detroit-turn</code> - <span class="man-whatis">ruby minitest-based tests via turn with detroit</span>
74
+ </p>
75
+
76
+ <h2 id="DESCRIPTION">DESCRIPTION</h2>
77
+
78
+ <p>Turn is a test runner tool you can use to run your Ruby MiniTest-based
79
+ or Test::Unit-based tests during Detroit's standard test phase.</p>
80
+
81
+ <h2 id="OPTIONS">OPTIONS</h2>
82
+
83
+ <p>The following options can be used in the Detroit assembly file
84
+ for defining a Turn service.</p>
85
+
86
+ <ul>
87
+ <li><p><code>tests</code> - Test files to include.</p></li>
88
+ <li><p><code>exclude</code> - Files or globs to exclude.</p></li>
89
+ <li><p><code>ignore</code> - Files to ignore by matching filename.</p></li>
90
+ <li><p><code>loadpath</code> - Directories to add to<code>$LOAD_PATH</code>. Defaults to <code>['lib']</code>.</p></li>
91
+ <li><p><code>requires</code> - Scripts to require before running tests.</p></li>
92
+ <li><p><code>extra</code> - Extra command line options to append to command.</p></li>
93
+ </ul>
94
+
95
+
96
+ <h2 id="EXAMPLES">EXAMPLES</h2>
97
+
98
+ <p>A typical example would look something like:</p>
99
+
100
+ <pre><code>turn:
101
+ tests: spec/*_spec.rb
102
+ loadpath:
103
+ - lib
104
+ - spec
105
+ extra: '| tapout pretty'
106
+ </code></pre>
107
+
108
+ <h2 id="RESOURCES">RESOURCES</h2>
109
+
110
+ <p>For more information:</p>
111
+
112
+ <ul>
113
+ <li><p><a href="http://rubydoc.info/gems/detroit-turn">API Documentation</a></p></li>
114
+ <li><p><a href="http://github.com/detroit/detroit-turn">Development Site</a></p></li>
115
+ </ul>
116
+
117
+
118
+ <h2 id="COPYRIGHT">COPYRIGHT</h2>
119
+
120
+ <p>Copyright (c) 2010 Thomas Sawyer, Rubyworks</p>
121
+
122
+ <p>Detroit Turn is distributable in accordance with the GPLv3 license.</p>
123
+
124
+ <h2 id="SEE-ALSO">SEE ALSO</h2>
125
+
126
+ <p><span class="man-ref">detroit<span class="s">(1)</span></span>, <span class="man-ref">turn<span class="s">(1)</span></span>, <span class="man-ref">ruby<span class="s">(1)</span></span></p>
127
+
128
+
129
+ <ol class='man-decor man-foot man foot'>
130
+ <li class='tl'></li>
131
+ <li class='tc'>October 2011</li>
132
+ <li class='tr'>detroit-turn(5)</li>
133
+ </ol>
134
+
135
+ </div>
136
+ </body>
137
+ </html>
@@ -0,0 +1,58 @@
1
+ detroit-turn(5) - ruby minitest-based tests via turn with detroit
2
+ =================================================================
3
+
4
+ ## DESCRIPTION
5
+
6
+ Turn is a test runner tool you can use to run your Ruby MiniTest-based
7
+ or Test::Unit-based tests during Detroit's standard test phase.
8
+
9
+
10
+ ## OPTIONS
11
+
12
+ The following options can be used in the Detroit assembly file
13
+ for defining a Turn service.
14
+
15
+ * `tests` - Test files to include.
16
+
17
+ * `exclude` - Files or globs to exclude.
18
+
19
+ * `ignore` - Files to ignore by matching filename.
20
+
21
+ * `loadpath` - Directories to add to`$LOAD_PATH`. Defaults to `['lib']`.
22
+
23
+ * `requires` - Scripts to require before running tests.
24
+
25
+ * `extra` - Extra command line options to append to command.
26
+
27
+
28
+ ## EXAMPLES
29
+
30
+ A typical example would look something like:
31
+
32
+ turn:
33
+ tests: spec/*_spec.rb
34
+ loadpath:
35
+ - lib
36
+ - spec
37
+ extra: '| tapout pretty'
38
+
39
+
40
+ ## RESOURCES
41
+
42
+ For more information:
43
+
44
+ * [API Documentation](http://rubydoc.info/gems/detroit-turn)
45
+
46
+ * [Development Site](http://github.com/detroit/detroit-turn)
47
+
48
+
49
+ ## COPYRIGHT
50
+
51
+ Copyright (c) 2010 Thomas Sawyer, Rubyworks
52
+
53
+ Detroit Turn is distributable in accordance with the GPLv3 license.
54
+
55
+
56
+ ## SEE ALSO
57
+
58
+ detroit(1), turn(1), ruby(1)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: detroit-turn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,8 +9,30 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-10-19 00:00:00.000000000 Z
13
- dependencies: []
12
+ date: 2012-04-02 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: detroit
16
+ requirement: &30115720 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: 0.3.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *30115720
25
+ - !ruby/object:Gem::Dependency
26
+ name: turn
27
+ requirement: &30115240 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *30115240
14
36
  description: Turn plugin for Detroit build system. The Turn plugin runs MiniTest test
15
37
  via Turn's beautified test runners.
16
38
  email:
@@ -18,17 +40,21 @@ email:
18
40
  executables: []
19
41
  extensions: []
20
42
  extra_rdoc_files:
21
- - GPL3.txt
43
+ - LICENSE.txt
22
44
  - README.rdoc
23
45
  - COPYING.rdoc
24
46
  files:
25
47
  - .ruby
26
48
  - lib/detroit-turn.rb
49
+ - man/detroit-turn.5
50
+ - man/detroit-turn.5.html
51
+ - man/detroit-turn.5.ronn
52
+ - LICENSE.txt
27
53
  - README.rdoc
28
- - GPL3.txt
29
54
  - COPYING.rdoc
30
55
  homepage: http://detroit.github.com/
31
- licenses: []
56
+ licenses:
57
+ - GPL-3
32
58
  post_install_message:
33
59
  rdoc_options: []
34
60
  require_paths:
@@ -47,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
47
73
  version: '0'
48
74
  requirements: []
49
75
  rubyforge_project:
50
- rubygems_version: 1.8.5
76
+ rubygems_version: 1.8.11
51
77
  signing_key:
52
78
  specification_version: 3
53
79
  summary: Turn plugin for Detroit