detroit-dnote 0.1.0 → 0.2.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.
- data/.ruby +14 -10
- data/{GPL3.txt → LICENSE.txt} +2 -2
- data/NOTICE.rdoc +21 -0
- data/README.rdoc +19 -7
- data/lib/detroit-dnote.rb +37 -23
- metadata +16 -15
- data/COPYING.rdoc +0 -23
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,27 +8,29 @@ copyrights:
|
|
|
6
8
|
- holder: Thomas Sawyer, Rubyworks
|
|
7
9
|
year: '2011'
|
|
8
10
|
license: GPL3
|
|
9
|
-
replacements: []
|
|
10
|
-
conflicts: []
|
|
11
11
|
requirements:
|
|
12
|
-
- name: dnote
|
|
13
12
|
- name: detroit
|
|
13
|
+
version: 0.3.0+
|
|
14
|
+
- name: dnote
|
|
14
15
|
dependencies: []
|
|
16
|
+
alternatives: []
|
|
17
|
+
conflicts: []
|
|
15
18
|
repositories: []
|
|
16
19
|
resources:
|
|
17
20
|
home: http://detroit.github.com
|
|
18
21
|
code: http://github.com/detroit/detroit-dnote
|
|
19
22
|
mail: http://groups.google.com/group/rubyworks-mailinglist
|
|
23
|
+
extra: {}
|
|
20
24
|
load_path:
|
|
21
25
|
- lib
|
|
22
|
-
extra: {}
|
|
23
26
|
revision: 0
|
|
24
|
-
|
|
25
|
-
source: []
|
|
26
|
-
alternatives: []
|
|
27
|
-
title: Detroit DNote
|
|
28
|
-
version: 0.1.0
|
|
27
|
+
created: '2011-10-16'
|
|
29
28
|
summary: DNote plugin for Detroit
|
|
29
|
+
title: Detroit DNote
|
|
30
|
+
version: 0.2.0
|
|
31
|
+
name: detroit-dnote
|
|
32
|
+
suite: detroit
|
|
30
33
|
description: DNote plugin for Detroit build system. Extract devleoper's notes from
|
|
31
34
|
source in documentation phase.
|
|
32
|
-
|
|
35
|
+
organization: rubyworks
|
|
36
|
+
date: '2012-04-01'
|
data/{GPL3.txt → LICENSE.txt}
RENAMED
data/NOTICE.rdoc
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
= COPYRIGHT NOTICES
|
|
2
|
+
|
|
3
|
+
== Detroit DNote
|
|
4
|
+
|
|
5
|
+
Copyright (c) 2011 Rubyworks
|
|
6
|
+
|
|
7
|
+
This program is free software: you can redistribute it and/or modify
|
|
8
|
+
it under the terms of the GNU General Public License as published by
|
|
9
|
+
the Free Software Foundation, either version 3 of the License, or
|
|
10
|
+
(at your option) any later version.
|
|
11
|
+
|
|
12
|
+
This program is distributed in the hope that it will be useful,
|
|
13
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
GNU General Public License for more details.
|
|
16
|
+
|
|
17
|
+
You should have received a copy of the GNU General Public License
|
|
18
|
+
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
19
|
+
|
|
20
|
+
(http://detroit.github.com)
|
|
21
|
+
|
data/README.rdoc
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
= Detroit DNote Tool
|
|
2
2
|
|
|
3
|
+
{Website}[http://rubyworks.github.com/detroit-dnote] /
|
|
4
|
+
{Report Issue}[http://github.com/rubyworks/detroit-dnote/issues] /
|
|
5
|
+
{Repository}[http://github.com/rubyworks/detroit-dnote]
|
|
3
6
|
|
|
4
|
-
|
|
7
|
+
|
|
8
|
+
== Description
|
|
5
9
|
|
|
6
10
|
The Developer's Notes tool goes through you source files
|
|
7
11
|
and compiles a list of any labeled comments. Labels are
|
|
@@ -16,19 +20,27 @@ XML, Markdown and RDoc's simple markup format.
|
|
|
16
20
|
See http://rubyworks.github.com/dnote for more information.
|
|
17
21
|
|
|
18
22
|
|
|
19
|
-
==
|
|
23
|
+
== Installation
|
|
20
24
|
|
|
21
25
|
Per the usual gem install process:
|
|
22
26
|
|
|
23
27
|
$ gem install detroit-dnote
|
|
24
28
|
|
|
25
29
|
|
|
26
|
-
==
|
|
30
|
+
== Copyrights
|
|
27
31
|
|
|
28
|
-
Copyright (c) 2011
|
|
32
|
+
Copyright (c) 2011 Rubyworks
|
|
29
33
|
|
|
30
|
-
|
|
31
|
-
|
|
34
|
+
This program is free software: you can redistribute it and/or modify
|
|
35
|
+
it under the terms of the GNU General Public License as published by
|
|
36
|
+
the Free Software Foundation, either version 3 of the License, or
|
|
37
|
+
(at your option) any later version.
|
|
32
38
|
|
|
33
|
-
|
|
39
|
+
This program is distributed in the hope that it will be useful,
|
|
40
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
41
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
42
|
+
GNU General Public License for more details.
|
|
43
|
+
|
|
44
|
+
You should have received a copy of the GNU General Public License
|
|
45
|
+
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
34
46
|
|
data/lib/detroit-dnote.rb
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
require 'detroit/tool'
|
|
2
|
-
|
|
3
1
|
module Detroit
|
|
4
2
|
|
|
5
|
-
|
|
6
|
-
def DNote(options={})
|
|
7
|
-
DNote.new(options)
|
|
8
|
-
end
|
|
3
|
+
require 'detroit/tool'
|
|
9
4
|
|
|
10
5
|
# The Developmer's Notes tool goes through source files
|
|
11
6
|
# and compiles a list of any labeled comments. Labels are
|
|
@@ -16,8 +11,8 @@ module Detroit
|
|
|
16
11
|
#
|
|
17
12
|
class DNote < Tool
|
|
18
13
|
|
|
19
|
-
# not that this is necessary, but ...
|
|
20
|
-
# def self.available(project)
|
|
14
|
+
# not that this is not necessary, but ...
|
|
15
|
+
# def self.available?(project)
|
|
21
16
|
# begin
|
|
22
17
|
# require 'dnote'
|
|
23
18
|
# require 'dnote/format'
|
|
@@ -117,29 +112,33 @@ module Detroit
|
|
|
117
112
|
end
|
|
118
113
|
end
|
|
119
114
|
|
|
120
|
-
#
|
|
121
|
-
|
|
122
|
-
# Attach document method to assembly station.
|
|
123
|
-
def station_document
|
|
124
|
-
document
|
|
125
|
-
end
|
|
115
|
+
# A S S E M B L Y M E T H O D S
|
|
126
116
|
|
|
127
|
-
#
|
|
128
|
-
def
|
|
129
|
-
|
|
117
|
+
#
|
|
118
|
+
def assemble?(station, options={})
|
|
119
|
+
case station
|
|
120
|
+
when :document then true
|
|
121
|
+
when :reset then true
|
|
122
|
+
when :purge then true
|
|
123
|
+
end
|
|
130
124
|
end
|
|
131
125
|
|
|
132
|
-
#
|
|
133
|
-
def
|
|
134
|
-
|
|
126
|
+
#
|
|
127
|
+
def assemble(station, options={})
|
|
128
|
+
case station
|
|
129
|
+
when :document then document
|
|
130
|
+
when :reset then reset
|
|
131
|
+
when :purge then purge
|
|
132
|
+
end
|
|
135
133
|
end
|
|
136
134
|
|
|
137
135
|
private
|
|
138
136
|
|
|
139
|
-
# Convert output into a hash of `file => format`.
|
|
140
|
-
#++
|
|
141
137
|
# TODO: apply_naming_policy ?
|
|
142
|
-
|
|
138
|
+
|
|
139
|
+
#
|
|
140
|
+
# Convert output into a hash of `file => format`.
|
|
141
|
+
#
|
|
143
142
|
def output_mapping
|
|
144
143
|
@output_mapping ||= (
|
|
145
144
|
hash = {}
|
|
@@ -199,3 +198,18 @@ module Detroit
|
|
|
199
198
|
end
|
|
200
199
|
|
|
201
200
|
end
|
|
201
|
+
|
|
202
|
+
# Copyright (c) 2011 Rubyworks
|
|
203
|
+
#
|
|
204
|
+
# This program is free software: you can redistribute it and/or modify
|
|
205
|
+
# it under the terms of the GNU General Public License as published by
|
|
206
|
+
# the Free Software Foundation, either version 3 of the License, or
|
|
207
|
+
# (at your option) any later version.
|
|
208
|
+
#
|
|
209
|
+
# This program is distributed in the hope that it will be useful,
|
|
210
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
211
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
212
|
+
# GNU General Public License for more details.
|
|
213
|
+
#
|
|
214
|
+
# You should have received a copy of the GNU General Public License
|
|
215
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: detroit-dnote
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,22 +9,22 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2012-04-02 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
|
-
name:
|
|
16
|
-
requirement: &
|
|
15
|
+
name: detroit
|
|
16
|
+
requirement: &29283640 !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ! '>='
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version:
|
|
21
|
+
version: 0.3.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements: *
|
|
24
|
+
version_requirements: *29283640
|
|
25
25
|
- !ruby/object:Gem::Dependency
|
|
26
|
-
name:
|
|
27
|
-
requirement: &
|
|
26
|
+
name: dnote
|
|
27
|
+
requirement: &29276460 !ruby/object:Gem::Requirement
|
|
28
28
|
none: false
|
|
29
29
|
requirements:
|
|
30
30
|
- - ! '>='
|
|
@@ -32,7 +32,7 @@ dependencies:
|
|
|
32
32
|
version: '0'
|
|
33
33
|
type: :runtime
|
|
34
34
|
prerelease: false
|
|
35
|
-
version_requirements: *
|
|
35
|
+
version_requirements: *29276460
|
|
36
36
|
description: DNote plugin for Detroit build system. Extract devleoper's notes from
|
|
37
37
|
source in documentation phase.
|
|
38
38
|
email:
|
|
@@ -40,20 +40,21 @@ email:
|
|
|
40
40
|
executables: []
|
|
41
41
|
extensions: []
|
|
42
42
|
extra_rdoc_files:
|
|
43
|
-
-
|
|
43
|
+
- LICENSE.txt
|
|
44
44
|
- README.rdoc
|
|
45
|
-
-
|
|
45
|
+
- NOTICE.rdoc
|
|
46
46
|
files:
|
|
47
47
|
- .ruby
|
|
48
48
|
- lib/detroit-dnote.rb
|
|
49
49
|
- man/detroit-dnote.5
|
|
50
50
|
- man/detroit-dnote.5.html
|
|
51
51
|
- man/detroit-dnote.5.ronn
|
|
52
|
+
- LICENSE.txt
|
|
52
53
|
- README.rdoc
|
|
53
|
-
-
|
|
54
|
-
- COPYING.rdoc
|
|
54
|
+
- NOTICE.rdoc
|
|
55
55
|
homepage: http://detroit.github.com
|
|
56
|
-
licenses:
|
|
56
|
+
licenses:
|
|
57
|
+
- GPL3
|
|
57
58
|
post_install_message:
|
|
58
59
|
rdoc_options: []
|
|
59
60
|
require_paths:
|
|
@@ -72,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
72
73
|
version: '0'
|
|
73
74
|
requirements: []
|
|
74
75
|
rubyforge_project:
|
|
75
|
-
rubygems_version: 1.8.
|
|
76
|
+
rubygems_version: 1.8.11
|
|
76
77
|
signing_key:
|
|
77
78
|
specification_version: 3
|
|
78
79
|
summary: DNote plugin for Detroit
|
data/COPYING.rdoc
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
= COPYRIGHT NOTICES
|
|
2
|
-
|
|
3
|
-
== Detroit DNote
|
|
4
|
-
|
|
5
|
-
Copyright:: (c) 2011 Thomas Sawyer, Rubyworks
|
|
6
|
-
License:: GPL-3
|
|
7
|
-
Website:: http://detroit.github.com
|
|
8
|
-
|
|
9
|
-
Copyright (c) 2011 Thomas Sawyer
|
|
10
|
-
|
|
11
|
-
This program is free software: you can redistribute it and/or modify
|
|
12
|
-
it under the terms of the GNU General Public License as published by
|
|
13
|
-
the Free Software Foundation, either version 3 of the License, or
|
|
14
|
-
(at your option) any later version.
|
|
15
|
-
|
|
16
|
-
This program is distributed in the hope that it will be useful,
|
|
17
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
-
GNU General Public License for more details.
|
|
20
|
-
|
|
21
|
-
You should have received a copy of the GNU General Public License
|
|
22
|
-
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
-
|