tomparse 0.4.2 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/HISTORY.md +18 -1
- data/README.md +33 -46
- data/lib/tomparse/argument.rb +1 -1
- data/lib/tomparse/parser.rb +8 -8
- data/lib/tomparse/version.rb +4 -0
- data/lib/tomparse.rb +5 -1
- metadata +52 -72
- data/.index +0 -67
- data/.yardopts +0 -8
- data/lib/tomparse.yml +0 -67
- data/test/helper.rb +0 -13
- data/test/test_arguments.rb +0 -217
- data/test/test_description.rb +0 -54
- data/test/test_examples.rb +0 -124
- data/test/test_prefixes.rb +0 -42
- data/test/test_signatures.rb +0 -55
- data/test/test_tags.rb +0 -40
- data/test/test_tomdoc.rb +0 -217
- data/test/test_yields.rb +0 -17
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: d31fbe2751c47dc99b8d422876a021a4859ed9a5776bf07e249a479e8f750c11
|
|
4
|
+
data.tar.gz: e31f7756139196449f39cf843f2fb9b1d442b36e8dc8d9d5ce03a7e9e7311d5a
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 7c8e733b07b53fd82fd9bdaa57f1974d505126ed4293a2c00cf82ecd0ec2efb881829ecaacda6eb29a2fdfac6d6fa980367242fe33df6d43c0ce43f3aa41b85b
|
|
7
|
+
data.tar.gz: 84abb656e4eb2a17a11f64fc21c3b16795e62951c01b9eaac825335f21bc4fdb0a4761a7f84201feaf060df2af86a68809aab4d9943cec28e2938df5f19621cc
|
data/HISTORY.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Release History
|
|
2
2
|
|
|
3
|
+
## 0.5.0 / 2026-11-30
|
|
4
|
+
|
|
5
|
+
TomParse is brought up to date: it needs Ruby 3.1 or newer. This release
|
|
6
|
+
also carries the fixes made since 0.4.2, which were never published
|
|
7
|
+
(a 0.4.3 was prepared in 2015 but not released).
|
|
8
|
+
|
|
9
|
+
Changes:
|
|
10
|
+
|
|
11
|
+
* Fix parsing of options that run over more than one line. (Faraz Yashar)
|
|
12
|
+
* Fix a line break left in the description of an argument's option when
|
|
13
|
+
it ran over more than one line.
|
|
14
|
+
* Add `TomDoc#labels` as an alias of `#tags`.
|
|
15
|
+
* Add `TomParse::VERSION`.
|
|
16
|
+
* Fix typos in the documentation. (Chayoung You)
|
|
17
|
+
* Tests run on Spectrum, in CI on Ruby 3.1 to 4.0.
|
|
18
|
+
|
|
19
|
+
|
|
3
20
|
## 0.4.2 / 2013-02-15
|
|
4
21
|
|
|
5
22
|
This release fixes description and argument parsing when
|
|
@@ -31,7 +48,7 @@ have to be all-caps. And lastly, the `Signature` section has been
|
|
|
31
48
|
repurposed for describing variant *parameter signatures*, not dynamic
|
|
32
49
|
methods. As such `signature_fields` has been deprecated. Yes, these
|
|
33
50
|
are additions and some deviation from the original TomDoc spec, but
|
|
34
|
-
when purely conceptual specs go into practice they have a tendency to
|
|
51
|
+
when purely conceptual specs go into practice they have a tendency to
|
|
35
52
|
adapt to practical requirements.
|
|
36
53
|
|
|
37
54
|
Changes:
|
data/README.md
CHANGED
|
@@ -1,15 +1,8 @@
|
|
|
1
|
-
# TomParse
|
|
1
|
+
# [TomParse](https://rubyworks.github.io/tomparse)
|
|
2
2
|
|
|
3
|
-
[
|
|
4
|
-
[
|
|
5
|
-
[
|
|
6
|
-
[Gem Page](http://rubygems.org/gems/tomparse)
|
|
7
|
-
|
|
8
|
-
[](http://travis-ci.org/rubyworks/tomparse)
|
|
9
|
-
[](http://badge.fury.io/rb/tomparse)
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
## Description
|
|
3
|
+
[](https://rubygems.org/gems/tomparse)
|
|
4
|
+
[](https://github.com/rubyworks/tomparse/actions/workflows/ci.yml)
|
|
5
|
+
[](https://github.com/rubyworks/tomparse/issues)
|
|
13
6
|
|
|
14
7
|
TomParse is a TomDoc parser for Ruby. It provides no other functionality than
|
|
15
8
|
to take a code comment and parse it in to a convenient object-oriented
|
|
@@ -17,13 +10,7 @@ structure in accordance with the TomDoc standard. See [TomDoc](https://github.co
|
|
|
17
10
|
for more information about the TomDoc format.
|
|
18
11
|
|
|
19
12
|
|
|
20
|
-
##
|
|
21
|
-
|
|
22
|
-
### Installation
|
|
23
|
-
|
|
24
|
-
TomParse is available as a Ruby gem.
|
|
25
|
-
|
|
26
|
-
$ gem install tomparse
|
|
13
|
+
## Instructions
|
|
27
14
|
|
|
28
15
|
### Usage
|
|
29
16
|
|
|
@@ -59,6 +46,19 @@ looks something like this:
|
|
|
59
46
|
text * count
|
|
60
47
|
end
|
|
61
48
|
|
|
49
|
+
### Installation
|
|
50
|
+
|
|
51
|
+
TomParse is available as a Ruby gem.
|
|
52
|
+
|
|
53
|
+
$ gem install tomparse
|
|
54
|
+
|
|
55
|
+
TomParse needs Ruby 3.1 or newer.
|
|
56
|
+
|
|
57
|
+
Use with Bundler by adding to your Gemfile (gems.rb file in the future).
|
|
58
|
+
|
|
59
|
+
gem "tomparse"
|
|
60
|
+
|
|
61
|
+
|
|
62
62
|
## Extra Features
|
|
63
63
|
|
|
64
64
|
Okay, we told a little white lie in the description. TomParse does take some
|
|
@@ -93,8 +93,8 @@ but there are times when its reads better to put them lower, such when using a
|
|
|
93
93
|
|
|
94
94
|
Ruby 2.0 finally introduces *keyword arguments* to the language. TomDoc's current
|
|
95
95
|
support of argument options, as a secondary argument list of a Hash argument,
|
|
96
|
-
doesn't take
|
|
97
|
-
|
|
96
|
+
doesn't take keyword arguments into good account. To remedy this TomParse provides
|
|
97
|
+
an `Options` section. It is written just like one would an `Arguments` section.
|
|
98
98
|
|
|
99
99
|
```ruby
|
|
100
100
|
# Method to do fooey.
|
|
@@ -107,11 +107,11 @@ and `Options` section, and it written just like one would an `Arguments` section
|
|
|
107
107
|
...
|
|
108
108
|
```
|
|
109
109
|
|
|
110
|
-
###
|
|
110
|
+
### Labels
|
|
111
111
|
|
|
112
112
|
One really nice new feature of TomParse is it's ability to recoginize sections
|
|
113
|
-
starting with a capitalized word followed by a colon and a space, as special
|
|
114
|
-
Here is an example:
|
|
113
|
+
starting with a capitalized word followed by a colon and a space, as special
|
|
114
|
+
section *tags* or *labels* (call them what you will). Here is an example:
|
|
115
115
|
|
|
116
116
|
```ruby
|
|
117
117
|
# Method to do something.
|
|
@@ -123,8 +123,8 @@ Here is an example:
|
|
|
123
123
|
...
|
|
124
124
|
```
|
|
125
125
|
|
|
126
|
-
When this is parsed, rather
|
|
127
|
-
the TomDoc instance will have a `tags` entry containing `['TODO', 'This is a todo note.']`.
|
|
126
|
+
When this is parsed, rather than lumping the TODO line in with the description,
|
|
127
|
+
the TomDoc instance will have a `tags`/`labels` entry containing `['TODO', 'This is a todo note.']`.
|
|
128
128
|
It is important for consumer applications to recognize this. They can either just
|
|
129
129
|
add the tags back into the description when generating documentation, or handle
|
|
130
130
|
them separately. But tags don't have to occur right after the description. They
|
|
@@ -133,7 +133,7 @@ can occur any place in the documentation.
|
|
|
133
133
|
### Signatures
|
|
134
134
|
|
|
135
135
|
TomParse does not support the Signature sections in exactly the same fashion as
|
|
136
|
-
the TomDoc specification describes. Rather
|
|
136
|
+
the TomDoc specification describes. Rather than define dynamic methods, signatures
|
|
137
137
|
are used to specify alternate argument patterns, one signature per line.
|
|
138
138
|
|
|
139
139
|
```ruby
|
|
@@ -156,7 +156,7 @@ Technically the Signatures section can still be used to designate a dynamic meth
|
|
|
156
156
|
but as you can see by the above example, TomParse does not support the *field* list.
|
|
157
157
|
If needed just use the arguments list for these as well.
|
|
158
158
|
|
|
159
|
-
This choice was made
|
|
159
|
+
This choice was made because support for signatures as defined by the spec
|
|
160
160
|
leads to very non-optimal code. It requires scanning every chunk of documentation
|
|
161
161
|
for a `Signature` section in order to determine how to treat it. What is needed
|
|
162
162
|
is a more universal syntax, that can be easily recognized by some clear identifier
|
|
@@ -166,12 +166,9 @@ with the more traditional concept of method signatures.
|
|
|
166
166
|
|
|
167
167
|
## Resources
|
|
168
168
|
|
|
169
|
-
* [Website](
|
|
170
|
-
* [Source Code](
|
|
171
|
-
* [API Reference](
|
|
172
|
-
* [Mailiing List](http://groups.google.com/group/rubyworks-mailinglist)
|
|
173
|
-
* [IRC Chat](http://chat.us.freenode.net/rubyworks)
|
|
174
|
-
* [Upstream Repo](http://github.com/rubyworks/tomparse/tomparse.git)
|
|
169
|
+
* [Website](https://rubyworks.github.io/tomparse)
|
|
170
|
+
* [Source Code](https://github.com/rubyworks/tomparse)
|
|
171
|
+
* [API Reference](https://rubydoc.info/gems/tomparse)
|
|
175
172
|
|
|
176
173
|
|
|
177
174
|
## Authors
|
|
@@ -180,28 +177,18 @@ with the more traditional concept of method signatures.
|
|
|
180
177
|
<li class="iauthor vcard">
|
|
181
178
|
<span class="nickname">trans</span>
|
|
182
179
|
<span><<a class="email" href="mailto:transfire@gmail.com">transfire@gmail.com</a>></span>
|
|
183
|
-
<br/><a class="url" href="http://trans.
|
|
180
|
+
<br/><a class="url" href="http://trans.github.com/">http://trans.github.com/</a>
|
|
184
181
|
</li>
|
|
185
182
|
</ul>
|
|
186
183
|
|
|
187
184
|
|
|
188
|
-
## Development
|
|
189
|
-
|
|
190
|
-
### Requirements
|
|
191
|
-
|
|
192
|
-
* [Citron](http://rubyworks.github.com/citron) (testing)
|
|
193
|
-
* [AE](http://rubyworks.github.com/ae) (testing)
|
|
194
|
-
* [Fire](http://detroit.github.com/fire) (building)
|
|
195
|
-
* [Detroit](http://detroit.github.com/detroit) (building)
|
|
196
|
-
|
|
197
|
-
|
|
198
185
|
## Copyright & License
|
|
199
186
|
|
|
200
187
|
TomParse is copyrighted open-source software.
|
|
201
188
|
|
|
202
|
-
Copyright (c) 2012 [Rubyworks](
|
|
189
|
+
Copyright (c) 2012 [Rubyworks](https://github.com/rubyworks). All rights reserved.
|
|
203
190
|
|
|
204
|
-
TomParse is distributable under the terms of the [BSD-2-Clause](
|
|
191
|
+
TomParse is distributable under the terms of the [BSD-2-Clause](https://spdx.org/licenses/BSD-2-Clause) license.
|
|
205
192
|
|
|
206
193
|
See LICENSE.txt for details.
|
|
207
194
|
|
data/lib/tomparse/argument.rb
CHANGED
|
@@ -53,7 +53,7 @@ module TomParse
|
|
|
53
53
|
indent = line.scan(/^\s*/)[0].to_s.size
|
|
54
54
|
|
|
55
55
|
if last_indent && indent > last_indent
|
|
56
|
-
opts.last.description << line.squeeze(" ")
|
|
56
|
+
opts.last.description << " " << line.strip.squeeze(" ")
|
|
57
57
|
else
|
|
58
58
|
param, d = line.split(" - ")
|
|
59
59
|
opts << Option.new(param.strip, d.strip) if param && d
|
data/lib/tomparse/parser.rb
CHANGED
|
@@ -81,7 +81,7 @@ module TomParse
|
|
|
81
81
|
lines = raw.split("\n")
|
|
82
82
|
|
|
83
83
|
# remove remark symbol
|
|
84
|
-
if lines.all?{ |line| /^\s*#/ =~ line }
|
|
84
|
+
if lines.all?{ |line| /^\s*#/ =~ line }
|
|
85
85
|
lines = lines.map do |line|
|
|
86
86
|
line =~ /^(\s*#)/ ? line.sub($1, '') : nil
|
|
87
87
|
end
|
|
@@ -192,7 +192,7 @@ module TomParse
|
|
|
192
192
|
# Returns Array of signatures.
|
|
193
193
|
def signatures
|
|
194
194
|
parsed {
|
|
195
|
-
@signatures
|
|
195
|
+
@signatures
|
|
196
196
|
}
|
|
197
197
|
end
|
|
198
198
|
|
|
@@ -272,7 +272,7 @@ module TomParse
|
|
|
272
272
|
desc << sections.shift
|
|
273
273
|
end
|
|
274
274
|
sections = [desc.join("\n\n")] + sections
|
|
275
|
-
|
|
275
|
+
|
|
276
276
|
@sections = sections.dup
|
|
277
277
|
|
|
278
278
|
parse_description(sections.shift)
|
|
@@ -380,7 +380,7 @@ module TomParse
|
|
|
380
380
|
|
|
381
381
|
# Keep a copy of the lines for later use.
|
|
382
382
|
doc_lines = lines.dup
|
|
383
|
-
|
|
383
|
+
|
|
384
384
|
|
|
385
385
|
# The first line may have a `Public`/`Private`/`Deprecated` marker.
|
|
386
386
|
# So we just skip the first line.
|
|
@@ -400,7 +400,7 @@ module TomParse
|
|
|
400
400
|
break
|
|
401
401
|
end
|
|
402
402
|
end
|
|
403
|
-
|
|
403
|
+
|
|
404
404
|
# The rest of the the document should have identifiable section markers.
|
|
405
405
|
while line = lines.shift
|
|
406
406
|
index += 1
|
|
@@ -475,7 +475,7 @@ module TomParse
|
|
|
475
475
|
end
|
|
476
476
|
else
|
|
477
477
|
@description = section.strip
|
|
478
|
-
end
|
|
478
|
+
end
|
|
479
479
|
end
|
|
480
480
|
|
|
481
481
|
# Parse arguments section. Arguments occur subsequent to
|
|
@@ -523,7 +523,7 @@ module TomParse
|
|
|
523
523
|
next if line.strip.empty?
|
|
524
524
|
indent = line.scan(/^\s*/)[0].to_s.size
|
|
525
525
|
|
|
526
|
-
if last_indent && indent > 0 && indent
|
|
526
|
+
if last_indent && indent > 0 && indent > last_indent
|
|
527
527
|
opts.last.description << "\r\n" + line
|
|
528
528
|
else
|
|
529
529
|
param, desc = line.split(" - ")
|
|
@@ -661,7 +661,7 @@ module TomParse
|
|
|
661
661
|
# Returns nothing.
|
|
662
662
|
def parse_tag(section)
|
|
663
663
|
md = /^([A-Z]\w+)\:\ /m.match(section)
|
|
664
|
-
|
|
664
|
+
|
|
665
665
|
label = md[1]
|
|
666
666
|
desc = md.post_match
|
|
667
667
|
|
data/lib/tomparse.rb
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
module TomParse
|
|
2
|
+
require 'tomparse/version'
|
|
2
3
|
require 'tomparse/parser'
|
|
3
4
|
require 'tomparse/parse_error'
|
|
4
5
|
require 'tomparse/argument'
|
|
@@ -131,7 +132,7 @@ module TomParse
|
|
|
131
132
|
#
|
|
132
133
|
# Returns Array of signatures.
|
|
133
134
|
def signatures
|
|
134
|
-
@parser.signatures
|
|
135
|
+
@parser.signatures
|
|
135
136
|
end
|
|
136
137
|
|
|
137
138
|
# Deprecated: A list of signature fields.
|
|
@@ -151,6 +152,9 @@ module TomParse
|
|
|
151
152
|
@parser.tags
|
|
152
153
|
end
|
|
153
154
|
|
|
155
|
+
# Alternate name for *tags*.
|
|
156
|
+
alias labels tags
|
|
157
|
+
|
|
154
158
|
# Check if method is public.
|
|
155
159
|
#
|
|
156
160
|
# Returns true if method is public.
|
metadata
CHANGED
|
@@ -1,131 +1,111 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tomparse
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
5
|
-
prerelease:
|
|
4
|
+
version: 0.5.0
|
|
6
5
|
platform: ruby
|
|
7
6
|
authors:
|
|
8
|
-
-
|
|
9
|
-
autorequire:
|
|
7
|
+
- Trans
|
|
10
8
|
bindir: bin
|
|
11
9
|
cert_chain: []
|
|
12
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
13
11
|
dependencies:
|
|
14
12
|
- !ruby/object:Gem::Dependency
|
|
15
|
-
name:
|
|
13
|
+
name: rake
|
|
16
14
|
requirement: !ruby/object:Gem::Requirement
|
|
17
|
-
none: false
|
|
18
15
|
requirements:
|
|
19
|
-
- -
|
|
16
|
+
- - ">="
|
|
20
17
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: '
|
|
18
|
+
version: '13'
|
|
22
19
|
type: :development
|
|
23
20
|
prerelease: false
|
|
24
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
-
none: false
|
|
26
22
|
requirements:
|
|
27
|
-
- -
|
|
23
|
+
- - ">="
|
|
28
24
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: '
|
|
25
|
+
version: '13'
|
|
30
26
|
- !ruby/object:Gem::Dependency
|
|
31
|
-
name:
|
|
27
|
+
name: rubytest
|
|
32
28
|
requirement: !ruby/object:Gem::Requirement
|
|
33
|
-
none: false
|
|
34
29
|
requirements:
|
|
35
|
-
- -
|
|
30
|
+
- - ">="
|
|
36
31
|
- !ruby/object:Gem::Version
|
|
37
|
-
version:
|
|
32
|
+
version: 0.11.1
|
|
38
33
|
type: :development
|
|
39
34
|
prerelease: false
|
|
40
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
41
|
-
none: false
|
|
42
36
|
requirements:
|
|
43
|
-
- -
|
|
37
|
+
- - ">="
|
|
44
38
|
- !ruby/object:Gem::Version
|
|
45
|
-
version:
|
|
39
|
+
version: 0.11.1
|
|
46
40
|
- !ruby/object:Gem::Dependency
|
|
47
|
-
name:
|
|
41
|
+
name: spectrum
|
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
|
43
|
+
requirements:
|
|
44
|
+
- - ">="
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: '0.2'
|
|
47
|
+
type: :development
|
|
48
|
+
prerelease: false
|
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - ">="
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: '0.2'
|
|
54
|
+
- !ruby/object:Gem::Dependency
|
|
55
|
+
name: ae
|
|
48
56
|
requirement: !ruby/object:Gem::Requirement
|
|
49
|
-
none: false
|
|
50
57
|
requirements:
|
|
51
|
-
- -
|
|
58
|
+
- - ">="
|
|
52
59
|
- !ruby/object:Gem::Version
|
|
53
|
-
version: '
|
|
60
|
+
version: '1.9'
|
|
54
61
|
type: :development
|
|
55
62
|
prerelease: false
|
|
56
63
|
version_requirements: !ruby/object:Gem::Requirement
|
|
57
|
-
none: false
|
|
58
64
|
requirements:
|
|
59
|
-
- -
|
|
65
|
+
- - ">="
|
|
60
66
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: '
|
|
62
|
-
description:
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
with TomDoc standard.'
|
|
67
|
+
version: '1.9'
|
|
68
|
+
description: TomParse provides no other functionality than to take a code comment
|
|
69
|
+
and parse it in to a convenient object-oriented structure in accordance with TomDoc
|
|
70
|
+
standard.
|
|
67
71
|
email:
|
|
68
72
|
- transfire@gmail.com
|
|
69
73
|
executables: []
|
|
70
74
|
extensions: []
|
|
71
|
-
extra_rdoc_files:
|
|
72
|
-
|
|
75
|
+
extra_rdoc_files: []
|
|
76
|
+
files:
|
|
73
77
|
- HISTORY.md
|
|
78
|
+
- LICENSE.txt
|
|
74
79
|
- README.md
|
|
75
|
-
|
|
76
|
-
- .index
|
|
77
|
-
- .yardopts
|
|
80
|
+
- lib/tomparse.rb
|
|
78
81
|
- lib/tomparse/argument.rb
|
|
79
82
|
- lib/tomparse/option.rb
|
|
80
83
|
- lib/tomparse/parse_error.rb
|
|
81
84
|
- lib/tomparse/parser.rb
|
|
82
|
-
- lib/tomparse.rb
|
|
83
|
-
|
|
84
|
-
- test/helper.rb
|
|
85
|
-
- test/test_arguments.rb
|
|
86
|
-
- test/test_description.rb
|
|
87
|
-
- test/test_examples.rb
|
|
88
|
-
- test/test_prefixes.rb
|
|
89
|
-
- test/test_signatures.rb
|
|
90
|
-
- test/test_tags.rb
|
|
91
|
-
- test/test_tomdoc.rb
|
|
92
|
-
- test/test_yields.rb
|
|
93
|
-
- HISTORY.md
|
|
94
|
-
- README.md
|
|
95
|
-
- LICENSE.txt
|
|
96
|
-
homepage: http://rubyworks.github.com/tomparse
|
|
85
|
+
- lib/tomparse/version.rb
|
|
86
|
+
homepage: https://github.com/rubyworks/tomparse
|
|
97
87
|
licenses:
|
|
98
88
|
- BSD-2-Clause
|
|
99
|
-
|
|
89
|
+
metadata:
|
|
90
|
+
source_code_uri: https://github.com/rubyworks/tomparse
|
|
91
|
+
bug_tracker_uri: https://github.com/rubyworks/tomparse/issues
|
|
92
|
+
changelog_uri: https://github.com/rubyworks/tomparse/blob/master/HISTORY.md
|
|
93
|
+
documentation_uri: https://rubydoc.info/gems/tomparse
|
|
100
94
|
rdoc_options: []
|
|
101
95
|
require_paths:
|
|
102
96
|
- lib
|
|
103
97
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
104
|
-
none: false
|
|
105
98
|
requirements:
|
|
106
|
-
- -
|
|
99
|
+
- - ">="
|
|
107
100
|
- !ruby/object:Gem::Version
|
|
108
|
-
version: '
|
|
101
|
+
version: '3.1'
|
|
109
102
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
|
-
none: false
|
|
111
103
|
requirements:
|
|
112
|
-
- -
|
|
104
|
+
- - ">="
|
|
113
105
|
- !ruby/object:Gem::Version
|
|
114
106
|
version: '0'
|
|
115
107
|
requirements: []
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
signing_key:
|
|
119
|
-
specification_version: 3
|
|
108
|
+
rubygems_version: 3.6.9
|
|
109
|
+
specification_version: 4
|
|
120
110
|
summary: TomDoc parser for Ruby
|
|
121
|
-
test_files:
|
|
122
|
-
- test/test_description.rb
|
|
123
|
-
- test/helper.rb
|
|
124
|
-
- test/test_examples.rb
|
|
125
|
-
- test/test_yields.rb
|
|
126
|
-
- test/test_signatures.rb
|
|
127
|
-
- test/test_tags.rb
|
|
128
|
-
- test/test_tomdoc.rb
|
|
129
|
-
- test/test_prefixes.rb
|
|
130
|
-
- test/test_arguments.rb
|
|
131
|
-
has_rdoc:
|
|
111
|
+
test_files: []
|
data/.index
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
revision: 2013
|
|
3
|
-
type: ruby
|
|
4
|
-
sources:
|
|
5
|
-
- var
|
|
6
|
-
authors:
|
|
7
|
-
- name: trans
|
|
8
|
-
email: transfire@gmail.com
|
|
9
|
-
organizations:
|
|
10
|
-
- name: Rubyworks
|
|
11
|
-
website: http://rubyworks.github.com
|
|
12
|
-
requirements:
|
|
13
|
-
- groups:
|
|
14
|
-
- test
|
|
15
|
-
development: true
|
|
16
|
-
name: citron
|
|
17
|
-
- groups:
|
|
18
|
-
- test
|
|
19
|
-
development: true
|
|
20
|
-
name: ae
|
|
21
|
-
- groups:
|
|
22
|
-
- build
|
|
23
|
-
development: true
|
|
24
|
-
name: detroit
|
|
25
|
-
conflicts: []
|
|
26
|
-
alternatives: []
|
|
27
|
-
resources:
|
|
28
|
-
- type: home
|
|
29
|
-
uri: http://rubyworks.github.com/tomparse
|
|
30
|
-
label: Homepage
|
|
31
|
-
- type: code
|
|
32
|
-
uri: http://github.com/rubyworks/tomparse
|
|
33
|
-
label: Source Code
|
|
34
|
-
- type: api
|
|
35
|
-
uri: http://rubydoc.info/gems/tomparse/frames
|
|
36
|
-
label: API Guide
|
|
37
|
-
- type: mail
|
|
38
|
-
uri: http://groups.google.com/group/rubyworks-mailinglist
|
|
39
|
-
label: Mailing List
|
|
40
|
-
- type: chat
|
|
41
|
-
uri: http://chat.us.freenode.net/rubyworks
|
|
42
|
-
label: IRC Channel
|
|
43
|
-
repositories:
|
|
44
|
-
- name: upstream
|
|
45
|
-
scm: git
|
|
46
|
-
uri: http://github.com/rubyworks/tomparse/tomparse.git
|
|
47
|
-
categories:
|
|
48
|
-
- documentation
|
|
49
|
-
copyrights:
|
|
50
|
-
- holder: Rubyworks
|
|
51
|
-
year: '2012'
|
|
52
|
-
license: BSD-2-Clause
|
|
53
|
-
customs: []
|
|
54
|
-
paths:
|
|
55
|
-
lib:
|
|
56
|
-
- lib
|
|
57
|
-
created: '2012-03-04'
|
|
58
|
-
summary: TomDoc parser for Ruby
|
|
59
|
-
title: TomParse
|
|
60
|
-
version: 0.4.2
|
|
61
|
-
name: tomparse
|
|
62
|
-
description: ! 'TomParse provides no other functionality than to take a code comment
|
|
63
|
-
|
|
64
|
-
and parse it in to a convenient object-oriented structure in accordance
|
|
65
|
-
|
|
66
|
-
with TomDoc standard.'
|
|
67
|
-
date: '2013-02-15'
|
data/.yardopts
DELETED
data/lib/tomparse.yml
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
revision: 2013
|
|
3
|
-
type: ruby
|
|
4
|
-
sources:
|
|
5
|
-
- var
|
|
6
|
-
authors:
|
|
7
|
-
- name: trans
|
|
8
|
-
email: transfire@gmail.com
|
|
9
|
-
organizations:
|
|
10
|
-
- name: Rubyworks
|
|
11
|
-
website: http://rubyworks.github.com
|
|
12
|
-
requirements:
|
|
13
|
-
- groups:
|
|
14
|
-
- test
|
|
15
|
-
development: true
|
|
16
|
-
name: citron
|
|
17
|
-
- groups:
|
|
18
|
-
- test
|
|
19
|
-
development: true
|
|
20
|
-
name: ae
|
|
21
|
-
- groups:
|
|
22
|
-
- build
|
|
23
|
-
development: true
|
|
24
|
-
name: detroit
|
|
25
|
-
conflicts: []
|
|
26
|
-
alternatives: []
|
|
27
|
-
resources:
|
|
28
|
-
- type: home
|
|
29
|
-
uri: http://rubyworks.github.com/tomparse
|
|
30
|
-
label: Homepage
|
|
31
|
-
- type: code
|
|
32
|
-
uri: http://github.com/rubyworks/tomparse
|
|
33
|
-
label: Source Code
|
|
34
|
-
- type: api
|
|
35
|
-
uri: http://rubydoc.info/gems/tomparse/frames
|
|
36
|
-
label: API Guide
|
|
37
|
-
- type: mail
|
|
38
|
-
uri: http://groups.google.com/group/rubyworks-mailinglist
|
|
39
|
-
label: Mailing List
|
|
40
|
-
- type: chat
|
|
41
|
-
uri: http://chat.us.freenode.net/rubyworks
|
|
42
|
-
label: IRC Channel
|
|
43
|
-
repositories:
|
|
44
|
-
- name: upstream
|
|
45
|
-
scm: git
|
|
46
|
-
uri: http://github.com/rubyworks/tomparse/tomparse.git
|
|
47
|
-
categories:
|
|
48
|
-
- documentation
|
|
49
|
-
copyrights:
|
|
50
|
-
- holder: Rubyworks
|
|
51
|
-
year: '2012'
|
|
52
|
-
license: BSD-2-Clause
|
|
53
|
-
customs: []
|
|
54
|
-
paths:
|
|
55
|
-
lib:
|
|
56
|
-
- lib
|
|
57
|
-
created: '2012-03-04'
|
|
58
|
-
summary: TomDoc parser for Ruby
|
|
59
|
-
title: TomParse
|
|
60
|
-
version: 0.4.2
|
|
61
|
-
name: tomparse
|
|
62
|
-
description: ! 'TomParse provides no other functionality than to take a code comment
|
|
63
|
-
|
|
64
|
-
and parse it in to a convenient object-oriented structure in accordance
|
|
65
|
-
|
|
66
|
-
with TomDoc standard.'
|
|
67
|
-
date: '2013-02-15'
|