wortsammler 1.0.3 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +46 -4
- data/.gitpod.Dockerfile +32 -0
- data/.gitpod.yml +1 -0
- data/.idea/.name +1 -0
- data/.idea/.rakeTasks +7 -0
- data/.idea/202_wortsammler-gem.iml +119 -0
- data/.idea/compiler.xml +22 -0
- data/.idea/encodings.xml +6 -0
- data/.idea/inspectionProfiles/profiles_settings.xml +7 -0
- data/.idea/misc.xml +4 -0
- data/.idea/modules.xml +9 -0
- data/.idea/vcs.xml +7 -0
- data/Gemfile +1 -0
- data/README.md +25 -28
- data/Rakefile +3 -3
- data/changelog.md +17 -1
- data/lib/wortsammler.rb +61 -54
- data/lib/wortsammler/class.Traceable.md.rb +9 -7
- data/lib/wortsammler/class.Traceable.rb +74 -60
- data/lib/wortsammler/class.proolib.rb +1102 -982
- data/lib/wortsammler/mdTraceParser.treetop +2 -2
- data/lib/wortsammler/version.rb +1 -1
- data/resources/default.wortsammler.latex +4 -3
- data/resources/main.md +1 -1
- data/resources/pandocdefault.docx +0 -0
- data/resources/pandocdefault.epub +70 -0
- data/resources/pandocdefault.html +73 -0
- data/resources/pandocdefault.latex +403 -0
- data/resources/sample_the-sample-document.yaml +27 -1
- data/spec/TC_EXP_001.md +2 -1
- data/spec/Zupfnoter.jpg +0 -0
- data/spec/tc_exp_003_reference.txt +14 -29
- data/spec/test_beautify.md +13 -1
- data/spec/test_beautify_reference.md +17 -3
- data/spec/test_mkindex_reference.txt +9 -38
- data/spec/test_slides.md +38 -0
- data/spec/wortsammler_spec.rb +186 -150
- data/testproject.xx/30_Sources/001_Main/main.md +273 -0
- data/testproject.xx/30_Sources/900_snippets/snippets.xlsx +0 -0
- data/testproject.xx/30_Sources/ZGEN_Documents/RS_Main_compact.docx +0 -0
- data/testproject.xx/30_Sources/ZGEN_Documents/RS_Main_compact.html +145 -0
- data/testproject.xx/30_Sources/ZGEN_Documents/RS_Main_compact.latex +416 -0
- data/testproject.xx/30_Sources/ZGEN_Documents/RS_Main_compact.pdf +0 -0
- data/testproject.xx/30_Sources/ZGEN_Documents/RS_Main_folien.beamer.pdf +0 -0
- data/testproject.xx/30_Sources/ZGEN_Documents/RS_Main_folien.docx +0 -0
- data/testproject.xx/30_Sources/ZGEN_Documents/RS_Main_folien.html +145 -0
- data/testproject.xx/30_Sources/ZGEN_Documents/RS_Main_folien.latex +416 -0
- data/testproject.xx/30_Sources/ZGEN_Documents/RS_Main_folien.pdf +0 -0
- data/testproject.xx/30_Sources/ZGEN_Documents/RS_Main_mieter.docx +0 -0
- data/testproject.xx/30_Sources/ZGEN_Documents/RS_Main_mieter.html +145 -0
- data/testproject.xx/30_Sources/ZGEN_Documents/RS_Main_mieter.latex +416 -0
- data/testproject.xx/30_Sources/ZGEN_Documents/RS_Main_mieter.pdf +0 -0
- data/testproject.xx/30_Sources/ZGEN_Documents/RS_Main_review.latex +582 -0
- data/testproject.xx/30_Sources/ZGEN_Documents/RS_Main_review.pdf +0 -0
- data/testproject.xx/30_Sources/ZGEN_RequirementsTracing/RS_Main.traces.md +56 -0
- data/testproject.xx/30_Sources/ZGEN_RequirementsTracing/ZGEN_Reqtrace.graphml +119 -0
- data/testproject.xx/30_Sources/ZGEN_RequirementsTracing/ZGEN_Reqtrace.md +50 -0
- data/testproject.xx/30_Sources/ZGEN_RequirementsTracing/ZGEN_ReqtraceCompare.txt +52 -0
- data/testproject.xx/30_Sources/ZSUPP_Manifests/sample_the-sample-document.yaml +79 -0
- data/testproject.xx/30_Sources/ZSUPP_Styles/default.wortsammler.latex +321 -0
- data/testproject.xx/30_Sources/ZSUPP_Styles/logo.jpg +0 -0
- data/testproject.xx/30_Sources/ZSUPP_Tools/rakefile.rb +5 -0
- data/testresults/wortsammler_testresults.html +49 -466
- data/uninstall-pandoc.pl +79 -0
- data/wortsammler.gemspec +7 -4
- metadata +84 -14
- data/testresults/wortsammler_testresults.log +0 -325
- data/wortsammler-gem.sublime-project +0 -8
data/uninstall-pandoc.pl
ADDED
@@ -0,0 +1,79 @@
|
|
1
|
+
#!/usr/bin/perl
|
2
|
+
|
3
|
+
# Script to remove all files installed by the OSX pandoc installer
|
4
|
+
# and unregister the package. Modified from a script contributed
|
5
|
+
# by Daniel T. Staal.
|
6
|
+
|
7
|
+
use warnings;
|
8
|
+
use strict;
|
9
|
+
|
10
|
+
use File::Spec;
|
11
|
+
|
12
|
+
# The main info: this is the list of files to remove and the pkg_id.
|
13
|
+
my $pkg_id = 'net.johnmacfarlane.pandoc';
|
14
|
+
|
15
|
+
# Find which, if any, volume Pandoc is installed on.
|
16
|
+
my $volume;
|
17
|
+
|
18
|
+
# First check /, then other volumes on the box.
|
19
|
+
my $cur_test = `pkgutil --pkgs=$pkg_id`;
|
20
|
+
if ( $cur_test =~ m/$pkg_id/ ) {
|
21
|
+
$volume = '/';
|
22
|
+
} else {
|
23
|
+
opendir( my $dh, '/Volumes' ) or die "Can't list Volumes: $!\n";
|
24
|
+
foreach my $dir ( readdir($dh) ) {
|
25
|
+
next if $dir =~ m/^\./; # Skip dotfiles.
|
26
|
+
|
27
|
+
my $path = File::Spec->rel2abs( $dir, '/Volumes' );
|
28
|
+
next if !( -d $path ); # Skip anything that isn't a directory.
|
29
|
+
|
30
|
+
my $cur_test = `pkgutil --pkgs=$pkg_id --volume '$path'`;
|
31
|
+
if ( $cur_test =~ m/$pkg_id/ ) {
|
32
|
+
$volume = $path;
|
33
|
+
last;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
die "Pandoc not installed.\n" if !( defined($volume) );
|
39
|
+
|
40
|
+
# Get the list of files to remove.
|
41
|
+
my @pkg_files = `pkgutil --volume '$volume' --only-files --files '$pkg_id'`;
|
42
|
+
@pkg_files = map { chomp; File::Spec->rel2abs($_, $volume) } @pkg_files;
|
43
|
+
|
44
|
+
# Confirm uninistall with the user.
|
45
|
+
print "The following files will be deleted:\n\n";
|
46
|
+
print join("\n", @pkg_files);
|
47
|
+
print "\n\n";
|
48
|
+
print "Do you want to proceed and uninstall pandoc (Y/N)?";
|
49
|
+
my $input = <STDIN>;
|
50
|
+
|
51
|
+
if ($input =~ m/^[Yy]/) {
|
52
|
+
|
53
|
+
# Actually remove the files.
|
54
|
+
foreach my $file (@pkg_files) {
|
55
|
+
if ( -e $file ) {
|
56
|
+
if ( system( 'sudo', 'rm', $file ) == 0 ) {
|
57
|
+
warn "Deleted $file\n";
|
58
|
+
} else {
|
59
|
+
warn "Unable to delete $file: $?\n";
|
60
|
+
die "Aborting Uninstall.\n";
|
61
|
+
}
|
62
|
+
} else {
|
63
|
+
warn "File $file does not exist. Skipping.\n";
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
# Clean up the install.
|
68
|
+
if (system('sudo', 'pkgutil', '--forget', $pkg_id, '--volume', $volume) != 0) {
|
69
|
+
die "Unable to clean up install: $?\n";
|
70
|
+
}
|
71
|
+
|
72
|
+
} else {
|
73
|
+
|
74
|
+
print "OK, aborting uninstall.\n";
|
75
|
+
exit;
|
76
|
+
}
|
77
|
+
|
78
|
+
print "Pandoc has been successfully uninstalled.\n";
|
79
|
+
exit;
|
data/wortsammler.gemspec
CHANGED
@@ -26,13 +26,14 @@ Gem::Specification.new do |spec|
|
|
26
26
|
wortsammler is based on ruby, pandoc, latex
|
27
27
|
END_DOC
|
28
28
|
|
29
|
-
spec.required_ruby_version = '>=
|
29
|
+
spec.required_ruby_version = '>= 2.4'
|
30
30
|
spec.add_runtime_dependency 'logger'
|
31
31
|
spec.add_runtime_dependency 'nokogiri', '=1.8.2'
|
32
32
|
spec.add_runtime_dependency 'rubyXL'
|
33
33
|
spec.add_runtime_dependency 'diffy', "~> 2.1.3"
|
34
34
|
spec.add_runtime_dependency 'rubyzip'
|
35
35
|
spec.add_runtime_dependency 'treetop'
|
36
|
+
spec.add_runtime_dependency 'rspec'
|
36
37
|
|
37
38
|
spec.summary = %q{an environment to manage documentation}
|
38
39
|
spec.homepage = ""
|
@@ -43,10 +44,12 @@ END_DOC
|
|
43
44
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
44
45
|
spec.require_paths = ["lib"]
|
45
46
|
|
46
|
-
spec.add_development_dependency "bundler", "~>
|
47
|
+
spec.add_development_dependency "bundler", "~> 2.0"
|
47
48
|
spec.add_development_dependency "rake", "~> 10.0.4"
|
48
|
-
spec.add_development_dependency "rspec"
|
49
|
-
spec.add_development_dependency 'pry', "~> 0.
|
49
|
+
spec.add_development_dependency "rspec"
|
50
|
+
spec.add_development_dependency 'pry', "~> 0.12.2"
|
51
|
+
spec.add_development_dependency 'pry-byebug', "~> 3.6"
|
52
|
+
|
50
53
|
spec.add_development_dependency 'yard', "~> 0.9.11"
|
51
54
|
spec.add_development_dependency 'redcarpet', "~> 2.2.2"
|
52
55
|
spec.add_development_dependency 'graph', "~> 2.5.2"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wortsammler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bernhard Weichel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logger
|
@@ -94,20 +94,34 @@ dependencies:
|
|
94
94
|
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rspec
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: bundler
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
100
114
|
requirements:
|
101
115
|
- - "~>"
|
102
116
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
117
|
+
version: '2.0'
|
104
118
|
type: :development
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
107
121
|
requirements:
|
108
122
|
- - "~>"
|
109
123
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
124
|
+
version: '2.0'
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
126
|
name: rake
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -124,32 +138,46 @@ dependencies:
|
|
124
138
|
version: 10.0.4
|
125
139
|
- !ruby/object:Gem::Dependency
|
126
140
|
name: rspec
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: pry
|
127
155
|
requirement: !ruby/object:Gem::Requirement
|
128
156
|
requirements:
|
129
157
|
- - "~>"
|
130
158
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
159
|
+
version: 0.12.2
|
132
160
|
type: :development
|
133
161
|
prerelease: false
|
134
162
|
version_requirements: !ruby/object:Gem::Requirement
|
135
163
|
requirements:
|
136
164
|
- - "~>"
|
137
165
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
166
|
+
version: 0.12.2
|
139
167
|
- !ruby/object:Gem::Dependency
|
140
|
-
name: pry
|
168
|
+
name: pry-byebug
|
141
169
|
requirement: !ruby/object:Gem::Requirement
|
142
170
|
requirements:
|
143
171
|
- - "~>"
|
144
172
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
173
|
+
version: '3.6'
|
146
174
|
type: :development
|
147
175
|
prerelease: false
|
148
176
|
version_requirements: !ruby/object:Gem::Requirement
|
149
177
|
requirements:
|
150
178
|
- - "~>"
|
151
179
|
- !ruby/object:Gem::Version
|
152
|
-
version:
|
180
|
+
version: '3.6'
|
153
181
|
- !ruby/object:Gem::Dependency
|
154
182
|
name: yard
|
155
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -207,9 +235,20 @@ extensions: []
|
|
207
235
|
extra_rdoc_files: []
|
208
236
|
files:
|
209
237
|
- ".gitignore"
|
238
|
+
- ".gitpod.Dockerfile"
|
239
|
+
- ".gitpod.yml"
|
240
|
+
- ".idea/.name"
|
241
|
+
- ".idea/.rakeTasks"
|
242
|
+
- ".idea/202_wortsammler-gem.iml"
|
243
|
+
- ".idea/compiler.xml"
|
244
|
+
- ".idea/encodings.xml"
|
210
245
|
- ".idea/inspectionProfiles/Project_Default.xml"
|
246
|
+
- ".idea/inspectionProfiles/profiles_settings.xml"
|
211
247
|
- ".idea/libraries/plantuml.xml"
|
248
|
+
- ".idea/misc.xml"
|
249
|
+
- ".idea/modules.xml"
|
212
250
|
- ".idea/scopes/scope_settings.xml"
|
251
|
+
- ".idea/vcs.xml"
|
213
252
|
- 202_wortsammler-gem.iml
|
214
253
|
- Gemfile
|
215
254
|
- LICENSE.txt
|
@@ -233,6 +272,10 @@ files:
|
|
233
272
|
- resources/default.wortsammler.latex
|
234
273
|
- resources/logo.jpg
|
235
274
|
- resources/main.md
|
275
|
+
- resources/pandocdefault.docx
|
276
|
+
- resources/pandocdefault.epub
|
277
|
+
- resources/pandocdefault.html
|
278
|
+
- resources/pandocdefault.latex
|
236
279
|
- resources/plantuml.jar
|
237
280
|
- resources/rakefile.rb
|
238
281
|
- resources/requirementsSynopsis.graphml
|
@@ -243,6 +286,7 @@ files:
|
|
243
286
|
- spec/TC_EXP_002.md
|
244
287
|
- spec/TC_EXP_003_1.md
|
245
288
|
- spec/TC_EXP_003_2.md
|
289
|
+
- spec/Zupfnoter.jpg
|
246
290
|
- spec/class.proolib_spec.rb
|
247
291
|
- spec/floating-image.pdf
|
248
292
|
- spec/pdf_utils_spec.rb
|
@@ -256,15 +300,40 @@ files:
|
|
256
300
|
- spec/test_mkindex.pdf
|
257
301
|
- spec/test_mkindex.txt
|
258
302
|
- spec/test_mkindex_reference.txt
|
303
|
+
- spec/test_slides.md
|
259
304
|
- spec/traceable_spec.rb
|
260
305
|
- spec/wortsammler_spec.rb
|
261
306
|
- spec/wortsammler_test_pdf.pdf
|
262
307
|
- spec/wortsammler_test_pptx.pdf
|
263
308
|
- spec/wortsammler_test_pptx.pptx
|
264
309
|
- spec/wortsammler_test_xlsx.xlsx
|
310
|
+
- testproject.xx/30_Sources/001_Main/main.md
|
311
|
+
- testproject.xx/30_Sources/900_snippets/snippets.xlsx
|
312
|
+
- testproject.xx/30_Sources/ZGEN_Documents/RS_Main_compact.docx
|
313
|
+
- testproject.xx/30_Sources/ZGEN_Documents/RS_Main_compact.html
|
314
|
+
- testproject.xx/30_Sources/ZGEN_Documents/RS_Main_compact.latex
|
315
|
+
- testproject.xx/30_Sources/ZGEN_Documents/RS_Main_compact.pdf
|
316
|
+
- testproject.xx/30_Sources/ZGEN_Documents/RS_Main_folien.beamer.pdf
|
317
|
+
- testproject.xx/30_Sources/ZGEN_Documents/RS_Main_folien.docx
|
318
|
+
- testproject.xx/30_Sources/ZGEN_Documents/RS_Main_folien.html
|
319
|
+
- testproject.xx/30_Sources/ZGEN_Documents/RS_Main_folien.latex
|
320
|
+
- testproject.xx/30_Sources/ZGEN_Documents/RS_Main_folien.pdf
|
321
|
+
- testproject.xx/30_Sources/ZGEN_Documents/RS_Main_mieter.docx
|
322
|
+
- testproject.xx/30_Sources/ZGEN_Documents/RS_Main_mieter.html
|
323
|
+
- testproject.xx/30_Sources/ZGEN_Documents/RS_Main_mieter.latex
|
324
|
+
- testproject.xx/30_Sources/ZGEN_Documents/RS_Main_mieter.pdf
|
325
|
+
- testproject.xx/30_Sources/ZGEN_Documents/RS_Main_review.latex
|
326
|
+
- testproject.xx/30_Sources/ZGEN_Documents/RS_Main_review.pdf
|
327
|
+
- testproject.xx/30_Sources/ZGEN_RequirementsTracing/RS_Main.traces.md
|
328
|
+
- testproject.xx/30_Sources/ZGEN_RequirementsTracing/ZGEN_Reqtrace.graphml
|
329
|
+
- testproject.xx/30_Sources/ZGEN_RequirementsTracing/ZGEN_Reqtrace.md
|
330
|
+
- testproject.xx/30_Sources/ZGEN_RequirementsTracing/ZGEN_ReqtraceCompare.txt
|
331
|
+
- testproject.xx/30_Sources/ZSUPP_Manifests/sample_the-sample-document.yaml
|
332
|
+
- testproject.xx/30_Sources/ZSUPP_Styles/default.wortsammler.latex
|
333
|
+
- testproject.xx/30_Sources/ZSUPP_Styles/logo.jpg
|
334
|
+
- testproject.xx/30_Sources/ZSUPP_Tools/rakefile.rb
|
265
335
|
- testresults/wortsammler_testresults.html
|
266
|
-
-
|
267
|
-
- wortsammler-gem.sublime-project
|
336
|
+
- uninstall-pandoc.pl
|
268
337
|
- wortsammler.gemspec
|
269
338
|
homepage: ''
|
270
339
|
licenses:
|
@@ -278,15 +347,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
278
347
|
requirements:
|
279
348
|
- - ">="
|
280
349
|
- !ruby/object:Gem::Version
|
281
|
-
version:
|
350
|
+
version: '2.4'
|
282
351
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
283
352
|
requirements:
|
284
353
|
- - ">="
|
285
354
|
- !ruby/object:Gem::Version
|
286
355
|
version: '0'
|
287
356
|
requirements: []
|
288
|
-
|
289
|
-
rubygems_version: 2.6.12
|
357
|
+
rubygems_version: 3.0.6
|
290
358
|
signing_key:
|
291
359
|
specification_version: 4
|
292
360
|
summary: an environment to manage documentation
|
@@ -295,6 +363,7 @@ test_files:
|
|
295
363
|
- spec/TC_EXP_002.md
|
296
364
|
- spec/TC_EXP_003_1.md
|
297
365
|
- spec/TC_EXP_003_2.md
|
366
|
+
- spec/Zupfnoter.jpg
|
298
367
|
- spec/class.proolib_spec.rb
|
299
368
|
- spec/floating-image.pdf
|
300
369
|
- spec/pdf_utils_spec.rb
|
@@ -308,6 +377,7 @@ test_files:
|
|
308
377
|
- spec/test_mkindex.pdf
|
309
378
|
- spec/test_mkindex.txt
|
310
379
|
- spec/test_mkindex_reference.txt
|
380
|
+
- spec/test_slides.md
|
311
381
|
- spec/traceable_spec.rb
|
312
382
|
- spec/wortsammler_spec.rb
|
313
383
|
- spec/wortsammler_test_pdf.pdf
|
@@ -1,325 +0,0 @@
|
|
1
|
-
Run options: exclude {:exp=>true}
|
2
|
-
|
3
|
-
PandocBeautifier
|
4
|
-
checks the availability of the right pandoc version
|
5
|
-
|
6
|
-
pdf utilities:
|
7
|
-
adjusts the bounding box of a pdf file
|
8
|
-
converts an excel sheet to pdf
|
9
|
-
converts a powerpoint to pdf
|
10
|
-
converts an excelsheet to cropped pdf
|
11
|
-
converts a powerpoint to cropped pdf
|
12
|
-
|
13
|
-
TraceableSet
|
14
|
-
should return a blank instance
|
15
|
-
allows to add Traceables
|
16
|
-
delivers the first of the duplicates
|
17
|
-
advertises duplicates
|
18
|
-
adertises undefined traceables
|
19
|
-
advertises all traceables
|
20
|
-
advertises a hash of supporting traces
|
21
|
-
advertises traceable ids of a particular category
|
22
|
-
advertises ttraceables of a particular category
|
23
|
-
merges traceables
|
24
|
-
exposes deleted Traceables
|
25
|
-
exposes added Traceables
|
26
|
-
exposes deleted Traceables of category
|
27
|
-
exposes added Traceables of category
|
28
|
-
exploses changed traceids as array of [Traceid, levensthein, diff_as_html]
|
29
|
-
exposes unchanged Traceables
|
30
|
-
can be marshalled to a file
|
31
|
-
can be dumped to a graphml file
|
32
|
-
|
33
|
-
Traceable
|
34
|
-
should == "id"
|
35
|
-
should == "origin"
|
36
|
-
should == "alternative_id"
|
37
|
-
should == "header_plain"
|
38
|
-
should == "\\textt{header_origin}"
|
39
|
-
should == "body_plain"
|
40
|
-
should == ["contributes_to"]
|
41
|
-
should == "trace_orig"
|
42
|
-
should == "origin"
|
43
|
-
should == "category"
|
44
|
-
should == "info"
|
45
|
-
|
46
|
-
Wortsammler generic issues
|
47
|
-
provides a help
|
48
|
-
runs silent
|
49
|
-
reports version numbers
|
50
|
-
turns on vervbose mode
|
51
|
-
can create a new project folder
|
52
|
-
does not initialize into an existing project folder
|
53
|
-
controls the pandoc options by document class (FAILED - 1)
|
54
|
-
|
55
|
-
Wortsammler options validator
|
56
|
-
rejects no processing
|
57
|
-
|
58
|
-
Wortsammler beautifier features
|
59
|
-
beautifies all markdown files in a folder
|
60
|
-
beautifies a single file
|
61
|
-
recognizes if the specified manifest file is a directory
|
62
|
-
beautifies input files in a manifest
|
63
|
-
claims missing input
|
64
|
-
claims undefined document path
|
65
|
-
creates a semantically unchanged markdown file (FAILED - 2)
|
66
|
-
|
67
|
-
Wortsammler conversion
|
68
|
-
converts a single file to output format
|
69
|
-
converts a single file to default output format
|
70
|
-
handles chapters up to 6 levels
|
71
|
-
handles lists up to 9 levels
|
72
|
-
converts all files within a folder to output format
|
73
|
-
processes a manifest
|
74
|
-
investigates the existence of a manifest
|
75
|
-
extracts the traceables according to a manifest
|
76
|
-
extracts plantuml according to a manifest
|
77
|
-
extracts plantuml from a single file
|
78
|
-
extracts plantuml from a folder
|
79
|
-
processes snippets (FAILED - 3)
|
80
|
-
handles undefined snippets (FAILED - 4)
|
81
|
-
runs the rake file in the sample document
|
82
|
-
compiles all documents
|
83
|
-
|
84
|
-
Wortsammler syntax extensions
|
85
|
-
[RS_Comp_012] supports embedded images
|
86
|
-
TC_EXP_001 expands expected results from testcases
|
87
|
-
TC_EXP_002 removes plantuml sources
|
88
|
-
TC_EXP_003 handles Markdown inlays (FAILED - 5)
|
89
|
-
generates an index (FAILED - 6)
|
90
|
-
reports TeX messages
|
91
|
-
|
92
|
-
Failures:
|
93
|
-
|
94
|
-
1) Wortsammler generic issues controls the pandoc options by document class FIXED
|
95
|
-
Expected pending 'implement test to control pandoc options by document class' to fail. No Error was raised.
|
96
|
-
# ./spec/wortsammler_spec.rb:52
|
97
|
-
|
98
|
-
2) Wortsammler beautifier features creates a semantically unchanged markdown file
|
99
|
-
Failure/Error: result.should == reference
|
100
|
-
|
101
|
-
expected: "% Test Markdown\n% Bernhard Weichel\n% 1.12.2014\n\n# Test headlines\n\n# Head Leel 2\n\n# test fenc... codedblock\n~~~~\n\n~~~~ {#backtick_codeblock}\n\nthis\n\n is\n\n codedblock\n~~~~\n"
|
102
|
-
got: "---\nauthor:\n- Bernhard Weichel\ndate: '1.12.2014'\ntitle: Test Markdown\n...\n\n# Test headlines\n... codedblock\n```\n\n``` {#backtick_codeblock}\n\nthis\n\n is\n\n codedblock\n```\n" (using ==)
|
103
|
-
Diff:
|
104
|
-
@@ -1,6 +1,9 @@
|
105
|
-
-% Test Markdown
|
106
|
-
-% Bernhard Weichel
|
107
|
-
-% 1.12.2014
|
108
|
-
+---
|
109
|
-
+author:
|
110
|
-
+- Bernhard Weichel
|
111
|
-
+date: '1.12.2014'
|
112
|
-
+title: Test Markdown
|
113
|
-
+...
|
114
|
-
|
115
|
-
# Test headlines
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
@@ -8,21 +11,21 @@
|
121
|
-
|
122
|
-
# test fenced code blocks
|
123
|
-
|
124
|
-
-~~~~ {#codeblock}
|
125
|
-
+``` {#codeblock}
|
126
|
-
|
127
|
-
this
|
128
|
-
|
129
|
-
is
|
130
|
-
|
131
|
-
codedblock
|
132
|
-
-~~~~
|
133
|
-
+```
|
134
|
-
|
135
|
-
-~~~~ {#backtick_codeblock}
|
136
|
-
+``` {#backtick_codeblock}
|
137
|
-
|
138
|
-
this
|
139
|
-
|
140
|
-
is
|
141
|
-
|
142
|
-
codedblock
|
143
|
-
-~~~~
|
144
|
-
+```
|
145
|
-
# ./spec/wortsammler_spec.rb:142:in `block (2 levels) in <top (required)>'
|
146
|
-
|
147
|
-
3) Wortsammler conversion processes snippets FIXED
|
148
|
-
Expected pending 'Test not yet implemented' to fail. No Error was raised.
|
149
|
-
# ./spec/wortsammler_spec.rb:315
|
150
|
-
|
151
|
-
4) Wortsammler conversion handles undefined snippets FIXED
|
152
|
-
Expected pending 'Test not yet implemented' to fail. No Error was raised.
|
153
|
-
# ./spec/wortsammler_spec.rb:319
|
154
|
-
|
155
|
-
5) Wortsammler syntax extensions TC_EXP_003 handles Markdown inlays
|
156
|
-
Failure/Error: ref.should==result
|
157
|
-
|
158
|
-
expected: "- this is headline\n - this is TC\\_EXP\\_003\\_1\n - this is md TC\\_EXP\\_003\\_2\n ... TC_EXP_003_2.md\n\n\nthis is md TC_EXP_003_2\n\n - hugo\n\n - hugo2\n\nend of TC_EXP_003_2\n"
|
159
|
-
got: "- this is headline\n - this is TC\\_EXP\\_003\\_1\n - this is md TC\\_EXP\\_003\\_2\n ...s is md TC_EXP_003_2\n-----------------------\n\n - hugo\n\n - hugo2\n\nend of TC_EXP_003_2\n" (using ==)
|
160
|
-
Diff:
|
161
|
-
|
162
|
-
|
163
|
-
@@ -4,11 +4,10 @@
|
164
|
-
- this is md TC\_EXP\_003\_2
|
165
|
-
|
166
|
-
|
167
|
-
+this is headline
|
168
|
-
+================
|
169
|
-
|
170
|
-
-THIS IS HEADLINE
|
171
|
-
|
172
|
-
-
|
173
|
-
-
|
174
|
-
now verbatim by indent inclucde TC_EXP_003_1.md
|
175
|
-
|
176
|
-
## this is TC_EXP_003_1
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
@@ -27,13 +26,13 @@
|
181
|
-
|
182
|
-
now full format inclucde TC_EXP_003_1.md
|
183
|
-
|
184
|
-
-
|
185
|
-
this is TC_EXP_003_1
|
186
|
-
+--------------------
|
187
|
-
|
188
|
-
we now include TC_EXP_003_2 from TC_EXP_003_1
|
189
|
-
|
190
|
-
-
|
191
|
-
this is md TC_EXP_003_2
|
192
|
-
+-----------------------
|
193
|
-
|
194
|
-
- hugo
|
195
|
-
|
196
|
-
|
197
|
-
@@ -45,8 +44,8 @@
|
198
|
-
|
199
|
-
now full format inclucde TC_EXP_003_2.md
|
200
|
-
|
201
|
-
-
|
202
|
-
this is md TC_EXP_003_2
|
203
|
-
+-----------------------
|
204
|
-
|
205
|
-
- hugo
|
206
|
-
|
207
|
-
# ./spec/wortsammler_spec.rb:439:in `block (2 levels) in <top (required)>'
|
208
|
-
|
209
|
-
6) Wortsammler syntax extensions generates an index
|
210
|
-
Failure/Error: ref.should==result
|
211
|
-
|
212
|
-
expected: "CONTENTS\n\nCONTENTS\n\nContents\n1 Das ist ein Test zur Indexerstellung 2\n\n1\n\nJuly 17, 2018\n\n...2 \xC4pfelchen, 2 \xDCber, 2\n\n5\n\n\fINDEX\n\nINDEX\n\nende des Index\n\n6\n\nJuly 17, 2018\n\n\f"
|
213
|
-
got: "CONTENTS\n\nCONTENTS\n\nContents\n1 Das ist ein Test zur Indexerstellung\n\n2\n\n1\n\nDecember 17, 2...2\nÄpfelchen, 2\nÜber, 2\n\n5\n\n\fINDEX\n\nINDEX\n\nende des Index\n\n6\n\nDecember 17, 2014\n\n\f" (using ==)
|
214
|
-
Diff:
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
@@ -3,22 +3,35 @@
|
220
|
-
CONTENTS
|
221
|
-
|
222
|
-
Contents
|
223
|
-
-1 Das ist ein Test zur Indexerstellung 2
|
224
|
-
+1 Das ist ein Test zur Indexerstellung
|
225
|
-
|
226
|
-
+2
|
227
|
-
+
|
228
|
-
1
|
229
|
-
|
230
|
-
-July 17, 2018
|
231
|
-
+December 17, 2014
|
232
|
-
|
233
|
-
1
|
234
|
-
|
235
|
-
DAS IST EIN TEST ZUR INDEXERSTELLUNG
|
236
|
-
|
237
|
-
1 Das ist ein Test zur Indexerstellung
|
238
|
-
-Dies ist ein Typoblindtext. An ihm kann man sehen, ob alle Buchstaben da sind und wie sie aussehen. Manchmal benutzt man Worte wie Hamburgefonts, Rafgenduks oder Handgloves, um Schriften zu testen. Manchmal S?tze, die alle Buchstaben des Alphabets enthalten - man nennt diese S?tze ?Pangrams?. Sehr bekannt ist dieser: The quick brown fox jumps over the lazy old dog. Oft werden in Typoblindtexte auch fremdsprachige Satzteile eingebaut (AVAIL? and WefoxTM are testing aussi la Kerning), um die Wirkung in anderen Sprachen zu testen. In Lateinisch sieht zum Beispiel fast jede Schrift gut aus. Quod erat demonstrandum. Seit 1975 fehlen in den meisten Testtexten die Zahlen, weswegen nach TypoGb. 204 ? ab dem Jahr 2034 Zahlen in 86 der Texte zur Pflicht werden. Nichteinhaltung wird mit bis zu 245 oder 368 $ bestraft. Genauso wichtig in sind mittlerweile auch ??c??t?, die in neueren Schriften aber fast immer enthalten sind. Ein wichtiges aber schwierig zu integrierendes Feld sind OpenType-Funktionalit?ten. Je nach Software und Voreinstellungen k?nnen eingebaute Kapit?lchen, Kerning oder Ligaturen (sehr pfiffig) nicht richtig dargestellt werden.Dies ist ein Typoblindtext. An ihm kann man sehen, ob alle Buchstaben da sind und wie sie aussehen. Manchmal benutzt man Worte wie Hamburgefonts, Rafgenduks
|
239
|
-
+Dies ist ein Typoblindtext. An ihm kann man sehen, ob alle Buchstaben da sind und wie sie aussehen. Manchmal
|
240
|
-
+benutzt man Worte wie Hamburgefonts, Rafgenduks oder Handgloves, um Schriften zu testen.
|
241
|
-
+Manchmal Sätze, die alle Buchstaben des Alphabets enthalten - man nennt diese Sätze »Pangrams«. Sehr bekannt
|
242
|
-
+ist dieser: The quick brown fox jumps over the lazy old dog. Oft werden in Typoblindtexte auch fremdsprachige
|
243
|
-
+Satzteile eingebaut (AVAIL® and Wefox™ are testing aussi la Kerning), um die Wirkung in anderen Sprachen zu
|
244
|
-
+testen. In Lateinisch sieht zum Beispiel fast jede Schrift gut aus. Quod erat demonstrandum. Seit 1975 fehlen in
|
245
|
-
+den meisten Testtexten die Zahlen, weswegen nach TypoGb. 204 § ab dem Jahr 2034 Zahlen in 86 der Texte zur
|
246
|
-
+Pflicht werden. Nichteinhaltung wird mit bis zu 245 € oder 368 $ bestraft. Genauso wichtig in sind mittlerweile auch
|
247
|
-
+Âçcèñtë, die in neueren Schriften aber fast immer enthalten sind. Ein wichtiges aber schwierig zu integrierendes Feld
|
248
|
-
+sind OpenType-Funktionalitäten. Je nach Software und Voreinstellungen können eingebaute Kapitälchen, Kerning
|
249
|
-
+oder Ligaturen (sehr pfiffig) nicht richtig dargestellt werden.Dies ist ein Typoblindtext. An ihm kann man sehen, ob
|
250
|
-
+alle Buchstaben da sind und wie sie aussehen. Manchmal benutzt man Worte wie Hamburgefonts, Rafgenduks
|
251
|
-
|
252
|
-
2
|
253
|
-
|
254
|
-
-July 17, 2018
|
255
|
-
+December 17, 2014
|
256
|
-
|
257
|
-
1 DAS IST EIN TEST ZUR INDEXERSTELLUNG
|
258
|
-
|
259
|
-
|
260
|
-
@@ -26,11 +39,22 @@
|
261
|
-
|
262
|
-
DAS IST EIN TEST ZUR INDEXERSTELLUNG
|
263
|
-
|
264
|
-
-Dies ist ein Typoblindtext. An ihm kann man sehen, ob alle Buchstaben da sind und wie sie aussehen. Manchmal benutzt man Worte wie Hamburgefonts, Rafgenduks oder Handgloves, um Schriften zu testen. Manchmal S?tze, die alle Buchstaben des Alphabets enthalten - man nennt diese S?tze ?Pangrams?. Sehr bekannt ist dieser: The quick brown fox jumps over the lazy old dog. Oft werden in Typoblindtexte auch fremdsprachige Satzteile eingebaut (AVAIL? and WefoxTM are testing aussi la Kerning), um die Wirkung in anderen Sprachen zu testen. In Lateinisch sieht zum Beispiel fast jede Schrift gut aus. Quod erat demonstrandum. Seit 1975 fehlen in den meisten Testtexten die Zahlen, weswegen nach TypoGb. 204 ? ab dem Jahr 2034 Zahlen in 86 der Texte zur Pflicht werden. Nichteinhaltung wird mit bis zu 245 oder 368 $ bestraft. Genauso wichtig in sind mittlerweile auch ??c??t?, die in neueren Schriften aber fast immer enthalten sind. Ein wichtiges aber schwierig zu integrierendes Feld sind OpenType-Funktionalit?ten. Je nach Software und Voreinstellungen k?nnen eingebaute Kapit?lchen, Kerning oder Ligaturen (sehr pfiffig) nicht richtig dargestellt werden.Dies ist ein Typoblindtext. An ihm kann man sehen, ob alle Buchstaben da sind und wie sie aussehen. Manchmal benutzt man Worte wie Hamburgefonts, Rafgenduks
|
265
|
-
+Dies ist ein Typoblindtext. An ihm kann man sehen, ob alle Buchstaben da sind und wie sie aussehen. Manchmal
|
266
|
-
+benutzt man Worte wie Hamburgefonts, Rafgenduks oder Handgloves, um Schriften zu testen. Manchmal Sätze,
|
267
|
-
+die alle Buchstaben des Alphabets enthalten - man nennt diese Sätze »Pangrams«. Sehr bekannt ist dieser: The
|
268
|
-
+quick brown fox jumps over the lazy old dog. Oft werden in Typoblindtexte auch fremdsprachige Satzteile eingebaut
|
269
|
-
+(AVAIL® and Wefox™ are testing aussi la Kerning), um die Wirkung in anderen Sprachen zu testen. In Lateinisch sieht
|
270
|
-
+zum Beispiel fast jede Schrift gut aus. Quod erat demonstrandum. Seit 1975 fehlen in den meisten Testtexten die
|
271
|
-
+Zahlen, weswegen nach TypoGb. 204 § ab dem Jahr 2034 Zahlen in 86 der Texte zur Pflicht werden. Nichteinhaltung
|
272
|
-
+wird mit bis zu 245 € oder 368 $ bestraft. Genauso wichtig in sind mittlerweile auch Âçcèñtë, die in neueren Schriften
|
273
|
-
+aber fast immer enthalten sind. Ein wichtiges aber schwierig zu integrierendes Feld sind OpenType-Funktionalitäten.
|
274
|
-
+Je nach Software und Voreinstellungen können eingebaute Kapitälchen, Kerning oder Ligaturen (sehr pfiffig) nicht
|
275
|
-
+richtig dargestellt werden.Dies ist ein Typoblindtext. An ihm kann man sehen, ob alle Buchstaben da sind und wie
|
276
|
-
+sie aussehen. Manchmal benutzt man Worte wie Hamburgefonts, Rafgenduks
|
277
|
-
|
278
|
-
3
|
279
|
-
|
280
|
-
-July 17, 2018
|
281
|
-
+December 17, 2014
|
282
|
-
|
283
|
-
1
|
284
|
-
|
285
|
-
|
286
|
-
@@ -40,10 +64,15 @@
|
287
|
-
|
288
|
-
4
|
289
|
-
|
290
|
-
-July 17, 2018
|
291
|
-
+December 17, 2014
|
292
|
-
|
293
|
-
Index
|
294
|
-
-S?tze, 2 Typoblindtext, 2, 3 Uder, 2 Ufer, 2 ?pfelchen, 2 ?ber, 2
|
295
|
-
+Sätze, 2
|
296
|
-
+Typoblindtext, 2, 3
|
297
|
-
+Uder, 2
|
298
|
-
+Ufer, 2
|
299
|
-
+Äpfelchen, 2
|
300
|
-
+Über, 2
|
301
|
-
|
302
|
-
5
|
303
|
-
|
304
|
-
@@ -55,7 +84,7 @@
|
305
|
-
|
306
|
-
6
|
307
|
-
|
308
|
-
-July 17, 2018
|
309
|
-
+December 17, 2014
|
310
|
-
|
311
|
-
|
312
|
-
# ./spec/wortsammler_spec.rb:447:in `block (2 levels) in <top (required)>'
|
313
|
-
|
314
|
-
Finished in 2 minutes 41.7 seconds (files took 0.64262 seconds to load)
|
315
|
-
71 examples, 6 failures
|
316
|
-
|
317
|
-
Failed examples:
|
318
|
-
|
319
|
-
rspec ./spec/wortsammler_spec.rb:52 # Wortsammler generic issues controls the pandoc options by document class
|
320
|
-
rspec ./spec/wortsammler_spec.rb:130 # Wortsammler beautifier features creates a semantically unchanged markdown file
|
321
|
-
rspec ./spec/wortsammler_spec.rb:315 # Wortsammler conversion processes snippets
|
322
|
-
rspec ./spec/wortsammler_spec.rb:319 # Wortsammler conversion handles undefined snippets
|
323
|
-
rspec ./spec/wortsammler_spec.rb:405 # Wortsammler syntax extensions TC_EXP_003 handles Markdown inlays
|
324
|
-
rspec ./spec/wortsammler_spec.rb:442 # Wortsammler syntax extensions generates an index
|
325
|
-
|