opener-tokenizer 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/opener/tokenizer/error_layer.rb +2 -1
- data/lib/opener/tokenizer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13496247ba47f692c80f12993485a57bd0e0a72b
|
4
|
+
data.tar.gz: fcaa9ee31dad9c1f060c82acad59f9742575e3d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2512639dd4ff6a4c9bfc8d266428d92f466d49032132fbfaa24f2f8770ac0141225d065af02f4d518c167354356bd4617c11eb9bcd3b61b5e913e92a28ce599f
|
7
|
+
data.tar.gz: deb1510b4f54a4f5a411eaca399db5bc553b25870f433dedefa6e8d1eb064c74a0bde95314dd48305215cac43d9b197b83c16b240a67559959c9d9afe002a9ae
|
@@ -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
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opener-tokenizer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- development@olery.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opener-tokenizer-base
|