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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: faf6cc227dfcae950f3b8859daa77f889d013a3a
4
- data.tar.gz: aa97aee169279e69047dd6efce787c1b2f610fd0
3
+ metadata.gz: 4dc9ff45c1c323bf6b3adba5bf2625c6cbedad3f
4
+ data.tar.gz: 2da73d6e8f68cfe2b0d0cc7648f94d75a1c39827
5
5
  SHA512:
6
- metadata.gz: 8283759f197ed03e986ef09c4da651a2e7423d32d147497f6088cc587b653bc709866067280391bf69a9dd4e4391136336be6d27f2d9095c2e6b4978eec09d08
7
- data.tar.gz: 7888f74efbf12ea29444ba50b3383f0b58711ab15fd8897e3324ba9d1d8ea1fc8ea16a13b118b49af3fa13e9445a63de0319e73916103a16af2799a5dfc613a4
6
+ metadata.gz: 81987118b05ec841325f80605de7ae99e4b64c007e88de093998ff2cc688611b5e23e3737c2909a44757b4bfc15103f111c2260d48593f3e0112a75794bbcc4e
7
+ data.tar.gz: 39757e3d726a55e053793de4fa3cb646e9ae76be2dd2b4ba2006ba5930c8bb1ee5b0bf2554cd096851ca573a020ef6a68b8ad401ad233172998b89f760235f2a
@@ -0,0 +1,4 @@
1
+ <body>
2
+ <p></p>
3
+ <h1>hola</h1>
4
+ </body>
@@ -0,0 +1,7 @@
1
+ <body>
2
+ <p></p>
3
+ <h1>hola</h1>
4
+ <footer>
5
+ <p>Please contact:<a href='mailto:joe@email.com'>joe@email.com</a> now</p>
6
+ </footer>
7
+ </body>
@@ -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
@@ -1,3 +1,3 @@
1
1
  module CodeTerminator
2
- VERSION = "0.4.9"
2
+ VERSION = "0.4.10"
3
3
  end
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.9
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