indoctrinatr-tools 0.15.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +9 -39
  3. data/.rubocop.yml +11 -6
  4. data/.ruby-version +1 -0
  5. data/CHANGELOG.md +14 -0
  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 +28 -29
  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 +4 -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} +17 -19
  35. data/lib/indoctrinatr/tools/template_documentation_content.rb +72 -23
  36. data/lib/indoctrinatr/tools/template_documentation_helpers.rb +1 -1
  37. data/lib/indoctrinatr/tools/template_documentation_source_file.rb +9 -14
  38. data/lib/indoctrinatr/tools/template_pack_configuration.rb +2 -1
  39. data/lib/indoctrinatr/tools/transactions/template_pack_default_values_compiler.rb +67 -0
  40. data/lib/indoctrinatr/tools/transactions/template_pack_default_values_parser.rb +82 -0
  41. data/lib/indoctrinatr/tools/transactions/template_pack_demo.rb +104 -0
  42. data/lib/indoctrinatr/tools/transactions/template_pack_documentation.rb +223 -0
  43. data/lib/indoctrinatr/tools/transactions/template_pack_error_checker.rb +127 -0
  44. data/lib/indoctrinatr/tools/transactions/template_pack_fieldnames_creator.rb +97 -0
  45. data/lib/indoctrinatr/tools/transactions/template_pack_packer.rb +73 -0
  46. data/lib/indoctrinatr/tools/transactions/template_pack_scaffold.rb +73 -0
  47. data/lib/indoctrinatr/tools/version.rb +1 -1
  48. data/lib/indoctrinatr_tools.rb +12 -0
  49. metadata +106 -141
  50. checksums.yaml.gz.sig +0 -0
  51. data/.arcconfig +0 -9
  52. data/.coveralls.yml +0 -1
  53. data/.travis.yml +0 -15
  54. data/bin/indoctrinatr +0 -185
  55. data/certs/dkd-reuschling.pem +0 -22
  56. data/features/autocompletion_support.feature +0 -9
  57. data/features/demo.feature +0 -17
  58. data/features/doc_keepauxfiles.feature +0 -13
  59. data/features/documentation.feature +0 -20
  60. data/features/fieldnames_pdf.feature +0 -9
  61. data/features/fieldnames_pdf_auxfiles.feature +0 -10
  62. data/features/pack.feature +0 -11
  63. data/features/parse.feature +0 -6
  64. data/features/pdf.feature +0 -15
  65. data/features/pdf_keepauxfiles.feature +0 -11
  66. data/features/pdf_with_timestamp.feature +0 -8
  67. data/features/scaffold.feature +0 -23
  68. data/features/step_definitions/common.rb +0 -3
  69. data/features/step_definitions/indoctrinatr_cli.rb +0 -11
  70. data/features/support/env.rb +0 -1
  71. data/features/version.feature +0 -5
  72. data/features/workflow.feature +0 -9
  73. data/lib/indoctrinatr/tools/directory_helpers.rb +0 -18
  74. data/lib/indoctrinatr/tools/template_pack_default_values_compiler.rb +0 -47
  75. data/lib/indoctrinatr/tools/template_pack_default_values_parser.rb +0 -55
  76. data/lib/indoctrinatr/tools/template_pack_demo.rb +0 -23
  77. data/lib/indoctrinatr/tools/template_pack_documentation.rb +0 -132
  78. data/lib/indoctrinatr/tools/template_pack_error_checker.rb +0 -104
  79. data/lib/indoctrinatr/tools/template_pack_fieldnames_creator.rb +0 -79
  80. data/lib/indoctrinatr/tools/template_pack_helpers.rb +0 -68
  81. data/lib/indoctrinatr/tools/template_pack_packer.rb +0 -49
  82. data/lib/indoctrinatr/tools/template_pack_scaffold.rb +0 -57
  83. data/lib/indoctrinatr/tools.rb +0 -9
  84. data/spec/fixtures/test/configuration.yaml +0 -26
  85. data/spec/fixtures/test/test.tex.erb +0 -15
  86. data/spec/indoctrinatr/templates/configuration_file_spec.rb +0 -9
  87. data/spec/indoctrinatr/templates/tex_file_spec.rb +0 -9
  88. data/spec/indoctrinatr/tools/textile_support_spec.rb +0 -18
  89. data/spec/indoctrinatr/tools/version_spec.rb +0 -8
  90. data/spec/redcloth_latex_formatter_patch/patch_spec.rb +0 -34
  91. data/spec/spec_helper.rb +0 -2
  92. data.tar.gz.sig +0 -0
  93. metadata.gz.sig +0 -0
@@ -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.15.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,193 +1,170 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: indoctrinatr-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.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
- MIIDjjCCAnagAwIBAgIBATANBgkqhkiG9w0BAQUFADBGMRswGQYDVQQDDBJuaWNv
15
- bGFpLnJldXNjaGxpbmcxEzARBgoJkiaJk/IsZAEZFgNka2QxEjAQBgoJkiaJk/Is
16
- ZAEZFgJkZTAeFw0xNjA5MTQwODI4MDFaFw0xNzA5MTQwODI4MDFaMEYxGzAZBgNV
17
- BAMMEm5pY29sYWkucmV1c2NobGluZzETMBEGCgmSJomT8ixkARkWA2RrZDESMBAG
18
- CgmSJomT8ixkARkWAmRlMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA
19
- vlHNuOcO6oCtv59swqYd181lxf2sCVwajmLuXC0EiYfwMCKRlelLmmYOH61arTCJ
20
- iUaoGOCE9HCt1ZxVkN/bcSIqMO4MNbRuq2o2DrBsKWSMaCvUYTJi6F+JyKlL/XFY
21
- Pc9NoIyT1FJ5UnDC3M0lBsvJOdRkjxuK5pImv+lei3ZarIL/7TP511fMjTRbrzo1
22
- GltFvcM1HaXk/n2DU2IevCI+PNaP6+IiAJe3iPnDElxmYQO4lAhkt2RwtyntcYyk
23
- Wc2w5yvsEy/Dj/k0lL/tAb+fuPfEw6sJGmt53fjrGVSgbmx5W67ua8KGQ4WV4SSQ
24
- qia8AR2ILljAHZl3USm2SQIDAQABo4GGMIGDMAkGA1UdEwQCMAAwCwYDVR0PBAQD
25
- AgSwMB0GA1UdDgQWBBRsKZ1MC723dEnBg972E4nclYGV+jAkBgNVHREEHTAbgRlu
26
- aWNvbGFpLnJldXNjaGxpbmdAZGtkLmRlMCQGA1UdEgQdMBuBGW5pY29sYWkucmV1
27
- c2NobGluZ0Bka2QuZGUwDQYJKoZIhvcNAQEFBQADggEBAJ16ezxNfUUADQ4y3PwM
28
- 2+E26mJS0sUegKaL+YjD9egiEJkA5BPGhd9+FbRy9eNN4G86G161v97odCSXwGSE
29
- Mnk0CbTpL7i/OdxgwE2xyxaf3pGU5Qw676Vu1rSvTUdYzu8W8OvmH5BVq3o7TPqW
30
- JKgPr7MayKysuMrevACFOMzLxxcyHOxs096U/0ei93La54dqCUBA449Wt9aufwGP
31
- 5ioQ8Y60Ugn6PY1YT48+dvM53frMrYA8/ts51cItvU9iJAfYIeE7Zfi9XBRxZ0W6
32
- HOu/JTkMVu8oWst3Fhxdqaqw1a1uFYiG5VkcX0hsPUFS+ZDJhAhi1eu5Pea1dZq4
33
- CZs=
34
- -----END CERTIFICATE-----
35
- date: 2017-04-16 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
36
13
  dependencies:
37
14
  - !ruby/object:Gem::Dependency
38
- name: bundler
15
+ name: aruba
39
16
  requirement: !ruby/object:Gem::Requirement
40
17
  requirements:
41
18
  - - "~>"
42
19
  - !ruby/object:Gem::Version
43
- version: '1.14'
20
+ version: '2.1'
44
21
  type: :development
45
22
  prerelease: false
46
23
  version_requirements: !ruby/object:Gem::Requirement
47
24
  requirements:
48
25
  - - "~>"
49
26
  - !ruby/object:Gem::Version
50
- version: '1.14'
27
+ version: '2.1'
51
28
  - !ruby/object:Gem::Dependency
52
- name: rake
29
+ name: bundler
53
30
  requirement: !ruby/object:Gem::Requirement
54
31
  requirements:
55
32
  - - "~>"
56
33
  - !ruby/object:Gem::Version
57
- version: '12.0'
34
+ version: '2.0'
58
35
  type: :development
59
36
  prerelease: false
60
37
  version_requirements: !ruby/object:Gem::Requirement
61
38
  requirements:
62
39
  - - "~>"
63
40
  - !ruby/object:Gem::Version
64
- version: '12.0'
41
+ version: '2.0'
65
42
  - !ruby/object:Gem::Dependency
66
- name: rspec
43
+ name: cucumber
67
44
  requirement: !ruby/object:Gem::Requirement
68
45
  requirements:
69
46
  - - "~>"
70
47
  - !ruby/object:Gem::Version
71
- version: '3.5'
48
+ version: '8.0'
72
49
  type: :development
73
50
  prerelease: false
74
51
  version_requirements: !ruby/object:Gem::Requirement
75
52
  requirements:
76
53
  - - "~>"
77
54
  - !ruby/object:Gem::Version
78
- version: '3.5'
55
+ version: '8.0'
79
56
  - !ruby/object:Gem::Dependency
80
- name: cucumber
57
+ name: rake
81
58
  requirement: !ruby/object:Gem::Requirement
82
59
  requirements:
83
60
  - - "~>"
84
61
  - !ruby/object:Gem::Version
85
- version: '2.4'
62
+ version: '13.0'
86
63
  type: :development
87
64
  prerelease: false
88
65
  version_requirements: !ruby/object:Gem::Requirement
89
66
  requirements:
90
67
  - - "~>"
91
68
  - !ruby/object:Gem::Version
92
- version: '2.4'
69
+ version: '13.0'
93
70
  - !ruby/object:Gem::Dependency
94
- name: aruba
71
+ name: rspec
95
72
  requirement: !ruby/object:Gem::Requirement
96
73
  requirements:
97
74
  - - "~>"
98
75
  - !ruby/object:Gem::Version
99
- version: '0.14'
76
+ version: '3.10'
100
77
  type: :development
101
78
  prerelease: false
102
79
  version_requirements: !ruby/object:Gem::Requirement
103
80
  requirements:
104
81
  - - "~>"
105
82
  - !ruby/object:Gem::Version
106
- version: '0.14'
83
+ version: '3.10'
107
84
  - !ruby/object:Gem::Dependency
108
85
  name: rubocop
109
86
  requirement: !ruby/object:Gem::Requirement
110
87
  requirements:
111
88
  - - "~>"
112
89
  - !ruby/object:Gem::Version
113
- version: '0.48'
90
+ version: '1.0'
114
91
  type: :development
115
92
  prerelease: false
116
93
  version_requirements: !ruby/object:Gem::Requirement
117
94
  requirements:
118
95
  - - "~>"
119
96
  - !ruby/object:Gem::Version
120
- version: '0.48'
97
+ version: '1.0'
121
98
  - !ruby/object:Gem::Dependency
122
- name: rubocop-rspec
99
+ name: rubocop-performance
123
100
  requirement: !ruby/object:Gem::Requirement
124
101
  requirements:
125
102
  - - "~>"
126
103
  - !ruby/object:Gem::Version
127
- version: '1.15'
104
+ version: '1.10'
128
105
  type: :development
129
106
  prerelease: false
130
107
  version_requirements: !ruby/object:Gem::Requirement
131
108
  requirements:
132
109
  - - "~>"
133
110
  - !ruby/object:Gem::Version
134
- version: '1.15'
111
+ version: '1.10'
135
112
  - !ruby/object:Gem::Dependency
136
- name: pry
113
+ name: rubocop-rspec
137
114
  requirement: !ruby/object:Gem::Requirement
138
115
  requirements:
139
116
  - - "~>"
140
117
  - !ruby/object:Gem::Version
141
- version: '0.10'
118
+ version: '2.0'
142
119
  type: :development
143
120
  prerelease: false
144
121
  version_requirements: !ruby/object:Gem::Requirement
145
122
  requirements:
146
123
  - - "~>"
147
124
  - !ruby/object:Gem::Version
148
- version: '0.10'
125
+ version: '2.0'
149
126
  - !ruby/object:Gem::Dependency
150
- name: coveralls
127
+ name: simplecov
151
128
  requirement: !ruby/object:Gem::Requirement
152
129
  requirements:
153
130
  - - "~>"
154
131
  - !ruby/object:Gem::Version
155
- version: '0.8'
132
+ version: '0.21'
156
133
  type: :development
157
134
  prerelease: false
158
135
  version_requirements: !ruby/object:Gem::Requirement
159
136
  requirements:
160
137
  - - "~>"
161
138
  - !ruby/object:Gem::Version
162
- version: '0.8'
139
+ version: '0.21'
163
140
  - !ruby/object:Gem::Dependency
164
- name: gli
141
+ name: dry-cli
165
142
  requirement: !ruby/object:Gem::Requirement
166
143
  requirements:
167
144
  - - "~>"
168
145
  - !ruby/object:Gem::Version
169
- version: '2.16'
146
+ version: '1.0'
170
147
  type: :runtime
171
148
  prerelease: false
172
149
  version_requirements: !ruby/object:Gem::Requirement
173
150
  requirements:
174
151
  - - "~>"
175
152
  - !ruby/object:Gem::Version
176
- version: '2.16'
153
+ version: '1.0'
177
154
  - !ruby/object:Gem::Dependency
178
- name: rubyzip
155
+ name: dry-transaction
179
156
  requirement: !ruby/object:Gem::Requirement
180
157
  requirements:
181
158
  - - "~>"
182
159
  - !ruby/object:Gem::Version
183
- version: '1.2'
160
+ version: '0.13'
184
161
  type: :runtime
185
162
  prerelease: false
186
163
  version_requirements: !ruby/object:Gem::Requirement
187
164
  requirements:
188
165
  - - "~>"
189
166
  - !ruby/object:Gem::Version
190
- version: '1.2'
167
+ version: '0.13'
191
168
  - !ruby/object:Gem::Dependency
192
169
  name: erubis
193
170
  requirement: !ruby/object:Gem::Requirement
@@ -202,6 +179,34 @@ dependencies:
202
179
  - - "~>"
203
180
  - !ruby/object:Gem::Version
204
181
  version: '2.7'
182
+ - !ruby/object:Gem::Dependency
183
+ name: RedCloth
184
+ requirement: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - "~>"
187
+ - !ruby/object:Gem::Version
188
+ version: '4.3'
189
+ type: :runtime
190
+ prerelease: false
191
+ version_requirements: !ruby/object:Gem::Requirement
192
+ requirements:
193
+ - - "~>"
194
+ - !ruby/object:Gem::Version
195
+ version: '4.3'
196
+ - !ruby/object:Gem::Dependency
197
+ name: rubyzip
198
+ requirement: !ruby/object:Gem::Requirement
199
+ requirements:
200
+ - - "~>"
201
+ - !ruby/object:Gem::Version
202
+ version: '2'
203
+ type: :runtime
204
+ prerelease: false
205
+ version_requirements: !ruby/object:Gem::Requirement
206
+ requirements:
207
+ - - "~>"
208
+ - !ruby/object:Gem::Version
209
+ version: '2'
205
210
  - !ruby/object:Gem::Dependency
206
211
  name: to_latex
207
212
  requirement: !ruby/object:Gem::Requirement
@@ -217,33 +222,31 @@ dependencies:
217
222
  - !ruby/object:Gem::Version
218
223
  version: '0.5'
219
224
  - !ruby/object:Gem::Dependency
220
- name: RedCloth
225
+ name: zeitwerk
221
226
  requirement: !ruby/object:Gem::Requirement
222
227
  requirements:
223
228
  - - "~>"
224
229
  - !ruby/object:Gem::Version
225
- version: '4.3'
230
+ version: '2.6'
226
231
  type: :runtime
227
232
  prerelease: false
228
233
  version_requirements: !ruby/object:Gem::Requirement
229
234
  requirements:
230
235
  - - "~>"
231
236
  - !ruby/object:Gem::Version
232
- version: '4.3'
233
- description:
237
+ version: '2.6'
238
+ description:
234
239
  email:
235
240
  - nicolai.reuschling@dkd.de
236
- - luka.luedicke@dkd.de
241
+ - eike.henrich@dkd.de
237
242
  executables:
238
243
  - indoctrinatr
239
244
  extensions: []
240
245
  extra_rdoc_files: []
241
246
  files:
242
- - ".arcconfig"
243
- - ".coveralls.yml"
244
247
  - ".gitignore"
245
248
  - ".rubocop.yml"
246
- - ".travis.yml"
249
+ - ".ruby-version"
247
250
  - CHANGELOG.md
248
251
  - Gemfile
249
252
  - LICENSE
@@ -251,26 +254,8 @@ files:
251
254
  - Rakefile
252
255
  - assets/images/dkd_logo.png
253
256
  - assets/images/logo.png
254
- - bin/indoctrinatr
255
- - certs/dkd-reuschling.pem
256
257
  - cucumber.yml
257
- - features/autocompletion_support.feature
258
- - features/demo.feature
259
- - features/doc_keepauxfiles.feature
260
- - features/documentation.feature
261
- - features/fieldnames_pdf.feature
262
- - features/fieldnames_pdf_auxfiles.feature
263
- - features/pack.feature
264
- - features/parse.feature
265
- - features/pdf.feature
266
- - features/pdf_keepauxfiles.feature
267
- - features/pdf_with_timestamp.feature
268
- - features/scaffold.feature
269
- - features/step_definitions/common.rb
270
- - features/step_definitions/indoctrinatr_cli.rb
271
- - features/support/env.rb
272
- - features/version.feature
273
- - features/workflow.feature
258
+ - exe/indoctrinatr
274
259
  - indoctrinatr-tools.gemspec
275
260
  - lib/indoctrinatr/templates/configuration.yaml
276
261
  - lib/indoctrinatr/templates/documentation/dkd-image-tools.sty
@@ -279,41 +264,47 @@ files:
279
264
  - lib/indoctrinatr/templates/documentation/indoctrinatr-technical-documentation.tex.erb
280
265
  - lib/indoctrinatr/templates/documentation/indoctrinatr_letterpaper.pdf
281
266
  - lib/indoctrinatr/templates/template.tex.erb
282
- - 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
283
282
  - lib/indoctrinatr/tools/configuration_extractor.rb
284
283
  - lib/indoctrinatr/tools/content_for_tex_files.rb
285
284
  - lib/indoctrinatr/tools/default_values.rb
286
- - lib/indoctrinatr/tools/directory_helpers.rb
287
285
  - lib/indoctrinatr/tools/field_name_values.rb
288
286
  - lib/indoctrinatr/tools/pdf_generator.rb
287
+ - lib/indoctrinatr/tools/redcloth_formatters_latex_patch.rb
289
288
  - lib/indoctrinatr/tools/template_documentation_content.rb
290
289
  - lib/indoctrinatr/tools/template_documentation_helpers.rb
291
290
  - lib/indoctrinatr/tools/template_documentation_source_file.rb
292
291
  - lib/indoctrinatr/tools/template_pack_configuration.rb
293
- - lib/indoctrinatr/tools/template_pack_default_values_compiler.rb
294
- - lib/indoctrinatr/tools/template_pack_default_values_parser.rb
295
- - lib/indoctrinatr/tools/template_pack_demo.rb
296
- - lib/indoctrinatr/tools/template_pack_documentation.rb
297
- - lib/indoctrinatr/tools/template_pack_error_checker.rb
298
- - lib/indoctrinatr/tools/template_pack_fieldnames_creator.rb
299
- - lib/indoctrinatr/tools/template_pack_helpers.rb
300
- - lib/indoctrinatr/tools/template_pack_packer.rb
301
- - 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
302
300
  - lib/indoctrinatr/tools/version.rb
303
- - lib/redcloth_latex_formatter_patch/patch.rb
304
- - spec/fixtures/test/configuration.yaml
305
- - spec/fixtures/test/test.tex.erb
306
- - spec/indoctrinatr/templates/configuration_file_spec.rb
307
- - spec/indoctrinatr/templates/tex_file_spec.rb
308
- - spec/indoctrinatr/tools/textile_support_spec.rb
309
- - spec/indoctrinatr/tools/version_spec.rb
310
- - spec/redcloth_latex_formatter_patch/patch_spec.rb
311
- - spec/spec_helper.rb
312
- homepage: ''
301
+ - lib/indoctrinatr_tools.rb
302
+ homepage: https://github.com/dkd/indoctrinatr
313
303
  licenses:
314
304
  - MIT
315
- metadata: {}
316
- post_install_message:
305
+ metadata:
306
+ rubygems_mfa_required: 'true'
307
+ post_install_message:
317
308
  rdoc_options: []
318
309
  require_paths:
319
310
  - lib
@@ -321,7 +312,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
321
312
  requirements:
322
313
  - - "~>"
323
314
  - !ruby/object:Gem::Version
324
- version: '2.2'
315
+ version: '3.1'
325
316
  required_rubygems_version: !ruby/object:Gem::Requirement
326
317
  requirements:
327
318
  - - ">="
@@ -329,36 +320,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
329
320
  version: '0'
330
321
  requirements:
331
322
  - LaTeX development enviroment
332
- rubyforge_project:
333
- rubygems_version: 2.6.11
334
- signing_key:
323
+ rubygems_version: 3.3.26
324
+ signing_key:
335
325
  specification_version: 4
336
326
  summary: indoctrinatr-tools provides a set of command line tools for Indoctrinatr
337
327
  (an Open Source Software project by dkd Internet Service GmbH, Frankfurt am Main,
338
328
  Germany).
339
- test_files:
340
- - features/autocompletion_support.feature
341
- - features/demo.feature
342
- - features/doc_keepauxfiles.feature
343
- - features/documentation.feature
344
- - features/fieldnames_pdf.feature
345
- - features/fieldnames_pdf_auxfiles.feature
346
- - features/pack.feature
347
- - features/parse.feature
348
- - features/pdf.feature
349
- - features/pdf_keepauxfiles.feature
350
- - features/pdf_with_timestamp.feature
351
- - features/scaffold.feature
352
- - features/step_definitions/common.rb
353
- - features/step_definitions/indoctrinatr_cli.rb
354
- - features/support/env.rb
355
- - features/version.feature
356
- - features/workflow.feature
357
- - spec/fixtures/test/configuration.yaml
358
- - spec/fixtures/test/test.tex.erb
359
- - spec/indoctrinatr/templates/configuration_file_spec.rb
360
- - spec/indoctrinatr/templates/tex_file_spec.rb
361
- - spec/indoctrinatr/tools/textile_support_spec.rb
362
- - spec/indoctrinatr/tools/version_spec.rb
363
- - spec/redcloth_latex_formatter_patch/patch_spec.rb
364
- - spec/spec_helper.rb
329
+ test_files: []
checksums.yaml.gz.sig DELETED
Binary file
data/.arcconfig DELETED
@@ -1,9 +0,0 @@
1
- {
2
- "phabricator.uri": "https://phabricator.dkd.de/",
3
- "project.name": "indoctrinatr-tools",
4
- "repository.callsign": "INDOCTRINATRTOOLS",
5
- "arc.feature.start.default": "development",
6
- "arc.land.onto.default": "development",
7
- "history.immutable": true,
8
- "base": "git:merge-base(development),arc:upstream"
9
- }
data/.coveralls.yml DELETED
@@ -1 +0,0 @@
1
- service_name: travis-ci
data/.travis.yml DELETED
@@ -1,15 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- rvm:
4
- - '2.4.1'
5
- - '2.3.4'
6
- - '2.2.7'
7
- cache: bundler
8
-
9
- before_install:
10
- - gem install bundler --no-document
11
-
12
- script:
13
- - bundle exec rubocop --version
14
- - bundle exec rubocop --display-cop-names --extra-details
15
- - bundle exec indoctrinatr new demo