Module: RestoreadyTheme
- Defined in:
- lib/restoready_theme/cli.rb,
lib/restoready_theme/version.rb,
lib/restoready_theme/http_client.rb
Defined Under Namespace
Classes: Cli, HttpClient
Constant Summary collapse
- EXTENSIONS =
{mimetype: 'application/x-liquid', extensions: %w(liquid), parents: 'text/plain'}, {mimetype: 'text/x-liquid', extensions: %w(liquid), parents: 'text/plain'}, {mimetype: 'application/json', extensions: %w(json), parents: 'text/plain'}, {mimetype: 'application/js', extensions: %w(map), parents: 'text/plain'}, {mimetype: 'application/vnd.ms-fontobject', extensions: %w(eot)}, {mimetype: 'image/svg+xml', extensions: %w(svg svgz)}
- VERSION =
"0.0.2"
Class Method Summary collapse
Class Method Details
.configureMimeMagic ⇒ Object
22 23 24 25 26 |
# File 'lib/restoready_theme/cli.rb', line 22 def self.configureMimeMagic RestoreadyTheme::EXTENSIONS.each do |extension| MimeMagic.add(extension.delete(:mimetype), extension) end end |