Project

komplement

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Simple sanity checking tool for your html, that will scan files, and detect html elements you might be unaware of}
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.10
~> 10.0
~> 4.0
~> 3.0

Runtime

~> 0.7.7
~> 1.6
 Project Readme

komplement

It's a dumb sanity check tool for your html. The idea is that if you create your custom elements (for example, look at knockout.js components), and you want to make sure that nothing goes awry while maintaining your source, you can run this easilly configurable tool to do it for you.

Build Status

Features

Examples

If you want to do things by hand:

    require 'komplement'

    Komplement
      .new
      .with_ignored(%w[a br div])
      .with_ignored(%w[custom-element potato])
      .in_filetypes(%w[rb erb.html html])
      .in_dirs(%w[./app ./some-other-place])
      .run

A constant to get rid of most manual workings is provided for you if you want to use it:

    require 'komplement'

    Komplement
      .new
      .with_ignored(Komplement::HTML_ELEMENTS)
      .with_ignored(%w[custom-element potato])
      .in_filetypes(%w[rb erb.html html])
      .in_dirs(%w[./app ./some-other-place])
      .run

Install

$ gem install komplement

Synopsis

$ komplement

Copyright

Copyright (c) 2016 Simon (psyomn) Symeonidis

See LICENSE.txt for details.