detroit-syntax 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: trans
4
6
  email: transfire@gmail.com
@@ -6,24 +8,27 @@ copyrights:
6
8
  - holder: Thomas Sawyer, Rubyworks
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+
12
14
  dependencies: []
15
+ alternatives: []
16
+ conflicts: []
13
17
  repositories: []
14
18
  resources:
15
19
  home: http://detroit.github.com/
16
20
  code: http://github.com/detroit/detroit-syntax
17
21
  mail: http://groups.google.com/group/rubyworks-mailinglist
22
+ extra: {}
18
23
  load_path:
19
24
  - lib
20
- extra: {}
21
25
  revision: 0
22
- name: detroit-syntax
23
- source: []
24
- alternatives: []
25
- title: Detroit Syntax
26
- version: 0.1.0
26
+ created: '2011-10-16'
27
27
  summary: Ruby syntax checker plugin for Detroit
28
+ title: Detroit Syntax
29
+ version: 0.2.0
30
+ name: detroit-syntax
31
+ suite: detroit
28
32
  description: Ruby syntax checker plugin for Detroit build system.
29
- date: '2011-10-16'
33
+ organization: rubyworks
34
+ date: '2012-04-01'
File without changes
@@ -39,11 +39,22 @@ module Detroit
39
39
  end
40
40
 
41
41
 
42
- # A S S E M B L Y S T A T I O N S
42
+ # A S S E M B L Y M E T H O D S
43
+
44
+ # Attaches check method to test station.
45
+ def assemble?(station, options={})
46
+ case station
47
+ when :test
48
+ true
49
+ end
50
+ end
43
51
 
44
52
  # Attach check method to test station.
45
- def station_test
46
- check
53
+ def assemble(station, options={})
54
+ case station
55
+ when :test
56
+ check
57
+ end
47
58
  end
48
59
 
49
60
 
@@ -0,0 +1,70 @@
1
+ .\" generated with Ronn/v0.7.3
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
+ .
4
+ .TH "DETROIT\-SYNTAX" "5" "October 2011" "" ""
5
+ .
6
+ .SH "NAME"
7
+ \fBdetroit\-syntax\fR \- ruby syntax checker plug\-in for detroit
8
+ .
9
+ .SH "DESCRIPTION"
10
+ The Syntax plug\-in for Detroit will make sure your ruby scripts are syntax error free\. This plug\-in shells out to \fBruby \-c\fR\.
11
+ .
12
+ .P
13
+ Clearly this ia a rather trivial plug\-in, and is here mainly for example sake\.
14
+ .
15
+ .SH "OPTIONS"
16
+ The following options can be used in the Detroit assembly file for defining a Syntax service\.
17
+ .
18
+ .IP "\(bu" 4
19
+ \fBfiles\fR \- Test files to include\.
20
+ .
21
+ .IP "\(bu" 4
22
+ \fBexclude\fR \- Files or globs to exclude\.
23
+ .
24
+ .IP "\(bu" 4
25
+ \fBignore\fR \- Files to ignore by matching filename\.
26
+ .
27
+ .IP "\(bu" 4
28
+ \fBloadpath\fR \- Directories to add to\fB$LOAD_PATH\fR\. Defaults to \fB[\'lib\']\fR\.
29
+ .
30
+ .IP "\(bu" 4
31
+ \fBextra\fR \- Extra command line options to append to \fBruby\fR command\.
32
+ .
33
+ .IP "\(bu" 4
34
+ \fBlog\fR \- Log results to this file, or set to \fBtrue\fR to use default file \fBlog/syntax\.rdoc\fR\. If not given no log will be created\.
35
+ .
36
+ .IP "" 0
37
+ .
38
+ .SH "EXAMPLES"
39
+ A typical example would look something like:
40
+ .
41
+ .IP "" 4
42
+ .
43
+ .nf
44
+
45
+ syntax:
46
+ files: [lib, test]
47
+ .
48
+ .fi
49
+ .
50
+ .IP "" 0
51
+ .
52
+ .SH "RESOURCES"
53
+ For more information:
54
+ .
55
+ .IP "\(bu" 4
56
+ API Documentation \fIhttp://rubydoc\.info/gems/detroit\-syntax\fR
57
+ .
58
+ .IP "\(bu" 4
59
+ Development Site \fIhttp://github\.com/detroit/detroit\-syntax\fR
60
+ .
61
+ .IP "" 0
62
+ .
63
+ .SH "COPYRIGHT"
64
+ Copyright (c) 2010 Thomas Sawyer, Rubyworks
65
+ .
66
+ .P
67
+ Detroit Syntax is distributable in accordance with the GPL v\.3 license\.
68
+ .
69
+ .SH "SEE ALSO"
70
+ detroit(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-syntax(5) - ruby syntax checker plug-in for 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-syntax(5)</li>
67
+ <li class='tc'></li>
68
+ <li class='tr'>detroit-syntax(5)</li>
69
+ </ol>
70
+
71
+ <h2 id="NAME">NAME</h2>
72
+ <p class="man-name">
73
+ <code>detroit-syntax</code> - <span class="man-whatis">ruby syntax checker plug-in for detroit</span>
74
+ </p>
75
+
76
+ <h2 id="DESCRIPTION">DESCRIPTION</h2>
77
+
78
+ <p>The Syntax plug-in for Detroit will make sure your ruby scripts
79
+ are syntax error free. This plug-in shells out to <code>ruby -c</code>.</p>
80
+
81
+ <p>Clearly this ia a rather trivial plug-in, and is here mainly
82
+ for example sake.</p>
83
+
84
+ <h2 id="OPTIONS">OPTIONS</h2>
85
+
86
+ <p>The following options can be used in the Detroit assembly file
87
+ for defining a Syntax service.</p>
88
+
89
+ <ul>
90
+ <li><p><code>files</code> - Test files to include.</p></li>
91
+ <li><p><code>exclude</code> - Files or globs to exclude.</p></li>
92
+ <li><p><code>ignore</code> - Files to ignore by matching filename.</p></li>
93
+ <li><p><code>loadpath</code> - Directories to add to<code>$LOAD_PATH</code>. Defaults to <code>['lib']</code>.</p></li>
94
+ <li><p><code>extra</code> - Extra command line options to append to <code>ruby</code> command.</p></li>
95
+ <li><p><code>log</code> - Log results to this file, or set to <code>true</code> to use default
96
+ file <code>log/syntax.rdoc</code>. If not given no log will be created.</p></li>
97
+ </ul>
98
+
99
+
100
+ <h2 id="EXAMPLES">EXAMPLES</h2>
101
+
102
+ <p>A typical example would look something like:</p>
103
+
104
+ <pre><code>syntax:
105
+ files: [lib, test]
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-syntax">API Documentation</a></p></li>
114
+ <li><p><a href="http://github.com/detroit/detroit-syntax">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 Syntax is distributable in accordance with the GPL v.3 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">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-syntax(5)</li>
133
+ </ol>
134
+
135
+ </div>
136
+ </body>
137
+ </html>
@@ -0,0 +1,58 @@
1
+ detroit-syntax(5) - ruby syntax checker plug-in for detroit
2
+ ===========================================================
3
+
4
+ ## DESCRIPTION
5
+
6
+ The Syntax plug-in for Detroit will make sure your ruby scripts
7
+ are syntax error free. This plug-in shells out to `ruby -c`.
8
+
9
+ Clearly this is a rather trivial plug-in, and is here mainly
10
+ for example sake.
11
+
12
+
13
+ ## OPTIONS
14
+
15
+ The following options can be used in the Detroit assembly file
16
+ for defining a Syntax service.
17
+
18
+ * `files` - Test files to include.
19
+
20
+ * `exclude` - Files or globs to exclude.
21
+
22
+ * `ignore` - Files to ignore by matching filename.
23
+
24
+ * `loadpath` - Directories to add to`$LOAD_PATH`. Defaults to `['lib']`.
25
+
26
+ * `extra` - Extra command line options to append to `ruby` command.
27
+
28
+ * `log` - Log results to this file, or set to `true` to use default
29
+ file `log/syntax.rdoc`. If not given no log will be created.
30
+
31
+
32
+ ## EXAMPLES
33
+
34
+ A typical example would look something like:
35
+
36
+ syntax:
37
+ files: [lib, test]
38
+
39
+
40
+ ## RESOURCES
41
+
42
+ For more information:
43
+
44
+ * [API Documentation](http://rubydoc.info/gems/detroit-syntax)
45
+
46
+ * [Development Site](http://github.com/detroit/detroit-syntax)
47
+
48
+
49
+ ## COPYRIGHT
50
+
51
+ Copyright (c) 2010 Thomas Sawyer, Rubyworks
52
+
53
+ Detroit Syntax is distributable in accordance with the GPL v.3 license.
54
+
55
+
56
+ ## SEE ALSO
57
+
58
+ detroit(1), ruby(1)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: detroit-syntax
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,25 +9,40 @@ 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: &18653480 !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: *18653480
14
25
  description: Ruby syntax checker plugin for Detroit build system.
15
26
  email:
16
27
  - transfire@gmail.com
17
28
  executables: []
18
29
  extensions: []
19
30
  extra_rdoc_files:
20
- - GPL3.txt
31
+ - LICENSE.txt
21
32
  - README.rdoc
22
33
  - COPYING.rdoc
23
34
  files:
24
35
  - .ruby
25
36
  - lib/detroit-syntax.rb
37
+ - man/detroit-syntax.5
38
+ - man/detroit-syntax.5.html
39
+ - man/detroit-syntax.5.ronn
40
+ - LICENSE.txt
26
41
  - README.rdoc
27
- - GPL3.txt
28
42
  - COPYING.rdoc
29
43
  homepage: http://detroit.github.com/
30
- licenses: []
44
+ licenses:
45
+ - GPL-3
31
46
  post_install_message:
32
47
  rdoc_options: []
33
48
  require_paths:
@@ -46,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
46
61
  version: '0'
47
62
  requirements: []
48
63
  rubyforge_project:
49
- rubygems_version: 1.8.5
64
+ rubygems_version: 1.8.11
50
65
  signing_key:
51
66
  specification_version: 3
52
67
  summary: Ruby syntax checker plugin for Detroit