xkraty / doc2pdf

Given a .doc file containing some placeholders in the form of the pattern {placeholder_here} and a replacement strategy (a mapping between placeholder texts and the content to be inserted), it applies the replacements and converts the document into a .pdf.
MIT License
0 stars 0 forks source link

Refactor stuff #1

Closed olistik closed 3 years ago

olistik commented 3 years ago

The main goal of this PR is to move/isolate so that further developments will be easier. Still no tests added so far because this is still a spike.

olistik commented 3 years ago

@xkraty Note that I explicitly avoided any kind of Rails dependency. All the "commander" stuff can be implemented directly in the consumer context, that in the Rails app. If you need a more deep integration then we can make this a Rails engine but I'd advise against this unless strongly needed.