code_terminator 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exercises/get_elements.html +1 -0
- data/exercises/html/check_body_tag_exist.html +0 -0
- data/exercises/html/check_comment_text.html +1 -0
- data/exercises/html/check_div_children_exist.html +10 -0
- data/exercises/html/check_div_exist.html +8 -0
- data/exercises/html/check_div_same_children_exist.html +11 -0
- data/exercises/html/check_div_same_empty_children_exist.html +11 -0
- data/exercises/html/check_divs_exist.html +15 -0
- data/exercises/html/check_empty_divs_exist.html +12 -0
- data/exercises/html/check_get_children_in_parent.html +10 -0
- data/exercises/html/check_get_empty_children_in_parent.html +10 -0
- data/exercises/html/check_head_tag_exist.html +0 -0
- data/exercises/{issue21.html → html/check_imgs_empty_exist.html} +2 -1
- data/exercises/{issue20.html → html/check_text_empty_children.html} +2 -2
- data/exercises/html/check_text_empty_parent.html +7 -0
- data/exercises/html/check_text_exists_children.html +8 -0
- data/exercises/html/check_text_exists_parent.html +8 -0
- data/exercises/issue19.html +2 -0
- data/exercises/issue23.html +20 -0
- data/exercises/new_file.html +1 -0
- data/exercises/print_elements.html +1 -0
- data/exercises/read_file.html +1 -0
- data/lib/code_terminator/html.rb +211 -113
- data/lib/code_terminator/html2.rb +657 -0
- data/lib/code_terminator/version.rb +1 -1
- metadata +26 -6
- /data/exercises/{issue18.html → html/check_comment_empty.html} +0 -0
- /data/exercises/{issue16.html → html/check_comment_exist.html} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9d2e6004e00bb19874ce02e5fd2ac2d242e82b2
|
4
|
+
data.tar.gz: 43b7d9f3728863794ec443d6d798d605f31e9071
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12f8a6a19fdd3fb3eda53677b21520d44485ba140602258dd0e554e3f05b27985d7fca2e8bd9b633b032c623db71835332382a5d439687890e3b5c9878372ad2
|
7
|
+
data.tar.gz: c0b1a919ea9f3c44aaf3333c047d68616234f9cae019ae36396c614c1ed5fe6c5cc05a297c87e03e9cff619471691f0b229e73702db56123ee95a260c29b0b7f
|
@@ -0,0 +1 @@
|
|
1
|
+
<body><h2>hola test</h2><p></p></body>
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
<html><head></head><body><!-- This is a comment --></body></html>
|
File without changes
|
data/exercises/issue19.html
CHANGED
@@ -0,0 +1,20 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>My Favorite Book</title>
|
5
|
+
</head>
|
6
|
+
<body>
|
7
|
+
<div id="title">
|
8
|
+
<h1>1984</h1>
|
9
|
+
<p></p>
|
10
|
+
</div>
|
11
|
+
<div class="about">
|
12
|
+
<h1></h1>
|
13
|
+
<p></p>
|
14
|
+
</div>
|
15
|
+
</body>
|
16
|
+
</html>
|
17
|
+
|
18
|
+
<!-- Si en el ejercicio se eliminan los elementos internos del div, no marca error siempre y cuando no tengan texto
|
19
|
+
No se indentifican elementos por div, agregar a los elementos el pointer del parent y comparar
|
20
|
+
Checar issue 19-->
|
@@ -0,0 +1 @@
|
|
1
|
+
<body><h2>hola test</h2><p></p></body>
|
@@ -0,0 +1 @@
|
|
1
|
+
<body><h2>hola test</h2><p></p></body>
|
@@ -0,0 +1 @@
|
|
1
|
+
<body><h2>hola test</h2><p></p></body>
|