opener-opinion-detector 1.1.4 → 1.1.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d83a5552608aebf595c90f66100b4e36776f19e3
|
4
|
+
data.tar.gz: ec0c3a402a3f61e52bd3cae0c15adef26e720173
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab8fb00cf1ef66987a62ddf803917f0d5aaa286bf9f93f40e371e465d818df17faf4ddec099c29a77c21bb270f11de7b0b1aab8fa7ca204d7a383c5ab2d34f10
|
7
|
+
data.tar.gz: fd54a2b180c3437d2c9a17d403c5e7887fc73a249085ae8ee8f1d651bc59faf528991313c8074dace676d4c2f92d75e1677f0477544d69fc673114e8e5cc8b00
|
@@ -78,7 +78,8 @@ module Opener
|
|
78
78
|
def add_error
|
79
79
|
node = document.at('errors')
|
80
80
|
error_node = Nokogiri::XML::Node.new "error", node
|
81
|
-
error_node['class'] =
|
81
|
+
error_node['class'] = klass.to_s
|
82
|
+
error_node['version'] = klass::VERSION
|
82
83
|
error_node.inner_html = error
|
83
84
|
node.add_child(error_node)
|
84
85
|
end
|