code_terminator 0.4.9 → 0.4.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exercises/issue13.html +4 -0
- data/exercises/issue14.html +7 -0
- data/lib/code_terminator/html.rb +0 -9
- data/lib/code_terminator/version.rb +1 -1
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4dc9ff45c1c323bf6b3adba5bf2625c6cbedad3f
|
4
|
+
data.tar.gz: 2da73d6e8f68cfe2b0d0cc7648f94d75a1c39827
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81987118b05ec841325f80605de7ae99e4b64c007e88de093998ff2cc688611b5e23e3737c2909a44757b4bfc15103f111c2260d48593f3e0112a75794bbcc4e
|
7
|
+
data.tar.gz: 39757e3d726a55e053793de4fa3cb646e9ae76be2dd2b4ba2006ba5930c8bb1ee5b0bf2554cd096851ca573a020ef6a68b8ad401ad233172998b89f760235f2a
|
data/lib/code_terminator/html.rb
CHANGED
@@ -373,15 +373,6 @@ class CodeTerminator::Html
|
|
373
373
|
|
374
374
|
def add_children(parent)
|
375
375
|
parent.children.each do |child|
|
376
|
-
p "children: " + child
|
377
|
-
p "children count = "+ child.children.count.to_s
|
378
|
-
if child.children.count > 1
|
379
|
-
clone = child.clone
|
380
|
-
if clone.class == Nokogiri::XML::Element
|
381
|
-
clone.children.remove
|
382
|
-
p "clone text " + clone
|
383
|
-
end
|
384
|
-
end
|
385
376
|
|
386
377
|
if child.attribute_nodes.empty?
|
387
378
|
node = Hash.new
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: code_terminator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Evelin Ponce
|
@@ -157,6 +157,8 @@ files:
|
|
157
157
|
- code_terminator.gemspec
|
158
158
|
- exe/code_terminator
|
159
159
|
- exercises/issue12.html
|
160
|
+
- exercises/issue13.html
|
161
|
+
- exercises/issue14.html
|
160
162
|
- exercises/new.html
|
161
163
|
- exercises/new2.html
|
162
164
|
- exercises/test.css
|