code_terminator 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 634176f1ddfaf0c0ba29fd2ddf876c1d5b970d71
4
- data.tar.gz: 826282d9ee279e46917b6564723cef8a8e260647
3
+ metadata.gz: bb222ada4193c60d08123b1900f179726f553925
4
+ data.tar.gz: fc52fc8bf422eecbecbd7280cde9112bb1f74d5a
5
5
  SHA512:
6
- metadata.gz: 6b3c2a02790c995cc482dcc9c40ad41dcca3d194777b5e9e31a14e9c4793a14395b8e12502b32e75adc23d460f98c8942ecee028bfef73718717d4f2ba1ee809
7
- data.tar.gz: 80793d8937b41a26e747ca6eaffd5a790b7aade9f479b23064ff4aed4c0a1cc014126691474b6d9c5c104f6ea839f6aada975e3fb51ee69612ade2d4729b4fcd
6
+ metadata.gz: 6570122173a590de2f18728120685cc9714309e704f125f0b9753cccd0b24aecce99bd7b61f804a3b8eb0bb41a0353827ad243f4fe0ddbccc51f1a60a126319b
7
+ data.tar.gz: 9d1b5f40d43e1bac788a4dcdf0ce59c25720a6c61a9808c0782a0a6af8ad79776adb93b159d4125832473e50c847ef3b135b9f43865abfb38cb3395b3b128529
Binary file
Binary file
@@ -0,0 +1 @@
1
+ <h2>hola</h2>
@@ -0,0 +1 @@
1
+ <h2>hola test</h2>
@@ -66,7 +66,7 @@ class CodeTerminator::Html
66
66
  errors = Array.new
67
67
 
68
68
  begin
69
- xml = Nokogiri::XML(code) { |config| config.strict }
69
+ Nokogiri::XML(code) { |config| config.strict }
70
70
 
71
71
  #validate if html follow w3, uncomment when check all the page
72
72
  #"<!DOCTYPE html>
@@ -108,7 +108,7 @@ class CodeTerminator::Html
108
108
  end
109
109
  fileHtml.close
110
110
  rescue
111
- text = "error"
111
+ text = false
112
112
  ensure
113
113
  #fileHtml.close unless fileHtml.nil?
114
114
  end
@@ -1,3 +1,3 @@
1
1
  module CodeTerminator
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
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.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evelin Ponce
@@ -71,9 +71,13 @@ files:
71
71
  - bin/console
72
72
  - bin/setup
73
73
  - code_terminator-0.1.0.gem
74
+ - code_terminator-0.1.1.gem
75
+ - code_terminator-0.1.2.gem
74
76
  - code_terminator.gemspec
75
77
  - exe/code_terminator
76
78
  - exercises/new.html
79
+ - exercises/new2.html
80
+ - exercises/test.html
77
81
  - lib/code_terminator.rb
78
82
  - lib/code_terminator/html.rb
79
83
  - lib/code_terminator/version.rb