indoctrinatr-tools 0.11.0 → 0.12.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.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/.arcconfig +3 -3
  3. data/.rubocop.yml +3 -0
  4. data/.rvmrc +1 -1
  5. data/.travis.yml +2 -2
  6. data/README.md +12 -3
  7. data/bin/indoctrinatr +40 -10
  8. data/features/demo.feature +7 -7
  9. data/features/doc_keepauxfiles.feature +13 -0
  10. data/features/documentation.feature +13 -4
  11. data/features/fieldnames_pdf.feature +9 -0
  12. data/features/fieldnames_pdf_auxfiles.feature +10 -0
  13. data/features/parse.feature +1 -1
  14. data/features/pdf.feature +2 -1
  15. data/features/pdf_keepauxfiles.feature +11 -0
  16. data/features/version.feature +1 -1
  17. data/features/workflow.feature +1 -0
  18. data/indoctrinatr-tools.gemspec +10 -10
  19. data/lib/indoctrinatr/templates/configuration.yaml +11 -3
  20. data/lib/indoctrinatr/templates/documentation/dkd-image-tools.sty +72 -0
  21. data/lib/indoctrinatr/templates/documentation/indoctrinatr-technical-documentation-content.tex.erb +17 -12
  22. data/lib/indoctrinatr/templates/documentation/indoctrinatr-technical-documentation.tex.erb +8 -0
  23. data/lib/indoctrinatr/templates/template.tex.erb +10 -3
  24. data/lib/indoctrinatr/tools/configuration_extractor.rb +1 -1
  25. data/lib/indoctrinatr/tools/content_for_tex_files.rb +36 -0
  26. data/lib/indoctrinatr/tools/default_values.rb +3 -28
  27. data/lib/indoctrinatr/tools/field_name_values.rb +57 -0
  28. data/lib/indoctrinatr/tools/pdf_generator.rb +36 -0
  29. data/lib/indoctrinatr/tools/template_documentation_content.rb +26 -16
  30. data/lib/indoctrinatr/tools/template_documentation_helpers.rb +13 -0
  31. data/lib/indoctrinatr/tools/template_documentation_source_file.rb +12 -12
  32. data/lib/indoctrinatr/tools/template_pack_configuration.rb +1 -1
  33. data/lib/indoctrinatr/tools/template_pack_default_values_compiler.rb +12 -4
  34. data/lib/indoctrinatr/tools/template_pack_default_values_parser.rb +4 -0
  35. data/lib/indoctrinatr/tools/template_pack_documentation.rb +32 -11
  36. data/lib/indoctrinatr/tools/template_pack_error_checker.rb +104 -0
  37. data/lib/indoctrinatr/tools/template_pack_fieldnames_creator.rb +79 -0
  38. data/lib/indoctrinatr/tools/template_pack_helpers.rb +34 -4
  39. data/lib/indoctrinatr/tools/template_pack_scaffold.rb +2 -2
  40. data/lib/indoctrinatr/tools/version.rb +1 -1
  41. data/lib/redcloth_latex_formatter_patch/patch.rb +2 -1
  42. data/spec/indoctrinatr/templates/configuration_file_spec.rb +1 -1
  43. data/spec/indoctrinatr/templates/tex_file_spec.rb +1 -1
  44. data/spec/indoctrinatr/tools/version_spec.rb +1 -1
  45. metadata +33 -17
@@ -29,6 +29,7 @@ module Indoctrinatr
29
29
  def read_config_file
30
30
  @configuration = ConfigurationExtractor.new(template_pack_name).call
31
31
  @default_values = DefaultValues.new @configuration
32
+ @default_values._use_default_values
32
33
  end
33
34
 
34
35
  def read_tex_file
@@ -40,6 +41,9 @@ module Indoctrinatr
40
41
  end
41
42
 
42
43
  def write_tex_file
44
+ # Create directory to avoid file creation errors
45
+ Dir.mkdir(pack_documentation_dir_path) unless Dir.exist?(pack_documentation_dir_path)
46
+ Dir.mkdir(pack_documentation_examples_dir_path) unless Dir.exist?(pack_documentation_examples_dir_path)
43
47
  File.write tex_with_default_values_file_path, parsed_tex_file_content
44
48
  end
45
49
 
@@ -2,6 +2,7 @@ require 'indoctrinatr/tools/template_documentation_content'
2
2
  require 'indoctrinatr/tools/template_pack_helpers'
3
3
  require 'indoctrinatr/tools/template_documentation_helpers'
4
4
  require 'indoctrinatr/tools/configuration_extractor'
5
+ require 'indoctrinatr/tools/pdf_generator'
5
6
  require 'erubis'
6
7
  require 'to_latex'
7
8
  require 'fileutils'
@@ -11,14 +12,16 @@ module Indoctrinatr
11
12
  class TemplatePackDocumentation
12
13
  include TemplatePackHelpers
13
14
  include TemplateDocumentationHelpers
15
+ include PdfGenerator
14
16
 
15
- attr_accessor :template_pack_name
17
+ attr_accessor :template_pack_name, :keep_aux_files
16
18
 
17
- def initialize template_pack_name
19
+ def initialize template_pack_name, keep_aux_files = false
18
20
  @template_pack_name = template_pack_name
21
+ @keep_aux_files = keep_aux_files
19
22
  end
20
23
 
21
- def call
24
+ def call # rubocop:disable Metrics/AbcSize, Metrics/MethodLength
22
25
  fill_documentation_content
23
26
  read_content_tex_file
24
27
  read_main_tex_file
@@ -30,9 +33,18 @@ module Indoctrinatr
30
33
  copy_source_files
31
34
  if compile_documentation_to_pdf
32
35
  copy_doc_file_to_template_pack
33
- delete_temp_dir
36
+ if @keep_aux_files
37
+ copy_helper_files_to_template_pack
38
+ show_temp_directory
39
+ else
40
+ delete_temp_dir
41
+ end
34
42
  show_success
35
43
  else
44
+ if @keep_aux_files
45
+ copy_helper_files_to_template_pack
46
+ show_temp_directory
47
+ end
36
48
  handle_latex_error
37
49
  end
38
50
  end
@@ -57,7 +69,7 @@ module Indoctrinatr
57
69
  end
58
70
 
59
71
  def parse_content_tex_file
60
- @parsed_content_tex_file_content = Erubis::Eruby.new(@content_tex_file_content).result(@documentation_content.retrieve_binding)
72
+ @parsed_content_tex_file_content = Erubis::Eruby.new(@content_tex_file_content).result(@documentation_content.retrieve_binding) # TODO: more useful error messages for user on errors
61
73
  end
62
74
 
63
75
  def parse_main_tex_file
@@ -79,21 +91,30 @@ module Indoctrinatr
79
91
  def copy_source_files
80
92
  FileUtils.copy_file source_latex_package_file_path, latex_package_destination_path
81
93
  FileUtils.copy_file source_letterpaper_file_path, letterpaper_file_destination_path
94
+ FileUtils.copy_file source_image_tools_package_file_path, image_tools_package_destination_path
82
95
  end
83
96
 
84
97
  def compile_documentation_to_pdf
85
- args = ['-xelatex',
86
- '-shell-escape',
87
- '-interaction=batchmode', # more silent output
88
- "-output-directory=#{documentation_compile_dir_path_name}", main_tex_file_destination_path.to_s] # without this xelatex tries to use the current working directory
89
- latexmk_successful = system('latexmk', *args) # latexmk instead of running 2.times
90
- latexmk_successful # false if error, nil if system command unknown
98
+ make_pdf main_tex_file_destination_path, documentation_compile_dir_path_name, !@keep_aux_files
99
+ end
100
+
101
+ def copy_helper_files_to_template_pack
102
+ helper_files_to_copy = [latex_log_file, content_tex_file_destination_path, main_tex_file_destination_path].freeze
103
+ Dir.mkdir(pack_documentation_dir_path) unless Dir.exist?(pack_documentation_dir_path)
104
+ FileUtils.copy helper_files_to_copy, pack_documentation_dir_path
105
+ puts 'TeX files and log file have been copied to doc subdirectory of your template_pack'
91
106
  end
92
107
 
93
108
  def copy_doc_file_to_template_pack
109
+ # All the documentation shall go into template_pack/doc
110
+ Dir.mkdir(pack_documentation_dir_path) unless Dir.exist?(pack_documentation_dir_path)
94
111
  FileUtils.copy_file documentation_file_path, pack_technical_documentation_file_path
95
112
  end
96
113
 
114
+ def show_temp_directory
115
+ puts "Look into the directory #{documentation_temp_dir} to see all files related to the technical documentation compilation"
116
+ end
117
+
97
118
  def delete_temp_dir
98
119
  FileUtils.remove_entry_secure documentation_compile_dir_path_name
99
120
  end
@@ -0,0 +1,104 @@
1
+ require 'indoctrinatr/tools/template_pack_helpers'
2
+
3
+ module Indoctrinatr
4
+ module Tools
5
+ class TemplatePackErrorChecker
6
+ include TemplatePackHelpers
7
+
8
+ # class wide constants
9
+ # needs to match indoctrinatr's TemplateField model
10
+ VALID_PRESENTATIONS = %w(text textarea checkbox radiobutton dropdown date range file).freeze
11
+ REQUIRES_AVAILABLE_OPTIONS = %w(dropdown checkbox radiobutton).freeze
12
+
13
+ attr_accessor :template_pack_name, :config_file
14
+ def initialize template_pack_name
15
+ @template_pack_name = template_pack_name
16
+ end
17
+
18
+ def call
19
+ check_config_file_existence && check_config_file_syntax && check_attributes
20
+ # TODO: check multiple variable name declaration (low-prio)
21
+ end
22
+
23
+ private
24
+
25
+ def check_config_file_existence
26
+ return true if File.exist? config_file_path
27
+ puts 'The file configuration.yaml does not exist in the template_pack directory'
28
+ false
29
+ end
30
+
31
+ def check_config_file_syntax # YAML syntax check
32
+ puts 'Checking YAML syntax...'
33
+ YAML.parse_file config_file_path
34
+ puts 'YAML syntax ok!'
35
+ true
36
+ rescue YAML::SyntaxError => exception # no program abort when this exception is thrown
37
+ puts 'YAML syntax error in configuration.yaml, see error for details:'
38
+ puts exception.message
39
+ false
40
+ end
41
+
42
+ def check_attributes
43
+ configuration = ConfigurationExtractor.new(template_pack_name).call
44
+ puts 'Checking...'
45
+
46
+ configuration.attributes_as_hashes_in_array.each_with_index do |attribute_hash, index|
47
+ identifier = "Variable number #{index + 1}" # string for the user to localize variable with errors/warnings
48
+ name_field = check_field_attribute attribute_hash, identifier, 'name'
49
+ identifier = "Variable \"#{name_field}\"" if name_field != false
50
+
51
+ check_presentation attribute_hash, identifier
52
+
53
+ check_field_attribute attribute_hash, identifier, 'default_value'
54
+
55
+ check_field_attribute attribute_hash, identifier, 'description'
56
+ # idea: warning if no required attribute?
57
+ end
58
+ end
59
+
60
+ def check_field_attribute attribute_hash, field_identifier, key # false if something wrong, otherwise returns the key value
61
+ unless attribute_hash.key? key
62
+ puts "The #{field_identifier} has no #{key} type set!"
63
+ return false
64
+ end
65
+ if attribute_hash[key].nil? || attribute_hash[key].empty?
66
+ puts "The #{field_identifier} has an empty #{key}!"
67
+ false
68
+ else
69
+ attribute_hash[key]
70
+ end
71
+ end
72
+
73
+ def check_presentation attribute_hash, identifier
74
+ presentation = check_field_attribute attribute_hash, identifier, 'presentation'
75
+ return false unless presentation
76
+ # check if it is one of the options
77
+ puts "Not an allowed presentation option set for #{identifier}" unless VALID_PRESENTATIONS.include? presentation
78
+ check_available_options attribute_hash, identifier, presentation if REQUIRES_AVAILABLE_OPTIONS.include? presentation
79
+ check_presentation_range attribute_hash, identifier, presentation if presentation == 'range'
80
+ end
81
+
82
+ def check_available_options attribute_hash, identifier, presentation_type
83
+ unless attribute_hash.key? 'available_options'
84
+ puts "The #{identifier} has no available_options (needed for #{presentation_type} presentation)"
85
+ return false
86
+ end
87
+ available_options = attribute_hash['available_options']
88
+ if available_options.nil?
89
+ puts("available_options for #{identifier} is empty (needed for #{presentation_type} presentation)")
90
+ false
91
+ else
92
+ puts("available_options for #{identifier} has only one option. That is useless.") if available_options.count(',') == 1
93
+ true
94
+ end
95
+ end
96
+
97
+ def check_presentation_range attribute_hash, identifier, presentation
98
+ puts "The #{identifier} has no start_of_range field (needed for #{presentation} presentation)" unless attribute_hash.key? 'start_of_range'
99
+ puts "The #{identifier} has no end_of_range field (needed for #{presentation} presentation)" unless attribute_hash.key? 'end_of_range'
100
+ # TODO: check for content
101
+ end
102
+ end
103
+ end
104
+ end
@@ -0,0 +1,79 @@
1
+ require 'indoctrinatr/tools/template_pack_helpers'
2
+ require 'indoctrinatr/tools/field_name_values'
3
+ require 'indoctrinatr/tools/configuration_extractor'
4
+ require 'indoctrinatr/tools/pdf_generator'
5
+ require 'erubis'
6
+ require 'to_latex'
7
+
8
+ module Indoctrinatr
9
+ module Tools
10
+ class TemplatePackFieldnamesCreator
11
+ include TemplatePackHelpers
12
+ include PdfGenerator
13
+
14
+ attr_accessor :template_pack_name, :configuration, :field_name_values, :tex_file_content, :parsed_tex_file_content
15
+
16
+ def initialize template_pack_name, keep_aux_files = false
17
+ @template_pack_name = template_pack_name
18
+ @keep_aux_files = keep_aux_files
19
+ end
20
+
21
+ def call
22
+ check_for_folder
23
+ read_config_file
24
+ read_tex_file
25
+ parse_tex_file
26
+ write_tex_file
27
+ if compile_tex_file
28
+ show_success
29
+ true
30
+ else
31
+ handle_latex_error
32
+ false
33
+ end
34
+ end
35
+
36
+ def pdf_exists?
37
+ check_for_folder
38
+ File.exist? pdf_with_fieldname_values_file_path
39
+ end
40
+
41
+ private
42
+
43
+ def read_config_file
44
+ @configuration = ConfigurationExtractor.new(template_pack_name).call
45
+ @field_name_values = FieldNameValues.new @configuration
46
+ field_name_values._field_names_as_values
47
+ end
48
+
49
+ def read_tex_file
50
+ @tex_file_content = File.read tex_file_path
51
+ end
52
+
53
+ def parse_tex_file
54
+ @parsed_tex_file_content = Erubis::Eruby.new(@tex_file_content).result(field_name_values.retrieve_binding)
55
+ end
56
+
57
+ def write_tex_file
58
+ # Create directory to avoid file creation errors
59
+ Dir.mkdir(pack_documentation_dir_path) unless Dir.exist?(pack_documentation_dir_path)
60
+ Dir.mkdir(pack_documentation_examples_dir_path) unless Dir.exist?(pack_documentation_examples_dir_path)
61
+ File.write tex_with_fieldname_values_file_path, parsed_tex_file_content
62
+ end
63
+
64
+ def compile_tex_file
65
+ make_pdf tex_with_fieldname_values_file_path, pack_documentation_examples_dir_path, !@keep_aux_files
66
+ end
67
+
68
+ def handle_latex_error
69
+ puts 'possible LaTeX compilation failure!' # see #{latex_log_file_destination} for details. " # idea: process $CHILD_STATUS
70
+ # FileUtils.copy_file latex_log_file, latex_log_file_destination
71
+ end
72
+
73
+ def show_success
74
+ puts "The template pack '#{template_pack_name}' has been successfully parsed with the variable names"
75
+ puts 'Please check the .tex file and modify it to your needs and compile it again'
76
+ end
77
+ end
78
+ end
79
+ end
@@ -1,3 +1,5 @@
1
+ require 'indoctrinatr/tools/default_values'
2
+
1
3
  module Indoctrinatr
2
4
  module Tools
3
5
  module TemplatePackHelpers # classes that use this model are required to have template_pack_name as instance variable
@@ -10,8 +12,8 @@ module Indoctrinatr
10
12
  end
11
13
 
12
14
  def check_for_folder
13
- fail 'Please specify a template pack name.' if template_pack_name.empty?
14
- fail "A folder with name '#{template_pack_name}' does not exist." unless Dir.exist? path_name
15
+ fail 'Please specify a template pack name.' if template_pack_name.empty? # rubocop:disable Style/SignalException
16
+ fail "A folder with name '#{template_pack_name}' does not exist." unless Dir.exist? path_name # rubocop:disable Style/SignalException
15
17
  end
16
18
 
17
19
  def config_file_path
@@ -23,11 +25,39 @@ module Indoctrinatr
23
25
  end
24
26
 
25
27
  def tex_with_default_values_file_path
26
- path_name.join template_pack_name + '_with_default_values.tex'
28
+ pack_documentation_examples_dir_path.join template_pack_name + '_with_default_values.tex'
29
+ end
30
+
31
+ # get file path for PDF example with default values:
32
+ def pdf_with_default_values_file_path configuration # rubocop:disable Metrics/AbcSize
33
+ default_values = DefaultValues.new configuration
34
+ # if there is a change in where the pdf command (DefaultValuesCompiler) saves it's output, this logic needs to be updated
35
+ if default_values.customized_output_file_name == default_values.default_file_name
36
+ Pathname.new(Dir.pwd).join pack_documentation_examples_dir_path + default_values.customized_output_file_name
37
+ else
38
+ Pathname.new(Dir.pwd).join pack_documentation_examples_dir_path + eval('"' + default_values.output_file_name + '"') # rubocop:disable Lint/Eval
39
+ # usage of eval to execute the interpolation of a custom filename string with interpolation - e.g. a filename with the current date
40
+ end
41
+ end
42
+
43
+ def pdf_with_fieldname_values_file_path
44
+ "#{pack_documentation_examples_dir_path.join template_pack_name}_with_fieldname_values.pdf"
45
+ end
46
+
47
+ def tex_with_fieldname_values_file_path
48
+ "#{pack_documentation_examples_dir_path.join template_pack_name}_with_fieldname_values.tex"
49
+ end
50
+
51
+ def pack_documentation_dir_path
52
+ path_name.join 'doc'
53
+ end
54
+
55
+ def pack_documentation_examples_dir_path
56
+ pack_documentation_dir_path.join 'examples'
27
57
  end
28
58
 
29
59
  def pack_technical_documentation_file_path
30
- path_name.join template_pack_name + '_technical_documentation.pdf'
60
+ pack_documentation_dir_path.join template_pack_name + '_technical_documentation.pdf'
31
61
  end
32
62
 
33
63
  def latex_log_file_destination
@@ -23,8 +23,8 @@ module Indoctrinatr
23
23
  private
24
24
 
25
25
  def create_folder
26
- fail 'Please specify a template pack name.' if template_pack_name.empty?
27
- fail "A folder with name '#{template_pack_name}' already exists." if Dir.exist? path_name
26
+ fail 'Please specify a template pack name.' if template_pack_name.empty? # rubocop:disable Style/SignalException
27
+ fail "A folder with name '#{template_pack_name}' already exists." if Dir.exist? path_name # rubocop:disable Style/SignalException
28
28
 
29
29
  Dir.mkdir path_name
30
30
  end
@@ -1,5 +1,5 @@
1
1
  module Indoctrinatr
2
2
  module Tools
3
- VERSION = '0.11.0'
3
+ VERSION = '0.12.0'.freeze
4
4
  end
5
5
  end
@@ -3,7 +3,8 @@ require 'redcloth'
3
3
  module RedCloth
4
4
  module Formatters
5
5
  module LATEX
6
- { h1: 'chapter',
6
+ {
7
+ h1: 'chapter',
7
8
  h2: 'section',
8
9
  h3: 'subsection',
9
10
  h4: 'subsubsection'
@@ -4,6 +4,6 @@ require 'pathname'
4
4
  describe 'configuration.yaml' do
5
5
  it 'should exist' do
6
6
  configuration_file = Pathname.new(__FILE__).join '..', '..', '..', '..', 'lib', 'indoctrinatr', 'templates', 'configuration.yaml'
7
- expect(File.exist? configuration_file).to eq true
7
+ expect(File.exist?(configuration_file)).to eq true
8
8
  end
9
9
  end
@@ -4,6 +4,6 @@ require 'pathname'
4
4
  describe 'template.tex.erb' do
5
5
  it 'should exist' do
6
6
  template_file = Pathname.new(__FILE__).join '..', '..', '..', '..', 'lib', 'indoctrinatr', 'templates', 'template.tex.erb'
7
- expect(File.exist? template_file).to eq true
7
+ expect(File.exist?(template_file)).to eq true
8
8
  end
9
9
  end
@@ -3,6 +3,6 @@ require 'indoctrinatr/tools/version'
3
3
 
4
4
  describe Indoctrinatr::Tools do
5
5
  it 'defines a VERSION constant' do
6
- expect(Indoctrinatr::Tools::VERSION).to eq '0.11.0'
6
+ expect(Indoctrinatr::Tools::VERSION).to eq '0.12.0'
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: indoctrinatr-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolai Reuschling
8
+ - Luka Lüdicke
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2015-08-27 00:00:00.000000000 Z
12
+ date: 2016-05-11 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: bundler
@@ -16,56 +17,56 @@ dependencies:
16
17
  requirements:
17
18
  - - "~>"
18
19
  - !ruby/object:Gem::Version
19
- version: '1.9'
20
+ version: '1.12'
20
21
  type: :development
21
22
  prerelease: false
22
23
  version_requirements: !ruby/object:Gem::Requirement
23
24
  requirements:
24
25
  - - "~>"
25
26
  - !ruby/object:Gem::Version
26
- version: '1.9'
27
+ version: '1.12'
27
28
  - !ruby/object:Gem::Dependency
28
29
  name: rake
29
30
  requirement: !ruby/object:Gem::Requirement
30
31
  requirements:
31
32
  - - "~>"
32
33
  - !ruby/object:Gem::Version
33
- version: '10.4'
34
+ version: '11.1'
34
35
  type: :development
35
36
  prerelease: false
36
37
  version_requirements: !ruby/object:Gem::Requirement
37
38
  requirements:
38
39
  - - "~>"
39
40
  - !ruby/object:Gem::Version
40
- version: '10.4'
41
+ version: '11.1'
41
42
  - !ruby/object:Gem::Dependency
42
43
  name: rspec
43
44
  requirement: !ruby/object:Gem::Requirement
44
45
  requirements:
45
46
  - - "~>"
46
47
  - !ruby/object:Gem::Version
47
- version: '3.3'
48
+ version: '3.4'
48
49
  type: :development
49
50
  prerelease: false
50
51
  version_requirements: !ruby/object:Gem::Requirement
51
52
  requirements:
52
53
  - - "~>"
53
54
  - !ruby/object:Gem::Version
54
- version: '3.3'
55
+ version: '3.4'
55
56
  - !ruby/object:Gem::Dependency
56
57
  name: cucumber
57
58
  requirement: !ruby/object:Gem::Requirement
58
59
  requirements:
59
60
  - - "~>"
60
61
  - !ruby/object:Gem::Version
61
- version: '2.0'
62
+ version: '2.3'
62
63
  type: :development
63
64
  prerelease: false
64
65
  version_requirements: !ruby/object:Gem::Requirement
65
66
  requirements:
66
67
  - - "~>"
67
68
  - !ruby/object:Gem::Version
68
- version: '2.0'
69
+ version: '2.3'
69
70
  - !ruby/object:Gem::Dependency
70
71
  name: aruba
71
72
  requirement: !ruby/object:Gem::Requirement
@@ -86,14 +87,14 @@ dependencies:
86
87
  requirements:
87
88
  - - "~>"
88
89
  - !ruby/object:Gem::Version
89
- version: '0.33'
90
+ version: '0.40'
90
91
  type: :development
91
92
  prerelease: false
92
93
  version_requirements: !ruby/object:Gem::Requirement
93
94
  requirements:
94
95
  - - "~>"
95
96
  - !ruby/object:Gem::Version
96
- version: '0.33'
97
+ version: '0.40'
97
98
  - !ruby/object:Gem::Dependency
98
99
  name: pry
99
100
  requirement: !ruby/object:Gem::Requirement
@@ -184,17 +185,18 @@ dependencies:
184
185
  requirements:
185
186
  - - "~>"
186
187
  - !ruby/object:Gem::Version
187
- version: '4.2'
188
+ version: '4.3'
188
189
  type: :runtime
189
190
  prerelease: false
190
191
  version_requirements: !ruby/object:Gem::Requirement
191
192
  requirements:
192
193
  - - "~>"
193
194
  - !ruby/object:Gem::Version
194
- version: '4.2'
195
+ version: '4.3'
195
196
  description:
196
197
  email:
197
198
  - nicolai.reuschling@dkd.de
199
+ - luka.luedicke@dkd.de
198
200
  executables:
199
201
  - indoctrinatr
200
202
  extensions: []
@@ -216,10 +218,14 @@ files:
216
218
  - cucumber.yml
217
219
  - features/autocompletion_support.feature
218
220
  - features/demo.feature
221
+ - features/doc_keepauxfiles.feature
219
222
  - features/documentation.feature
223
+ - features/fieldnames_pdf.feature
224
+ - features/fieldnames_pdf_auxfiles.feature
220
225
  - features/pack.feature
221
226
  - features/parse.feature
222
227
  - features/pdf.feature
228
+ - features/pdf_keepauxfiles.feature
223
229
  - features/scaffold.feature
224
230
  - features/step_definitions/common.rb
225
231
  - features/step_definitions/indoctrinatr_cli.rb
@@ -228,6 +234,7 @@ files:
228
234
  - features/workflow.feature
229
235
  - indoctrinatr-tools.gemspec
230
236
  - lib/indoctrinatr/templates/configuration.yaml
237
+ - lib/indoctrinatr/templates/documentation/dkd-image-tools.sty
231
238
  - lib/indoctrinatr/templates/documentation/indoctrinatr-technical-documentation-content.tex.erb
232
239
  - lib/indoctrinatr/templates/documentation/indoctrinatr-technical-documentation.sty
233
240
  - lib/indoctrinatr/templates/documentation/indoctrinatr-technical-documentation.tex.erb
@@ -235,8 +242,11 @@ files:
235
242
  - lib/indoctrinatr/templates/template.tex.erb
236
243
  - lib/indoctrinatr/tools.rb
237
244
  - lib/indoctrinatr/tools/configuration_extractor.rb
245
+ - lib/indoctrinatr/tools/content_for_tex_files.rb
238
246
  - lib/indoctrinatr/tools/default_values.rb
239
247
  - lib/indoctrinatr/tools/directory_helpers.rb
248
+ - lib/indoctrinatr/tools/field_name_values.rb
249
+ - lib/indoctrinatr/tools/pdf_generator.rb
240
250
  - lib/indoctrinatr/tools/template_documentation_content.rb
241
251
  - lib/indoctrinatr/tools/template_documentation_helpers.rb
242
252
  - lib/indoctrinatr/tools/template_documentation_source_file.rb
@@ -245,6 +255,8 @@ files:
245
255
  - lib/indoctrinatr/tools/template_pack_default_values_parser.rb
246
256
  - lib/indoctrinatr/tools/template_pack_demo.rb
247
257
  - lib/indoctrinatr/tools/template_pack_documentation.rb
258
+ - lib/indoctrinatr/tools/template_pack_error_checker.rb
259
+ - lib/indoctrinatr/tools/template_pack_fieldnames_creator.rb
248
260
  - lib/indoctrinatr/tools/template_pack_helpers.rb
249
261
  - lib/indoctrinatr/tools/template_pack_packer.rb
250
262
  - lib/indoctrinatr/tools/template_pack_scaffold.rb
@@ -275,21 +287,25 @@ required_rubygems_version: !ruby/object:Gem::Requirement
275
287
  - !ruby/object:Gem::Version
276
288
  version: '0'
277
289
  requirements:
278
- - xelatex
290
+ - LaTeX development enviroment
279
291
  rubyforge_project:
280
- rubygems_version: 2.4.8
292
+ rubygems_version: 2.6.4
281
293
  signing_key:
282
294
  specification_version: 4
283
295
  summary: indoctrinatr-tools provides a set of command line tools for Indoctrinatr
284
296
  (an Open Source Software project by dkd Internet Service GmbH, Frankfurt am Main,
285
- Germany.)
297
+ Germany).
286
298
  test_files:
287
299
  - features/autocompletion_support.feature
288
300
  - features/demo.feature
301
+ - features/doc_keepauxfiles.feature
289
302
  - features/documentation.feature
303
+ - features/fieldnames_pdf.feature
304
+ - features/fieldnames_pdf_auxfiles.feature
290
305
  - features/pack.feature
291
306
  - features/parse.feature
292
307
  - features/pdf.feature
308
+ - features/pdf_keepauxfiles.feature
293
309
  - features/scaffold.feature
294
310
  - features/step_definitions/common.rb
295
311
  - features/step_definitions/indoctrinatr_cli.rb