dom_render 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0c5f5abe4563696c6d3e67983a685d7c33680392
4
- data.tar.gz: 16e33a149444bf8f03fe4c2be4b31073a41ecfa8
3
+ metadata.gz: 8c04e282518b502976a0e6f945e021bb16fbf346
4
+ data.tar.gz: 11423daa2b02a9416f31951ccd9221e23c2b3f06
5
5
  SHA512:
6
- metadata.gz: 41220f8051ef1fd2a2dc191b1377b3ec99616e4dfdbcf9264f6ee68dbbf91f29d9f14ee64a80dd0a577345b139aea2e417b6838a93fc8e62a6e5315d1f60f665
7
- data.tar.gz: d0df5a1ab94ad3032eafa12e979f67a74c6a9e27d8dddae41995696fec55ac29dc7e1bbcdb3c9fa89103c8b1fc486d2a3cf56b6d485592ebd8e7f246887abc67
6
+ metadata.gz: b67c7b9cb2d417bcd963f21ae797ccee38d16a0b77b17089a14af431e5466e844323c548a71d986d7b98628b59d8b6697aa712048cac918b0abb6278e1b48fe0
7
+ data.tar.gz: 6c3be0ebb3fccce0fdddc6edb65ea8c2e3dc1fa4547788d0f46faa20d2215521d117b109b5c0ab9e7f6bde95754b20c4ce4f209f9d8c987e7f46b7f791bf40ef
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -14,7 +14,14 @@ class DomRender
14
14
  end
15
15
 
16
16
  def render(x)
17
- method(x.name.to_sym).call(x)
17
+
18
+ r = method(x.name.to_sym).call(x)
19
+
20
+ if r.last.empty? then
21
+ r[0..-2]
22
+ else
23
+ r
24
+ end
18
25
  end
19
26
 
20
27
  def render_all(x)
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.1.1
4
+ version: 0.1.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-09 00:00:00.000000000 Z
34
+ date: 2015-11-21 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rexle
metadata.gz.sig CHANGED
Binary file