dom 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dom.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50a4e1cbe869b91855ccb24f9ad37a139a357886
|
4
|
+
data.tar.gz: 118ba48c1819f42bb17762e61546dd74d1a83291
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4094d0abee0df0fdca39baa64baf49cf9ca6a6f829322cdcdd831d3d1b89360d90b0668a7965875d3549d59ef9cd078e4c682124433688f7d24dfdf27dbce1b
|
7
|
+
data.tar.gz: 4ae15d77c3898e28d0cb13731a414b2e06a9579b55680a9f5bfcb1e9796a73021fc7534346e2f164956577dc4ba04188e97f7982a0f681b63ca96fe8a0968875
|
data/lib/dom.rb
CHANGED
@@ -8,9 +8,9 @@ end
|
|
8
8
|
|
9
9
|
module Dom
|
10
10
|
Coder = HTMLEntities.new
|
11
|
-
def self.compact; singleton_class.class_eval{alias
|
12
|
-
def self.nested; singleton_class.class_eval{alias
|
13
|
-
def self.pre; singleton_class.class_eval{alias
|
11
|
+
def self.compact; singleton_class.class_eval{alias join join_compact} end
|
12
|
+
def self.nested; singleton_class.class_eval{alias join join_nested} end
|
13
|
+
def self.pre; singleton_class.class_eval{alias join join_pre} end
|
14
14
|
def self.join_compact a, tag, s = "".freeze
|
15
15
|
a.map{|e| e.to_s.escape_html(tag)}.join(s)
|
16
16
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dom
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sawa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: ''
|
14
14
|
email: []
|