html_inline_css 0.1.0 → 0.1.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 172196abced8b4d267a138b57c6b525f247c8e2e
4
- data.tar.gz: 2de8d446169e86032fd132b6ebc80817be4e03a1
3
+ metadata.gz: f0fb35bde96b92eabde2a58574784873f3c1cf14
4
+ data.tar.gz: bd6aebd893df04b0dc94110db383ee284d2f37ab
5
5
  SHA512:
6
- metadata.gz: 892abbdbc657131f14bbe68bd7f10f9331bf4a24266008b787d524cd2c1eeb97f234897edbd334bd236f2a3640e3d5611df3a3b18ee3af1aec37f856b2ab9e27
7
- data.tar.gz: 1108a7f17662099e7be974fa14e8468f2940f02df4ba42eebcd74c7b1780be12f27ae4fa0944649538741a2e2468e48def3ee264200283d4f788521a1f5f47dc
6
+ metadata.gz: a5cc2135d18baa8cbba0f2e8f04713a83ecb93ee6e6d6bc6bef3d1439893d79bc7950b8d24c3482955cec8065fa6ea652552c9ed590e3422314b0291932e273c
7
+ data.tar.gz: 593cc742e4707f8cdc161dc5b3bf915eda460f3868963f2bfd9ecd337ee4dbd1cd3c7244d8a4457c976dd4ef7dae3699e6f757d64fbab76613162fa0a5a5795e
@@ -1,3 +1,3 @@
1
1
  module HtmlInlineCss
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -1,7 +1,7 @@
1
1
  require "html_inline_css/version"
2
2
  require "nokogiri"
3
3
 
4
- module HtmlInlineCss
4
+ class InlineCSS
5
5
 
6
6
  def inline_css(html)
7
7
  @html_tags = ["div","span","b","a","i","abbr","acronym","address","applet","area","article","aside","bdi","big","blockquote","caption","center","cite","code","col","colgroup","datalist","dd","del","details","dfn","dialog","dir","dl","dt","em","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","hr","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meter","nav","object","ol","optgroup","option","output","p","param","pre","progress","q","rp","rt","ruby","s","samp","section","select","small","source","strike","strong","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","wbr"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html_inline_css
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolai Berg Andersen