dom_render 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/dom_render.rb +2 -2
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b713831ebed03a5d5cc08717d1eb090202e1e28
|
4
|
+
data.tar.gz: 13311de83a98db2d1cc45b2d342249ac1bc08a3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37e6af144cd917069d1ad614ef9daae8a34904bca58ff58bff751422be7c8c118d2953ea425e6eb58e5edac0fe3a029bd4dcc8a9a66effddbd84e74298618505
|
7
|
+
data.tar.gz: 1703e61ecd235aaba17c6ae22212dcbe31b234cff7d8b6839422a0d1cfee25c2026d8d4c301fb20f5fc0d604063a932c2524505aa27ecccdff4a330d3ec6ad53
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/dom_render.rb
CHANGED
@@ -22,7 +22,7 @@ class DomRender
|
|
22
22
|
|
23
23
|
def render(x)
|
24
24
|
|
25
|
-
style =
|
25
|
+
style = x.attributes.has_key?(:style) ? fetch_style(x.attributes) : {}
|
26
26
|
args = [x]
|
27
27
|
args.concat([x.attributes, style])
|
28
28
|
|
@@ -62,4 +62,4 @@ class DomRender
|
|
62
62
|
|
63
63
|
end
|
64
64
|
|
65
|
-
end
|
65
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dom_render
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
ipCgMpSHSTGoxQ/dI853bcb+vPkAqS69GEcZgtvAmCQs5E4KC1seYLuP3qtuatL9
|
32
32
|
dbkCMOVMy0htMQ==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2015-11-
|
34
|
+
date: 2015-11-24 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rexle
|
metadata.gz.sig
CHANGED
Binary file
|