indoctrinatr-tools 0.16.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +9 -39
  3. data/.rubocop.yml +2 -3
  4. data/.ruby-version +1 -0
  5. data/CHANGELOG.md +9 -1
  6. data/LICENSE +1 -1
  7. data/README.md +5 -6
  8. data/Rakefile +5 -20
  9. data/cucumber.yml +1 -1
  10. data/exe/indoctrinatr +4 -0
  11. data/indoctrinatr-tools.gemspec +24 -24
  12. data/lib/indoctrinatr/templates/documentation/indoctrinatr-technical-documentation-content.tex.erb +4 -4
  13. data/lib/indoctrinatr/templates/documentation/indoctrinatr-technical-documentation.sty +0 -15
  14. data/lib/indoctrinatr/tools/command_autocomplete_helpers.rb +9 -0
  15. data/lib/indoctrinatr/tools/commands/bash_completions.rb +21 -0
  16. data/lib/indoctrinatr/tools/commands/check.rb +26 -0
  17. data/lib/indoctrinatr/tools/commands/completion_commands.rb +25 -0
  18. data/lib/indoctrinatr/tools/commands/demo.rb +22 -0
  19. data/lib/indoctrinatr/tools/commands/doc.rb +28 -0
  20. data/lib/indoctrinatr/tools/commands/pack.rb +26 -0
  21. data/lib/indoctrinatr/tools/commands/parse.rb +26 -0
  22. data/lib/indoctrinatr/tools/commands/pdf.rb +39 -0
  23. data/lib/indoctrinatr/tools/commands/pdf_with_field_names.rb +28 -0
  24. data/lib/indoctrinatr/tools/commands/scaffold.rb +26 -0
  25. data/lib/indoctrinatr/tools/commands/version.rb +13 -0
  26. data/lib/indoctrinatr/tools/commands/workflow.rb +38 -0
  27. data/lib/indoctrinatr/tools/commands/zsh_completions.rb +25 -0
  28. data/lib/indoctrinatr/tools/commands.rb +21 -0
  29. data/lib/indoctrinatr/tools/configuration_extractor.rb +11 -13
  30. data/lib/indoctrinatr/tools/content_for_tex_files.rb +5 -3
  31. data/lib/indoctrinatr/tools/default_values.rb +1 -3
  32. data/lib/indoctrinatr/tools/field_name_values.rb +3 -5
  33. data/lib/indoctrinatr/tools/pdf_generator.rb +3 -3
  34. data/lib/{redcloth_latex_formatter_patch/patch.rb → indoctrinatr/tools/redcloth_formatters_latex_patch.rb} +14 -16
  35. data/lib/indoctrinatr/tools/template_documentation_content.rb +72 -23
  36. data/lib/indoctrinatr/tools/template_documentation_source_file.rb +9 -14
  37. data/lib/indoctrinatr/tools/transactions/template_pack_default_values_compiler.rb +67 -0
  38. data/lib/indoctrinatr/tools/transactions/template_pack_default_values_parser.rb +82 -0
  39. data/lib/indoctrinatr/tools/transactions/template_pack_demo.rb +104 -0
  40. data/lib/indoctrinatr/tools/transactions/template_pack_documentation.rb +223 -0
  41. data/lib/indoctrinatr/tools/transactions/template_pack_error_checker.rb +127 -0
  42. data/lib/indoctrinatr/tools/transactions/template_pack_fieldnames_creator.rb +97 -0
  43. data/lib/indoctrinatr/tools/transactions/template_pack_packer.rb +73 -0
  44. data/lib/indoctrinatr/tools/transactions/template_pack_scaffold.rb +73 -0
  45. data/lib/indoctrinatr/tools/version.rb +1 -1
  46. data/lib/indoctrinatr_tools.rb +12 -0
  47. metadata +90 -135
  48. checksums.yaml.gz.sig +0 -3
  49. data/.coveralls.yml +0 -1
  50. data/.travis.yml +0 -16
  51. data/bin/indoctrinatr +0 -182
  52. data/certs/dkd-reuschling.pem +0 -20
  53. data/features/autocompletion_support.feature +0 -9
  54. data/features/demo.feature +0 -17
  55. data/features/doc_keepauxfiles.feature +0 -13
  56. data/features/documentation.feature +0 -20
  57. data/features/fieldnames_pdf.feature +0 -9
  58. data/features/fieldnames_pdf_auxfiles.feature +0 -10
  59. data/features/pack.feature +0 -11
  60. data/features/parse.feature +0 -6
  61. data/features/pdf.feature +0 -15
  62. data/features/pdf_keepauxfiles.feature +0 -11
  63. data/features/pdf_with_timestamp.feature +0 -8
  64. data/features/scaffold.feature +0 -23
  65. data/features/step_definitions/common.rb +0 -3
  66. data/features/step_definitions/indoctrinatr_cli.rb +0 -11
  67. data/features/support/env.rb +0 -1
  68. data/features/version.feature +0 -5
  69. data/features/workflow.feature +0 -9
  70. data/lib/indoctrinatr/tools/directory_helpers.rb +0 -19
  71. data/lib/indoctrinatr/tools/template_pack_default_values_compiler.rb +0 -47
  72. data/lib/indoctrinatr/tools/template_pack_default_values_parser.rb +0 -55
  73. data/lib/indoctrinatr/tools/template_pack_demo.rb +0 -23
  74. data/lib/indoctrinatr/tools/template_pack_documentation.rb +0 -132
  75. data/lib/indoctrinatr/tools/template_pack_error_checker.rb +0 -108
  76. data/lib/indoctrinatr/tools/template_pack_fieldnames_creator.rb +0 -79
  77. data/lib/indoctrinatr/tools/template_pack_helpers.rb +0 -69
  78. data/lib/indoctrinatr/tools/template_pack_packer.rb +0 -49
  79. data/lib/indoctrinatr/tools/template_pack_scaffold.rb +0 -57
  80. data/lib/indoctrinatr/tools.rb +0 -9
  81. data/spec/fixtures/test/configuration.yaml +0 -26
  82. data/spec/fixtures/test/test.tex.erb +0 -15
  83. data/spec/indoctrinatr/templates/configuration_file_spec.rb +0 -9
  84. data/spec/indoctrinatr/templates/tex_file_spec.rb +0 -9
  85. data/spec/indoctrinatr/tools/textile_support_spec.rb +0 -18
  86. data/spec/indoctrinatr/tools/version_spec.rb +0 -8
  87. data/spec/redcloth_latex_formatter_patch/patch_spec.rb +0 -34
  88. data/spec/spec_helper.rb +0 -2
  89. data.tar.gz.sig +0 -3
  90. metadata.gz.sig +0 -2
@@ -0,0 +1,73 @@
1
+ require 'dry/transaction'
2
+ require 'fileutils'
3
+
4
+ module Indoctrinatr
5
+ module Tools
6
+ module Transactions
7
+ class TemplatePackScaffold
8
+ include Dry::Transaction
9
+
10
+ step :setup
11
+ step :validate_setup
12
+ step :create_folder
13
+ step :create_asset_folder
14
+ step :copy_configuration_file
15
+ step :copy_tex_file
16
+
17
+ private
18
+
19
+ def setup(template_pack_name)
20
+ path_name = Pathname.new(Dir.pwd).join(template_pack_name)
21
+ Success(
22
+ {
23
+ template_pack_name:,
24
+ path_name:,
25
+ source_config_file_path: Pathname.new(File.expand_path(__dir__)).join('..', '..', 'templates', 'configuration.yaml'),
26
+ source_tex_file_path: Pathname.new(File.expand_path(__dir__)).join('..', '..', 'templates', 'template.tex.erb'),
27
+ assets_path: path_name.join('assets'),
28
+ config_file_path: path_name.join('configuration.yaml'),
29
+ tex_file_path: path_name.join("#{template_pack_name}.tex.erb")
30
+ }
31
+ )
32
+ end
33
+
34
+ def validate_setup(config)
35
+ return Failure('Please specify a template pack name.') if config[:template_pack_name].nil? || config[:template_pack_name].empty?
36
+ return Failure("A folder with name '#{config[:template_pack_name]}' already exists.") if Dir.exist? config[:path_name]
37
+
38
+ Success(config)
39
+ end
40
+
41
+ def create_folder(config)
42
+ ::FileUtils.mkdir_p config[:path_name]
43
+ Success(config)
44
+ rescue Errno::EROFS
45
+ Failure('Could not write to target directory!')
46
+ rescue StandardError => e
47
+ Failure(e.message)
48
+ end
49
+
50
+ def create_asset_folder(config)
51
+ ::FileUtils.mkdir_p config[:assets_path]
52
+ Success(config)
53
+ rescue StandardError => e
54
+ Failure(e.message)
55
+ end
56
+
57
+ def copy_configuration_file(config)
58
+ ::FileUtils.copy_file config[:source_config_file_path], config[:config_file_path]
59
+ Success(config)
60
+ rescue StandardError => e
61
+ Failure(e.message)
62
+ end
63
+
64
+ def copy_tex_file(config)
65
+ ::FileUtils.copy_file config[:source_tex_file_path], config[:tex_file_path]
66
+ Success("A template pack scaffold was created in folder '#{config[:template_pack_name]}'. Happy templating…")
67
+ rescue StandardError => e
68
+ Failure(e.message)
69
+ end
70
+ end
71
+ end
72
+ end
73
+ end
@@ -1,5 +1,5 @@
1
1
  module Indoctrinatr
2
2
  module Tools
3
- VERSION = '0.16.0'.freeze
3
+ VERSION = '0.17.0'.freeze
4
4
  end
5
5
  end
@@ -0,0 +1,12 @@
1
+ require 'zeitwerk'
2
+ require 'dry/cli'
3
+
4
+ Zeitwerk::Loader.for_gem(warn_on_extra_files: false).tap do |loader|
5
+ loader.ignore('lib/indoctrinatr/tools/version')
6
+ loader.ignore('lib/indoctrinatr/templates')
7
+ loader.setup
8
+ end
9
+
10
+ Indoctrinatr::Tools::RedclothFormattersLatexPatch.apply
11
+
12
+ Dry::CLI.new(Indoctrinatr::Tools::Commands).call
metadata CHANGED
@@ -1,36 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: indoctrinatr-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolai Reuschling
8
- - Luka Lüdicke
9
- autorequire:
10
- bindir: bin
11
- cert_chain:
12
- - |
13
- -----BEGIN CERTIFICATE-----
14
- MIIDVjCCAj6gAwIBAgIBATANBgkqhkiG9w0BAQsFADAqMSgwJgYDVQQDDB9uaWNv
15
- bGFpLnJldXNjaGxpbmcvREM9ZGtkL0RDPWRlMB4XDTIwMDIxNDE1MTcwNloXDTIx
16
- MDIxMzE1MTcwNlowKjEoMCYGA1UEAwwfbmljb2xhaS5yZXVzY2hsaW5nL0RDPWRr
17
- ZC9EQz1kZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL5RzbjnDuqA
18
- rb+fbMKmHdfNZcX9rAlcGo5i7lwtBImH8DAikZXpS5pmDh+tWq0wiYlGqBjghPRw
19
- rdWcVZDf23EiKjDuDDW0bqtqNg6wbClkjGgr1GEyYuhficipS/1xWD3PTaCMk9RS
20
- eVJwwtzNJQbLyTnUZI8biuaSJr/pXot2WqyC/+0z+ddXzI00W686NRpbRb3DNR2l
21
- 5P59g1NiHrwiPjzWj+viIgCXt4j5wxJcZmEDuJQIZLdkcLcp7XGMpFnNsOcr7BMv
22
- w4/5NJS/7QG/n7j3xMOrCRpred346xlUoG5seVuu7mvChkOFleEkkKomvAEdiC5Y
23
- wB2Zd1EptkkCAwEAAaOBhjCBgzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNV
24
- HQ4EFgQUbCmdTAu9t3RJwYPe9hOJ3JWBlfowJAYDVR0RBB0wG4EZbmljb2xhaS5y
25
- ZXVzY2hsaW5nQGRrZC5kZTAkBgNVHRIEHTAbgRluaWNvbGFpLnJldXNjaGxpbmdA
26
- ZGtkLmRlMA0GCSqGSIb3DQEBCwUAA4IBAQBk1mExobXS3Uljuvadir5gAWkGQSRt
27
- queISF2e9iQKmuXV3auAy0UWbHTBqjwu8dJtzQTX5UOtfG/Jt1QIU3X6sEBuMY76
28
- Zbyu2NYp54ESAAyZFpt2prs7oDkRiDYk6FdZ7mHLTjPgr8nZV0qqONRfzmWmpImG
29
- PxsXUcEiEZej8d8C5vcHy3bwXb/+CjzcKrcqN67lkXwrA9jzqMuqnjVuhx+JMXJ5
30
- kHAKYJXqSQLXcRmkRlqCNGKAJSy6FmpClVbei309Yg3dl4PmFSc8GdLcWD1keOvE
31
- qzeIYbdD18i9ZRk4hfm8vEpevt+xRgM+3ughiJIaiWI3eO3C+VRszvqU
32
- -----END CERTIFICATE-----
33
- date: 2020-02-14 00:00:00.000000000 Z
8
+ - Eike Henrich
9
+ autorequire:
10
+ bindir: exe
11
+ cert_chain: []
12
+ date: 2022-12-01 00:00:00.000000000 Z
34
13
  dependencies:
35
14
  - !ruby/object:Gem::Dependency
36
15
  name: aruba
@@ -38,14 +17,14 @@ dependencies:
38
17
  requirements:
39
18
  - - "~>"
40
19
  - !ruby/object:Gem::Version
41
- version: '0.14'
20
+ version: '2.1'
42
21
  type: :development
43
22
  prerelease: false
44
23
  version_requirements: !ruby/object:Gem::Requirement
45
24
  requirements:
46
25
  - - "~>"
47
26
  - !ruby/object:Gem::Version
48
- version: '0.14'
27
+ version: '2.1'
49
28
  - !ruby/object:Gem::Dependency
50
29
  name: bundler
51
30
  requirement: !ruby/object:Gem::Requirement
@@ -61,145 +40,145 @@ dependencies:
61
40
  - !ruby/object:Gem::Version
62
41
  version: '2.0'
63
42
  - !ruby/object:Gem::Dependency
64
- name: coveralls
43
+ name: cucumber
65
44
  requirement: !ruby/object:Gem::Requirement
66
45
  requirements:
67
46
  - - "~>"
68
47
  - !ruby/object:Gem::Version
69
- version: '0.8'
48
+ version: '8.0'
70
49
  type: :development
71
50
  prerelease: false
72
51
  version_requirements: !ruby/object:Gem::Requirement
73
52
  requirements:
74
53
  - - "~>"
75
54
  - !ruby/object:Gem::Version
76
- version: '0.8'
55
+ version: '8.0'
77
56
  - !ruby/object:Gem::Dependency
78
- name: cucumber
57
+ name: rake
79
58
  requirement: !ruby/object:Gem::Requirement
80
59
  requirements:
81
60
  - - "~>"
82
61
  - !ruby/object:Gem::Version
83
- version: '3.0'
62
+ version: '13.0'
84
63
  type: :development
85
64
  prerelease: false
86
65
  version_requirements: !ruby/object:Gem::Requirement
87
66
  requirements:
88
67
  - - "~>"
89
68
  - !ruby/object:Gem::Version
90
- version: '3.0'
69
+ version: '13.0'
91
70
  - !ruby/object:Gem::Dependency
92
- name: pry
71
+ name: rspec
93
72
  requirement: !ruby/object:Gem::Requirement
94
73
  requirements:
95
74
  - - "~>"
96
75
  - !ruby/object:Gem::Version
97
- version: '0.11'
76
+ version: '3.10'
98
77
  type: :development
99
78
  prerelease: false
100
79
  version_requirements: !ruby/object:Gem::Requirement
101
80
  requirements:
102
81
  - - "~>"
103
82
  - !ruby/object:Gem::Version
104
- version: '0.11'
83
+ version: '3.10'
105
84
  - !ruby/object:Gem::Dependency
106
- name: rake
85
+ name: rubocop
107
86
  requirement: !ruby/object:Gem::Requirement
108
87
  requirements:
109
88
  - - "~>"
110
89
  - !ruby/object:Gem::Version
111
- version: '13.0'
90
+ version: '1.0'
112
91
  type: :development
113
92
  prerelease: false
114
93
  version_requirements: !ruby/object:Gem::Requirement
115
94
  requirements:
116
95
  - - "~>"
117
96
  - !ruby/object:Gem::Version
118
- version: '13.0'
97
+ version: '1.0'
119
98
  - !ruby/object:Gem::Dependency
120
- name: rspec
99
+ name: rubocop-performance
121
100
  requirement: !ruby/object:Gem::Requirement
122
101
  requirements:
123
102
  - - "~>"
124
103
  - !ruby/object:Gem::Version
125
- version: '3.7'
104
+ version: '1.10'
126
105
  type: :development
127
106
  prerelease: false
128
107
  version_requirements: !ruby/object:Gem::Requirement
129
108
  requirements:
130
109
  - - "~>"
131
110
  - !ruby/object:Gem::Version
132
- version: '3.7'
111
+ version: '1.10'
133
112
  - !ruby/object:Gem::Dependency
134
- name: rubocop
113
+ name: rubocop-rspec
135
114
  requirement: !ruby/object:Gem::Requirement
136
115
  requirements:
137
116
  - - "~>"
138
117
  - !ruby/object:Gem::Version
139
- version: '0.79'
118
+ version: '2.0'
140
119
  type: :development
141
120
  prerelease: false
142
121
  version_requirements: !ruby/object:Gem::Requirement
143
122
  requirements:
144
123
  - - "~>"
145
124
  - !ruby/object:Gem::Version
146
- version: '0.79'
125
+ version: '2.0'
147
126
  - !ruby/object:Gem::Dependency
148
- name: rubocop-performance
127
+ name: simplecov
149
128
  requirement: !ruby/object:Gem::Requirement
150
129
  requirements:
151
130
  - - "~>"
152
131
  - !ruby/object:Gem::Version
153
- version: '1.3'
132
+ version: '0.21'
154
133
  type: :development
155
134
  prerelease: false
156
135
  version_requirements: !ruby/object:Gem::Requirement
157
136
  requirements:
158
137
  - - "~>"
159
138
  - !ruby/object:Gem::Version
160
- version: '1.3'
139
+ version: '0.21'
161
140
  - !ruby/object:Gem::Dependency
162
- name: rubocop-rspec
141
+ name: dry-cli
163
142
  requirement: !ruby/object:Gem::Requirement
164
143
  requirements:
165
144
  - - "~>"
166
145
  - !ruby/object:Gem::Version
167
- version: '1.22'
168
- type: :development
146
+ version: '1.0'
147
+ type: :runtime
169
148
  prerelease: false
170
149
  version_requirements: !ruby/object:Gem::Requirement
171
150
  requirements:
172
151
  - - "~>"
173
152
  - !ruby/object:Gem::Version
174
- version: '1.22'
153
+ version: '1.0'
175
154
  - !ruby/object:Gem::Dependency
176
- name: erubis
155
+ name: dry-transaction
177
156
  requirement: !ruby/object:Gem::Requirement
178
157
  requirements:
179
158
  - - "~>"
180
159
  - !ruby/object:Gem::Version
181
- version: '2.7'
160
+ version: '0.13'
182
161
  type: :runtime
183
162
  prerelease: false
184
163
  version_requirements: !ruby/object:Gem::Requirement
185
164
  requirements:
186
165
  - - "~>"
187
166
  - !ruby/object:Gem::Version
188
- version: '2.7'
167
+ version: '0.13'
189
168
  - !ruby/object:Gem::Dependency
190
- name: gli
169
+ name: erubis
191
170
  requirement: !ruby/object:Gem::Requirement
192
171
  requirements:
193
172
  - - "~>"
194
173
  - !ruby/object:Gem::Version
195
- version: '2.16'
174
+ version: '2.7'
196
175
  type: :runtime
197
176
  prerelease: false
198
177
  version_requirements: !ruby/object:Gem::Requirement
199
178
  requirements:
200
179
  - - "~>"
201
180
  - !ruby/object:Gem::Version
202
- version: '2.16'
181
+ version: '2.7'
203
182
  - !ruby/object:Gem::Dependency
204
183
  name: RedCloth
205
184
  requirement: !ruby/object:Gem::Requirement
@@ -242,19 +221,32 @@ dependencies:
242
221
  - - "~>"
243
222
  - !ruby/object:Gem::Version
244
223
  version: '0.5'
245
- description:
224
+ - !ruby/object:Gem::Dependency
225
+ name: zeitwerk
226
+ requirement: !ruby/object:Gem::Requirement
227
+ requirements:
228
+ - - "~>"
229
+ - !ruby/object:Gem::Version
230
+ version: '2.6'
231
+ type: :runtime
232
+ prerelease: false
233
+ version_requirements: !ruby/object:Gem::Requirement
234
+ requirements:
235
+ - - "~>"
236
+ - !ruby/object:Gem::Version
237
+ version: '2.6'
238
+ description:
246
239
  email:
247
240
  - nicolai.reuschling@dkd.de
248
- - luka.luedicke@dkd.de
241
+ - eike.henrich@dkd.de
249
242
  executables:
250
243
  - indoctrinatr
251
244
  extensions: []
252
245
  extra_rdoc_files: []
253
246
  files:
254
- - ".coveralls.yml"
255
247
  - ".gitignore"
256
248
  - ".rubocop.yml"
257
- - ".travis.yml"
249
+ - ".ruby-version"
258
250
  - CHANGELOG.md
259
251
  - Gemfile
260
252
  - LICENSE
@@ -262,26 +254,8 @@ files:
262
254
  - Rakefile
263
255
  - assets/images/dkd_logo.png
264
256
  - assets/images/logo.png
265
- - bin/indoctrinatr
266
- - certs/dkd-reuschling.pem
267
257
  - cucumber.yml
268
- - features/autocompletion_support.feature
269
- - features/demo.feature
270
- - features/doc_keepauxfiles.feature
271
- - features/documentation.feature
272
- - features/fieldnames_pdf.feature
273
- - features/fieldnames_pdf_auxfiles.feature
274
- - features/pack.feature
275
- - features/parse.feature
276
- - features/pdf.feature
277
- - features/pdf_keepauxfiles.feature
278
- - features/pdf_with_timestamp.feature
279
- - features/scaffold.feature
280
- - features/step_definitions/common.rb
281
- - features/step_definitions/indoctrinatr_cli.rb
282
- - features/support/env.rb
283
- - features/version.feature
284
- - features/workflow.feature
258
+ - exe/indoctrinatr
285
259
  - indoctrinatr-tools.gemspec
286
260
  - lib/indoctrinatr/templates/configuration.yaml
287
261
  - lib/indoctrinatr/templates/documentation/dkd-image-tools.sty
@@ -290,41 +264,47 @@ files:
290
264
  - lib/indoctrinatr/templates/documentation/indoctrinatr-technical-documentation.tex.erb
291
265
  - lib/indoctrinatr/templates/documentation/indoctrinatr_letterpaper.pdf
292
266
  - lib/indoctrinatr/templates/template.tex.erb
293
- - lib/indoctrinatr/tools.rb
267
+ - lib/indoctrinatr/tools/command_autocomplete_helpers.rb
268
+ - lib/indoctrinatr/tools/commands.rb
269
+ - lib/indoctrinatr/tools/commands/bash_completions.rb
270
+ - lib/indoctrinatr/tools/commands/check.rb
271
+ - lib/indoctrinatr/tools/commands/completion_commands.rb
272
+ - lib/indoctrinatr/tools/commands/demo.rb
273
+ - lib/indoctrinatr/tools/commands/doc.rb
274
+ - lib/indoctrinatr/tools/commands/pack.rb
275
+ - lib/indoctrinatr/tools/commands/parse.rb
276
+ - lib/indoctrinatr/tools/commands/pdf.rb
277
+ - lib/indoctrinatr/tools/commands/pdf_with_field_names.rb
278
+ - lib/indoctrinatr/tools/commands/scaffold.rb
279
+ - lib/indoctrinatr/tools/commands/version.rb
280
+ - lib/indoctrinatr/tools/commands/workflow.rb
281
+ - lib/indoctrinatr/tools/commands/zsh_completions.rb
294
282
  - lib/indoctrinatr/tools/configuration_extractor.rb
295
283
  - lib/indoctrinatr/tools/content_for_tex_files.rb
296
284
  - lib/indoctrinatr/tools/default_values.rb
297
- - lib/indoctrinatr/tools/directory_helpers.rb
298
285
  - lib/indoctrinatr/tools/field_name_values.rb
299
286
  - lib/indoctrinatr/tools/pdf_generator.rb
287
+ - lib/indoctrinatr/tools/redcloth_formatters_latex_patch.rb
300
288
  - lib/indoctrinatr/tools/template_documentation_content.rb
301
289
  - lib/indoctrinatr/tools/template_documentation_helpers.rb
302
290
  - lib/indoctrinatr/tools/template_documentation_source_file.rb
303
291
  - lib/indoctrinatr/tools/template_pack_configuration.rb
304
- - lib/indoctrinatr/tools/template_pack_default_values_compiler.rb
305
- - lib/indoctrinatr/tools/template_pack_default_values_parser.rb
306
- - lib/indoctrinatr/tools/template_pack_demo.rb
307
- - lib/indoctrinatr/tools/template_pack_documentation.rb
308
- - lib/indoctrinatr/tools/template_pack_error_checker.rb
309
- - lib/indoctrinatr/tools/template_pack_fieldnames_creator.rb
310
- - lib/indoctrinatr/tools/template_pack_helpers.rb
311
- - lib/indoctrinatr/tools/template_pack_packer.rb
312
- - lib/indoctrinatr/tools/template_pack_scaffold.rb
292
+ - lib/indoctrinatr/tools/transactions/template_pack_default_values_compiler.rb
293
+ - lib/indoctrinatr/tools/transactions/template_pack_default_values_parser.rb
294
+ - lib/indoctrinatr/tools/transactions/template_pack_demo.rb
295
+ - lib/indoctrinatr/tools/transactions/template_pack_documentation.rb
296
+ - lib/indoctrinatr/tools/transactions/template_pack_error_checker.rb
297
+ - lib/indoctrinatr/tools/transactions/template_pack_fieldnames_creator.rb
298
+ - lib/indoctrinatr/tools/transactions/template_pack_packer.rb
299
+ - lib/indoctrinatr/tools/transactions/template_pack_scaffold.rb
313
300
  - lib/indoctrinatr/tools/version.rb
314
- - lib/redcloth_latex_formatter_patch/patch.rb
315
- - spec/fixtures/test/configuration.yaml
316
- - spec/fixtures/test/test.tex.erb
317
- - spec/indoctrinatr/templates/configuration_file_spec.rb
318
- - spec/indoctrinatr/templates/tex_file_spec.rb
319
- - spec/indoctrinatr/tools/textile_support_spec.rb
320
- - spec/indoctrinatr/tools/version_spec.rb
321
- - spec/redcloth_latex_formatter_patch/patch_spec.rb
322
- - spec/spec_helper.rb
323
- homepage: ''
301
+ - lib/indoctrinatr_tools.rb
302
+ homepage: https://github.com/dkd/indoctrinatr
324
303
  licenses:
325
304
  - MIT
326
- metadata: {}
327
- post_install_message:
305
+ metadata:
306
+ rubygems_mfa_required: 'true'
307
+ post_install_message:
328
308
  rdoc_options: []
329
309
  require_paths:
330
310
  - lib
@@ -332,7 +312,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
332
312
  requirements:
333
313
  - - "~>"
334
314
  - !ruby/object:Gem::Version
335
- version: '2.5'
315
+ version: '3.1'
336
316
  required_rubygems_version: !ruby/object:Gem::Requirement
337
317
  requirements:
338
318
  - - ">="
@@ -340,35 +320,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
340
320
  version: '0'
341
321
  requirements:
342
322
  - LaTeX development enviroment
343
- rubygems_version: 3.1.2
344
- signing_key:
323
+ rubygems_version: 3.3.26
324
+ signing_key:
345
325
  specification_version: 4
346
326
  summary: indoctrinatr-tools provides a set of command line tools for Indoctrinatr
347
327
  (an Open Source Software project by dkd Internet Service GmbH, Frankfurt am Main,
348
328
  Germany).
349
- test_files:
350
- - features/autocompletion_support.feature
351
- - features/demo.feature
352
- - features/doc_keepauxfiles.feature
353
- - features/documentation.feature
354
- - features/fieldnames_pdf.feature
355
- - features/fieldnames_pdf_auxfiles.feature
356
- - features/pack.feature
357
- - features/parse.feature
358
- - features/pdf.feature
359
- - features/pdf_keepauxfiles.feature
360
- - features/pdf_with_timestamp.feature
361
- - features/scaffold.feature
362
- - features/step_definitions/common.rb
363
- - features/step_definitions/indoctrinatr_cli.rb
364
- - features/support/env.rb
365
- - features/version.feature
366
- - features/workflow.feature
367
- - spec/fixtures/test/configuration.yaml
368
- - spec/fixtures/test/test.tex.erb
369
- - spec/indoctrinatr/templates/configuration_file_spec.rb
370
- - spec/indoctrinatr/templates/tex_file_spec.rb
371
- - spec/indoctrinatr/tools/textile_support_spec.rb
372
- - spec/indoctrinatr/tools/version_spec.rb
373
- - spec/redcloth_latex_formatter_patch/patch_spec.rb
374
- - spec/spec_helper.rb
329
+ test_files: []
checksums.yaml.gz.sig DELETED
@@ -1,3 +0,0 @@
1
- ��Q�q� ��Hy��wt� �ɹ`�u����G��&�P�ω�O�s�h؉r&tI�:���
2
- ���1�� �r=)絛t��(
3
- !�|��dž��sf��N��ͽ"��( ԰W��u��Է~
data/.coveralls.yml DELETED
@@ -1 +0,0 @@
1
- service_name: travis-ci
data/.travis.yml DELETED
@@ -1,16 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- cache: bundler
4
- rvm:
5
- - 2.7
6
- - 2.6
7
- - 2.5
8
-
9
- before_install:
10
- - gem install bundler --version=2.1.4 --no-doc
11
- - gem install bundler-audit --no-doc
12
-
13
- script:
14
- - bundle-audit check --update
15
- - bundle exec rubocop .
16
- - bundle exec indoctrinatr new demo