docbook_files 0.5.0 → 1.0.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/.gitignore +8 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +41 -27
- data/History.txt +6 -0
- data/README.md +22 -22
- data/Rakefile +1 -1
- data/version.txt +1 -1
- metadata +51 -20
data/.gitignore
ADDED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,44 +1,58 @@
|
|
|
1
1
|
GEM
|
|
2
2
|
remote: http://rubygems.org/
|
|
3
3
|
specs:
|
|
4
|
-
bones (3.
|
|
5
|
-
little-plugger (
|
|
6
|
-
loquacious (
|
|
4
|
+
bones (3.8.0)
|
|
5
|
+
little-plugger (~> 1.1.3)
|
|
6
|
+
loquacious (~> 1.9.1)
|
|
7
7
|
rake (>= 0.8.7)
|
|
8
|
+
coderay (1.0.8)
|
|
8
9
|
diff-lcs (1.1.3)
|
|
9
|
-
ffi (1.0
|
|
10
|
+
ffi (1.2.0)
|
|
10
11
|
growl_notify (0.0.3)
|
|
11
12
|
rb-appscript
|
|
12
|
-
guard (
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
guard (1.6.0)
|
|
14
|
+
listen (>= 0.6.0)
|
|
15
|
+
lumberjack (>= 1.0.2)
|
|
16
|
+
pry (>= 0.9.10)
|
|
17
|
+
thor (>= 0.14.6)
|
|
18
|
+
guard-rspec (2.3.3)
|
|
19
|
+
guard (>= 1.1)
|
|
20
|
+
rspec (~> 2.11)
|
|
21
|
+
json (1.7.5)
|
|
22
|
+
libnotify (0.8.0)
|
|
23
|
+
ffi (>= 1.0.11)
|
|
18
24
|
libxml-ruby (2.2.2)
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
25
|
+
listen (0.6.0)
|
|
26
|
+
little-plugger (1.1.3)
|
|
27
|
+
loquacious (1.9.1)
|
|
28
|
+
lumberjack (1.0.2)
|
|
29
|
+
method_source (0.8.1)
|
|
30
|
+
mime-types (1.19)
|
|
31
|
+
pry (0.9.10)
|
|
32
|
+
coderay (~> 1.0.5)
|
|
33
|
+
method_source (~> 0.8)
|
|
34
|
+
slop (~> 3.3.1)
|
|
35
|
+
rake (10.0.3)
|
|
23
36
|
rb-appscript (0.6.1)
|
|
24
|
-
rb-fsevent (0.
|
|
37
|
+
rb-fsevent (0.9.2)
|
|
25
38
|
rb-inotify (0.8.8)
|
|
26
39
|
ffi (>= 0.5.0)
|
|
27
|
-
rspec (2.
|
|
28
|
-
rspec-core (~> 2.
|
|
29
|
-
rspec-expectations (~> 2.
|
|
30
|
-
rspec-mocks (~> 2.
|
|
31
|
-
rspec-core (2.
|
|
32
|
-
rspec-expectations (2.
|
|
33
|
-
diff-lcs (~> 1.1.
|
|
34
|
-
rspec-mocks (2.
|
|
35
|
-
safe_shell (1.0.
|
|
40
|
+
rspec (2.12.0)
|
|
41
|
+
rspec-core (~> 2.12.0)
|
|
42
|
+
rspec-expectations (~> 2.12.0)
|
|
43
|
+
rspec-mocks (~> 2.12.0)
|
|
44
|
+
rspec-core (2.12.2)
|
|
45
|
+
rspec-expectations (2.12.1)
|
|
46
|
+
diff-lcs (~> 1.1.3)
|
|
47
|
+
rspec-mocks (2.12.1)
|
|
48
|
+
safe_shell (1.0.2)
|
|
49
|
+
slop (3.3.3)
|
|
36
50
|
term-ansicolor (1.0.7)
|
|
37
|
-
thor (0.
|
|
51
|
+
thor (0.16.0)
|
|
38
52
|
wand (0.4)
|
|
39
53
|
mime-types
|
|
40
54
|
safe_shell (~> 1.0.0)
|
|
41
|
-
zucker (
|
|
55
|
+
zucker (12.1)
|
|
42
56
|
|
|
43
57
|
PLATFORMS
|
|
44
58
|
ruby
|
|
@@ -50,7 +64,7 @@ DEPENDENCIES
|
|
|
50
64
|
guard-rspec
|
|
51
65
|
json
|
|
52
66
|
libnotify
|
|
53
|
-
libxml-ruby
|
|
67
|
+
libxml-ruby (~> 2.2.2)
|
|
54
68
|
rb-fsevent
|
|
55
69
|
rb-inotify
|
|
56
70
|
rspec
|
data/History.txt
CHANGED
data/README.md
CHANGED
|
@@ -32,30 +32,30 @@ If you don't like the screen output or want to integrate docbook_file into a cer
|
|
|
32
32
|
The result is printed to STDOUT. The structure returned is equivalent to the normal terminal output, except that you always get the details.
|
|
33
33
|
|
|
34
34
|
* hierarchy - an array of entries for each step in the file hierarchy
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
35
|
+
* type - file type (main, inc-luded, or ref-erenced)
|
|
36
|
+
* name - file name
|
|
37
|
+
* path - path relative to the main file
|
|
38
|
+
* status - error status: 0 = ok, 1 = file not found, 2 = processing error (see error_string)
|
|
39
|
+
* size - file size in bytes
|
|
40
|
+
* level - the level in the file hierarchy, starting with 0
|
|
41
41
|
|
|
42
42
|
* details - an array of entries for each file used in the hierarchy
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
43
|
+
* name - file name
|
|
44
|
+
* path - path relative to the main file
|
|
45
|
+
* status - error status: 0 = ok, 1 = file not found, 2 = processing error (see error_string)
|
|
46
|
+
* error_string - contains an error message, if status > 0
|
|
47
|
+
* namespace - XML namespace, if applicable
|
|
48
|
+
* version - XML version attribute, if applicable
|
|
49
|
+
* docbook - true for DocBook 5 files, else false
|
|
50
|
+
* tag - start tag for XML files (chapter, book, article ...)
|
|
51
|
+
* ts - file modification time
|
|
52
|
+
* size - file size in byte
|
|
53
|
+
* checksum - SHA1 checksum
|
|
54
|
+
* mime - MIME type
|
|
55
|
+
* includes - files that are included by this file, an array of file names
|
|
56
|
+
* included_by - files that include this file, an array of file names
|
|
57
|
+
* references - files that are referenced by this file, an array of file names
|
|
58
|
+
* referenced_by - files that reference this file, an array of file names
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
Requirements
|
data/Rakefile
CHANGED
|
@@ -15,7 +15,7 @@ Bones {
|
|
|
15
15
|
name 'docbook_files'
|
|
16
16
|
authors 'Rainer Volz'
|
|
17
17
|
email 'dev@textmulch.de'
|
|
18
|
-
url 'http://
|
|
18
|
+
url 'http://projekte.textmulch.de/docbook_files/'
|
|
19
19
|
ignore_file '.gitignore'
|
|
20
20
|
exclude << 'dbf-about.org'
|
|
21
21
|
depend_on 'libxml-ruby'
|
data/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
1.0.0
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: docbook_files
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,22 +9,27 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2012-12-23 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: libxml-ruby
|
|
16
|
-
requirement:
|
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ! '>='
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 2.
|
|
21
|
+
version: 2.4.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements:
|
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
+
none: false
|
|
26
|
+
requirements:
|
|
27
|
+
- - ! '>='
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
version: 2.4.0
|
|
25
30
|
- !ruby/object:Gem::Dependency
|
|
26
31
|
name: term-ansicolor
|
|
27
|
-
requirement:
|
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
|
28
33
|
none: false
|
|
29
34
|
requirements:
|
|
30
35
|
- - ! '>='
|
|
@@ -32,10 +37,15 @@ dependencies:
|
|
|
32
37
|
version: 1.0.7
|
|
33
38
|
type: :runtime
|
|
34
39
|
prerelease: false
|
|
35
|
-
version_requirements:
|
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
41
|
+
none: false
|
|
42
|
+
requirements:
|
|
43
|
+
- - ! '>='
|
|
44
|
+
- !ruby/object:Gem::Version
|
|
45
|
+
version: 1.0.7
|
|
36
46
|
- !ruby/object:Gem::Dependency
|
|
37
47
|
name: wand
|
|
38
|
-
requirement:
|
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
|
39
49
|
none: false
|
|
40
50
|
requirements:
|
|
41
51
|
- - ! '>='
|
|
@@ -43,40 +53,60 @@ dependencies:
|
|
|
43
53
|
version: '0.4'
|
|
44
54
|
type: :runtime
|
|
45
55
|
prerelease: false
|
|
46
|
-
version_requirements:
|
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
57
|
+
none: false
|
|
58
|
+
requirements:
|
|
59
|
+
- - ! '>='
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: '0.4'
|
|
47
62
|
- !ruby/object:Gem::Dependency
|
|
48
63
|
name: zucker
|
|
49
|
-
requirement:
|
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
|
50
65
|
none: false
|
|
51
66
|
requirements:
|
|
52
67
|
- - ! '>='
|
|
53
68
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: '
|
|
69
|
+
version: '12.1'
|
|
55
70
|
type: :runtime
|
|
56
71
|
prerelease: false
|
|
57
|
-
version_requirements:
|
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
73
|
+
none: false
|
|
74
|
+
requirements:
|
|
75
|
+
- - ! '>='
|
|
76
|
+
- !ruby/object:Gem::Version
|
|
77
|
+
version: '12.1'
|
|
58
78
|
- !ruby/object:Gem::Dependency
|
|
59
79
|
name: rspec
|
|
60
|
-
requirement:
|
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
|
61
81
|
none: false
|
|
62
82
|
requirements:
|
|
63
83
|
- - ! '>='
|
|
64
84
|
- !ruby/object:Gem::Version
|
|
65
|
-
version: 2.
|
|
85
|
+
version: 2.12.0
|
|
66
86
|
type: :development
|
|
67
87
|
prerelease: false
|
|
68
|
-
version_requirements:
|
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
89
|
+
none: false
|
|
90
|
+
requirements:
|
|
91
|
+
- - ! '>='
|
|
92
|
+
- !ruby/object:Gem::Version
|
|
93
|
+
version: 2.12.0
|
|
69
94
|
- !ruby/object:Gem::Dependency
|
|
70
95
|
name: bones
|
|
71
|
-
requirement:
|
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
|
72
97
|
none: false
|
|
73
98
|
requirements:
|
|
74
99
|
- - ! '>='
|
|
75
100
|
- !ruby/object:Gem::Version
|
|
76
|
-
version: 3.
|
|
101
|
+
version: 3.8.0
|
|
77
102
|
type: :development
|
|
78
103
|
prerelease: false
|
|
79
|
-
version_requirements:
|
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
105
|
+
none: false
|
|
106
|
+
requirements:
|
|
107
|
+
- - ! '>='
|
|
108
|
+
- !ruby/object:Gem::Version
|
|
109
|
+
version: 3.8.0
|
|
80
110
|
description: docbook_files lists and checks all files related to a DocBook writing
|
|
81
111
|
project.
|
|
82
112
|
email: dev@textmulch.de
|
|
@@ -87,6 +117,7 @@ extra_rdoc_files:
|
|
|
87
117
|
- History.txt
|
|
88
118
|
- bin/docbook_files
|
|
89
119
|
files:
|
|
120
|
+
- .gitignore
|
|
90
121
|
- Gemfile
|
|
91
122
|
- Gemfile.lock
|
|
92
123
|
- Guardfile
|
|
@@ -126,7 +157,7 @@ files:
|
|
|
126
157
|
- spec/fixtures/section1xi.xml
|
|
127
158
|
- spec/spec_helper.rb
|
|
128
159
|
- version.txt
|
|
129
|
-
homepage: http://
|
|
160
|
+
homepage: http://projekte.textmulch.de/docbook_files/
|
|
130
161
|
licenses:
|
|
131
162
|
- MIT
|
|
132
163
|
post_install_message: ! '
|
|
@@ -166,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
166
197
|
version: '0'
|
|
167
198
|
requirements: []
|
|
168
199
|
rubyforge_project: docbook_files
|
|
169
|
-
rubygems_version: 1.8.
|
|
200
|
+
rubygems_version: 1.8.24
|
|
170
201
|
signing_key:
|
|
171
202
|
specification_version: 3
|
|
172
203
|
summary: docbook_files lists and checks all files related to a DocBook writing project.
|