pandocomatic 0.0.13 → 0.1.0.b

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 (46) hide show
  1. checksums.yaml +4 -4
  2. data/bin/pandocomatic +2 -78
  3. data/lib/pandocomatic/cli.rb +183 -0
  4. data/lib/pandocomatic/command/command.rb +113 -0
  5. data/lib/pandocomatic/command/convert_dir_command.rb +155 -0
  6. data/lib/pandocomatic/command/convert_file_command.rb +163 -0
  7. data/lib/pandocomatic/command/copy_file_command.rb +49 -0
  8. data/lib/pandocomatic/command/create_link_command.rb +85 -0
  9. data/lib/pandocomatic/command/skip_command.rb +50 -0
  10. data/lib/pandocomatic/configuration.rb +212 -164
  11. data/lib/pandocomatic/error/cli_error.rb +49 -0
  12. data/lib/pandocomatic/error/configuration_error.rb +39 -0
  13. data/lib/pandocomatic/error/io_error.rb +50 -0
  14. data/lib/pandocomatic/error/pandoc_error.rb +30 -0
  15. data/lib/pandocomatic/error/pandocomatic_error.rb +48 -0
  16. data/lib/pandocomatic/error/processor_error.rb +33 -0
  17. data/lib/pandocomatic/fileinfo_preprocessor.rb +34 -13
  18. data/lib/pandocomatic/pandoc_metadata.rb +66 -34
  19. data/lib/pandocomatic/pandocomatic.rb +176 -0
  20. data/lib/pandocomatic/printer/command_printer.rb +28 -0
  21. data/lib/pandocomatic/printer/configuration_errors_printer.rb +29 -0
  22. data/lib/pandocomatic/printer/error_printer.rb +34 -0
  23. data/lib/pandocomatic/printer/finish_printer.rb +44 -0
  24. data/lib/pandocomatic/printer/help_printer.rb +27 -0
  25. data/lib/pandocomatic/printer/printer.rb +43 -0
  26. data/lib/pandocomatic/printer/summary_printer.rb +35 -0
  27. data/lib/pandocomatic/printer/version_printer.rb +30 -0
  28. data/lib/pandocomatic/printer/views/cli_error.txt +12 -0
  29. data/lib/pandocomatic/printer/views/command.txt +1 -0
  30. data/lib/pandocomatic/printer/views/configuration_error.txt +1 -0
  31. data/lib/pandocomatic/printer/views/configuration_errors.txt +10 -0
  32. data/lib/pandocomatic/printer/views/error.txt +5 -0
  33. data/lib/pandocomatic/printer/views/finish.txt +1 -0
  34. data/lib/pandocomatic/printer/views/help.txt +135 -0
  35. data/lib/pandocomatic/printer/views/io_error.txt +12 -0
  36. data/lib/pandocomatic/printer/views/pandoc_error.txt +1 -0
  37. data/lib/pandocomatic/printer/views/processor_error.txt +6 -0
  38. data/lib/pandocomatic/printer/views/summary.txt +1 -0
  39. data/lib/pandocomatic/printer/views/version.txt +7 -0
  40. data/lib/pandocomatic/printer/views/warning.txt +1 -0
  41. data/lib/pandocomatic/printer/warning_printer.rb +33 -0
  42. data/lib/pandocomatic/processor.rb +25 -8
  43. data/lib/pandocomatic/warning.rb +36 -0
  44. metadata +79 -17
  45. data/lib/pandocomatic/dir_converter.rb +0 -119
  46. data/lib/pandocomatic/file_converter.rb +0 -99
@@ -0,0 +1,27 @@
1
+ #--
2
+ # Copyright 2017, Huub de Beer <Huub@heerdebeer.org>
3
+ #
4
+ # This file is part of pandocomatic.
5
+ #
6
+ # Pandocomatic is free software: you can redistribute it and/or modify
7
+ # it under the terms of the GNU General Public License as published by the
8
+ # Free Software Foundation, either version 3 of the License, or (at your
9
+ # option) any later version.
10
+ #
11
+ # Pandocomatic is distributed in the hope that it will be useful, but
12
+ # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13
+ # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14
+ # for more details.
15
+ #
16
+ # You should have received a copy of the GNU General Public License along
17
+ # with pandocomatic. If not, see <http://www.gnu.org/licenses/>.
18
+ #++
19
+ module Pandocomatic
20
+ require_relative './printer.rb'
21
+
22
+ class HelpPrinter < Printer
23
+ def initialize()
24
+ super 'help.txt'
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,43 @@
1
+ #--
2
+ # Copyright 2017, Huub de Beer <Huub@heerdebeer.org>
3
+ #
4
+ # This file is part of pandocomatic.
5
+ #
6
+ # Pandocomatic is free software: you can redistribute it and/or modify
7
+ # it under the terms of the GNU General Public License as published by the
8
+ # Free Software Foundation, either version 3 of the License, or (at your
9
+ # option) any later version.
10
+ #
11
+ # Pandocomatic is distributed in the hope that it will be useful, but
12
+ # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13
+ # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14
+ # for more details.
15
+ #
16
+ # You should have received a copy of the GNU General Public License along
17
+ # with pandocomatic. If not, see <http://www.gnu.org/licenses/>.
18
+ #++
19
+ module Pandocomatic
20
+ require 'erb'
21
+
22
+ class Printer
23
+
24
+ def initialize(template_file = 'help.txt')
25
+ set_template template_file
26
+ end
27
+
28
+ def set_template(template_file)
29
+ dir = File.dirname(__FILE__)
30
+ @template = File.absolute_path(File.join(dir, 'views', template_file))
31
+ end
32
+
33
+ def to_s()
34
+ erb = ERB.new(File.read(@template), 0, '>')
35
+ erb.result(binding())
36
+ end
37
+
38
+ def print()
39
+ puts to_s()
40
+ end
41
+
42
+ end
43
+ end
@@ -0,0 +1,35 @@
1
+ #--
2
+ # Copyright 2017, Huub de Beer <Huub@heerdebeer.org>
3
+ #
4
+ # This file is part of pandocomatic.
5
+ #
6
+ # Pandocomatic is free software: you can redistribute it and/or modify
7
+ # it under the terms of the GNU General Public License as published by the
8
+ # Free Software Foundation, either version 3 of the License, or (at your
9
+ # option) any later version.
10
+ #
11
+ # Pandocomatic is distributed in the hope that it will be useful, but
12
+ # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13
+ # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14
+ # for more details.
15
+ #
16
+ # You should have received a copy of the GNU General Public License along
17
+ # with pandocomatic. If not, see <http://www.gnu.org/licenses/>.
18
+ #++
19
+ module Pandocomatic
20
+ require_relative './printer.rb'
21
+
22
+ class SummaryPrinter < Printer
23
+ def initialize(command, input, output)
24
+ super 'summary.txt'
25
+ @command = command
26
+ @input = input
27
+ @output = output
28
+ end
29
+
30
+ def commands()
31
+ "#{@command.count} command#{'s' if @command.count != 1}"
32
+ end
33
+
34
+ end
35
+ end
@@ -0,0 +1,30 @@
1
+ #--
2
+ # Copyright 2017, Huub de Beer <Huub@heerdebeer.org>
3
+ #
4
+ # This file is part of pandocomatic.
5
+ #
6
+ # Pandocomatic is free software: you can redistribute it and/or modify
7
+ # it under the terms of the GNU General Public License as published by the
8
+ # Free Software Foundation, either version 3 of the License, or (at your
9
+ # option) any later version.
10
+ #
11
+ # Pandocomatic is distributed in the hope that it will be useful, but
12
+ # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13
+ # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14
+ # for more details.
15
+ #
16
+ # You should have received a copy of the GNU General Public License along
17
+ # with pandocomatic. If not, see <http://www.gnu.org/licenses/>.
18
+ #++
19
+ module Pandocomatic
20
+ require_relative './printer.rb'
21
+
22
+ class VersionPrinter < Printer
23
+
24
+ def initialize version
25
+ super 'version.txt'
26
+ @version = version
27
+ end
28
+
29
+ end
30
+ end
@@ -0,0 +1,12 @@
1
+ <%=@error.message%>: <% case @error.type
2
+ when :no_input_given%>
3
+ Specify the input file or directory with the option `--input PATH`.
4
+ <% when :unknown_option %>
5
+ See `pandocomatic --help` which options are allowed.
6
+ <% when :too_many_options %>
7
+ <%= @error.data.join(" ") %>.
8
+ <% when :problematic_invocation %>
9
+ <%=@error.error.message%>.
10
+ <% else %>
11
+ '<%= @error.data %>'.
12
+ <% end %>
@@ -0,0 +1 @@
1
+ (<%=@command.index_to_s%>) <%=if @command.directory? then "+ " else " - " end%><%= @command.to_s%>
@@ -0,0 +1 @@
1
+ <%=@error.message%>: '<%= @error.data %>'.
@@ -0,0 +1,10 @@
1
+ Pandocomatic has encountered the following errors while trying to configure
2
+ the conversion process:
3
+
4
+ <% @errors.each do |error| %>
5
+ - <%= error.show %>
6
+ <% end %>
7
+
8
+ Pandocomatic will not start the conversion process before these errors are
9
+ resolved. See `pandocomatic --help` for more information on how to use
10
+ pandocomatic.
@@ -0,0 +1,5 @@
1
+ Pandocomatic has encountered an error:
2
+
3
+ <%= @error.message %>
4
+ <%= @error.data %>
5
+ <%= @error.error %>
@@ -0,0 +1 @@
1
+ Pandocomatic needed <%=duration%> to convert '<%= @input %>' to '<%= @output %>'.
@@ -0,0 +1,135 @@
1
+
2
+ Pandocomatic. Automate the use of pandoc to convert files or directories.
3
+
4
+ USAGE
5
+
6
+ pandocomatic options [INPUT]
7
+
8
+ DESCRIPTION
9
+
10
+ Automate the use of pandoc. Either converts a single file or a directory
11
+ tree. Configure the conversion process through configuration files. Each
12
+ input file that is converted by pandocomatic is processed as follows:
13
+
14
+ input_file ->
15
+ preprocessor(0) -> ... -> preprocessor(N) ->
16
+ pandoc ->
17
+ postprocessor(0) -> ... -> postprocessor(M) ->
18
+ output_file
19
+
20
+ The preprocessors and postprocessors used in the conversion process are
21
+ configured in pandocomatic templates. Besides processors, you can also
22
+ specify pandoc options to use to convert the input file. These templates are
23
+ specified in a configuration file. Templates can be used over and over, thus
24
+ automating the use of pandoc.
25
+
26
+ OPTIONS
27
+
28
+ -i PATH, --input PATH
29
+ Convert PATH. If this option is not given, INPUT is
30
+ converted. INPUT and --input cannot be used together.
31
+
32
+ -o PATH, --output PATH
33
+ Create converted files and directories in PATH.
34
+
35
+ optional arguments:
36
+
37
+ -d PATH, --data-dir PATH
38
+ Configure pandocomatic to use PATH as its data directory.
39
+ Default is PANDOC's data dir. (See `pandoc --version` to
40
+ find PANDOC's data dir.)
41
+
42
+ -c PATH, --config PATH
43
+ Configure pandocomatic to use PATH as its configuration file
44
+ to use during the conversion process. Default is
45
+ DATA_DIR/pandocomatic.yaml.
46
+
47
+ Configuration files are YAML files and can contain the
48
+ following properties:
49
+
50
+ - data-dir: PATH (see --data-dir option)
51
+
52
+ - settings:
53
+ - skip: [GLOB PATTERNS] files to not convert. By default
54
+ hidden files (starting with a ".") and
55
+ "pandocomatic.yaml" are skipped.
56
+ - recursive: BOOLEAN convert this directory recursively.
57
+ Default is TRUE
58
+ - follow_links: BOOLEAN follow symbolic links. Default is
59
+ TRUE
60
+
61
+ - templates:
62
+ - glob: [GLOB PATTERNS] files to convert using this
63
+ template.
64
+ - preprocessors: [SCRIPTS] paths to scripts to run before
65
+ converting with pandoc.
66
+ - postprocessors: [SCRIPTS] paths to scripts to run after
67
+ converting with pandoc.
68
+ - pandoc: PANDOC OPTIONS to use when converting with
69
+ pandoc.
70
+
71
+ Each file and directory that is converted can contain a
72
+ configuration YAML metadata block or YAML configuration file
73
+ respectively. In a file, the property 'use-template' tells
74
+ pandocomatic which template to use.
75
+
76
+ -m, --modified-only
77
+
78
+ Only convert files that have been modified. Only source files
79
+ that have been updated later than the corresponding
80
+ destination files will be converted, copied, or linked.
81
+ Default is FALSE.
82
+
83
+ -q, --quiet Run pandocomatic quietly. Default is FALSE.
84
+
85
+ -y, --dry-run Configure pandocomatic to run the conversion process, but do
86
+ not actually run it. Default is FALSE.
87
+
88
+ -v, --version Show the version. If this option is used, all other options
89
+ are ignored.
90
+
91
+ -h, --help Show this help. If this options is used, all other options
92
+ but --version are ignored.
93
+
94
+ EXAMPLE:
95
+
96
+ Convert `hello.md` to `hello.html` according to the configuration in
97
+ `pandocomatic.yaml`:
98
+
99
+ pandocomatic --config pandocomatic.yaml -o hello.html -i hello.md
100
+
101
+ Generate a static site using data directory `assets`:
102
+
103
+ pandocomatic --data-dir assets/ -o website/ -i source/
104
+
105
+ SEE ALSO
106
+
107
+ - Pandocomatic's documentation
108
+ https://heerdebeer.org/Software/markdown/pandocomatic/
109
+
110
+ - Pandoc's manual
111
+ http://pandoc.org/MANUAL.html
112
+
113
+ - YAML website
114
+ http://yaml.org/
115
+
116
+ AUTHOR
117
+
118
+ Huub de Beer <Huub@heerdebeer.org>
119
+
120
+ LICENSE
121
+
122
+ Copyright 2014, 2015, 2016, 2017, Huub de Beer <Huub@heerdebeer.org>
123
+
124
+ Pandocomatic is free software: you can redistribute it and/or modify
125
+ it under the terms of the GNU General Public License as published by the
126
+ Free Software Foundation, either version 3 of the License, or (at your
127
+ option) any later version.
128
+
129
+ Pandocomatic is distributed in the hope that it will be useful, but
130
+ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
131
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
132
+ for more details.
133
+
134
+ You should have received a copy of the GNU General Public License along
135
+ with pandocomatic. If not, see <http://www.gnu.org/licenses/>.
@@ -0,0 +1,12 @@
1
+ <%=@error.message%>: <% case @error.type
2
+ when :error_opening_file%>
3
+ <%=@error.error.message %>.
4
+ <% when :error_writing_file %>
5
+ <%=@error.error.message%>.
6
+ <% when :error_opening_directory %>
7
+ <%=@error.error.message%>.
8
+ <% when :error_creating_directory %>
9
+ <%=@error.error.message%>.
10
+ <% else %>
11
+ '<%= @error.data %>'.
12
+ <% end %>
@@ -0,0 +1 @@
1
+ <%=@error.message%>: '<%= @error.error.message %>'.
@@ -0,0 +1,6 @@
1
+ <%=@error.message%>: <% case @error.type
2
+ when :error_processing_script%>
3
+ <%= @error[0] %> (<%= @error[1] %>).
4
+ <% else %>
5
+ '<%= @error.data %>'.
6
+ <% end %>
@@ -0,0 +1 @@
1
+ <% if @command.count <= 0 then%>Nothing to do<% else %><%= commands %> to execute to convert '<%= @input %>' to '<%= @output %>'<% end %>.
@@ -0,0 +1,7 @@
1
+ Pandocomatic version <%=@version.join('.')%>
2
+ © 2014, 2015, 2016, 2017 Huub de Beer <Huub@heerdebeer.org>
3
+
4
+ Pandocomatic is free software; pandocomatic is released under the GPLv3.
5
+
6
+ For more information about pandocomatic run 'pandocomatic --help' or read its
7
+ documentation at https://heerdebeer.org/Software/markdown/pandocomatic/.
@@ -0,0 +1 @@
1
+ Warning. <%=@warning.message.to_s%>: <%=@warning.src%>
@@ -0,0 +1,33 @@
1
+ #--
2
+ # Copyright 2017, Huub de Beer <Huub@heerdebeer.org>
3
+ #
4
+ # This file is part of pandocomatic.
5
+ #
6
+ # Pandocomatic is free software: you can redistribute it and/or modify
7
+ # it under the terms of the GNU General Public License as published by the
8
+ # Free Software Foundation, either version 3 of the License, or (at your
9
+ # option) any later version.
10
+ #
11
+ # Pandocomatic is distributed in the hope that it will be useful, but
12
+ # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13
+ # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14
+ # for more details.
15
+ #
16
+ # You should have received a copy of the GNU General Public License along
17
+ # with pandocomatic. If not, see <http://www.gnu.org/licenses/>.
18
+ #++
19
+ module Pandocomatic
20
+ require_relative './printer.rb'
21
+
22
+ class WarningPrinter < Printer
23
+ def initialize(warning)
24
+ template = 'warning.txt'
25
+ super template
26
+ @warning = warning
27
+ end
28
+
29
+ def print
30
+ warn to_s
31
+ end
32
+ end
33
+ end
@@ -1,13 +1,30 @@
1
+ #--
2
+ # Copyright 2014, 2015, 2016, 2017, Huub de Beer <Huub@heerdebeer.org>
3
+ #
4
+ # This file is part of pandocomatic.
5
+ #
6
+ # Pandocomatic is free software: you can redistribute it and/or modify
7
+ # it under the terms of the GNU General Public License as published by the
8
+ # Free Software Foundation, either version 3 of the License, or (at your
9
+ # option) any later version.
10
+ #
11
+ # Pandocomatic is distributed in the hope that it will be useful, but
12
+ # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13
+ # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14
+ # for more details.
15
+ #
16
+ # You should have received a copy of the GNU General Public License along
17
+ # with pandocomatic. If not, see <http://www.gnu.org/licenses/>.
18
+ #++
1
19
  module Pandocomatic
20
+ require 'open3'
2
21
 
3
- require 'open3'
4
-
5
- class Processor
6
-
7
- def self.run script, input
8
- output, status = Open3.capture2(script, :stdin_data => input)
9
- output
10
- end
22
+ class Processor
11
23
 
24
+ def self.run script, input
25
+ output, _ = Open3.capture2(script, :stdin_data => input)
26
+ output
12
27
  end
28
+
29
+ end
13
30
  end
@@ -0,0 +1,36 @@
1
+ #--
2
+ # Copyright 2017, Huub de Beer <Huub@heerdebeer.org>
3
+ #
4
+ # This file is part of pandocomatic.
5
+ #
6
+ # Pandocomatic is free software: you can redistribute it and/or modify
7
+ # it under the terms of the GNU General Public License as published by the
8
+ # Free Software Foundation, either version 3 of the License, or (at your
9
+ # option) any later version.
10
+ #
11
+ # Pandocomatic is distributed in the hope that it will be useful, but
12
+ # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13
+ # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14
+ # for more details.
15
+ #
16
+ # You should have received a copy of the GNU General Public License along
17
+ # with pandocomatic. If not, see <http://www.gnu.org/licenses/>.
18
+ #++
19
+ module Pandocomatic
20
+
21
+ class Warning
22
+
23
+ # :skipping_link_because_it_points_outside_the_source_tree
24
+
25
+ def initialize(message = :unknown, data = nil)
26
+ @message = message
27
+ @data = data
28
+ end
29
+
30
+ def has_data?
31
+ not @data.nil?
32
+ end
33
+
34
+ end
35
+
36
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pandocomatic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.1.0.b
5
5
  platform: ruby
6
6
  authors:
7
7
  - Huub de Beer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-30 00:00:00.000000000 Z
11
+ date: 2017-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: paru
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '0.2'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 0.2.1
22
+ version: 0.2.4
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,30 +29,57 @@ dependencies:
29
29
  version: '0.2'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 0.2.1
32
+ version: 0.2.4
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: trollop
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '2.0'
39
+ version: 2.1.2
40
40
  - - ">="
41
41
  - !ruby/object:Gem::Version
42
- version: 2.0.0
42
+ version: 2.1.0
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - "~>"
48
48
  - !ruby/object:Gem::Version
49
- version: '2.0'
49
+ version: 2.1.2
50
50
  - - ">="
51
51
  - !ruby/object:Gem::Version
52
- version: 2.0.0
53
- description: 'Automate the use of pandoc <http://pandoc.org>: use pandocomatic as
54
- a makefile to convert one file, a whole directory of files, or even as a static
55
- site generator.'
52
+ version: 2.1.0
53
+ - !ruby/object:Gem::Dependency
54
+ name: minitest-reporters
55
+ requirement: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - "~>"
58
+ - !ruby/object:Gem::Version
59
+ version: '0'
60
+ type: :development
61
+ prerelease: false
62
+ version_requirements: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - "~>"
65
+ - !ruby/object:Gem::Version
66
+ version: '0'
67
+ - !ruby/object:Gem::Dependency
68
+ name: yard
69
+ requirement: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - "~>"
72
+ - !ruby/object:Gem::Version
73
+ version: 0.9.8
74
+ type: :development
75
+ prerelease: false
76
+ version_requirements: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - "~>"
79
+ - !ruby/object:Gem::Version
80
+ version: 0.9.8
81
+ description: 'Automating the use of pandoc <http://pandoc.org>: use pandocomatic to
82
+ convert one file or a directory tree of files.'
56
83
  email: Huub@heerdebeer.org
57
84
  executables:
58
85
  - pandocomatic
@@ -60,14 +87,49 @@ extensions: []
60
87
  extra_rdoc_files: []
61
88
  files:
62
89
  - bin/pandocomatic
90
+ - lib/pandocomatic/cli.rb
91
+ - lib/pandocomatic/command/command.rb
92
+ - lib/pandocomatic/command/convert_dir_command.rb
93
+ - lib/pandocomatic/command/convert_file_command.rb
94
+ - lib/pandocomatic/command/copy_file_command.rb
95
+ - lib/pandocomatic/command/create_link_command.rb
96
+ - lib/pandocomatic/command/skip_command.rb
63
97
  - lib/pandocomatic/configuration.rb
64
98
  - lib/pandocomatic/default_configuration.yaml
65
- - lib/pandocomatic/dir_converter.rb
66
- - lib/pandocomatic/file_converter.rb
99
+ - lib/pandocomatic/error/cli_error.rb
100
+ - lib/pandocomatic/error/configuration_error.rb
101
+ - lib/pandocomatic/error/io_error.rb
102
+ - lib/pandocomatic/error/pandoc_error.rb
103
+ - lib/pandocomatic/error/pandocomatic_error.rb
104
+ - lib/pandocomatic/error/processor_error.rb
67
105
  - lib/pandocomatic/fileinfo_preprocessor.rb
68
106
  - lib/pandocomatic/pandoc_metadata.rb
107
+ - lib/pandocomatic/pandocomatic.rb
108
+ - lib/pandocomatic/printer/command_printer.rb
109
+ - lib/pandocomatic/printer/configuration_errors_printer.rb
110
+ - lib/pandocomatic/printer/error_printer.rb
111
+ - lib/pandocomatic/printer/finish_printer.rb
112
+ - lib/pandocomatic/printer/help_printer.rb
113
+ - lib/pandocomatic/printer/printer.rb
114
+ - lib/pandocomatic/printer/summary_printer.rb
115
+ - lib/pandocomatic/printer/version_printer.rb
116
+ - lib/pandocomatic/printer/views/cli_error.txt
117
+ - lib/pandocomatic/printer/views/command.txt
118
+ - lib/pandocomatic/printer/views/configuration_error.txt
119
+ - lib/pandocomatic/printer/views/configuration_errors.txt
120
+ - lib/pandocomatic/printer/views/error.txt
121
+ - lib/pandocomatic/printer/views/finish.txt
122
+ - lib/pandocomatic/printer/views/help.txt
123
+ - lib/pandocomatic/printer/views/io_error.txt
124
+ - lib/pandocomatic/printer/views/pandoc_error.txt
125
+ - lib/pandocomatic/printer/views/processor_error.txt
126
+ - lib/pandocomatic/printer/views/summary.txt
127
+ - lib/pandocomatic/printer/views/version.txt
128
+ - lib/pandocomatic/printer/views/warning.txt
129
+ - lib/pandocomatic/printer/warning_printer.rb
69
130
  - lib/pandocomatic/processor.rb
70
- homepage: https://github.com/htdebeer/pandocomatic
131
+ - lib/pandocomatic/warning.rb
132
+ homepage: https://heerdebeer.org/Software/markdown/pandocomatic/
71
133
  licenses:
72
134
  - GPL-3.0
73
135
  metadata: {}
@@ -82,14 +144,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
82
144
  version: '0'
83
145
  required_rubygems_version: !ruby/object:Gem::Requirement
84
146
  requirements:
85
- - - ">="
147
+ - - ">"
86
148
  - !ruby/object:Gem::Version
87
- version: '0'
149
+ version: 1.3.1
88
150
  requirements:
89
151
  - pandoc, a universal document converer <http://pandoc.org>
90
152
  rubyforge_project:
91
153
  rubygems_version: 2.5.1
92
154
  signing_key:
93
155
  specification_version: 4
94
- summary: Automate the use of pandoc
156
+ summary: Automating the use of pandoc
95
157
  test_files: []