dnote 1.4.0 → 1.6.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.
@@ -1,44 +1,44 @@
1
1
  require 'dnote/notes'
2
2
 
3
- Case DNote::Notes do
3
+ testcase DNote::Notes do
4
4
 
5
- Concern "Coverage of DNote::Notes class."
5
+ concern "Coverage of DNote::Notes class."
6
6
 
7
- Unit :labels => 'returns the list of labels' do
7
+ unit :labels => 'returns the list of labels' do
8
8
  notes = DNote::Notes.new([], :labels=>['TODO'])
9
9
  notes.labels.assert == ['TODO'] #DNote::Notes::DEFAULT_LABELS
10
10
  end
11
11
 
12
- Unit :files => 'returns the files attribute' do
12
+ unit :files => 'returns the files attribute' do
13
13
  notes = DNote::Notes.new(["example1.rb"])
14
14
  notes.assert.files == ["example1.rb"]
15
15
  notes = DNote::Notes.new([], :paths => ["example2.rb"])
16
16
  notes.assert.files == ["example2.rb"]
17
17
  end
18
18
 
19
- Unit :files= => 'changes the paths attribute' do
19
+ unit :files= => 'changes the paths attribute' do
20
20
  notes = DNote::Notes.new([])
21
21
  notes.files = ["example1.rb"]
22
22
  notes.assert.files == ["example1.rb"]
23
23
  end
24
24
 
25
- Unit :match_general => '' do
25
+ unit :match_general => '' do
26
26
  notes = DNote::Notes.new([])
27
27
  line, lineno, file = "# TODO: Do something or another!", 1, "foo.rb"
28
28
  rec = notes.match_general(line, lineno, file)
29
29
  rec.to_h.assert == {'label'=>"TODO",'file'=>file,'line'=>lineno,'text'=>"Do something or another!"}
30
30
  end
31
31
 
32
- Unit :match_specail => '' do
32
+ unit :match_special => '' do
33
33
  notes = DNote::Notes.new([], :labels=>['TODO'])
34
34
  line, lineno, file = "# TODO: Do something or another!", 1, "foo.rb"
35
35
  rec = notes.match_special(line, lineno, file)
36
36
  rec.to_h.assert == {'label'=>"TODO",'file'=>file,'line'=>lineno,'text'=>"Do something or another!"}
37
37
  end
38
38
 
39
- Unit :counts
40
- Unit :notes
41
- Unit :parse
39
+ unit :counts
40
+ unit :notes
41
+ unit :parse
42
42
 
43
43
  end
44
44
 
File without changes
File without changes
File without changes
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dnote
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 15
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
- - 4
8
+ - 6
9
9
  - 0
10
- version: 1.4.0
10
+ version: 1.6.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Thomas Sawyer
@@ -15,11 +15,11 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-06-26 00:00:00 -04:00
18
+ date: 2011-05-17 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- name: syckle
22
+ name: lemon
23
23
  prerelease: false
24
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
25
  none: false
@@ -33,7 +33,7 @@ dependencies:
33
33
  type: :development
34
34
  version_requirements: *id001
35
35
  - !ruby/object:Gem::Dependency
36
- name: lemon
36
+ name: redline
37
37
  prerelease: false
38
38
  requirement: &id002 !ruby/object:Gem::Requirement
39
39
  none: false
@@ -46,7 +46,21 @@ dependencies:
46
46
  version: "0"
47
47
  type: :development
48
48
  version_requirements: *id002
49
- description: Dnote makes it easy to extract developer's notes from source code, and supports almost any language.
49
+ - !ruby/object:Gem::Dependency
50
+ name: reap
51
+ prerelease: false
52
+ requirement: &id003 !ruby/object:Gem::Requirement
53
+ none: false
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ hash: 3
58
+ segments:
59
+ - 0
60
+ version: "0"
61
+ type: :development
62
+ version_requirements: *id003
63
+ description: DNote makes it easy to extract developer's notes from source code, and supports almost any language.
50
64
  email: transfire@gmail.com
51
65
  executables:
52
66
  - dnote
@@ -55,15 +69,12 @@ extensions: []
55
69
  extra_rdoc_files:
56
70
  - README.rdoc
57
71
  files:
72
+ - .ruby
58
73
  - bin/dnote
59
- - demo/sample.bas
60
- - demo/sample.js
61
- - demo/sample.rb
62
74
  - lib/dnote/core_ext.rb
63
75
  - lib/dnote/format.rb
64
76
  - lib/dnote/note.rb
65
77
  - lib/dnote/notes.rb
66
- - lib/dnote/profile.yml
67
78
  - lib/dnote/session.rb
68
79
  - lib/dnote/string.rb
69
80
  - lib/dnote/templates/html/file.erb
@@ -102,19 +113,19 @@ files:
102
113
  - lib/dnote/templates/yaml/label.erb
103
114
  - lib/dnote/templates/yaml/list.erb
104
115
  - lib/dnote/templates/yaml.erb
105
- - lib/dnote/version.yml
116
+ - lib/dnote/version.rb
106
117
  - lib/dnote.rb
107
118
  - lib/plugins/rake/task.rb
108
- - lib/plugins/syckle/dnote.rb
119
+ - lib/plugins/redline/dnote.rb
109
120
  - test/notes_case.rb
110
- - PROFILE
111
- - LICENSE
121
+ - try/sample.bas
122
+ - try/sample.js
123
+ - try/sample.rb
124
+ - HISTORY.rdoc
125
+ - APACHE2.txt
112
126
  - README.rdoc
113
- - HISTORY
114
- - REQUIRE
115
- - VERSION
116
127
  has_rdoc: true
117
- homepage: http://proutils.github.com/dnote
128
+ homepage: http://rubyworks.github.com/dnote
118
129
  licenses: []
119
130
 
120
131
  post_install_message:
data/LICENSE DELETED
@@ -1,23 +0,0 @@
1
- The MIT License
2
-
3
- Copyright (c) 2009 Thomas Sawyer
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
22
-
23
-
data/PROFILE DELETED
@@ -1,23 +0,0 @@
1
- ---
2
- title : DNote
3
- suite : proutils
4
- summary: Extract developer's notes from source code
5
- contact: trans <transfire@gmail.com>
6
- created: 2009-10-09
7
- authors: Thomas Sawyer
8
-
9
- description:
10
- Dnote makes it easy to extract developer's
11
- notes from source code, and supports almost
12
- any language.
13
-
14
- resources:
15
- home: http://proutils.github.com/dnote
16
- code: http://github.com/proutils/dnote
17
- wiki: http://wiki.github.com/proutils/dnote
18
- api : http://proutils.github.com/dnote/rdoc
19
- mail: http://groups.google.com/group/proutils
20
- repo: git://github.com/proutils/dnote.git
21
-
22
- copyright: Copyright (c) 2009 Thomas Sawyer
23
-
data/REQUIRE DELETED
@@ -1,6 +0,0 @@
1
- development:
2
- - syckle
3
-
4
- development/test:
5
- - lemon
6
-
data/VERSION DELETED
@@ -1,5 +0,0 @@
1
- name : dnote
2
- major: 1
3
- minor: 4
4
- patch: 0
5
- date : 2010-06-26
@@ -1,23 +0,0 @@
1
- ---
2
- title : DNote
3
- suite : proutils
4
- summary: Extract developer's notes from source code
5
- contact: trans <transfire@gmail.com>
6
- created: 2009-10-09
7
- authors: Thomas Sawyer
8
-
9
- description:
10
- Dnote makes it easy to extract developer's
11
- notes from source code, and supports almost
12
- any language.
13
-
14
- resources:
15
- home: http://proutils.github.com/dnote
16
- code: http://github.com/proutils/dnote
17
- wiki: http://wiki.github.com/proutils/dnote
18
- api : http://proutils.github.com/dnote/rdoc
19
- mail: http://groups.google.com/group/proutils
20
- repo: git://github.com/proutils/dnote.git
21
-
22
- copyright: Copyright (c) 2009 Thomas Sawyer
23
-
@@ -1,5 +0,0 @@
1
- name : dnote
2
- major: 1
3
- minor: 4
4
- patch: 0
5
- date : 2010-06-26