-
epub-create
Discontinued Portable shell script for creating a minimal EPUB from a small collection of files
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
enhanced-ruby-mode
An enhanced ruby-mode for Emacs that uses Ripper in ruby 1.9+ to highlight and indent the source code
In the context of the Ruby snippet you shared, the indentation doesn't matter for what the code is doing, but in other contexts, the indentation *can( matter. For example, i recently wrote a shell script to create a minimal EPUB, which uses heredocs to create XML and XHTML files. If Emacs indented the 'headers' and 'footers' according to their position in the code structure, their indentation in the resulting files would be misleading (even though this wouldn't affect the validity of the markup).
As per /u/flexibeast’s comment, I’d argue that this is correct behavior: Emacs can’t, by default, know that the contents of a heredoc are SQL. However, with a little elbow grease, you can use mmm-mode to engage sql-mode in heredocs. There doesn’t appear to be support for this baked into mmm-mode, but I found this comment that you should be able to adapt.
All that said, a superficial search via package-list-packages with the MELPA repo enabled shows the existence of emh-ruby-mode, which might do what you require; but even if it doesn't, there's poly-ruby:
All that said, a superficial search via package-list-packages with the MELPA repo enabled shows the existence of emh-ruby-mode, which might do what you require; but even if it doesn't, there's poly-ruby: