opener-kaf2json 1.0.7-java → 1.0.8-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/opener/kaf_to_json/error_layer.rb +2 -1
- data/lib/opener/kaf_to_json/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56c39a30327ad62f59c9a914c8514fc3ffce7f27
|
4
|
+
data.tar.gz: b7cae50e14b911ebb7fb4fa4f3a3dd329b4a2404
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dea31e07c115cfd91de340d2c206660eb4d484d7ccb6595d3d0d2e66325b539a3873c75efff67a348c77b98912dfda436b6bdbc687d67230233a59423358c54b
|
7
|
+
data.tar.gz: 7c1cfbfc5501cab4cca9cc40e9fa5bab0d769d9e4517bd920e5bb71d2e2c4da9aa1e6da43047ca89df62430bc57f5b8f6152b8299382157beb77094ab0ae1895
|
@@ -80,7 +80,8 @@ module Opener
|
|
80
80
|
def add_error
|
81
81
|
node = document.at('errors')
|
82
82
|
error_node = Nokogiri::XML::Node.new "error", node
|
83
|
-
error_node['class'] =
|
83
|
+
error_node['class'] = klass.to_s
|
84
|
+
error_node['version'] = klass::VERSION
|
84
85
|
error_node.inner_html = error
|
85
86
|
node.add_child(error_node)
|
86
87
|
end
|